Version 8 (modified by milen, 16 years ago) (diff) |
---|
Analysis
(Give as much as possible of the needed information for designing and implementing the task in the following sections.)
Overview
There should be an automatic chaining availability when text frame is used.
Task requirements
- When setting auto chaining to a text frame the following things should be acquired:
- If there is no other flow text frame on the page and the text overflows, than on the next page text flow frame is created with the same properties as the first one (position, size, background etc.). The both frames are linked. If there is no next page, than it's created.
- If there is unlinked text frame on the same page auto chaining link with it. If the unlinked frames are more than one the link is with the earliest added one.
- If there are two pages which have text frames that are linked and if a new text frame is inserted to the first one then this frame should be linked after the last frame on the first page and before the first frame on the second page.
- If there are some text frames on a page and the last frame overflow then a new page with the same number, location, size and style of the linked text frames is created and the new created frames are linked in the same way as in the previous page
- Deleting a text frame which is part of linked text frames and is not the last one of them deletes the frame, don't destruct the links between the others and open an window for asking if the text in the frame to be saved.
- If the answer is yes the text in the frame is reordered in the next frames in the line(in need a new frame as last one is created in the appropriate way).
- If the answer is no the frame and the text in the frame are deleted permanently.
If the deleted text frame is the last one, a warning message that the frame with all its content will be deleted should appear together with confirmation and deny button.
Task result
(List the end product of the task (for example "Source code", "Wiki page", etc.))
Implementation idea
(Provide some rough implementation idea(s).)
Related
(Add links to related tasks that could be useful or helpful.)
How to demo
(Provide instructions for demonstration of the task.)
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.)
Attachments
- autochain.jpg (21.7 KB) - added by milen 16 years ago.
- TextChainHud.png (9.5 KB) - added by boyan 16 years ago.