summaryrefslogtreecommitdiff
path: root/shell/source/win32/shlxthandler/util/fileextensions.cxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2004-09-08 13:35:38 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2004-09-08 13:35:38 +0000
commit766d029fcf8cfaa63b981a37bbd8ed2d3910d411 (patch)
treecffbbbf419be5d26b28e438e3e9ce7870a46a2bf /shell/source/win32/shlxthandler/util/fileextensions.cxx
parent9b1b1b00818d177ed32f5a3d0e0d1f41b40de926 (diff)
INTEGRATION: CWS desktintgr02 (1.2.8); FILE MERGED
2004/08/19 11:31:58 tra 1.2.8.3: #i32268#new OASIS extensions added 2004/08/19 10:27:36 deuce 1.2.8.2: Issue number: i33201 Submitted by: Gorden Lin {Gorden.Lin@Sun.com} Reviewed by: Tino Rachui {Tino.Rachui@Sun.com} 2004/08/18 06:41:51 deuce 1.2.8.1: Issue number: i32660, i32927, i32268 Submitted by: Gorden Lin {Gorden.Lin@Sun.com} Reviewed by: Tino Rachui {Tino.Rachui@Sun.com}
Diffstat (limited to 'shell/source/win32/shlxthandler/util/fileextensions.cxx')
-rw-r--r--shell/source/win32/shlxthandler/util/fileextensions.cxx30
1 files changed, 22 insertions, 8 deletions
diff --git a/shell/source/win32/shlxthandler/util/fileextensions.cxx b/shell/source/win32/shlxthandler/util/fileextensions.cxx
index 128e80ecef8d..9b44bf8ee379 100644
--- a/shell/source/win32/shlxthandler/util/fileextensions.cxx
+++ b/shell/source/win32/shlxthandler/util/fileextensions.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: fileextensions.cxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: hr $ $Date: 2004-04-07 11:17:17 $
+ * last change: $Author: hr $ $Date: 2004-09-08 14:35:38 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -67,11 +67,11 @@
//
//------------------------------------
-const std::string WRITER_FILE_EXTENSIONS = "sxwstwsxg";
-const std::string CALC_FILE_EXTENSIONS = "sxcstc";
-const std::string DRAW_FILE_EXTENSIONS = "sxdstd";
-const std::string IMPRESS_FILE_EXTENSIONS = "sxisti";
-const std::string MATH_FILE_EXTENSIONS = "sxm";
+const std::string WRITER_FILE_EXTENSIONS = "sxwstwsxgoxtottoxgootoom";
+const std::string CALC_FILE_EXTENSIONS = "sxcstcoxsotsoos";
+const std::string DRAW_FILE_EXTENSIONS = "sxdstdoxdotdood";
+const std::string IMPRESS_FILE_EXTENSIONS = "sxistioxpotpoop";
+const std::string MATH_FILE_EXTENSIONS = "sxmoxfoof";
FileExtensionEntry OOFileExtensionTable[] = {
{ ".sxw", L".sxw", "soffice.StarWriterDocument.6" },
@@ -83,7 +83,21 @@ FileExtensionEntry OOFileExtensionTable[] = {
{ ".sxg", L".sxg", "soffice.StarWriterGlobalDocument.6"},
{ ".std", L".std", "soffice.StarDrawTemplate.6" },
{ ".sti", L".sti", "soffice.StarImpressTemplate.6" },
- { ".stc", L".stc", "soffice.StarCalcTemplate.6" }};
+ { ".stc", L".stc", "soffice.StarCalcTemplate.6" },
+ { ".oot", L".oot", "openoffice.WriterDocument.1" },
+ { ".ott", L".ott", "openoffice.WriterTemplate.1" },
+ { ".oom", L".oom", "openoffice.WriterGlobalDocument.1" },
+ { ".oth", L".oth", "openoffice.WriterWebDocument.1" },
+ { ".oos", L".oos", "openoffice.CalcDocument.1" },
+ { ".ots", L".ots", "openoffice.CalcTemplate.1" },
+ { ".ood", L".ood", "openoffice.DrawDocument.1" },
+ { ".otd", L".otd", "openoffice.DrawTemplate.1" },
+ { ".oop", L".oop", "openoffice.ImpressDocument.1" },
+ { ".otp", L".otp", "openoffice.ImpressTemplate.1" },
+ { ".oof", L".oof", "openoffice.MathDocument.1" },
+ { ".odb", L".odb", "openoffice.DatabaseDocument.1" }
+ };
+
size_t OOFileExtensionTableSize = sizeof(OOFileExtensionTable)/sizeof(OOFileExtensionTable[0]);