Thanks Niklas,
well flipping the orientation to IsLandscape = true is working more on this later. Are there any predefined properties for the page-format? There is an enum for paper formats http://api.openoffice.org/docs/common/ref/com/sun/star/view/PaperFormat.html#A3
Now back to the IsLandscape property. When switching this property it does not automatically switch the size. Is this intented or have I discovered a bug here?
Tom
Niklas Nebel wrote:
Tom Schindl wrote:
I search the Developers Guide and the IDL-Docs but could find an answer to my problem. Using the GUI I can set the Paper Format(e.g. to A3) and Orientation of an Spreadsheet (e.g. to Landscape). I have not found yet the functions needed to set these using the API. I only found how to set them when sending a document to the printer e.g. in Andrews Macro-Document.
These are properties of the page style (Size, IsLandscape).
Niklas
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
