wiki:FRAME_POSITION_R0

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

--

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

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

The frames position is the position of its upper left point. Its coordinates are calculated in relation to the upper left angle of the page which has coordinates (0,0). Frames could overlap and/or not fit into the page. Even when some frames or frame parts are outside the pages range they are still a part of the working area and should be seen in author mode. They however should be clipped out in reader mode so that the reader stays unaware of them.

Task requirements

  • The frame should have properties (x,y for example) defining its position in relation to the page.

Task result

The result of this task is source code.

Implementation idea

  • Create Position class extending ProObject with properties for the frame`s position.
  • Add Position position property to the Frame.

How to demo

  • Create frame with concrete coordinates and check if they are correct.
  • Change the frames coordinates and check that its position is updated.

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