summaryrefslogtreecommitdiff
path: root/include/tools/XmlWriter.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'include/tools/XmlWriter.hxx')
-rw-r--r--include/tools/XmlWriter.hxx14
1 files changed, 8 insertions, 6 deletions
diff --git a/include/tools/XmlWriter.hxx b/include/tools/XmlWriter.hxx
index e8f6579b0e95..400748611bd5 100644
--- a/include/tools/XmlWriter.hxx
+++ b/include/tools/XmlWriter.hxx
@@ -44,21 +44,23 @@ public:
bool startDocument(sal_Int32 nIndent = 2, bool bWriteXmlHeader = true);
void endDocument();
+ void startElement(const char* sName);
void startElement(const OString& sName);
void startElement(const OString& sPrefix, const OString& sName, const OString& sNamespaceUri);
void endElement();
+ void attribute(const char* sTagName, const OString& aValue);
void attribute(const OString& sTagName, const OString& aValue);
- void attribute(const OString& sTagName, std::u16string_view aValue);
- void attribute(const OString& sTagName, sal_Int32 aNumber);
- void attributeDouble(const OString& sTagName, double aNumber);
- void attributeBase64(const OString& sTagName, std::vector<sal_uInt8> const& rValueInBytes);
- void attributeBase64(const OString& sTagName, std::vector<char> const& rValueInBytes);
+ void attribute(const char* sTagName, std::u16string_view aValue);
+ void attribute(const char* sTagName, sal_Int32 aNumber);
+ void attributeDouble(const char* sTagName, double aNumber);
+ void attributeBase64(const char* sTagName, std::vector<sal_uInt8> const& rValueInBytes);
+ void attributeBase64(const char* sTagName, std::vector<char> const& rValueInBytes);
void content(const OString& sValue);
void content(std::u16string_view sValue);
- void element(const OString& sName);
+ void element(const char* sName);
};
} // end tools namespace