Hello Kohei,

Hi *,

I have a few questions regarding the XML filter configuration file
format found in filter/source/config/fragments/filters/*.xcu.  In
particular, I'm interested in the values in the Flags property of a file
format filter.

Here is my first question.  What flag value is mapped to the
SFX_FILTER_STARONEFILTER flag used internally?  It wasn't very clear
from the code I've read.

SFX_FILTER_STARONEFILTER maps to 0x80000 ... means 3RDPARTYFILTER.
If its set the corresponding filter is a real UNO component.
All filters which does not have these flag set are "old style C++ filters". They can be called within the SFX environment only.


Also, by scanning all the filter configuration fragments, I've collected
the following possible values used in the Flags property:

  * 3RDPARTYFILTER
      * ALIEN
      * ASYNCHRON
      * DEFAULT
      * EXPORT
      * IMPORT
      * INTERNAL
      * NOTINCHOOSER
      * NOTINFILEDIALOG
      * OWN
      * PACKED
      * PREFERRED
      * READONLY
      * SILENTEXPORT
      * SUPPORTSSELECTION
      * TEMPLATE
      * TEMPLATEPATH
      * USESOPTIONS

Some are self-evident from the name, while others are a little vague.
Could you give me a little overview of what each of these flags mean?

You will find a list of all flags (and her descriptions) within the DevelopersGuide (page 461 inside the PDF document). The Guide can be downloaded from http://api.openoffice.org/DevelopersGuide/DevelopersGuide.html

Please note: The Developers Guide is a little bit outdated (regarding the filter configuration). The general concept will be the same ... but the underlying configuration schema (means XML schema) was changed completely. The big change is: a) within the old schema all properties of a filter was represented by a comma seperated string value
b) where the new schema uses real XML properties instead.


Thanks in advance.

Kohei


Regards
Andreas

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to