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
107bae41
Kaydet (Commit)
107bae41
authored
Ock 15, 2015
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Factor out SwFmtNoBalancedColumns::dumpAsXml() from docnode
Change-Id: I22f500cb6b62ac4ed7158bc68fa76f84173bc86d
üst
bb79f1ef
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
3 deletions
+13
-3
fmtclbl.hxx
sw/inc/fmtclbl.hxx
+1
-0
nodedump.cxx
sw/source/core/docnode/nodedump.cxx
+4
-3
atrfrm.cxx
sw/source/core/layout/atrfrm.cxx
+8
-0
No files found.
sw/inc/fmtclbl.hxx
Dosyayı görüntüle @
107bae41
...
@@ -33,6 +33,7 @@ public:
...
@@ -33,6 +33,7 @@ public:
/// "pure virtual methods" of SfxPoolItem
/// "pure virtual methods" of SfxPoolItem
virtual
SfxPoolItem
*
Clone
(
SfxItemPool
*
pPool
=
0
)
const
SAL_OVERRIDE
;
virtual
SfxPoolItem
*
Clone
(
SfxItemPool
*
pPool
=
0
)
const
SAL_OVERRIDE
;
void
dumpAsXml
(
struct
_xmlTextWriter
*
pWriter
)
const
;
};
};
inline
const
SwFmtNoBalancedColumns
&
SwAttrSet
::
GetBalancedColumns
(
bool
bInP
)
const
inline
const
SwFmtNoBalancedColumns
&
SwAttrSet
::
GetBalancedColumns
(
bool
bInP
)
const
...
...
sw/source/core/docnode/nodedump.cxx
Dosyayı görüntüle @
107bae41
...
@@ -25,6 +25,7 @@
...
@@ -25,6 +25,7 @@
#include "fmtcntnt.hxx"
#include "fmtcntnt.hxx"
#include "fmtornt.hxx"
#include "fmtornt.hxx"
#include "fmtfsize.hxx"
#include "fmtfsize.hxx"
#include "fmtclbl.hxx"
#include "fmteiro.hxx"
#include "fmteiro.hxx"
#include "charfmt.hxx"
#include "charfmt.hxx"
#include "frmfmt.hxx"
#include "frmfmt.hxx"
...
@@ -486,6 +487,9 @@ void lcl_dumpSfxItemSet(WriterHelper& writer, const SfxItemSet* pSet)
...
@@ -486,6 +487,9 @@ void lcl_dumpSfxItemSet(WriterHelper& writer, const SfxItemSet* pSet)
case
RES_EDIT_IN_READONLY
:
case
RES_EDIT_IN_READONLY
:
static_cast
<
const
SwFmtEditInReadonly
*>
(
pItem
)
->
dumpAsXml
(
writer
);
static_cast
<
const
SwFmtEditInReadonly
*>
(
pItem
)
->
dumpAsXml
(
writer
);
break
;
break
;
case
RES_COLUMNBALANCE
:
static_cast
<
const
SwFmtNoBalancedColumns
*>
(
pItem
)
->
dumpAsXml
(
writer
);
break
;
default
:
bDone
=
false
;
break
;
default
:
bDone
=
false
;
break
;
}
}
if
(
bDone
)
if
(
bDone
)
...
@@ -500,9 +504,6 @@ void lcl_dumpSfxItemSet(WriterHelper& writer, const SfxItemSet* pSet)
...
@@ -500,9 +504,6 @@ void lcl_dumpSfxItemSet(WriterHelper& writer, const SfxItemSet* pSet)
boost
::
optional
<
OString
>
oValue
;
boost
::
optional
<
OString
>
oValue
;
switch
(
pItem
->
Which
())
switch
(
pItem
->
Which
())
{
{
case
RES_COLUMNBALANCE
:
pWhich
=
"column balance"
;
break
;
case
RES_LR_SPACE
:
case
RES_LR_SPACE
:
pWhich
=
"left-right space"
;
pWhich
=
"left-right space"
;
break
;
break
;
...
...
sw/source/core/layout/atrfrm.cxx
Dosyayı görüntüle @
107bae41
...
@@ -1912,6 +1912,14 @@ SfxPoolItem* SwFmtNoBalancedColumns::Clone( SfxItemPool* ) const
...
@@ -1912,6 +1912,14 @@ SfxPoolItem* SwFmtNoBalancedColumns::Clone( SfxItemPool* ) const
return
new
SwFmtNoBalancedColumns
(
GetValue
()
);
return
new
SwFmtNoBalancedColumns
(
GetValue
()
);
}
}
void
SwFmtNoBalancedColumns
::
dumpAsXml
(
xmlTextWriterPtr
pWriter
)
const
{
xmlTextWriterStartElement
(
pWriter
,
BAD_CAST
(
"swFmtNoBalancedColumns"
));
xmlTextWriterWriteAttribute
(
pWriter
,
BAD_CAST
(
"whichId"
),
BAD_CAST
(
OString
::
number
(
Which
()).
getStr
()));
xmlTextWriterWriteAttribute
(
pWriter
,
BAD_CAST
(
"value"
),
BAD_CAST
(
OString
::
boolean
(
GetValue
()).
getStr
()));
xmlTextWriterEndElement
(
pWriter
);
}
// class SwFmtFtnEndAtTxtEnd
// class SwFmtFtnEndAtTxtEnd
sal_uInt16
SwFmtFtnEndAtTxtEnd
::
GetValueCount
()
const
sal_uInt16
SwFmtFtnEndAtTxtEnd
::
GetValueCount
()
const
...
...
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