LibreOffice Module oox (master) 1
Public Member Functions | List of all members
oox::formulaimport::XmlStreamBuilder Class Reference

This class is used for creating XmlStream. More...

#include <importutils.hxx>

Inheritance diagram for oox::formulaimport::XmlStreamBuilder:
[legend]
Collaboration diagram for oox::formulaimport::XmlStreamBuilder:
[legend]

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< Tagtags
 
unsigned int pos
 

Detailed Description

This class is used for creating XmlStream.

Simply use this class and then pass it as XmlStream to the consumer.

Available since: \n 3.5.0

Definition at line 224 of file importutils.hxx.

Member Function Documentation

◆ appendCharacters()

void oox::formulaimport::XmlStreamBuilder::appendCharacters ( std::u16string_view  characters)

Definition at line 330 of file importutils.cxx.

References oox::formulaimport::XmlStream::tags.

◆ appendClosingTag()

void oox::formulaimport::XmlStreamBuilder::appendClosingTag ( int  token)

Definition at line 325 of file importutils.cxx.

References CLOSING, and oox::formulaimport::XmlStream::tags.

◆ appendOpeningTag() [1/2]

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.

◆ appendOpeningTag() [2/2]

void oox::formulaimport::XmlStreamBuilder::appendOpeningTag ( int  token,
const css::uno::Reference< css::xml::sax::XFastAttributeList > &  attributes = css::uno::Reference< css::xml::sax::XFastAttributeList >() 
)

The documentation for this class was generated from the following files: