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
f2e6a55b
Kaydet (Commit)
f2e6a55b
authored
Ock 23, 2013
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
oox: kill no longer needed US() macro
Change-Id: Id1cd194a5968aa8578d0f2fefb3c75e3d74a25f5
üst
3f02531d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
16 deletions
+15
-16
utils.hxx
oox/inc/oox/export/utils.hxx
+0
-1
drawingml.cxx
oox/source/export/drawingml.cxx
+14
-14
shapes.cxx
oox/source/export/shapes.cxx
+1
-1
pptx-epptooxml.cxx
sd/source/filter/eppt/pptx-epptooxml.cxx
+0
-0
No files found.
oox/inc/oox/export/utils.hxx
Dosyayı görüntüle @
f2e6a55b
...
...
@@ -20,7 +20,6 @@
#ifndef _OOX_EXPORT_UTILS_HXX_
#define _OOX_EXPORT_UTILS_HXX_
#define US(x) rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( x ))
#define I32S(x) rtl::OString::valueOf( (sal_Int32) x ).getStr()
#define I64S(x) rtl::OString::valueOf( (sal_Int64) x ).getStr()
#define IS(x) rtl::OString::valueOf( x ).getStr()
...
...
oox/source/export/drawingml.cxx
Dosyayı görüntüle @
f2e6a55b
...
...
@@ -456,42 +456,42 @@ OUString DrawingML::WriteImage( const Graphic& rGraphic )
switch
(
aLink
.
GetType
()
)
{
case
GFX_LINK_TYPE_NATIVE_GIF
:
sMediaType
=
US
(
"image/gif"
)
;
sMediaType
=
"image/gif"
;
pExtension
=
".gif"
;
break
;
case
GFX_LINK_TYPE_NATIVE_JPG
:
sMediaType
=
US
(
"image/jpeg"
)
;
sMediaType
=
"image/jpeg"
;
pExtension
=
".jpeg"
;
break
;
case
GFX_LINK_TYPE_NATIVE_PNG
:
sMediaType
=
US
(
"image/png"
)
;
sMediaType
=
"image/png"
;
pExtension
=
".png"
;
break
;
case
GFX_LINK_TYPE_NATIVE_TIF
:
sMediaType
=
US
(
"image/tiff"
)
;
sMediaType
=
"image/tiff"
;
pExtension
=
".tiff"
;
break
;
case
GFX_LINK_TYPE_NATIVE_WMF
:
sMediaType
=
US
(
"image/x-wmf"
)
;
sMediaType
=
"image/x-wmf"
;
pExtension
=
".wmf"
;
break
;
case
GFX_LINK_TYPE_NATIVE_MET
:
sMediaType
=
US
(
"image/x-met"
)
;
sMediaType
=
"image/x-met"
;
pExtension
=
".met"
;
break
;
case
GFX_LINK_TYPE_NATIVE_PCT
:
sMediaType
=
US
(
"image/x-pict"
)
;
sMediaType
=
"image/x-pict"
;
pExtension
=
".pct"
;
break
;
default
:
{
GraphicType
aType
=
rGraphic
.
GetType
();
if
(
aType
==
GRAPHIC_BITMAP
)
{
GraphicConverter
::
Export
(
aStream
,
rGraphic
,
CVT_PNG
);
sMediaType
=
US
(
"image/png"
)
;
sMediaType
=
"image/png"
;
pExtension
=
".png"
;
}
else
if
(
aType
==
GRAPHIC_GDIMETAFILE
)
{
GraphicConverter
::
Export
(
aStream
,
rGraphic
,
CVT_EMF
);
sMediaType
=
US
(
"image/x-emf"
)
;
sMediaType
=
"image/x-emf"
;
pExtension
=
".emf"
;
}
else
{
OSL_TRACE
(
"unhandled graphic type"
);
...
...
@@ -515,7 +515,7 @@ OUString DrawingML::WriteImage( const Graphic& rGraphic )
xOutStream
->
closeOutput
();
sRelId
=
mpFB
->
addRelation
(
mpFS
->
getOutputStream
(),
US
(
"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image"
)
,
"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image"
,
OUStringBuffer
()
.
appendAscii
(
GetRelationCompPrefix
()
)
.
appendAscii
(
"media/image"
)
...
...
@@ -826,7 +826,7 @@ void DrawingML::WriteRunProperties( Reference< XPropertySet > rRun, sal_Bool bIs
mAny
>>=
sURL
;
if
(
!
sURL
.
isEmpty
()
)
{
OUString
sRelId
=
mpFB
->
addRelation
(
mpFS
->
getOutputStream
(),
US
(
"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink"
)
,
"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink"
,
sURL
,
true
);
mpFS
->
singleElementNS
(
XML_a
,
XML_hlinkClick
,
...
...
@@ -1029,12 +1029,12 @@ void DrawingML::WriteParagraphNumbering( Reference< XPropertySet > rXPropSet, sa
if
(
aPropName
==
"NumberingType"
)
nNumberingType
=
*
(
(
sal_Int16
*
)
pValue
);
else
if
(
aPropName
==
"Prefix"
)
{
if
(
*
(
OUString
*
)
pValue
==
US
(
")"
)
)
if
(
*
(
OUString
*
)
pValue
==
")"
)
bPBoth
=
true
;
}
else
if
(
aPropName
==
"Suffix"
)
{
if
(
*
(
OUString
*
)
pValue
==
US
(
"."
)
)
if
(
*
(
OUString
*
)
pValue
==
"."
)
bSDot
=
true
;
else
if
(
*
(
OUString
*
)
pValue
==
US
(
")"
)
)
else
if
(
*
(
OUString
*
)
pValue
==
")"
)
bPBehind
=
true
;
}
else
if
(
aPropName
==
"BulletChar"
)
{
...
...
oox/source/export/shapes.cxx
Dosyayı görüntüle @
f2e6a55b
...
...
@@ -1340,7 +1340,7 @@ ShapeExport& ShapeExport::WriteOLE2Shape( Reference< XShape > xShape )
xOutStream
->
closeOutput
();
OUString
sRelId
=
mpFB
->
addRelation
(
mpFS
->
getOutputStream
(),
US
(
"http://schemas.openxmlformats.org/officeDocument/2006/relationships/package"
)
,
"http://schemas.openxmlformats.org/officeDocument/2006/relationships/package"
,
OUStringBuffer
()
.
appendAscii
(
GetRelationCompPrefix
()
)
.
appendAscii
(
"embeddings/spreadsheet"
)
...
...
sd/source/filter/eppt/pptx-epptooxml.cxx
Dosyayı görüntüle @
f2e6a55b
This diff is collapsed.
Click to expand it.
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