wiki:TEXT_LINK_MANIPULATION_R0

Version 6 (modified by todor, 16 years ago) (diff)

--

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

Error: Macro TicketQuery(summary=TEXT_LINK_MANIPULATION_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

(Give as much as possible of the needed information for designing and implementing the task in the following sections.)

Overview

This task is focused on delivering link functionality inside text frame.

Task requirements

  • Create halo for text links which evokes HUD
    • The halo should appear when text is selected
    • When pressed it should evokes a HUD (sample design for the HUD is added in the implementation idea below)
      • Because the text's link functionality is so similar to the frame's link functionality the HUDs could be almost identical with some minor differences.
      • The HUD for the text links must give the user possibility to change the coloring of the link.
  • When text is converted to link, there must be a visual marker for that (at least changing the text color)
  • The triggers for the links are almost the same as the ones for the links we now have
    • Mouse enter
    • Mouse leave
    • Mouse double click
    • Mouse pressed
    • Mouse released
  • The events are also similar to the events for regular links. However some new must be added:
    • Open URL

Task result

The result of this task must be code.

Implementation idea

  • Sample HUDs and their layout
    • By default the link color for the over, pressed, visited and normal is the same, but the user can change that accessing additional subhud (as shown on the picture)

GROUP_LINKS_R0

How to demo

  • Insert text frame.
  • Add some text in it and create link.
  • Use different coloring options.
  • Try if the link works in preview mode or reader.

Design

(Describe your design here.)

Implementation

Testing

(Place the testing results here.)

Comments

(Write comments for this or later revisions here.)

Attachments