10#ifndef INCLUDED_TOOLS_XMLWRITER_HXX
11#define INCLUDED_TOOLS_XMLWRITER_HXX
14#include <rtl/string.hxx>
37 std::unique_ptr<XmlWriterImpl>
mpImpl;
44 bool startDocument(sal_Int32 nIndent = 2,
bool bWriteXmlHeader =
true);
47 void startElement(
const char* sName);
48 void startElement(
const OString& sName);
49 void startElement(
const OString&
sPrefix,
const OString& sName,
const OString& sNamespaceUri);
52 void attribute(
const char* sTagName,
const OString& aValue);
53 void attribute(
const OString& sTagName,
const OString& aValue);
54 void attribute(
const char* sTagName, std::u16string_view aValue);
55 void attribute(
const char* sTagName, sal_Int32 aNumber);
56 void attributeDouble(
const char* sTagName,
double aNumber);
57 void attributeBase64(
const char* sTagName, std::vector<sal_uInt8>
const& rValueInBytes);
58 void attributeBase64(
const char* sTagName, std::vector<char>
const& rValueInBytes);
60 void content(
const OString& sValue);
61 void content(std::u16string_view sValue);
63 void element(
const char* sName);