21#include <libxml/xmlwriter.h>
31 (void)xmlTextWriterStartElement(pWriter, BAD_CAST(
"SfxStringItem"));
32 (void)xmlTextWriterWriteAttribute(pWriter, BAD_CAST(
"whichId"), BAD_CAST(OString::number(
Which()).getStr()));
33 (void)xmlTextWriterWriteAttribute(pWriter, BAD_CAST(
"value"), BAD_CAST(
GetValue().toUtf8().getStr()));
34 (void)xmlTextWriterEndElement(pWriter);
const OUString & GetValue() const
Base class for providers of defaults of SfxPoolItems.
void dumpAsXml(xmlTextWriterPtr pWriter) const override
virtual SfxStringItem * Clone(SfxItemPool *=nullptr) const override
static SfxPoolItem * CreateDefault()
SfxStringItem(sal_uInt16 which=0)
struct _xmlTextWriter * xmlTextWriterPtr