LibreOffice Module sfx2 (master) 1
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
StyleList Class Referencefinal

#include <StyleList.hxx>

Inheritance diagram for StyleList:
[legend]
Collaboration diagram for StyleList:
[legend]

Public Member Functions

 StyleList (weld::Builder *pBuilder, SfxBindings *pBindings, SfxCommonTemplateDialog_Impl *Parent, weld::Container *pC, OUString treeviewname, OUString flatviewname)
 
 ~StyleList ()
 
void Initialize ()
 
void SelectStyle (const OUString &rStr, bool bIsCallback)
 
bool CurrentFamilyHasState ()
 
void SetFamilyState (sal_uInt16 nSlotId, const SfxTemplateItem *pItem)
 
void EnableNewByExample (bool newByExampleDisabled)
 
void SetHierarchical ()
 
void SetFilterControlsHandle ()
 
bool IsTreeView () const
 
const SfxStyleFamilyItemGetFamilyItem () const
 
OUString GetSelectedEntry () const
 
const SfxStyleFamilyItemGetFamilyItemByIndex (size_t i) const
 
bool IsHierarchical () const
 
void Enabledel (bool candel)
 
void Enablehide (bool canhide)
 
void Enableshow (bool canshow)
 
void Enablenew (bool cannew)
 
void Enableedit (bool canedit)
 
bool EnableExecute ()
 
void connect_UpdateStyles (const Link< StyleFlags, void > &rLink)
 
void connect_ReadResource (const Link< StyleList &, void > &rLink)
 
void connect_ClearResource (const Link< void *, void > &rLink)
 
void connect_LoadFactoryStyleFilter (const Link< SfxObjectShell const *, sal_Int32 > &rLink)
 
void connect_SaveSelection (const Link< StyleList &, SfxObjectShell * > rLink)
 
void connect_UpdateFamily (const Link< StyleList &, void > rLink)
 
void FamilySelect (sal_uInt16 nEntry, bool bRefresh=false)
 
void FilterSelect (sal_uInt16 nActFilter, bool bsetFilter)
 
 DECL_LINK (NewMenuExecuteAction, void *, void)
 
bool HasStylesHighlighterFeature ()
 
void SetHighlightParaStyles (bool bSet)
 
bool IsHighlightParaStyles ()
 
void SetHighlightCharStyles (bool bSet)
 
bool IsHighlightCharStyles ()
 
- Public Member Functions inherited from SfxListener
 SfxListener ()
 
 SfxListener (const SfxListener &rCopy)
 
virtual ~SfxListener () COVERITY_NOEXCEPT_FALSE
 
void StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected)
 
void EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false)
 
void EndListeningAll ()
 
bool IsListening (SfxBroadcaster &rBroadcaster) const
 
sal_uInt16 GetBroadcasterCount () const
 
SfxBroadcasterGetBroadcasterJOE (sal_uInt16 nNo) const
 
virtual void Notify (SfxBroadcaster &rBC, const SfxHint &rHint)
 
void RemoveBroadcaster_Impl (SfxBroadcaster &rBC)
 
virtual bool IsSdrView () const
 

Private Member Functions

void FillTreeBox (SfxStyleFamily eFam)
 
void UpdateFamily ()
 
void UpdateStyles (StyleFlags nFlags)
 
OUString getDefaultStyleName (const SfxStyleFamily eFam)
 
SfxStyleFamily GetActualFamily () const
 
void GetSelectedStyle () const
 
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. More...
 
void DropHdl (const OUString &rStyle, const OUString &rParent)
 
void MenuSelect (const OUString &rIdent)
 
void PrepareMenu (const Point &rPos)
 
void ShowMenu (const CommandEvent &rCEvt)
 
void CreateContextMenu ()
 
void Notify (SfxBroadcaster &rBC, const SfxHint &rHint)
 
sal_uInt16 StyleNrToInfoOffset (sal_uInt16 i)
 
 DECL_LINK (ReadResource, void *, size_t)
 
 DECL_LINK (Clear, void *, void)
 
 DECL_LINK (Cleanup, void *, void)
 
 DECL_LINK (ExecuteDrop, const ExecuteDropEvent &, sal_Int8)
 
 DECL_LINK (IsSafeForWaterCan, void *, bool)
 
 DECL_LINK (HasSelectedStyle, void *, bool)
 
 DECL_LINK (UpdateStyleDependents, void *, void)
 
 DECL_LINK (TimeOut, Timer *, void)
 
 DECL_LINK (EnableTreeDrag, bool, void)
 
 DECL_LINK (EnableDelete, void *, void)
 
 DECL_LINK (SetWaterCanState, const SfxBoolItem *, void)
 
 DECL_LINK (SetFamily, sal_uInt16, void)
 
