RE: [api-dev] SDK 3.0 compatible with 2.4?

2009-01-19 Thread Marian Roselló Bennassar
Hi, 

This may seem a silly question but, what is: bootstrap glue code from the 3.0 
SDK ?

Thanks,
Marian.
-Original Message-
From: juergen.schm...@sun.com [mailto:juergen.schm...@sun.com] 
Sent: 14 January 2009 09:31
To: dev@api.openoffice.org
Subject: Re: [api-dev] SDK 3.0 compatible with 2.4?

Marian Roselló Bennassar wrote:
 Hi,
 
 Another question on the same subject, I have class that saves odm/odt as 
 pdf/html, it was implemented for 2.4. I run it from the command line using:
 
 Java -Dcom.sun.star.lib.loader.unopath=UNO_PATH 
 com.sun.star.lib.loader.Loader myClass myArgs
  
 Should it be possible to running with 3.0. I've tried it but there seem to be 
 some jar files missing (e.g ridl.jar) and I didn't know where to find them. 
 Is there any document explaining how to do this in 3.0?
 
 Thanks,
 Marian.
 -Original Message-
 From: Jason Cooper [mailto:skaw...@gmail.com]
 Sent: 13 January 2009 22:44
 To: dev@api.openoffice.org
 Subject: Re: [api-dev] SDK 3.0 compatible with 2.4?
 
 That's to be expected. Thanks for the reply.
 
 Jason
 
 
 On 1/13/09, Juergen Schmidt juergen.schm...@sun.com wrote:
 Jason Cooper wrote:

 Hello.

 I just wanted to check on the backwards compatibility of the new SDK. 
 I'm beginning to write some Java code to interact with OOo. I want 
 the code to work with both OOo 2.4.x and 3.0. Will SDK 3.0 work for 
 both 2.4.x and 3.0 or will I need to install and develope with both SDKs?

 In generally yes, you only have to take care of the used types, services.
 Maybe they were introduced in 3.0. And some of the extensions infra 
 structure features (entries for the description.xml) are in the 3.0 only.

rebuild your Java with the bootstrap glue code rom the 3.0 SDK or the use our 
new NetBeans plugin 2.0.3. We had to adapt the code to work with 3.0 but it is 
backward compatible.

Juergen


 Juergen



 Thanks,
 Jason


 -
 To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
 For additional commands, e-mail: dev-h...@api.openoffice.org

 
 -
 To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
 For additional commands, e-mail: dev-h...@api.openoffice.org
 


-
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org


-
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org



[api-dev] Stop update warning

2009-01-16 Thread Marian Roselló Bennassar
Dear all,
 
I have a java program created with 2.4 API. The program converts from ODM to 
PDF and from ODT to HTML. I execute the program from the command line, when I 
try to convert a document created with OpenOffice 3 a dialog appears asking me 
if I want to update to OpenOffice 3, how can I avoid this? I have already 
disabled the check for updates option with no luck.
 
 The program runs automatically every night, since I have this problems the 
executions is stop. Could anyone help me?
 
Thank you,
Marian.


RE: [api-dev] Stop update warning

2009-01-16 Thread Marian Roselló Bennassar
Thank you Tobias, but the problem is still there... When running the java class 
from the command line, keeps asking if I want to update to OpenOffice3. Has 
anyone seen this problem before?

Thanks again,
Marian 

-Original Message-
From: Tobias Krais [mailto:tux-s...@design-to-use.de] 
Sent: 16 January 2009 11:12
To: dev@api.openoffice.org
Subject: Re: [api-dev] Stop update warning

Hi Marian,

go to the extra menu - Options - OpenOffice.org - Online Update and set the 
proper option.

Greetings, Tobias

Marian Roselló Bennassar schrieb:
 Dear all,
  
 I have a java program created with 2.4 API. The program converts from ODM to 
 PDF and from ODT to HTML. I execute the program from the command line, when I 
 try to convert a document created with OpenOffice 3 a dialog appears asking 
 me if I want to update to OpenOffice 3, how can I avoid this? I have already 
 disabled the check for updates option with no luck.
  
  The program runs automatically every night, since I have this problems the 
 executions is stop. Could anyone help me?
  
 Thank you,
 Marian.
 

