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
02e52b15
Kaydet (Commit)
02e52b15
authored
Kas 05, 2014
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fdo#85813 drawingML export: fix handling of impress tables
Change-Id: Ia17b14c4b27e808ceab388aa33602875e67433a5
üst
8ee7e653
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
2 deletions
+16
-2
drawingml.cxx
oox/source/export/drawingml.cxx
+5
-2
fdo79731.odp
sd/qa/unit/data/fdo79731.odp
+0
-0
export-tests.cxx
sd/qa/unit/export-tests.cxx
+11
-0
No files found.
oox/source/export/drawingml.cxx
Dosyayı görüntüle @
02e52b15
...
...
@@ -1175,7 +1175,9 @@ void DrawingML::WriteShapeTransformation( Reference< XShape > rXShape, sal_Int32
// The RotateAngle property's value is independent from any flipping, and that's exactly what we need here.
uno
::
Reference
<
beans
::
XPropertySet
>
xPropertySet
(
rXShape
,
uno
::
UNO_QUERY
);
xPropertySet
->
getPropertyValue
(
"RotateAngle"
)
>>=
nRotation
;
uno
::
Reference
<
beans
::
XPropertySetInfo
>
xPropertySetInfo
=
xPropertySet
->
getPropertySetInfo
();
if
(
xPropertySetInfo
->
hasPropertyByName
(
"RotateAngle"
))
xPropertySet
->
getPropertyValue
(
"RotateAngle"
)
>>=
nRotation
;
}
WriteTransformation
(
Rectangle
(
Point
(
aPos
.
X
,
aPos
.
Y
),
Size
(
aSize
.
Width
,
aSize
.
Height
)
),
nXmlNamespace
,
bFlipH
,
bFlipV
,
OOX_DRAWINGML_EXPORT_ROTATE_CLOCKWISIFY
(
nRotation
)
);
}
...
...
@@ -1968,7 +1970,8 @@ void DrawingML::WriteText( Reference< XInterface > rXIface, const OUString& pres
if
(
!
enumeration
.
is
()
)
return
;
SdrObject
*
pSdrObject
=
GetSdrObjectFromXShape
(
uno
::
Reference
<
drawing
::
XShape
>
(
rXIface
,
uno
::
UNO_QUERY_THROW
));
uno
::
Reference
<
drawing
::
XShape
>
xShape
(
rXIface
,
uno
::
UNO_QUERY
);
SdrObject
*
pSdrObject
=
xShape
.
is
()
?
GetSdrObjectFromXShape
(
xShape
)
:
0
;
const
SdrTextObj
*
pTxtObj
=
PTR_CAST
(
SdrTextObj
,
pSdrObject
);
if
(
pTxtObj
&&
mpTextExport
)
{
...
...
sd/qa/unit/data/fdo79731.odp
0 → 100644
Dosyayı görüntüle @
02e52b15
File added
sd/qa/unit/export-tests.cxx
Dosyayı görüntüle @
02e52b15
...
...
@@ -71,6 +71,7 @@ public:
void
testBnc862510_5
();
void
testBnc822347_EmptyBullet
();
void
testFdo83751
();
void
testFdo79731
();
CPPUNIT_TEST_SUITE
(
SdExportTest
);
CPPUNIT_TEST
(
testN821567
);
...
...
@@ -85,6 +86,7 @@ public:
CPPUNIT_TEST
(
testBnc862510_5
);
CPPUNIT_TEST
(
testBnc822347_EmptyBullet
);
CPPUNIT_TEST
(
testFdo83751
);
CPPUNIT_TEST
(
testFdo79731
);
CPPUNIT_TEST_SUITE_END
();
};
...
...
@@ -477,6 +479,15 @@ void SdExportTest::testFdo83751()
xDocShRef
->
DoClose
();
}
void
SdExportTest
::
testFdo79731
()
{
::
sd
::
DrawDocShellRef
xDocShRef
=
loadURL
(
getURLFromSrc
(
"/sd/qa/unit/data/fdo79731.odp"
),
ODP
);
xDocShRef
=
saveAndReload
(
xDocShRef
,
PPTX
);
SdDrawDocument
*
pDoc
=
xDocShRef
->
GetDoc
();
CPPUNIT_ASSERT
(
pDoc
);
xDocShRef
->
DoClose
();
}
CPPUNIT_TEST_SUITE_REGISTRATION
(
SdExportTest
);
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