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

◆ getLanguageTag()

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.

References maCountry, maLanguage, maRfcLanguageTag, and maScript.

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

◆ isEmpty()

bool LanguageTagODF::isEmpty ( ) const
inline

Member Data Documentation

◆ maCountry

OUString LanguageTagODF::maCountry

◆ maLanguage

OUString LanguageTagODF::maLanguage

◆ maRfcLanguageTag

OUString LanguageTagODF::maRfcLanguageTag

◆ maScript

OUString LanguageTagODF::maScript

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