Page 1 of 1

Help for Newbie

Posted: Mon Feb 25, 2008 10:23 pm
by ggraham412
Hi,

I am new to OpenOffice development. My intended platform is Java. Overall I find the documentation to be excellent, and I have been up and running in only a few hours. However, while I can find examples and explanations in the Development Guide, I was wondering if there were documentation somewhere for specific options and values. For example, I had to use Google to (eventually) find the following option "FilterName" for XStorable:

conversionProperties[0] = new PropertyValue();
conversionProperties[0].Name = "FilterName";
conversionProperties[0].Value = "writer_pdf_Export";

While Google works eventually, searching for options this way is very inefficient. Is there a place where all of the legal options/values are listed? Please forgive me if they are in the development guide, but I couldn't find them in there.

Thanks, ggraham412

Re: Help for Newbie

Posted: Mon Feb 25, 2008 11:53 pm
by kingfisher
By "development guide" do you mean the SDK? The "easiest" way to find options might be to search the api site.

Re: Help for Newbie

Posted: Tue Feb 26, 2008 12:22 am
by ggraham412
Thank you very much, I didn't know about that site.

It gives me half of the answer: The page at http://api.openoffice.org/docs/common/r ... FilterName gives a description of that option along with other available options. However, it doesn't give me a list of valid FilterNames to use.

But more importantly, now I know where to look!

Thanks, ggraham412

Re: Help for Newbie

Posted: Tue Feb 26, 2008 12:35 am
by kingfisher
I'm not sure it's what you want, but there is a list of filters in the wiki.

Re: Help for Newbie

Posted: Tue Feb 26, 2008 1:07 am
by TerryE
The Dev guide is your best source I'm sorry to say. And it is nor very user friendly. As to the list of filters as well as the above reference, you can also use introspection to obtain the list yourself: http://www.oooforum.org/forum/viewtopic.phtml?t=3549

Re: Help for Newbie

Posted: Tue Feb 26, 2008 10:39 am
by ccornell
I just moved the Developer's Guide over to the Wiki.... http://wiki.services.openoffice.org/wik ... pers_Guide
This version is a LOT more up to date than the PDF version on the website.

Re: Help for Newbie

Posted: Tue Feb 26, 2008 11:38 am
by Villeroy
The list of supported file types is not static. It may change with versions and extensions.
Unzip the attached Python macro, copy to directory <ooo_user_dir>/Script/python/ and run both macros from Menu:Tools>Macros>Organize>Python...

June 2018: Latest version for AOO and LO attached here: viewtopic.php?f=9&t=94043&p=447987#p447987