libwps_tools_win::Language Namespace Reference documentation

Functions
libwps_tools_win::Language Namespace Reference

an enum used to define the language in Windows© for spell check More...

## Functions
std::string | name (long id)
| returns the name given Windows© id More...
std::string | localeName (long id)
| returns the simplified locale name More...
void | addLocaleName (long id, librevenge::RVNGPropertyList &propList)
| add locale name (ie. fo:language,fo:country ) to propList More...
long | getDefault ()
| returns the default language: 0x409 : english(US) More...

## Detailed Description

an enum used to define the language in Windows© for spell check

## Function Documentation

## ◆ addLocaleName()

void libwps_tools_win::Language::addLocaleName | ( | long | id,
|  | librevenge::RVNGPropertyList & | propList
| ) |  |

add locale name (ie. fo:language,fo:country ) to propList

Referenced by WPSFont::addTo().

## ◆ getDefault()

long libwps_tools_win::Language::getDefault | ( |  | ) |

returns the default language: 0x409 : english(US)

## ◆ localeName()

std::string libwps_tools_win::Language::localeName | ( | long | id | ) |

returns the simplified locale name

Referenced by addLocaleName(), WPS8Parser::readDocProperties(), WPSContentListener::setDocumentLanguage(), and WKSContentListener::setDocumentLanguage().

## ◆ name()

std::string libwps_tools_win::Language::name | ( | long | id | ) |

returns the name given Windows© id

Referenced by WPS8Parser::createOLEStructures(), WPS4Parser::createOLEStructures(), WPSOLE1Parser::createZones(), libwps::Debug::flattenFileName(), WKS4SpreadsheetInternal::State::getSheetName(), QuattroSpreadsheetInternal::State::getSheetName(), LotusSpreadsheetInternal::State::getSheetName(), WKSContentListener::openSheetCell(), WPSOLEParser::parse(), WPS4Parser::parseEntry(), WPS8Parser::parseHeaderIndexEntry(), LotusSpreadsheet::readCellName(), WKS4Parser::readChart2Font(), QuattroParser::readChartDef(), WKS4Parser::readChartDef(), LotusParser::readChartDefinition(), WKS4Parser::readChartFont(), QuattroParser::readChartName(), WKS4Parser::readChartName(), LotusParser::readChartName(), WKS4Parser::readChartUnknown(), LotusParser::readChartZone(), LotusParser::readDataZone(), WPS8Parser::readDocProperties(), WPS4Text::readDosLink(), WPS4Text::readEntries(), QuattroParser::readFieldName(), WKS4Parser::readFieldName(), LotusStyleManager::readFMTFontName(), LotusParser::readFMTStyleName(), WKS4Parser::readFont(), WKS4Format::readFontName(), LotusStyleManager::readFontStyleF0(), LotusStyleManager::readFormatStyle(), LotusGraph::readGraphZone(), WPS8Graph::readIBGF(), LotusParser::readLinkZone(), LotusParser::readMacFontName(), LotusStyleManager::readMenuStyleE7(), WPS4Graph::readObject(), WPS8Graph::readPICT(), WPSOLE1Parser::readPicture(), LotusParser::readRefZone(), WKS4Spreadsheet::readReportOpen(), LotusSpreadsheet::readSheetName(), LotusSpreadsheet::readSheetName1B(), QuattroSpreadsheet::readSpreadsheetName(), QuattroSpreadsheet::readUserStyle(), WKS4Parser::readZone(), LotusParser::readZone(), LotusParser::readZone4(), and WPSOLE1Parser::updateMetaData().