Issue 103431 - Window Styles to control position and size of document windows
Summary: Window Styles to control position and size of document windows
Alias: None
Product: Writer
Classification: Application
Component: viewing (show other issues)
Version: OOo 3.1
Hardware: Other Windows XP
: P3 Trivial with 4 votes (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2009-07-09 05:28 UTC by tony_a20
Modified: 2013-02-07 22:40 UTC (History)
2 users (show)

See Also:
Latest Confirmation in: ---
Developer Difficulty: ---


Note You need to log in before you can comment on or make changes to this issue.
Description tony_a20 2009-07-09 05:28:19 UTC
There should be Style control (Display) of the default view for document windows.

I write books, and have my main story document open in the middle of my 32 inch
screen, sized to show a full page. I also have several other OO documents open
around the main window containing notes, story plot outline, etc. I use
templates to open each window in order to control the default window size and
position, and the templates work fine on the first window opened, however if I
open a different template for a second window, it opens at the same size as the
first template. As well, setting up my work screen involves a lot of position,
zoom, and other minor adjustments before OO is ready for work.

It would be very beneficial if the Styles module contained another subject tab
(Display) to allow control of the document window, so that merely opening the
document would place it at the desired position, size, zoom, etc needed.

An additional item could be the the ability to set the viewed area to the page
text, so that pagination would display only the text area without the
surrounding page margins.
Comment 1 michael.ruess 2009-07-09 07:08:19 UTC
Desired is a feature where the user is able to control the size and position of
document windows via a style. If e.g. a certain window style is applied to a
template, the template should alway create a new document with the desired size
and position.
Comment 2 tony_a20 2009-07-09 15:39:43 UTC
The comment from mru: "If e.g. a certain window style is applied to a
template, the template should alway create a new document with the desired size
and position." is not exactly what I had in mind.

It should be possible to apply a 'window style' to individual documents as other
styles are applied presently. Templates are not the focus of the issue. 

A 'window style' should include all the parameters affecting the visual display
of a document, which are adjustable manually including:

1. placement and size of window;
2. verticle and horizontal scroll position,
3. zoom percentage;
4. print or web layout; and,
5. text or page display area.

It should be possible to set these parameters manually via a Style page, or from
the current document.

Comment 3 az77 2010-04-21 21:53:22 UTC
I would favour a variation of this proposal : 
that the position/size and similar attributes -- as noted in the last comment
2009 July -- be saved/restored automatically by document,
instead of using the parameters of the last document opened.
This would be much simpler to implement and use than styles, at least for
(Styles could still be used for other parameters, of course.)

Personally, I often use spreadsheets in a similar manner to the reporter, and
would find such a comportment to be a huge advantage (over the present situation).
(I would use Writer much more with such an enhancement.)

This could be an option, for those that prefer the current behavior.

The utility of such a feature is independant of component (word-processor,
spreadsheet in my case, etc).
It is also independant of OS. (Linux in my case.)

What is required is that the context is saved/restored by document, instead of
(It may be currently restoring by document type -- spreadsheet, text, etc).

Let me know if I should file another issue (since my interest is primarily in
spreadsheets, and my proposed solution is somewhat different.)
If the reporter accepts my proposed solution, then I would prefer to stay with
this issue.
Comment 4 az77 2010-04-21 22:15:18 UTC
If my proposed solution is accepted by the reporter, perhaps "Save/restore
position/size by document instead of globally" would be a better title