Hi Stephan

I seem to have gone temporarily blind, but I can't figure out how to set the PrinterIndependentLayout property as described under http://api.openoffice.org/docs/common/ref/com/sun/star/document/Settings.html#PrinterIndependentLayout

you can query the interface "css.lang.XMultiServiceFactory".
With this MultiServicefactory you can create an instance of "com.sun.star.text.DocumentSettings". The object you get with that you can query to an "css.beans.XPropertySet" which should contain the property you are looking for.

Hope that helps

Yes, very much. Thanks a lot. Getting the DocumentSettings from an XMultiServiceFactory was the step I somehow didn't get right.

Regards

Arthur


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

Reply via email to