77 void SelectStyle(
const OUString& rStr,
bool bIsCallback);
128 void FamilySelect(sal_uInt16 nEntry,
bool bRefresh =
false);
129 void FilterSelect(sal_uInt16 nActFilter,
bool bsetFilter);
150 void DropHdl(
const OUString& rStyle,
const OUString& rParent);
constexpr int COUNT_BOUND_FUNC
constexpr int MAX_FAMILIES
DECL_LINK(MousePressHdl, const MouseEvent &, bool)
const SfxStyleFamilyItem & GetFamilyItemByIndex(size_t i) const
DECL_LINK(EnableTreeDrag, bool, void)
sal_Int8 AcceptDrop(const AcceptDropEvent &rEvt, const DropTargetHelper &rHelper)
Drop is enabled as long as it is allowed to create a new style by example, i.e.
DECL_LINK(SetFamily, sal_uInt16, void)
bool IsHierarchical() const
void FamilySelect(sal_uInt16 nEntry, bool bRefresh=false)
bool m_bNewByExampleDisabled
Link< StyleFlags, void > m_aUpdateStyles
std::unique_ptr< weld::TreeView > m_xTreeBox
DECL_LINK(IsSafeForWaterCan, void *, bool)
void UpdateStyles(StyleFlags nFlags)
SfxStyleFamily GetActualFamily() const
bool m_bHighlightCharStyles
void Enabledel(bool candel)
OUString getDefaultStyleName(const SfxStyleFamily eFam)
std::optional< SfxStyleFamilies > m_xStyleFamilies
std::array< std::unique_ptr< SfxTemplateItem >, MAX_FAMILIES > m_pFamilyState
void SetHighlightParaStyles(bool bSet)
std::unique_ptr< Idle > pIdle
bool HasStylesHighlighterFeature()
Link< StyleList &, SfxObjectShell * > m_aSaveSelection
SfxCommonTemplateDialog_Impl * m_pParentDialog
Link< void *, void > m_aClearResource
void connect_LoadFactoryStyleFilter(const Link< SfxObjectShell const *, sal_Int32 > &rLink)
void Enableshow(bool canshow)
Link< StyleList &, void > m_aUpdateFamily
void SelectStyle(const OUString &rStr, bool bIsCallback)
DECL_LINK(HasSelectedStyle, void *, bool)
DECL_LINK(CustomRenderHdl, weld::TreeView::render_args, void)
void connect_ClearResource(const Link< void *, void > &rLink)
Link< StyleList &, void > m_aReadResource
const SfxStyleFamilyItem * GetFamilyItem() const
void SetFamilyState(sal_uInt16 nSlotId, const SfxTemplateItem *pItem)
void Enablenew(bool cannew)
DECL_LINK(ExecuteDrop, const ExecuteDropEvent &, sal_Int8)
DECL_LINK(PopupFlatMenuHdl, const CommandEvent &, bool)
void connect_ReadResource(const Link< StyleList &, void > &rLink)
DECL_LINK(Clear, void *, void)
DECL_LINK(EnableDelete, void *, void)
void PrepareMenu(const Point &rPos)
void EnableNewByExample(bool newByExampleDisabled)
void connect_SaveSelection(const Link< StyleList &, SfxObjectShell * > rLink)
void Enableedit(bool canedit)
std::unique_ptr< weld::Menu > mxMenu
void MenuSelect(const OUString &rIdent)
DECL_STATIC_LINK(StyleList, CustomGetSizeHdl, weld::TreeView::get_size_args, Size)
DECL_LINK(TimeOut, Timer *, void)
bool m_bHighlightParaStyles
DECL_LINK(FmtSelectHdl, weld::TreeView &, void)
DECL_LINK(QueryTooltipHdl, const weld::TreeIter &, OUString)
void connect_UpdateFamily(const Link< StyleList &, void > rLink)
DECL_LINK(Cleanup, void *, void)
std::array< std::unique_ptr< SfxTemplateControllerItem >, COUNT_BOUND_FUNC > pBoundItems
std::unique_ptr< TreeViewDropTarget > m_xTreeView2DropTargetHelper
SfxObjectShell * m_pCurObjShell
DECL_LINK(MenuSelectAsyncHdl, void *, void)
StyleList(weld::Builder *pBuilder, SfxBindings *pBindings, SfxCommonTemplateDialog_Impl *Parent, weld::Container *pC, OUString treeviewname, OUString flatviewname)
void SetFilterControlsHandle()
void ShowMenu(const CommandEvent &rCEvt)
void FillTreeBox(SfxStyleFamily eFam)
void connect_UpdateStyles(const Link< StyleFlags, void > &rLink)
DECL_LINK(PopupTreeMenuHdl, const CommandEvent &, bool)
DECL_LINK(KeyInputHdl, const KeyEvent &, bool)
sal_uInt16 StyleNrToInfoOffset(sal_uInt16 i)
SfxStyleSearchBits m_nAppFilter
DECL_LINK(UpdateStyleDependents, void *, void)
std::unique_ptr< TreeViewDropTarget > m_xTreeView1DropTargetHelper
void FilterSelect(sal_uInt16 nActFilter, bool bsetFilter)
SfxBindings * m_pBindings
DECL_LINK(TreeListApplyHdl, weld::TreeView &, bool)
bool m_bModuleHasStylesHighlighterFeature
void Enablehide(bool canhide)
std::unique_ptr< weld::TreeView > m_xFmtLb
bool CurrentFamilyHasState()
Link< SfxObjectShell const *, sal_Int32 > m_aLoadFactoryStyleFilter
bool m_bAllowReParentDrop
void InvalidateBindings()
SfxStyleSheetBasePool * m_pStyleSheetPool
weld::Container * m_pContainer
DECL_LINK(DragBeginHdl, bool &, bool)
void Notify(SfxBroadcaster &rBC, const SfxHint &rHint)
void DropHdl(const OUString &rStyle, const OUString &rParent)
std::unique_ptr< weld::Builder > mxMenuBuilder
DECL_LINK(SetWaterCanState, const SfxBoolItem *, void)
DECL_LINK(ReadResource, void *, size_t)
void GetSelectedStyle() const
bool IsHighlightParaStyles()
OUString GetSelectedEntry() const
bool IsHighlightCharStyles()
void SetHighlightCharStyles(bool bSet)
DECL_LINK(NewMenuExecuteAction, void *, void)
std::tuple< vcl::RenderContext &, const tools::Rectangle &, bool, const OUString & > render_args
std::pair< vcl::RenderContext &, const OUString & > get_size_args