LibreOffice Module sd (master) 1
|
#include <SlideTransitionPane.hxx>
Public Member Functions | |
SlideTransitionPane (weld::Widget *pParent, ViewShellBase &rBase) | |
virtual | ~SlideTransitionPane () override |
virtual css::ui::LayoutSize | GetHeightForWidth (const sal_Int32 nWidth) override |
void | onSelectionChanged () |
void | onChangeCurrentPage () |
Public Member Functions inherited from PanelLayout | |
PanelLayout (weld::Widget *pParent, const OUString &rID, const OUString &rUIXMLDescription) | |
void | SetPanel (sfx2::sidebar::Panel *pPanel) |
virtual | ~PanelLayout () |
Size | get_preferred_size () const |
void | queue_resize () |
Private Member Functions | |
void | updateControls () |
void | updateControlState () |
void | updateVariants (size_t nPresetOffset) |
we use an integer offset into the list of transition presets More... | |
void | updateSoundList () |
void | openSoundFileDialog () |
impl::TransitionEffect | getTransitionEffectFromControls () const |
void | applyToSelectedPages (bool bPreview) |
void | playCurrentEffect () |
void | addListener () |
void | removeListener () |
::sd::slidesorter::SharedPageSelection | getSelectedPages () const |
void | Initialize (SdDrawDocument *pDoc) |
DECL_LINK (ApplyToAllButtonClicked, weld::Button &, void) | |
DECL_LINK (PlayButtonClicked, weld::Button &, void) | |
DECL_LINK (AutoPreviewClicked, weld::Toggleable &, void) | |
DECL_LINK (TransitionSelected, ValueSet *, void) | |
DECL_LINK (AdvanceSlideRadioButtonToggled, weld::Toggleable &, void) | |
DECL_LINK (AdvanceTimeModified, weld::MetricSpinButton &, void) | |
DECL_LINK (VariantListBoxSelected, weld::ComboBox &, void) | |
DECL_LINK (DurationModifiedHdl, weld::MetricSpinButton &, void) | |
DECL_LINK (DurationLoseFocusHdl, weld::Widget &, void) | |
DECL_LINK (SoundListBoxSelected, weld::ComboBox &, void) | |
DECL_LINK (LoopSoundBoxChecked, weld::Toggleable &, void) | |
DECL_LINK (EventMultiplexerListener, tools::EventMultiplexerEvent &, void) | |
DECL_LINK (LateInitCallback, Timer *, void) | |
Additional Inherited Members | |
Protected Member Functions inherited from PanelLayout | |
virtual void | DataChanged (const DataChangedEvent &rEvent) |
virtual void | DumpAsPropertyTree (tools::JsonWriter &) |
virtual weld::Window * | GetFrameWeld () const |
Protected Attributes inherited from PanelLayout | |
std::unique_ptr< weld::Builder > | m_xBuilder |
std::unique_ptr< weld::Container > | m_xContainer |
sfx2::sidebar::Panel * | m_pPanel |
Definition at line 48 of file SlideTransitionPane.hxx.
|
explicit |
Definition at line 392 of file SlideTransitionPane.cxx.
References Initialize(), and mpDrawDoc.
|
overridevirtual |
Definition at line 480 of file SlideTransitionPane.cxx.
References maLateInitTimer, mxCB_AUTO_PREVIEW, mxCB_LOOP_SOUND, mxCBX_duration, mxFT_SOUND, mxLB_SOUND, mxLB_VARIANT, mxMF_ADVANCE_AUTO_AFTER, mxPB_APPLY_TO_ALL, mxPB_PLAY, mxRB_ADVANCE_AUTO, mxRB_ADVANCE_ON_MOUSE, mxVS_TRANSITION_ICONS, mxVS_TRANSITION_ICONSWin, removeListener(), and Task::Stop().
|
private |
Definition at line 905 of file SlideTransitionPane.cxx.
References LINK.
Referenced by Initialize().
|
private |
Definition at line 867 of file SlideTransitionPane.cxx.
References Application::GetFocusWindow(), vcl::Window::GrabFocus(), sd::impl::TransitionEffect::mnType, and mxView.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
overridevirtual |
Definition at line 406 of file SlideTransitionPane.cxx.
References PanelLayout::get_preferred_size(), and Size::Height().
|
private |
Definition at line 509 of file SlideTransitionPane.cxx.
References SdPage::getImplementation(), sd::slidesorter::SlideSorterViewShell::GetPageSelection(), sd::slidesorter::SlideSorterViewShell::GetSlideSorter(), mrBase, and mxView.
Referenced by updateControls().
|
private |
Definition at line 752 of file SlideTransitionPane.cxx.
References Auto, sd::TransitionPreset::getTransitionPresetList(), Manual, sd::impl::TransitionEffect::mbDurationAmbiguous, sd::impl::TransitionEffect::mbEffectAmbiguous, sd::impl::TransitionEffect::mbPresChangeAmbiguous, sd::impl::TransitionEffect::mbTimeAmbiguous, sd::impl::TransitionEffect::mePresChange, sd::impl::TransitionEffect::mfDuration, sd::impl::TransitionEffect::mfTime, sd::impl::TransitionEffect::mnType, mxCBX_duration, mxLB_VARIANT, mxMF_ADVANCE_AUTO_AFTER, mxRB_ADVANCE_AUTO, mxRB_ADVANCE_ON_MOUSE, mxVS_TRANSITION_ICONS, mxVS_TRANSITION_ICONSWin, sd::nNoneId, and sd::impl::TransitionEffect::setAllAmbiguous().
|
private |
Definition at line 414 of file SlideTransitionPane.cxx.
References addListener(), SdrModel::getUnoModel(), LINK, PanelLayout::m_xBuilder, maLateInitTimer, mxCB_AUTO_PREVIEW, mxCB_LOOP_SOUND, mxCBX_duration, mxFT_SOUND, mxLB_SOUND, mxLB_VARIANT, mxMF_ADVANCE_AUTO_AFTER, mxModel, mxPB_APPLY_TO_ALL, mxPB_PLAY, mxRB_ADVANCE_AUTO, mxRB_ADVANCE_ON_MOUSE, mxView, mxVS_TRANSITION_ICONS, mxVS_TRANSITION_ICONSWin, sd::nNoneId, SdResId(), Timer::SetInvokeHandler(), Timer::SetTimeout(), Timer::Start(), updateControls(), and VALUESET_APPEND.
Referenced by SlideTransitionPane().
void sd::SlideTransitionPane::onChangeCurrentPage | ( | ) |
Definition at line 504 of file SlideTransitionPane.cxx.
References updateControls().
void sd::SlideTransitionPane::onSelectionChanged | ( | ) |
Definition at line 499 of file SlideTransitionPane.cxx.
References updateControls().
|
private |
Definition at line 681 of file SlideTransitionPane.cxx.
References Application::CreateMessageDialog(), DBG_ASSERT, ERRCODE_NONE, SdOpenSoundFileDialog::Execute(), GALLERY_THEME_USERSOUNDS, PanelLayout::GetFrameWeld(), SdOpenSoundFileDialog::GetPath(), GetStandardText(), GalleryExplorer::InsertURL(), maCurrentSoundFile, maSoundList, mxLB_SOUND, nPos, RET_CANCEL, RET_RETRY, SdResId(), and updateSoundList().
|
private |
Definition at line 895 of file SlideTransitionPane.cxx.
References mxView.
|
private |
Definition at line 911 of file SlideTransitionPane.cxx.
References LINK.
Referenced by ~SlideTransitionPane().
|
private |
Definition at line 533 of file SlideTransitionPane.cxx.
References Auto, sd::impl::TransitionEffect::compareWith(), DBG_ASSERT, getSelectedPages(), Impress, comphelper::LibreOfficeKit::isActive(), SdOptionsMisc::IsPreviewTransitions(), maCurrentSoundFile, Manual, sd::impl::TransitionEffect::maSound, maSoundList, sd::impl::TransitionEffect::mbDurationAmbiguous, sd::impl::TransitionEffect::mbEffectAmbiguous, mbHasSelection, sd::impl::TransitionEffect::mbLoopSound, sd::impl::TransitionEffect::mbLoopSoundAmbiguous, sd::impl::TransitionEffect::mbPresChangeAmbiguous, sd::impl::TransitionEffect::mbSoundAmbiguous, sd::impl::TransitionEffect::mbSoundOn, sd::impl::TransitionEffect::mbStopSound, mbUpdatingControls, sd::impl::TransitionEffect::mePresChange, sd::impl::TransitionEffect::mfDuration, sd::impl::TransitionEffect::mfTime, sd::impl::TransitionEffect::mnType, mxCB_AUTO_PREVIEW, mxCB_LOOP_SOUND, mxCBX_duration, mxFT_SOUND, mxLB_SOUND, mxMF_ADVANCE_AUTO_AFTER, mxPB_PLAY, mxRB_ADVANCE_AUTO, mxRB_ADVANCE_ON_MOUSE, mxVS_TRANSITION_ICONS, sd::nNoneId, nPos, SAL_WARN, SD_MOD, TRISTATE_INDET, updateControlState(), and updateVariants().
Referenced by Initialize(), onChangeCurrentPage(), and onSelectionChanged().
|
private |
Definition at line 655 of file SlideTransitionPane.cxx.
References mbHasSelection, mxCB_AUTO_PREVIEW, mxCB_LOOP_SOUND, mxCBX_duration, mxLB_SOUND, mxLB_VARIANT, mxMF_ADVANCE_AUTO_AFTER, mxPB_APPLY_TO_ALL, mxPB_PLAY, mxRB_ADVANCE_AUTO, mxRB_ADVANCE_ON_MOUSE, and mxVS_TRANSITION_ICONSWin.
Referenced by updateControls().
|
private |
Definition at line 671 of file SlideTransitionPane.cxx.
References GalleryExplorer::FillObjList(), GALLERY_THEME_SOUNDS, GALLERY_THEME_USERSOUNDS, maSoundList, and mxLB_SOUND.
Referenced by openSoundFileDialog().
|
private |
we use an integer offset into the list of transition presets
Definition at line 1005 of file SlideTransitionPane.cxx.
References sd::TransitionPreset::getTransitionPresetList(), and sd::nNoneId.
Referenced by updateControls().
Definition at line 126 of file SlideTransitionPane.hxx.
|
mutableprivate |
Definition at line 123 of file SlideTransitionPane.hxx.
Referenced by openSoundFileDialog(), and updateControls().
|
private |
Definition at line 128 of file SlideTransitionPane.hxx.
Referenced by Initialize(), and ~SlideTransitionPane().
|
private |
Definition at line 122 of file SlideTransitionPane.hxx.
Referenced by openSoundFileDialog(), updateControls(), and updateSoundList().
|
private |
Definition at line 118 of file SlideTransitionPane.hxx.
Referenced by updateControls(), and updateControlState().
|
private |
Definition at line 120 of file SlideTransitionPane.hxx.
|
private |
Definition at line 119 of file SlideTransitionPane.hxx.
Referenced by updateControls().
|
private |
Definition at line 99 of file SlideTransitionPane.hxx.
Referenced by SlideTransitionPane().
|
private |
Definition at line 98 of file SlideTransitionPane.hxx.
Referenced by getSelectedPages().
|
private |
Definition at line 113 of file SlideTransitionPane.hxx.
Referenced by Initialize(), updateControls(), updateControlState(), and ~SlideTransitionPane().
|
private |
Definition at line 107 of file SlideTransitionPane.hxx.
Referenced by Initialize(), updateControls(), updateControlState(), and ~SlideTransitionPane().
|
private |
Definition at line 104 of file SlideTransitionPane.hxx.
Referenced by getTransitionEffectFromControls(), Initialize(), updateControls(), updateControlState(), and ~SlideTransitionPane().
|
private |
Definition at line 105 of file SlideTransitionPane.hxx.
Referenced by Initialize(), updateControls(), and ~SlideTransitionPane().
|
private |
Definition at line 106 of file SlideTransitionPane.hxx.
Referenced by Initialize(), openSoundFileDialog(), updateControls(), updateControlState(), updateSoundList(), and ~SlideTransitionPane().
|
private |
Definition at line 103 of file SlideTransitionPane.hxx.
Referenced by getTransitionEffectFromControls(), Initialize(), updateControlState(), and ~SlideTransitionPane().
|
private |
Definition at line 110 of file SlideTransitionPane.hxx.
Referenced by getTransitionEffectFromControls(), Initialize(), updateControls(), updateControlState(), and ~SlideTransitionPane().
|
private |
Definition at line 116 of file SlideTransitionPane.hxx.
Referenced by Initialize().
|
private |
Definition at line 111 of file SlideTransitionPane.hxx.
Referenced by Initialize(), updateControlState(), and ~SlideTransitionPane().
|
private |
Definition at line 112 of file SlideTransitionPane.hxx.
Referenced by Initialize(), updateControls(), updateControlState(), and ~SlideTransitionPane().
|
private |
Definition at line 109 of file SlideTransitionPane.hxx.
Referenced by getTransitionEffectFromControls(), Initialize(), updateControls(), updateControlState(), and ~SlideTransitionPane().
|
private |
Definition at line 108 of file SlideTransitionPane.hxx.
Referenced by getTransitionEffectFromControls(), Initialize(), updateControls(), updateControlState(), and ~SlideTransitionPane().
|
private |
Definition at line 115 of file SlideTransitionPane.hxx.
Referenced by getSelectedPages(), and Initialize().
|
private |
Definition at line 101 of file SlideTransitionPane.hxx.
Referenced by getTransitionEffectFromControls(), Initialize(), updateControls(), and ~SlideTransitionPane().
|
private |
Definition at line 102 of file SlideTransitionPane.hxx.
Referenced by getTransitionEffectFromControls(), Initialize(), updateControlState(), and ~SlideTransitionPane().