void InvalidateBindings ()
 
void Update ()
 
void NewHdl ()
 
void EditHdl ()
 
void DeleteHdl ()
 
void HideHdl ()
 
void ShowHdl ()
 
 DECL_LINK (DragBeginHdl, bool &, bool)
 
 DECL_LINK (KeyInputHdl, const KeyEvent &, bool)
 
 DECL_LINK (QueryTooltipHdl, const weld::TreeIter &, OUString)
 
 DECL_LINK (CustomRenderHdl, weld::TreeView::render_args, void)
 
 DECL_LINK (FmtSelectHdl, weld::TreeView &, void)
 
 DECL_LINK (TreeListApplyHdl, weld::TreeView &, bool)
 
 DECL_LINK (MousePressHdl, const MouseEvent &, bool)
 
 DECL_STATIC_LINK (StyleList, CustomGetSizeHdl, weld::TreeView::get_size_args, Size)
 
 DECL_LINK (PopupFlatMenuHdl, const CommandEvent &, bool)
 
 DECL_LINK (PopupTreeMenuHdl, const CommandEvent &, bool)
 
 DECL_LINK (MenuSelectAsyncHdl, void *, void)
 

Private Attributes

Link< StyleFlags, void > m_aUpdateStyles
 
Link< StyleList &, void > m_aReadResource
 
Link< void *, void > m_aClearResource
 
Link< SfxObjectShell const *, sal_Int32 > m_aLoadFactoryStyleFilter
 
Link< StyleList &, SfxObjectShell * > m_aSaveSelection
 
Link< StyleList &, void > m_aUpdateFamily
 
bool m_bHierarchical: 1
 
bool m_bAllowReParentDrop: 1
 
bool m_bNewByExampleDisabled: 1
 
bool m_bDontUpdate: 1
 
bool m_bTreeDrag: 1
 
bool m_bCanEdit: 1
 
bool m_bCanHide: 1
 
bool m_bCanShow: 1
 
bool m_bCanNew: 1
 
bool m_bUpdateFamily: 1
 
bool m_bCanDel: 1
 
bool m_bBindingUpdate: 1
 
SfxStyleSheetBasePoolm_pStyleSheetPool
 
sal_uInt16 m_nActFilter
 
std::unique_ptr< weld::TreeViewm_xFmtLb
 
std::unique_ptr< weld::TreeViewm_xTreeBox
 
std::unique_ptr< weld::BuildermxMenuBuilder
 
std::unique_ptr< weld::MenumxMenu
 
std::optional< SfxStyleFamiliesm_xStyleFamilies
 
std::array< std::unique_ptr< SfxTemplateItem >, MAX_FAMILIESm_pFamilyState
 
SfxObjectShellm_pCurObjShell
 
sal_uInt16 m_nActFamily
 
SfxStyleSearchBits m_nAppFilter
 
std::unique_ptr< TreeViewDropTargetm_xTreeView1DropTargetHelper
 
std::unique_ptr< TreeViewDropTargetm_xTreeView2DropTargetHelper
 
SfxCommonTemplateDialog_Implm_pParentDialog
 
SfxBindingsm_pBindings
 
std::array< std::unique_ptr< SfxTemplateControllerItem >, COUNT_BOUND_FUNCpBoundItems
 
std::unique_ptr< IdlepIdle
 
OUString sLastItemIdent
 
SfxModulem_Module
 
sal_uInt16 m_nModifier
 
weld::Containerm_pContainer
 
bool m_bModuleHasStylesHighlighterFeature = false
 
bool m_bHighlightParaStyles = false
 
bool m_bHighlightCharStyles = false
 

Friends

class TreeViewDropTarget
 
class SfxTemplateControllerItem
 

Detailed Description

Definition at line 58 of file StyleList.hxx.

Constructor & Destructor Documentation

◆ StyleList()

