Re: [api-dev] Searching for a Document Property - Writer

2010-08-09 Thread Jürgen Schmidt
On 8/8/10 8:35 PM, Thomas Krumbein wrote: Hey Andrew, Andrew Douglas Pitonyak schrieb: [..] Hmm, no - this was the wrong property. I have now checked the settings.xml and have searched for different values - the searched property is: PrinterIndependentLayout I can set a value using basic as

Re: [api-dev] Searching for a Document Property - Writer

2010-08-09 Thread Thomas Krumbein
Hey Jürgen, Jürgen Schmidt schrieb: On 8/8/10 8:35 PM, Thomas Krumbein wrote: [..] But where it is? at the DocumentSettings! Get the DocumentSettings from the document, check the property if present or not and set the value if necessary. Where exactly is your problem now? My Problem?

Re: [api-dev] Searching for a Document Property - Writer

2010-08-09 Thread Thomas Krumbein
Hey Bernhard, thank you for your explanation :-) Now I got it... Bernard Marcelly schrieb: Message de Thomas Krumbein date 2010-08-08 20:35 : the searched property is: PrinterIndependentLayout I can set a value using basic as you mentioned - that works. But: Even using xray I cannot find

Re: [api-dev] Searching for a Document Property - Writer

2010-08-08 Thread Thomas Krumbein
Hey Bernard, Bernard Marcelly schrieb: Message de Thomas Krumbein date 2010-08-04 11:24 : Hey, By one of my customer we have a problem during migration to OOo 3.2.1: The page-layout is different and this is dramaticly because the page break in now one line prior - and a lot of document

Re: [api-dev] Searching for a Document Property - Writer

2010-08-08 Thread Andrew Douglas Pitonyak
On 08/08/2010 08:52 AM, Thomas Krumbein wrote: Hey Bernard, Bernard Marcelly schrieb: Message de Thomas Krumbein date 2010-08-04 11:24 : Hey, By one of my customer we have a problem during migration to OOo 3.2.1: The page-layout is different and this is dramaticly because the page break

Re: [api-dev] Searching for a Document Property - Writer

2010-08-08 Thread Thomas Krumbein
Hey Andrew, Andrew Douglas Pitonyak schrieb: [..] Hmm, no - this was the wrong property. I have now checked the settings.xml and have searched for different values - the searched property is: PrinterIndependentLayout I can set a value using basic as you mentioned - that works. But: Even

[api-dev] Searching for a Document Property - Writer

2010-08-04 Thread Thomas Krumbein
Hey, By one of my customer we have a problem during migration to OOo 3.2.1: The page-layout is different and this is dramaticly because the page break in now one line prior - and a lot of document didn´1 work as expected. Analysing the problem it depend on a different setting in the option

Re: [api-dev] Searching for a Document Property - Writer

2010-08-04 Thread Bernard Marcelly
Message de Thomas Krumbein date 2010-08-04 11:24 : Hey, By one of my customer we have a problem during migration to OOo 3.2.1: The page-layout is different and this is dramaticly because the page break in now one line prior - and a lot of document didn´1 work as expected. Analysing the

Re: [api-dev] Searching for a Document Property - Writer

2010-08-04 Thread Thomas Krumbein
Bernard Marcelly schrieb: [..] Hi Thomas, It is more exactly the equivalent check in the printer dialog box, Options... Dim ds As Object ds = ThisComponent.createInstance(com.sun.star.text.DocumentSettings) ds.PrintPaperFromSetup = False Oh, thanks for this information. I will try it as