22#include <svx/svxids.hrc>
50 :
FuPoor(pViewSh, pWin, pView, pDoc, rReq)
57 xFunc->DoExecute(rReq);
70 std::unique_ptr<SvxZoomItem> pZoomItem;
105 pZoomItem->SetValueSet( nZoomValues );
106 aNewAttr.
Put( std::move(pZoomItem) );
110 pDlg->SetLimits(
static_cast<sal_uInt16
>(
mpWindow->GetMinZoom()),
static_cast<sal_uInt16
>(
mpWindow->GetMaxZoom()) );
111 sal_uInt16 nResult = pDlg->Execute();
126 const SfxItemSet aArgs (*(pDlg->GetOutputItemSet ()));
133 switch ( aArgs.
Get (SID_ATTR_ZOOM).GetType ())
135 case SvxZoomType::PERCENT:
137 nValue = aArgs.
Get (SID_ATTR_ZOOM).GetValue ();
145 case SvxZoomType::OPTIMAL:
156 case SvxZoomType::PAGEWIDTH:
160 case SvxZoomType::WHOLEPAGE:
sal_uInt32 GetValue() const
SAL_DLLPRIVATE SfxItemPool & GetPool()
size_t GetObjCount() const
SdrObjList * GetObjList() const
SdrPageView * GetSdrPageView() const
void Invalidate(sal_uInt16 nId)
const SfxPoolItem * Execute(sal_uInt16 nSlot, SfxCallMode nCall=SfxCallMode::SLOT, const SfxPoolItem **pArgs=nullptr, sal_uInt16 nModi=0, const SfxPoolItem **pInternalArgs=nullptr)
const SfxPoolItem * Put(const SfxPoolItem &rItem, sal_uInt16 nWhich)
const SfxPoolItem & Get(sal_uInt16 nWhich, bool bSrchInParent=true) const
const SfxItemSet * GetArgs() const
const T * GetArg(sal_uInt16 nSlotId) const
weld::Window * GetFrameWeld() const
SfxBindings & GetBindings()
SfxDispatcher * GetDispatcher()
virtual VclPtr< AbstractSvxZoomDialog > CreateSvxZoomDialog(weld::Window *pParent, const SfxItemSet &rCoreSet)=0
static SvxAbstractDialogFactory * Create()
Base class of the stacked shells that provide graphical views to Draw and Impress documents and editi...
Base class for all functions.
VclPtr< ::sd::Window > mpWindow
FuScale(ViewShell *pViewSh, ::sd::Window *pWin, ::sd::View *pView, SdDrawDocument *pDoc, SfxRequest &rReq)
virtual void DoExecute(SfxRequest &rReq) override
static rtl::Reference< FuPoor > Create(ViewShell *pViewSh, ::sd::Window *pWin, ::sd::View *pView, SdDrawDocument *pDoc, SfxRequest &rReq)
Show a textual overview of the text contents of all slides.
Base class of the stacked shell hierarchy.
virtual void SetZoom(::tools::Long nZoom)
Set zoom factor for all split windows.
SD_DLLPUBLIC SfxViewFrame * GetViewFrame() const
An SdWindow contains the actual working area of ViewShell.
const sal_uInt16 SidArrayZoom[]