|
|
|
|
|
- Properties specific to docNumbering variables
- Adding a numbering description to a document
- Using numberings created programmatically
docNumbering (Variable type) In french: docNumérotation
The docNumbering type is used to define the advanced characteristics of a numbering used in a Word Processing document. The characteristics of this numbering can be defined and modified using various WLanguage properties. Note: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
MonDoc is Document = TT_SansNom1
MaNumérotation is docNumbering
Niveau is docNumberingLevel
Niveau.Text = "%1) "
Niveau.Text = "%1) "
Niveau.InitialValue = 1
Niveau.PageLayout.IndentFirstLine = 10
Niveau.Format = numfRomanUppercase
Add(MaNumérotation.Level, Niveau)
Niveau.Text = "%2] "
Niveau.InitialValue = 1
Niveau.PageLayout.IndentFirstLine = 20
Niveau.Format = numfUppercaseLetter
Add(MaNumérotation.Level, Niveau)
Niveau.Text = "%3\ "
Niveau.InitialValue = 1
Niveau.PageLayout.IndentFirstLine = 30
Niveau.Format = numfLowercaseLetter
Add(MaNumérotation.Level, Niveau)
let id = Add(MonDoc.Numbering, MaNumérotation)
MonDoc.Paragraph[1].Numbering.Identifier = id
MonDoc.Paragraph[1].Numbering.Level = 1
TT_SansNom1 = MonDoc
Properties Properties specific to docNumbering variables The following properties can be used to handle a numbering description: | | | Property name | Type used | Effect |
---|
Identifier | Integer | Identifier of numbering. This identifier can be used to specify the numbering used by a paragraph. This property is defined when the numbering is added to the document. This property is read-only. | Level | Array of docNumberingLevel | List of descriptions of numbering levels. | Name | Character string | Name of numbering. | Tmpl | Character string | Specific identifier for using the numbering in MS Word. This property is read-only. | Note These properties can be used using one of two syntaxes: - <Variable name>.<Property name>
- <Variable name>.<Property name>
Remarks Adding a numbering description to a document To add a numbering description to a document, you have the ability to use Add with the following syntax: Add(Document.Numbering, MyNumbering) where: Using numberings created programmatically The numberings created programmatically can be used via the ribbon. They appear in the ribbon, in the "Paragraphs" group, by expanding the  option, in the "Document numbering" group.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|