Changes between Version 35 and Version 36 of TEXT_AUTO_CHAIN_BEHAVIOUR_R1


Ignore:
Timestamp:
09/28/09 12:36:52 (16 years ago)
Author:
boyan
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TEXT_AUTO_CHAIN_BEHAVIOUR_R1

    v35 v36  
    6262 
    6363= Design = 
    64 This task depends to a great extent on the design of TEXT_CHAINING_BEHAVIOUR_R1 and should be done in parralel or after it. In order to support auto-chaining, only logics should be changed (if the task mentioned is implemented) since model and views will be designed to support auto chaining. A check for the chaining mode should be performed on every operation related to chaining. If chaining mode is auto, the behaviour should be as described in the analysis section. 
     64This design depends to a great extent on the design of TEXT_CHAINING_BEHAVIOUR_R1. Please have a look at it for details. This task will change only the logic and fix some bugs left after the previous task. 
    6565 
    66 Please refer to the design of TEXT_CHAINING_BEHAVIOUR_R1 for details on chaining, a class diagram and a test. 
     66At this iteration, auto chaining will not be fully automatic. A button will be added in the TextChainHud that will reflow the text. That is, when the user clicks it, it will automatically add new pages and frames and chain them to the currently selected one until the text fits in the flow. Since chaining will not be really "automatic", the KEY_CHAIN_MODE in HeadTextFrameR4 will not be set now. Chaining mode will be used when the chaining becomes truly automatic. Here's how the initial version of the hud will look like: 
     67 
     68^Here goes the screenshot of the HUD. 
     69 
     70For the needs of this task, the HotLayout class will be extended with two methods: 
     71 * isTextConsumed(ImmHotText text) will return a boolean value indicating whether the text fits in the areas of the current flow or not (needed for overflowing). 
     72 * getNeededAreasCount(ImmHotText text) will return an integer value indicating how many areas of the same size as the first one are needed for laying out the whole text (needed for underflowing). 
    6773 
    6874= Implementation = 
    69 ^(Describe and link the implementation results here (from the wiki or the repository).)^ 
     75^Describe and link the implementation results here (from the wiki or the repository). 
    7076 
    7177= Testing = 
    72 ^(Place the testing results here.)^ 
     78^Place the testing results here. 
    7379 
    7480= Comments = 
    75 ^(Write comments for this or later revisions here.) 
     81^Write comments for this or later revisions here.