PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
  • Properties specific to the description of docTabulation variables
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
The docTabulation type is used to define the characteristics of a custom tabulation. This custom tabulation is associated with a paragraph included in a Word Processing document. The characteristics of this tabulation can be defined and modified using different WLanguage properties.
Remark: For more details on the declaration of this type of variable and the use of WLanguage properties, see Declaring a variable.
Example
MonDoc is Document = MonChampDoc
// Récupération du premier paragraphe
Parag is docParagraph = MonDoc.Paragraph[1]
// Tabulation à 3 cm
Tabul is docTabulation
Tabul.Position = 30
// Ajout de la tabulation aux tabulations personnalisées du paragraphe
Add(Parag.MiseEnPage.TabulationPerso, Tabul)
Remarks

Properties specific to the description of docTabulation variables

The following properties can be used to handle a docTabulation variable:
Property nameType usedEffect
FillCharacterCharacter string or constantFill character for the space before the tabulation.
Versions 25 and later
This property can correspond to one of the following constants:
  • docTabulationCharacterNone: Empty character (no fill character).
  • docTabulationCharacterDot: Dot.
  • docTabulationCharacterMiddleDot: Centered dot.
  • docTabulationCharacterUnderscore: Underlined.
  • docTabulationCharacterHyphen: Hyphen.
New in version 25
This property can correspond to one of the following constants:
  • docTabulationCharacterNone: Empty character (no fill character).
  • docTabulationCharacterDot: Dot.
  • docTabulationCharacterMiddleDot: Centered dot.
  • docTabulationCharacterUnderscore: Underlined.
  • docTabulationCharacterHyphen: Hyphen.
This property can correspond to one of the following constants:
  • docTabulationCharacterNone: Empty character (no fill character).
  • docTabulationCharacterDot: Dot.
  • docTabulationCharacterMiddleDot: Centered dot.
  • docTabulationCharacterUnderscore: Underlined.
  • docTabulationCharacterHyphen: Hyphen.
In the docx documents, only the following characters are supported:
  • Empty characters (no fill character),
  • Dot,
  • Hyphen,
  • Underline,
  • Centered dot.
This property corresponds to an empty character by default.
PositionRealPosition of the tabulation (in millimeters) from the left paragraph border (0 by default).
TypeOptional Integer constantType of tabulation to add:
  • tabTypeBar: A vertical bar will be displayed for the tabulation.
  • tabTypeCenter: The center of text will be aligned on the tabulation.
  • tabTypeDecimal: The decimal separator will be aligned on the tabulation.
  • tabTypeRight: The right text border will be aligned on the tabulation.
  • tabTypeLeft (Default value): The left text border will be aligned on the tabulation.
Minimum version required
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment