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/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
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 Word Processing documents, see Types associated with the Word processing.
Caution: This documentation presents the last features of the Word Processing control. Make sure that all the necessary modules are updated.This type of variable is available from version 220059U (module dated 05/17/2017).
Example
// Retrieve the document
MyDocument is Document <- WP_Table
// Retrieve the table, here the paragraph 1
pTable is docParagraph <- MyDocument.Paragraph[1]
 
// Browses the rows
FOR I = 1 _TO_ pTable.Table.Rows.Occurrence
// Browses the columns
FOR I = 1 _TO_ pTable.Table.Columns.Occurrence
Trace("Value of cell [[%I%]][[%j%]] = " +
pTable.Table.Cells[I, j].Content.Text)
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.
Versions 25 and later
ColSpan
New in version 25
ColSpan
ColSpan
IntegerIndex of the current column.
Versions 25 and later
RowSpan
New in version 25
RowSpan
RowSpan
IntegerIndex of the current row.
ColumnIndexIntegerIndex of the current column.
RowIndexIntegerIndex of the 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.
PageLayout.BackgroundColorIntegerCell background color. This color can correspond to:
PageLayout.BackgroundPatternBackground variableCharacteristics of the cell background.
This constant corresponds to "BackgroundFrame" in previous versions.
Minimum version required
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment