[Libreoffice-commits] core.git: editeng/source sc/source sd/qa sd/source sfx2/source svl/source svx/source sw/qa sw/source
Noel Grandin
noel.grandin at collabora.co.uk
Wed Nov 16 09:21:29 UTC 2016
editeng/source/editeng/editattr.cxx | 2 +-
editeng/source/editeng/editdoc.cxx | 8 ++++----
editeng/source/editeng/editobj.cxx | 4 ++--
editeng/source/items/frmitems.cxx | 10 +++++-----
editeng/source/items/numitem.cxx | 4 ++--
editeng/source/items/textitem.cxx | 12 ++++++------
editeng/source/outliner/outliner.cxx | 2 +-
editeng/source/outliner/outlobj.cxx | 2 +-
editeng/source/outliner/paralist.cxx | 4 ++--
sc/source/core/data/attrib.cxx | 2 +-
sd/qa/unit/tiledrendering/tiledrendering.cxx | 14 +++++++-------
sd/source/core/drawdoc.cxx | 2 +-
sd/source/core/sdpage2.cxx | 2 +-
sfx2/source/view/viewsh.cxx | 2 +-
svl/source/items/cenumitm.cxx | 2 +-
svl/source/items/intitem.cxx | 2 +-
svl/source/items/itempool.cxx | 2 +-
svl/source/items/itemset.cxx | 2 +-
svl/source/items/poolitem.cxx | 4 ++--
svl/source/items/stritem.cxx | 2 +-
svl/source/undo/undo.cxx | 6 +++---
svx/source/sdr/properties/defaultproperties.cxx | 2 +-
svx/source/svdraw/svdmodel.cxx | 2 +-
svx/source/svdraw/svdobj.cxx | 2 +-
svx/source/svdraw/svdogrp.cxx | 2 +-
svx/source/svdraw/svdpage.cxx | 2 +-
svx/source/svdraw/svdtext.cxx | 2 +-
svx/source/table/cell.cxx | 2 +-
svx/source/table/svdotable.cxx | 4 ++--
svx/source/table/tablelayouter.cxx | 4 ++--
svx/source/table/tablemodel.cxx | 2 +-
svx/source/xoutdev/xattr.cxx | 6 +++---
svx/source/xoutdev/xattr2.cxx | 8 ++++----
svx/source/xoutdev/xattrbmp.cxx | 2 +-
sw/qa/extras/ooxmlexport/ooxmlexport.cxx | 2 +-
sw/qa/extras/uiwriter/uiwriter.cxx | 8 ++++----
sw/source/core/attr/fmtwrapinfluenceonobjpos.cxx | 2 +-
sw/source/core/crsr/bookmrk.cxx | 4 ++--
sw/source/core/crsr/crsrsh.cxx | 2 +-
sw/source/core/crsr/pam.cxx | 4 ++--
sw/source/core/doc/docbm.cxx | 2 +-
sw/source/core/doc/docfmt.cxx | 4 ++--
sw/source/core/doc/docredln.cxx | 8 ++++----
sw/source/core/doc/fmtcol.cxx | 4 ++--
sw/source/core/doc/number.cxx | 4 ++--
sw/source/core/docnode/nodes.cxx | 2 +-
sw/source/core/docnode/section.cxx | 4 ++--
sw/source/core/fields/docufld.cxx | 2 +-
sw/source/core/fields/fldbas.cxx | 4 ++--
sw/source/core/layout/atrfrm.cxx | 22 +++++++++++-----------
sw/source/core/para/paratr.cxx | 2 +-
sw/source/core/text/xmldump.cxx | 2 +-
sw/source/core/txtnode/atrfld.cxx | 2 +-
sw/source/core/txtnode/chrfmt.cxx | 4 ++--
sw/source/core/txtnode/fmtatr2.cxx | 2 +-
sw/source/core/txtnode/ndtxt.cxx | 8 ++++----
sw/source/core/txtnode/txatbase.cxx | 2 +-
sw/source/core/view/viewsh.cxx | 2 +-
sw/source/uibase/uiview/viewprt.cxx | 2 +-
sw/source/uibase/utlui/attrdesc.cxx | 4 ++--
60 files changed, 119 insertions(+), 119 deletions(-)
New commits:
commit 72ffa98e892ad1b64ff3a00b1e26a995cba3076f
Author: Noel Grandin <noel.grandin at collabora.co.uk>
Date: Wed Nov 16 08:59:00 2016 +0200
make the element names in dumpAsXml match the class names
Change-Id: I955facfe3e901fcb76798dab342f96a67d5ac63f
Reviewed-on: https://gerrit.libreoffice.org/30894
Tested-by: Jenkins <ci at libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin at collabora.co.uk>
diff --git a/editeng/source/editeng/editattr.cxx b/editeng/source/editeng/editattr.cxx
index dbd428b..33dd25b 100644
--- a/editeng/source/editeng/editattr.cxx
+++ b/editeng/source/editeng/editattr.cxx
@@ -71,7 +71,7 @@ void EditCharAttrib::SetFont( SvxFont&, OutputDevice* )
void EditCharAttrib::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("editCharAttrib"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("EditCharAttrib"));
xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("nStart"), "%d", nStart);
xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("nEnd"), "%d", nEnd);
pItem->dumpAsXml(pWriter);
diff --git a/editeng/source/editeng/editdoc.cxx b/editeng/source/editeng/editdoc.cxx
index cdc06a8..a7a73ce 100644
--- a/editeng/source/editeng/editdoc.cxx
+++ b/editeng/source/editeng/editdoc.cxx
@@ -1859,7 +1859,7 @@ void ContentNode::DestroyWrongList()
void ContentNode::dumpAsXml(struct _xmlTextWriter* pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("contentNode"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("ContentNode"));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("maString"), BAD_CAST(maString.toUtf8().getStr()));
aContentAttribs.dumpAsXml(pWriter);
aCharAttribList.dumpAsXml(pWriter);
@@ -1943,7 +1943,7 @@ bool ContentAttribs::HasItem( sal_uInt16 nWhich ) const
void ContentAttribs::dumpAsXml(struct _xmlTextWriter* pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("contentAttribs"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("ContentAttribs"));
xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("style"), "%s", pStyle->GetName().toUtf8().getStr());
aAttribSet.dumpAsXml(pWriter);
xmlTextWriterEndElement(pWriter);
@@ -2749,7 +2749,7 @@ void EditDoc::dumpAsXml(struct _xmlTextWriter* pWriter) const
bOwns = true;
}
- xmlTextWriterStartElement(pWriter, BAD_CAST("editDoc"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("EditDoc"));
for (auto const & i : maContents)
{
i->dumpAsXml(pWriter);
@@ -3065,7 +3065,7 @@ void CharAttribList::DbgCheckAttribs(CharAttribList const& rAttribs)
void CharAttribList::dumpAsXml(struct _xmlTextWriter* pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("charAttribList"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("CharAttribList"));
for (auto const & i : aAttribs) {
i->dumpAsXml(pWriter);
}
diff --git a/editeng/source/editeng/editobj.cxx b/editeng/source/editeng/editobj.cxx
index 33939f5f6..06e20d9 100644
--- a/editeng/source/editeng/editobj.cxx
+++ b/editeng/source/editeng/editobj.cxx
@@ -166,7 +166,7 @@ void ContentInfo::SetText( const OUString& rStr )
void ContentInfo::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("contentInfo"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("ContentInfo"));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("style"), BAD_CAST(aStyle.toUtf8().getStr()));
xmlTextWriterStartElement(pWriter, BAD_CAST("text"));
xmlTextWriterWriteString(pWriter, BAD_CAST(GetText().toUtf8().getStr()));
@@ -458,7 +458,7 @@ void EditTextObject::dumpAsXml(xmlTextWriterPtr pWriter) const
bOwns = true;
}
- xmlTextWriterStartElement(pWriter, BAD_CAST("editTextObject"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("EditTextObject"));
sal_Int32 nCount = GetParagraphCount();
for (sal_Int32 i = 0; i < nCount; ++i)
{
diff --git a/editeng/source/items/frmitems.cxx b/editeng/source/items/frmitems.cxx
index 20b8511..dc659e9 100644
--- a/editeng/source/items/frmitems.cxx
+++ b/editeng/source/items/frmitems.cxx
@@ -823,7 +823,7 @@ bool SvxLRSpaceItem::HasMetrics() const
void SvxLRSpaceItem::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("svxLRSpaceItem"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SvxLRSpaceItem"));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST(OString::number(Which()).getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("nFirstLineOfst"), BAD_CAST(OString::number(nFirstLineOfst).getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("nTxtLeft"), BAD_CAST(OString::number(nTxtLeft).getStr()));
@@ -1088,7 +1088,7 @@ bool SvxULSpaceItem::HasMetrics() const
void SvxULSpaceItem::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("svxULSpaceItem"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SvxULSpaceItem"));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST(OString::number(Which()).getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("nUpper"), BAD_CAST(OString::number(nUpper).getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("nLower"), BAD_CAST(OString::number(nLower).getStr()));
@@ -1280,7 +1280,7 @@ SfxPoolItem* SvxProtectItem::Create( SvStream& rStrm, sal_uInt16 ) const
void SvxProtectItem::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("svxProtectItem"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SvxProtectItem"));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST(OString::number(Which()).getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("content"), BAD_CAST(OString::boolean(bCntnt).getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("size"), BAD_CAST(OString::boolean(bSize).getStr()));
@@ -1570,7 +1570,7 @@ void SvxShadowItem::SetEnumValue( sal_uInt16 nVal )
void SvxShadowItem::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("svxShadowItem"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SvxShadowItem"));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST(OString::number(Which()).getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("aShadowColor"), BAD_CAST(aShadowColor.AsRGBHexString().toUtf8().getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("nWidth"), BAD_CAST(OString::number(nWidth).getStr()));
@@ -4033,7 +4033,7 @@ void SvxBrushItem::ApplyGraphicTransparency_Impl()
void SvxBrushItem::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("svxBrushItem"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SvxBrushItem"));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST(OString::number(Which()).getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("color"), BAD_CAST(aColor.AsRGBHexString().toUtf8().getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("shadingValue"), BAD_CAST(OString::number(nShadingValue).getStr()));
diff --git a/editeng/source/items/numitem.cxx b/editeng/source/items/numitem.cxx
index ad62a5c..3d7a3b4 100644
--- a/editeng/source/items/numitem.cxx
+++ b/editeng/source/items/numitem.cxx
@@ -686,7 +686,7 @@ void SvxNumRule::Store( SvStream &rStream )
void SvxNumRule::dumpAsXml(struct _xmlTextWriter* pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("svxNumRule"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SvxNumRule"));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("levelCount"), BAD_CAST(OUString::number(nLevelCount).getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("continuousNumbering"), BAD_CAST(OUString::boolean(bContinuousNumbering).getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("numberingType"), BAD_CAST(OUString::number((int)eNumberingType).getStr()));
@@ -981,7 +981,7 @@ bool SvxNumBulletItem::PutValue( const css::uno::Any& rVal, sal_uInt8 /*nMemberI
void SvxNumBulletItem::dumpAsXml(struct _xmlTextWriter* pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("svxNumBulletItem"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SvxNumBulletItem"));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST(OString::number(Which()).getStr()));
pNumRule->dumpAsXml(pWriter);
xmlTextWriterEndElement(pWriter);
diff --git a/editeng/source/items/textitem.cxx b/editeng/source/items/textitem.cxx
index f05529d..ffe4848 100644
--- a/editeng/source/items/textitem.cxx
+++ b/editeng/source/items/textitem.cxx
@@ -439,7 +439,7 @@ void SvxFontItem::EnableStoreUnicodeNames( bool bEnable )
void SvxFontItem::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("svxFontItem"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SvxFontItem"));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST(OString::number(Which()).getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("familyName"), BAD_CAST(aFamilyName.toUtf8().getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("styleName"), BAD_CAST(aStyleName.toUtf8().getStr()));
@@ -575,7 +575,7 @@ void SvxPostureItem::SetBoolValue( bool bVal )
void SvxPostureItem::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("svxPostureItem"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SvxPostureItem"));
xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("whichId"), "%d", Which());
xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("value"), "%d", GetValue());
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("presentation"), BAD_CAST(GetValueTextByPos(GetValue()).toUtf8().getStr()));
@@ -698,7 +698,7 @@ bool SvxWeightItem::PutValue( const uno::Any& rVal, sal_uInt8 nMemberId )
void SvxWeightItem::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("svxWeightItem"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SvxWeightItem"));
xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("whichId"), "%d", Which());
xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("value"), "%d", GetValue());
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("presentation"), BAD_CAST(GetValueTextByPos(GetValue()).toUtf8().getStr()));
@@ -1087,7 +1087,7 @@ void SvxFontHeightItem::SetHeight( sal_uInt32 nNewHeight, sal_uInt16 nNewProp,
void SvxFontHeightItem::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("svxFontHeightItem"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SvxFontHeightItem"));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST(OString::number(Which()).getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("height"), BAD_CAST(OString::number(nHeight).getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("prop"), BAD_CAST(OString::number(nProp).getStr()));
@@ -2986,7 +2986,7 @@ bool SvxCharRotateItem::operator==( const SfxPoolItem& rItem ) const
void SvxCharRotateItem::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("svxCharRotateItem"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SvxCharRotateItem"));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST(OString::number(Which()).getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("value"), BAD_CAST(OString::number(GetValue()).getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("fitToLine"), BAD_CAST(OString::boolean(IsFitToLine()).getStr()));
@@ -3438,7 +3438,7 @@ SfxPoolItem* SvxRsidItem::Create(SvStream& rIn, sal_uInt16 ) const
void SvxRsidItem::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("svxRsidItem"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SvxRsidItem"));
xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("whichId"), "%d", Which());
xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("value"), "%" SAL_PRIuUINT32, GetValue());
xmlTextWriterEndElement(pWriter);
diff --git a/editeng/source/outliner/outliner.cxx b/editeng/source/outliner/outliner.cxx
index ccd8b9a..a77e881 100644
--- a/editeng/source/outliner/outliner.cxx
+++ b/editeng/source/outliner/outliner.cxx
@@ -2184,7 +2184,7 @@ void Outliner::dumpAsXml(struct _xmlTextWriter* pWriter) const
bOwns = true;
}
- xmlTextWriterStartElement(pWriter, BAD_CAST("outliner"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("Outliner"));
pParaList->dumpAsXml(pWriter);
xmlTextWriterEndElement(pWriter);
diff --git a/editeng/source/outliner/outlobj.cxx b/editeng/source/outliner/outlobj.cxx
index 209d6d0..3eba88e 100644
--- a/editeng/source/outliner/outlobj.cxx
+++ b/editeng/source/outliner/outlobj.cxx
@@ -225,7 +225,7 @@ void OutlinerParaObject::SetStyleSheets(sal_uInt16 nLevel, const OUString& rNewN
void OutlinerParaObject::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("outlinerParaObject"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("OutlinerParaObject"));
xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("ptr"), "%p", this);
mpImpl->mpEditTextObject->dumpAsXml(pWriter);
for (Paragraph const & p : mpImpl->maParagraphDataVector)
diff --git a/editeng/source/outliner/paralist.cxx b/editeng/source/outliner/paralist.cxx
index 544da1e..6125192 100644
--- a/editeng/source/outliner/paralist.cxx
+++ b/editeng/source/outliner/paralist.cxx
@@ -99,7 +99,7 @@ void Paragraph::SetParaIsNumberingRestart( bool bParaIsNumberingRestart )
void Paragraph::dumpAsXml(struct _xmlTextWriter* pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("paragraph"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("Paragraph"));
xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("nDepth"), "%" SAL_PRIdINT32, (sal_Int32)nDepth);
xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("mnNumberingStartValue"), "%" SAL_PRIdINT32, (sal_Int32)mnNumberingStartValue);
xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("mbParaIsNumberingRestart"), "%" SAL_PRIdINT32, (sal_Int32)mbParaIsNumberingRestart);
@@ -266,7 +266,7 @@ sal_Int32 ParagraphList::GetAbsPos( Paragraph* pParent ) const
void ParagraphList::dumpAsXml(struct _xmlTextWriter* pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("paragraphList"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("ParagraphList"));
for (const Paragraph* pParagraph : maEntries)
pParagraph->dumpAsXml(pWriter);
xmlTextWriterEndElement(pWriter);
diff --git a/sc/source/core/data/attrib.cxx b/sc/source/core/data/attrib.cxx
index 31f7b8c..fe42b62 100644
--- a/sc/source/core/data/attrib.cxx
+++ b/sc/source/core/data/attrib.cxx
@@ -1093,7 +1093,7 @@ void ScCondFormatItem::SetCondFormatData( const std::vector<sal_uInt32>& rIndex
void ScCondFormatItem::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("condFormatItem"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("ScCondFormatItem"));
for (const auto& nItem : maIndex)
{
std::string aStrVal = std::to_string(nItem);
diff --git a/sd/qa/unit/tiledrendering/tiledrendering.cxx b/sd/qa/unit/tiledrendering/tiledrendering.cxx
index e3e48f7..2d2cc99 100644
--- a/sd/qa/unit/tiledrendering/tiledrendering.cxx
+++ b/sd/qa/unit/tiledrendering/tiledrendering.cxx
@@ -837,9 +837,9 @@ void SdTiledRenderingTest::testResizeTableColumn()
// Remember the original cell widths.
xmlDocPtr pXmlDoc = parseXmlDump();
- OString aPrefix = "/sdDrawDocument/sdrModel/sdPage/sdrObjList/sdrTableObj/sdrTableObjImpl/tableLayouter/columns/";
- sal_Int32 nExpectedColumn1 = getXPath(pXmlDoc, aPrefix + "layout[1]", "size").toInt32();
- sal_Int32 nExpectedColumn2 = getXPath(pXmlDoc, aPrefix + "layout[2]", "size").toInt32();
+ OString aPrefix = "/SdDrawDocument/SdrModel/SdPage/SdrObjList/SdrTableObj/SdrTableObjImpl/TableLayouter/columns/";
+ sal_Int32 nExpectedColumn1 = getXPath(pXmlDoc, aPrefix + "TableLayouter_Layout[1]", "size").toInt32();
+ sal_Int32 nExpectedColumn2 = getXPath(pXmlDoc, aPrefix + "TableLayouter_Layout[2]", "size").toInt32();
xmlFreeDoc(pXmlDoc);
pXmlDoc = nullptr;
@@ -850,9 +850,9 @@ void SdTiledRenderingTest::testResizeTableColumn()
// Remember the resized column widths.
pXmlDoc = parseXmlDump();
- sal_Int32 nResizedColumn1 = getXPath(pXmlDoc, aPrefix + "layout[1]", "size").toInt32();
+ sal_Int32 nResizedColumn1 = getXPath(pXmlDoc, aPrefix + "TableLayouter_Layout[1]", "size").toInt32();
CPPUNIT_ASSERT(nResizedColumn1 < nExpectedColumn1);
- sal_Int32 nResizedColumn2 = getXPath(pXmlDoc, aPrefix + "layout[2]", "size").toInt32();
+ sal_Int32 nResizedColumn2 = getXPath(pXmlDoc, aPrefix + "TableLayouter_Layout[2]", "size").toInt32();
CPPUNIT_ASSERT(nResizedColumn2 > nExpectedColumn2);
xmlFreeDoc(pXmlDoc);
pXmlDoc = nullptr;
@@ -862,10 +862,10 @@ void SdTiledRenderingTest::testResizeTableColumn()
// Check the undo result.
pXmlDoc = parseXmlDump();
- sal_Int32 nActualColumn1 = getXPath(pXmlDoc, aPrefix + "layout[1]", "size").toInt32();
+ sal_Int32 nActualColumn1 = getXPath(pXmlDoc, aPrefix + "TableLayouter_Layout[1]", "size").toInt32();
// Expected was 7049, actual was 6048, i.e. the first column width after undo was 1cm smaller than expected.
CPPUNIT_ASSERT_EQUAL(nExpectedColumn1, nActualColumn1);
- sal_Int32 nActualColumn2 = getXPath(pXmlDoc, aPrefix + "layout[2]", "size").toInt32();
+ sal_Int32 nActualColumn2 = getXPath(pXmlDoc, aPrefix + "TableLayouter_Layout[2]", "size").toInt32();
CPPUNIT_ASSERT_EQUAL(nExpectedColumn2, nActualColumn2);
xmlFreeDoc(pXmlDoc);
pXmlDoc = nullptr;
diff --git a/sd/source/core/drawdoc.cxx b/sd/source/core/drawdoc.cxx
index 39a463e..eda9ce8 100644
--- a/sd/source/core/drawdoc.cxx
+++ b/sd/source/core/drawdoc.cxx
@@ -1101,7 +1101,7 @@ void SdDrawDocument::dumpAsXml(xmlTextWriterPtr pWriter) const
xmlTextWriterStartDocument(pWriter, nullptr, nullptr, nullptr);
bOwns = true;
}
- xmlTextWriterStartElement(pWriter, BAD_CAST("sdDrawDocument"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SdDrawDocument"));
xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("ptr"), "%p", this);
if (mpOutliner)
diff --git a/sd/source/core/sdpage2.cxx b/sd/source/core/sdpage2.cxx
index 9291581..5644999 100644
--- a/sd/source/core/sdpage2.cxx
+++ b/sd/source/core/sdpage2.cxx
@@ -631,7 +631,7 @@ void SdPage::removeAnnotation( const Reference< XAnnotation >& xAnnotation )
void SdPage::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("sdPage"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SdPage"));
const char* pPageKind = nullptr;
switch (mePageKind)
diff --git a/sfx2/source/view/viewsh.cxx b/sfx2/source/view/viewsh.cxx
index 135f2ff..ad6d6cc 100644
--- a/sfx2/source/view/viewsh.cxx
+++ b/sfx2/source/view/viewsh.cxx
@@ -1526,7 +1526,7 @@ void SfxViewShell::NotifyOtherView(OutlinerViewShell* pOther, int nType, const O
void SfxViewShell::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("sfxViewShell"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SfxViewShell"));
xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("ptr"), "%p", this);
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("id"), BAD_CAST(OString::number(GetViewShellId()).getStr()));
xmlTextWriterEndElement(pWriter);
diff --git a/svl/source/items/cenumitm.cxx b/svl/source/items/cenumitm.cxx
index 8603d2b..e31ce2c 100644
--- a/svl/source/items/cenumitm.cxx
+++ b/svl/source/items/cenumitm.cxx
@@ -177,7 +177,7 @@ bool SfxBoolItem::GetPresentation(SfxItemPresentation,
void SfxBoolItem::dumpAsXml(struct _xmlTextWriter* pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("sfxBoolItem"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SfxBoolItem"));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST(OString::number(Which()).getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("value"), BAD_CAST(GetValueTextByVal(m_bValue).toUtf8().getStr()));
xmlTextWriterEndElement(pWriter);
diff --git a/svl/source/items/intitem.cxx b/svl/source/items/intitem.cxx
index 2b63937..99ef393 100644
--- a/svl/source/items/intitem.cxx
+++ b/svl/source/items/intitem.cxx
@@ -123,7 +123,7 @@ SfxPoolItem* SfxUInt16Item::CreateDefault()
void SfxUInt16Item::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("sfxUInt16Item"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SfxUInt16Item"));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST(OString::number(Which()).getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("value"), BAD_CAST(OString::number(GetValue()).getStr()));
xmlTextWriterEndElement(pWriter);
diff --git a/svl/source/items/itempool.cxx b/svl/source/items/itempool.cxx
index 2af68e1..c61fec4 100644
--- a/svl/source/items/itempool.cxx
+++ b/svl/source/items/itempool.cxx
@@ -992,7 +992,7 @@ const SfxItemPool* SfxItemPool::pStoringPool_ = nullptr;
void SfxItemPool::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("sfxItemPool"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SfxItemPool"));
for (auto const & rArrayPtr : pImpl->maPoolItems)
if (rArrayPtr)
for (auto const & rItem : *rArrayPtr)
diff --git a/svl/source/items/itemset.cxx b/svl/source/items/itemset.cxx
index 524752c..4f6465e 100644
--- a/svl/source/items/itemset.cxx
+++ b/svl/source/items/itemset.cxx
@@ -1634,7 +1634,7 @@ OString SfxItemSet::stringify() const
void SfxItemSet::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("sfxItemSet"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SfxItemSet"));
SfxItemIter aIter(*this);
for (const SfxPoolItem* pItem = aIter.FirstItem(); pItem; pItem = aIter.NextItem())
pItem->dumpAsXml(pWriter);
diff --git a/svl/source/items/poolitem.cxx b/svl/source/items/poolitem.cxx
index f7d17e1..e547206 100644
--- a/svl/source/items/poolitem.cxx
+++ b/svl/source/items/poolitem.cxx
@@ -191,7 +191,7 @@ bool SfxPoolItem::GetPresentation
void SfxPoolItem::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("sfxPoolItem"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SfxPoolItem"));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST(OString::number(Which()).getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("typeName"), BAD_CAST(typeid(*this).name()));
OUString rText;
@@ -247,7 +247,7 @@ bool SfxVoidItem::GetPresentation
void SfxVoidItem::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("sfxVoidItem"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SfxVoidItem"));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST(OString::number(Which()).getStr()));
xmlTextWriterEndElement(pWriter);
}
diff --git a/svl/source/items/stritem.cxx b/svl/source/items/stritem.cxx
index c00a637..37ed45c 100644
--- a/svl/source/items/stritem.cxx
+++ b/svl/source/items/stritem.cxx
@@ -53,7 +53,7 @@ SfxPoolItem * SfxStringItem::Clone(SfxItemPool *) const
void SfxStringItem::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("sfxStringItem"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SfxStringItem"));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST(OString::number(Which()).getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("value"), BAD_CAST(GetValue().toUtf8().getStr()));
xmlTextWriterEndElement(pWriter);
diff --git a/svl/source/undo/undo.cxx b/svl/source/undo/undo.cxx
index b0932c9..2a7d357 100644
--- a/svl/source/undo/undo.cxx
+++ b/svl/source/undo/undo.cxx
@@ -133,7 +133,7 @@ bool SfxUndoAction::CanRepeat(SfxRepeatTarget&) const
void SfxUndoAction::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("sfxUndoAction"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SfxUndoAction"));
xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("ptr"), "%p", this);
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("symbol"), BAD_CAST(typeid(*this).name()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("comment"), BAD_CAST(GetComment().toUtf8().getStr()));
@@ -1275,7 +1275,7 @@ void SfxUndoManager::dumpAsXml(xmlTextWriterPtr pWriter) const
bOwns = true;
}
- xmlTextWriterStartElement(pWriter, BAD_CAST("sfxUndoManager"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SfxUndoManager"));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("nUndoActionCount"), BAD_CAST(OString::number(GetUndoActionCount()).getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("nRedoActionCount"), BAD_CAST(OString::number(GetRedoActionCount()).getStr()));
@@ -1460,7 +1460,7 @@ bool SfxListUndoAction::Merge( SfxUndoAction *pNextAction )
void SfxListUndoAction::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("sfxListUndoAction"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SfxListUndoAction"));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("size"), BAD_CAST(OString::number(aUndoActions.size()).getStr()));
SfxUndoAction::dumpAsXml(pWriter);
diff --git a/svx/source/sdr/properties/defaultproperties.cxx b/svx/source/sdr/properties/defaultproperties.cxx
index b048d37..3904ef5 100644
--- a/svx/source/sdr/properties/defaultproperties.cxx
+++ b/svx/source/sdr/properties/defaultproperties.cxx
@@ -222,7 +222,7 @@ namespace sdr
void DefaultProperties::dumpAsXml(struct _xmlTextWriter * pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("defaultProperties"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("DefaultProperties"));
mpItemSet->dumpAsXml(pWriter);
xmlTextWriterEndElement(pWriter);
}
diff --git a/svx/source/svdraw/svdmodel.cxx b/svx/source/svdraw/svdmodel.cxx
index dab3a86..131d2ad 100644
--- a/svx/source/svdraw/svdmodel.cxx
+++ b/svx/source/svdraw/svdmodel.cxx
@@ -2055,7 +2055,7 @@ void SdrModel::SetSdrUndoFactory( SdrUndoFactory* pUndoFactory )
void SdrModel::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("sdrModel"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SdrModel"));
xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("ptr"), "%p", this);
sal_uInt16 nPageCount = GetPageCount();
diff --git a/svx/source/svdraw/svdobj.cxx b/svx/source/svdraw/svdobj.cxx
index 39dd1b3..f87ecd1 100644
--- a/svx/source/svdraw/svdobj.cxx
+++ b/svx/source/svdraw/svdobj.cxx
@@ -1730,7 +1730,7 @@ OString SdrObject::stringify() const
void SdrObject::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("sdrObject"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SdrObject"));
xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("ptr"), "%p", this);
xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("symbol"), "%s", BAD_CAST(typeid(*this).name()));
xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("name"), "%s", BAD_CAST(GetName().toUtf8().getStr()));
diff --git a/svx/source/svdraw/svdogrp.cxx b/svx/source/svdraw/svdogrp.cxx
index 9eff848..548b499 100644
--- a/svx/source/svdraw/svdogrp.cxx
+++ b/svx/source/svdraw/svdogrp.cxx
@@ -754,7 +754,7 @@ SdrObject* SdrObjGroup::DoConvertToPolyObj(bool bBezier, bool bAddText) const
void SdrObjGroup::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("sdrObjGroup"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SdrObjGroup"));
xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("ptr"), "%p", this);
SdrObject::dumpAsXml(pWriter);
diff --git a/svx/source/svdraw/svdpage.cxx b/svx/source/svdraw/svdpage.cxx
index a45a446..c24ee35 100644
--- a/svx/source/svdraw/svdpage.cxx
+++ b/svx/source/svdraw/svdpage.cxx
@@ -980,7 +980,7 @@ void SdrObjList::RemoveObjectFromContainer (
void SdrObjList::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("sdrObjList"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SdrObjList"));
xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("ptr"), "%p", this);
xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("symbol"), "%s", BAD_CAST(typeid(*this).name()));
diff --git a/svx/source/svdraw/svdtext.cxx b/svx/source/svdraw/svdtext.cxx
index 64e94b2..0390a58 100644
--- a/svx/source/svdraw/svdtext.cxx
+++ b/svx/source/svdraw/svdtext.cxx
@@ -204,7 +204,7 @@ SfxStyleSheet* SdrText::GetStyleSheet() const
void SdrText::dumpAsXml(struct _xmlTextWriter * pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("sdrText"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SdrText"));
mpOutlinerParaObject->dumpAsXml(pWriter);
xmlTextWriterEndElement(pWriter);
}
diff --git a/svx/source/table/cell.cxx b/svx/source/table/cell.cxx
index 38a29c2..5eaa3f9 100644
--- a/svx/source/table/cell.cxx
+++ b/svx/source/table/cell.cxx
@@ -1644,7 +1644,7 @@ void SAL_CALL Cell::disposing( const EventObject& /*Source*/ ) throw (RuntimeExc
void Cell::dumpAsXml(struct _xmlTextWriter * pWriter, sal_Int32 nRow, sal_Int32 nCol) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("cell"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("Cell"));
xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("row"), "%" SAL_PRIdINT32, nRow);
xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("col"), "%" SAL_PRIdINT32, nCol);
SdrText::dumpAsXml(pWriter);
diff --git a/svx/source/table/svdotable.cxx b/svx/source/table/svdotable.cxx
index 53f7a3b..2c8a990 100644
--- a/svx/source/table/svdotable.cxx
+++ b/svx/source/table/svdotable.cxx
@@ -632,7 +632,7 @@ bool SdrTableObjImpl::isInUse()
void SdrTableObjImpl::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("sdrTableObjImpl"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SdrTableObjImpl"));
if (mpLayouter)
mpLayouter->dumpAsXml(pWriter);
mxTable->dumpAsXml(pWriter);
@@ -2457,7 +2457,7 @@ void SdrTableObj::uno_unlock()
void SdrTableObj::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("sdrTableObj"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SdrTableObj"));
xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("ptr"), "%p", this);
SdrObject::dumpAsXml(pWriter);
diff --git a/svx/source/table/tablelayouter.cxx b/svx/source/table/tablelayouter.cxx
index 9ad0447..e90c199 100644
--- a/svx/source/table/tablelayouter.cxx
+++ b/svx/source/table/tablelayouter.cxx
@@ -1124,7 +1124,7 @@ void TableLayouter::DistributeRows( ::Rectangle& rArea, sal_Int32 nFirstRow, sal
void TableLayouter::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("tableLayouter"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("TableLayouter"));
xmlTextWriterStartElement(pWriter, BAD_CAST("columns"));
for (const auto& rColumn : maColumns)
@@ -1141,7 +1141,7 @@ void TableLayouter::dumpAsXml(xmlTextWriterPtr pWriter) const
void TableLayouter::Layout::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("layout"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("TableLayouter_Layout"));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("pos"), BAD_CAST(OString::number(mnPos).getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("size"), BAD_CAST(OString::number(mnSize).getStr()));
diff --git a/svx/source/table/tablemodel.cxx b/svx/source/table/tablemodel.cxx
index 65ee911..b0274ad 100644
--- a/svx/source/table/tablemodel.cxx
+++ b/svx/source/table/tablemodel.cxx
@@ -1126,7 +1126,7 @@ void TableModel::updateColumns()
void TableModel::dumpAsXml(struct _xmlTextWriter * pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("tableModel"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("TableModel"));
for (sal_Int32 nRow = 0; nRow < getRowCountImpl(); ++nRow)
for (sal_Int32 nCol = 0; nCol < getColumnCountImpl(); ++nCol)
{
diff --git a/svx/source/xoutdev/xattr.cxx b/svx/source/xoutdev/xattr.cxx
index 5aeb630..73eb20d 100644
--- a/svx/source/xoutdev/xattr.cxx
+++ b/svx/source/xoutdev/xattr.cxx
@@ -260,7 +260,7 @@ OUString NameOrIndex::CheckNamedItem( const NameOrIndex* pCheckItem, const sal_u
void NameOrIndex::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("nameOrIndex"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("NameOrIndex"));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST(OString::number(Which()).getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("isIndex"), BAD_CAST(OString::boolean(IsIndex()).getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("name"), BAD_CAST(GetName().toUtf8().getStr()));
@@ -2203,7 +2203,7 @@ bool XFillStyleItem::PutValue( const css::uno::Any& rVal, sal_uInt8 /*nMemberId*
void XFillStyleItem::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("xFillStyleItem"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("XFillStyleItem"));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST(OString::number(Which()).getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("value"), BAD_CAST(OString::number(GetValue()).getStr()));
@@ -2273,7 +2273,7 @@ bool XFillColorItem::PutValue( const css::uno::Any& rVal, sal_uInt8 /*nMemberId*
void XFillColorItem::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("xFillColorItem"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("XFillColorItem"));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST(OString::number(Which()).getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("value"), BAD_CAST(GetColorValue().AsRGBHexString().toUtf8().getStr()));
xmlTextWriterEndElement(pWriter);
diff --git a/svx/source/xoutdev/xattr2.cxx b/svx/source/xoutdev/xattr2.cxx
index 16a503f..0307e31 100644
--- a/svx/source/xoutdev/xattr2.cxx
+++ b/svx/source/xoutdev/xattr2.cxx
@@ -442,7 +442,7 @@ bool XFillTransparenceItem::GetPresentation
void XFillTransparenceItem::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("xFillTransparenceItem"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("XFillTransparenceItem"));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST(OString::number(Which()).getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("value"), BAD_CAST(OString::number(GetValue()).getStr()));
xmlTextWriterEndElement(pWriter);
@@ -546,7 +546,7 @@ bool XFillBmpTileItem::GetPresentation
void XFillBmpTileItem::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("xFillBmpTileItem"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("XFillBmpTileItem"));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST(OString::number(Which()).getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("value"), BAD_CAST(OString::boolean(GetValue()).getStr()));
xmlTextWriterEndElement(pWriter);
@@ -596,7 +596,7 @@ sal_uInt16 XFillBmpPosItem::GetValueCount() const
void XFillBmpPosItem::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("xFillBmpPosItem"));
+ 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((int)GetValue()).getStr()));
xmlTextWriterEndElement(pWriter);
@@ -830,7 +830,7 @@ bool XFillBmpStretchItem::GetPresentation
void XFillBmpStretchItem::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("xFillBmpStretchItem"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("XFillBmpStretchItem"));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST(OString::number(Which()).getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("value"), BAD_CAST(OString::boolean(GetValue()).getStr()));
xmlTextWriterEndElement(pWriter);
diff --git a/svx/source/xoutdev/xattrbmp.cxx b/svx/source/xoutdev/xattrbmp.cxx
index d4f6af4..49186fe 100644
--- a/svx/source/xoutdev/xattrbmp.cxx
+++ b/svx/source/xoutdev/xattrbmp.cxx
@@ -544,7 +544,7 @@ XFillBitmapItem* XFillBitmapItem::checkForUniqueItem( SdrModel* pModel ) const
void XFillBitmapItem::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("xFillBitmapItem"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("XFillBitmapItem"));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST(OString::number(Which()).getStr()));
NameOrIndex::dumpAsXml(pWriter);
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport.cxx
index b05770b..ef5857a 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport.cxx
@@ -687,7 +687,7 @@ DECLARE_OOXMLEXPORT_TEST(testNumOverrideLvltext, "num-override-lvltext.docx")
CPPUNIT_ASSERT_EQUAL(sal_Int16(2), comphelper::SequenceAsHashMap(xRules->getByIndex(1))["ParentNumbering"].get<sal_Int16>());
// The paragraph marker's red font color was inherited by the number portion, this was ff0000.
- CPPUNIT_ASSERT_EQUAL(OUString("00000a"), parseDump("//Special[@nType='POR_NUMBER']/pFont", "color"));
+ CPPUNIT_ASSERT_EQUAL(OUString("00000a"), parseDump("//Special[@nType='POR_NUMBER']/SwFont", "color"));
}
DECLARE_OOXMLEXPORT_TEST(testNumOverrideStart, "num-override-start.docx")
diff --git a/sw/qa/extras/uiwriter/uiwriter.cxx b/sw/qa/extras/uiwriter/uiwriter.cxx
index e58093f..f001fc6 100644
--- a/sw/qa/extras/uiwriter/uiwriter.cxx
+++ b/sw/qa/extras/uiwriter/uiwriter.cxx
@@ -3742,13 +3742,13 @@ void SwUiWriterTest::testTdf98987()
createDoc("tdf98987.docx");
calcLayout();
xmlDocPtr pXmlDoc = parseLayoutDump();
- assertXPath(pXmlDoc, "/root/page/body/txt/anchored/SwAnchoredDrawObject[2]/sdrObject", "name", "Rectangle 1");
+ assertXPath(pXmlDoc, "/root/page/body/txt/anchored/SwAnchoredDrawObject[2]/SdrObject", "name", "Rectangle 1");
sal_Int32 nRectangle1 = getXPath(pXmlDoc, "/root/page/body/txt/anchored/SwAnchoredDrawObject[2]/bounds", "top").toInt32();
- assertXPath(pXmlDoc, "/root/page/body/txt/anchored/SwAnchoredDrawObject[1]/sdrObject", "name", "Rectangle 2");
+ assertXPath(pXmlDoc, "/root/page/body/txt/anchored/SwAnchoredDrawObject[1]/SdrObject", "name", "Rectangle 2");
sal_Int32 nRectangle2 = getXPath(pXmlDoc, "/root/page/body/txt/anchored/SwAnchoredDrawObject[1]/bounds", "top").toInt32();
CPPUNIT_ASSERT(nRectangle1 < nRectangle2);
- assertXPath(pXmlDoc, "/root/page/body/txt/anchored/SwAnchoredDrawObject[3]/sdrObject", "name", "Rectangle 3");
+ assertXPath(pXmlDoc, "/root/page/body/txt/anchored/SwAnchoredDrawObject[3]/SdrObject", "name", "Rectangle 3");
sal_Int32 nRectangle3 = getXPath(pXmlDoc, "/root/page/body/txt/anchored/SwAnchoredDrawObject[3]/bounds", "top").toInt32();
// This failed: the 3rd rectangle had a smaller "top" value than the 2nd one, it even overlapped with the 1st one.
CPPUNIT_ASSERT(nRectangle2 < nRectangle3);
@@ -3763,7 +3763,7 @@ void SwUiWriterTest::testTdf99004()
sal_Int32 nTextBox1Height = getXPath(pXmlDoc, "/root/page/body/txt/anchored/fly/infos/bounds", "height").toInt32();
sal_Int32 nTextBox1Bottom = nTextbox1Top + nTextBox1Height;
- assertXPath(pXmlDoc, "/root/page/body/txt/anchored/SwAnchoredDrawObject[1]/sdrObject", "name", "Rectangle 2");
+ assertXPath(pXmlDoc, "/root/page/body/txt/anchored/SwAnchoredDrawObject[1]/SdrObject", "name", "Rectangle 2");
sal_Int32 nRectangle2Top = getXPath(pXmlDoc, "/root/page/body/txt/anchored/SwAnchoredDrawObject[1]/bounds", "top").toInt32();
// This was 3291 and 2531, should be now around 2472 and 2531, i.e. the two rectangles should not overlap anymore.
CPPUNIT_ASSERT(nTextBox1Bottom < nRectangle2Top);
diff --git a/sw/source/core/attr/fmtwrapinfluenceonobjpos.cxx b/sw/source/core/attr/fmtwrapinfluenceonobjpos.cxx
index dc27d27..3e1d92b 100644
--- a/sw/source/core/attr/fmtwrapinfluenceonobjpos.cxx
+++ b/sw/source/core/attr/fmtwrapinfluenceonobjpos.cxx
@@ -140,7 +140,7 @@ sal_Int16 SwFormatWrapInfluenceOnObjPos::GetWrapInfluenceOnObjPos(
void SwFormatWrapInfluenceOnObjPos::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("swFormatWrapInfluenceOnObjPos"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SwFormatWrapInfluenceOnObjPos"));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST(OString::number(Which()).getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("nWrapInfluenceOnPosition"), BAD_CAST(OString::number(mnWrapInfluenceOnPosition).getStr()));
xmlTextWriterEndElement(pWriter);
diff --git a/sw/source/core/crsr/bookmrk.cxx b/sw/source/core/crsr/bookmrk.cxx
index 3b93e30..bb3f762 100644
--- a/sw/source/core/crsr/bookmrk.cxx
+++ b/sw/source/core/crsr/bookmrk.cxx
@@ -178,7 +178,7 @@ namespace sw { namespace mark
void MarkBase::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("markBase"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("MarkBase"));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("name"), BAD_CAST(m_aName.toUtf8().getStr()));
xmlTextWriterStartElement(pWriter, BAD_CAST("markPos"));
GetMarkPos().dumpAsXml(pWriter);
@@ -379,7 +379,7 @@ namespace sw { namespace mark
void Fieldmark::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("fieldmark"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("Fieldmark"));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("fieldname"), BAD_CAST(m_aFieldname.toUtf8().getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("fieldHelptext"), BAD_CAST(m_aFieldHelptext.toUtf8().getStr()));
MarkBase::dumpAsXml(pWriter);
diff --git a/sw/source/core/crsr/crsrsh.cxx b/sw/source/core/crsr/crsrsh.cxx
index d91d954..480c80e 100644
--- a/sw/source/core/crsr/crsrsh.cxx
+++ b/sw/source/core/crsr/crsrsh.cxx
@@ -3357,7 +3357,7 @@ OUString SwCursorShell::GetCursorDescr() const
void SwCursorShell::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("swCursorShell"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SwCursorShell"));
SwViewShell::dumpAsXml(pWriter);
diff --git a/sw/source/core/crsr/pam.cxx b/sw/source/core/crsr/pam.cxx
index 8c423847..a71e910 100644
--- a/sw/source/core/crsr/pam.cxx
+++ b/sw/source/core/crsr/pam.cxx
@@ -180,7 +180,7 @@ SwDoc * SwPosition::GetDoc() const
void SwPosition::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("swPosition"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SwPosition"));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("nNode"), BAD_CAST(OString::number(nNode.GetIndex()).getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("nContent"), BAD_CAST(OString::number(nContent.GetIndex()).getStr()));
xmlTextWriterEndElement(pWriter);
@@ -1045,7 +1045,7 @@ void SwPaM::InvalidatePaM()
void SwPaM::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("swPaM"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SwPaM"));
xmlTextWriterStartElement(pWriter, BAD_CAST("point"));
GetPoint()->dumpAsXml(pWriter);
diff --git a/sw/source/core/doc/docbm.cxx b/sw/source/core/doc/docbm.cxx
index 854ad5e..07bf110 100644
--- a/sw/source/core/doc/docbm.cxx
+++ b/sw/source/core/doc/docbm.cxx
@@ -1165,7 +1165,7 @@ void MarkManager::dumpAsXml(xmlTextWriterPtr pWriter) const
{"annotationmarks", &m_vAnnotationMarks}
};
- xmlTextWriterStartElement(pWriter, BAD_CAST("markManager"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("MarkManager"));
for (const auto & rContainer : aContainers)
{
if (!rContainer.pContainer->empty())
diff --git a/sw/source/core/doc/docfmt.cxx b/sw/source/core/doc/docfmt.cxx
index ac85fe5..025ab92 100644
--- a/sw/source/core/doc/docfmt.cxx
+++ b/sw/source/core/doc/docfmt.cxx
@@ -1925,7 +1925,7 @@ void SwDoc::dumpAsXml(xmlTextWriterPtr pWriter) const
xmlTextWriterStartDocument(pWriter, nullptr, nullptr, nullptr);
bOwns = true;
}
- xmlTextWriterStartElement(pWriter, BAD_CAST("swDoc"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SwDoc"));
xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("ptr"), "%p", this);
m_pNodes->dumpAsXml(pWriter);
@@ -1958,7 +1958,7 @@ void SwDoc::dumpAsXml(xmlTextWriterPtr pWriter) const
void SwDBData::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("swDBData"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SwDBData"));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("sDataSource"), BAD_CAST(sDataSource.toUtf8().getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("sCommand"), BAD_CAST(sCommand.toUtf8().getStr()));
diff --git a/sw/source/core/doc/docredln.cxx b/sw/source/core/doc/docredln.cxx
index a3d3bb1..fe20071 100644
--- a/sw/source/core/doc/docredln.cxx
+++ b/sw/source/core/doc/docredln.cxx
@@ -87,13 +87,13 @@ SwExtraRedlineTable::~SwExtraRedlineTable()
void SwExtraRedlineTable::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("swExtraRedlineTable"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SwExtraRedlineTable"));
xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("ptr"), "%p", this);
for (sal_uInt16 nCurExtraRedlinePos = 0; nCurExtraRedlinePos < GetSize(); ++nCurExtraRedlinePos)
{
const SwExtraRedline* pExtraRedline = GetRedline(nCurExtraRedlinePos);
- xmlTextWriterStartElement(pWriter, BAD_CAST("swExtraRedline"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SwExtraRedline"));
xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("ptr"), "%p", this);
xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("symbol"), "%s", BAD_CAST(typeid(*pExtraRedline).name()));
xmlTextWriterEndElement(pWriter);
@@ -625,7 +625,7 @@ const SwRangeRedline* SwRedlineTable::FindAtPosition( const SwPosition& rSttPos,
void SwRedlineTable::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("swRedlineTable"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SwRedlineTable"));
xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("ptr"), "%p", this);
for (SwRedlineTable::size_type nCurRedlinePos = 0; nCurRedlinePos < size(); ++nCurRedlinePos)
@@ -1699,7 +1699,7 @@ OUString SwRangeRedline::GetDescr()
void SwRangeRedline::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("swRangeRedline"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SwRangeRedline"));
xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("ptr"), "%p", this);
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("id"), BAD_CAST(OString::number(GetSeqNo()).getStr()));
diff --git a/sw/source/core/doc/fmtcol.cxx b/sw/source/core/doc/fmtcol.cxx
index 509b55e..f0b91d8 100644
--- a/sw/source/core/doc/fmtcol.cxx
+++ b/sw/source/core/doc/fmtcol.cxx
@@ -461,7 +461,7 @@ bool SwTextFormatColl::AreListLevelIndentsApplicable() const
void SwTextFormatColl::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("swTextFormatColl"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SwTextFormatColl"));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("name"), BAD_CAST(GetName().toUtf8().getStr()));
GetAttrSet().dumpAsXml(pWriter);
xmlTextWriterEndElement(pWriter);
@@ -469,7 +469,7 @@ void SwTextFormatColl::dumpAsXml(xmlTextWriterPtr pWriter) const
void SwTextFormatColls::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("swTextFormatColls"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SwTextFormatColls"));
for (size_t i = 0; i < size(); ++i)
GetFormat(i)->dumpAsXml(pWriter);
xmlTextWriterEndElement(pWriter);
diff --git a/sw/source/core/doc/number.cxx b/sw/source/core/doc/number.cxx
index ddb8440..441461f 100644
--- a/sw/source/core/doc/number.cxx
+++ b/sw/source/core/doc/number.cxx
@@ -1011,7 +1011,7 @@ void SwNumRule::RemoveParagraphStyle( SwTextFormatColl& rTextFormatColl )
void SwNumRule::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("swNumRule"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SwNumRule"));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("msName"), BAD_CAST(msName.toUtf8().getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("mnPoolFormatId"), BAD_CAST(OString::number(mnPoolFormatId).getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("mbAutoRuleFlag"), BAD_CAST(OString::boolean(mbAutoRuleFlag).getStr()));
@@ -1414,7 +1414,7 @@ namespace numfunc
void SwNumRuleTable::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("swNumRuleTable"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SwNumRuleTable"));
for (SwNumRule* pNumRule : *this)
pNumRule->dumpAsXml(pWriter);
xmlTextWriterEndElement(pWriter);
diff --git a/sw/source/core/docnode/nodes.cxx b/sw/source/core/docnode/nodes.cxx
index 2186a0a..e5846b5 100644
--- a/sw/source/core/docnode/nodes.cxx
+++ b/sw/source/core/docnode/nodes.cxx
@@ -2356,7 +2356,7 @@ bool SwNodes::IsDocNodes() const
void SwNodes::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("swNodes"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SwNodes"));
for (sal_uLong i = 0; i < Count(); ++i)
(*this)[i]->dumpAsXml(pWriter);
xmlTextWriterEndElement(pWriter);
diff --git a/sw/source/core/docnode/section.cxx b/sw/source/core/docnode/section.cxx
index 9504b74..c47dd97 100644
--- a/sw/source/core/docnode/section.cxx
+++ b/sw/source/core/docnode/section.cxx
@@ -1079,7 +1079,7 @@ SwSectionFormat::MakeUnoObject()
void SwSectionFormat::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("swSectionFormat"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SwSectionFormat"));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("name"), BAD_CAST(GetName().toUtf8().getStr()));
GetAttrSet().dumpAsXml(pWriter);
xmlTextWriterEndElement(pWriter);
@@ -1087,7 +1087,7 @@ void SwSectionFormat::dumpAsXml(xmlTextWriterPtr pWriter) const
void SwSectionFormats::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("swSectionFormats"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SwSectionFormats"));
for (size_t i = 0; i < size(); ++i)
GetFormat(i)->dumpAsXml(pWriter);
xmlTextWriterEndElement(pWriter);
diff --git a/sw/source/core/fields/docufld.cxx b/sw/source/core/fields/docufld.cxx
index def0027..9fce937 100644
--- a/sw/source/core/fields/docufld.cxx
+++ b/sw/source/core/fields/docufld.cxx
@@ -1837,7 +1837,7 @@ bool SwPostItField::PutValue( const uno::Any& rAny, sal_uInt16 nWhichId )
void SwPostItField::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("swPostItField"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SwPostItField"));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("name"), BAD_CAST(GetName().toUtf8().getStr()));
SwField::dumpAsXml(pWriter);
diff --git a/sw/source/core/fields/fldbas.cxx b/sw/source/core/fields/fldbas.cxx
index cfc3a80..1de006c 100644
--- a/sw/source/core/fields/fldbas.cxx
+++ b/sw/source/core/fields/fldbas.cxx
@@ -156,7 +156,7 @@ bool SwFieldType::PutValue( const uno::Any& , sal_uInt16 )
void SwFieldTypes::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("swFieldTypes"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SwFieldTypes"));
sal_uInt16 nCount = size();
for (sal_uInt16 nType = 0; nType < nCount; ++nType)
{
@@ -760,7 +760,7 @@ bool SwField::IsClickable() const
void SwField::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("swField"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SwField"));
xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("symbol"), "%s", BAD_CAST(typeid(*this).name()));
xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("ptr"), "%p", this);
diff --git a/sw/source/core/layout/atrfrm.cxx b/sw/source/core/layout/atrfrm.cxx
index 15449a0..1a9168d 100644
--- a/sw/source/core/layout/atrfrm.cxx
+++ b/sw/source/core/layout/atrfrm.cxx
@@ -405,7 +405,7 @@ bool SwFormatFrameSize::PutValue( const uno::Any& rVal, sal_uInt8 nMemberId )
void SwFormatFrameSize::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("swFormatFrameSize"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SwFormatFrameSize"));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST(OString::number(Which()).getStr()));
std::stringstream aSize;
@@ -568,7 +568,7 @@ SfxPoolItem* SwFormatContent::Clone( SfxItemPool* ) const
void SwFormatContent::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("swFormatContent"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SwFormatContent"));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST(OString::number(Which()).getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("startNode"), BAD_CAST(OString::number(pStartNode->GetNode().GetIndex()).getStr()));
xmlTextWriterEndElement(pWriter);
@@ -761,7 +761,7 @@ bool SwFormatPageDesc::PutValue( const uno::Any& rVal, sal_uInt8 nMemberId )
void SwFormatPageDesc::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("swFormatPageDesc"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SwFormatPageDesc"));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST(OString::number(Which()).getStr()));
if (oNumOffset)
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("oNumOffset"), BAD_CAST(OString::number(*oNumOffset).getStr()));
@@ -792,7 +792,7 @@ bool SwColumn::operator==( const SwColumn &rCmp ) const
void SwColumn::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("swColumn"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SwColumn"));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("nWish"), BAD_CAST(OString::number(m_nWish).getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("nUpper"), BAD_CAST(OString::number(0).getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("nLower"), BAD_CAST(OString::number(0).getStr()));
@@ -1126,7 +1126,7 @@ bool SwFormatCol::PutValue( const uno::Any& rVal, sal_uInt8 nMemberId )
void SwFormatCol::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("swFormatCol"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SwFormatCol"));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST(OString::number(Which()).getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("eLineStyle"), BAD_CAST(OString::number(m_eLineStyle).getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("nLineWidth"), BAD_CAST(OString::number(m_nLineWidth).getStr()));
@@ -1272,7 +1272,7 @@ bool SwFormatSurround::PutValue( const uno::Any& rVal, sal_uInt8 nMemberId )
void SwFormatSurround::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("swFormatSurround"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SwFormatSurround"));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST(OString::number(Which()).getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("value"), BAD_CAST(OString::number(GetValue()).getStr()));
@@ -1401,7 +1401,7 @@ bool SwFormatVertOrient::PutValue( const uno::Any& rVal, sal_uInt8 nMemberId )
void SwFormatVertOrient::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("swFormatVertOrient"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SwFormatVertOrient"));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST(OString::number(Which()).getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("nYPos"), BAD_CAST(OString::number(m_nYPos).getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("eOrient"), BAD_CAST(OString::number(m_eOrient).getStr()));
@@ -1502,7 +1502,7 @@ bool SwFormatHoriOrient::PutValue( const uno::Any& rVal, sal_uInt8 nMemberId )
void SwFormatHoriOrient::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("swFormatHoriOrient"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SwFormatHoriOrient"));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST(OString::number(Which()).getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("nXPos"), BAD_CAST(OString::number(m_nXPos).getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("eOrient"), BAD_CAST(OString::number(m_eOrient).getStr()));
@@ -1714,7 +1714,7 @@ bool SwFormatAnchor::PutValue( const uno::Any& rVal, sal_uInt8 nMemberId )
void SwFormatAnchor::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("swFormatAnchor"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SwFormatAnchor"));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST(OString::number(Which()).getStr()));
if (m_pContentAnchor)
@@ -1911,7 +1911,7 @@ SfxPoolItem* SwFormatNoBalancedColumns::Clone( SfxItemPool* ) const
void SwFormatNoBalancedColumns::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("swFormatNoBalancedColumns"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SwFormatNoBalancedColumns"));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST(OString::number(Which()).getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("value"), BAD_CAST(OString::boolean(GetValue()).getStr()));
xmlTextWriterEndElement(pWriter);
@@ -2846,7 +2846,7 @@ OUString SwFrameFormat::GetDescription() const
void SwFrameFormat::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("swFrameFormat"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SwFrameFormat"));
xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("ptr"), "%p", this);
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("name"), BAD_CAST(GetName().toUtf8().getStr()));
xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("whichId"), "%d", Which());
diff --git a/sw/source/core/para/paratr.cxx b/sw/source/core/para/paratr.cxx
index 54a8468..ad86bc2 100644
--- a/sw/source/core/para/paratr.cxx
+++ b/sw/source/core/para/paratr.cxx
@@ -238,7 +238,7 @@ bool SwNumRuleItem::PutValue( const uno::Any& rVal, sal_uInt8 )
void SwNumRuleItem::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("swNumRuleItem"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SwNumRuleItem"));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST(OString::number(Which()).getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("value"), BAD_CAST(GetValue().toUtf8().getStr()));
xmlTextWriterEndElement(pWriter);
diff --git a/sw/source/core/text/xmldump.cxx b/sw/source/core/text/xmldump.cxx
index 32b1196..7161ac7 100644
--- a/sw/source/core/text/xmldump.cxx
+++ b/sw/source/core/text/xmldump.cxx
@@ -441,7 +441,7 @@ void SwAnchoredObject::dumpAsXml( xmlTextWriterPtr writer ) const
void SwFont::dumpAsXml(xmlTextWriterPtr writer) const
{
- xmlTextWriterStartElement(writer, BAD_CAST("pFont"));
+ xmlTextWriterStartElement(writer, BAD_CAST("SwFont"));
xmlTextWriterWriteFormatAttribute(writer, BAD_CAST("ptr"), "%p", this);
xmlTextWriterWriteFormatAttribute(writer, BAD_CAST("color"), "%s", GetColor().AsRGBHexString().toUtf8().getStr());
xmlTextWriterEndElement(writer);
diff --git a/sw/source/core/txtnode/atrfld.cxx b/sw/source/core/txtnode/atrfld.cxx
index cd434dc..ed8f0db 100644
--- a/sw/source/core/txtnode/atrfld.cxx
+++ b/sw/source/core/txtnode/atrfld.cxx
@@ -333,7 +333,7 @@ bool SwFormatField::IsProtect() const
void SwFormatField::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("swFormatField"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SwFormatField"));
xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("ptr"), "%p", this);
xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("mpTextField"), "%p", mpTextField);
diff --git a/sw/source/core/txtnode/chrfmt.cxx b/sw/source/core/txtnode/chrfmt.cxx
index f8776f5..b5fac1e 100644
--- a/sw/source/core/txtnode/chrfmt.cxx
+++ b/sw/source/core/txtnode/chrfmt.cxx
@@ -25,7 +25,7 @@
void SwCharFormat::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("swCharFormat"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SwCharFormat"));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("name"), BAD_CAST(GetName().toUtf8().getStr()));
GetAttrSet().dumpAsXml(pWriter);
xmlTextWriterEndElement(pWriter);
@@ -33,7 +33,7 @@ void SwCharFormat::dumpAsXml(xmlTextWriterPtr pWriter) const
void SwCharFormats::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("swCharFormats"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SwCharFormats"));
for (size_t i = 0; i < size(); ++i)
GetFormat(i)->dumpAsXml(pWriter);
xmlTextWriterEndElement(pWriter);
diff --git a/sw/source/core/txtnode/fmtatr2.cxx b/sw/source/core/txtnode/fmtatr2.cxx
index ec463ae..51bb40a 100644
--- a/sw/source/core/txtnode/fmtatr2.cxx
+++ b/sw/source/core/txtnode/fmtatr2.cxx
@@ -151,7 +151,7 @@ bool SwFormatAutoFormat::PutValue( const uno::Any& , sal_uInt8 )
void SwFormatAutoFormat::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("swFormatAutoFormat"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SwFormatAutoFormat"));
xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("ptr"), "%p", this);
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST(OString::number(Which()).getStr()));
mpHandle->dumpAsXml(pWriter);
diff --git a/sw/source/core/txtnode/ndtxt.cxx b/sw/source/core/txtnode/ndtxt.cxx
index bc7f301..5e78fc0 100644
--- a/sw/source/core/txtnode/ndtxt.cxx
+++ b/sw/source/core/txtnode/ndtxt.cxx
@@ -4846,7 +4846,7 @@ sal_uInt16 SwTextNode::ResetAllAttr()
void SwTextNode::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("swTextNode"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SwTextNode"));
xmlTextWriterWriteFormatAttribute(pWriter, BAD_CAST("ptr"), "%p", this);
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("index"), BAD_CAST(OString::number(GetIndex()).getStr()));
@@ -4859,21 +4859,21 @@ void SwTextNode::dumpAsXml(xmlTextWriterPtr pWriter) const
if (GetFormatColl())
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("swTextFormatColl"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SwTextFormatColl"));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("name"), BAD_CAST(GetFormatColl()->GetName().toUtf8().getStr()));
xmlTextWriterEndElement(pWriter);
}
if (HasSwAttrSet())
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("swAttrSet"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SwAttrSet"));
GetSwAttrSet().dumpAsXml(pWriter);
xmlTextWriterEndElement(pWriter);
}
if (HasHints())
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("swpHints"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SwpHints"));
const SwpHints& rHints = GetSwpHints();
for (size_t i = 0; i < rHints.Count(); ++i)
rHints.Get(i)->dumpAsXml(pWriter);
diff --git a/sw/source/core/txtnode/txatbase.cxx b/sw/source/core/txtnode/txatbase.cxx
index 3538be5..4117957 100644
--- a/sw/source/core/txtnode/txatbase.cxx
+++ b/sw/source/core/txtnode/txatbase.cxx
@@ -77,7 +77,7 @@ sal_Int32* SwTextAttrEnd::GetEnd()
void SwTextAttr::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("swTextAttr"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SwTextAttr"));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("start"), BAD_CAST(OString::number(m_nStart).getStr()));
if (End())
diff --git a/sw/source/core/view/viewsh.cxx b/sw/source/core/view/viewsh.cxx
index 1849c4c..9d94244 100644
--- a/sw/source/core/view/viewsh.cxx
+++ b/sw/source/core/view/viewsh.cxx
@@ -127,7 +127,7 @@ bool SwViewShell::isOutputToWindow() const
void SwViewShell::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("swViewShell"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SwViewShell"));
xmlTextWriterEndElement(pWriter);
}
diff --git a/sw/source/uibase/uiview/viewprt.cxx b/sw/source/uibase/uiview/viewprt.cxx
index 213e0f9..5a0ff3d 100644
--- a/sw/source/uibase/uiview/viewprt.cxx
+++ b/sw/source/uibase/uiview/viewprt.cxx
@@ -262,7 +262,7 @@ int SwView::getPart() const
void SwView::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("swView"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SwView"));
SfxViewShell::dumpAsXml(pWriter);
if (m_pWrtShell)
m_pWrtShell->dumpAsXml(pWriter);
diff --git a/sw/source/uibase/utlui/attrdesc.cxx b/sw/source/uibase/utlui/attrdesc.cxx
index 3fee54c..2f04918 100644
--- a/sw/source/uibase/utlui/attrdesc.cxx
+++ b/sw/source/uibase/utlui/attrdesc.cxx
@@ -548,7 +548,7 @@ bool SwFormatEditInReadonly::GetPresentation
void SwFormatEditInReadonly::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("swFormatEditInReadonly"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SwFormatEditInReadonly"));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST(OString::number(Which()).getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("value"), BAD_CAST(OString::boolean(GetValue()).getStr()));
xmlTextWriterEndElement(pWriter);
@@ -842,7 +842,7 @@ bool SwFormatFollowTextFlow::GetPresentation( SfxItemPresentation ePres,
void SwFormatFollowTextFlow::dumpAsXml(xmlTextWriterPtr pWriter) const
{
- xmlTextWriterStartElement(pWriter, BAD_CAST("swFormatFollowTextFlow"));
+ xmlTextWriterStartElement(pWriter, BAD_CAST("SwFormatFollowTextFlow"));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST(OString::number(Which()).getStr()));
xmlTextWriterWriteAttribute(pWriter, BAD_CAST("value"), BAD_CAST(OString::boolean(GetValue()).getStr()));
xmlTextWriterEndElement(pWriter);
More information about the Libreoffice-commits
mailing list