Changes between Version 12 and Version 13 of TEXT_PARAGRAPH_STYLE_R0


Ignore:
Timestamp:
10/27/09 13:13:45 (15 years ago)
Author:
tanya
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TEXT_PARAGRAPH_STYLE_R0

    v12 v13  
    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  * 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. 
     109 * The alignments - change 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 into consideration for the halo menu to have the correct location. 
     110 * The identation - change HotAreaLayout. In create method of HotAreaLayout, paragraph style should be taken into 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. 
     111 * The existing tests for the text were fixed and now all of them are working. 
    111112 
    112113= Implementation = 
    113 ^(Describe and link the implementation results here (from the wiki or the repository).)^ 
     114 * For the next revision the following should be fixed: 
     115  * First line indent will be added. 
     116  * Cursor position is recalculated when there is text available. Try to add below space. Press enter. No below space is available. The below space become available when there is at least one character written after the paragraph break. 
     117  * Combo boxes should be editable (not only drop down). 
     118  * There is a problem with the intervals. Try to put many intervals - the line goes out of the frame. 
    114119 
    115120= Testing =