LibreOffice Module xmloff (master)  1
Public Member Functions | Public Attributes | List of all members
LanguageTagODF Struct Reference

Helper to gather the single language tag relevant attributes during reading ODF and form a resulting LanguageTag when done. More...

#include <languagetagodf.hxx>

Public Member Functions

bool isEmpty () const
 
LanguageTag getLanguageTag () const
 Best call this only once per instance, it recreates a LanguageTag instance on every call. More...
 

Public Attributes

OUString maRfcLanguageTag
 
OUString maLanguage
 
OUString maScript
 
OUString maCountry
 

Detailed Description

Helper to gather the single language tag relevant attributes during reading ODF and form a resulting LanguageTag when done.

For example fo:language, fo:script, fo:country, style:rfc-language-tag

Definition at line 22 of file languagetagodf.hxx.

Member Function Documentation

LanguageTag LanguageTagODF::getLanguageTag ( ) const
inline

Best call this only once per instance, it recreates a LanguageTag instance on every call.

Definition at line 35 of file languagetagodf.hxx.

Referenced by XMLIndexBibliographyConfigurationContext::CreateAndInsert(), and XMLIndexAlphabeticalSourceContext::EndElement().

bool LanguageTagODF::isEmpty ( ) const
inline

Member Data Documentation

OUString LanguageTagODF::maCountry
OUString LanguageTagODF::maLanguage
OUString LanguageTagODF::maRfcLanguageTag
OUString LanguageTagODF::maScript

The documentation for this struct was generated from the following file: