Difference between revisions of "SCResizeableMargin"

From Apache OpenOffice Wiki
Jump to: navigation, search
(Links)
(Links)
Line 58: Line 58:
  
 
==Links==
 
==Links==
* [[http://www.openoffice.org/issues/show_bug.cgi?id=51656]]
+
* [http://www.openoffice.org/issues/show_bug.cgi?id=51656
 
* [http://qa.openoffice.org/issues/show_bug.cgi?id=75673 [[Category:Development]]
 
* [http://qa.openoffice.org/issues/show_bug.cgi?id=75673 [[Category:Development]]

Revision as of 02:08, 19 April 2007

The goal of this specification is to implement one small feature needed to be done in the SC to do list:
Add resizeable margin on page preview:
In the page preview, add the possibility to interactively change page margins by dragging an indicator, instead of using the page style dialog( see issue 51656[1]).

This implmentation is written in C++.

Developers

  • RedOffice team

User Interface

Preview.jpg


Alert_1

Alert 1.jpg

Widget Table

Name Type Description
Cell Reference text input This field takes the address of the cell that represents the left-hand-side (LHS) of a constraint equation. The value of this field must be a valid cell reference.
Equality combo box Defines the relationship between the left hand side (LHS) and the right hand side (RHS) terms.
Constraint text input The right-hand-side (RHS) value of the constraint equation. This can be a cell reference or a numeric value.

Alert_2

Alert 2.jpg

Widget Table

Name Type Description
Assume linear model check box When this box is checked, the Solver uses a linear algorithm to solve the current model. When this box is not checked, it uses a non-linear algorithm.
Allow only positive values check box When this box is checked, the Solver tries to find a solution while all variables are positive.
Allow only integer values check box When this box is checked, the Solver tries to find a solution with all variables being integers. Fractional values are not allowed.
OK button OK button.
Cancel button Cancel button.

Detailed Specification

When the page preview is clicked, the page will be shown on the screen, on this view, we add two lines for width of the page and four for height of the page,users can put the mouse on the line area, drag the line to adjust the margin of the page.
It is similar as the function in MS excel, but not the same implementation, in excel, the style is not so strict, the user can even drag the page margin into the content area, in our new feature in OpenOffice.org spread sheet, the page margin can never be dragged in to the content area, the two inner horizontal lines are in charge of the header and footer, and they always exist inside the two outer horizontal lines, which restrain the page margin.
The two vertical lines control the page left and right margin.

Miscellaneous and Feedback

You can add any response or questions here.


Links

Personal tools