Re: Example in Java

2013-12-10 Thread Stephan Bergmann
On 12/10/2013 09:02 AM, Stephan Bergmann wrote: On 12/09/2013 09:31 PM, Adriam Delgado Rivero wrote: See: the platform I use is Linux (Kubuntu 13.10) but does not work in ubuntu (do not think that is relevant). Now I use the libraries lib/ridl.jar, lib/unoil.jar, lib/juh.jar code according to th

Re: Example in Java

2013-12-10 Thread Stephan Bergmann
On 12/09/2013 09:31 PM, Adriam Delgado Rivero wrote: See: the platform I use is Linux (Kubuntu 13.10) but does not work in ubuntu (do not think that is relevant). Now I use the libraries lib/ridl.jar, lib/unoil.jar, lib/juh.jar code according to the needs. Ah, I assume you take those jars fro

Re: Example in Java

2013-12-09 Thread Adriam Delgado Rivero
uses the method InsetString SetString and none work and give the same error. - Mensaje original - De: "Stephan Bergmann" Para: "Adriam Delgado Rivero" CC: libreoffice@lists.freedesktop.org Enviados: Lunes, 9 de Diciembre 2013 12:11:13 Asunto: Re: Example in Java On

Re: Example in Java

2013-12-09 Thread Stephan Bergmann
On 12/09/2013 05:12 PM, Adriam Delgado Rivero wrote: this problem is in LIbreOffice 4.1.3.2 exactly and work perfect in Libreoffice 3.6... this code (http://api.libreoffice.org/examples/java/Text/SWriter.java ) Does this code works for you in Libo4.1.3.2? Yes, works here with LO 4.1, too. Yo

Re: Example in Java

2013-12-09 Thread Adriam Delgado Rivero
ado Rivero" CC: libreoffice@lists.freedesktop.org Enviados: Lunes, 9 de Diciembre 2013 10:50:28 Asunto: Re: Example in Java On 12/09/2013 02:59 PM, Adriam Delgado Rivero wrote: > This is the error message: in line 99 (insertString) > > Exception in thread "main" com.sun

Re: Example in Java

2013-12-09 Thread Stephan Bergmann
On 12/09/2013 02:59 PM, Adriam Delgado Rivero wrote: This is the error message: in line 99 (insertString) Exception in thread "main" com.sun.star.lang.DisposedException at com.sun.star.lib.uno.environments.remote.JobQueue.removeJob(JobQueue.java:214) at com.sun.star.lib.uno.env

Re: Example in Java

2013-12-09 Thread Adriam Delgado Rivero
Rivero" CC: libreoffice@lists.freedesktop.org Enviados: Lunes, 9 de Diciembre 2013 2:56:47 Asunto: Re: Example in Java On Fri, Dec 06, 2013 at 04:21:16PM -0500, Adriam Delgado Rivero wrote: > I'm watching the example > http://api.libreoffice.org/examples/java/Text/SWriter.j

Re: Example in Java

2013-12-09 Thread Fernand Vanrie
Adriam, Miklos indeed "insertstring" do not works when inserting text in a "tablecell" we need to use "setstring" instead code below shows how we need to now if we insert in a cell or in a textFrame if not isEmpty(oVC.Cell) then oVC.cell.setstring(BMname) ' insertstring do not works he

Re: Example in Java

2013-12-08 Thread Miklos Vajna
On Fri, Dec 06, 2013 at 04:21:16PM -0500, Adriam Delgado Rivero wrote: > I'm watching the example > http://api.libreoffice.org/examples/java/Text/SWriter.java , and insertString > method does not work. This happens only with libreoffice 4. Works on > libreoffice 3.6, anyone knows passes, took

Example in Java

2013-12-06 Thread Adriam Delgado Rivero
I'm watching the example http://api.libreoffice.org/examples/java/Text/SWriter.java , and insertString method does not work. This happens only with libreoffice 4. Works on libreoffice 3.6, anyone knows passes, took almost a month with this. __