LibreOffice Module sfx2 (master) 1
|
#include <StyleList.hxx>
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 SfxStyleFamilyItem * | GetFamilyItem () const |
OUString | GetSelectedEntry () const |
const SfxStyleFamilyItem & | GetFamilyItemByIndex (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 |
SfxBroadcaster * | GetBroadcasterJOE (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) | |
Friends | |
class | TreeViewDropTarget |
class | SfxTemplateControllerItem |
Definition at line 58 of file StyleList.hxx.
StyleList::StyleList | ( | weld::Builder * | pBuilder, |
SfxBindings * | pBindings, | ||
SfxCommonTemplateDialog_Impl * | Parent, | ||
weld::Container * | pC, | ||
OUString | treeviewname, | ||
OUString | flatviewname | ||
) |
Definition at line 121 of file StyleList.cxx.
References Auto, SfxBindings::GetDispatcher(), SfxDispatcher::GetFrame(), SfxViewFrame::GetFrame(), SfxFrame::GetFrameInterface(), vcl::CommandInfoProvider::GetModuleIdentifier(), HID_TEMPLATE_FMT, m_bModuleHasStylesHighlighterFeature, m_pBindings, m_xFmtLb, Parent, and xFrame.
StyleList::~StyleList | ( | ) |
Definition at line 159 of file StyleList.cxx.
|
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().
|
inline |
Definition at line 123 of file StyleList.hxx.
References m_aClearResource.
Referenced by SfxCommonTemplateDialog_Impl::Initialize().
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().
Definition at line 122 of file StyleList.hxx.
References m_aReadResource.
Referenced by SfxCommonTemplateDialog_Impl::Initialize().
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().
Definition at line 126 of file StyleList.hxx.
References m_aUpdateFamily.
Referenced by SfxCommonTemplateDialog_Impl::Initialize().
|
inline |
Definition at line 121 of file StyleList.hxx.
References m_aUpdateStyles.
Referenced by SfxCommonTemplateDialog_Impl::Initialize().
|
private |
Definition at line 175 of file StyleList.cxx.
References Application::CreateBuilder(), SfxStyleFamilyItem::GetFamily(), GetFamilyItem(), GetSelectedEntry(), SfxBindings::Invalidate(), m_bBindingUpdate, m_bCanDel, m_bCanEdit, m_bCanHide, m_bCanNew, m_bCanShow, m_pBindings, mxMenu, mxMenuBuilder, and SfxBindings::Update().
Referenced by ShowMenu().
|
inline |
Definition at line 79 of file StyleList.hxx.
References m_nActFamily, and m_pFamilyState.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
StyleList::DECL_LINK | ( | NewMenuExecuteAction | , |
void * | , | ||
void | |||
) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 1334 of file StyleList.cxx.
References Application::CreateMessageDialog(), SfxCommonTemplateDialog_Impl::Execute_Impl(), SfxStyleSheetBasePool::Find(), weld::TreeView::get_text(), SfxStyleFamilyItem::GetFamily(), GetFamilyItem(), if(), m_bDontUpdate, m_nActFamily, m_pParentDialog, m_pStyleSheetPool, m_xFmtLb, m_xTreeBox, weld::TreeView::make_iterator(), weld::RemoveParentKeepChildren(), RET_YES, weld::TreeView::selected_foreach(), SfxResId(), UpdateFamilyList, and UpdateStyles().
|
private |
Definition at line 578 of file StyleList.cxx.
References SfxStyleSheetBasePool::Find(), SfxStyleFamilyItem::GetFamily(), GetFamilyItem(), m_bDontUpdate, and m_pStyleSheetPool.
|
private |
Definition at line 1320 of file StyleList.cxx.
References SfxCommonTemplateDialog_Impl::Execute_Impl(), GetFamilyItem(), GetSelectedEntry(), GetSelectedStyle(), m_nActFamily, m_nActFilter, and m_pParentDialog.
|
inline |
Definition at line 111 of file StyleList.hxx.
References m_bCanDel.
Referenced by SfxCommonTemplateDialog_Impl::EnableDel().
|
inline |
Definition at line 115 of file StyleList.hxx.
References m_bCanEdit.
Referenced by SfxCommonTemplateDialog_Impl::EnableEdit().
bool StyleList::EnableExecute | ( | ) |
Definition at line 437 of file StyleList.cxx.
References m_xFmtLb, and m_xTreeBox.
Referenced by SfxCommonTemplateDialog_Impl::Execute_Impl().
|
inline |
Definition at line 112 of file StyleList.hxx.
References m_bCanHide.
Referenced by SfxCommonTemplateDialog_Impl::EnableHide().
|
inline |
Definition at line 114 of file StyleList.hxx.
References m_bCanNew.
Referenced by SfxCommonTemplateDialog_Impl::EnableNew().
void StyleList::EnableNewByExample | ( | bool | newByExampleDisabled | ) |
Definition at line 298 of file StyleList.cxx.
References m_bNewByExampleDisabled.
Referenced by SfxCommonTemplateDialog_Impl::EnableExample_Impl().
|
inline |
Definition at line 113 of file StyleList.hxx.
References m_bCanShow.
Referenced by SfxCommonTemplateDialog_Impl::EnableShow().
void StyleList::FamilySelect | ( | sal_uInt16 | nEntry, |
bool | bRefresh = false |
||
) |
Definition at line 872 of file StyleList.cxx.
References Link< typename Arg, typename Ret >::Call(), SfxDispatcher::ExecuteList(), SfxBindings::GetDispatcher_Impl(), SfxBindings::Invalidate(), m_aUpdateFamily, m_nActFamily, m_pBindings, m_xFmtLb, m_xTreeBox, SfxTemplate::NIdToSfxFamilyId(), SYNCHRON, SfxBindings::Update(), and UpdateFamily().
Referenced by SfxCommonTemplateDialog_Impl::FamilySelect().
|
private |
Definition at line 1007 of file StyleList.cxx.
References aArr, aEntries, aUIName, SfxCommonTemplateDialog_Impl::EnableItem(), FillBox_Impl(), SfxStyleSheetBasePool::First(), get(), getDefaultStyleName(), SfxBindings::GetDispatcher_Impl(), GetFamilyItem(), SfxDispatcher::GetFrame(), SfxStyleSheetBase::GetName(), SfxStyleSheetBase::GetParent(), SfxTemplateItem::GetStyleName(), SfxViewShell::GetStylesHighlighterCharColorMap(), SfxViewShell::GetStylesHighlighterParaColorMap(), SfxShell::GetViewShell(), SfxStyleSheetBase::HasParentSupport(), i, IsExpanded_Impl(), m_bAllowReParentDrop, m_bHighlightCharStyles, m_bHighlightParaStyles, m_bModuleHasStylesHighlighterFeature, m_bTreeDrag, m_nActFamily, m_pBindings, m_pCurObjShell, m_pFamilyState, m_pParentDialog, m_pStyleSheetPool, m_xTreeBox, MakeExpanded_Impl(), MakeTree_Impl(), nCount, SfxStyleSheetBasePool::Next(), SfxViewFrame::Resize(), and SfxCommonTemplateDialog_Impl::SelectStyle().
Referenced by SetHierarchical(), Update(), and UpdateFamily().
void StyleList::FilterSelect | ( | sal_uInt16 | nActFilter, |
bool | bsetFilter | ||
) |
Definition at line 303 of file StyleList.cxx.
References Link< typename Arg, typename Ret >::Call(), SfxListener::EndListening(), SfxObjectShell::GetStyleSheetPool(), m_aSaveSelection, m_nActFilter, m_pStyleSheetPool, SfxListener::StartListening(), UpdateFamilyList, and UpdateStyles().
Referenced by SfxCommonTemplateDialog_Impl::FilterSelect().
|
private |
Definition at line 1132 of file StyleList.cxx.
References SfxStyleFamilyItem::GetFamily(), GetFamilyItem(), and m_nActFamily.
Referenced by AcceptDrop(), SetHierarchical(), Update(), and UpdateFamily().
|
private |
Definition at line 1104 of file StyleList.cxx.
References aUIName, SfxObjectShell::GetModel(), lcl_GetStyleFamilyName(), m_pCurObjShell, and xModel.
Referenced by FillTreeBox(), and UpdateStyles().
const SfxStyleFamilyItem * StyleList::GetFamilyItem | ( | ) | const |
Definition at line 808 of file StyleList.cxx.
References SfxStyleFamilyItem::GetFamily(), i, m_nActFamily, m_xStyleFamilies, nCount, nId, and SfxTemplate::SfxFamilyIdToNId().
Referenced by SfxCommonTemplateDialog_Impl::ActionSelect(), CreateContextMenu(), DeleteHdl(), DropHdl(), EditHdl(), SfxCommonTemplateDialog_Impl::Execute_Impl(), FillTreeBox(), GetActualFamily(), GetSelectedStyle(), HideHdl(), NewHdl(), Notify(), SelectStyle(), ShowHdl(), Update(), and UpdateStyles().
const SfxStyleFamilyItem & StyleList::GetFamilyItemByIndex | ( | size_t | i | ) | const |
Definition at line 1870 of file StyleList.cxx.
References i, and m_xStyleFamilies.
OUString StyleList::GetSelectedEntry | ( | ) | const |
Definition at line 829 of file StyleList.cxx.
References m_xFmtLb, and m_xTreeBox.
Referenced by SfxCommonTemplateDialog_Impl::ActionSelect(), CreateContextMenu(), EditHdl(), SfxCommonTemplateDialog_Impl::EnableHierarchical(), SfxCommonTemplateDialog_Impl::Execute_Impl(), GetSelectedStyle(), NewHdl(), Notify(), and SetHierarchical().
|
private |
Definition at line 821 of file StyleList.cxx.
References SfxStyleSheetBasePool::Find(), SfxStyleFamilyItem::GetFamily(), GetFamilyItem(), GetSelectedEntry(), and m_pStyleSheetPool.
Referenced by EditHdl().
|
inline |
Definition at line 133 of file StyleList.hxx.
References m_bModuleHasStylesHighlighterFeature.
Referenced by SfxCommonTemplateDialog_Impl::FamilySelect(), and SfxCommonTemplateDialog_Impl::Initialize().
|
private |
Definition at line 1397 of file StyleList.cxx.
References SfxCommonTemplateDialog_Impl::Execute_Impl(), weld::TreeView::get_text(), GetFamilyItem(), m_nActFamily, m_pParentDialog, m_xFmtLb, m_xTreeBox, and weld::TreeView::selected_foreach().
void StyleList::Initialize | ( | ) |
Definition at line 347 of file StyleList.cxx.
References Clear(), SfxCommonTemplateDialog_Impl::connect_set_family(), SfxCommonTemplateDialog_Impl::connect_stylelist_cleanup(), SfxCommonTemplateDialog_Impl::connect_stylelist_clear(), SfxCommonTemplateDialog_Impl::connect_stylelist_enable_delete(), SfxCommonTemplateDialog_Impl::connect_stylelist_enable_tree_drag(), SfxCommonTemplateDialog_Impl::connect_stylelist_execute_drop(), SfxCommonTemplateDialog_Impl::connect_stylelist_execute_new_menu(), SfxCommonTemplateDialog_Impl::connect_stylelist_for_watercan(), SfxCommonTemplateDialog_Impl::connect_stylelist_has_selected_style(), SfxCommonTemplateDialog_Impl::connect_stylelist_read_resource(), SfxCommonTemplateDialog_Impl::connect_stylelist_set_water_can_state(), SfxCommonTemplateDialog_Impl::connect_stylelist_update_style_dependents(), SfxBindings::Invalidate(), LINK, m_bHierarchical, m_pBindings, m_pParentDialog, m_xFmtLb, m_xTreeBox, m_xTreeView1DropTargetHelper, m_xTreeView2DropTargetHelper, TreeViewDropTarget, Update(), and SfxBindings::Update().
Referenced by SfxCommonTemplateDialog_Impl::Initialize().
|
private |
Definition at line 333 of file StyleList.cxx.
References SfxBindings::Invalidate(), m_pBindings, and SfxBindings::Update().
Referenced by UpdateFamily().
|
inline |
Definition at line 109 of file StyleList.hxx.
References m_bHierarchical.
Referenced by SfxCommonTemplateDialog_Impl::EnableHierarchical().
|
inline |
Definition at line 137 of file StyleList.hxx.
References m_bHighlightCharStyles.
Referenced by SfxCommonTemplateDialog_Impl::FamilySelect().
|
inline |
Definition at line 135 of file StyleList.hxx.
References m_bHighlightParaStyles.
Referenced by SfxCommonTemplateDialog_Impl::FamilySelect().
|
inline |
Definition at line 98 of file StyleList.hxx.
References m_xTreeBox.
|
private |
Definition at line 1486 of file StyleList.cxx.
References LINK, Application::PostUserEvent(), and sLastItemIdent.
Referenced by ShowMenu().
|
private |
Definition at line 1301 of file StyleList.cxx.
References SfxCommonTemplateDialog_Impl::Execute_Impl(), SfxStyleFamilyItem::GetFamily(), GetFamilyItem(), SfxStyleFamilyItem::GetFilterList(), GetSelectedEntry(), m_nActFamily, m_nActFilter, m_nAppFilter, m_pParentDialog, m_xFmtLb, and m_xTreeBox.
|
privatevirtual |
Reimplemented from SfxListener.
Definition at line 1494 of file StyleList.cxx.
References aStr, Link< typename Arg, typename Ret >::Call(), SfxCommonTemplateDialog_Impl::EnableEdit(), SfxCommonTemplateDialog_Impl::EnableHide(), SfxCommonTemplateDialog_Impl::EnableShow(), SfxListener::EndListening(), SfxStyleSheetBasePool::Find(), SfxBindings::GetDispatcher_Impl(), SfxStyleFamilyItem::GetFamily(), GetFamilyItem(), SfxDispatcher::GetFrame(), SfxHint::GetId(), SfxStyleSheetBase::GetMask(), SfxCommonTemplateDialog_Impl::GetNotifyUpdate(), SfxViewFrame::GetObjectShell(), GetSelectedEntry(), SfxObjectShell::GetStyleSheetPool(), SfxCommonTemplateDialog_Impl::IsCheckedItem(), SfxStyleSheetBase::IsHidden(), SfxStyleSheetBase::IsUsed(), LINK, m_aUpdateFamily, m_bDontUpdate, m_bUpdateFamily, m_pBindings, m_pParentDialog, m_pStyleSheetPool, nId, pIdle, SfxCommonTemplateDialog_Impl::SetNotifyupdate(), Update(), and UpdateFamily().
|
private |
Definition at line 588 of file StyleList.cxx.
References weld::TreeView::get_dest_row_at_pos(), weld::TreeView::is_selected(), m_xFmtLb, m_xTreeBox, weld::TreeView::make_iterator(), weld::TreeView::select(), weld::TreeView::set_cursor(), and weld::TreeView::unselect_all().
void StyleList::SelectStyle | ( | const OUString & | rStr, |
bool | bIsCallback | ||
) |
Definition at line 896 of file StyleList.cxx.
References SfxCommonTemplateDialog_Impl::EnableEdit(), SfxCommonTemplateDialog_Impl::EnableHide(), SfxCommonTemplateDialog_Impl::EnableShow(), SfxStyleSheetBasePool::Find(), SfxStyleFamilyItem::GetFamily(), GetFamilyItem(), SfxStyleSheetBase::GetMask(), SfxStyleSheetBase::IsHidden(), SfxStyleSheetBase::IsUsed(), m_pParentDialog, m_pStyleSheetPool, m_xFmtLb, and m_xTreeBox.
Referenced by SfxCommonTemplateDialog_Impl::SelectStyle().
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().
void StyleList::SetFilterControlsHandle | ( | ) |
Definition at line 1293 of file StyleList.cxx.
References m_bHierarchical, m_xFmtLb, and m_xTreeBox.
Referenced by SfxCommonTemplateDialog_Impl::EnableHierarchical().
void StyleList::SetHierarchical | ( | ) |
Definition at line 1283 of file StyleList.cxx.
References FillTreeBox(), GetActualFamily(), GetSelectedEntry(), m_bHierarchical, m_pParentDialog, m_xFmtLb, m_xTreeBox, and SfxCommonTemplateDialog_Impl::SelectStyle().
Referenced by SfxCommonTemplateDialog_Impl::EnableHierarchical().
|
inline |
Definition at line 136 of file StyleList.hxx.
References m_bHighlightCharStyles.
|
inline |
Definition at line 134 of file StyleList.hxx.
References m_bHighlightParaStyles.
|
private |
Definition at line 1413 of file StyleList.cxx.
References SfxCommonTemplateDialog_Impl::Execute_Impl(), weld::TreeView::get_text(), GetFamilyItem(), m_nActFamily, m_pParentDialog, m_xFmtLb, m_xTreeBox, and weld::TreeView::selected_foreach().
|
private |
Definition at line 1477 of file StyleList.cxx.
References CreateContextMenu(), CommandEvent::GetMousePosPixel(), m_xFmtLb, m_xTreeBox, MenuSelect(), and mxMenu.
|
private |
Definition at line 801 of file StyleList.cxx.
References SfxStyleFamilyItem::GetFamily(), m_xStyleFamilies, nId, and SfxTemplate::SfxFamilyIdToNId().
Referenced by Update(), and UpdateStyles().
|
private |
Definition at line 1764 of file StyleList.cxx.
References Link< typename Arg, typename Ret >::Call(), SfxCommonTemplateDialog_Impl::CheckItem(), SfxCommonTemplateDialog_Impl::EnableNew(), SfxListener::EndListening(), SfxCommonTemplateDialog_Impl::FamilySelect(), FillTreeBox(), get(), GetActualFamily(), SfxObjectShell::GetAutoStyleFilterIndex(), SfxBindings::GetDispatcher_Impl(), GetFamilyItem(), SfxStyleFamilyItem::GetFilterList(), SfxDispatcher::GetFrame(), SfxObjectShell::GetModule(), SfxViewFrame::GetObjectShell(), SfxTemplateItem::GetStyleName(), SfxObjectShell::GetStyleSheetPool(), SfxTemplateItem::GetValue(), i, SfxCommonTemplateDialog_Impl::IsUpdate(), m_aClearResource, m_aLoadFactoryStyleFilter, m_aReadResource, m_aUpdateFamily, m_bCanNew, m_bUpdateFamily, m_Module, m_nActFamily, m_nActFilter, m_nAppFilter, m_pBindings, m_pFamilyState, m_pParentDialog, m_pStyleSheetPool, m_xStyleFamilies, m_xTreeBox, MAX_FAMILIES, n, SfxCommonTemplateDialog_Impl::SelectStyle(), SfxListener::StartListening(), StyleNrToInfoOffset(), UpdateFamily(), UpdateFamilyList, and UpdateStyles().
Referenced by Initialize(), and Notify().
|
private |
Definition at line 401 of file StyleList.cxx.
References SfxCommonTemplateDialog_Impl::EnableNew(), SfxListener::EndListening(), FillTreeBox(), GetActualFamily(), SfxBindings::GetDispatcher_Impl(), SfxDispatcher::GetFrame(), SfxViewFrame::GetObjectShell(), SfxObjectShell::GetStyleSheetPool(), InvalidateBindings(), m_bCanNew, m_bTreeDrag, m_bUpdateFamily, m_pBindings, m_pParentDialog, m_pStyleSheetPool, m_xFmtLb, m_xTreeBox, SfxListener::StartListening(), UpdateFamily, UpdateFamilyList, and UpdateStyles().
Referenced by FamilySelect(), Notify(), and Update().
|
private |
Definition at line 1161 of file StyleList.cxx.
References aUIName, Link< typename Arg, typename Ret >::Call(), SfxCommonTemplateDialog_Impl::FamilySelect(), SfxStyleSheetBasePool::First(), getDefaultStyleName(), SfxBindings::GetDispatcher_Impl(), SfxStyleFamilyItem::GetFamily(), GetFamilyItem(), SfxStyleFamilyItem::GetFilterList(), SfxDispatcher::GetFrame(), getLocale(), SfxStyleSheetBase::GetName(), Application::GetSettings(), SfxTemplateItem::GetStyleName(), SfxViewShell::GetStylesHighlighterCharColorMap(), SfxViewShell::GetStylesHighlighterParaColorMap(), SfxShell::GetViewShell(), lcl_Insert(), m_aUpdateStyles, m_bHighlightCharStyles, m_bHighlightParaStyles, m_bModuleHasStylesHighlighterFeature, m_nActFamily, m_nActFilter, m_nAppFilter, m_pBindings, m_pCurObjShell, m_pFamilyState, m_pParentDialog, m_pStyleSheetPool, m_xFmtLb, m_xStyleFamilies, n, nCount, SfxStyleSheetBasePool::Next(), NONE, nPos, SfxViewFrame::Resize(), SfxCommonTemplateDialog_Impl::SelectStyle(), size, and StyleNrToInfoOffset().
Referenced by DeleteHdl(), FilterSelect(), Update(), and UpdateFamily().
|
friend |
Definition at line 61 of file StyleList.hxx.
|
friend |
Definition at line 60 of file StyleList.hxx.
Referenced by Initialize().
|
private |
Definition at line 181 of file StyleList.hxx.
Referenced by connect_ClearResource(), and Update().
|
private |
Definition at line 182 of file StyleList.hxx.
Referenced by connect_LoadFactoryStyleFilter(), and Update().
Definition at line 180 of file StyleList.hxx.
Referenced by connect_ReadResource(), and Update().
|
private |
Definition at line 183 of file StyleList.hxx.
Referenced by connect_SaveSelection(), and FilterSelect().
Definition at line 184 of file StyleList.hxx.
Referenced by connect_UpdateFamily(), FamilySelect(), Notify(), and Update().
|
private |
Definition at line 179 of file StyleList.hxx.
Referenced by connect_UpdateStyles(), and UpdateStyles().
|
private |
Definition at line 206 of file StyleList.hxx.
Referenced by FillTreeBox().
|
private |
Definition at line 216 of file StyleList.hxx.
Referenced by CreateContextMenu().
|
private |
Definition at line 215 of file StyleList.hxx.
Referenced by CreateContextMenu(), and Enabledel().
|
private |
Definition at line 210 of file StyleList.hxx.
Referenced by CreateContextMenu(), and Enableedit().
|
private |
Definition at line 211 of file StyleList.hxx.
Referenced by CreateContextMenu(), and Enablehide().
|
private |
Definition at line 213 of file StyleList.hxx.
Referenced by CreateContextMenu(), Enablenew(), Update(), and UpdateFamily().
|
private |
Definition at line 212 of file StyleList.hxx.
Referenced by CreateContextMenu(), and Enableshow().
|
private |
Definition at line 208 of file StyleList.hxx.
Referenced by DeleteHdl(), DropHdl(), and Notify().
|
private |
Definition at line 204 of file StyleList.hxx.
Referenced by Initialize(), IsHierarchical(), SetFilterControlsHandle(), and SetHierarchical().
|
private |
Definition at line 247 of file StyleList.hxx.
Referenced by FillTreeBox(), IsHighlightCharStyles(), SetHighlightCharStyles(), and UpdateStyles().
|
private |
Definition at line 246 of file StyleList.hxx.
Referenced by FillTreeBox(), IsHighlightParaStyles(), SetHighlightParaStyles(), and UpdateStyles().
|
private |
Definition at line 245 of file StyleList.hxx.
Referenced by FillTreeBox(), HasStylesHighlighterFeature(), StyleList(), and UpdateStyles().
|
private |
Definition at line 207 of file StyleList.hxx.
Referenced by AcceptDrop(), and EnableNewByExample().
|
private |
Definition at line 209 of file StyleList.hxx.
Referenced by FillTreeBox(), and UpdateFamily().
|
private |
Definition at line 214 of file StyleList.hxx.
Referenced by Notify(), SetFamilyState(), Update(), and UpdateFamily().
|
private |
Definition at line 241 of file StyleList.hxx.
Referenced by Update().
|
private |
Definition at line 228 of file StyleList.hxx.
Referenced by CurrentFamilyHasState(), DeleteHdl(), EditHdl(), FamilySelect(), FillTreeBox(), GetActualFamily(), GetFamilyItem(), HideHdl(), NewHdl(), ShowHdl(), Update(), and UpdateStyles().
|
private |
Definition at line 218 of file StyleList.hxx.
Referenced by EditHdl(), FilterSelect(), NewHdl(), Update(), and UpdateStyles().
|
private |
Definition at line 229 of file StyleList.hxx.
Referenced by NewHdl(), Update(), and UpdateStyles().
|
private |
Definition at line 242 of file StyleList.hxx.
|
private |
Definition at line 235 of file StyleList.hxx.
Referenced by CreateContextMenu(), FamilySelect(), FillTreeBox(), Initialize(), InvalidateBindings(), Notify(), StyleList(), Update(), UpdateFamily(), and UpdateStyles().
|
private |
Definition at line 243 of file StyleList.hxx.
|
private |
Definition at line 227 of file StyleList.hxx.
Referenced by FillTreeBox(), getDefaultStyleName(), and UpdateStyles().
|
private |
Definition at line 226 of file StyleList.hxx.
Referenced by CurrentFamilyHasState(), FillTreeBox(), SetFamilyState(), Update(), and UpdateStyles().
|
private |
Definition at line 234 of file StyleList.hxx.
Referenced by DeleteHdl(), EditHdl(), FillTreeBox(), HideHdl(), Initialize(), NewHdl(), Notify(), SelectStyle(), SetHierarchical(), ShowHdl(), Update(), UpdateFamily(), and UpdateStyles().
|
private |
Definition at line 217 of file StyleList.hxx.
Referenced by DeleteHdl(), DropHdl(), FillTreeBox(), FilterSelect(), GetSelectedStyle(), Notify(), SelectStyle(), Update(), UpdateFamily(), and UpdateStyles().
|
private |
Definition at line 219 of file StyleList.hxx.
Referenced by AcceptDrop(), DeleteHdl(), EnableExecute(), FamilySelect(), GetSelectedEntry(), HideHdl(), Initialize(), NewHdl(), PrepareMenu(), SelectStyle(), SetFilterControlsHandle(), SetHierarchical(), ShowHdl(), ShowMenu(), StyleList(), UpdateFamily(), and UpdateStyles().
|
private |
Definition at line 225 of file StyleList.hxx.
Referenced by GetFamilyItem(), GetFamilyItemByIndex(), StyleNrToInfoOffset(), Update(), and UpdateStyles().
|
private |
Definition at line 220 of file StyleList.hxx.
Referenced by AcceptDrop(), DeleteHdl(), EnableExecute(), FamilySelect(), FillTreeBox(), GetSelectedEntry(), HideHdl(), Initialize(), IsTreeView(), NewHdl(), PrepareMenu(), SelectStyle(), SetFilterControlsHandle(), SetHierarchical(), ShowHdl(), ShowMenu(), Update(), and UpdateFamily().
|
private |
Definition at line 231 of file StyleList.hxx.
Referenced by Initialize().
|
private |
Definition at line 232 of file StyleList.hxx.
Referenced by Initialize().
|
private |
Definition at line 223 of file StyleList.hxx.
Referenced by CreateContextMenu(), and ShowMenu().
|
private |
Definition at line 222 of file StyleList.hxx.
Referenced by CreateContextMenu().
|
private |
Definition at line 236 of file StyleList.hxx.
|
private |
Definition at line 238 of file StyleList.hxx.
Referenced by Notify().
|
private |
Definition at line 240 of file StyleList.hxx.
Referenced by MenuSelect().