![]() | InDesign SDK 20.5 |
#include <LocaleIndex.h>
Public Member Functions | |
| RsrcType | GetRsrcType () const |
| int32 | GetLength () const |
| PMLocaleId | GetLocaleId (int32 index) const |
| RsrcID | GetRsrcId (int32 index) const |
| bool16 | HasRsrcForLocale (const PMLocaleId &localeId) const |
| RsrcID | GetRsrcIdForLocale (const PMLocaleId &localeId) const |
This is the C++ definition for LocaleIndex resources, which allow us to load the proper localized resource depending on what Product FeatureSet + Language FeatureSet + UI language we're runing in.
| inline |
Get the number of entries in this table
| inline |
Get locale id for a specific entry in the table
| the | requested index into the list |
| inline |
Get localized resource id for a specific entry in the table
| the | requested index into the list |
| RsrcID LocaleIndex::GetRsrcIdForLocale | ( | const PMLocaleId & | localeId | ) | const |
Get the localized resource id for the given locale. Does wildcard matching.
| the | locale we're interested in |
| inline |
Get the resource type, i.e. kStringTableRsrcType
| bool16 LocaleIndex::HasRsrcForLocale | ( | const PMLocaleId & | localeId | ) | const |
Check if this locale index object has an entry for a localized resource id for the given locale. Does wildcard matching.
| the | locale we're interested in |