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 QuattroSpreadsheet::addDLLIdName(), libwps_OLE::OStorage::addStream(), QuattroSpreadsheet::addUserFormat(), WPSOLE1Parser::checkIfParsed(), libwps_OLE::OStorage::createEntry(), libwps_OLE::IStream::createOleFromDirectory(), WPS8Parser::createOLEStructures(), WPS4Parser::createOLEStructures(), WPSOLE1Parser::createZones(), libwps_OLE::DirTree::entry(), libwps_OLE::IStorage::entry(), libwps_OLE::WPSOLEStream::existsSubStream(), libwps_OLE::DirTree::find_child(), libwps::Debug::flattenFileName(), WPS8PLCInternal::KnownPLC::get(), WPS4PLCInternal::KnownPLC::get(), libwps_tools_win::Font::getFontType(), QuattroSpreadsheetInternal::State::getSheetName(), WKS4SpreadsheetInternal::State::getSheetName(), QuattroDosSpreadsheetInternal::State::getSheetName(), LotusSpreadsheetInternal::State::getSheetName(), WPSOLE1Parser::getStreamForName(), libwps_OLE::WPSOLEStream::getSubStreamByName(), libwps_OLE::DirTree::getSubStreamList(), libwps_OLE::DirTree::index(), libwps_OLE::IStorage::index(), libwps_OLE::IStorage::isSubStream(), libwps_OLE::IStream::IStream(), WKSContentListener::openSheet(), WKSContentListener::openSheetCell(), WPSOLEParser::parse(), WPS4Parser::parseEntry(), WPS8Parser::parseHeaderIndexEntry(), QuattroSpreadsheet::readCell(), LotusSpreadsheet::readCellName(), QuattroDosChart::readChart(), WKS4Chart::readChart(), LotusChart::readChart(), WKS4Chart::readChart2Font(), WKS4Chart::readChartAxis(), WKS4Chart::readChartFont(), QuattroDosChart::readChartName(), LotusChart::readChartName(), WKS4Chart::readChartName(), LotusParser::readChartZone(), LotusParser::readDataZone(), WPS8Parser::readDocProperties(), WPS4Text::readDosLink(), WPSOLEObject::readEmbeddedOLE(), WPS4Text::readEntries(), QuattroDosParser::readFieldName(), QuattroParser::readFieldName(), WKS4Parser::readFieldName(), QuattroDosParser::readFileName(), QuattroParser::readFileName(), LotusStyleManager::readFMTFontName(), LotusGraph::readFMTPictName(), LotusParser::readFMTStyleName(), WKS4Parser::readFont(), QuattroParser::readFontDef(), WKS4Format::readFontName(), LotusStyleManager::readFontStyleF0(), LotusStyleManager::readFormatStyle(), LotusGraph::readGraphZone(), WPS8Graph::readIBGF(), LotusParser::readMacFontName(), LotusStyleManager::readMenuStyleE7(), QuattroParser::readOLEZones(), QuattroParser::readPageSetup(), WPS8Graph::readPICT(), LotusParser::readRefZone(), WKS4Spreadsheet::readReportOpen(), LotusChart::readSerieName(), QuattroSpreadsheet::readSheetName(), LotusSpreadsheet::readSheetName(), LotusSpreadsheet::readSheetName1B(), QuattroDosSpreadsheet::readSpreadsheetName(), WPSOLEObject::readStaticOLE(), WPSOLEObject::readString(), QuattroParser::readStyleName(), QuattroDosSpreadsheet::readUserStyle(), WKS4Parser::readZone(), LotusParser::readZone(), LotusParser::readZone4(), libwps_OLE::OStorage::setInformation(), LotusChart::updateChart(), and WPSOLE1Parser::updateMetaData().