ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Word Processing functions
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
DocUpdateTableOfContents (Function)
In french: DocMiseAJourTableDesMatières
Updates the table of the contents of a document. This table of contents can be in:
  • a Document variable,
  • WINDEV a Word Processing control,
  • a fragment.
Example
MyDocument is Document
...
DocUpdateTableOfContents(MyDocument)
WINDEV
DocUpdateTableOfContents(WP_File)
Syntax

Updating the table of contents of a Document variable Hide the details

DocUpdateTableOfContents(<Document>)
<Document>: Document variable
Name of the Document variable to be used.
WINDEV

Updating the table of contents of a Word Processing control Hide the details

DocUpdateTableOfContents(<Word Processing control>)
<Word Processing control>: Control name
Name of the Word Processing control to use.

Updating the table of the contents of a Fragment variable Hide the details

DocUpdateTableOfContents(<Fragment>)
<Fragment>: docFragment variable
Name of the docFragment variable that contains the table of contents.
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/31/2022

Send a report | Local help