Changes between Version 10 and Version 11 of TEXT_PARAGRAPH_SPACING_R0


Ignore:
Timestamp:
06/12/09 15:50:39 (16 years ago)
Author:
vlado
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TEXT_PARAGRAPH_SPACING_R0

    v10 v11  
    4444 
    4545= Design = 
     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. 
    4655 * Layout 
    4756  * Extend Atom class functionality with paragraph related attributes: 
     
    4958   * Modify Atom.isParaEnd to check for END_PARAGRAPH attribute. 
    5059   * Methods for indentation, top and bottom spacing, etc. 
    51   * Add VertexFields values for the needed paragraph attributes. 
     60  * Add VertexFields values for the needed paragraph properties: 
     61   * Alignment 
     62   * Top spacing 
     63   * Bottom spacing 
     64   * Line spacing 
     65   * First line indent 
     66   * Left indent 
     67   * right indent 
    5268  * Modify the layout algorithm: 
    5369   * EdgeKind.OPEN_LINE to check for BEGIN_PARAGRAPH. 
    5470   * EdgeKind.CLOSE_LINE to check for END_PARAGRAPH. 
    5571   * EdgeKind.SEGMENT to check for BEGIN_PARAGRAPH and END_PARAGRAPH. 
    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] 
    5779 
    5880= Implementation =