Analysis
Overview
Should cooperate reasonably with the SCENE. Should be modularized and divided into Author and Reader.
The page work area is part of the book window. It is located between the book bottom panel, the title bar, the scroll bars and the left book window border. It contains the current page with all its elements and an area around the it, where page elements can be put during the editing process. It is also responsible for the management of page views. Author page work area should allow editing the elements residing within it.
In this revision we need a simple page work area with basic functionality only.
Task requirements
- Make a module for the page area.
- Make the author page work area an extension.
- Define an extension points for Page Scene
- Make the page work area as large as the page+elements bounding rectangle + a given padding.
Task result
The result of this task should be source code.
Implementation idea
- Extend SophieModule class
- Make use of old (or even pre veda-refactor2) code for size computation.
Related
READER_PAGE_WORK_AREA_R0
SCENE_COMMONS_R0
SCENE_POINT_R0
UNPLANNED_BOOK_WINDOW_R0
trunk/sophie2-platform/doc/spec-diagrams/PageWorkArea.png
How to demo
- Show Author page work area.
- Show that it allows editing elements.
Design
Implementation
According to design:
Test - it is one that is same for both work areas since the main implementation is in the abstract class PageWorkArea => Test - cannot be finshed because of a problem in the ImageUtil's icons' path.
Testing
User documentation
ITERATION_04/Release/UserDocumentation/02_WorkingWithSophie/07_BookWindows ITERATION_04/Release/UserDocumentation/04_WorkingWithFrames
Release documentation
(the area on the page where the author can drag & manipulate frames.)
Manual tests
520
Main tests
Related tests
Testlink test ids: 517, reader page work area
Reported bugs
(none so far)
Comments
Log