wiki:TEXT_CHAINING_BEHAVIOUR_R0

Version 8 (modified by nenko, 16 years ago) (diff)

--

Error: Macro BackLinksMenu(None) failed
compressed data is corrupt

Error: Macro TicketQuery(summary=TEXT_CHAINING_BEHAVIOUR_R0, format=table, col=summary|owner|status|type|component|priority|effort|importance, rows=description|analysis_owners|analysis_reviewers|analysis_score|design_owners|design_reviewers|design_score|implementation_owners|implementation_reviewers|implementation_score|test_owners|test_reviewers|test_score|) failed
current transaction is aborted, commands ignored until end of transaction block

Analysis

Overview

  • Text frames should allow chaining between them. That means that when text overflows from one text frame it goes to another if they are linked. Also there should be overflow indicator.
  • There should be opportunity for the user to have multiple flows from different text frames.
  • The user should be able to point which text frame is linked with current flow and witch is not.
  • There should be automatic linking when flow text frame is used. See more at TEXT_AUTO_CHAIN_BEHAVIOUR_R0
  • If there are many linked flow text frames user should have the opportunity to easily reorder/delete/unchain them.

Task requirements

  • Implement chaining prototype
    • Allow linking frames. One frame should allow connecting to it's beginning and end. This means that the beginning point can only be connected with other frame's end point.
    • When the place in unsufficient for the text content (this is related to text layout) :
      • there should be indicator
      • the rest of the content should be put in the next chained frame
    • If all of the chained frames cannot display the content, the content is cut and a notification - a halo in the bottom corner
  • Implement GUI for chained frames
    • Linking will be done through a combo box, that lists all available text frames for chaining
    • The combo box will be in the HUD that appears when the indicating halo is clicked
    • Also label indicating which is the previous frame from the chain, should be in the HUD
    • These requirement is optional due to time boxing :
      • In Sophie 1 halos for the start and end points are present. See Implementation idea
      • Frame connections should be visible by clicking a menu item or a checkbox in the book bottom panel

Task result

  • The result should be code

Implementation idea

  • When the text overflows use arrow at the bottom to indicate it. The arrow should appear only when the frame is selected and there are no other frames linked with linked with the first one.
  • When they are two or more linked text frames on one page. Indicate the linking with two arrows (one at the bottom of the first one and one at the top of second one, with the same color) or with line(drawn from the bottom of the first frame to the top of the second). This should only be visible when the frame is selected.
  • Linking and un-linking should be done by halo buttons. See more at TEXT_CHAIN_HALOS_R0

TEXT_FRAME_SCROLLBARS_R0
TEXT_AUTO_CHAIN_BEHAVIOUR_R0
TEXT_AUTO_CHAIN_MULTI_FLOW_R0
TEXT_CHAIN_HALOS_R0

How to demo

  • Run the application
  • Create a book
  • Place flow text frame inside the first page and populate text that overflows (http://www.lipsum.com/)
  • Create a second text frame and link it with the first one
  • Text should appear in the second one.
  • If selected the link indicators should appear.

Design

(Describe your design here.)

Implementation

(Describe and link the implementation results here (from the wiki or the repository).)

Testing

(Place the testing results here.)

Comments

(Write comments for this or later revisions here.)