PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | French EN
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
The following functions are used to manage the Word Processing controls:
DocAddAdds:
  • at the end of a Word Processing document: an element, a document, a paragraph, a text, an image or a fragment.
  • at the end of a fragment: an element, a text or an image.
DocChangeZOrderModifies the z-order of an Image or Text Area element in a DocX document.
DocCloseCloses a docx file and frees the document.
DocDeleteDeletes an element from a document. This element is deleted from its associated document.
DocDeleteTableOfContentsDeletes a table of contents from a document.
DocEndModificationSignals the end of grouping for a set of operations in a single event (management of "undo/redo").
DocExitEditExits from the current edit. The entry in edit was performed by DocGoIntoEdit.
DocGoIntoEditEnters in edit in the Word Processing control in a specific document section: body, header or footer.
Versions 26 and later
DocInfoXY
New in version 26
DocInfoXY
DocInfoXY
For a given position in a Word Processing control (coordinates of a control point), returns one of the following:
  • the number of the corresponding page,
  • the corresponding X-position (in mm),
  • the corresponding Y-position (in mm)
DocInsertInserts an object into a Word Processing document or replaces the content of the current fragment. The objects that can be used are:
  • an element,
  • a document,
  • a paragraph,
  • a text,
  • an image,
  • a fragment.
DocInsertTableInserts a table into a Word Processing document.
DocInsertTableOfContentsInserts a table of contents in the document
DocOpenOpens a Word Processing file (docx format) in Read/Write mode. The docx file is opened and locked until it is closed.
DocPositionTriggers the scroll of Word Processing control in order for the requested text to be entirely displayed.
DocPrintPrints a document in "docx" format.
DocRedoRestores the last undone action on a Word Processing document.
DocRedoCountReturns the number of canceled actions that can be redone on a Word Processing document.
DocReplaceFinds all the instances of a character string and replaces them with another string:
  • in an entire Word Processing document.
  • in a fragment.
DocSaveSaves a document in "docx" format.
DocSeekFinds a character string:
  • in an entire Word Processing document.
  • in a fragment.
DocSelectSelects a fragment in a Word Processing control.
DocStartModificationSignals the start of grouping for a set of operations on a document in a single event (management of "undo/redo").
DocToHTMLConverts a Word Processing document into an HTML file.
DocToImageExports a page found in a Word Processing document in image format.
DocToPDFConverts a Word Processing document into a PDF file.
DocToTextCreates a character string from the data:
  • found in a Word Processing control or in a Word Processing document.
  • found in a paragraph of a Word Processing control.
DocUndoUndoes the last action performed on a Word Processing document.
DocUndoCountReturns the number of actions that can be undone on a document.
DocUndoRedoDeleteAllDeletes the entire history of Undo/Redo mechanism for a Word Processing document.
DocUpdateFormulaUpdates the formulas in a document.
DocUpdateTableOfContentsUpdates the table of the contents of a document.
Minimum version required
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment