43 std::unique_ptr<FastSaxSerializer> xSerializer(std::move(
mpSerializer));
44 xSerializer->endDocument();
51 assert(
false &&
"call endDocument explicitly before dtor to avoid potential exceptions during dtor");
81 mpSerializer->startFastElement(elementTokenId, xAttrList.get());
87 mpSerializer->singleFastElement(elementTokenId, xAttrList.get());
151 sal_Int32
const nTag,
const Sequence<sal_Int32>& rOrder)
157 sal_Int32
const nTag,
MergeMarks const eMergeType)
Receives notification of sax document events to write into an XOutputStream.
void endElement(sal_Int32 elementTokenId)
FastSerializerHelper * writeEscaped(const char *value)
void singleElement(sal_Int32 elementTokenId, sal_Int32 attribute, const char *value, Args &&... args)
Create a single element. After the first argument there can be a number of (attribute,...
void pushAttributeValue(sal_Int32 attribute, const char *value)
void mergeTopMarks(sal_Int32 nTag, MergeMarks eMergeType=MergeMarks::APPEND)
std::unique_ptr< FastSaxSerializer > mpSerializer
void startElement(sal_Int32 elementTokenId, sal_Int32 attribute, const char *value, Args &&... args)
Start an element. After the first argument there can be a number of (attribute, value) pairs.
FastSerializerHelper * write(const char *value)
static rtl::Reference< FastAttributeList > createAttrList()
void setAllowXEscape(bool bSet)
FastSerializerHelper(const css::uno::Reference< css::io::XOutputStream > &xOutputStream, bool bWriteHeader)
void mark(sal_Int32 nTag, const css::uno::Sequence< sal_Int32 > &rOrder=css::uno::Sequence< sal_Int32 >())
css::uno::Reference< css::io::XOutputStream > const & getOutputStream() const
FastSerializerHelper * writeId(sal_Int32 tokenId)