// This function connects m_xTreeBox, m_xFmtLb and m_pParentDialog with certain LINKs void Initialize();
// It selects the style in treeview // bIsCallBack is true for the selected style. For eg. if "Addressee" is selected in // styles, bIsCallBack will be true for it. void SelectStyle(const OUString& rStr, bool bIsCallback); // Checks whether a family has a saved state bool CurrentFamilyHasState() { return nullptr != m_pFamilyState[m_nActFamily - 1]; }
// This function is a subpart of Dialog's SetFamilyState // When a new style is selected for use, it resets it. void SetFamilyState(sal_uInt16 nSlotId, const SfxTemplateItem* pItem);
// It is used in Dialog's EnableExample_Impl // When the value of m_bNewbyExampleDisabled is updated there // while creating a new style by example, // the corresponding value gets updated here too. void EnableNewByExample(bool newByExampleDisabled);
// This function is used to set a hierarchical view. void SetHierarchical(); // This function handles the controls while setting a filter except hierarchical void SetFilterControlsHandle(); // Return whether treeview is visible // It is used in StyleList's UpdateStyles_Hdl // It is used to defaultly set the hierarchical view bool IsTreeView() const { return m_xTreeBox->get_visible(); }
// Helper function: Access to the current family item // Used in Dialog's updateStyleHandler, Execute_Impl etc... const SfxStyleFamilyItem* GetFamilyItem() const; // Used to get the current selected entry in treeview // Used in Dialog's Execute_Impl, Action_Select etc...
OUString GetSelectedEntry() const; // Returns the Family Item at ith index // Used in Dialog's ReadResource_Hdl const SfxStyleFamilyItem& GetFamilyItemByIndex(size_t i) const; bool IsHierarchical() const { return m_bHierarchical; }
// In which FamilyState do I have to look, in order to get the // information of the ith Family in the pStyleFamilies.
sal_uInt16 StyleNrToInfoOffset(sal_uInt16 i);
SfxStyleFamilies m_aStyleFamilies;
std::array<std::unique_ptr<SfxTemplateItem>, MAX_FAMILIES> m_pFamilyState;
SfxObjectShell* m_pCurObjShell;
sal_uInt16 m_nActFamily;
SfxStyleSearchBits m_nAppFilter; // Filter, which has set the application (for automatic)
¤ 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.0.12Bemerkung:
(vorverarbeitet am 2026-10-01)
¤
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.