StyleList::StyleList ( weld::Builder pBuilder,
SfxBindings pBindings,
SfxCommonTemplateDialog_Impl Parent,
weld::Container pC,
OUString  treeviewname,
OUString  flatviewname 
)

◆ ~StyleList()

StyleList::~StyleList ( )

Definition at line 159 of file StyleList.cxx.

Member Function Documentation

◆ AcceptDrop()

sal_Int8 StyleList::AcceptDrop ( const AcceptDropEvent rEvt,
const DropTargetHelper &  rHelper 
)
private

Drop is enabled as long as it is allowed to create a new style by example, i.e.

to create a style out of the current selection.

Definition at line 455 of file StyleList.cxx.

References DND_ACTION_COPY, DND_ACTION_MOVE, DND_ACTION_NONE, weld::TreeView::get_dest_row_at_pos(), GetActualFamily(), m_bNewByExampleDisabled, m_xFmtLb, m_xTreeBox, and AcceptDropEvent::maPosPixel.

Referenced by TreeViewDropTarget::AcceptDrop().

◆ connect_ClearResource()

void StyleList::connect_ClearResource ( const Link< void *, void > &  rLink)
inline

Definition at line 123 of file StyleList.hxx.

References m_aClearResource.

Referenced by SfxCommonTemplateDialog_Impl::Initialize().

◆ connect_LoadFactoryStyleFilter()

void StyleList::connect_LoadFactoryStyleFilter ( const Link< SfxObjectShell const *, sal_Int32 > &  rLink)

Definition at line 442 of file StyleList.cxx.

References m_aLoadFactoryStyleFilter.

Referenced by SfxCommonTemplateDialog_Impl::Initialize().

◆ connect_ReadResource()

void StyleList::connect_ReadResource ( const Link< StyleList &, void > &  rLink)
inline

Definition at line 122 of file StyleList.hxx.

References m_aReadResource.

Referenced by SfxCommonTemplateDialog_Impl::Initialize().

◆ connect_SaveSelection()

void StyleList::connect_SaveSelection ( const Link< StyleList &, SfxObjectShell * >  rLink)

Definition at line 447 of file StyleList.cxx.

References m_aSaveSelection.

Referenced by SfxCommonTemplateDialog_Impl::Initialize().

◆ connect_UpdateFamily()

void StyleList::connect_UpdateFamily ( const Link< StyleList &, void >  rLink)
inline

Definition at line 126 of file StyleList.hxx.

References m_aUpdateFamily.

Referenced by SfxCommonTemplateDialog_Impl::Initialize().

◆ connect_UpdateStyles()

void StyleList::connect_UpdateStyles ( const Link< StyleFlags, void > &  rLink)
inline

Definition at line 121 of file StyleList.hxx.

References m_aUpdateStyles.

Referenced by SfxCommonTemplateDialog_Impl::Initialize().

◆ CreateContextMenu()

void StyleList::CreateContextMenu ( )
private

◆ CurrentFamilyHasState()

bool StyleList::CurrentFamilyHasState ( )
inline

Definition at line 79 of file StyleList.hxx.

References m_nActFamily, and m_pFamilyState.

◆ DECL_LINK() [1/23]

StyleList::DECL_LINK ( Cleanup  ,
void *  ,
void   
)
private

◆ DECL_LINK() [2/23]

StyleList::DECL_LINK ( Clear  ,
void *  ,
void   
)
private

◆ DECL_LINK() [3/23]

StyleList::DECL_LINK ( CustomRenderHdl  ,
weld::TreeView::render_args  ,
void   
)
private

◆ DECL_LINK() [4/23]

StyleList::DECL_LINK ( DragBeginHdl  ,
bool &  ,
bool   
)
private

◆ DECL_LINK() [5/23]

StyleList::DECL_LINK ( EnableDelete  ,
void *  ,
void   
)
private

◆ DECL_LINK() [6/23]

StyleList::DECL_LINK ( EnableTreeDrag  ,
bool  ,
void   
)
private

◆ DECL_LINK() [7/23]

StyleList::DECL_LINK ( ExecuteDrop  ,
const ExecuteDropEvent ,
sal_Int8   
)
private

◆ DECL_LINK() [8/23]

StyleList::DECL_LINK ( FmtSelectHdl  ,
weld::TreeView ,
void   
)
private

◆ DECL_LINK() [9/23]

