diff options
author | Jaskaran <jvsg1303@gmail.com> | 2016-03-09 00:24:08 +0530 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2016-03-09 10:23:16 +0000 |
commit | a1a63373f99a50eb0db0d8474e36278541d7c5cc (patch) | |
tree | 94871b0581d982bd9a1cd88e19aa3a288902c942 /setup_native | |
parent | tdf#98421: properly import vertical mirroring of images from PDF (diff) | |
download | core-a1a63373f99a50eb0db0d8474e36278541d7c5cc.tar.gz core-a1a63373f99a50eb0db0d8474e36278541d7c5cc.zip |
tdf#82335 Register Libreoffice for Kingsoft file types
Registered LO for Kingsoft document , spreadsheet, presentation
and their template types.
Change-Id: If2b9f428b22f6d104c5ffe699f5264a22b814a0e
Reviewed-on: https://gerrit.libreoffice.org/23037
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'setup_native')
-rw-r--r-- | setup_native/source/win32/customactions/reg4allmsdoc/reg4allmsi.cxx | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/setup_native/source/win32/customactions/reg4allmsdoc/reg4allmsi.cxx b/setup_native/source/win32/customactions/reg4allmsdoc/reg4allmsi.cxx index ebd8d27e08a4..a32a4947fd1d 100644 --- a/setup_native/source/win32/customactions/reg4allmsdoc/reg4allmsi.cxx +++ b/setup_native/source/win32/customactions/reg4allmsdoc/reg4allmsi.cxx @@ -35,6 +35,8 @@ static const CHAR* g_Extensions[] = { ".doc", // Microsoft Word Text [0] ".dot", // Microsoft Word Template + ".wps", // Kingsoft Writer Document + ".wpt", // Kingsoft Writer Template ".rtf", // rtf text ".docx", // Office Word 2007 XML document ".docm", // Office Word 2007 XML macro-enabled document @@ -48,6 +50,8 @@ static const CHAR* g_Extensions[] = ".xltx", // Office Excel 2007 XML template ".xltm", // Office Excel 2007 XML macro-enabled template ".xlsb", // Office Excel 2007 binary workbook (BIFF12) + ".et", // Kingsoft Spreadsheet + ".ett", // Kingsoft SpreadSheet Template ".ppt", // Microsoft Powerpoint ".pps", // Microsoft Powerpoint ".pot", // Microsoft Powerpoint Template @@ -56,16 +60,18 @@ static const CHAR* g_Extensions[] = ".potx", // Office PowerPoint 2007 XML template ".potm", // Office PowerPoint 2007 macro-enabled XML template ".ppsx", // Office PowerPoint 2007 XML show + ".dps", // Kingsoft Presentation + ".dpt", // Kingsoft Presentation Template ".vsd", // Visio 2000/XP/2003 document ".vst", // Visio 2000/XP/2003 template 0 }; static const int WORD_START = 0; -static const int EXCEL_START = 7; -static const int POWERPOINT_START = 15; -static const int VISIO_START = 23; -static const int VISIO_END = 25; +static const int EXCEL_START = 9; +static const int POWERPOINT_START = 19; +static const int VISIO_START = 29; +static const int VISIO_END = 31; // ".xlam", // Office Excel 2007 XML macro-enabled add-in // ".ppam", // Office PowerPoint 2007 macro-enabled XML add-in |