Changes between Version 11 and Version 12 of TEXT_PARAGRAPH_STYLE_R0


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

--

Legend:

Unmodified
Added
Removed
Modified
  • TEXT_PARAGRAPH_STYLE_R0

    v11 v12  
    107107 * Different bound controls will fire event on submit data with EventId TextView.EventIds.APPLY_PARA_STYLE. 
    108108 * 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. 
     109 * The alignments - changes HotSegmentLayout. 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. 
     110 * The identation - changes HotAreaLayout. In create method of HotArea layout, paragraph style should be taken under consideration. The height of the line should be increased by the line spacing. The beginning of the first interval of the line should be increased by the left indent and the width of the last interval should be decreased be the right indent. 
    110111 
    111112= Implementation =