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
71edf281
Kaydet (Commit)
71edf281
authored
Ock 20, 2015
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Factor out SvxShadowItem::dumpAsXml() from sw
Change-Id: Id25a050a9840d83cff4b390faec7478f17336524
üst
be06f343
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
3 deletions
+15
-3
frmitems.cxx
editeng/source/items/frmitems.cxx
+11
-0
shaditem.hxx
include/editeng/shaditem.hxx
+1
-0
nodedump.cxx
sw/source/core/docnode/nodedump.cxx
+3
-3
No files found.
editeng/source/items/frmitems.cxx
Dosyayı görüntüle @
71edf281
...
...
@@ -1589,6 +1589,17 @@ void SvxShadowItem::SetEnumValue( sal_uInt16 nVal )
SetLocation
(
(
const
SvxShadowLocation
)
nVal
);
}
void
SvxShadowItem
::
dumpAsXml
(
xmlTextWriterPtr
pWriter
)
const
{
xmlTextWriterStartElement
(
pWriter
,
BAD_CAST
(
"svxShadowItem"
));
xmlTextWriterWriteAttribute
(
pWriter
,
BAD_CAST
(
"whichId"
),
BAD_CAST
(
OString
::
number
(
Which
()).
getStr
()));
xmlTextWriterWriteAttribute
(
pWriter
,
BAD_CAST
(
"aShadowColor"
),
BAD_CAST
(
aShadowColor
.
AsRGBHexString
().
toUtf8
().
getStr
()));
xmlTextWriterWriteAttribute
(
pWriter
,
BAD_CAST
(
"nWidth"
),
BAD_CAST
(
OString
::
number
(
nWidth
).
getStr
()));
xmlTextWriterWriteAttribute
(
pWriter
,
BAD_CAST
(
"eLocation"
),
BAD_CAST
(
OString
::
number
(
eLocation
).
getStr
()));
xmlTextWriterWriteAttribute
(
pWriter
,
BAD_CAST
(
"presentation"
),
BAD_CAST
(
EE_RESSTR
(
RID_SVXITEMS_SHADOW_BEGIN
+
eLocation
).
toUtf8
().
getStr
()));
xmlTextWriterEndElement
(
pWriter
);
}
// class SvxBoxItem ------------------------------------------------------
SvxBoxItem
::
SvxBoxItem
(
const
SvxBoxItem
&
rCpy
)
:
...
...
include/editeng/shaditem.hxx
Dosyayı görüntüle @
71edf281
...
...
@@ -83,6 +83,7 @@ public:
virtual
OUString
GetValueTextByPos
(
sal_uInt16
nPos
)
const
SAL_OVERRIDE
;
virtual
sal_uInt16
GetEnumValue
()
const
SAL_OVERRIDE
;
virtual
void
SetEnumValue
(
sal_uInt16
nNewVal
)
SAL_OVERRIDE
;
void
dumpAsXml
(
struct
_xmlTextWriter
*
pWriter
)
const
;
};
inline
SvxShadowItem
&
SvxShadowItem
::
operator
=
(
const
SvxShadowItem
&
rFmtShadow
)
...
...
sw/source/core/docnode/nodedump.cxx
Dosyayı görüntüle @
71edf281
...
...
@@ -496,6 +496,9 @@ void lcl_dumpSfxItemSet(WriterHelper& writer, const SfxItemSet* pSet)
case
RES_UL_SPACE
:
static_cast
<
const
SvxULSpaceItem
*>
(
pItem
)
->
dumpAsXml
(
writer
);
break
;
case
RES_SHADOW
:
static_cast
<
const
SvxShadowItem
*>
(
pItem
)
->
dumpAsXml
(
writer
);
break
;
default
:
bDone
=
false
;
break
;
}
if
(
bDone
)
...
...
@@ -510,9 +513,6 @@ void lcl_dumpSfxItemSet(WriterHelper& writer, const SfxItemSet* pSet)
boost
::
optional
<
OString
>
oValue
;
switch
(
pItem
->
Which
())
{
case
RES_SHADOW
:
pWhich
=
"shadow"
;
break
;
case
RES_PAGEDESC
:
{
pWhich
=
"page description"
;
...
...
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