diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2008-04-15 13:10:05 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2008-04-15 13:10:05 +0000 |
commit | a2e2a2fb5f9dbe1247bf1de378dc50c17c42ac47 (patch) | |
tree | d77aac1461c7aac4bba03d55370ef02ce6e4da71 /xmloff | |
parent | e0dde1636b36f72779041b3c30dbbc97ebb327f0 (diff) |
INTEGRATION: CWS odfversion (1.8.34); FILE MERGED
2008/04/10 10:14:51 cl 1.8.34.1: #i88125# detect document generator version
Diffstat (limited to 'xmloff')
-rw-r--r-- | xmloff/inc/xmloff/xmlimp.hxx | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/xmloff/inc/xmloff/xmlimp.hxx b/xmloff/inc/xmloff/xmlimp.hxx index 1974872622ce..44b235549135 100644 --- a/xmloff/inc/xmloff/xmlimp.hxx +++ b/xmloff/inc/xmloff/xmlimp.hxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: xmlimp.hxx,v $ - * $Revision: 1.9 $ + * $Revision: 1.10 $ * * This file is part of OpenOffice.org. * @@ -425,6 +425,18 @@ public: **/ bool getBuildIds( sal_Int32& rUPD, sal_Int32& rBuild ) const; + static const sal_uInt16 OOo_1x = 10; + static const sal_uInt16 OOo_2x = 20; + static const sal_uInt16 OOo_Current = 30; + + /** this checks the build it and returns + + * OOo_1x for files created with OpenOffice.org 1.x or StarOffice 7 (this also includes binary import over binfilter) + * OOo_2x for files created with OpenOffice.org 2.x or StarOffice 8 + * OOo_Current for files created with OpenOffice.org 3.x and StarOffice9 or newer or for files not created with OpenOffice.org or StarOffice + */ + sal_uInt16 getGeneratorVersion() const; + /** If true, the URL for graphic shapes may be stored as a package URL and loaded later (on demand) by the application. Otherwise graphics are loaded immediately and the graphic shape gets the graphic manager URL. |