#include <CustomAnimationList.hxx>
|
| CustomAnimationList (std::unique_ptr< weld::TreeView > xTreeView, std::unique_ptr< weld::Label > xLabel, std::unique_ptr< weld::Widget > xScrolledWindow) |
|
virtual | ~CustomAnimationList () |
|
void | select (const CustomAnimationEffectPtr &pEffect) |
| selects or deselects the given effect. More...
|
|
void | update (const MainSequencePtr &pMainSequence) |
| populates the list with all effects from the given MainSequence More...
|
|
void | update () |
|
EffectSequence | getSelection () const |
|
void | onSelectionChanged (const css::uno::Any &rSelection) |
|
void | Select () |
|
virtual void | notify_change () override |
|
bool | isExpanded (const CustomAnimationEffectPtr &pEffect) const |
|
bool | isVisible (const CustomAnimationEffectPtr &pEffect) const |
|
void | clear () |
|
void | setController (ICustomAnimationListController *pController) |
|
sal_Int8 | AcceptDrop (const AcceptDropEvent &rEvt) |
|
sal_Int8 | ExecuteDrop (const ExecuteDropEvent &rEvt) |
|
void | set_sensitive (bool bSensitive) |
|
int | get_height_rows (int nRows) |
|
int | get_approximate_digit_width () const |
|
void | set_size_request (int nWidth, int nHeight) |
|
void | unselect_all () |
|
weld::TreeView & | get_widget () |
|
| DECL_LINK (KeyInputHdl, const KeyEvent &, bool) |
|
| DECL_LINK (ExpandHdl, const weld::TreeIter &, bool) |
|
| DECL_LINK (PostExpandHdl, void *, void) |
|
| DECL_LINK (CollapseHdl, const weld::TreeIter &, bool) |
|
| DECL_LINK (PostCollapseHdl, void *, void) |
|
virtual void | notify_change ()=0 |
|
|
| DECL_LINK (SelectHdl, weld::TreeView &, void) |
|
| DECL_LINK (CommandHdl, const CommandEvent &, bool) |
|
| DECL_LINK (DoubleClickHdl, weld::TreeView &, bool) |
|
| DECL_LINK (DragBeginHdl, bool &, bool) |
|
| DECL_STATIC_LINK (CustomAnimationList, CustomRenderHdl, weld::TreeView::render_args, void) |
|
| DECL_STATIC_LINK (CustomAnimationList, CustomGetSizeHdl, weld::TreeView::get_size_args, Size) |
|
void | ExecuteContextMenuAction (const OUString &rSelectedPopupEntry) |
|
void | append (CustomAnimationEffectPtr pEffect) |
| appends the given effect to the list More...
|
|
Definition at line 63 of file CustomAnimationList.hxx.
◆ CustomAnimationList()
◆ ~CustomAnimationList()
sd::CustomAnimationList::~CustomAnimationList |
( |
| ) |
|
|
virtual |
◆ AcceptDrop()
◆ append()
appends the given effect to the list
Definition at line 879 of file CustomAnimationList.cxx.
References Any, Exception, sd::getDescription(), mnLastGroupId, mxEntries, mxLastParentEntry, mxLastTargetShape, mxTreeView, sId, weld::toId(), and TOOLS_WARN_EXCEPTION.
Referenced by sd::stl_append_effect_func::operator()(), and select().
◆ clear()
void sd::CustomAnimationList::clear |
( |
| ) |
|
◆ DECL_LINK() [1/9]
sd::CustomAnimationList::DECL_LINK |
( |
CollapseHdl |
, |
|
|
const weld::TreeIter & |
, |
|
|
bool |
|
|
) |
| |
◆ DECL_LINK() [2/9]
sd::CustomAnimationList::DECL_LINK |
( |
CommandHdl |
, |
|
|
const CommandEvent & |
, |
|
|
bool |
|
|
) |
| |
|
private |
◆ DECL_LINK() [3/9]
sd::CustomAnimationList::DECL_LINK |
( |
DoubleClickHdl |
, |
|
|
weld::TreeView & |
, |
|
|
bool |
|
|
) |
| |
|
private |
◆ DECL_LINK() [4/9]
sd::CustomAnimationList::DECL_LINK |
( |
DragBeginHdl |
, |
|
|
bool & |
, |
|
|
bool |
|
|
) |
| |
|
private |
◆ DECL_LINK() [5/9]
sd::CustomAnimationList::DECL_LINK |
( |
ExpandHdl |
, |
|
|
const weld::TreeIter & |
, |
|
|
bool |
|
|
) |
| |
◆ DECL_LINK() [6/9]
sd::CustomAnimationList::DECL_LINK |
( |
KeyInputHdl |
, |
|
|
const KeyEvent & |
, |
|
|
bool |
|
|
) |
| |
◆ DECL_LINK() [7/9]
sd::CustomAnimationList::DECL_LINK |
( |
PostCollapseHdl |
, |
|
|
void * |
, |
|
|
void |
|
|
) |
| |
◆ DECL_LINK() [8/9]
sd::CustomAnimationList::DECL_LINK |
( |
PostExpandHdl |
, |
|
|
void * |
, |
|
|
void |
|
|
) |
| |
◆ DECL_LINK() [9/9]
sd::CustomAnimationList::DECL_LINK |
( |
SelectHdl |
, |
|
|
weld::TreeView & |
, |
|
|
void |
|
|
) |
| |
|
private |
◆ DECL_STATIC_LINK() [1/2]
◆ DECL_STATIC_LINK() [2/2]
◆ ExecuteContextMenuAction()
void sd::CustomAnimationList::ExecuteContextMenuAction |
( |
const OUString & |
rSelectedPopupEntry | ) |
|
|
private |
◆ ExecuteDrop()
◆ get_approximate_digit_width()
int sd::CustomAnimationList::get_approximate_digit_width |
( |
| ) |
const |
|
inline |
◆ get_height_rows()
int sd::CustomAnimationList::get_height_rows |
( |
int |
nRows | ) |
|
|
inline |
◆ get_widget()
◆ getSelection()
◆ isExpanded()
◆ isVisible()
◆ notify_change()
void sd::CustomAnimationList::notify_change |
( |
| ) |
|
|
overridevirtual |
◆ onSelectionChanged()
void sd::CustomAnimationList::onSelectionChanged |
( |
const css::uno::Any & |
rSelection | ) |
|
◆ Select()
void sd::CustomAnimationList::Select |
( |
| ) |
|
◆ select()
◆ set_sensitive()
void sd::CustomAnimationList::set_sensitive |
( |
bool |
bSensitive | ) |
|
|
inline |
◆ set_size_request()
void sd::CustomAnimationList::set_size_request |
( |
int |
nWidth, |
|
|
int |
nHeight |
|
) |
| |
|
inline |
◆ setController()
◆ unselect_all()
void sd::CustomAnimationList::unselect_all |
( |
| ) |
|
|
inline |
◆ update() [1/2]
void sd::CustomAnimationList::update |
( |
| ) |
|
Definition at line 667 of file CustomAnimationList.cxx.
References aNewSelection, clear(), weld::GetAbsPos(), sd::CustomAnimationListEntryItem::getEffect(), sd::getShapeDescription(), weld::IsEntryVisible(), mbIgnorePaint, mpMainSequence, mxEmptyLabelParent, mxEntries, mxLastParentEntry, mxTreeView, SdResId(), Select(), sId, and weld::toId().
Referenced by notify_change(), and update().
◆ update() [2/2]
void sd::CustomAnimationList::update |
( |
const MainSequencePtr & |
pMainSequence | ) |
|
◆ CustomAnimationListEntryItem
◆ stl_append_effect_func
◆ lastSelectedEntries
std::vector<std::unique_ptr<weld::TreeIter> > sd::CustomAnimationList::lastSelectedEntries |
|
private |
◆ maDropTargetHelper
◆ mbIgnorePaint
bool sd::CustomAnimationList::mbIgnorePaint |
|
private |
◆ mDndEffectsSelected
std::vector<std::unique_ptr<weld::TreeIter> > sd::CustomAnimationList::mDndEffectsSelected |
|
private |
◆ mnLastGroupId
sal_Int32 sd::CustomAnimationList::mnLastGroupId |
|
private |
◆ mnPostCollapseEvent
ImplSVEvent* sd::CustomAnimationList::mnPostCollapseEvent |
|
private |
◆ mnPostExpandEvent
ImplSVEvent* sd::CustomAnimationList::mnPostExpandEvent |
|
private |
◆ mpController
◆ mpMainSequence
◆ mxDndEffectDragging
std::unique_ptr<weld::TreeIter> sd::CustomAnimationList::mxDndEffectDragging |
|
private |
◆ mxEmptyLabel
std::unique_ptr<weld::Label> sd::CustomAnimationList::mxEmptyLabel |
|
private |
◆ mxEmptyLabelParent
std::unique_ptr<weld::Widget> sd::CustomAnimationList::mxEmptyLabelParent |
|
private |
◆ mxEntries
◆ mxLastParentEntry
std::unique_ptr<weld::TreeIter> sd::CustomAnimationList::mxLastParentEntry |
|
private |
◆ mxLastTargetShape
css::uno::Reference< css::drawing::XShape > sd::CustomAnimationList::mxLastTargetShape |
|
private |
◆ mxTreeView
Definition at line 126 of file CustomAnimationList.hxx.
Referenced by append(), clear(), CustomAnimationList(), ExecuteDrop(), get_approximate_digit_width(), get_height_rows(), get_widget(), getSelection(), isExpanded(), isVisible(), onSelectionChanged(), select(), set_sensitive(), set_size_request(), unselect_all(), and update().
The documentation for this class was generated from the following files: