/** Late initialization that has to be called after a new instance has completeditsconstruction.
*/ virtualvoid Init (bool bIsMainViewShell) override;
/** Return a slide sorter that is currently displayed in one of the panesthatbelongtothegivenViewShellBaseobject. Whenthereisonlyoneslidesortervisiblethenthatoneis returned.Whentwo(ormore)arevisiblethentheoneinthecenter paneisreturned.WhennoslidesorterisvisiblethenNULLis returned.
*/ // Exported for unit test
SD_DLLPUBLIC SAL_RET_MAYBENULL static SlideSorterViewShell* GetSlideSorter(ViewShellBase& rBase);
virtual SdPage* GetActualPage() override;
/// inherited from sd::ViewShell virtual SdPage* getCurrentPage() const override;
/** Set the zoom factor. The given value is clipped against an upper bound. @paramnZoom Anintegerpercentvalue,i.e.nZoom/100istheactualzoom factor.
*/ virtualvoid SetZoom (::tools::Long nZoom) override; virtualvoid SetZoomRect (const ::tools::Rectangle& rZoomRect) override;
/** This is a callback method used by the active window to delegate its Paint()callto.Thisviewshellitselfdelegatesittotheview.
*/ virtualvoid Paint(const ::tools::Rectangle& rRect, ::sd::Window* pWin) override;
/** Place and size the controls and windows. You may want to call this methodwhensomethinghaschangedthatforinstanceaffectsthe visibilitystateofthescrollbars.
*/ virtualvoid ArrangeGUIElements() override;
/** Add a listener that is called when the selection of the slide sorter changes. @paramrListener Whenthismethodiscalledmultipletimesforthesamelistener thesecondandallfollowingcallsareignored.Eachlistener isaddedonlyonce.
*/ void AddSelectionChangeListener (const Link<LinkParamNone*,void>& rListener);
/** Remove a listener that was called when the selection of the slide sorterchanges. @paramrListener Itissafetopassalistenerthatwasnotaddedarehasbeen removedpreviously.Suchcallsareignored.
*/ void RemoveSelectionChangeListener (const Link<LinkParamNone*,void>& rListener);
/** Create an accessible object representing the specified window. @parampWindow Thereturnedobjectmakesthedocumentdisplayedinthiswindow accessible. @return Returnsan<type>AccessibleSlideSorterView</type>object.
*/ virtual css::uno::Reference<css::accessibility::XAccessible>
CreateAccessibleDocumentView (::sd::Window* pWindow) override; // handle SlideSorterView specially because AccessibleSlideSorterView doesn't inherit from AccessibleDocumentViewBase virtualvoid SwitchViewFireFocus( const css::uno::Reference< css::accessibility::XAccessible >& xAcc ) override;
// Exported for unit test
SD_DLLPUBLIC SlideSorter& GetSlideSorter() const;
/** Try to relocate all toplevel window elements to the given parent window.
*/ virtualbool RelocateToParentWindow (vcl::Window* pParentWindow) override;
private:
/** Override this method to handle a missing tool bar correctly. Thisisthecasewhentheslidesorterisnotthemainviewshell.
*/ virtual SfxUndoManager* ImpGetUndoManager() const override;
/** This method overwrites the one from our base class: We do our own scrollbarandthebaseclasscallisthusunnecessary.Itsimply callsUpdateScrollBars(false).
*/ virtualvoid UpdateScrollBars() override;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.