- Changed Print method to PrintContents method.
- New Property! ParagraphAttributes
Use ParagraphAttributes to read or set the paragraph characteristics of the currently selected text. ParagraphAttributes is a IwwParagraphAttributes object, which specifies characteristics such as Alignment, LeftIndent, FirstIndent, RightIndent, and NumberingStyle. To change a single attribute of the currently selected paragraph, read ParagraphAttributes, and set one of its properties. If no text is selected, ParagraphAttributes represents the attributes of the cursor position. When inserting new text, the font characteristics of the initial paragraph will match ParagraphAttributes.
ParagraphAttributes sub-properties are:
- Alignment - This property specifies how text is aligned within a paragraph. Use Alignment to specify the alignment of text within individual paragraphs. The Alignment property of IwwParagraphAttributes applies only to the selected paragraphs. The possible values are taLeftJustify, taRightJustify, or taCenter.
- FirstIndent - Specifies the indent, in pixels, of the first line of the paragraph relative to the left margin. This value is relative to the value of LeftIndent.
- LeftIndent - Use LeftIndent to indent a paragraph from the left margin of the entire body of text. LeftIndent is useful for making individual paragraphs stand out from the rest of the text.
- NumberingStyle - Specifies whether the paragraph is one of a set of bulleted paragraphs. To insert a bullet to the left of the paragraph, and indent the paragraph sufficiently to accommodate the bullet, set NumberingStyle to BulletStyle. If the LeftIndent property is set, bullets will appear at the indentation indicated by LeftIndent, and the body of the paragraph will be further indented to accommodate the bullets. Possible values are: NoNumbering and BulletStyle.
- RightIndent - Use RightIndent to indent a paragraph from the right margin of the entire body of text. RightIndent is useful for making individual paragraphs stand out from the rest of the text, especially when Alignment is set to taRightJustify.
|