Re: [api-dev] Attaching data to request in loadComponentFromURL and storeAsURL.

2010-01-29 Thread Marek Szyda
Hi, thank you for the answer. To be more specific I'm using servlets and webdav server for uploading and downloading files to OOo. Indeed there is such possibility to add parameters for GET method (loadComponentFromURL) and it is working well. But using storeAsURL method I set parameters same

Re: [api-dev] Attaching data to request in loadComponentFromURL and storeAsURL.

2010-01-29 Thread Stephan Bergmann
On 01/29/10 09:25, Marek Szyda wrote: thank you for the answer. To be more specific I'm using servlets and webdav server for uploading and downloading files to OOo. Indeed there is such possibility to add parameters for GET method (loadComponentFromURL) and it is working well. But using

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

2010-01-29 Thread Marc Santhoff
Am Donnerstag, den 28.01.2010, 10:29 +0100 schrieb 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

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

2010-01-29 Thread Cor Nouws
Marc Santhoff wrote (29-01-10 00:35) I would name this a dangerous security hole. Is it possible to switch it off using a configuration setting? Well, to turn it off with a macro, the user has to accept to run that macro. So I do not understand which hole you mean. Cor -- Your office 2010

[api-dev] options for the pdf export

2010-01-29 Thread Andreas Mantke
Hi all, I'll try to create a java application that exports an editable office file format to pdf and I searching for the spec / listing of the pdf options of the current OOo (3.2.0). Is there such a document in the wiki or in OOo-cvs? Thanks in advance, Andreas -- ## Content Developer

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

2010-01-29 Thread Fernand Vanrie
Marc , You sayed: dangerous security hole ? Every user can do exactly the same with the GUI no ? greetz Fernand Am Donnerstag, den 28.01.2010, 10:29 +0100 schrieb Fernand Vanrie: Lee , Security is part of the Document settings so i use in basic by openiong the document: Dim

Re: [api-dev] options for the pdf export

2010-01-29 Thread Ariel Constenla-Haile
Hello Andreas, On Friday 29 January 2010, 09:20, Andreas Mantke wrote: Hi all, I'll try to create a java application that exports an editable office file format to pdf and I searching for the spec / listing of the pdf options of the current OOo (3.2.0). Is there such a document in the wiki

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

2010-01-29 Thread Malte Timmermann
Correct - if you choose to run a macro, the macro can do everything the user is privileged to do. Including configuration manipulation and formatting discs and rebooting the system. See http://blogs.sun.com/malte/entry/some_words_about_macro_security Malte. Cor Nouws wrote, On 01/29/10 12:02:

[api-dev] convert text paragraph into png graphic

2010-01-29 Thread Franz Hohenegger
Hi all, I am working on an application which allows the user to generate syntax-diagrams from different BNF-versions in/with OpenOffice. the diagrams are made with ascii/unicode characters and written in custom diagram paragraphs. Now I need to create real graphics (.png) out of these text

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

2010-01-29 Thread Bernard Marcelly
Hi, The option MacroExecutionMode does not change the security level in OpenOffice.org ! It only defines what to do if the document you are loading contains macros. If you decide to load a document so that macros that exist in the document will run without any warning, that is your

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

2010-01-29 Thread Marc Santhoff
Am Freitag, den 29.01.2010, 12:02 +0100 schrieb Cor Nouws: Marc Santhoff wrote (29-01-10 00:35) I would name this a dangerous security hole. Is it possible to switch it off using a configuration setting? Well, to turn it off with a macro, the user has to accept to run that macro. So I