[[BackLinksMenu]] [[TicketQuery(summary=TEXT_PARAGRAPH_SPACING_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 == A paragraph is a self-contained unit of a discourse in writing dealing with a particular point or idea. The start of a paragraph is indicated by beginning on a new line. Sometimes the first line is indented; sometimes it is indented without beginning a new line. At various times the beginning of a paragraph has been indicated by the pilcrow: ΒΆ. User should be able to specify spacing setting for specific paragraph via paragraph settings hud.[[BR]] Identation defines where does the text begin in the frame.Following settings should present: * Right indent - defines the space after the text, for now in points. * Left indent - defines the space before the text, for now in points. * First line indent - defines the space before the first line in the text, for now in points. * Space above - defines the space above the paragraph, for now in points. * Space below - defines the space below the paragraph, for now in points. * Line spacing - defines spacing between the lines in the paragraph, in lines. The default is 1. == Task requirements == * Implement indent functionalities for the paragraph * Create a paragraph hud * Should contain controls for align, character style and indents. (add only indent controls) == Task result == * The result should be code. == Implementation idea == * Review [[wiki:TEXT_PARAGPRAPH_FORMAT_COMMONS_R0]] and don't get in to a conflict with implementation of this task. * Also review what is implemented at this point. * If there is a need review http://java.sun.com/j2se/1.4.2/docs/api/javax/swing/text/StyleConstants.html == Related == [[wiki:TEXT_PARAGPRAPH_FORMAT_COMMONS_R0]][[BR]] [[wiki:TEXT_PARAGRAPH_ALIGN_R0]][[BR]] [[wiki:TEXT_PARAGRAPH_STYLE_TEMPLATES_R0]][[BR]] [[wiki:TEXT_PARAGRAPH_CHAR_STYLE_R0]][[BR]] [[wiki:TEXT_PARAGRAPH_NEXT_STYLE_R0]][[BR]][[BR]] [[wiki:DETACHED_TEXT_FRAME_EDITOR_R0]] http://en.wikipedia.org/wiki/Paragraph == 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/) * Open the paragraph settings hud and manipulate spacing controls. = 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.)