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
49c3aff8
Kaydet (Commit)
49c3aff8
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 charts
Change-Id: I1933b3272ff735ae1ecb500fcd693e3ca99bf264
üst
b8183958
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
+8
-2
strict.docx
sw/qa/extras/ooxmlimport/data/strict.docx
+0
-0
ooxmlimport.cxx
sw/qa/extras/ooxmlimport/ooxmlimport.cxx
+7
-2
model.xml
writerfilter/source/ooxml/model.xml
+1
-0
No files found.
sw/qa/extras/ooxmlimport/data/strict.docx
Dosyayı görüntüle @
49c3aff8
No preview for this file type
sw/qa/extras/ooxmlimport/ooxmlimport.cxx
Dosyayı görüntüle @
49c3aff8
...
...
@@ -1918,8 +1918,13 @@ DECLARE_OOXMLIMPORT_TEST(testStrict, "strict.docx")
uno
::
Reference
<
text
::
XText
>
xHeaderText
(
xPageStyle
->
getPropertyValue
(
"HeaderText"
),
uno
::
UNO_QUERY
);
getParagraphOfText
(
1
,
xHeaderText
,
"This is a header."
);
// Picture was missing, this resulted in a lang::IndexOutOfBoundsException.
getShape
(
1
);
// Picture was missing.
uno
::
Reference
<
lang
::
XServiceInfo
>
xServiceInfo
(
getShape
(
1
),
uno
::
UNO_QUERY
);
CPPUNIT_ASSERT
(
xServiceInfo
->
supportsService
(
"com.sun.star.text.TextGraphicObject"
));
// Chart was missing.
xServiceInfo
.
set
(
getShape
(
2
),
uno
::
UNO_QUERY
);
CPPUNIT_ASSERT
(
xServiceInfo
->
supportsService
(
"com.sun.star.text.TextEmbeddedObject"
));
}
#endif
...
...
writerfilter/source/ooxml/model.xml
Dosyayı görüntüle @
49c3aff8
...
...
@@ -34,6 +34,7 @@
<namespace-alias
name=
"http://schemas.microsoft.com/office/word/2010/wordprocessingShape"
alias=
"wps"
id=
"wps"
/>
<namespace-alias
name=
"http://schemas.microsoft.com/office/word/2010/wordprocessingGroup"
alias=
"wpg"
id=
"wpg"
/>
<namespace-alias
name=
"http://schemas.openxmlformats.org/drawingml/2006/chart"
alias=
"chart"
id=
"dmlChart"
/>
<namespace-alias
name=
"http://purl.oclc.org/ooxml/drawingml/chart"
alias=
"chart"
id=
"dmlChart"
/>
<namespace-alias
name=
"urn:schemas-microsoft-com:office:word"
alias=
"vml_wordprocessingDrawing"
id=
"vmlWord"
/>
<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"
/>
...
...
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