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
0748a5f8
Kaydet (Commit)
0748a5f8
authored
Ock 08, 2015
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Factor out XFillTransparenceItem::dumpAsXml() from sw
Change-Id: If8e7a8da9e0ce04dafd2354f31abc249058784a7
üst
9da59f23
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
3 deletions
+15
-3
xfltrit.hxx
include/svx/xfltrit.hxx
+1
-0
xattr2.cxx
svx/source/xoutdev/xattr2.cxx
+10
-0
nodedump.cxx
sw/source/core/docnode/nodedump.cxx
+4
-3
No files found.
include/svx/xfltrit.hxx
Dosyayı görüntüle @
0748a5f8
...
...
@@ -41,6 +41,7 @@ public:
SfxMapUnit
eCoreMetric
,
SfxMapUnit
ePresMetric
,
OUString
&
rText
,
const
IntlWrapper
*
=
0
)
const
SAL_OVERRIDE
;
virtual
void
dumpAsXml
(
struct
_xmlTextWriter
*
pWriter
)
const
;
};
#endif
...
...
svx/source/xoutdev/xattr2.cxx
Dosyayı görüntüle @
0748a5f8
...
...
@@ -32,6 +32,8 @@
#include <vcl/svapp.hxx>
#include <vcl/settings.hxx>
#include <libxml/xmlwriter.h>
TYPEINIT1_AUTOFACTORY
(
XLineTransparenceItem
,
SfxUInt16Item
);
XLineTransparenceItem
::
XLineTransparenceItem
(
sal_uInt16
nLineTransparence
)
:
...
...
@@ -435,6 +437,14 @@ bool XFillTransparenceItem::GetPresentation
}
}
void
XFillTransparenceItem
::
dumpAsXml
(
xmlTextWriterPtr
pWriter
)
const
{
xmlTextWriterStartElement
(
pWriter
,
BAD_CAST
(
"xFillTransparenceItem"
));
xmlTextWriterWriteAttribute
(
pWriter
,
BAD_CAST
(
"whichId"
),
BAD_CAST
(
OString
::
number
(
Which
()).
getStr
()));
xmlTextWriterWriteAttribute
(
pWriter
,
BAD_CAST
(
"value"
),
BAD_CAST
(
OString
::
number
(
GetValue
()).
getStr
()));
xmlTextWriterEndElement
(
pWriter
);
}
TYPEINIT1_AUTOFACTORY
(
XFormTextShadowTranspItem
,
SfxUInt16Item
);
XFormTextShadowTranspItem
::
XFormTextShadowTranspItem
(
sal_uInt16
nShdwTransparence
)
:
...
...
sw/source/core/docnode/nodedump.cxx
Dosyayı görüntüle @
0748a5f8
...
...
@@ -55,6 +55,7 @@
#include <svx/xfillit0.hxx>
#include <svx/xflclit.hxx>
#include <svx/xbtmpit.hxx>
#include <svx/xfltrit.hxx>
#include <tools/datetimeutils.hxx>
#include <libxml/encoding.h>
...
...
@@ -463,6 +464,9 @@ void lcl_dumpSfxItemSet(WriterHelper& writer, const SfxItemSet* pSet)
case
XATTR_FILLBITMAP
:
static_cast
<
const
XFillBitmapItem
*>
(
pItem
)
->
dumpAsXml
(
writer
);
break
;
case
XATTR_FILLTRANSPARENCE
:
static_cast
<
const
XFillTransparenceItem
*>
(
pItem
)
->
dumpAsXml
(
writer
);
break
;
default
:
bDone
=
false
;
break
;
}
if
(
bDone
)
...
...
@@ -477,9 +481,6 @@ void lcl_dumpSfxItemSet(WriterHelper& writer, const SfxItemSet* pSet)
boost
::
optional
<
OString
>
oValue
;
switch
(
pItem
->
Which
())
{
case
XATTR_FILLTRANSPARENCE
:
pWhich
=
"fill transparence"
;
break
;
case
XATTR_FILLBMP_TILE
:
pWhich
=
"fill bitmap tile"
;
break
;
...
...
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