This class represents a section in a document.
Properties
Application through getApplication
LeftIndent through getLeftIndent and setLeftIndent
Link through getLink and setLink
Name through getName and setName
Protected through isProtected and setProtected
Range through getRange
RightIndent through getRightIndent and setRightIndent
Visible through isVisible and setVisible
Methods
Usage
TextSection provides access to the text range of the section, and provides method to remove the section, and properties to set the indentation of the section.
To protect the section from being modified by users, use the Protected property.
When setting indentation for a section in 1/100th mm, the value of the indentation is converted to a internal value in twip (1 inch = 1440 twips) which is the internal unit for this property in Lotus Symphony. When getting the indentation, the internal value in twip is converted to a value in 1/100th mm and the value in 1/100th mm is returned to the user. So the value you get from the indentation maybe different (a little larger or smaller) from the value you set to the indentation. The following is the macro of converting a value in twip to 1/100th mm:
((TWIP) >= 0 ? (((TWIP)*127L+36L)/72L) : (((TWIP)*127L-36L)/72L))
The following is the macro of converting a value in 1/100th mm to twip :
((MM100) >= 0 ? (((MM100)*72L+63L)/127L) : (((MM100)*72L-63L)/127L))