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
47768466
Kaydet (Commit)
47768466
authored
Mar 05, 2014
tarafından
Tomaž Vajngerl
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
ooxml: round-trip test for w14:anchorId & wp14:anchorId
Change-Id: Iada0ba2b6d1450167977915fe95a38b5bab2559c
üst
ce5cca0c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
0 deletions
+12
-0
AnchorId.docx
sw/qa/extras/ooxmlexport/data/AnchorId.docx
+0
-0
ooxmlsdrexport.cxx
sw/qa/extras/ooxmlexport/ooxmlsdrexport.cxx
+12
-0
No files found.
sw/qa/extras/ooxmlexport/data/AnchorId.docx
0 → 100644
Dosyayı görüntüle @
47768466
File added
sw/qa/extras/ooxmlexport/ooxmlsdrexport.cxx
Dosyayı görüntüle @
47768466
...
@@ -890,6 +890,18 @@ DECLARE_OOXMLEXPORT_TEST(testGroupshapeThemeFont, "groupshape-theme-font.docx")
...
@@ -890,6 +890,18 @@ DECLARE_OOXMLEXPORT_TEST(testGroupshapeThemeFont, "groupshape-theme-font.docx")
CPPUNIT_ASSERT_EQUAL
(
OUString
(
"Cambria"
),
getProperty
<
OUString
>
(
xRun
,
"CharFontName"
));
CPPUNIT_ASSERT_EQUAL
(
OUString
(
"Cambria"
),
getProperty
<
OUString
>
(
xRun
,
"CharFontName"
));
}
}
DECLARE_OOXMLEXPORT_TEST
(
testAnchorIdForWP14AndW14
,
"AnchorId.docx"
)
{
xmlDocPtr
pXmlDoc
=
parseExport
(
"word/document.xml"
);
if
(
!
pXmlDoc
)
return
;
assertXPath
(
pXmlDoc
,
"/w:document/w:body/w:p[1]/w:r[3]/mc:AlternateContent/mc:Choice/w:drawing/wp:inline"
,
"anchorId"
,
"78735EFD"
);
assertXPath
(
pXmlDoc
,
"/w:document/w:body/w:p[1]/w:r[3]/mc:AlternateContent/mc:Fallback/w:pict/v:rect"
,
"anchorId"
,
"78735EFD"
);
}
#endif
#endif
CPPUNIT_PLUGIN_IMPLEMENT
();
CPPUNIT_PLUGIN_IMPLEMENT
();
...
...
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