/** This class holds all data about the names of styles used in the user *interface(UInames...thesearelocalisedintodifferentlanguages). *TheseUInamesareloadedfromtheresourcefilesondemand. * *Italsoholdsallinformationaboutthe'Programmatic'namesofstyles *whichremainstatic(andarehardcodedinthecorrespondingcxxfile) *foralllanguages. * *Thisclassalsoprovidesstaticfunctionswhichcanbeusedforthe *followingconversions: * *1.ProgrammaticName->UIName *2.ProgrammaticName->PoolID *3.UIName->ProgrammaticName *4.UIName->PoolID *5.PoolID->UIName *6.PoolID->ProgrammaticName * *Therelationshipofthesetablestothestylefamiliesisasfollows: * *1.ParagraphcontainstheText,Lists,Extra,Register,DocandHTML *namearrays. *2.CharactercontainstheChrFormatandHTMLChrFormatnamearrays. *3.PagecontainsthePageDescnamearray. *4.FramecontainstheFrameFormatnamearray. *5.NumberingRulecontainstheNumRulenamearray.
*/
public: // This gets the UI Name from the programmatic name
SAL_WARN_UNUSED_RESULT static UIName GetUIName(const ProgName& rName, SwGetPoolIdFromName); staticvoid FillUIName(const ProgName& rName, UIName& rFillName,
SwGetPoolIdFromName);
// Get the programmatic Name from the UI name
SAL_WARN_UNUSED_RESULT static ProgName GetProgName(const UIName& rName,
SwGetPoolIdFromName); staticvoid FillProgName(const UIName& rName, ProgName& rFillName,
SwGetPoolIdFromName);
// This gets the UI Name from the Pool ID
SW_DLLPUBLIC staticvoid FillUIName(sal_uInt16 nId, UIName& rFillName);
SAL_WARN_UNUSED_RESULT
SW_DLLPUBLIC static UIName GetUIName(sal_uInt16 nId, const ProgName& rName);
// This gets the programmatic Name from the Pool ID staticvoid FillProgName(sal_uInt16 nId, ProgName& rFillName);
SAL_WARN_UNUSED_RESULT
SW_DLLPUBLIC static ProgName GetProgName(sal_uInt16 nId, const UIName& rName);
// This gets the PoolId from the UI Name
SAL_WARN_UNUSED_RESULT
SW_DLLPUBLIC static sal_uInt16 GetPoolIdFromUIName(const UIName& rName,
SwGetPoolIdFromName);
// Get the Pool ID from the programmatic name
SAL_WARN_UNUSED_RESULT
SW_DLLPUBLIC static sal_uInt16 GetPoolIdFromProgName(const ProgName& rName,
SwGetPoolIdFromName);
// used to convert the 4 special ExtraProg/UINames for // RES_POOLCOLL_LABEL_DRAWING, RES_POOLCOLL_LABEL_ABB, // RES_POOLCOLL_LABEL_TABLE, RES_POOLCOLL_LABEL_FRAME // forth and back. // Non-matching names remain unchanged.
SAL_WARN_UNUSED_RESULT
SW_DLLPUBLIC static ProgName GetSpecialExtraProgName( const UIName& rExtraUIName);
SAL_WARN_UNUSED_RESULT static UIName GetSpecialExtraUIName(const ProgName& rExtraProgName);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.