wiki:ANCHORING_MODE_COMMONS_R0

Version 9 (modified by diana, 16 years ago) (diff)

--

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

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

There are six different anchoring modes defining the way a frame should move according to the frame it is anchored to.

Task requirements

  • Create anchor halo. It should be draggable and clickable halo.
  • Create anchor HUD with two dropdowns - Frame and position
    • Frame defines to which frame will this be anchored and position - to which position of the text.
  • When a frame is attached to a position, when position is moved the frame is moved with the same offset.
  • The frame can be moved by the user
  • A frame cannot be attached to itself.

Task result

The result of this task is source code.

Implementation idea

Create an interface named Attachment.

ANCHOR_HALO_R0

How to demo

  • Create a book, insert text frame, type in some text
  • Insert second frame, click anchor halo, select the first frame from the dropdown and position 3 for example
  • Move cursor in position 1 and type in some more text.

Design

Implementation

(Implementation results should be described and linked here (from the wiki or the repository))

Testing

Comments

(Write comments for this or later revisions here.)