diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-01-14 09:05:18 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2015-01-14 09:05:57 +0100 |
commit | 97260d8a011d2dba69df47433bb73a6da0317352 (patch) | |
tree | 87223dc869880998084058280f4038e4d9245179 /sw/source/uibase | |
parent | 4efa9604cf90a581af05c231470bc3fe2e0c49ef (diff) |
Factor out SwFmtEditInReadonly::dumpAsXml() from sw core
Change-Id: I0b0f5a7fca8c5cb4aefd355f79b5141ce9803a55
Diffstat (limited to 'sw/source/uibase')
-rw-r--r-- | sw/source/uibase/utlui/attrdesc.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sw/source/uibase/utlui/attrdesc.cxx b/sw/source/uibase/utlui/attrdesc.cxx index 26ca4903e586..67479ebb562c 100644 --- a/sw/source/uibase/utlui/attrdesc.cxx +++ b/sw/source/uibase/utlui/attrdesc.cxx @@ -549,6 +549,14 @@ bool SwFmtEditInReadonly::GetPresentation return true; } +void SwFmtEditInReadonly::dumpAsXml(xmlTextWriterPtr pWriter) const +{ + xmlTextWriterStartElement(pWriter, BAD_CAST("swFmtEditInReadonly")); + xmlTextWriterWriteAttribute(pWriter, BAD_CAST("whichId"), BAD_CAST(OString::number(Which()).getStr())); + xmlTextWriterWriteAttribute(pWriter, BAD_CAST("value"), BAD_CAST(OString::boolean(GetValue()).getStr())); + xmlTextWriterEndElement(pWriter); +} + bool SwFmtLayoutSplit::GetPresentation ( SfxItemPresentation /*ePres*/, |