-
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org


-
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org



RE: [api-dev] SDK 3.0 compatible with 2.4?

2009-01-14 Thread Marian Roselló Bennassar
Hi,

Another question on the same subject, I have class that saves odm/odt as 
pdf/html, it was implemented for 2.4. I run it from the command line using:

Java -Dcom.sun.star.lib.loader.unopath=UNO_PATH 
com.sun.star.lib.loader.Loader myClass myArgs
 
Should it be possible to running with 3.0. I've tried it but there seem to be 
some jar files missing (e.g ridl.jar) and I didn't know where to find them. Is 
there any document explaining how to do this in 3.0?

Thanks,
Marian.
-Original Message-
From: Jason Cooper [mailto:skaw...@gmail.com] 
Sent: 13 January 2009 22:44
To: dev@api.openoffice.org
Subject: Re: [api-dev] SDK 3.0 compatible with 2.4?

That's to be expected. Thanks for the reply.

Jason


On 1/13/09, Juergen Schmidt juergen.schm...@sun.com wrote:

 Jason Cooper wrote:

 Hello.

 I just wanted to check on the backwards compatibility of the new SDK. 
 I'm beginning to write some Java code to interact with OOo. I want 
 the code to work with both OOo 2.4.x and 3.0. Will SDK 3.0 work for 
 both 2.4.x and 3.0 or will I need to install and develope with both SDKs?

 In generally yes, you only have to take care of the used types, services.
 Maybe they were introduced in 3.0. And some of the extensions infra 
 structure features (entries for the description.xml) are in the 3.0 only.

 Juergen



 Thanks,
 Jason



 -
 To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
 For additional commands, e-mail: dev-h...@api.openoffice.org


-
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org



[api-dev] Export to HTML, wrong IMG path

2009-01-14 Thread Marian Roselló Bennassar
Hi everyone,

I have java program to convert my odt files to HTML, it seems to work only all 
the references to images are wrong they point to the parent directory:

IMG SRC=../running_html_6afb021b.png...

Instead of the current directory where the image really is.

Have I forgotten any option when exporting the HTML? Could anyone please help 
me?

Thank you,
Marian. 

-Original Message-
From: christoph.neum...@sun.com [mailto:christoph.neum...@sun.com] 
Sent: 14 January 2009 10:17
To: dev@api.openoffice.org
Subject: Re: [api-dev] SDK 3.0 compatible with 2.4?

Hi Jason,

as Jürgen already mentioned your Plugins should work in 2.3 as in 3.0. 
But be aware for the _since_ Tag in the idl files. API which comes with 3.0 
could not be executed in 2.3 ;-)

Greetings,
Christoph

Jason Cooper schrieb:
 Hello.
 
 I just wanted to check on the backwards compatibility of the new SDK. 
 I'm beginning to write some Java code to interact with OOo. I want the 
 code to work with both OOo 2.4.x and 3.0. Will SDK 3.0 work for both 
 2.4.x and 3.0 or will I need to install and develope with both SDKs?
 
 Thanks,
 Jason
 


-
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org


-
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org



RE: [api-dev] Export to HTML, wrong IMG path

2009-01-14 Thread Marian Roselló Bennassar
Hi Peter,

Thank you for the answer. Do you know if this option can be set from my 
program, or I have to set it from the OpenOffice MMI before running my program?

Thank you very much,

Marian 

-Original Message-
From: Peter Eberlein [mailto:pet@refofd.verwalt-berlin.de] 
Sent: 14 January 2009 13:11
To: dev@api.openoffice.org
Subject: Re: [api-dev] Export to HTML, wrong IMG path

Hi,
Marian Roselló Bennassar schrieb:
 Hi everyone,
 
 I have java program to convert my odt files to HTML, it seems to work only 
 all the references to images are wrong they point to the parent directory:
 
 IMG SRC=../running_html_6afb021b.png...
 
 Instead of the current directory where the image really is.
 
 Have I forgotten any option when exporting the HTML? Could anyone please help 
 me?
 
Tools/Options/Load-Save/General/save URLs relativ?

Regards

Peter


-
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org


-
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org