| 1 | [[BackLinksMenu]] |
| 2 | |
| 3 | [[TicketQuery(summary=TEXT_PARAGPRAPH_FORMAT_COMMONS_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|)]] |
| 4 | |
| 5 | = Analysis = |
| 6 | |
| 7 | == Overview == |
| 8 | User should be able to manipulate paragraph format options from the halo menu, that appears automatically when the focus is set to a text paragraph. Also this settings should be accessible from detached text frame editor menu. |
| 9 | |
| 10 | == Task requirements == |
| 11 | * Create a prototype that allows automatically appearance of the halo menu. |
| 12 | * Provide accessible interface for all settings. |
| 13 | * Provide easy way for development of sub tasks (TEXT_PARAGRAPH_* listed in the related section). |
| 14 | |
| 15 | == Task result == |
| 16 | * The result should be code |
| 17 | |
| 18 | == Implementation idea == |
| 19 | * Use javax.swing.text.StyleConstants class to provide needed styles. |
| 20 | * Instead of starting everything from the beginning see whats already implemented (org.sophie2.main.view.halos.menus.text.TextHaloMenu) and step on it for providing additional functionality. |
| 21 | * Since this is R0 please don't remove existing functionality for now, just extend it or refactor if there is a need. |
| 22 | |
| 23 | == Related == |
| 24 | [[wiki:DETACHED_TEXT_FRAME_EDITOR_R0]][[BR]] |
| 25 | [[wiki:TEXT_PARAGRAPH_ALIGN_R0]][[BR]] |
| 26 | [[wiki:TEXT_PARAGRAPH_SPACING_R0]][[BR]] |
| 27 | [[wiki:TEXT_PARAGRAPH_STYLE_TEMPLATES_R0]][[BR]] |
| 28 | [[wiki:TEXT_PARAGRAPH_CHAR_STYLE_R0]][[BR]] |
| 29 | [[wiki:TEXT_PARAGRAPH_NEXT_STYLE_R0]] |
| 30 | == How to demo == |
| 31 | * Run the application |
| 32 | * Create a new book and place text frame inside |
| 33 | * Populate some lorem ipsum text inside with a number of paragraphs(lorem ipsum generator --> http://www.lipsum.com/) |
| 34 | * See if you can adjust the settings of separated paragraphs |
| 35 | |
| 36 | = Design = |
| 37 | ^(Describe your design here.)^ |
| 38 | |
| 39 | = Implementation = |
| 40 | ^(Describe and link the implementation results here (from the wiki or the repository).)^ |
| 41 | |
| 42 | = Testing = |
| 43 | ^(Place the testing results here.)^ |
| 44 | |
| 45 | = Comments = |
| 46 | ^(Write comments for this or later revisions here.) |