Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
33ff1ba8
Kaydet (Commit)
33ff1ba8
authored
Ara 07, 2015
tarafından
David Tardon
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
merge libmwaw type/filter defs (Calc)
Change-Id: Ic0f01d2f71cad69bea0944c62fb0832bc6caa252
üst
2191a110
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
36 additions
and
182 deletions
+36
-182
Configuration_filter.mk
filter/Configuration_filter.mk
+2
-6
Beagle_Works_Calc.xcu
filter/source/config/fragments/filters/Beagle_Works_Calc.xcu
+0
-29
MWAW_Spreadsheet.xcu
filter/source/config/fragments/filters/MWAW_Spreadsheet.xcu
+3
-3
Mac_Wingz_Calc.xcu
filter/source/config/fragments/filters/Mac_Wingz_Calc.xcu
+0
-30
MWAW_Database.xcu
filter/source/config/fragments/types/MWAW_Database.xcu
+5
-9
MWAW_Spreadsheet.xcu
filter/source/config/fragments/types/MWAW_Spreadsheet.xcu
+5
-9
calc_Mac_Wingz.xcu
filter/source/config/fragments/types/calc_Mac_Wingz.xcu
+0
-29
MWAWCalcImportFilter.cxx
writerperfect/source/calc/MWAWCalcImportFilter.cxx
+21
-67
No files found.
filter/Configuration_filter.mk
Dosyayı görüntüle @
33ff1ba8
...
@@ -518,13 +518,12 @@ $(eval $(call filter_Configuration_add_types,fcfg_langpack,fcfg_calc_types.xcu,f
...
@@ -518,13 +518,12 @@ $(eval $(call filter_Configuration_add_types,fcfg_langpack,fcfg_calc_types.xcu,f
calc_MS_Works_Document \
calc_MS_Works_Document \
calc_WPS_Lotus_Document \
calc_WPS_Lotus_Document \
calc_WPS_QPro_Document \
calc_WPS_QPro_Document \
calc_Beagle_Works \
calc_ClarisWorks \
calc_ClarisWorks \
calc_Claris_Resolve \
calc_Claris_Resolve \
calc_Great_Works \
calc_Mac_Works \
calc_Mac_Works \
calc_Mac_Wingz \
calc_AppleNumbers \
calc_AppleNumbers \
MWAW_Database \
MWAW_Spreadsheet \
))
))
$(eval $(call filter_Configuration_add_filters,fcfg_langpack,fcfg_calc_filters.xcu,filter/source/config/fragments/filters,\
$(eval $(call filter_Configuration_add_filters,fcfg_langpack,fcfg_calc_filters.xcu,filter/source/config/fragments/filters,\
...
@@ -561,11 +560,8 @@ $(eval $(call filter_Configuration_add_filters,fcfg_langpack,fcfg_calc_filters.x
...
@@ -561,11 +560,8 @@ $(eval $(call filter_Configuration_add_filters,fcfg_langpack,fcfg_calc_filters.x
MS_Works_Calc \
MS_Works_Calc \
WPS_Lotus_Calc \
WPS_Lotus_Calc \
WPS_QPro_Calc \
WPS_QPro_Calc \
Beagle_Works_Calc \
ClarisWorks_Calc \
ClarisWorks_Calc \
Claris_Resolve_Calc \
Claris_Resolve_Calc \
Great_Works_Calc \
Mac_Wingz_Calc \
Mac_Works_Calc \
Mac_Works_Calc \
AppleNumbers \
AppleNumbers \
))
))
...
...
filter/source/config/fragments/filters/Beagle_Works_Calc.xcu
deleted
100644 → 0
Dosyayı görüntüle @
2191a110
<!--
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
-->
<node oor:name="Beagle_Works_Calc" oor:op="replace">
<prop oor:name="Flags">
<value>IMPORT ALIEN 3RDPARTYFILTER PREFERRED</value>
</prop>
<prop oor:name="FilterService">
<value>com.sun.star.comp.Calc.MWAWCalcImportFilter</value>
</prop>
<prop oor:name="UIName">
<value xml:lang="en-US">BeagleWorks/WordPerfect Works v1 Spreadsheet</value>
</prop>
<prop oor:name="FileFormatVersion">
<value>0</value>
</prop>
<prop oor:name="Type">
<value>calc_Beagle_Works</value>
</prop>
<prop oor:name="DocumentService">
<value>com.sun.star.sheet.SpreadsheetDocument</value>
</prop>
</node>
filter/source/config/fragments/filters/
Great_Works_Calc
.xcu
→
filter/source/config/fragments/filters/
MWAW_Spreadsheet
.xcu
Dosyayı görüntüle @
33ff1ba8
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
*
*
-->
-->
<node oor:name="
Great_Works_Calc
" oor:op="replace">
<node oor:name="
MWAW_Spreadsheet
" oor:op="replace">
<prop oor:name="Flags">
<prop oor:name="Flags">
<value>IMPORT ALIEN 3RDPARTYFILTER PREFERRED</value>
<value>IMPORT ALIEN 3RDPARTYFILTER PREFERRED</value>
</prop>
</prop>
...
@@ -15,13 +15,13 @@
...
@@ -15,13 +15,13 @@
<value>com.sun.star.comp.Calc.MWAWCalcImportFilter</value>
<value>com.sun.star.comp.Calc.MWAWCalcImportFilter</value>
</prop>
</prop>
<prop oor:name="UIName">
<prop oor:name="UIName">
<value xml:lang="en-US">
GreatWorks Spreadsheet
</value>
<value xml:lang="en-US">
Legacy Mac Spreadsheet/Database
</value>
</prop>
</prop>
<prop oor:name="FileFormatVersion">
<prop oor:name="FileFormatVersion">
<value>0</value>
<value>0</value>
</prop>
</prop>
<prop oor:name="Type">
<prop oor:name="Type">
<value>
calc_Great_Works
</value>
<value>
MWAW_Spreadsheet
</value>
</prop>
</prop>
<prop oor:name="DocumentService">
<prop oor:name="DocumentService">
<value>com.sun.star.sheet.SpreadsheetDocument</value>
<value>com.sun.star.sheet.SpreadsheetDocument</value>
...
...
filter/source/config/fragments/filters/Mac_Wingz_Calc.xcu
deleted
100644 → 0
Dosyayı görüntüle @
2191a110
<!--
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
-->
<node oor:name="Mac_Wingz_Calc" oor:op="replace">
<prop oor:name="Flags"><value>IMPORT ALIEN 3RDPARTYFILTER PREFERRED</value></prop>
<prop oor:name="UIComponent"/>
<prop oor:name="FilterService"><value>com.sun.star.comp.Calc.MWAWCalcImportFilter</value></prop>
<prop oor:name="UserData"><value></value></prop>
<prop oor:name="UIName">
<value xml:lang="en-US">Wingz for Mac Document</value>
</prop>
<prop oor:name="FileFormatVersion"><value>0</value></prop>
<prop oor:name="Type"><value>calc_Mac_Wingz</value></prop>
<prop oor:name="TemplateName"/>
<prop oor:name="DocumentService"><value>com.sun.star.sheet.SpreadsheetDocument</value></prop>
</node>
filter/source/config/fragments/types/
calc_Great_Works
.xcu
→
filter/source/config/fragments/types/
MWAW_Database
.xcu
Dosyayı görüntüle @
33ff1ba8
...
@@ -7,23 +7,19 @@
...
@@ -7,23 +7,19 @@
*
*
-->
-->
<node oor:name="
calc_Great_Works
" oor:op="replace">
<node oor:name="
MWAW_Database
" oor:op="replace">
<prop oor:name="DetectService">
<prop oor:name="DetectService">
<value>com.sun.star.comp.Calc.MWAWCalcImportFilter</value>
<value>com.sun.star.comp.Calc.MWAWCalcImportFilter</value>
</prop>
</prop>
<prop oor:name="Extensions">
<prop oor:name="Extensions"/>
<value>dummy</value>
<prop oor:name="MediaType"/>
</prop>
<prop oor:name="MediaType">
<value></value>
</prop>
<prop oor:name="Preferred">
<prop oor:name="Preferred">
<value>true</value>
<value>true</value>
</prop>
</prop>
<prop oor:name="PreferredFilter">
<prop oor:name="PreferredFilter">
<value>
Great_Works_Calc
</value>
<value>
MWAW_Spreadsheet
</value>
</prop>
</prop>
<prop oor:name="UIName">
<prop oor:name="UIName">
<value>
GreatWorks Document
</value>
<value>
Legacy Mac Database
</value>
</prop>
</prop>
</node>
</node>
filter/source/config/fragments/types/
calc_Beagle_Works
.xcu
→
filter/source/config/fragments/types/
MWAW_Spreadsheet
.xcu
Dosyayı görüntüle @
33ff1ba8
...
@@ -7,23 +7,19 @@
...
@@ -7,23 +7,19 @@
*
*
-->
-->
<node oor:name="
calc_Beagle_Works
" oor:op="replace">
<node oor:name="
MWAW_Spreadsheet
" oor:op="replace">
<prop oor:name="DetectService">
<prop oor:name="DetectService">
<value>com.sun.star.comp.Calc.MWAWCalcImportFilter</value>
<value>com.sun.star.comp.Calc.MWAWCalcImportFilter</value>
</prop>
</prop>
<prop oor:name="Extensions">
<prop oor:name="Extensions"/>
<value>dummy</value>
<prop oor:name="MediaType"/>
</prop>
<prop oor:name="MediaType">
<value></value>
</prop>
<prop oor:name="Preferred">
<prop oor:name="Preferred">
<value>true</value>
<value>true</value>
</prop>
</prop>
<prop oor:name="PreferredFilter">
<prop oor:name="PreferredFilter">
<value>
Beagle_Works_Calc
</value>
<value>
MWAW_Spreadsheet
</value>
</prop>
</prop>
<prop oor:name="UIName">
<prop oor:name="UIName">
<value>
BeagleWorks/WordPerfect Works Documen
t</value>
<value>
Legacy Mac Spreadshee
t</value>
</prop>
</prop>
</node>
</node>
filter/source/config/fragments/types/calc_Mac_Wingz.xcu
deleted
100644 → 0
Dosyayı görüntüle @
2191a110
<!--
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
-->
<node oor:name="calc_Mac_Wingz" oor:op="replace" >
<prop oor:name="DetectService"><value>com.sun.star.comp.Calc.MWAWCalcImportFilter</value></prop>
<prop oor:name="URLPattern"/>
<prop oor:name="Extensions"><value>dummy</value></prop>
<prop oor:name="MediaType"></prop>
<prop oor:name="Preferred"><value>true</value></prop>
<prop oor:name="PreferredFilter"><value>Mac_Wingz_Calc</value></prop>
<prop oor:name="UIName">
<value>Wingz for Mac Document</value>
</prop>
<prop oor:name="ClipboardFormat"/>
</node>
writerperfect/source/calc/MWAWCalcImportFilter.cxx
Dosyayı görüntüle @
33ff1ba8
...
@@ -54,90 +54,44 @@ bool MWAWCalcImportFilter::doDetectFormat(librevenge::RVNGInputStream &rInput, O
...
@@ -54,90 +54,44 @@ bool MWAWCalcImportFilter::doDetectFormat(librevenge::RVNGInputStream &rInput, O
if
(
confidence
==
MWAWDocument
::
MWAW_C_EXCELLENT
)
if
(
confidence
==
MWAWDocument
::
MWAW_C_EXCELLENT
)
{
{
if
(
docKind
==
MWAWDocument
::
MWAW_K_SPREADSHEET
||
docKind
==
MWAWDocument
::
MWAW_K_DATABASE
)
switch
(
docKind
)
{
case
MWAWDocument
:
:
MWAW_K_DATABASE
:
{
{
switch
(
docType
)
switch
(
docType
)
{
{
case
MWAWDocument
:
:
MWAW_T_
BEAGLE
WORKS
:
case
MWAWDocument
:
:
MWAW_T_
CLARIS
WORKS
:
rTypeName
=
"calc_
Beagle_
Works"
;
rTypeName
=
"calc_
Claris
Works"
;
break
;
break
;
case
MWAWDocument
:
:
MWAW_T_MICROSOFTWORKS
:
rTypeName
=
"calc_Mac_Works"
;
break
;
default
:
rTypeName
=
"MWAW_Database"
;
break
;
}
}
case
MWAWDocument
:
:
MWAW_K_SPREADSHEET
:
{
switch
(
docType
)
{
case
MWAWDocument
:
:
MWAW_T_CLARISRESOLVE
:
case
MWAWDocument
:
:
MWAW_T_CLARISRESOLVE
:
rTypeName
=
"calc_Claris_Resolve"
;
rTypeName
=
"calc_Claris_Resolve"
;
break
;
break
;
case
MWAWDocument
:
:
MWAW_T_CLARISWORKS
:
case
MWAWDocument
:
:
MWAW_T_CLARISWORKS
:
rTypeName
=
"calc_ClarisWorks"
;
rTypeName
=
"calc_ClarisWorks"
;
break
;
break
;
case
MWAWDocument
:
:
MWAW_T_GREATWORKS
:
rTypeName
=
"calc_Great_Works"
;
break
;
case
MWAWDocument
:
:
MWAW_T_MICROSOFTWORKS
:
case
MWAWDocument
:
:
MWAW_T_MICROSOFTWORKS
:
rTypeName
=
"calc_Mac_Works"
;
rTypeName
=
"calc_Mac_Works"
;
break
;
break
;
case
MWAWDocument
:
:
MWAW_T_WINGZ
:
rTypeName
=
"calc_Mac_Wingz"
;
break
;
case
MWAWDocument
:
:
MWAW_T_ACTA
:
case
MWAWDocument
:
:
MWAW_T_ADOBEILLUSTRATOR
:
case
MWAWDocument
:
:
MWAW_T_DBASE
:
case
MWAWDocument
:
:
MWAW_T_DOCMAKER
:
case
MWAWDocument
:
:
MWAW_T_EDOC
:
case
MWAWDocument
:
:
MWAW_T_FAMILYTREEMAKER
:
case
MWAWDocument
:
:
MWAW_T_FILEMAKER
:
case
MWAWDocument
:
:
MWAW_T_FOXBASE
:
case
MWAWDocument
:
:
MWAW_T_FRAMEMAKER
:
case
MWAWDocument
:
:
MWAW_T_FULLIMPACT
:
case
MWAWDocument
:
:
MWAW_T_FULLPAINT
:
case
MWAWDocument
:
:
MWAW_T_FULLWRITE
:
case
MWAWDocument
:
:
MWAW_T_INFOGENIE
:
case
MWAWDocument
:
:
MWAW_T_KALEIDAGRAPH
:
case
MWAWDocument
:
:
MWAW_T_HANMACWORDJ
:
case
MWAWDocument
:
:
MWAW_T_HANMACWORDK
:
case
MWAWDocument
:
:
MWAW_T_LIGHTWAYTEXT
:
case
MWAWDocument
:
:
MWAW_T_MACDOC
:
case
MWAWDocument
:
:
MWAW_T_MACDRAFT
:
case
MWAWDocument
:
:
MWAW_T_MACDRAW
:
case
MWAWDocument
:
:
MWAW_T_MACDRAWPRO
:
case
MWAWDocument
:
:
MWAW_T_MACPAINT
:
case
MWAWDocument
:
:
MWAW_T_MACWRITE
:
case
MWAWDocument
:
:
MWAW_T_MACWRITEPRO
:
case
MWAWDocument
:
:
MWAW_T_MARINERWRITE
:
case
MWAWDocument
:
:
MWAW_T_MINDWRITE
:
case
MWAWDocument
:
:
MWAW_T_MICROSOFTFILE
:
case
MWAWDocument
:
:
MWAW_T_MICROSOFTMULTIPLAN
:
case
MWAWDocument
:
:
MWAW_T_MICROSOFTWORD
:
case
MWAWDocument
:
:
MWAW_T_MORE
:
case
MWAWDocument
:
:
MWAW_T_NISUSWRITER
:
case
MWAWDocument
:
:
MWAW_T_OVERVUE
:
case
MWAWDocument
:
:
MWAW_T_PAGEMAKER
:
case
MWAWDocument
:
:
MWAW_T_PIXELPAINT
:
case
MWAWDocument
:
:
MWAW_T_RAGTIME
:
case
MWAWDocument
:
:
MWAW_T_READYSETGO
:
case
MWAWDocument
:
:
MWAW_T_SUPERPAINT
:
case
MWAWDocument
:
:
MWAW_T_SYMPOSIUM
:
case
MWAWDocument
:
:
MWAW_T_TEACHTEXT
:
case
MWAWDocument
:
:
MWAW_T_TEXEDIT
:
case
MWAWDocument
:
:
MWAW_T_TRAPEZE
:
case
MWAWDocument
:
:
MWAW_T_WRITENOW
:
case
MWAWDocument
:
:
MWAW_T_WRITERPLUS
:
case
MWAWDocument
:
:
MWAW_T_XPRESS
:
case
MWAWDocument
:
:
MWAW_T_ZWRITE
:
case
MWAWDocument
:
:
MWAW_T_4DIMENSION
:
case
MWAWDocument
:
:
MWAW_T_RESERVED1
:
case
MWAWDocument
:
:
MWAW_T_RESERVED2
:
case
MWAWDocument
:
:
MWAW_T_RESERVED3
:
case
MWAWDocument
:
:
MWAW_T_RESERVED4
:
case
MWAWDocument
:
:
MWAW_T_RESERVED5
:
case
MWAWDocument
:
:
MWAW_T_RESERVED6
:
case
MWAWDocument
:
:
MWAW_T_RESERVED7
:
case
MWAWDocument
:
:
MWAW_T_RESERVED8
:
case
MWAWDocument
:
:
MWAW_T_RESERVED9
:
case
MWAWDocument
:
:
MWAW_T_UNKNOWN
:
default
:
default
:
rTypeName
=
"MWAW_Spreadsheet"
;
break
;
break
;
}
}
}
}
default
:
break
;
}
}
}
return
!
rTypeName
.
isEmpty
();
return
!
rTypeName
.
isEmpty
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment