[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

[api-dev] forcing dos line endings on unix

2010-08-04 Thread Marc Santhoff
Hi, is it possible to force the line endings of a text file written using BASICs simple file functions to be 0xOD 0xOA instead of 0x0A only? open sDateiname for output as #iNum s = CDate(oBereich.getCellByPosition(0, 0).getValue()) s = s + ; ... print

Re: [api-dev] forcing dos line endings on unix

2010-08-04 Thread Konstantin Tokarev
04.08.10, 14:03, Marc Santhoff m.santh...@t-online.de: Hi, is it possible to force the line endings of a text file written using BASICs simple file functions to be 0xOD 0xOA instead of 0x0A only? open sDateiname for output as #iNum s =

Re: [api-dev] forcing dos line endings on unix

2010-08-04 Thread Thomas Krumbein
Hey Marc, Marc Santhoff schrieb: [..] I would rather change the macro using another technique, ucb or the like, for writing files than tell the users to install something else (because my macro program is not able to ...). I am writing my csv files using ucb. In this case I can even pass the

Re: [api-dev] forcing dos line endings on unix

2010-08-04 Thread Marc Santhoff
Am Mittwoch, den 04.08.2010, 12:59 +0200 schrieb Thomas Krumbein: Hey Marc, Marc Santhoff schrieb: [..] I would rather change the macro using another technique, ucb or the like, for writing files than tell the users to install something else (because my macro program is not able to

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