ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Word Processing functions / Types of variables
  • Properties specific to docCell variables
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The docCell type is used to define the advanced characteristics of a table cell in a Word Processing document. You can define and change the characteristics of this cell 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 Word Processing documents, see Types associated with Word processors.
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.Table.Rows.Count
	// Parcours les colonnes
	FOR j = 1 _TO_ pTableau.Table.Columns.Count
		Trace("Valeur de la cellule [[%i%]][[%j%]] = " + 
		pTableau.Table.Cells[i,j].Content.Text)
	END
END
Remarks

Properties specific to docCell variables

The following properties can be used to handle docCell variables:
Property nameType usedEffect
PageLayout.BorderBorder variableCharacteristics of the border used for the paragraph.
Remark: rounded corners are not supported.
PageLayout.BackgroundPatternBackground variableCharacteristics of the cell background.
PageLayout.BackgroundColorIntegerCell background color. This color can correspond to:
ColSpanIntegerIndex of the current column.
ColumnIndexIntegerIndex of the current column.
ContentdocFragment variableContent of a table cell.
PageLayoutLayout of the current cell.
RowIndexIntegerIndex of the current row.
RowSpanIntegerIndex of the current row.
Minimum version required
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/15/2024

Send a report | Local help