StyleList::DECL_LINK ( HasSelectedStyle  ,
void *  ,
bool   
)
private

◆ DECL_LINK() [10/23]

StyleList::DECL_LINK ( IsSafeForWaterCan  ,
void *  ,
bool   
)
private

◆ DECL_LINK() [11/23]

StyleList::DECL_LINK ( KeyInputHdl  ,
const KeyEvent ,
bool   
)
private

◆ DECL_LINK() [12/23]

StyleList::DECL_LINK ( MenuSelectAsyncHdl  ,
void *  ,
void   
)
private

◆ DECL_LINK() [13/23]

StyleList::DECL_LINK ( MousePressHdl  ,
const MouseEvent ,
bool   
)
private

◆ DECL_LINK() [14/23]

StyleList::DECL_LINK ( NewMenuExecuteAction  ,
void *  ,
void   
)

◆ DECL_LINK() [15/23]

StyleList::DECL_LINK ( PopupFlatMenuHdl  ,
const CommandEvent ,
bool   
)
private

◆ DECL_LINK() [16/23]

StyleList::DECL_LINK ( PopupTreeMenuHdl  ,
const CommandEvent ,
bool   
)
private

◆ DECL_LINK() [17/23]

StyleList::DECL_LINK ( QueryTooltipHdl  ,
const weld::TreeIter ,
OUString   
)
private

◆ DECL_LINK() [18/23]

StyleList::DECL_LINK ( ReadResource  ,
void *  ,
size_t   
)
private

◆ DECL_LINK() [19/23]

StyleList::DECL_LINK ( SetFamily  ,
sal_uInt16  ,
void   
)
private

◆ DECL_LINK() [20/23]

StyleList::DECL_LINK ( SetWaterCanState  ,
const SfxBoolItem ,
void   
)
private

◆ DECL_LINK() [21/23]

StyleList::DECL_LINK ( TimeOut  ,
Timer ,
void   
)
private

◆ DECL_LINK() [22/23]

StyleList::DECL_LINK ( TreeListApplyHdl  ,
weld::TreeView ,
bool   
)
private

◆ DECL_LINK() [23/23]

StyleList::DECL_LINK ( UpdateStyleDependents  ,
void *  ,
void   
)
private

◆ DECL_STATIC_LINK()

StyleList::DECL_STATIC_LINK ( StyleList  ,
CustomGetSizeHdl  ,
weld::TreeView::get_size_args  ,
Size   
)
private

◆ DeleteHdl()

void StyleList::DeleteHdl ( )
private

◆ DropHdl()

void StyleList::DropHdl ( const OUString &  rStyle,
const OUString &  rParent 
)
private

◆ EditHdl()

void StyleList::EditHdl ( )
private

◆ Enabledel()

void StyleList::Enabledel ( bool  candel)
inline

Definition at line 111 of file StyleList.hxx.

References m_bCanDel.

Referenced by SfxCommonTemplateDialog_Impl::EnableDel().

◆ Enableedit()

void StyleList::Enableedit ( bool  canedit)
inline

Definition at line 115 of file StyleList.hxx.

References m_bCanEdit.

Referenced by SfxCommonTemplateDialog_Impl::EnableEdit().

◆ EnableExecute()

bool StyleList::EnableExecute ( )

Definition at line 437 of file StyleList.cxx.

References m_xFmtLb, and m_xTreeBox.

Referenced by SfxCommonTemplateDialog_Impl::Execute_Impl().

◆ Enablehide()

void StyleList::Enablehide ( bool  canhide)
inline

Definition at line 112 of file StyleList.hxx.

References m_bCanHide.

Referenced by SfxCommonTemplateDialog_Impl::EnableHide().

◆ Enablenew()

void StyleList::Enablenew ( bool  cannew)
inline

Definition at line 114 of file StyleList.hxx.

References m_bCanNew.

Referenced by SfxCommonTemplateDialog_Impl::EnableNew().

◆ EnableNewByExample()

void StyleList::EnableNewByExample ( bool  newByExampleDisabled)

Definition at line 298 of file StyleList.cxx.

References m_bNewByExampleDisabled.

Referenced by SfxCommonTemplateDialog_Impl::EnableExample_Impl().

◆ Enableshow()

void StyleList::Enableshow ( bool  canshow)
inline

Definition at line 113 of file StyleList.hxx.

