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
59698a47
Kaydet (Commit)
59698a47
authored
Mar 23, 2014
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
DocxSdrExport: fix indentation
Change-Id: I8318caf6a80fe5fd0dbe98ef5877103f9250f616
üst
5e01f04c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
docxsdrexport.cxx
sw/source/filter/ww8/docxsdrexport.cxx
+10
-10
No files found.
sw/source/filter/ww8/docxsdrexport.cxx
Dosyayı görüntüle @
59698a47
...
...
@@ -73,7 +73,7 @@ OUString lclGetAnchorIdFromGrabBag(const SdrObject* pObj)
OUString
aResult
;
uno
::
Reference
<
drawing
::
XShape
>
xShape
(
const_cast
<
SdrObject
*>
(
pObj
)
->
getUnoShape
(),
uno
::
UNO_QUERY
);
uno
::
Sequence
<
beans
::
PropertyValue
>
propList
=
lclGetProperty
<
uno
::
Sequence
<
beans
::
PropertyValue
>
>
(
xShape
,
"FrameInteropGrabBag"
);
lclGetProperty
<
uno
::
Sequence
<
beans
::
PropertyValue
>
>
(
xShape
,
"FrameInteropGrabBag"
);
for
(
sal_Int32
nProp
=
0
;
nProp
<
propList
.
getLength
();
++
nProp
)
{
OUString
aPropName
=
propList
[
nProp
].
Name
;
...
...
@@ -91,19 +91,19 @@ void lclMovePositionWithRotation(awt::Point& aPos, sal_Int64 nRotation)
// code from ImplEESdrWriter::ImplFlipBoundingBox (filter/source/msfilter/eschesdo.cxx)
// TODO: refactor
if
(
nRotation
==
0
)
if
(
nRotation
==
0
)
return
;
if
(
nRotation
<
0
)
nRotation
=
(
36000
+
nRotation
)
%
36000
;
if
(
nRotation
%
18000
==
0
)
if
(
nRotation
<
0
)
nRotation
=
(
36000
+
nRotation
)
%
36000
;
if
(
nRotation
%
18000
==
0
)
nRotation
=
0
;
while
(
nRotation
>
9000
)
nRotation
=
(
18000
-
(
nRotation
%
18000
)
);
while
(
nRotation
>
9000
)
nRotation
=
(
18000
-
(
nRotation
%
18000
)
);
double
fVal
=
(
double
)
nRotation
*
F_PI18000
;
double
fCos
=
cos
(
fVal
);
double
fSin
=
sin
(
fVal
);
double
fCos
=
cos
(
fVal
);
double
fSin
=
sin
(
fVal
);
double
nWidthHalf
=
(
double
)
aPos
.
X
/
2
;
double
nHeightHalf
=
(
double
)
aPos
.
Y
/
2
;
...
...
@@ -609,7 +609,7 @@ void DocxSdrExport::writeDMLDrawing(const SdrObject* pSdrObject, const SwFrmFmt*
bool
bLockedCanvas
=
false
;
uno
::
Sequence
<
beans
::
PropertyValue
>
propList
=
lclGetProperty
<
uno
::
Sequence
<
beans
::
PropertyValue
>
>
(
xShape
,
"InteropGrabBag"
);
lclGetProperty
<
uno
::
Sequence
<
beans
::
PropertyValue
>
>
(
xShape
,
"InteropGrabBag"
);
for
(
sal_Int32
nProp
=
0
;
nProp
<
propList
.
getLength
();
++
nProp
)
{
OUString
propName
=
propList
[
nProp
].
Name
;
...
...
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