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
10d67638
Kaydet (Commit)
10d67638
authored
Ock 10, 2015
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Factor out XFillBmpPosItem::dumpAsXml() from sw
Change-Id: I7e483efd3aa96c34fb02affa73ee5ffb9840209c
üst
4c2de252
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
3 deletions
+13
-3
xflbmpit.hxx
include/svx/xflbmpit.hxx
+1
-0
xattr2.cxx
svx/source/xoutdev/xattr2.cxx
+8
-0
nodedump.cxx
sw/source/core/docnode/nodedump.cxx
+4
-3
No files found.
include/svx/xflbmpit.hxx
Dosyayı görüntüle @
10d67638
...
@@ -41,6 +41,7 @@ public:
...
@@ -41,6 +41,7 @@ public:
SVX_DLLPRIVATE
virtual
sal_uInt16
GetValueCount
()
const
SAL_OVERRIDE
;
SVX_DLLPRIVATE
virtual
sal_uInt16
GetValueCount
()
const
SAL_OVERRIDE
;
SVX_DLLPRIVATE
RECT_POINT
GetValue
()
const
{
return
(
RECT_POINT
)
SfxEnumItem
::
GetValue
();
}
SVX_DLLPRIVATE
RECT_POINT
GetValue
()
const
{
return
(
RECT_POINT
)
SfxEnumItem
::
GetValue
();
}
void
dumpAsXml
(
struct
_xmlTextWriter
*
pWriter
)
const
;
};
};
...
...
svx/source/xoutdev/xattr2.cxx
Dosyayı görüntüle @
10d67638
...
@@ -588,6 +588,14 @@ sal_uInt16 XFillBmpPosItem::GetValueCount() const
...
@@ -588,6 +588,14 @@ sal_uInt16 XFillBmpPosItem::GetValueCount() const
return
9
;
return
9
;
}
}
void
XFillBmpPosItem
::
dumpAsXml
(
xmlTextWriterPtr
pWriter
)
const
{
xmlTextWriterStartElement
(
pWriter
,
BAD_CAST
(
"xFillBmpPosItem"
));
xmlTextWriterWriteAttribute
(
pWriter
,
BAD_CAST
(
"whichId"
),
BAD_CAST
(
OString
::
number
(
Which
()).
getStr
()));
xmlTextWriterWriteAttribute
(
pWriter
,
BAD_CAST
(
"value"
),
BAD_CAST
(
OString
::
number
(
GetValue
()).
getStr
()));
xmlTextWriterEndElement
(
pWriter
);
}
// class XFillBmpTileSizeXItem
// class XFillBmpTileSizeXItem
TYPEINIT1_AUTOFACTORY
(
XFillBmpSizeXItem
,
SfxMetricItem
);
TYPEINIT1_AUTOFACTORY
(
XFillBmpSizeXItem
,
SfxMetricItem
);
...
...
sw/source/core/docnode/nodedump.cxx
Dosyayı görüntüle @
10d67638
...
@@ -57,6 +57,7 @@
...
@@ -57,6 +57,7 @@
#include <svx/xbtmpit.hxx>
#include <svx/xbtmpit.hxx>
#include <svx/xfltrit.hxx>
#include <svx/xfltrit.hxx>
#include <svx/xflbmtit.hxx>
#include <svx/xflbmtit.hxx>
#include <svx/xflbmpit.hxx>
#include <tools/datetimeutils.hxx>
#include <tools/datetimeutils.hxx>
#include <libxml/encoding.h>
#include <libxml/encoding.h>
...
@@ -471,6 +472,9 @@ void lcl_dumpSfxItemSet(WriterHelper& writer, const SfxItemSet* pSet)
...
@@ -471,6 +472,9 @@ void lcl_dumpSfxItemSet(WriterHelper& writer, const SfxItemSet* pSet)
case
XATTR_FILLBMP_TILE
:
case
XATTR_FILLBMP_TILE
:
static_cast
<
const
XFillBmpTileItem
*>
(
pItem
)
->
dumpAsXml
(
writer
);
static_cast
<
const
XFillBmpTileItem
*>
(
pItem
)
->
dumpAsXml
(
writer
);
break
;
break
;
case
XATTR_FILLBMP_POS
:
static_cast
<
const
XFillBmpPosItem
*>
(
pItem
)
->
dumpAsXml
(
writer
);
break
;
default
:
bDone
=
false
;
break
;
default
:
bDone
=
false
;
break
;
}
}
if
(
bDone
)
if
(
bDone
)
...
@@ -485,9 +489,6 @@ void lcl_dumpSfxItemSet(WriterHelper& writer, const SfxItemSet* pSet)
...
@@ -485,9 +489,6 @@ void lcl_dumpSfxItemSet(WriterHelper& writer, const SfxItemSet* pSet)
boost
::
optional
<
OString
>
oValue
;
boost
::
optional
<
OString
>
oValue
;
switch
(
pItem
->
Which
())
switch
(
pItem
->
Which
())
{
{
case
XATTR_FILLBMP_POS
:
pWhich
=
"fill bitmap position"
;
break
;
case
XATTR_FILLBMP_STRETCH
:
case
XATTR_FILLBMP_STRETCH
:
pWhich
=
"fill bitmap stretch"
;
pWhich
=
"fill bitmap stretch"
;
break
;
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