wiki:TEXT_LINK_MANIPULATION_R0

Version 9 (modified by todor, 15 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

Overview

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

Task requirements

  • Create a halo for text links which evokes a HUD
    • The halo should appear when text is selected.
    • When pressed it should evoke a HUD (sample design for the HUD is added in the implementation idea below)
      • Since the text's link functionality is so similar to the frame's link functionality, the HUDs could be almost identical with some minor differences.
      • There must be a possibility to change the coloring of the link (see the implementation idea).
  • 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 actions are also similar to the events for regular links. However some new must be added:
    • [Optional for this task] 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)

  • Other option is to have the color settings of the links as addition in the styles HUD. This way the text link HUD is virtually the same as the link HUD.

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