PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Properties specific to the description of docSection 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 docSection type is used to define the advanced characteristics of a section found in a document or paragraph.
At document level:
  • the docSection type is used to find out the general information of document.
  • the docSection type is used to modify the entire information for all document sections.
At paragraph level:
  • the docSection type is used to get information about the paragraphs belonging to the same section.
  • the docSection type is used to modify information about the paragraphs belonging to the same section.
The characteristics of this section can be defined and modified by several WLanguage properties.
Note: See Declaring a variable for more details.
Caution: This documentation presents the last features of the Word Processing control. Make sure that all the necessary modules are updated.
Example
// Retrieve the Word Processing control
MyDoc is Document <- WP_MyDoc
// Retrieve the document orientation
Info(MyDoc..Section..Orientation)
// Switch the document orientation to landscape
MyDoc..Section..Orientation = docLandscape
Remarks

Properties specific to the description of docSection variables

The following properties can be used to handle a section:
Property nameType usedEffect
HeaderCharacteristics of page header
Header..FirstPageInheritedBoolean
  • True if the header of the first page in the section is identical to the one of previous section.
  • False otherwise.
Header..FirstPagedocHeaderFooter variableCharacteristics of header for the first page in the section.
Header..EvenPageInheritedBoolean
  • True if the header of even pages in the section is identical to the one of previous section.
  • False otherwise.
Header..EvenPagedocHeaderFooter variableCharacteristics of header for the even pages in the section.
Header..OddPageInheritedBoolean
  • True if the header of odd pages in the section is identical to the one of previous section.
  • False otherwise.
Header..OddPagedocHeaderFooter variableCharacteristics of header for the odd pages in the section.
PageHeightRealPage height for the pages in the section (expressed in millimeters).
PageWidthRealPage width for the pages in the section (expressed in millimeters).
BottomMarginRealBottom margin for the pages in the section (expressed in millimeters).
RightMarginRealRight margin for the pages in the section (expressed in millimeters).
HeaderMarginRealMargin for the page headers of section (expressed in millimeters).
This property is available from version 220071.
LeftMarginRealLeft margin for the pages in the section (expressed in millimeters).
TopMarginRealTop margin for the pages in the section (expressed in millimeters).
FooterMarginRealMargin for the page footers of section (expressed in millimeters).
This property is available from version 220071.
NumberIntegerSection number.
This property is available in read-only.
This property is available from version 220071.
OrientationInteger constantOrientation of section:
  • docLandscape: all the pages found in the section are in Landscape mode.
  • docPortrait: all the pages found in the section are in Portrait mode.
FooterCharacteristics of footer.
Footer..FirstPageInheritedBoolean
  • True if the footer of the first page in the section is identical to the one of previous section.
  • False otherwise.
Footer..FirstPagedocHeaderFooter variableCharacteristics of footer for the first page in the section.
Footer..EvenPageInheritedBoolean
  • True if the footer of even pages in the section is identical to the one of previous section.
  • False otherwise.
Footer..EvenPagedocHeaderFooter variableCharacteristics of footer for the even pages in the section.
Footer..OddPageInheritedBoolean
  • True if the footer of odd pages in the section is identical to the one of previous section.
  • False otherwise.
Footer..OddPagedocHeaderFooter variableCharacteristics of footer for the odd pages in the section.
FirstPageDifferentBoolean
  • True if, for this section, the headers and footers of the first page in the section differ from the ones of previous section,
  • False otherwise.
TypeInteger constantType of section break that will be applied to all the paragraphs found in the section:
  • ssSectionBreak: Section berak to next page.
  • ssSectionBreakContinuous: Section break on the same page. This type of section break is used to separate a 2-column section from a 1-column section on the same page for example. This type of section is not compatible with the modifications regarding the document size, orientation or margins.
  • ssSectionBreakOddPage: Section berak to next odd page.
  • ssSectionBreakEvenPage: Section break to next even page.

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