Changes between Version 10 and Version 11 of TEXT_PARAGRAPH_STYLE_R0


Ignore:
Timestamp:
10/26/09 20:16:30 (15 years ago)
Author:
tanya
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TEXT_PARAGRAPH_STYLE_R0

    v10 v11  
    9898 
    9999= Design = 
    100 ^(Describe your design here.)^ 
     100 * Create TextParagraphHaloButton and TextParagraphHud classes. TextParagraph will contain static classes for the different bound controls that will be used for the paragraph style to be changed. 
     101  * TextParagraphLineSpacing 
     102  * TextParagraphLeftIndent 
     103  * TextParagraphRightIndent 
     104  * TextParagraphSpaceAbove 
     105  * TextParagraphSpaceBelow 
     106  * TextParagraphAlignment 
     107 * Different bound controls will fire event on submit data with EventId TextView.EventIds.APPLY_PARA_STYLE. 
     108 * The event with id TextView.EventIds.APPLY_PARA_STYLE will be handled in TextFlowLogic. In ON_APPLY_PARA_STYLE constant in TextFlowLogic the new style will be applied from the beginning  of the current paragraph to the end of it. 
     109 * In HotSegmentLayout the toAwtLayout() method should be changed. TextLayout class has method to create justified layout. This method will be used to create the justified layout. toAwtLayout method will check whether or not the paragraph layout is justified and if it is justified, toAwtLayout will return the justified copy. The other layouts will be drawn by us - left, right, center. When the alignment is right or center, the x of the location point from which the draw should start, should be recalculated. In getPosPlace() method, the offset should be taken under consideration for the halo menu to have the correct location. 
    101110 
    102111= Implementation =