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 docCell variables
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
The docCell type is used to define the advanced characteristics of a table cell found in a Word Processing document. The characteristics of this cell can be defined and modified using different WLanguage properties.
CAUTION: This type must not be used directly. It must only be used:
For more details on the different types related to documents of type Word Processing, see Types associated with the Word processing.
This type of variable is available from version 220059U (module dated 05/17/2017).
Example
// Récupération du document
MonDocument is Document <- TT_Tableau
// Récupération du tableau, ici le paragraphe 1
pTableau is docParagraph <- MonDocument.Paragraph[1]
 
// Parcours les lignes
FOR i = 1 _TO_ pTableau.Tableau.Lignes.Occurrence
// Parcours les colonnes
FOR j = 1 _TO_ pTableau.Tableau.Colonnes.Occurrence
Trace("Valeur de la cellule [[%i%]][[%j%]] = " +
pTableau.Tableau.Cellules[i,j].Contenu.Texte)
END
END
Remarks

Properties specific to the description of docCell variables

The following properties can be used to handle a docCell variable:
Property nameType usedEffect
ContentdocFragment variableContent of table cell.
ColumnIndexIntegerSubscript of current column.
RowIndexIntegerSubscript of current row.
PageLayoutLayout of current cell.
Caution: This property is available from version 220071.
PageLayout.BorderBorder variableIdentifier of border used for the paragraph.
Remark: the rounded corners are not supported.
Layout ColorBackgroundIntegerCell background color. This color can correspond to:
PageLayout.BackgroundFrameBackground variableCharacteristics of cell background.
Minimum version required
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment