PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
New WINDEV, WEBDEV 24 feature!
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 (object syntax):
Versions 24 and later
<docFragment variable>.Add
<docFragment variable>.Add
Adds an element, text or image at the end of a docFragment variable.
Versions 24 and later
<docFragment variable>.Insert
<docFragment variable>.Insert
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.
Versions 24 and later
<Document variable>.Add
New in version 24
<Document variable>.Add
<Document variable>.Add
Adds at the end of a Document variable: an element, a document, a paragraph, a text, an image or a fragment.
Versions 24 and later
<Document variable>.Close
New in version 24
<Document variable>.Close
<Document variable>.Close
Closes 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).
Versions 24 and later
<Document variable>.Insert
<Document variable>.Insert
Inserts 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.
Versions 24 and later
<Document variable>.InsertTable
<Document variable>.InsertTable
Inserts a table in a Document variable.
Versions 24 and later
<Document variable>.Print
New in version 24
<Document variable>.Print
<Document variable>.Print
Prints the content of a Document in "docx" format.
Versions 24 and later
<Document variable>.Redo
New in version 24
<Document variable>.Redo
<Document variable>.Redo
Restores the last action canceled on a Document variable.
Versions 24 and later
<Document variable>.RedoCount
<Document variable>.RedoCount
Returns the number of canceled actions that can be redone on a Document variable.
Versions 24 and later
<Document variable>.Replace
<Document variable>.Replace
Finds all the instances of a character string and replaces them with another string in a Document variable.
Versions 24 and later
<Document variable>.Save
New in version 24
<Document variable>.Save
<Document variable>.Save
Saves a document in "docx" format.
Versions 24 and later
<Document variable>.Seek
New in version 24
<Document variable>.Seek
<Document variable>.Seek
Finds 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).
Versions 24 and later
<Document variable>.ToHTML
<Document variable>.ToHTML
Converts a Document variable into an HTML file.
Versions 24 and later
<Document variable>.ToText
<Document variable>.ToText
Creates a character string with the data of a Document variable.
Versions 24 and later
<Document variable>.UndoCount
<Document variable>.UndoCount
Returns 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.
Versions 24 and later
<Variable Document>.Undo
New in version 24
<Variable Document>.Undo
<Variable Document>.Undo
Annule la dernière modification effectuée sur une variable de type Document.
Versions 24 and later
<Variable Document>.VersImage
<Variable Document>.VersImage
Exporte une page contenu dans une variable de type Document sous forme d'une image.
<Word Processing>.AddAdds at the end of a Word Processing control: an element, a document, a paragraph, a text, an image or a fragment.
Versions 24 and later
<Word Processing>.ChangeZOrder
<Word Processing>.ChangeZOrder
Modifies 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