| 46 | * Add CommonAttr.BEGIN_PARAGRAPH and CommonAttr.END_PARAGRAPH attributes to represent existence of baragraph breaks in the style. |
| 47 | * Create classes extending HotStyleValue: |
| 48 | * HotBeginParagraphAttr - style value for begin paragraph |
| 49 | * HotEndParagraphAttr - style value for end paragraph |
| 50 | * Add HotTextLogic.INSERT_PARAGRAPH_BREAKS operation to define behavior for specifying a paragraph in HotText |
| 51 | * Create utility class ParagraphUtils with: |
| 52 | * static method checkCorrectness(HotText) - checks if BEGIN_PARAGRAPH and END_PARAGRAPH are nested correctly. |
| 53 | * static method existsBeginParagraph(HotStyleDef) - checks if there is BEGIN_PARAGRAPH in the specified style. |
| 54 | * static method existsEndParagraph(HotStyleDef) - checks if there is END_PARAGRAPH in the specified style. |
56 | | * EdgeKind.SEGMENT to apply the paragraph visualization properties/attributes. |
| 72 | * To apply the paragraph visualization properties as follows: |
| 73 | * EdgeKind.OPEN_LINE - top spacing, line spacing, first line indent, left indent, right indent. |
| 74 | * EdgeKind.CLOSE_LINE - bottom spacing. |
| 75 | * Testing |
| 76 | * TextParagraphDemo added for checking the correct behavior of paragraph functionality. |
| 77 | [3424] |
| 78 | * [http://www.sophie2.org/trac/browser/branches/private/nenko/nenko2/modules/org.sophie2.base.model.text/src/test/java/org/sophie2/base/model/text/layout/LayoutBuilderTest.java LayoutBuilderTest] - updated in [3386] |