Niklas Nebel wrote:
Tom Schindl wrote:

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



The VCL printer implementation has a table, but it's not available to the API.

But where from does the GUI know? Is it hardcoded somewhere because when switching the Format DropDown e.g. to A3 it automatically recalculates the height and width.



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?


It has to be that way. The order of setting a style's properties isn't supposed to make a difference.


Ok. Now summerized as a codesnippet: http://codesnippets.services.openoffice.org/Calc/Calc.SwitchOrientation.snip


Tom

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]



Reply via email to