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
b32539d0
Kaydet (Commit)
b32539d0
authored
Agu 08, 2014
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
sw: improve doc model xml dump of SwFmtAnchor
Change-Id: Icdfc370c4b525fd43d9d5935ff461534cf535233
üst
2ba698a2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
1 deletion
+22
-1
nodedump.cxx
sw/source/core/docnode/nodedump.cxx
+22
-1
No files found.
sw/source/core/docnode/nodedump.cxx
Dosyayı görüntüle @
b32539d0
...
@@ -438,9 +438,30 @@ void lcl_dumpSfxItemSet(WriterHelper& writer, const SfxItemSet* pSet)
...
@@ -438,9 +438,30 @@ void lcl_dumpSfxItemSet(WriterHelper& writer, const SfxItemSet* pSet)
{
{
pWhich
=
"frame anchor"
;
pWhich
=
"frame anchor"
;
const
SwFmtAnchor
*
pAnchor
=
static_cast
<
const
SwFmtAnchor
*>
(
pItem
);
const
SwFmtAnchor
*
pAnchor
=
static_cast
<
const
SwFmtAnchor
*>
(
pItem
);
switch
(
pAnchor
->
GetAnchorId
())
{
case
FLY_AT_PARA
:
oValue
=
"anchor type: at-para"
;
break
;
case
FLY_AS_CHAR
:
oValue
=
"anchor type: as-char"
;
break
;
case
FLY_AT_PAGE
:
oValue
=
"anchor type: at-page"
;
break
;
case
FLY_AT_FLY
:
oValue
=
"anchor type: at-fly"
;
break
;
case
FLY_AT_CHAR
:
oValue
=
"anchor type: at-char"
;
break
;
default
:
oValue
=
"anchor type: "
+
OString
::
number
(
pAnchor
->
GetAnchorId
());
break
;
}
const
SwPosition
*
pPosition
=
pAnchor
->
GetCntntAnchor
();
const
SwPosition
*
pPosition
=
pAnchor
->
GetCntntAnchor
();
if
(
pPosition
)
if
(
pPosition
)
oValue
=
"
node index: "
+
OString
::
number
(
pPosition
->
nNode
.
GetNode
().
GetIndex
())
+
", index: "
+
OString
::
number
(
pPosition
->
nContent
.
GetIndex
());
oValue
=
*
oValue
+
",
node index: "
+
OString
::
number
(
pPosition
->
nNode
.
GetNode
().
GetIndex
())
+
", index: "
+
OString
::
number
(
pPosition
->
nContent
.
GetIndex
());
break
;
break
;
}
}
case
RES_SURROUND
:
case
RES_SURROUND
:
...
...
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