LibreOffice Module sd (master) 1
|
Interaction-Tab-Page. More...
#include <tpaction.hxx>
Public Member Functions | |
SdTPAction (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rInAttrs) | |
Action-TabPage. More... | |
virtual | ~SdTPAction () override |
virtual bool | FillItemSet (SfxItemSet *) override |
virtual void | Reset (const SfxItemSet *) override |
virtual void | ActivatePage (const SfxItemSet &rSet) override |
virtual DeactivateRC | DeactivatePage (SfxItemSet *pSet) override |
void | Construct () |
void | SetView (const ::sd::View *pSdView) |
Public Member Functions inherited from SfxTabPage | |
void | SetDialogController (SfxOkDialogController *pDialog) |
virtual | ~SfxTabPage () override |
void | set_visible (bool bVisible) |
const SfxItemSet & | GetItemSet () const |
virtual bool | FillItemSet (SfxItemSet *) |
virtual void | Reset (const SfxItemSet *) |
virtual bool | DeferResetToFirstActivation () |
bool | HasExchangeSupport () const |
void | SetExchangeSupport () |
virtual void | ActivatePage (const SfxItemSet &) |
virtual DeactivateRC | DeactivatePage (SfxItemSet *pSet) |
void | SetUserData (const OUString &rString) |
const OUString & | GetUserData () const |
virtual void | FillUserData () |
virtual bool | IsReadOnly () const |
virtual void | PageCreated (const SfxAllItemSet &aSet) |
virtual void | ChangesApplied () |
void | SetFrame (const css::uno::Reference< css::frame::XFrame > &xFrame) |
css::uno::Reference< css::frame::XFrame > | GetFrame () const |
const SfxItemSet * | GetDialogExampleSet () const |
OUString | GetHelpId () const |
OUString | GetConfigId () const |
bool | IsVisible () const |
weld::Window * | GetFrameWeld () const |
std::unordered_map< OUString, css::uno::Any > & | getAdditionalProperties () |
Static Public Member Functions | |
static SD_DLLPUBLIC TranslateId | GetClickActionSdResId (css::presentation::ClickAction eCA) |
static std::unique_ptr< SfxTabPage > | Create (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &) |
Static Public Member Functions inherited from SfxTabPage | |
static const SfxPoolItem * | GetItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true) |
static const T * | GetItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true) |
Private Member Functions | |
DECL_LINK (ClickSearchHdl, weld::Button &, void) | |
DECL_LINK (ClickActionHdl, weld::ComboBox &, void) | |
DECL_LINK (SelectTreeHdl, weld::TreeView &, void) | |
DECL_LINK (CheckFileHdl, weld::Widget &, void) | |
void | UpdateTree () |
void | OpenFileDialog () |
css::presentation::ClickAction | GetActualClickAction () |
void | SetActualClickAction (css::presentation::ClickAction eCA) |
void | SetEditText (OUString const &rStr) |
OUString | GetEditText (bool bURL=false) |
Private Attributes | |
const ::sd::View * | mpView |
SdDrawDocument * | mpDoc |
XColorListRef | pColList |
bool | bTreeUpdated |
std::vector< css::presentation::ClickAction > | maCurrentActions |
OUString | aLastFile |
::std::vector< tools::Long > | aVerbVector |
std::unique_ptr< weld::ComboBox > | m_xLbAction |
std::unique_ptr< weld::Label > | m_xFtTree |
std::unique_ptr< SdPageObjsTLV > | m_xLbTree |
std::unique_ptr< SdPageObjsTLV > | m_xLbTreeDocument |
std::unique_ptr< weld::TreeView > | m_xLbOLEAction |
std::unique_ptr< weld::Frame > | m_xFrame |
std::unique_ptr< weld::Entry > | m_xEdtSound |
std::unique_ptr< weld::Entry > | m_xEdtBookmark |
std::unique_ptr< weld::Entry > | m_xEdtDocument |
std::unique_ptr< weld::Entry > | m_xEdtProgram |
std::unique_ptr< weld::Entry > | m_xEdtMacro |
std::unique_ptr< weld::Button > | m_xBtnSearch |
std::unique_ptr< weld::Button > | m_xBtnSeek |
Additional Inherited Members | |
Protected Member Functions inherited from SfxTabPage | |
SfxTabPage (weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OUString &rID, const SfxItemSet *rAttrSet) | |
sal_uInt16 | GetWhich (sal_uInt16 nSlot, bool bDeep=true) const |
TypedWhichId< T > | GetWhich (TypedWhichId< T > nSlot, bool bDeep=true) const |
const SfxPoolItem * | GetOldItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true) |
const T * | GetOldItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true) |
SfxOkDialogController * | GetDialogController () const |
Interaction-Tab-Page.
Definition at line 48 of file tpaction.hxx.
SdTPAction::SdTPAction | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet & | rInAttrs | ||
) |
Action-TabPage.
Definition at line 88 of file tpaction.cxx.
References Size::Height(), LINK, m_xBtnSearch, m_xBtnSeek, m_xContainer, m_xEdtDocument, m_xEdtMacro, m_xFrame, m_xLbAction, m_xLbOLEAction, m_xLbTree, mpView, SfxTabPage::SetExchangeSupport(), and Size::Width().
|
overridevirtual |
Definition at line 128 of file tpaction.cxx.
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 331 of file tpaction.cxx.
void SdTPAction::Construct | ( | ) |
Definition at line 154 of file tpaction.cxx.
References SdrMarkView::AreObjectsMarked(), aVerbVector, MnemonicGenerator::EraseAllMnemonicChars(), GetClickActionSdResId(), SdrMarkList::GetMark(), SdrMarkList::GetMarkCount(), SdrMarkView::GetMarkedObjectList(), SdrMark::GetMarkedSdrObj(), SdrObject::GetObjIdentifier(), SdrObject::GetObjInventor(), SdrOle2Obj::GetObjRef(), m_xLbAction, m_xLbOLEAction, maCurrentActions, mpView, and SdResId().
|
static |
Definition at line 343 of file tpaction.cxx.
Referenced by SdActionDlg::SdActionDlg().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 335 of file tpaction.cxx.
References FillItemSet().
|
private |
|
private |
|
private |
|
private |
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 241 of file tpaction.cxx.
References GetActualClickAction(), SdDrawDocument::GetDocSh(), GetEditText(), URIHelper::GetMaybeFileHdl(), SfxItemSet::InvalidateItem(), m_xLbAction, mpDoc, SfxItemSet::Put(), INetURLObject::Unambiguous, and INetURLObject::WasEncoded.
Referenced by DeactivatePage().
|
private |
Definition at line 660 of file tpaction.cxx.
References m_xLbAction, maCurrentActions, o3tl::make_unsigned(), and nPos.
Referenced by FillItemSet(), GetEditText(), OpenFileDialog(), and SetEditText().
|
static |
Definition at line 150 of file unomodel.cxx.
Referenced by Construct(), and ImplPDFExportShapeInteraction().
|
private |
Definition at line 737 of file tpaction.cxx.
References aStr, aURL, aVerbVector, DOCUMENT_TOKEN, GetActualClickAction(), SdDrawDocument::GetDocSh(), URIHelper::GetMaybeFileHdl(), m_xEdtBookmark, m_xEdtDocument, m_xEdtMacro, m_xEdtProgram, m_xEdtSound, m_xLbOLEAction, m_xLbTreeDocument, o3tl::make_unsigned(), mpDoc, INetURLObject::NONE, and nPos.
Referenced by FillItemSet(), and OpenFileDialog().
|
private |
Definition at line 357 of file tpaction.cxx.
References sfx2::FileDialogHelper::AddFilter(), SfxApplication::ChooseScript(), ERRCODE_NONE, sfx2::FileDialogHelper::Execute(), SdOpenSoundFileDialog::Execute(), GetActualClickAction(), GetEditText(), SfxTabPage::GetFrameWeld(), sfx2::FileDialogHelper::GetPath(), SdOpenSoundFileDialog::GetPath(), sfx2::FileDialogHelper::ImpressClickAction, m_xEdtDocument, m_xLbTree, sfx2::FileDialogHelper::SetContext(), SetEditText(), SdOpenSoundFileDialog::SetPath(), and SfxResId().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 284 of file tpaction.cxx.
References DOCUMENT_TOKEN, Get(), SfxItemSet::Get(), SfxItemSet::GetItemState(), o3tl::getToken(), comphelper::string::getTokenCount(), m_xEdtSound, m_xLbAction, m_xLbTree, m_xLbTreeDocument, SetActualClickAction(), and SetEditText().
|
private |
Definition at line 669 of file tpaction.cxx.
References m_xLbAction, and maCurrentActions.
Referenced by Reset().
|
private |
Definition at line 678 of file tpaction.cxx.
References aURL, aVerbVector, DOCUMENT_TOKEN, GetActualClickAction(), comphelper::string::getTokenCount(), m_xEdtBookmark, m_xEdtDocument, m_xEdtMacro, m_xEdtProgram, m_xEdtSound, and m_xLbOLEAction.
Referenced by OpenFileDialog(), and Reset().
void SdTPAction::SetView | ( | const ::sd::View * | pSdView | ) |
Definition at line 132 of file tpaction.cxx.
References DBG_ASSERT, sd::DrawDocShell::GetDoc(), sd::View::GetDocSh(), SfxShell::GetItem(), sd::ViewShell::GetViewFrame(), sd::DrawDocShell::GetViewShell(), m_xLbTree, m_xLbTreeDocument, mpDoc, mpView, and pColList.
|
private |
Definition at line 348 of file tpaction.cxx.
References bTreeUpdated, SdDrawDocument::GetDocSh(), m_xLbTree, and mpDoc.
|
private |
Definition at line 57 of file tpaction.hxx.
|
private |
Definition at line 58 of file tpaction.hxx.
Referenced by Construct(), GetEditText(), and SetEditText().
|
private |
Definition at line 55 of file tpaction.hxx.
Referenced by UpdateTree().
|
private |
Definition at line 71 of file tpaction.hxx.
Referenced by SdTPAction().
|
private |
Definition at line 72 of file tpaction.hxx.
Referenced by SdTPAction().
|
private |
Definition at line 67 of file tpaction.hxx.
Referenced by GetEditText(), and SetEditText().
|
private |
Definition at line 68 of file tpaction.hxx.
Referenced by GetEditText(), OpenFileDialog(), SdTPAction(), and SetEditText().
|
private |
Definition at line 70 of file tpaction.hxx.
Referenced by GetEditText(), SdTPAction(), and SetEditText().
|
private |
Definition at line 69 of file tpaction.hxx.
Referenced by GetEditText(), and SetEditText().
|
private |
Definition at line 66 of file tpaction.hxx.
Referenced by GetEditText(), Reset(), and SetEditText().
|
private |
Definition at line 65 of file tpaction.hxx.
|
private |
Definition at line 61 of file tpaction.hxx.
|
private |
Definition at line 60 of file tpaction.hxx.
Referenced by Construct(), FillItemSet(), GetActualClickAction(), Reset(), SdTPAction(), and SetActualClickAction().
|
private |
Definition at line 64 of file tpaction.hxx.
Referenced by Construct(), GetEditText(), SdTPAction(), and SetEditText().
|
private |
Definition at line 62 of file tpaction.hxx.
Referenced by OpenFileDialog(), Reset(), SdTPAction(), SetView(), and UpdateTree().
|
private |
Definition at line 63 of file tpaction.hxx.
Referenced by GetEditText(), Reset(), and SetView().
|
private |
Definition at line 56 of file tpaction.hxx.
Referenced by Construct(), GetActualClickAction(), and SetActualClickAction().
|
private |
Definition at line 52 of file tpaction.hxx.
Referenced by FillItemSet(), GetEditText(), SetView(), and UpdateTree().
|
private |
Definition at line 51 of file tpaction.hxx.
Referenced by Construct(), and SetView().
|
private |
Definition at line 53 of file tpaction.hxx.
Referenced by SetView().