Re: [api-dev] Copy/Paste a TextTable row using cpp api works only first time

2010-01-28 Thread Philippe Brun (perso)
Fernand, Thank you for the clue. Philippe Le 28.01.2010 09:32, Fernand Vanrie a écrit : Philippe , have a look at this forum discusion hope it helps Fernand Hi all, So the bell didn't ring :-) I'll try to rephrase my question. I co

[api-dev] Re:Re: [api - dev] How to change Macro Security Level in program?

2010-01-28 Thread Lee
Hi, Fernand It's very useful and helpful for me. Thanks for your quick reply! Lee 在2010-01-28,"Fernand Vanrie" 写道: >Lee , > >Security is part of the Document settings > >so i use in basic by openiong the document: > >Dim mFileProperties(0) As New com.sun.star.beans.PropertyValue > >mFilePr

[api-dev] How to change Macro Security Level in program?

2010-01-28 Thread Lee
Hi, I am using OOo3. I want to change Macro Security Level in program. How to do it? Thanks in advance. Best regards.

Re: [api-dev] Copy/Paste a TextTable row using cpp api works only first time

2010-01-28 Thread Fernand Vanrie
Philippe , have a look at this forum discusion hope it helps Fernand Hi all, So the bell didn't ring :-) I'll try to rephrase my question. I copy/paste a row in a TextTable using XDispatchHelper. It works multiple times in several t

Re: [api - dev] How to change Macro Security Level in program?

2010-01-28 Thread Fernand Vanrie
Lee , Security is part of the Document settings so i use in basic by openiong the document: Dim mFileProperties(0) As New com.sun.star.beans.PropertyValue mFileProperties(0).Name="MacroExecutionMode" mFileProperties(0).Value=4 ' see documentations for more value's oDocument = StarDesktop.Load

[api - dev] How to change Macro Security Level in program?

2010-01-28 Thread Lee
Hi, I am using OOo3. I want to change Macro Security Level in program. How to do it? Thanks in advance. Best regards.

Re: [api-dev] Copy/Paste a TextTable row using cpp api works only first time

2010-01-28 Thread Philippe Brun (perso)
Hi all, So the bell didn't ring :-) I'll try to rephrase my question. I copy/paste a row in a TextTable using XDispatchHelper. It works multiple times in several tables of a single document. But if I rerun my program without restarting the office, pasting doen't work anymore. I've tried to f

Re: [api-dev] Is odk/examples/cpp outdated?

2010-01-28 Thread Juergen Schmidt
On 1/27/10 6:17 PM, Maxim Dementiev wrote: Hi, I found a problem in http://api.openoffice.org/source/browse/api/odk/examples/cpp/DocumentLoader/Makefile?view=markup cd $(subst /,$(PS),$(OUT_BIN)) && $(basename $@) $(subst \\,/,$(subst /,$(PS), On the POSIX-alike system (I use Gentoo Linux) th

[api-dev] Regarding Lists

2010-01-28 Thread Shalabh Soni
I have a scenario in which i need to generate HTML out of the .doc file and i'm using the Open Office API.I encounter LISTS ( Ordered /Unordered) can you please tell me how to know that if a Line/Paragraph/TextTable's Cell contains the lists or not and how to then iterate through it . I have tr

[api-dev] Is odk/examples/cpp outdated?

2010-01-28 Thread Maxim Dementiev
Hi, I found a problem in http://api.openoffice.org/source/browse/api/odk/examples/cpp/DocumentLoader/Makefile?view=markup cd $(subst /,$(PS),$(OUT_BIN)) && $(basename $@) $(subst \\,/,$(subst /,$(PS), On the POSIX-alike system (I use Gentoo Linux) the part "$(basename $@)" doesn't contain