LibreOffice Module sd (master) 1
|
View shell of the Draw application. More...
#include <GraphicViewShell.hxx>
Public Member Functions | |
SFX_DECL_VIEWFACTORY (GraphicViewShell) | |
GraphicViewShell (ViewShellBase &rViewShellBase, vcl::Window *pParentWindow, FrameView *pFrameView) | |
Create a new view shell for the Draw application. More... | |
virtual | ~GraphicViewShell () override |
virtual void | ChangeEditMode (EditMode eMode, bool bIsLayerModeActive) override |
Override this method in order to have the layer mode always active. More... | |
Public Member Functions inherited from sd::DrawViewShell | |
DrawViewShell (ViewShellBase &rViewShellBase, vcl::Window *pParentWindow, PageKind ePageKind, FrameView *pFrameView) | |
Create a new stackable shell that may take some information (e.g. More... | |
virtual | ~DrawViewShell () override |
virtual void | Init (bool bIsMainViewShell) override |
The Init method has to be called from the outside directly after a new object of this class has been created. More... | |
virtual void | Shutdown () override |
This method is more or less an alias to Deactivate(). More... | |
void | PrePaint () override |
virtual void | Paint (const ::tools::Rectangle &rRect, ::sd::Window *pWin) override |
The event is forwarded to the Viewshell and the current function by the window pWin. More... | |
virtual void | ArrangeGUIElements () override |
Arrange and resize the GUI elements like rulers, sliders, and buttons as well as the actual document view according to the size of the enclosing window and current sizes of buttons, rulers, and sliders. More... | |
void | HidePage () |
virtual bool | KeyInput (const KeyEvent &rKEvt, ::sd::Window *pWin) override |
virtual void | MouseMove (const MouseEvent &rMEvt, ::sd::Window *pWin) override |
virtual void | MouseButtonUp (const MouseEvent &rMEvt, ::sd::Window *pWin) override |
virtual void | MouseButtonDown (const MouseEvent &rMEvt, ::sd::Window *pWin) override |
virtual void | Command (const CommandEvent &rCEvt, ::sd::Window *pWin) override |
bool | IsMouseButtonDown () const |
bool | IsMouseSelecting () const |
virtual void | Resize () override |
Notify the view shell that its parent window has been resized. More... | |
void | ShowMousePosInfo (const ::tools::Rectangle &rRect, ::sd::Window const *pWin) |
virtual void | ChangeEditMode (EditMode eMode, bool bIsLayerModeActive) |
Set status (enabled/disabled) of menu SfxSlots. More... | |
virtual void | SetZoom (::tools::Long nZoom) override |
set zoom factor More... | |
virtual void | SetZoomRect (const ::tools::Rectangle &rZoomRect) override |
Set zoom rectangle for active window. More... | |
void | InsertURLField (const OUString &rURL, const OUString &rText, const OUString &rTarget) |
void | InsertURLButton (const OUString &rURL, const OUString &rText, const OUString &rTarget, const Point *pPos) |
void | SelectionHasChanged () |
Called, if state of selection of view is changed. More... | |
void | ModelHasChanged () |
virtual void | Activate (bool bIsMDIActivate) override |
set focus to working window More... | |
virtual void | Deactivate (bool IsMDIActivate) override |
virtual void | UIActivating (SfxInPlaceClient *) override |
virtual void | UIDeactivated (SfxInPlaceClient *) override |
OUString | GetSelectionText (bool bCompleteWords) |
bool | HasSelection (bool bText) const |
::Outliner * | GetOutlinerForMasterPageOutlineTextObj (ESelection &rSel) |
void | ExecCtrl (SfxRequest &rReq) |
handle SfxRequests for controller More... | |
void | GetCtrlState (SfxItemSet &rSet) |
Set state of controller SfxSlots. More... | |
void | GetDrawAttrState (SfxItemSet &rSet) |
void | GetMenuState (SfxItemSet &rSet) |
void | GetTableMenuState (SfxItemSet &rSet) |
void | GetModeSwitchingMenuState (SfxItemSet &rSet) |
Set the items of the given item set that are related to switching the editing mode to the correct values. More... | |
void | GetAttrState (SfxItemSet &rSet) |
void | GetSnapItemState (SfxItemSet &rSet) |
set state of snap object entries in popup More... | |
void | SetPageProperties (SfxRequest &rReq) |
void | GetPageProperties (SfxItemSet &rSet) |
void | GetMarginProperties (SfxItemSet &rSet) |
void | GetState (SfxItemSet &rSet) |
void | Execute (SfxRequest &rReq) |
void | ExecStatusBar (SfxRequest &rReq) |
void | GetStatusBarState (SfxItemSet &rSet) |
void | ExecOptionsBar (SfxRequest &rReq) |
void | GetOptionsBarState (SfxItemSet &rSet) |
void | ExecRuler (SfxRequest &rReq) |
void | GetRulerState (SfxItemSet &rSet) |
void | ExecFormText (SfxRequest &rReq) |
handle SfxRequests for FontWork More... | |
void | GetFormTextState (SfxItemSet &rSet) |
Return state values for FontWork. More... | |
void | ExecAnimationWin (SfxRequest &rReq) |
void | GetAnimationWinState (SfxItemSet &rSet) |
Return status values for animator. More... | |
void | ExecNavigatorWin (SfxRequest &rReq) |
handle SfxRequests for navigator More... | |
void | GetNavigatorWinState (SfxItemSet &rSet) |
void | ExecutePropPanelAttr (SfxRequest const &rReq) |
void | GetStatePropPanelAttr (SfxItemSet &rSet) |
void | ExecEffectWin (SfxRequest &rReq) |
Handle SfxRequests for EffekteWindow. More... | |
void | Update3DWindow () |
void | AssignFrom3DWindow () |
void | ExecGallery (SfxRequest const &rReq) |
void | ExecBmpMask (SfxRequest const &rReq) |
Handle SfxRequests for pipette. More... | |
void | GetBmpMaskState (SfxItemSet &rSet) |
void | ExecIMap (SfxRequest const &rReq) |
void | GetIMapState (SfxItemSet &rSet) |
void | FuTemporary (SfxRequest &rReq) |
SfxRequests for temporary actions. More... | |
void | FuPermanent (SfxRequest &rReq) |
void | FuSupport (SfxRequest &rReq) |
void | FuDeleteSelectedObjects () |
void | FuSupportRotate (SfxRequest const &rReq) |
void | FuTable (SfxRequest &rReq) |
void | AttrExec (SfxRequest &rReq) |
Edit macros for attribute configuration. More... | |
void | AttrState (SfxItemSet &rSet) |
Edit macros for attribute configuration. More... | |
void | ExecGoToNextPage (SfxRequest &rReq) |
void | GetStateGoToNextPage (SfxItemSet &rSet) |
void | ExecGoToPreviousPage (SfxRequest &rReq) |
void | GetStateGoToPreviousPage (SfxItemSet &rSet) |
void | ExecGoToFirstPage (SfxRequest &rReq) |
void | GetStateGoToFirstPage (SfxItemSet &rSet) |
void | ExecGoToLastPage (SfxRequest &rReq) |
void | GetStateGoToLastPage (SfxItemSet &rSet) |
SD_DLLPUBLIC void | ExecChar (SfxRequest &rReq) |
void | ExecuteAnnotation (SfxRequest const &rRequest) |
void | GetAnnotationState (SfxItemSet &rItemSet) |
void | StartRulerDrag (const Ruler &rRuler, const MouseEvent &rMEvt) |
Start with Drag from ruler (helper lines, origin) More... | |
virtual bool | PrepareClose (bool bUI=true) override |
PrepareClose, as appropriate end text input, so other viewshells discover a refreshed text object. More... | |
PageKind | GetPageKind () const |
void | SetPageKind (PageKind ePageKind) |
const Point & | GetMousePos () const |
EditMode | GetEditMode () const |
virtual SdPage * | GetActualPage () override |
virtual SdPage * | getCurrentPage () const override |
inherited from sd::ViewShell More... | |
void | ResetActualPage () |
Select new refreshed page, in case of a page order change (eg. More... | |
void | ResetActualLayer () |
Select new refreshed page, in case of a page order change (eg. More... | |
bool | SwitchPage (sal_uInt16 nPage, bool bAllowChangeFocus=true) |
Switch to desired page. More... | |
bool | IsSwitchPageAllowed () const |
Check if page change is allowed. More... | |
bool | SelectPage (sal_uInt16 nPage, sal_uInt16 nSelect) |
Mark the desired page as selected (1), deselected (0), toggle (2). More... | |
bool | IsSelected (sal_uInt16 nPage) |
void | GotoBookmark (std::u16string_view rBookmark) |
void | FreshNavigatrTree () |
void | MakeVisible (const ::tools::Rectangle &rRect, vcl::Window &rWin) |
Make area visible (scroll part of picture) |* . More... | |
virtual void | ReadFrameViewData (FrameView *pView) override |
Apply data of the FrameView on the current view. More... | |
virtual void | WriteFrameViewData () override |
Apply data of the current view on the FrameView. More... | |
virtual ErrCode | DoVerb (sal_Int32 nVerb) override |
Apply "Verb" on OLE-object. More... | |
virtual bool | ActivateObject (SdrOle2Obj *pObj, sal_Int32 nVerb) override |
Activate OLE-object. More... | |
void | SetZoomOnPage (bool bZoom) |
bool | IsZoomOnPage () const |
void | SetChildWindowState (SfxItemSet &rSet) |
void | UpdateIMapDlg (SdrObject *pObj) |
void | LockInput () |
void | UnlockInput () |
bool | IsInputLocked () const |
sal_uInt16 | GetCurPagePos () const |
virtual void | ShowUIControls (bool bVisible) override |
Show controls of the UI or hide them, depending on the given flag. More... | |
void | ScannerEvent () |
bool | IsLayerModeActive () const |
virtual sal_Int8 | AcceptDrop (const AcceptDropEvent &rEvt, DropTargetHelper &rTargetHelper, ::sd::Window *pTargetWindow, sal_uInt16 nPage, SdrLayerID nLayer) override |
AcceptDrop. More... | |
virtual sal_Int8 | ExecuteDrop (const ExecuteDropEvent &rEvt, DropTargetHelper &rTargetHelper, ::sd::Window *pTargetWindow, sal_uInt16 nPage, SdrLayerID nLayer) override |
ExecuteDrop. More... | |
virtual void | WriteUserDataSequence (css::uno::Sequence< css::beans::PropertyValue > &) override |
virtual void | ReadUserDataSequence (const css::uno::Sequence< css::beans::PropertyValue > &) override |
virtual void | VisAreaChanged (const ::tools::Rectangle &rRect) override |
this method is called when the visible area of the view from this viewshell is changed More... | |
virtual css::uno::Reference< css::accessibility::XAccessible > | CreateAccessibleDocumentView (::sd::Window *pWindow) override |
Create an accessible object representing the specified window. More... | |
int | GetTabLayerCount () const |
Return the number of layers managed by the layer tab control. More... | |
int | GetActiveTabLayerIndex () const |
Return the numerical id of the currently active layer as seen by the layer tab control. More... | |
void | SetActiveTabLayerIndex (int nId) |
Set the active layer at the layer tab control and update the control accordingly to reflect the change on screen. More... | |
TabControl & | GetPageTabControl () |
Return a pointer to the tab control for pages. More... | |
SD_DLLPUBLIC LayerTabBar * | GetLayerTabControl () |
Return a pointer to the tab control for layers. More... | |
bool | RenameSlide (sal_uInt16 nPageId, const OUString &rName) |
Renames the given slide using an SvxNameDialog. More... | |
void | ModifyLayer (SdrLayer *pLayer, const OUString &rLayerName, const OUString &rLayerTitle, const OUString &rLayerDesc, bool bIsVisible, bool bIsLocked, bool bIsPrintable) |
modifies the given layer with the given values More... | |
virtual css::uno::Reference< css::drawing::XDrawSubController > | CreateSubController () override |
Return a sub controller that implements the view shell specific part of the DrawController. More... | |
DrawView * | GetDrawView () const |
virtual bool | RelocateToParentWindow (vcl::Window *pParentWindow) override |
Relocation to a new parent window is not supported for DrawViewShell objects so this method always returns <FALSE>. More... | |
OUString const & | GetSidebarContextName () const |
bool | IsInSwitchPage () const |
const SdViewOptions & | GetViewOptions () const |
Public Member Functions inherited from sd::ViewShell | |
ViewShell (vcl::Window *pParentWindow, ViewShellBase &rViewShellBase) | |
declare SFX-Slotmap and standard interface More... | |
virtual | ~ViewShell () override |
virtual void | Init (bool bIsMainViewShell) |
The Init method has to be called from the outside directly after a new object of this class has been created. More... | |
void | Exit () |
The Exit() method has to be called before the destructor so that the view shell is still a valid object and can safely call methods that rely on that. More... | |
void | Cancel () |
this method deactivates the current function. More... | |
vcl::Window * | GetParentWindow () const |
Return the window that is the parent of all controls of this view shell. More... | |
sd::Window * | GetContentWindow () const |
::sd::View * | GetView () const |
SdrView * | GetDrawView () const |
SD_DLLPUBLIC DrawDocShell * | GetDocSh () const |
SdDrawDocument * | GetDoc () const |
SD_DLLPUBLIC SfxViewFrame * | GetViewFrame () const |
::sd::Window * | GetActiveWindow () const |
The active window is usually the mpContentWindow. More... | |
SD_DLLPUBLIC weld::Window * | GetFrameWeld () const |
void | SetActiveWindow (::sd::Window *pWindow) |
Set the active window. More... | |
const ::tools::Rectangle & | GetAllWindowRect () |
Return the rectangle that encloses all windows of the view. More... | |
virtual void | PrePaint () |
virtual void | Paint (const ::tools::Rectangle &rRect, ::sd::Window *pWin) |
virtual bool | KeyInput (const KeyEvent &rKEvt, ::sd::Window *pWin) |
virtual void | MouseMove (const MouseEvent &rMEvt, ::sd::Window *pWin) |
virtual void | MouseButtonUp (const MouseEvent &rMEvt, ::sd::Window *pWin) |
virtual void | MouseButtonDown (const MouseEvent &rMEvt, ::sd::Window *pWin) |
virtual void | Command (const CommandEvent &rCEvt, ::sd::Window *pWin) |
bool | RequestHelp (const HelpEvent &rEvt) |
bool | Notify (NotifyEvent const &rNEvt, ::sd::Window *pWin) |
bool | HandleScrollCommand (const CommandEvent &rCEvt, ::sd::Window *pWin) |
void | SetUIUnit (FieldUnit eUnit) |
void | SetDefTabHRuler (sal_uInt16 nDefTab) |
set DefTab at horizontal rulers More... | |
const SvxNumBulletItem * | GetNumBulletItem (SfxItemSet &aNewAttr, TypedWhichId< SvxNumBulletItem > &nNumItemId) |
bool | HasRuler () const |
void | SetRuler (bool bRuler) |
Switch ruler on/off. More... | |
void | SetScrollBarsVisible (bool bVisible) |
virtual void | UpdateScrollBars () |
Set internal values of all scroll bars that determine thumb size and position. More... | |
void | Scroll (::tools::Long nX, ::tools::Long nY) |
void | ScrollLines (::tools::Long nX, ::tools::Long nY) |
Scroll a specific number of lines. More... | |
virtual void | SetZoom (::tools::Long nZoom) |
Set zoom factor for all split windows. More... | |
::tools::Long | GetZoom () const |
virtual void | SetZoomRect (const ::tools::Rectangle &rZoomRect) |
Set zoom rectangle for active window. More... | |
void | InitWindows (const Point &rViewOrigin, const Size &rViewSize, const Point &rWinPos, bool bUpdate=false) |
Initialize imaging parameters for all split windows. More... | |
void | InvalidateWindows () |
Invalidate all split windows below the ?provided rectangle. More... | |
virtual void | UpdatePreview (SdPage *pPage) |
This method is still used by the OutlineViewShell to update the model according to the content of the outline view. More... | |
void | DrawMarkRect (const ::tools::Rectangle &rRect) const |
Draw a selection rectangle with the ?provided pen on all split windows. More... | |
void | ExecReq (SfxRequest &rReq) |
ZoomList * | GetZoomList () |
FrameView * | GetFrameView () |
void | SetFrameView (FrameView *pFrameView) |
Setting a frame view triggers ReadFrameViewData() for the new frame. More... | |
virtual void | ReadFrameViewData (FrameView *pView) |
virtual void | WriteFrameViewData () |
void | WriteUserData () |
void | ReadUserData () |
virtual bool | ActivateObject (SdrOle2Obj *pObj, sal_Int32 nVerb) |
virtual SdPage * | GetActualPage ()=0 |
virtual SdPage * | getCurrentPage () const =0 |
const rtl::Reference< FuPoor > & | GetOldFunction () const |
bool | HasOldFunction () const |
const rtl::Reference< FuPoor > & | GetCurrentFunction () const |
bool | HasCurrentFunction (sal_uInt16 nSID) |
bool | HasCurrentFunction () const |
void | SetCurrentFunction (const rtl::Reference< FuPoor > &xFunction) |
void | SetOldFunction (const rtl::Reference< FuPoor > &xFunction) |
void | DeactivateCurrentFunction (bool bPermanent=false) |
void | SetPageSizeAndBorder (PageKind ePageKind, const Size &rNewSize, ::tools::Long nLeft, ::tools::Long nRight, ::tools::Long nUpper, ::tools::Long nLower, bool bScaleAll, Orientation eOrient, sal_uInt16 nPaperBin, bool bBackgroundFullSize) |
void | SetStartShowWithDialog (bool bIn) |
bool | IsStartShowWithDialog () const |
sal_uInt16 | GetPrintedHandoutPageNum () const |
void | SetPrintedHandoutPageNum (sal_uInt16 nPageNumber) |
sal_uInt16 | GetPrintedHandoutPageCount () const |
void | SetPrintedHandoutPageCount (sal_uInt16 nPageCount) |
virtual bool | PrepareClose (bool bUI=true) |
Tell the FmFormShell that the view shell is closing. More... | |
void | GetMenuState (SfxItemSet &rSet) |
set state (enabled/disabled) of Menu SfxSlots More... | |
virtual sal_Int8 | AcceptDrop (const AcceptDropEvent &rEvt, DropTargetHelper &rTargetHelper, ::sd::Window *pTargetWindow, sal_uInt16 nPage, SdrLayerID nLayer) |
virtual sal_Int8 | ExecuteDrop (const ExecuteDropEvent &rEvt, DropTargetHelper &rTargetHelper, ::sd::Window *pTargetWindow, sal_uInt16 nPage, SdrLayerID nLayer) |
virtual void | WriteUserDataSequence (css::uno::Sequence< css::beans::PropertyValue > &) |
virtual void | ReadUserDataSequence (const css::uno::Sequence< css::beans::PropertyValue > &) |
virtual void | VisAreaChanged (const ::tools::Rectangle &rRect) |
this method is called when the visible area of the view from this viewshell is changed More... | |
virtual css::uno::Reference< css::accessibility::XAccessible > | CreateAccessibleDocumentView (::sd::Window *pWindow) |
Create an accessible object representing the specified window. More... | |
virtual void | SwitchViewFireFocus (const css::uno::Reference< css::accessibility::XAccessible > &xAcc) |
void | SwitchActiveViewFireFocus () |
void | NotifyAccUpdate () |
void | fireSwitchCurrentPage (sal_Int32 pageIndex) |
void | SetWinViewPos (const Point &rWinPos) |
Point const & | GetWinViewPos () const |
Point const & | GetViewOrigin () const |
::sd::WindowUpdater * | GetWindowUpdater () const |
Return the window updater of this view shell. More... | |
SvBorder | GetBorder () |
Return the border that is drawn around the actual document view. More... | |
virtual void | Resize () |
Notify the view shell that its parent window has been resized. More... | |
virtual void | ArrangeGUIElements () |
Set position and size of the GUI elements that are controlled by the view shell like rulers and scroll bars as well as the actual document view according to the position and size that were given with the last Resize() call. More... | |
SD_DLLPUBLIC ViewShellBase & | GetViewShellBase () const |
bool | IsMainViewShell () const |
Return <TRUE> when the called view shell is the main sub shell of its ViewShellBase object, i.e. More... | |
void | SetIsMainViewShell (bool bIsMainViewShell) |
Set or reset the flag that indicates whether the called shell is the one displayed in the center pane. More... | |
virtual css::uno::Reference< css::drawing::XDrawSubController > | CreateSubController ()=0 |
Return a sub controller that implements the view shell specific part of the DrawController. More... | |
SD_DLLPUBLIC ShellType | GetShellType () const |
Return the type of the shell. More... | |
virtual void | Shutdown () |
This method is more or less an alias to Deactivate(). More... | |
virtual ErrCode | DoVerb (sal_Int32 nVerb) |
This function is called from the underlying ViewShellBase object to handle a verb execution request. More... | |
virtual void | UIActivating (SfxInPlaceClient *) |
virtual void | UIDeactivated (SfxInPlaceClient *) |
virtual void | ShowUIControls (bool bVisible) |
Show controls of the UI or hide them, depending on the given flag. More... | |
bool | IsPageFlipMode () const |
virtual bool | RelocateToParentWindow (vcl::Window *pParentWindow) |
Set the given window as new parent window. More... | |
virtual SdPage * | CreateOrDuplicatePage (SfxRequest &rRequest, PageKind ePageKind, SdPage *pPage, const sal_Int32 nInsertPosition=-1) |
Depending on the given request create a new page or duplicate an existing one. More... | |
void | SetCursorMm100Position (const Point &rPosition, bool bPoint, bool bClearMark) |
Allows adjusting the point or mark of the selection to a document coordinate. More... | |
css::uno::Reference< css::datatransfer::XTransferable > | GetSelectionTransferable () const |
Gets the current selection. More... | |
void | SetGraphicMm100Position (bool bStart, const Point &rPosition) |
Allows starting or ending a graphic move or resize action. More... | |
Public Member Functions inherited from SfxShell | |
virtual | ~SfxShell () override |
virtual SfxInterface * | GetInterface () const |
void | SetName (const OUString &rName) |
const OUString & | GetName () const |
SfxViewShell * | GetViewShell () const |
const SfxPoolItem * | GetSlotState (sal_uInt16 nSlotId, const SfxInterface *pIF=nullptr, SfxItemSet *pStateSet=nullptr) |
const SfxPoolItem * | ExecuteSlot (SfxRequest &rReq, const SfxInterface *pIF=nullptr) |
void | ExecuteSlot (SfxRequest &rReq, bool bAsync) |
SfxItemPool & | GetPool () const |
void | SetPool (SfxItemPool *pNewPool) |
virtual SfxUndoManager * | GetUndoManager () |
void | SetUndoManager (SfxUndoManager *pNewUndoMgr) |
SfxRepeatTarget * | GetRepeatTarget () const |
void | SetRepeatTarget (SfxRepeatTarget *pTarget) |
virtual void | Invalidate (sal_uInt16 nId=0) |
virtual bool | IsDesignMode () const |
bool | IsActive () const |
virtual void | Activate (bool bMDI) |
virtual void | Deactivate (bool bMDI) |
SfxDispatcher * | GetDispatcher () const |
SfxViewFrame * | GetFrame () const |
virtual bool | HasUIFeature (SfxShellFeature nFeature) const |
void | UIFeatureChanged () |
const SfxPoolItem * | GetItem (sal_uInt16 nSlotId) const |
const T * | GetItem (TypedWhichId< T > nWhich) const |
void | PutItem (const SfxPoolItem &rItem) |
void | SetVerbs (const css::uno::Sequence< css::embed::VerbDescriptor > &aVerbs) |
const css::uno::Sequence< css::embed::VerbDescriptor > & | GetVerbs () const |
void | VerbExec (SfxRequest &) |
SAL_DLLPRIVATE const SfxSlot * | GetVerbSlot_Impl (sal_uInt16 nId) const |
virtual SfxObjectShell * | GetObjectShell () |
void | SetDisableFlags (SfxDisableFlags nFlags) |
SfxDisableFlags | GetDisableFlags () const |
virtual std::optional< SfxItemSet > | CreateItemSet (sal_uInt16 nId) |
virtual void | ApplyItemSet (sal_uInt16 nId, const SfxItemSet &rSet) |
void | SetContextName (const OUString &rsContextName) |
void | BroadcastContextForActivation (const bool bIsActivated) |
bool | SetContextBroadcasterEnabled (const bool bIsEnabled) |
SAL_DLLPRIVATE bool | CanExecuteSlot_Impl (const SfxSlot &rSlot) |
virtual bool | IsConditionalFastCall (const SfxRequest &rReq) |
SAL_DLLPRIVATE void | DoActivate_Impl (SfxViewFrame *pFrame, bool bMDI) |
SAL_DLLPRIVATE void | DoDeactivate_Impl (SfxViewFrame const *pFrame, bool bMDI) |
Public Member Functions inherited from SfxListener | |
SfxListener () | |
SfxListener (const SfxListener &rCopy) | |
virtual | ~SfxListener () COVERITY_NOEXCEPT_FALSE |
void | StartListening (SfxBroadcaster &rBroadcaster, DuplicateHandling eDuplicateHanding=DuplicateHandling::Unexpected) |
void | EndListening (SfxBroadcaster &rBroadcaster, bool bRemoveAllDuplicates=false) |
void | EndListeningAll () |
bool | IsListening (SfxBroadcaster &rBroadcaster) const |
sal_uInt16 | GetBroadcasterCount () const |
SfxBroadcaster * | GetBroadcasterJOE (sal_uInt16 nNo) const |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) |
void | RemoveBroadcaster_Impl (SfxBroadcaster &rBC) |
virtual bool | IsSdrView () const |
Public Member Functions inherited from utl::ConfigurationListener | |
virtual | ~ConfigurationListener () |
virtual void | ConfigurationChanged (ConfigurationBroadcaster *p, ConfigurationHints nHint)=0 |
Private Member Functions | |
void | ConstructGraphicViewShell () |
virtual void | ArrangeGUIElements () override |
Arrange and resize the GUI elements like rulers, sliders, and buttons as well as the actual document view according to the size of the enclosing window and current sizes of buttons, rulers, and sliders. More... | |
Static Private Member Functions | |
static void | InitInterface_Impl () |
SfxInterface initializer. More... | |
Additional Inherited Members | |
Public Types inherited from sd::ViewShell | |
enum | ShellType { ST_NONE , ST_DRAW , ST_IMPRESS , ST_NOTES , ST_HANDOUT , ST_OUTLINE , ST_SLIDE_SORTER , ST_PRESENTATION , ST_SIDEBAR } |
Static Public Member Functions inherited from sd::DrawViewShell | |
static void | CheckLineTo (SfxRequest &rReq) |
check if we have to draw a polyline More... | |
Static Public Member Functions inherited from SfxShell | |
static SfxInterface * | GetStaticInterface () |
static void | EmptyExecStub (SfxShell *pShell, SfxRequest &) |
static void | EmptyStateStub (SfxShell *pShell, SfxItemSet &) |
static void | VerbState (SfxItemSet &) |
Static Public Attributes inherited from sd::ViewShell | |
static const int | MAX_HSPLIT_CNT = 1 |
static const int | MAX_VSPLIT_CNT = 1 |
static const int | MIN_SCROLLBAR_SIZE = 50 |
Protected Member Functions inherited from sd::DrawViewShell | |
DECL_DLLPRIVATE_LINK (ClipboardChanged, TransferableDataHelper *, void) | |
DECL_DLLPRIVATE_LINK (TabSplitHdl, TabBar *, void) | |
DECL_DLLPRIVATE_LINK (NameObjectHdl, AbstractSvxObjectNameDialog &, bool) | |
DECL_DLLPRIVATE_LINK (RenameSlideHdl, AbstractSvxNameDialog &, bool) | |
void | DeleteActualPage () |
void | DeleteActualLayer () |
virtual VclPtr< SvxRuler > | CreateHRuler (::sd::Window *pWin) override |
Generate horizontal ruler. More... | |
virtual VclPtr< SvxRuler > | CreateVRuler (::sd::Window *pWin) override |
Generate vertical ruler. More... | |
virtual void | UpdateHRuler () override |
Refresh horizontal ruler. More... | |
virtual void | UpdateVRuler () override |
Refresh vertical ruler. More... | |
virtual void | SetZoomFactor (const Fraction &rZoomX, const Fraction &rZoomY) override |
adjust zoom factor for InPlace More... | |
void | SetupPage (Size const &rSize, ::tools::Long nLeft, ::tools::Long nRight, ::tools::Long nUpper, ::tools::Long nLower, bool bSize, bool bMargin, bool bScaleAll) |
Change page parameter if SID_PAGESIZE or SID_PAGEMARGIN. More... | |
void | GetMenuStateSel (SfxItemSet &rSet) |
Set state (Enabled/Disabled) of Menu-SfxSlots. More... | |
Protected Member Functions inherited from sd::ViewShell | |
void | DisposeFunctions () |
must be called in the beginning of each subclass d'tor. More... | |
virtual SfxUndoManager * | ImpGetUndoManager () const |
void | ImpGetUndoStrings (SfxItemSet &rSet) const |
void | ImpGetRedoStrings (SfxItemSet &rSet) const |
void | ImpSidUndo (SfxRequest &rReq) |
void | ImpSidRedo (SfxRequest &rReq) |
DECL_DLLPRIVATE_LINK (HScrollHdl, weld::Scrollbar &, void) | |
DECL_DLLPRIVATE_LINK (VScrollHdl, weld::Scrollbar &, void) | |
virtual void | VirtHScrollHdl (ScrollAdaptor *pHScroll) |
virtual scroll handler for horizontal Scrollbars More... | |
virtual void | VirtVScrollHdl (ScrollAdaptor *pVScroll) |
handling for vertical Scrollbars More... | |
virtual VclPtr< SvxRuler > | CreateHRuler (::sd::Window *pWin) |
virtual VclPtr< SvxRuler > | CreateVRuler (::sd::Window *pWin) |
virtual void | UpdateHRuler () |
virtual void | UpdateVRuler () |
virtual void | Activate (bool IsMDIActivate) override |
set focus to working window More... | |
virtual void | Deactivate (bool IsMDIActivate) override |
virtual void | SetZoomFactor (const Fraction &rZoomX, const Fraction &rZoomY) |
Set zoom factor for InPlace. More... | |
void | doShow () |
This must be called after the ctor, but before anything else. More... | |
Protected Member Functions inherited from SfxShell | |
SfxShell () | |
SfxShell (SfxViewShell *pViewSh) | |
void | SetViewShell_Impl (SfxViewShell *pView) |
SAL_DLLPRIVATE void | Invalidate_Impl (SfxBindings &rBindings, sal_uInt16 nId) |
Static Protected Member Functions inherited from SfxShell | |
static void | HandleOpenXmlFilterSettings (SfxRequest &) |
Protected Attributes inherited from sd::ViewShell | |
VclPtr< sd::Window > | mpContentWindow |
Window inside the rulers and scroll bars that shows a view of the document. More... | |
VclPtr< ScrollAdaptor > | mpHorizontalScrollBar |
Horizontal scroll bar for the current slide is displayed when needed. More... | |
VclPtr< ScrollAdaptor > | mpVerticalScrollBar |
Vertical scroll bar for whole document is always visible. More... | |
VclPtr< SvxRuler > | mpHorizontalRuler |
Horizontal ruler is not shown by default. More... | |
VclPtr< SvxRuler > | mpVerticalRuler |
Vertical ruler is not shown by default. More... | |
VclPtr< LayerTabBar > | mpLayerTabBar |
Layer tab bar. More... | |
bool | mbHasRulers |
This flag controls whether the rulers are visible. More... | |
VclPtr< ::sd::Window > | mpActiveWindow |
The active window. More... | |
::sd::View * | mpView |
FrameView * | mpFrameView |
rtl::Reference< FuPoor > | mxCurrentFunction |
rtl::Reference< FuPoor > | mxOldFunction |
std::unique_ptr< ZoomList > | mpZoomList |
double | mfLastZoomScale |
double | mfAccumulatedZoom = 0 |
Point | maViewPos |
Size | maViewSize |
Size | maScrBarWH |
bool | mbStartShowWithDialog |
sal_uInt16 | mnPrintedHandoutPageNum |
sal_uInt16 | mnPrintedHandoutPageCount |
::tools::Rectangle | maAllWindowRectangle |
Area covered by all windows, i.e. More... | |
ShellType | meShellType |
The type of the shell. Returned by GetShellType(). More... | |
std::unique_ptr< Implementation, o3tl::default_delete< Implementation > > | mpImpl |
View shell of the Draw application.
This class is an example of how not to do it: specialization by inheritance. A graphic view shell is similar to a draw view shell but lacks some of its features. Thus is should be at most a base class of DrawViewShell. There even is special case code in ViewShell that turns off some of the features for GraphicViewShell instances.
Definition at line 40 of file GraphicViewShell.hxx.
sd::GraphicViewShell::GraphicViewShell | ( | ViewShellBase & | rViewShellBase, |
vcl::Window * | pParentWindow, | ||
FrameView * | pFrameView | ||
) |
Create a new view shell for the Draw application.
rViewShellBase | The new object will be stacked on this view shell base. |
pFrameView | The frame view that makes it possible to pass information from one view shell to the next. |
Definition at line 30 of file grviewsh.cxx.
References ConstructGraphicViewShell(), and Standard.
|
overridevirtual |
Definition at line 43 of file grviewsh.cxx.
|
overrideprivatevirtual |
Arrange and resize the GUI elements like rulers, sliders, and buttons as well as the actual document view according to the size of the enclosing window and current sizes of buttons, rulers, and sliders.
Reimplemented from sd::DrawViewShell.
Definition at line 68 of file grviewsh.cxx.
References sd::DrawViewShell::ArrangeGUIElements(), GetFont(), GetFontHeight(), sd::ViewShell::GetParentWindow(), sd::ViewShell::GetViewFrame(), Size::Height(), sd::ViewShell::maViewSize, sd::ViewShell::mpLayerTabBar, Size::setHeight(), Size::setWidth(), TAB_HEIGHT_MARGIN, and Size::Width().
|
overridevirtual |
Override this method in order to have the layer mode always active.
Reimplemented from sd::DrawViewShell.
Definition at line 58 of file grviewsh.cxx.
References sd::DrawViewShell::ChangeEditMode(), and eMode.
|
private |
Definition at line 47 of file grviewsh.cxx.
References SfxShell::GetObjectShell(), sd::ViewShell::GetParentWindow(), sd::ViewShell::meShellType, sd::ViewShell::mpLayerTabBar, and sd::ViewShell::ST_DRAW.
Referenced by GraphicViewShell().
|
staticprivate |
SfxInterface initializer.
Definition at line 85 of file drvwshrg.cxx.
sd::GraphicViewShell::SFX_DECL_VIEWFACTORY | ( | GraphicViewShell | ) |
References SFX_DECL_INTERFACE.