Re: [api-dev] Change page height, width and margins. JAVA, OPENOFFICE 3

2009-02-07 Thread Cor Nouws
Hello m kechinov, Михаил Кечинов wrote (7-2-2009 22:09) Hello again. I trying to change height, width and margins of opened document. I have this code, but in's not working: cut == ... // it works xComponentLoader = (com.sun.star.frame.XComponentLoader)UnoRunti

[api-dev] Change page height, width and margins. JAVA, OPENOFFICE 3

2009-02-07 Thread Михаил Кечинов
Hello again. I trying to change height, width and margins of opened document. I have this code, but in's not working: cut == ... // it works xComponentLoader = (com.sun.star.frame.XComponentLoader)UnoRuntime.queryInterface(com.sun.star.frame.XComponentLoader.class

Re: [api-dev] Could not save document as PDF (java, openoffice 3)

2009-02-07 Thread Михаил Кечинов
It works, thanks. 2009/2/7 Oliver Specht > Михаил Кечинов wrote: > >> Hello. I trying to open document and export it to PDF. >> >> [ JAVA, OPENOFFICE 3 ] >> >> In samples i seen, that I need to use method storeAsUrl with property >> "FilterName" = "writer_pdf_Export" >> >> I using this code: >>

Re: [api-dev] Could not save document as PDF (java, openoffice 3)

2009-02-07 Thread Ariel Constenla-Haile
Hello Михаил, On Saturday 07 February 2009 15:00, Михаил Кечинов wrote: > Hello. I trying to open document and export it to PDF. > > [ JAVA, OPENOFFICE 3 ] > > In samples i seen, that I need to use method storeAsUrl with property > "FilterName" = "writer_pdf_Export" as Oliver said, you have to u

Re: [api-dev] Could not save document as PDF (java, openoffice 3)

2009-02-07 Thread Alexandro Colorado
There are some snippets of code at the user forum http://www.forum.org http://user.services.openoffice.org/en/forum/ On Sat, 07 Feb 2009 11:00:06 -0600, Михаил Кечинов wrote: Hello. I trying to open document and export it to PDF. [ JAVA, OPENOFFICE 3 ] In samples i seen, that I need

Re: [api-dev] Could not save document as PDF (java, openoffice 3)

2009-02-07 Thread Oliver Specht
Михаил Кечинов wrote: Hello. I trying to open document and export it to PDF. [ JAVA, OPENOFFICE 3 ] In samples i seen, that I need to use method storeAsUrl with property "FilterName" = "writer_pdf_Export" I using this code: --- ... XStorable xStorable = (XStorable) Un

Re: [api-dev] How to make a Python macro visible to OOo?

2009-02-07 Thread Oliver Brinzing
Hi, i submitted an issue - imho unopkg is broken for deploying scrips http://www.openoffice.org/issues/show_bug.cgi?id=98990 -> unopkg won't install script extensions (missung: unopkg-desc) seems "unopkg-desc.xml" is not created during extension deployment. cause same extension works for me with

[api-dev] Could not save document as PDF (java, openoffice 3)

2009-02-07 Thread Михаил Кечинов
Hello. I trying to open document and export it to PDF. [ JAVA, OPENOFFICE 3 ] In samples i seen, that I need to use method storeAsUrl with property "FilterName" = "writer_pdf_Export" I using this code: --- ... XStorable xStorable = (XStorable) UnoRuntime.queryInterface(

Re: [api-dev] How to make a Python macro visible to OOo?

2009-02-07 Thread Ariel Constenla-Haile
Hello Andrew, On Saturday 07 February 2009 14:00, Andrew Douglas Pitonyak wrote: > Oliver Brinzing wrote: > > Hi Andrew, > > > >> Use Tools -> Macros -> Organize Macros -> Python to view the Python > >> macros included with OOo. > > > > i t should be possible to deploy scrips via extension.mechani

Re: [api-dev] export doc to pdf

2009-02-07 Thread Ariel Constenla-Haile
Hello Maria, On Friday 06 February 2009 16:06, Maria Teresa De Giovanni wrote: > I'm trying to export a doc document in pdf format, using the API calls of > OpenOffice. First of all I'd like to know if there's anyone that made it, > and what kind of functions he used too. http://wiki.services.op

[api-dev] export doc to pdf

2009-02-07 Thread Maria Teresa De Giovanni
I'm trying to export a doc document in pdf format, using the API calls of OpenOffice. First of all I'd like to know if there's anyone that made it, and what kind of functions he used too. I have to integrate this functionality in a PowerBuilder project (similar to Visual Basic) and I hoped that

Re: [api-dev] How to make a Python macro visible to OOo?

2009-02-07 Thread Andrew Douglas Pitonyak
Oliver Brinzing wrote: Hi Andrew, Use Tools -> Macros -> Organize Macros -> Python to view the Python macros included with OOo. i t should be possible to deploy scrips via extension.mechanism i have written a java script dispatcher for form controls, for example a method "doSomethi

Re: [api-dev] How to make a Python macro visible to OOo?

2009-02-07 Thread Oliver Brinzing
Hi Andrew, > Use Tools -> Macros -> Organize Macros -> Python to view the Python > macros included with OOo. i t should be possible to deploy scrips via extension.mechanism i have written a java script dispatcher for form controls, for example a method "doSomething": vnd.sun.star.script:scriptd