PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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
Functions for managing the Word Processing control
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.
DocCloseCloses a docx file and frees the 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.
DocInsertInserts an object into a Word Processing document or replaces the content of 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.
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 action canceled on a Word Processing document.
DocRedoOccurrenceReturns the number of canceled actions that can be redone on a Word Processing document.
DocReplaceFinds and replaces all the occurrences of a character string by another string in a Word Processing document.
DocSaveSaves a document in "docx" format.
DocSeekSeeks a character string in a Word Processing document.
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.
DocUndoCancels the last action performed on a Word Processing document.
DocUndoOccurrenceReturns the number of actions that can be canceled on a document.
DocUndoRedoDeleteAllDeletes the entire history of Undo/Redo mechanism for a Word Processing document.
The following types of variables are used to handle the Word Processing documents:
Versions 22 and later
docCell
New in version 22
docCell
docCell
The docCell type is used to define the advanced characteristics of a table cell found in a Word Processing document.
Versions 22 and later
docElement
New in version 22
docElement
docElement
The docElement type is used to handle each element found in a docParagraph variable.
Versions 22 and later
docElementFormula
New in version 22
docElementFormula
docElementFormula
The docElementFormula type is used to define the characteristics of a Formula element found in a DocElement variable.
Versions 22 and later
docElementImage
New in version 22
docElementImage
docElementImage
The docElementImage type is used to handle the characteristics of an Image element found in a docElement variable.
Versions 22 and later
docElementText
New in version 22
docElementText
docElementText
The DocElementText type is used to handle the characteristics of a Text element found in a DocElement variable.
Versions 22 and later
docFormatting
New in version 22
docFormatting
docFormatting
The docFormatting type is used to define the formatting characteristics of an element found in a Word Processing document.
Versions 22 and later
docFragment
New in version 22
docFragment
docFragment
The docFragment type is used to define the characteristics of a fragment found in a "docx" document.
Versions 22 and later
docNumbering
New in version 22
docNumbering
docNumbering
The docNumbering type is used to define the advanced characteristics of a numbering used in a Word Processing document.
Versions 22 and later
docNumberingLevel
New in version 22
docNumberingLevel
docNumberingLevel
The docNumberingLevel type is used to define the advanced characteristics of a numbering level used in a Word Processing document.
Versions 22 and later
docParagraph
New in version 22
docParagraph
docParagraph
The docParagraph type is used to handle the characteristics of a paragraph found in a DOCX document.
Versions 22 and later
docProperty
New in version 22
docProperty
docProperty
The docProperty type is used to define the properties of a Word Processing document.
Versions 22 and later
docRow
New in version 22
docRow
docRow
The docRow type is used to define the advanced characteristics of a table row found in a Word Processing document.
Versions 22 and later
docSection
New in version 22
docSection
docSection
The docSection type is used to define the advanced characteristics of a section found in a document or paragraph.
Versions 22 and later
docStyle
New in version 22
docStyle
docStyle
The docStyle type is used to define the advanced characteristics of a style belonging to a document, a paragraph or a document fragment.
Versions 22 and later
docTabulation
New in version 22
docTabulation
docTabulation
The docTabulation type is used to define the characteristics of a custom tabulation.
Versions 22 and later
Document
New in version 22
Document
Document
The Document type is used to handle a "docx" document.
Caution: This documentation presents the last features of the Word Processing control. Make sure that all the necessary modules are updated.
Minimum required version
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment