[[BackLinksMenu]] [[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|)]] = Analysis = == Overview == 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. == Task requirements == * Create a prototype that allows automatically appearance of the halo menu. * Provide accessible interface for all settings. * Provide easy way for development of sub tasks (TEXT_PARAGRAPH_* listed in the related section). == Task result == * The result should be code == Implementation idea == * Use javax.swing.text.StyleConstants class to provide needed styles. * 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. * Since this is R0 please don't remove existing functionality for now, just extend or refactor it if there is a need. == Related == [[wiki:DETACHED_TEXT_FRAME_EDITOR_R0]][[BR]] [[wiki:TEXT_PARAGRAPH_ALIGN_R0]][[BR]] [[wiki:TEXT_PARAGRAPH_SPACING_R0]][[BR]] [[wiki:TEXT_PARAGRAPH_STYLE_TEMPLATES_R0]][[BR]] [[wiki:TEXT_PARAGRAPH_CHAR_STYLE_R0]][[BR]] [[wiki:TEXT_PARAGRAPH_NEXT_STYLE_R0]] == How to demo == * Run the application * Create a new book and place text frame inside * Populate some lorem ipsum text inside with a number of paragraphs(lorem ipsum generator --> http://www.lipsum.com/) * See if you can adjust the settings of separated paragraphs = 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.)