RE: [api-dev] Suggest filename before saving document

2008-10-21 Thread Jedlička Ivan [P4]
Hi Mikhail, Thank you very much for the comprehensive explanation. I get it now at last. Ivan -Original Message- From: Mikhail Voitenko [mailto:[EMAIL PROTECTED] Sent: Monday, October 20, 2008 7:52 PM To: dev@api.openoffice.org Subject: Re: [api-dev] Suggest filename before saving

Re: [api-dev] Best way to know if SomeFileName is loadable ?

2008-10-21 Thread Alain Rist
Thanks Steffen, I more or less hoped that TypeDetection could be used in that purpose :( Is this the right place to suggest a sal_Bool com::sun::star::frame::XComponentLoader::checkComponentFromURL() API? cheers, AR - Original Message - From: Steffen Grund [EMAIL PROTECTED]

Re: [api-dev] How to now the running OO-version

2008-10-21 Thread Mikhail Voitenko
Hi Fernand, Am I right with my understanding that you use SaveAsURL/SaveToURL from basic script and it does not work as expected in OOo2.4? If yes, could you please explain what exactly does not work any more. Best regards, Mikhail. On 10/21/08 14:00, Fernand Vanrie wrote: SaveAsURl and

Re: [api-dev] How to now the running OO-version

2008-10-21 Thread Fernand Vanrie
Mikhail Voitenko wrote: Hi Mikhail, Sorry I was mis informed, the problems seem to come from the use of a external filter who has a different behaviour from one OO-version to a other. BTW any idea how i can get the running OO-version ? Greetz, Fernand Hi Fernand, Am I right with my

Re: [api-dev] How to now the running OO-version

2008-10-21 Thread Tobias Krais
Hi Fernand, BTW any idea how i can get the running OO-version ? here a Java code example - we had this on the list already: -%- /** * Getting the OpenOffice version. * @return String containing the version, e.g. 2.3 or 2.2.1 */ public static

Re: [api-dev] automatic chapter numbering

2008-10-21 Thread Hardie82
Hi. I have a problem with updating my toc. I have a template-file which i fill with chapters. In this template there is a toc included. Now after filling the document i want to update the toc. Therefore i tried following code: 192 private void refreshIndex() throws Exception 193 { 194

Re: [api-dev] How to now the running OO-version

2008-10-21 Thread Mikhail Voitenko
Hi Fernand, Please take a look there http://codesnippets.services.openoffice.org/Office/Office.Version.snip It will work good with the standard OOo build available from www.openoffice.org. The problem of the mentioned solution is that different OOo clones might use different ways to name the

Re: [api-dev] automatic chapter numbering

2008-10-21 Thread Stephan Bergmann
On 10/21/08 15:59, Hardie82 wrote: Hi. I have a problem with updating my toc. I have a template-file which i fill with chapters. In this template there is a toc included. Now after filling the document i want to update the toc. Therefore i tried following code: 192 private void

Re: [api-dev] Best way to know if SomeFileName is loadable ?

2008-10-21 Thread Alain Rist
Thanks Steffen, I more or less hoped that TypeDetection could be used in that purpose :( Is this the right place to suggest a bool com::sun::star::frame::XComponentLoader::checkComponentFromURL() API? cheers, AR - Original Message - From: Steffen Grund [EMAIL PROTECTED]

[api-dev] URL to OpenOffice.org: Selected Pitonyak' Nutshells in ooRexx ...

2008-10-21 Thread Rony G. Flatscher
Hi there, here is the URL to another student's work on some of Andrew Pitonyak's great nutshells (cf. http://www.pitonyak.org/AndrewMacro.odt): http://wi.wu-wien.ac.at/rgf/diplomarbeiten/index.html#sem_200810. As the ooRexx nutshells use the OOo Java bridge they also show which UNO interfaces

Re: [api-dev] automatic chapter numbering

2008-10-21 Thread Ariel Constenla-Haile
Hi, starting a new thread for a new subject, is always a good practice... Hardie82 escribió: Hi. I have a problem with updating my toc. I have a template-file which i fill with chapters. In this template there is a toc included. Now after filling the document i want to update the toc.