PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
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 Word Processing controls (prefixed syntax):
<docFragment variable>.AddAdds an element, text or image at the end of a docFragment variable.
<docFragment variable>.InsertReplaces 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.
<Document variable>.AddAdds at the end of a Document variable: an element, a document, a paragraph, a text, an image or a fragment.
<Document variable>.CloseCloses the docx file associated with the Document variable and frees the document.
<Document variable>.EndModificationIndicates the end of a group of operations on a Document variable in a single event ("undo/redo" management).
<Document variable>.InsertInserts an object in a Document variable. The objects that can be used are:
  • an element,
  • a document,
  • a paragraph,
  • a text,
  • an image,
  • a fragment.
<Document variable>.InsertTableInserts a table in a Document variable.
<Document variable>.PrintPrints the content of a Document in "docx" format.
<Document variable>.RedoRestores the last action canceled on a Document variable.
<Document variable>.RedoCountReturns the number of canceled actions that can be redone on a Document variable.
<Document variable>.ReplaceFinds all the instances of a character string and replaces them with another string in a Document variable.
<Document variable>.SaveSaves a document in "docx" format.
<Document variable>.SeekFinds a character string in an entire Document variable.
<Document variable>.StartModificationIndicates the start of a group of operations on a Document variable in a single event ("undo/redo" management).
<Document variable>.ToHTMLConverts a Document variable into an HTML file.
<Document variable>.ToImageExports a page contained in a Document variable in image format.
<Document variable>.ToTextCreates a character string with the data of a Document variable.
<Document variable>.UndoUndoes the last action performed on a Document variable.
<Document variable>.UndoCountReturns the number of actions that can be undone in a Document variable.
<Document variable>.UndoRedoDeleteAllDeletes the entire history of Undo/Redo mechanism for a Word Processing document.
<Word Processing>.AddAdds at the end of a Word Processing control: an element, a document, a paragraph, a text, an image or a fragment.
<Word Processing>.ChangeZOrderModifies the z-order of an Image or Text Area element in a DocX document.
<Word Processing>.CloseCloses the docx file associated with the Word Processing control and frees the document.
<Word Processing>.EndModificationIndicates the end of a group of operations on a Word Processing control in a single event ("undo/redo" management).
<Word Processing>.ExitEditExits from the current edit. The entry in edit was performed by <Word Processing>.GoIntoEdit.
<Word Processing>.GoIntoEditEnters in edit in the Word Processing control in a specific document section: body, header or footer.
<Word Processing>.InsertInserts an object in a Word Processing control. The objects that can be used are:
  • an element,
  • a document,
  • a paragraph,
  • a text,
  • an image,
  • a fragment.
<Word Processing>.InsertTableInserts a table into a Word Processing control.
<Word Processing>.OpenOpens a Word Processing file (docx format) in Read/Write mode. The docx file is opened and locked until it is closed.
<Word Processing>.PositionTriggers the scroll of Word Processing control in order for the requested text to be entirely displayed.
<Word Processing>.PrintPrints the content of a Word Processing control in "docx" format.
<Word Processing>.RedoRestores the last action canceled on a Word Processing control.
<Word Processing>.RedoCountReturns the number of canceled actions that can be redone on a Word Processing control.
<Word Processing>.ReplaceFinds all the instances of a character string and replaces them with another string in a Word Processing control.
<Word Processing>.SaveSaves a document in "docx" format.
<Word Processing>.SeekFinds a character string in an entire Word Processing control.
<Word Processing>.SelectSelects a fragment in a Word Processing control.
<Word Processing>.StartModificationIndicates the start of a group of operations on a Word Processing control in a single event ("undo/redo" management).
<Word Processing>.ToHTMLConverts the content of a Word Processing control into an HTML file.
<Word Processing>.ToImageExports a page from a Word Processing control in image format.
<Word Processing>.ToPDFConverts a Word Processing document into a PDF file.
<Word Processing>.ToTextCreates a character string from the data of a Word Processing control.
<Word Processing>.UndoUndoes the last action performed on a Word Processing control.
<Word Processing>.UndoCountReturns the number of actions that can be undone in a Word Processing control.
<Word Processing>.UndoRedoDeleteAllDeletes the entire history of the Undo/Redo mechanism for a Word Processing control.
DocInsereTableau_objetdocFragmentReplaces the specified fragment with a table.
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment