| | | |
Property name | Type used | Effect |
---|
Cell | docCell variable | Used to access the cell of parent table. |
StartSection | Integer constant | Section break to apply before the paragraph. Can correspond to one of the following constants: - ssNoBreak: No section break is found before the paragraph.
- ssSectionBreak: A section break (page break type) is found before the paragraph.
- ssSectionBreakContinuous: A continuous section break is found before the paragraph.
- ssSectionBreakOddPage: A section break (odd page break type) is found before the paragraph.
- ssSectionBreakEvenPage: A section break (even page break type) is found before the paragraph.
Remarks: - The EndSection property of a paragraph returns the same value as the StartSection property of the next paragraph.
- The StartSection property of the first paragraph returns the ssNoBreak constant.
|
RightToLeft | Boolean | - True if the actual writing direction goes from right to left,
- False if the actual writing direction goes from left to right.
|
Element | Array of docElement | Elements included in the paragraph. The elements found in the paragraph can be browsed via the FOR EACH statement. |
EndSection | Integer constant | Section break to apply after the paragraph. Can correspond to one of the following constants: - ssNoBreak: No section break is found after the paragraph.
- ssSectionBreak: A section break (page break type) is found after the paragraph.
- ssSectionBreakContinuous: A continuous section break is found after the paragraph.
- ssSectionBreakOddPage: A section break (odd page break type) is found after the paragraph.
- ssSectionBreakEvenPage: A section break (even page break type) is found after the paragraph.
Remarks: - The EndSection property of a paragraph returns the same value as the StartSection property of the next paragraph.
- The EndSection property of the last paragraph returns the ssNoBreak constant.
|
ParagraphIndex | Integer | Index of current paragraph in the table of parent paragraphs. This property is read-only. |
PageLayout | | Information about paragraph layout |
| PageLayout.Alignment | Integer constant | Horizontal alignment used: - haCenter: Centered
- haRight: Aligned right
- haLeft: Aligned to left
- haJustified: Justified.
|
| PageLayout.Border | Border variable | Characteristics of the border used for the paragraph. Remark: rounded corners are not supported. |
| PageLayout.BackgroundColor | Integer | Background color of paragraph. This color can correspond to: |
| PageLayout.SpaceBottomBorder | Real | Spacing between the text and the bottom side of paragraph border (expressed in millimeters). This property is set to 0 by default. |
| PageLayout.SpaceRightBorder | Real | Spacing between the text and the right side of paragraph border (expressed in millimeters). This property is set to 0 by default. |
| PageLayout.SpaceLeftBorder | Real | Spacing between the text and the left side of paragraph border (expressed in millimeters). This property is set to 0 by default. |
| PageLayout.SpaceTopBorder | Real | Spacing between the text and the top side of paragraph border (expressed in millimeters). This property is set to 0 by default. |
| PageLayout.SpacingAfter | Real | Spacing after the paragraph (expressed in millimeters). This property is set to 0 by default. |
| PageLayout.SpacingBefore | Real | Spacing before the paragraph (expressed in millimeters). This property is set to 0 by default. |
| PageLayout.LineSpacing | Real | LineSpacing . If the LineSpacingType property is set to lineSpacingExact or lineSpacingMinimum, the value is expressed in milimeters. If the LineSpacingType property is set to lineSpacingMultiple, the value will be a factor. By default, this property is set to 0. |
| PageLayout.IndentBeforeText | Real | Left indent of paragraph (expressed in millimeters). This property is set to 0 by default. |
| PageLayout.IndentAfterText | Real | Right indent of paragraph (expressed in millimeters). This property is set to 0 by default. |
| PageLayout.RightIndent | Real | Right indent of paragraph (expressed in millimeters). This property is set to 0 by default. |
| PageLayout.LeftIndent | Real | Left indent of paragraph (expressed in millimeters). This property is set to 0 by default. |
| PageLayout.IndentFirstLine | Real | Indent of first line in paragraph (expressed in millimeters). This property is set to 0 by default. |
| PageLayout.CustomTabulation | Array of docTabulation | Custom tabulations of paragraph. |
| PageLayout.BackgroundPattern | Background variable | Characteristics of paragraph background. |
| PageLayout.LineSpacingType | Integer constant | Type of line spacing used: - lineSpacingExact: The line spacing corresponds to the value of the LineSpacing property.
- lineSpacingMinimum: The line spacing is at least the value of the LineSpacing property. If the default line spacing of the font used on the previous line is greater than the LineSpacing property, the default line spacing of the font is used.
- lineSpacingMultiple (default value): The line spacing is obtained by multiplying the default line spacing of the previous line by the LineSpacing property.
Remark: This constant corresponds to InterlineType in previous versions. |
Numbering | | Numbering information. |
| Numbering.Identifier | Integer | Identifier of numbering used for the paragraph. Used to identify or associate a numbering with the paragraph. For more details, see docNumberingLevel. |
| Numbering.Level | Integer | Identifier of numbering level used for the paragraph. Used to identify or associate a numbering level with the paragraph. For more details, see docNumberingLevel. |
Parent | docElement | Element that contains the paragraph. |
StartPosition | Integer | Start position of paragraph in the document. |
EndPosition | Integer | End position of paragraph in the document. |
Section | docSection | Characteristics of the section to which the paragraph belongs. |
StyleID | Character string | Identifier of paragraph style. This identifier must exist among the styles linked to the document. Remark: changing the paragraph or fragment style automatically applies the linked paragraph style and character style if they exist. |
Table | docTable variable | Characteristics of the table corresponding to the paragraph. This property is used to find out whether the paragraph corresponds to a Text paragraph or to a Table paragraph. Example: let para <- f.Element[1].Paragraph
IF para.Table = Null THEN
RETURN
END
|