ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Controls, pages and windows / Word Processing functions / Types of variables
  • Properties specific to docTabulation variables
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
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. You can define and change the characteristics of this tabulation using different WLanguage properties.
Note: 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.PageLayout.CustomTabulation, Tabul)
Properties

Properties specific to docTabulation variables

The following properties can be used to define the characteristics of docTabulation variables:
Property nameType usedEffect
FillCharacterCharacter string or constantFill character for the space before the tabulation.
This property can correspond to one of the following constants:
  • docTabulationCharacter None Empty character (no placeholder).
  • docTabulationPointCharacter Point.
  • docTabulationCharacterCenterPoint Point centered.
  • docTabulationUnderlinedCharacter Underline.
  • docTabulationUnionTextCharacter Line: Hyphen.
This property is set 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 at tab level.
  • tabTypeCentre The center of the text will be aligned with the tab.
  • tabTypeDecimal The decimal separator is aligned with the tab.
  • tabTypeRight The right edge of the text will be aligned with the tab.
  • tabTypeLeft (Default): The left edge of the text will be aligned with the tab.
Minimum version required
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/27/2025

Send a report | Local help