wiki:TEXT_HALO_MENU_R0
Last modified 14 years ago Last modified on 02/06/09 17:10:07

Error: Macro BackLinksMenu(None) failed
compressed data is corrupt

Error: Macro TicketQuery(summary=TEXT_HALO_MENU_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|) failed
current transaction is aborted, commands ignored until end of transaction block

Analysis

Overview

User should be able to manipulate main character and paragraph format settings from the halo menu, that appears automatically when the focus is set to a text content.
The following settings should be adjustable via this menu:

  • Text weight: normal or bold
  • Text style: normal or italic
  • Text decoration: normal or underline
  • Paragraph alignment: left, right, center or justified

Also there should be buttons that evoke character settings hud and paragraph settings hud.
Additionally when a text is selected there should be button that evokes links hud. Same button should be available when text link is selected or when focus is set on the text link.

Task requirements

  • Create a prototype that allows automatically appearance of the halo menu.
  • Provide easy way for development of related tasks.

Task result

  • The result should be code.

Implementation idea

  • 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.
  • Here is a scheme how the menu could look like

source:trunk/sophie2-platform/doc/userdoc-images/RELEASE_5/haloMenu.jpg

TEXT_PARAGPRAPH_FORMAT_COMMONS_R0
TEXT_LINK_TRIGGERING_R0
TEXT_CHARACTER_FORMAT_COMMONS_R0
LINKS_MANIPULATION_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 text halo menu appears when focus is set to the text. Also check if disappears whenever the focus is changed.
  • Test if the buttons in the menu work properly.

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.)