On 06/23/08 13:48, Aaron Digulla wrote:
Quoting Frank Meies <[EMAIL PROTECTED]>:
Background: For an editor, I want to get rid of the gray area around
the text and reduce the page margins to 0 to give the impression
that the text fills the frame completely.
in "Web Layout" mode (View - Web Layout), the gray area is reduced to
0. Is this what you are looking for?
Ah! Excellent! Yeah, that's it. Can you tell me how to switch to this
mode via UNO/URE?
you have to set the "ShowOnlineLayout" flag of the ViewSettings:
thiscomponent.currentcontroller.viewsettings.ShowOnlineLayout = true
is the way to do this in Basic
Hope this helps,
Frank
--
Frank Meies (fme) - OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]