LibreOffice Module xmloff (master) 1
Namespaces | Macros | Functions | Variables
xmltoken.cxx File Reference
#include <sal/macros.h>
#include <xmloff/xmltoken.hxx>
#include <rtl/ustring.hxx>
#include <rtl/string.hxx>
#include <sal/log.hxx>
#include <optional>
#include <set>
Include dependency graph for xmltoken.cxx:

Go to the source code of this file.

Namespaces

namespace  xmloff
 
namespace  xmloff::token
 Handling of tokens in XML:
 

Macros

#define TOKEN(s, e)   { sizeof(s)-1, s, std::nullopt, e }
 

Functions

const OUString & xmloff::token::GetXMLToken (enum XMLTokenEnum eToken)
 return the OUString representation for eToken More...
 
bool xmloff::token::IsXMLToken (std::u16string_view rString, enum XMLTokenEnum eToken)
 compare eToken to the string More...
 
bool xmloff::token::IsXMLToken (const sax_fastparser::FastAttributeList::FastAttributeIter &aIter, enum XMLTokenEnum eToken)
 
bool xmloff::token::IsXMLToken (std::string_view rString, enum XMLTokenEnum eToken)
 compare eToken to the string More...
 

Variables

struct XMLTokenEntry xmloff::token::aTokenList []
 

Macro Definition Documentation

◆ TOKEN

#define TOKEN (   s,
 
)    { sizeof(s)-1, s, std::nullopt, e }

Definition at line 54 of file xmltoken.cxx.

Variable Documentation

◆ eToken

XMLTokenEnum eToken

◆ nLength

sal_Int32 nLength

◆ pChar

const char* pChar

Definition at line 36 of file xmltoken.cxx.

◆ xOUString

std::optional<OUString> xOUString

Definition at line 37 of file xmltoken.cxx.