[[BackLinksMenu]]

[[TicketQuery(summary=TEXT_PARAGRAPH_ALIGN_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 specify alignment of specific paragraph directly in to text halo menu.[[BR]]
Available values should be:
 * Left
 * Right
 * Center
 * Justified

It is recommended that paragraph settings hud includes text alignment values, even if they are duplicated in the text halo menu.

== Task requirements ==
 * Implement aligning functionality
 * Create paragraph halo and hud
 * Create buttons for left, right, canter and justified alignment in the paragraph hud.

== 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_SPACING_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:TEXT_HALO_MENU_R0]][[BR]]
[[wiki:DETACHED_TEXT_FRAME_EDITOR_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/)
 * Open the paragraph settings hud and manipulate alignment 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.)