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
e6b2860e
Kaydet (Commit)
e6b2860e
authored
Şub 13, 2015
tarafından
Miklos Vajna
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Extract SwTxtFmtColl::dumpAsXml() from docnode
Change-Id: I3ffe83afa0e0e6f181f75319af3d5cbcc78de395
üst
1e970284
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
9 deletions
+13
-9
fmtcol.hxx
sw/inc/fmtcol.hxx
+2
-0
fmtcol.cxx
sw/source/core/doc/fmtcol.cxx
+10
-0
nodedump.cxx
sw/source/core/docnode/nodedump.cxx
+1
-9
No files found.
sw/inc/fmtcol.hxx
Dosyayı görüntüle @
e6b2860e
...
...
@@ -130,6 +130,8 @@ public:
}
bool
AreListLevelIndentsApplicable
()
const
;
void
dumpAsXml
(
struct
_xmlTextWriter
*
pWriter
)
const
;
};
class
SwGrfFmtColl
:
public
SwFmtColl
...
...
sw/source/core/doc/fmtcol.cxx
Dosyayı görüntüle @
e6b2860e
...
...
@@ -17,6 +17,8 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
#include <libxml/xmlwriter.h>
#include <sal/macros.h>
#include <hintids.hxx>
#include <editeng/ulspitem.hxx>
...
...
@@ -462,6 +464,14 @@ bool SwTxtFmtColl::AreListLevelIndentsApplicable() const
return
bAreListLevelIndentsApplicable
;
}
void
SwTxtFmtColl
::
dumpAsXml
(
xmlTextWriterPtr
pWriter
)
const
{
xmlTextWriterStartElement
(
pWriter
,
BAD_CAST
(
"swTxtFmtColl"
));
xmlTextWriterWriteAttribute
(
pWriter
,
BAD_CAST
(
"name"
),
BAD_CAST
(
GetName
().
toUtf8
().
getStr
()));
GetAttrSet
().
dumpAsXml
(
pWriter
);
xmlTextWriterEndElement
(
pWriter
);
}
//FEATURE::CONDCOLL
SwCollCondition
::
SwCollCondition
(
SwTxtFmtColl
*
pColl
,
sal_uLong
nMasterCond
,
...
...
sw/source/core/docnode/nodedump.cxx
Dosyayı görüntüle @
e6b2860e
...
...
@@ -308,15 +308,7 @@ void SwTxtFmtColls::dumpAsXml(xmlTextWriterPtr w) const
{
writer
.
startElement
(
"swtxtfmtcolls"
);
for
(
size_t
i
=
0
;
i
<
size
();
++
i
)
{
const
SwTxtFmtColl
*
pColl
=
GetFmt
(
i
);
writer
.
startElement
(
"swtxtfmtcoll"
);
OString
aName
=
OUStringToOString
(
pColl
->
GetName
(),
RTL_TEXTENCODING_UTF8
);
writer
.
writeFormatAttribute
(
"name"
,
"%s"
,
BAD_CAST
(
aName
.
getStr
()));
pColl
->
GetAttrSet
().
dumpAsXml
(
w
);
writer
.
endElement
();
}
GetFmt
(
i
)
->
dumpAsXml
(
w
);
writer
.
endElement
();
}
}
...
...
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