summaryrefslogtreecommitdiff
path: root/comphelper
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2012-04-18 23:36:33 +0300
committerTor Lillqvist <tlillqvist@suse.com>2012-04-18 23:40:20 +0300
commit1ab7d31a6842ad680351e804990f7a0493f93b46 (patch)
treeb4a02fd067b91cf336005821098fc4f7180e4dd6 /comphelper
parent49bd0e4e6bb0ed0671de72d84700ddcc49828f69 (diff)
Add comment describing the meanings of the filter flag bits
Diffstat (limited to 'comphelper')
-rw-r--r--comphelper/inc/comphelper/documentconstants.hxx29
1 files changed, 29 insertions, 0 deletions
diff --git a/comphelper/inc/comphelper/documentconstants.hxx b/comphelper/inc/comphelper/documentconstants.hxx
index 06653b023002..d65ced0ffebe 100644
--- a/comphelper/inc/comphelper/documentconstants.hxx
+++ b/comphelper/inc/comphelper/documentconstants.hxx
@@ -114,6 +114,35 @@
// filter flags
// TODO/LATER: The flags should be part of the UNO specification
+
+// Note that these flag bits have parallel names in
+// filter/source/config/cache/constant.hxx. Some of the bits are
+// missing from there, and some have different names. But the meaning
+// is presumably the same, and the values are the same.
+
+// http://www.mail-archive.com/dev@openoffice.org/msg05047.html says:
+
+// I can just sum up what comes into my mind, hope I don't miss one:
+
+// Import - should be self explaining
+// Export - should be self explaining
+// Template - deprecated
+// TemplatePath - filter for a documenttemplate
+// Own - one of the OOo file formats
+// Alien - no zip container based format
+// Preferred - preferred filter for a particular type
+// Asynchron - deprecated, only HTML-filter isn't synchron
+// 3rdPartyFilter - implemented as a UNO component
+// Default - default filter for this document type
+// NotInFileDialog - should be self explaining
+// NotInChooser - as above
+
+// (The 3rdPartyFilter flag is here called StarONE)
+
+// At some point (4.0?) we should drop the duplicate set of names over
+// in filter, and rename the obscure ones to describe their meaning
+// using terms that are understandable.
+
#define SFX_FILTER_IMPORT 0x00000001L
#define SFX_FILTER_EXPORT 0x00000002L
#define SFX_FILTER_TEMPLATE 0x00000004L