Tom Schindl wrote:
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.

The dialog actually has its own table.

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

Don't use "Standard" to get the style. That's the localized German name, and it won't work in other language versions. Use "Default", which is the programmatic name and works in any version.


Niklas

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to