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
0d1abac3
Kaydet (Commit)
0d1abac3
authored
Mar 26, 2014
tarafından
Luboš Luňák
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
test for ignoring negative cell margin values
Change-Id: I7e56762a7097dd7369f9d8d71b499888ee5c081d
üst
1e47614c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
negative_table_cell_twips.docx
sw/qa/extras/ooxmlimport/data/negative_table_cell_twips.docx
+0
-0
ooxmlimport.cxx
sw/qa/extras/ooxmlimport/ooxmlimport.cxx
+8
-0
No files found.
sw/qa/extras/ooxmlimport/data/negative_table_cell_twips.docx
0 → 100644
Dosyayı görüntüle @
0d1abac3
File added
sw/qa/extras/ooxmlimport/ooxmlimport.cxx
Dosyayı görüntüle @
0d1abac3
...
...
@@ -1981,6 +1981,14 @@ DECLARE_OOXMLIMPORT_TEST(testLargeTwips, "large-twips.docx" )
CPPUNIT_ASSERT
(
width
.
toInt32
()
>
0
);
}
DECLARE_OOXMLIMPORT_TEST
(
testNegativeCellMarginTwips
,
"negative-cell-margin-twips.docx"
)
{
// Sligtly related to cp#1000043, the twips value was negative, which wrapped around somewhere,
// while MSO seems to ignore that as well.
OUString
width
=
parseDump
(
"/root/page/body/tab/row[1]/cell[1]/txt/infos/bounds"
,
"width"
);
CPPUNIT_ASSERT
(
width
.
toInt32
()
>
0
);
}
DECLARE_OOXMLIMPORT_TEST
(
testFdo38414
,
"fdo38414.docx"
)
{
// The cells in the last (4th) column were merged properly and so the result didn't have the same height.
...
...
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