PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • 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 by several WLanguage properties.
CAUTION: This type must not be used directly. It must only be used:
See Types associated with the Word processing for more details.
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.
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.
Note: the rounded corners are not supported.
PageLayout..BrushColorIntegerBackground color of cell. This color can correspond to:
PageLayout..BackgroundFrameBackground variableCharacteristics of cell background.

Note: These properties can be handled by using one of the following syntaxes:
  • <Variable Name>..<Property Name>
  • <Variable Name>.<Property Name>
Minimum required version
  • Version 22
This page is also available for…
Comments
Click [Add] to post a comment