References m_bCanShow.

Referenced by SfxCommonTemplateDialog_Impl::EnableShow().

◆ FamilySelect()

void StyleList::FamilySelect ( sal_uInt16  nEntry,
bool  bRefresh = false 
)

◆ FillTreeBox()

void StyleList::FillTreeBox ( SfxStyleFamily  eFam)
private

◆ FilterSelect()

void StyleList::FilterSelect ( sal_uInt16  nActFilter,
bool  bsetFilter 
)

◆ GetActualFamily()

SfxStyleFamily StyleList::GetActualFamily ( ) const
private

◆ getDefaultStyleName()

OUString StyleList::getDefaultStyleName ( const SfxStyleFamily  eFam)
private

◆ GetFamilyItem()

const SfxStyleFamilyItem * StyleList::GetFamilyItem ( ) const

◆ GetFamilyItemByIndex()

const SfxStyleFamilyItem & StyleList::GetFamilyItemByIndex ( size_t  i) const

Definition at line 1870 of file StyleList.cxx.

References i, and m_xStyleFamilies.

◆ GetSelectedEntry()

OUString StyleList::GetSelectedEntry ( ) const

◆ GetSelectedStyle()

void StyleList::GetSelectedStyle ( ) const
private

◆ HasStylesHighlighterFeature()

bool StyleList::HasStylesHighlighterFeature ( )
inline

◆ HideHdl()

void StyleList::HideHdl ( )
private

◆ Initialize()

void StyleList::Initialize ( )

◆ InvalidateBindings()

void StyleList::InvalidateBindings ( )
private

Definition at line 333 of file StyleList.cxx.

References SfxBindings::Invalidate(), m_pBindings, and SfxBindings::Update().

Referenced by UpdateFamily().

◆ IsHierarchical()

bool StyleList::IsHierarchical ( ) const
inline

Definition at line 109 of file StyleList.hxx.

References m_bHierarchical.

Referenced by SfxCommonTemplateDialog_Impl::EnableHierarchical().

◆ IsHighlightCharStyles()

bool StyleList::IsHighlightCharStyles ( )
inline

Definition at line 137 of file StyleList.hxx.

References m_bHighlightCharStyles.

Referenced by SfxCommonTemplateDialog_Impl::FamilySelect().

◆ IsHighlightParaStyles()

bool StyleList::IsHighlightParaStyles ( )
inline

Definition at line 135 of file StyleList.hxx.

References m_bHighlightParaStyles.

Referenced by SfxCommonTemplateDialog_Impl::FamilySelect().

◆ IsTreeView()

bool StyleList::IsTreeView ( ) const
inline

Definition at line 98 of file StyleList.hxx.

References m_xTreeBox.

◆ MenuSelect()

void StyleList::MenuSelect ( const OUString &  rIdent)
private

Definition at line 1486 of file StyleList.cxx.

References LINK, Application::PostUserEvent(), and sLastItemIdent.

Referenced by ShowMenu().

◆ NewHdl()

void StyleList::NewHdl ( )
private

◆ Notify()

void StyleList::Notify ( SfxBroadcaster rBC,
const SfxHint rHint 
)
privatevirtual

◆ PrepareMenu()

void StyleList::PrepareMenu ( const Point rPos)
private

◆ SelectStyle()

void StyleList::SelectStyle ( const OUString &  rStr,
bool  bIsCallback 
)

◆ SetFamilyState()

void StyleList::SetFamilyState ( sal_uInt16  nSlotId,
const SfxTemplateItem pItem 
)

Definition at line 1274 of file StyleList.cxx.

References m_bUpdateFamily, and m_pFamilyState.

Referenced by SfxCommonTemplateDialog_Impl::SetFamilyState().

◆ SetFilterControlsHandle()

void StyleList::SetFilterControlsHandle ( )

Definition at line 1293 of file StyleList.cxx.

References m_bHierarchical, m_xFmtLb, and m_xTreeBox.

Referenced by SfxCommonTemplateDialog_Impl::EnableHierarchical().

◆ SetHierarchical()

void StyleList::SetHierarchical ( )

◆ SetHighlightCharStyles()

void StyleList::SetHighlightCharStyles ( bool  bSet)
inline

Definition at line 136 of file StyleList.hxx.

References m_bHighlightCharStyles.

