23#include <config_features.h>
30#include <sfx2/sfxsids.hrc>
43#include <drawview.hxx>
46#include <com/sun/star/media/XPlayer.hpp>
55 :
FuPoor(pViewSh, pWin, pView, pDoc, rReq)
64 xFunc->DoExecute(rReq);
87 case presentation::ClickAction_BOOKMARK:
92 SID_NAVIGATOR_OBJECT, SfxCallMode::SLOT | SfxCallMode::RECORD, { &aItem });
96 case presentation::ClickAction_DOCUMENT:
100 if (!sBookmark.isEmpty())
108 SID_OPENDOC, SfxCallMode::ASYNCHRON | SfxCallMode::RECORD,
109 { &aStrItem, &aFrameItem, &aBrowseItem, &aReferer });
114 case presentation::ClickAction_PREVPAGE:
119 SID_NAVIGATOR_PAGE, SfxCallMode::SLOT | SfxCallMode::RECORD, { &aItem });
123 case presentation::ClickAction_NEXTPAGE:
128 SID_NAVIGATOR_PAGE, SfxCallMode::SLOT | SfxCallMode::RECORD, { &aItem });
132 case presentation::ClickAction_FIRSTPAGE:
137 SID_NAVIGATOR_PAGE, SfxCallMode::SLOT | SfxCallMode::RECORD, { &aItem });
141 case presentation::ClickAction_LASTPAGE:
146 SID_NAVIGATOR_PAGE, SfxCallMode::SLOT | SfxCallMode::RECORD, { &aItem });
150 case presentation::ClickAction_SOUND:
152#if HAVE_FEATURE_AVMEDIA
159 catch (uno::Exception&)
166 case presentation::ClickAction_VERB:
172 pDrViewSh->
DoVerb(
static_cast<sal_Int16
>(pInfo->
mnVerb));
176 case presentation::ClickAction_PROGRAM:
184 if (INetProtocol::File ==
aURL.GetProtocol())
192 pViewFrm->GetDispatcher()->ExecuteList(
193 SID_OPENDOC, SfxCallMode::ASYNCHRON | SfxCallMode::RECORD,
194 { &aUrl, &aBrowsing });
200#if HAVE_FEATURE_SCRIPTING
201 case presentation::ClickAction_MACRO:
209 uno::Sequence<sal_Int16> aOutArgsIndex;
210 uno::Sequence<uno::Any> aParams;
211 uno::Sequence<uno::Any> aOutArgs;
221 const std::u16string_view aMacroName =
o3tl::getToken(aMacro, 0,
'.', nIdx);
222 const std::u16string_view aModulName =
o3tl::getToken(aMacro, 0,
'.', nIdx);
css::presentation::ClickAction meClickAction
Action at mouse click.
sal_uInt16 mnVerb
for OLE object
OUString GetBookmark() const
static SAL_DLLPRIVATE SdAnimationInfo * GetAnimationInfo(SdrObject *pObject)
deprecated
size_t GetMarkCount() const
SdrMark * GetMark(size_t nNum) const
const SdrMarkList & GetMarkedObjectList() const
bool MarkObj(const Point &rPnt, short nTol=-2, bool bToggle=false, bool bDeep=false)
SdrObject * GetMarkedSdrObj() const
SdrPageView * GetSdrPageView() const
static bool IsXScriptURL(const OUString &rScriptURL)
const SfxPoolItem * ExecuteList(sal_uInt16 nSlot, SfxCallMode nCall, std::initializer_list< SfxPoolItem const * > args, std::initializer_list< SfxPoolItem const * > internalargs=std::initializer_list< SfxPoolItem const * >())
OUString GetBaseURL(bool bForSaving=false)
const OUString & GetName() const
ErrCode CallXScript(const OUString &rScriptURL, const css::uno::Sequence< css::uno::Any > &aParams, css::uno::Any &aRet, css::uno::Sequence< sal_Int16 > &aOutParamIndex, css::uno::Sequence< css::uno::Any > &aOutParam, bool bRaiseError=true, const css::uno::Any *aCaller=nullptr)
SfxMedium * GetMedium() const
StarBASIC * GetBasic() const
static SAL_WARN_UNUSED_RESULT SfxViewFrame * Current()
SfxDispatcher * GetDispatcher()
virtual bool Call(const OUString &, SbxArray *=nullptr) override
Base class of the stacked shells that provide graphical views to Draw and Impress documents and editi...
virtual ErrCode DoVerb(sal_Int32 nVerb) override
Apply "Verb" on OLE-object.
Derivative of sd::View; contains also a pointer to the document.
virtual void DoExecute(SfxRequest &rReq) override
static rtl::Reference< FuPoor > Create(ViewShell *pViewSh, ::sd::Window *pWin, ::sd::View *pView, SdDrawDocument *pDoc, SfxRequest &rReq)
FuExecuteInteraction(ViewShell *pViewSh, ::sd::Window *pWin, ::sd::View *pView, SdDrawDocument *pDoc, SfxRequest &rReq)
css::uno::Reference< css::media::XPlayer > mxPlayer
Base class for all functions.
DrawDocShell * GetDocSh()
document shell for draw documents
Base class of the stacked shell hierarchy.
SD_DLLPUBLIC SfxViewFrame * GetViewFrame() const
An SdWindow contains the actual working area of ViewShell.
SVL_DLLPUBLIC Link< OUString *, bool > const & GetMaybeFileHdl()
std::basic_string_view< charT, traits > getToken(std::basic_string_view< charT, traits > sv, charT delimiter, std::size_t &position)