Re: [api-dev] About user defined properties...

2009-04-01 Thread Vil
Hi Michael, Thank you very much, that explains much ;) I already figured out that I am doing something wrong, thats why i didn't raise a bug yet. getDocumentProperties works fine, thanks again. cu Phil Michael Stahl-3 wrote: > > On 30/03/2009 11:44, Vil wrote: >> Hi, >> >> I got a little pro

[api-dev] Re: How to access the Storage of an opened OOo document?

2009-04-01 Thread Michael Stahl
On 01/04/2009 10:44, Giuseppe Castagno wrote: [snip] Now my questions, keeping in mind that at a certain time I need to access the "META-INF" substorage to manipulate a custom file (read and write). AFAIK, (mav will hopefully correct me if i'm wrong) the META-INF directory in the ZIP package

[api-dev] Re: About user defined properties...

2009-04-01 Thread Michael Stahl
On 30/03/2009 11:44, Vil wrote: Hi, I got a little problem. I got an open Writer document and by clicking on a menu-item (my add-on) I am adding some userDefinedProperties and storing them to the current file by calling "storeToMedium". After that I am now able to retrieve them again by calling

Re: [api-dev] How to find containing row of an XTextRange

2009-04-01 Thread Devin Bayer
Peter Eberlein wrote: The xTextRange has a property by name "TextTable". Query for it. If the XTextTable is null, then your xTextRange is outside a table, otherwise inside and you get your XTextTable interface. Thanks Peter and Fernard: The TextTable property was just what I was looking for.

Re: [api-dev] How to find containing row of an XTextRange

2009-04-01 Thread Peter Eberlein
Hi Devin, Devin Bayer schrieb: Hello. I'm using pyuno and writer documents. I want to duplicate rows that contain certain words. Currently I'm doing this by looking at each cell and searching it for the text, ignoring results past the end of the cell's XTextRange. This would be a lot easie

Re: [api-dev] API reference in NetBeans Quick Search toolbar control

2009-04-01 Thread Juergen Schmidt
Ariel Constenla-Haile wrote: Hello Jürgen, On Wednesday 01 April 2009, 04:04, Juergen Schmidt wrote: is there a way to get the API reference in NetBeans Quick Search toolbar control, so that, for example, when typing "Frame", besides "Frame (java.awt)" on the "Go To Type" category, we can also

[api-dev] Re: Access Localized Resource Strings through API

2009-04-01 Thread RKVS Raman
I found it myself. It is available under :: com :: sun :: star :: resource. Best Regards -Raman On Wed, Apr 1, 2009 at 4:24 PM, RKVS Raman wrote: > Hi, > > Is  it possible to access the localized UI strings through the OpenOffice API? > > For example can I access the string value of "File" M

Re: [api-dev] Access Localized Resource Strings through API

2009-04-01 Thread giancarlo
Perfect! Many thanks again, as soon as possible I'll give you the sourceforge link for the installer Regards, Giancarlo RKVS Raman wrote: Hi, Is it possible to access the localized UI strings through the OpenOffice API? For example can I access the string value of "File" Menu Item in German

[api-dev] Access Localized Resource Strings through API

2009-04-01 Thread RKVS Raman
Hi, Is it possible to access the localized UI strings through the OpenOffice API? For example can I access the string value of "File" Menu Item in German or French? Thanks. Best Regards -Raman - To unsubscribe, e-mail: dev-un

Re: [api-dev] API reference in NetBeans Quick Search toolbar control

2009-04-01 Thread Ariel Constenla-Haile
Hello Jürgen, On Wednesday 01 April 2009, 04:04, Juergen Schmidt wrote: > > is there a way to get the API reference in NetBeans Quick Search toolbar > > control, so that, for example, when typing "Frame", besides "Frame > > (java.awt)" on the "Go To Type" category, we can also see "Frame > > (com.

[api-dev] How to access the Storage of an opened OOo document?

2009-04-01 Thread Giuseppe Castagno
Hi all, I need to access the storage, e.g. the odf zip document file, of the document currently opened by the user. Following a good suggestion I was suggested on one of the OOo dev lists, I used the Storage service [1] provided interfaces. I discovered that the document itself provides an XSto

Re: [api-dev] How to find containing row of an XTextRange

2009-04-01 Thread Fernand Vanrie
Devin, You need the ViewCursor and find out if there is a ViewCursor.textTable if not isempty(viewCusor.texttable).. the download xray :-) Hope it helps Hello. I'm using pyuno and writer documents. I want to duplicate rows that contain certain words. Currently I'm doing this by looki

Re: [api-dev] API reference in NetBeans Quick Search toolbar control

2009-04-01 Thread Juergen Schmidt
Hi Ariel, i don't know, i have never looked for an integration there. Maybe it's possible with some easy changes after understanding how it works. When you find a way please let us know and we try to integrate it in the plugin. Juergen Ariel Constenla-Haile wrote: Hi there, is there a way