Re: [api-dev] scripting mailmerge

2007-06-13 Thread Oliver Specht - Sun Germany -Hamburg
Christian Andersson wrote: Is it possible to script an mailmerge without having to use an registered datasource? from what I can see I can attach a non registered datasource to the mailmerge, but the databasefields need an named datasource. are my assumptions correct? (I'm scripting this in st

Re: [api-dev] getting header's/footer's text from a text document

2007-02-13 Thread Oliver Specht - Sun Germany -Hamburg
Hi, I should have taken a look into the code _before_ I answered your question:-( The getString method creates a cursor at first which brings us back to your initial problem. See issue 7747 for details. Regards, Oliver Jordi Sanchez wrote: Thanks for your quick reply Oliver, But I'm

Re: [api-dev] Input lists UNO code

2006-11-16 Thread Oliver Specht - Sun Germany -Hamburg
Peter Eberlein wrote: Hi Alamo, Tobias Krais schrieb: Hi Alamo, I'm trying to insert an Input List through XDispatchHelper... Does anyone know which ".uno:..." code is it? I looked for it in a macro and it says it's ".uno:InsertField", but that's the Input Field, isn't it? I don't know th

Re: [api-dev] Problems with User text fields

2006-11-15 Thread Oliver Specht - Sun Germany -Hamburg
Juergen Schmidt wrote: Hi Cedric, Cedric Bosdonnat wrote: Hi all, I'm developping a macro using and updating User Text fields in a document template. I have two options to create the document: 1 - File > New > Documents and Templates 2 - loadComponentURL() The macro is executed at the d

Re: [api-dev] Equivalent of Tools / Update / Update All in Writer

2006-11-15 Thread Oliver Specht - Sun Germany -Hamburg
Mirko Nasato wrote: Hi all, does anybody know if the following Java code does *exactly* the same thing as invoking Tools / Update / Update All from the Writer menu? XComponent document = desktop.loadComponentFromURL(...); XRefreshable refreshable = (XRefreshable) UnoRuntime.queryInterface(XRe