LibreOffice Module oox (master) 1
|
This class is used for creating XmlStream. More...
#include <importutils.hxx>
Public Member Functions | |
void | appendOpeningTag (int token, const css::uno::Reference< css::xml::sax::XFastAttributeList > &attributes=css::uno::Reference< css::xml::sax::XFastAttributeList >()) |
void | appendOpeningTag (int token, const AttributeList &attribs) |
void | appendClosingTag (int token) |
void | appendCharacters (std::u16string_view characters) |
Public Member Functions inherited from oox::formulaimport::XmlStream | |
XmlStream () | |
bool | atEnd () const |
Tag | currentTag () const |
int | currentToken () const |
void | moveToNextTag () |
Moves position to the next tag. More... | |
Tag | ensureOpeningTag (int token) |
Ensures that an opening tag with the given token is read. More... | |
Tag | checkOpeningTag (int token) |
Tries to find an opening tag with the given token. More... | |
void | ensureClosingTag (int token) |
Ensures that a closing tag with the given token is read. More... | |
bool | findTag (int token) |
Tries to find the given token, until either found (returns true) or end of current element. More... | |
void | handleUnexpectedTag () |
Handle the current (unexpected) tag. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from oox::formulaimport::XmlStream | |
Tag | checkTag (int token, bool optional) |
bool | findTagInternal (int token, bool silent) |
void | skipElementInternal (int token, bool silent) |
Protected Attributes inherited from oox::formulaimport::XmlStream | |
std::vector< Tag > | tags |
unsigned int | pos |
This class is used for creating XmlStream.
Simply use this class and then pass it as XmlStream to the consumer.
Definition at line 224 of file importutils.hxx.
void oox::formulaimport::XmlStreamBuilder::appendCharacters | ( | std::u16string_view | characters | ) |
Definition at line 330 of file importutils.cxx.
References oox::formulaimport::XmlStream::tags.
void oox::formulaimport::XmlStreamBuilder::appendClosingTag | ( | int | token | ) |
Definition at line 325 of file importutils.cxx.
References CLOSING, and oox::formulaimport::XmlStream::tags.
void oox::formulaimport::XmlStreamBuilder::appendOpeningTag | ( | int | token, |
const AttributeList & | attribs | ||
) |
Definition at line 320 of file importutils.cxx.
References OPENING, and oox::formulaimport::XmlStream::tags.
void oox::formulaimport::XmlStreamBuilder::appendOpeningTag | ( | int | token, |
const css::uno::Reference< css::xml::sax::XFastAttributeList > & | attributes = css::uno::Reference< css::xml::sax::XFastAttributeList >() |
||
) |