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
daebeae5
Kaydet (Commit)
daebeae5
authored
Ara 28, 2014
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Factor out SwFmtWrapInfluenceOnObjPos::dumpAsXml() from docnode
Change-Id: I8c52801178c5cf80398a19ebe40d336c69db8065
üst
d5ac1754
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
7 deletions
+16
-7
fmtwrapinfluenceonobjpos.hxx
sw/inc/fmtwrapinfluenceonobjpos.hxx
+2
-0
fmtwrapinfluenceonobjpos.cxx
sw/source/core/attr/fmtwrapinfluenceonobjpos.cxx
+9
-0
init.cxx
sw/source/core/bastyp/init.cxx
+1
-2
nodedump.cxx
sw/source/core/docnode/nodedump.cxx
+4
-5
No files found.
sw/inc/fmtwrapinfluenceonobjpos.hxx
Dosyayı görüntüle @
daebeae5
...
...
@@ -56,6 +56,8 @@ public:
/// to control, if value <ITERATIVE> has to be treated as <ONCE_CONCURRENT>
sal_Int16
GetWrapInfluenceOnObjPos
(
const
bool
_bIterativeAsOnceConcurrent
=
false
)
const
;
void
dumpAsXml
(
struct
_xmlTextWriter
*
pWriter
)
const
;
};
inline
const
SwFmtWrapInfluenceOnObjPos
&
SwAttrSet
::
GetWrapInfluenceOnObjPos
(
bool
bInP
)
const
...
...
sw/source/core/attr/fmtwrapinfluenceonobjpos.cxx
Dosyayı görüntüle @
daebeae5
...
...
@@ -20,6 +20,7 @@
#include <fmtwrapinfluenceonobjpos.hxx>
#include <unomid.h>
#include <osl/diagnose.h>
#include <libxml/xmlwriter.h>
using
namespace
::
com
::
sun
::
star
;
using
namespace
::
com
::
sun
::
star
::
uno
;
...
...
@@ -138,4 +139,12 @@ sal_Int16 SwFmtWrapInfluenceOnObjPos::GetWrapInfluenceOnObjPos(
return
nWrapInfluenceOnPosition
;
}
void
SwFmtWrapInfluenceOnObjPos
::
dumpAsXml
(
xmlTextWriterPtr
pWriter
)
const
{
xmlTextWriterStartElement
(
pWriter
,
BAD_CAST
(
"swFmtWrapInfluenceOnObjPos"
));
xmlTextWriterWriteAttribute
(
pWriter
,
BAD_CAST
(
"whichId"
),
BAD_CAST
(
OString
::
number
(
Which
()).
getStr
()));
xmlTextWriterWriteAttribute
(
pWriter
,
BAD_CAST
(
"nWrapInfluenceOnPosition"
),
BAD_CAST
(
OString
::
number
(
mnWrapInfluenceOnPosition
).
getStr
()));
xmlTextWriterEndElement
(
pWriter
);
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
sw/source/core/bastyp/init.cxx
Dosyayı görüntüle @
daebeae5
...
...
@@ -612,8 +612,7 @@ void _InitCore()
aAttrTab
[
RES_COLLAPSING_BORDERS
-
POOLATTR_BEGIN
]
=
new
SfxBoolItem
(
RES_COLLAPSING_BORDERS
,
false
);
// #i28701#
// #i35017# - constant name has changed
aAttrTab
[
RES_WRAP_INFLUENCE_ON_OBJPOS
-
POOLATTR_BEGIN
]
=
new
SwFmtWrapInfluenceOnObjPos
(
text
::
WrapInfluenceOnPosition
::
ONCE_CONCURRENT
);
aAttrTab
[
RES_WRAP_INFLUENCE_ON_OBJPOS
-
POOLATTR_BEGIN
]
=
new
SwFmtWrapInfluenceOnObjPos
(
text
::
WrapInfluenceOnPosition
::
ONCE_CONCURRENT
);
aAttrTab
[
RES_AUTO_STYLE
-
POOLATTR_BEGIN
]
=
new
SwFmtAutoFmt
(
RES_AUTO_STYLE
);
aAttrTab
[
RES_FRMATR_STYLE_NAME
-
POOLATTR_BEGIN
]
=
new
SfxStringItem
(
RES_FRMATR_STYLE_NAME
,
OUString
());
...
...
sw/source/core/docnode/nodedump.cxx
Dosyayı görüntüle @
daebeae5
...
...
@@ -37,6 +37,7 @@
#include "pagedesc.hxx"
#include "fchrfmt.hxx"
#include "fmtfollowtextflow.hxx"
#include "fmtwrapinfluenceonobjpos.hxx"
#include <swmodule.hxx>
#include <svl/itemiter.hxx>
#include <svl/intitem.hxx>
...
...
@@ -445,6 +446,9 @@ void lcl_dumpSfxItemSet(WriterHelper& writer, const SfxItemSet* pSet)
case
RES_FOLLOW_TEXT_FLOW
:
static_cast
<
const
SwFmtFollowTextFlow
*>
(
pItem
)
->
dumpAsXml
(
writer
);
break
;
case
RES_WRAP_INFLUENCE_ON_OBJPOS
:
static_cast
<
const
SwFmtWrapInfluenceOnObjPos
*>
(
pItem
)
->
dumpAsXml
(
writer
);
break
;
default
:
bDone
=
false
;
break
;
}
if
(
bDone
)
...
...
@@ -459,11 +463,6 @@ void lcl_dumpSfxItemSet(WriterHelper& writer, const SfxItemSet* pSet)
boost
::
optional
<
OString
>
oValue
;
switch
(
pItem
->
Which
())
{
case
RES_WRAP_INFLUENCE_ON_OBJPOS
:
{
pWhich
=
"frame wrap influence on object position"
;
break
;
}
case
XATTR_FILLSTYLE
:
{
pWhich
=
"fill style"
;
...
...
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