[api-dev] Getting the path of the unopkg or soffice executable in java

2008-05-15 Thread Tobias Krais
Hi together, I need to get the path of the unopkg or soffice executable in Java. Is there a platform independent way to get it? Does an API exist for it? Thanks in advance! Greetings, Tobias - To unsubscribe, e-mail: [EMAIL

Re: [api-dev] Getting the path of the unopkg or soffice executable in java

2008-05-15 Thread Stephan Bergmann
Tobias Krais wrote: Hi together, I need to get the path of the unopkg or soffice executable in Java. Is there a platform independent way to get it? Does an API exist for it? In OOo 3, the bootstrap variable (http://wiki.services.openoffice.org/wiki/Uno/Binary/Spec/Bootstrapping)

Re: [api-dev] Getting the path of the unopkg or soffice executable in java

2008-05-15 Thread Tobias Krais
Hi Stephan, thanks for these hints. Is there any way to do this with OOo 2.x? Greetings, Tobias Stephan Bergmann schrieb: Tobias Krais wrote: Hi together, I need to get the path of the unopkg or soffice executable in Java. Is there a platform independent way to get it? Does an API exist

[api-dev] How to supress the repair document dialogue?

2008-05-15 Thread Tobias Krais
Hi together, I am opening documents using the API. Unfortunately, some documents seem to be defect. Thus OOo wants to repair these documents on startup. How can I automate this via API. The document should be repaired without request and should not continue with a new file representant. Can

Re: [api-dev] How to supress the repair document dialogue?

2008-05-15 Thread Fernand Vanrie
Tobias Krais wrote: Hi together, I am opening documents using the API. Unfortunately, some documents seem to be defect. Thus OOo wants to repair these documents on startup. How can I automate this via API. The document should be repaired without request and should not continue with a new file

[api-dev] Re: [Spam] Re: [api-dev] merge table columns example

2008-05-15 Thread Fernand Vanrie
Andrew Douglas Pitonyak wrote: I believe that a text table has different support than a Calc document yes, the columns are build on tabstops par row (Row.TableColumnSeparators() and this stops can been altered for finding the width of a cel i found somewhere the code below ( maybe in

Re: [api-dev] Getting the path of the unopkg or soffice executable in java

2008-05-15 Thread Stephan Bergmann
Tobias Krais wrote: Hi Stephan, thanks for these hints. Is there any way to do this with OOo 2.x? The bootstrap variable SYSBINDIR has always expanded to an OOo-internal URL that denotes the directory of the current executable; maybe that satisfies your needs. -Stephan Greetings, Tobias

[api-dev] Re: [Spam] Re: [api-dev] How to supress the repair document dialogue?

2008-05-15 Thread Fernand Vanrie
Tobias Krais wrote: Hi Fernand, is it not one of tharguments needed by LoadComponentFromURL for altering the MacroExecutionMode i ues the code below i supose your there must been also a non repair argument ? mFileProperties(0).Name=MacroExecutionMode mFileProperties(0).Value=4

Re: [api-dev] How to supress the repair document dialogue?

2008-05-15 Thread Paolo Mantovani
Tobias Krais ha scritto: Hi Fernand, is it not one of tharguments needed by LoadComponentFromURL for altering the MacroExecutionMode i ues the code below i supose your there must been also a non repair argument ? mFileProperties(0).Name=MacroExecutionMode mFileProperties(0).Value=4

Re: [api-dev] Re: [Spam] Re: [api-dev] How to supress the repair document dialogue?

2008-05-15 Thread Juergen Schmidt
Fernand Vanrie wrote: Tobias Krais wrote: Hi Fernand, is it not one of tharguments needed by LoadComponentFromURL for altering the MacroExecutionMode i ues the code below i supose your there must been also a non repair argument ? mFileProperties(0).Name=MacroExecutionMode

[api-dev] Re: TypeClass.hdl

2008-05-15 Thread rick cameron
Ariel Constenla-Haile [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi Rick, rick cameron escribió: Hi I'm an absolute newbie at programming against the OOo SDK. I am looking at the office_connect.cxx sample from the Professional UNO section of the developer's guide, and

Re: [api-dev] Re: TypeClass.hdl

2008-05-15 Thread Ariel Constenla-Haile
Hi Rick, rick cameron escribió: Ariel Constenla-Haile [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi Rick, rick cameron escribió: Hi I'm an absolute newbie at programming against the OOo SDK. I am looking at the office_connect.cxx sample from the Professional UNO section of

Re: [api-dev] Re: [Spam] Re: [api-dev] How to supress the repair document dialogue?

2008-05-15 Thread Tobias Krais
Hi Fernand, try by googling Loading Documents - MediaDescriptor RepairPackage RepairPackage was the right Keyword: http://api.openoffice.org/docs/common/ref/com/sun/star/document/MediaDescriptor.html Adding the PropertyValue this way solved my problem: // In case a document is defect

[api-dev] Re: Re: TypeClass.hdl

2008-05-15 Thread rick cameron
Ariel Constenla-Haile [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi Rick, Sounds like it can't find the office installation. Before running cppumaker.exe you must set the SDK environment. Did you set your dev. environment running C:\Program

Re: [api-dev] merge table columns example

2008-05-15 Thread Nicole Scholz
Hi! Thanks for your tipp. I had a look at the developer guide but at the calc section. Now I looked at the textdocument section. I tried to merge the cells like in the developer guide but it doesn't work too. xTextTableCursor = xTextTable~createCursorByCellName(Arow) xTextTableCursor =