Re: [api-dev] Getting the TextFields directly of a table (Writer)

2007-06-13 Thread Laurent Godard
Hi Micheal But how can I access the content of the TextField in the cell?! Look at the anchors and compare their relative position with for example compareRegionEnds method Laurent -- Laurent Godard <[EMAIL PROTECTED]> - Ingénierie OpenOffice.org - http://www.indesko.com Nuxeo Enterprise

[api-dev] Getting the TextFields directly of a table (Writer)

2007-06-13 Thread Michael Jeier
Hi, I have to process a Writer document with a lot of TextFields. I know how to get globally all TextFields, like: Reference xSupp (xWriterComponent, UNO_QUERY); Reference enumerationAcc = xSupp->getTextFields(); Reference enumeration = enumerationAcc->createEnumeration(); BUT: I need to proces

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] transporting non-UNO Java interfaces via the Java UNO bridge

2007-06-13 Thread Stephan Bergmann
Frank Schönheit - Sun Microsystems Germany wrote: Hi Stephan, The summary change did its job. :) fine :) However, I have a hard time understanding exactly what this thread is about. Is the problem the following? On Java side you have a UNO XConnection reference to an object implemented

Re: [api-dev] transporting non-UNO Java interfaces via the Java UNO bridge

2007-06-13 Thread Frank Schönheit - Sun Microsystems Germa ny
Hi Stephan, > The summary change did its job. :) fine :) > However, I have a hard time > understanding exactly what this thread is about. Is the problem the > following? On Java side you have a UNO XConnection reference to an > object implemented in C++, and from that reference want to obt

[api-dev] scripting mailmerge

2007-06-13 Thread Christian Andersson
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 starbasic) -- Christian Ande

Re: [api-dev] transporting non-UNO Java interfaces via the Java UNO bridge

2007-06-13 Thread Stephan Bergmann
Frank Schönheit - Sun Microsystems Germany wrote: Hello Ray, java.sql.Connection jj_cnct; com.sun.star.sdbc.XConnection oo_cnct; oo_cnct = ...; // require *.odb ZIP decompression jj_cnct = UnoRuntime.queryInterface( java.sql.Connection.class, oo_cnct ); jj_cnct = oo_cnct.getJDBCco

Re: [api-dev] Base data source

2007-06-13 Thread ashok _
Instead of using the linked tables method and openoffice base... why dont you use the java.sql.connection class library directly?... you can use the full java.sql.* library api set from within Java UNO client application. Instead of using the OOOBase driver manager you just have to use java.sql.Dr