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
85524805
Kaydet (Commit)
85524805
authored
Haz 27, 2012
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
n#693238 testcase
Change-Id: I7093d7d27d2448601bd29c2f3dd0c42077115b80
üst
704d7023
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
0 deletions
+17
-0
n693238.docx
sw/qa/extras/ooxmltok/data/n693238.docx
+0
-0
ooxmltok.cxx
sw/qa/extras/ooxmltok/ooxmltok.cxx
+17
-0
No files found.
sw/qa/extras/ooxmltok/data/n693238.docx
0 → 100644
Dosyayı görüntüle @
85524805
File added
sw/qa/extras/ooxmltok/ooxmltok.cxx
Dosyayı görüntüle @
85524805
...
@@ -75,6 +75,7 @@ public:
...
@@ -75,6 +75,7 @@ public:
void
testN758883
();
void
testN758883
();
void
testN766481
();
void
testN766481
();
void
testN766487
();
void
testN766487
();
void
testN693238
();
CPPUNIT_TEST_SUITE
(
Test
);
CPPUNIT_TEST_SUITE
(
Test
);
#if !defined(MACOSX) && !defined(WNT)
#if !defined(MACOSX) && !defined(WNT)
...
@@ -98,6 +99,7 @@ public:
...
@@ -98,6 +99,7 @@ public:
CPPUNIT_TEST
(
testN758883
);
CPPUNIT_TEST
(
testN758883
);
CPPUNIT_TEST
(
testN766481
);
CPPUNIT_TEST
(
testN766481
);
CPPUNIT_TEST
(
testN766487
);
CPPUNIT_TEST
(
testN766487
);
CPPUNIT_TEST
(
testN693238
);
#endif
#endif
CPPUNIT_TEST_SUITE_END
();
CPPUNIT_TEST_SUITE_END
();
...
@@ -661,6 +663,21 @@ void Test::testN766487()
...
@@ -661,6 +663,21 @@ void Test::testN766487()
CPPUNIT_ASSERT_EQUAL
(
sal_Int32
(
TWIP_TO_MM100
(
-
360
)),
nValue
);
CPPUNIT_ASSERT_EQUAL
(
sal_Int32
(
TWIP_TO_MM100
(
-
360
)),
nValue
);
}
}
void
Test
::
testN693238
()
{
/*
*
* The problem was that a continous section break at the end of the doc caused the margins to be ignored.
*
* xray ThisComponent.StyleFamilies.PageStyles.Default.LeftMargin ' was 2000, should be 635
*/
load
(
"n693238.docx"
);
uno
::
Reference
<
beans
::
XPropertySet
>
xPropertySet
(
getStyles
(
"PageStyles"
)
->
getByName
(
"Default"
),
uno
::
UNO_QUERY
);
sal_Int32
nValue
=
0
;
xPropertySet
->
getPropertyValue
(
"LeftMargin"
)
>>=
nValue
;
CPPUNIT_ASSERT_EQUAL
(
sal_Int32
(
635
),
nValue
);
}
CPPUNIT_TEST_SUITE_REGISTRATION
(
Test
);
CPPUNIT_TEST_SUITE_REGISTRATION
(
Test
);
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