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
3ca2069f
Kaydet (Commit)
3ca2069f
authored
Şub 26, 2014
tarafından
Markus Mohrhard
Kaydeden (comit)
Markus Mohrhard
Şub 26, 2014
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
use const reference for OUString
Change-Id: I66b5f144da7951f36e32a840b8ed70f38539f105
üst
66cbbe4f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
8 deletions
+9
-8
drawingml.hxx
include/oox/export/drawingml.hxx
+5
-4
drawingml.cxx
oox/source/export/drawingml.cxx
+4
-4
No files found.
include/oox/export/drawingml.hxx
Dosyayı görüntüle @
3ca2069f
...
@@ -136,11 +136,12 @@ public:
...
@@ -136,11 +136,12 @@ public:
void
WriteGradientFill
(
::
com
::
sun
::
star
::
awt
::
Gradient
rGradient
);
void
WriteGradientFill
(
::
com
::
sun
::
star
::
awt
::
Gradient
rGradient
);
void
WriteGrabBagGradientFill
(
::
com
::
sun
::
star
::
uno
::
Sequence
<
::
com
::
sun
::
star
::
beans
::
PropertyValue
>
aGradientStops
,
::
com
::
sun
::
star
::
awt
::
Gradient
rGradient
);
void
WriteGrabBagGradientFill
(
::
com
::
sun
::
star
::
uno
::
Sequence
<
::
com
::
sun
::
star
::
beans
::
PropertyValue
>
aGradientStops
,
::
com
::
sun
::
star
::
awt
::
Gradient
rGradient
);
void
WriteBlipFill
(
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
beans
::
XPropertySet
>
rXPropSet
,
void
WriteBlipFill
(
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
beans
::
XPropertySet
>
rXPropSet
,
OUString
sBitmapURL
,
sal_Int32
nXmlNamespace
,
const
OUString
&
sBitmapURL
,
sal_Int32
nXmlNamespace
,
bool
bWriteMode
,
bool
bRelPathToMedia
=
false
);
bool
bWriteMode
,
bool
bRelPathToMedia
=
false
);
void
WriteBlipFill
(
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
beans
::
XPropertySet
>
rXPropSet
,
OUString
sURLPropName
);
void
WriteBlipFill
(
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
beans
::
XPropertySet
>
rXPropSet
,
void
WriteBlipFill
(
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
beans
::
XPropertySet
>
rXPropSet
,
OUString
sURLPropName
,
sal_Int32
nXmlNamespace
);
const
OUString
&
sURLPropName
);
void
WriteBlipFill
(
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
beans
::
XPropertySet
>
rXPropSet
,
const
OUString
&
sURLPropName
,
sal_Int32
nXmlNamespace
);
void
WritePattFill
(
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
beans
::
XPropertySet
>
rXPropSet
);
void
WritePattFill
(
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
beans
::
XPropertySet
>
rXPropSet
);
void
WriteSrcRect
(
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
beans
::
XPropertySet
>
,
const
OUString
&
);
void
WriteSrcRect
(
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
beans
::
XPropertySet
>
,
const
OUString
&
);
void
WriteOutline
(
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
beans
::
XPropertySet
>
rXPropSet
);
void
WriteOutline
(
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
beans
::
XPropertySet
>
rXPropSet
);
...
@@ -148,7 +149,7 @@ public:
...
@@ -148,7 +149,7 @@ public:
void
WriteLinespacing
(
::
com
::
sun
::
star
::
style
::
LineSpacing
&
rLineSpacing
);
void
WriteLinespacing
(
::
com
::
sun
::
star
::
style
::
LineSpacing
&
rLineSpacing
);
OUString
WriteBlip
(
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
beans
::
XPropertySet
>
rXPropSet
,
OUString
WriteBlip
(
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
beans
::
XPropertySet
>
rXPropSet
,
OUString
&
rURL
,
bool
bRelPathToMedia
=
false
,
const
Graphic
*
pGraphic
=
NULL
);
const
OUString
&
rURL
,
bool
bRelPathToMedia
=
false
,
const
Graphic
*
pGraphic
=
NULL
);
void
WriteBlipMode
(
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
beans
::
XPropertySet
>
rXPropSet
,
const
OUString
&
rURL
);
void
WriteBlipMode
(
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
beans
::
XPropertySet
>
rXPropSet
,
const
OUString
&
rURL
);
void
WriteShapeTransformation
(
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
drawing
::
XShape
>
rXShape
,
void
WriteShapeTransformation
(
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
drawing
::
XShape
>
rXShape
,
...
...
oox/source/export/drawingml.cxx
Dosyayı görüntüle @
3ca2069f
...
@@ -804,7 +804,7 @@ OUString DrawingML::WriteImage( const Graphic& rGraphic , bool bRelPathToMedia )
...
@@ -804,7 +804,7 @@ OUString DrawingML::WriteImage( const Graphic& rGraphic , bool bRelPathToMedia )
return
sRelId
;
return
sRelId
;
}
}
OUString
DrawingML
::
WriteBlip
(
Reference
<
XPropertySet
>
rXPropSet
,
OUString
&
rURL
,
bool
bRelPathToMedia
,
const
Graphic
*
pGraphic
)
OUString
DrawingML
::
WriteBlip
(
Reference
<
XPropertySet
>
rXPropSet
,
const
OUString
&
rURL
,
bool
bRelPathToMedia
,
const
Graphic
*
pGraphic
)
{
{
OUString
sRelId
=
pGraphic
?
WriteImage
(
*
pGraphic
,
bRelPathToMedia
)
:
WriteImage
(
rURL
,
bRelPathToMedia
);
OUString
sRelId
=
pGraphic
?
WriteImage
(
*
pGraphic
,
bRelPathToMedia
)
:
WriteImage
(
rURL
,
bRelPathToMedia
);
sal_Int16
nBright
=
0
;
sal_Int16
nBright
=
0
;
...
@@ -847,12 +847,12 @@ void DrawingML::WriteBlipMode( Reference< XPropertySet > rXPropSet, const OUStri
...
@@ -847,12 +847,12 @@ void DrawingML::WriteBlipMode( Reference< XPropertySet > rXPropSet, const OUStri
}
}
}
}
void
DrawingML
::
WriteBlipFill
(
Reference
<
XPropertySet
>
rXPropSet
,
OUString
sURLPropName
)
void
DrawingML
::
WriteBlipFill
(
Reference
<
XPropertySet
>
rXPropSet
,
const
OUString
&
sURLPropName
)
{
{
WriteBlipFill
(
rXPropSet
,
sURLPropName
,
XML_a
);
WriteBlipFill
(
rXPropSet
,
sURLPropName
,
XML_a
);
}
}
void
DrawingML
::
WriteBlipFill
(
Reference
<
XPropertySet
>
rXPropSet
,
OUString
sURLPropName
,
sal_Int32
nXmlNamespace
)
void
DrawingML
::
WriteBlipFill
(
Reference
<
XPropertySet
>
rXPropSet
,
const
OUString
&
sURLPropName
,
sal_Int32
nXmlNamespace
)
{
{
if
(
GetProperty
(
rXPropSet
,
sURLPropName
)
)
{
if
(
GetProperty
(
rXPropSet
,
sURLPropName
)
)
{
OUString
aURL
;
OUString
aURL
;
...
@@ -864,7 +864,7 @@ void DrawingML::WriteBlipFill( Reference< XPropertySet > rXPropSet, OUString sUR
...
@@ -864,7 +864,7 @@ void DrawingML::WriteBlipFill( Reference< XPropertySet > rXPropSet, OUString sUR
}
}
}
}
void
DrawingML
::
WriteBlipFill
(
Reference
<
XPropertySet
>
rXPropSet
,
OUString
sBitmapURL
,
sal_Int32
nXmlNamespace
,
bool
bWriteMode
,
bool
bRelPathToMedia
)
void
DrawingML
::
WriteBlipFill
(
Reference
<
XPropertySet
>
rXPropSet
,
const
OUString
&
sBitmapURL
,
sal_Int32
nXmlNamespace
,
bool
bWriteMode
,
bool
bRelPathToMedia
)
{
{
if
(
!
sBitmapURL
.
isEmpty
()
)
{
if
(
!
sBitmapURL
.
isEmpty
()
)
{
DBG
(
fprintf
(
stderr
,
"URL: %s
\n
"
,
OUStringToOString
(
sBitmapURL
,
RTL_TEXTENCODING_UTF8
).
getStr
()
));
DBG
(
fprintf
(
stderr
,
"URL: %s
\n
"
,
OUStringToOString
(
sBitmapURL
,
RTL_TEXTENCODING_UTF8
).
getStr
()
));
...
...
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