◆ SetHighlightParaStyles()

void StyleList::SetHighlightParaStyles ( bool  bSet)
inline

Definition at line 134 of file StyleList.hxx.

References m_bHighlightParaStyles.

◆ ShowHdl()

void StyleList::ShowHdl ( )
private

◆ ShowMenu()

void StyleList::ShowMenu ( const CommandEvent rCEvt)
private

◆ StyleNrToInfoOffset()

sal_uInt16 StyleList::StyleNrToInfoOffset ( sal_uInt16  i)
private

◆ Update()

void StyleList::Update ( )
private

◆ UpdateFamily()

void StyleList::UpdateFamily ( )
private

◆ UpdateStyles()

void StyleList::UpdateStyles ( StyleFlags  nFlags)
private

Friends And Related Function Documentation

◆ SfxTemplateControllerItem

friend class SfxTemplateControllerItem
friend

Definition at line 61 of file StyleList.hxx.

◆ TreeViewDropTarget

friend class TreeViewDropTarget
friend

Definition at line 60 of file StyleList.hxx.

Referenced by Initialize().

Member Data Documentation

◆ m_aClearResource

Link<void*, void> StyleList::m_aClearResource
private

Definition at line 181 of file StyleList.hxx.

Referenced by connect_ClearResource(), and Update().

◆ m_aLoadFactoryStyleFilter

Link<SfxObjectShell const*, sal_Int32> StyleList::m_aLoadFactoryStyleFilter
private

Definition at line 182 of file StyleList.hxx.

Referenced by connect_LoadFactoryStyleFilter(), and Update().

◆ m_aReadResource

Link<StyleList&, void> StyleList::m_aReadResource
private

Definition at line 180 of file StyleList.hxx.

Referenced by connect_ReadResource(), and Update().

◆ m_aSaveSelection

Link<StyleList&, SfxObjectShell*> StyleList::m_aSaveSelection
private

Definition at line 183 of file StyleList.hxx.

Referenced by connect_SaveSelection(), and FilterSelect().

◆ m_aUpdateFamily

Link<StyleList&, void> StyleList::m_aUpdateFamily
private

Definition at line 184 of file StyleList.hxx.

Referenced by connect_UpdateFamily(), FamilySelect(), Notify(), and Update().

◆ m_aUpdateStyles

Link<StyleFlags, void> StyleList::m_aUpdateStyles
private

Definition at line 179 of file StyleList.hxx.

Referenced by connect_UpdateStyles(), and UpdateStyles().

◆ m_bAllowReParentDrop

bool StyleList::m_bAllowReParentDrop
private

Definition at line 206 of file StyleList.hxx.

Referenced by FillTreeBox().

◆ m_bBindingUpdate

bool StyleList::m_bBindingUpdate
private

Definition at line 216 of file StyleList.hxx.

Referenced by CreateContextMenu().

◆ m_bCanDel

bool StyleList::m_bCanDel
private

Definition at line 215 of file StyleList.hxx.

Referenced by CreateContextMenu(), and Enabledel().

◆ m_bCanEdit

bool StyleList::m_bCanEdit
private

Definition at line 210 of file StyleList.hxx.

Referenced by CreateContextMenu(), and Enableedit().

◆ m_bCanHide

bool StyleList::m_bCanHide
private

Definition at line 211 of file StyleList.hxx.

Referenced by CreateContextMenu(), and Enablehide().

◆ m_bCanNew

bool StyleList::m_bCanNew
private

Definition at line 213 of file StyleList.hxx.

Referenced by CreateContextMenu(), Enablenew(), Update(), and UpdateFamily().

◆ m_bCanShow

bool StyleList::m_bCanShow
private

Definition at line 212 of file StyleList.hxx.

Referenced by CreateContextMenu(), and Enableshow().

◆ m_bDontUpdate

bool StyleList::m_bDontUpdate
private

Definition at line 208 of file StyleList.hxx.

Referenced by DeleteHdl(), DropHdl(), and Notify().

◆ m_bHierarchical

bool StyleList::m_bHierarchical
private

◆ m_bHighlightCharStyles

bool StyleList::m_bHighlightCharStyles = false
private

◆ m_bHighlightParaStyles

bool StyleList::m_bHighlightParaStyles = false
private

◆ m_bModuleHasStylesHighlighterFeature

