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
c98d6491
Kaydet (Commit)
c98d6491
authored
Mar 10, 2014
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
DOCX strict import: handle math
Change-Id: I8b1419cb71ef67f91bfa532faa283204dae0e25c
üst
d795fb22
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
0 deletions
+6
-0
CppunitTest_sw_ooxmlimport.mk
sw/CppunitTest_sw_ooxmlimport.mk
+1
-0
strict.docx
sw/qa/extras/ooxmlimport/data/strict.docx
+0
-0
ooxmlimport.cxx
sw/qa/extras/ooxmlimport/ooxmlimport.cxx
+4
-0
model.xml
writerfilter/source/ooxml/model.xml
+1
-0
No files found.
sw/CppunitTest_sw_ooxmlimport.mk
Dosyayı görüntüle @
c98d6491
...
@@ -69,6 +69,7 @@ $(eval $(call gb_CppunitTest_use_components,sw_ooxmlimport,\
...
@@ -69,6 +69,7 @@ $(eval $(call gb_CppunitTest_use_components,sw_ooxmlimport,\
sw/util/swd \
sw/util/swd \
sw/util/msword \
sw/util/msword \
sfx2/util/sfx \
sfx2/util/sfx \
starmath/util/sm \
svl/source/fsstor/fsstorage \
svl/source/fsstor/fsstorage \
svl/util/svl \
svl/util/svl \
svtools/util/svt \
svtools/util/svt \
...
...
sw/qa/extras/ooxmlimport/data/strict.docx
Dosyayı görüntüle @
c98d6491
No preview for this file type
sw/qa/extras/ooxmlimport/ooxmlimport.cxx
Dosyayı görüntüle @
c98d6491
...
@@ -1929,6 +1929,10 @@ DECLARE_OOXMLIMPORT_TEST(testStrict, "strict.docx")
...
@@ -1929,6 +1929,10 @@ DECLARE_OOXMLIMPORT_TEST(testStrict, "strict.docx")
// Chart was missing.
// Chart was missing.
xServiceInfo
.
set
(
getShape
(
3
),
uno
::
UNO_QUERY
);
xServiceInfo
.
set
(
getShape
(
3
),
uno
::
UNO_QUERY
);
CPPUNIT_ASSERT
(
xServiceInfo
->
supportsService
(
"com.sun.star.text.TextEmbeddedObject"
));
CPPUNIT_ASSERT
(
xServiceInfo
->
supportsService
(
"com.sun.star.text.TextEmbeddedObject"
));
// Math was missing.
xServiceInfo
.
set
(
getShape
(
4
),
uno
::
UNO_QUERY
);
CPPUNIT_ASSERT
(
xServiceInfo
->
supportsService
(
"com.sun.star.text.TextEmbeddedObject"
));
}
}
DECLARE_OOXMLIMPORT_TEST
(
testStrictLockedcanvas
,
"strict-lockedcanvas.docx"
)
DECLARE_OOXMLIMPORT_TEST
(
testStrictLockedcanvas
,
"strict-lockedcanvas.docx"
)
...
...
writerfilter/source/ooxml/model.xml
Dosyayı görüntüle @
c98d6491
...
@@ -41,6 +41,7 @@
...
@@ -41,6 +41,7 @@
<namespace-alias
name=
"http://schemas.openxmlformats.org/wordprocessingml/2006/main"
alias=
"wordprocessingml"
id=
"doc"
/>
<namespace-alias
name=
"http://schemas.openxmlformats.org/wordprocessingml/2006/main"
alias=
"wordprocessingml"
id=
"doc"
/>
<namespace-alias
name=
"http://purl.oclc.org/ooxml/wordprocessingml/main"
alias=
"wordprocessingml"
id=
"doc"
/>
<namespace-alias
name=
"http://purl.oclc.org/ooxml/wordprocessingml/main"
alias=
"wordprocessingml"
id=
"doc"
/>
<namespace-alias
name=
"http://schemas.openxmlformats.org/officeDocument/2006/math"
alias=
"math"
id=
"officeMath"
/>
<namespace-alias
name=
"http://schemas.openxmlformats.org/officeDocument/2006/math"
alias=
"math"
id=
"officeMath"
/>
<namespace-alias
name=
"http://purl.oclc.org/ooxml/officeDocument/math"
alias=
"math"
id=
"officeMath"
/>
<namespace-alias
name=
"http://schemas.openxmlformats.org/schemaLibrary/2006/main"
alias=
"schemaLibrary"
id=
"schema"
/>
<namespace-alias
name=
"http://schemas.openxmlformats.org/schemaLibrary/2006/main"
alias=
"schemaLibrary"
id=
"schema"
/>
<namespace-alias
name=
"http://schemas.openxmlformats.org/markup-compatibility/2006"
alias=
"mce"
id=
"mce"
/>
<namespace-alias
name=
"http://schemas.openxmlformats.org/markup-compatibility/2006"
alias=
"mce"
id=
"mce"
/>
<namespace-alias
name=
"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing"
alias=
"wp14"
id=
"wp14"
/>
<namespace-alias
name=
"http://schemas.microsoft.com/office/word/2010/wordprocessingDrawing"
alias=
"wp14"
id=
"wp14"
/>
...
...
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