bool StyleList::m_bModuleHasStylesHighlighterFeature = false
private

Definition at line 245 of file StyleList.hxx.

Referenced by FillTreeBox(), HasStylesHighlighterFeature(), StyleList(), and UpdateStyles().

◆ m_bNewByExampleDisabled

bool StyleList::m_bNewByExampleDisabled
private

Definition at line 207 of file StyleList.hxx.

Referenced by AcceptDrop(), and EnableNewByExample().

◆ m_bTreeDrag

bool StyleList::m_bTreeDrag
private

Definition at line 209 of file StyleList.hxx.

Referenced by FillTreeBox(), and UpdateFamily().

◆ m_bUpdateFamily

bool StyleList::m_bUpdateFamily
private

Definition at line 214 of file StyleList.hxx.

Referenced by Notify(), SetFamilyState(), Update(), and UpdateFamily().

◆ m_Module

SfxModule* StyleList::m_Module
private

Definition at line 241 of file StyleList.hxx.

Referenced by Update().

◆ m_nActFamily

sal_uInt16 StyleList::m_nActFamily
private

◆ m_nActFilter

sal_uInt16 StyleList::m_nActFilter
private

Definition at line 218 of file StyleList.hxx.

Referenced by EditHdl(), FilterSelect(), NewHdl(), Update(), and UpdateStyles().

◆ m_nAppFilter

SfxStyleSearchBits StyleList::m_nAppFilter
private

Definition at line 229 of file StyleList.hxx.

Referenced by NewHdl(), Update(), and UpdateStyles().

◆ m_nModifier

sal_uInt16 StyleList::m_nModifier
private

Definition at line 242 of file StyleList.hxx.

◆ m_pBindings

SfxBindings* StyleList::m_pBindings
private

◆ m_pContainer

weld::Container* StyleList::m_pContainer
private

Definition at line 243 of file StyleList.hxx.

◆ m_pCurObjShell

SfxObjectShell* StyleList::m_pCurObjShell
private

Definition at line 227 of file StyleList.hxx.

Referenced by FillTreeBox(), getDefaultStyleName(), and UpdateStyles().

◆ m_pFamilyState

std::array<std::unique_ptr<SfxTemplateItem>, MAX_FAMILIES> StyleList::m_pFamilyState
private

◆ m_pParentDialog

SfxCommonTemplateDialog_Impl* StyleList::m_pParentDialog
private

◆ m_pStyleSheetPool

SfxStyleSheetBasePool* StyleList::m_pStyleSheetPool
private

◆ m_xFmtLb

std::unique_ptr<weld::TreeView> StyleList::m_xFmtLb
private

◆ m_xStyleFamilies

std::optional<SfxStyleFamilies> StyleList::m_xStyleFamilies
private

◆ m_xTreeBox

std::unique_ptr<weld::TreeView> StyleList::m_xTreeBox
private

◆ m_xTreeView1DropTargetHelper

std::unique_ptr<TreeViewDropTarget> StyleList::m_xTreeView1DropTargetHelper
private

Definition at line 231 of file StyleList.hxx.

Referenced by Initialize().

◆ m_xTreeView2DropTargetHelper

std::unique_ptr<TreeViewDropTarget> StyleList::m_xTreeView2DropTargetHelper
private

Definition at line 232 of file StyleList.hxx.

Referenced by Initialize().

◆ mxMenu

std::unique_ptr<weld::Menu> StyleList::mxMenu
private

Definition at line 223 of file StyleList.hxx.

Referenced by CreateContextMenu(), and ShowMenu().

◆ mxMenuBuilder

std::unique_ptr<weld::Builder> StyleList::mxMenuBuilder
private

Definition at line 222 of file StyleList.hxx.

Referenced by CreateContextMenu().

◆ pBoundItems

std::array<std::unique_ptr<SfxTemplateControllerItem>, COUNT_BOUND_FUNC> StyleList::pBoundItems
private

Definition at line 236 of file StyleList.hxx.

◆ pIdle

std::unique_ptr<Idle> StyleList::pIdle
private

Definition at line 238 of file StyleList.hxx.

Referenced by Notify().

◆ sLastItemIdent

OUString StyleList::sLastItemIdent
private

Definition at line 240 of file StyleList.hxx.

Referenced by MenuSelect().


The documentation for this class was generated from the following files: