LibreOffice Module sd (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
sd::OutlineViewShell Class Referencefinal

Show a textual overview of the text contents of all slides. More...

#include <OutlineViewShell.hxx>

Inheritance diagram for sd::OutlineViewShell:
[legend]
Collaboration diagram for sd::OutlineViewShell:
[legend]

Public Member Functions

 SFX_DECL_VIEWFACTORY (OutlineViewShell)
 
 OutlineViewShell (SfxViewFrame *pFrame, ViewShellBase &rViewShellBase, vcl::Window *pParentWindow, FrameView *pFrameView)
 Create a new view shell for the outline mode. More...
 
virtual ~OutlineViewShell () override
 
virtual void Shutdown () override
 This method is more or less an alias to Deactivate(). More...
 
virtual void Paint (const ::tools::Rectangle &rRect, ::sd::Window *pWin) override
 Paint method: the event gets forwarded from pWindow to the Viewshell and the current function. 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...
 
virtual bool PrepareClose (bool bUI=true) override
 PrepareClose, gets called when the Shell shall be destroyed. More...
 
virtual void VirtHScrollHdl (ScrollAdaptor *pHScroll) override
 gets invoked when ScrollBar is used More...
 
virtual void VirtVScrollHdl (ScrollAdaptor *pVHScroll) override
 handling for vertical Scrollbars More...
 
virtual void Activate (bool IsMDIActivate) override
 Activate(): during the first invocation the fields get updated. More...
 
virtual void Deactivate (bool IsMDIActivate) override
 
virtual SdPageGetActualPage () override
 Returns the first selected page. More...
 
virtual SdPagegetCurrentPage () const override
 inherited from sd::ViewShell More...
 
void ExecCtrl (SfxRequest &rReq)
 Handle SfxRequest for the Controller. More...
 
void GetCtrlState (SfxItemSet &rSet)
 Set status of Controller-SfxSlots. More...
 
void GetMenuState (SfxItemSet &rSet)
 Set Status (Enabled/Disabled) of Menu-SfxSlots. More...
 
void GetAttrState (SfxItemSet &rSet)
 Status of Attribute-Items. More...
 
void GetState (SfxItemSet &rSet)
 
void GetStatusBarState (SfxItemSet &rSet)
 
void FuTemporary (SfxRequest &rReq)
 SfxRequests for temporary functions. More...
 
void FuTemporaryModify (SfxRequest &rReq)
 
void FuPermanent (SfxRequest &rReq)
 SfxRequests for permanent functions. More...
 
void FuSupport (SfxRequest &rReq)
 SfxRequests for support functions. More...
 
virtual void SetZoom (::tools::Long nZoom) override
 Zoom with zoom factor. More...
 
virtual void SetZoomRect (const ::tools::Rectangle &rZoomRect) override
 Zoom with zoom rectangle. More...
 
void Execute (SfxRequest &rReq)
 Before saving: Update Model of the Drawing Engine, then forward the invocation to the ObjectShell. More...
 
virtual void ReadFrameViewData (FrameView *pView) override
 Read FrameViews data and set actual views data. More...
 
virtual void WriteFrameViewData () override
 Write actual views data to FrameView. More...
 
virtual void Command (const CommandEvent &rCEvt, ::sd::Window *pWin) override
 
virtual bool KeyInput (const KeyEvent &rKEvt, ::sd::Window *pWin) override
 
virtual void MouseButtonUp (const MouseEvent &rMEvt, ::sd::Window *pWin) override
 
ErrCode ReadRtf (SvStream &rInput)
 Fill Outliner from Stream. 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...
 
virtual void UpdatePreview (SdPage *pPage) override
 Update the preview to show the specified page. 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...
 
void SetCurrentPage (SdPage *pPage)
 Make the given page the new current page. More...
 
void UpdateTitleObject (SdPage *pPage, Paragraph const *pPara)
 
void UpdateOutlineObject (SdPage *pPage, Paragraph *pPara)
 
- 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::WindowGetParentWindow () const
 Return the window that is the parent of all controls of this view shell. More...
 
sd::WindowGetContentWindow () const
 
::sd::ViewGetView () const
 
SdrViewGetDrawView () const
 
SD_DLLPUBLIC DrawDocShellGetDocSh () const
 
SdDrawDocumentGetDoc () const
 
SD_DLLPUBLIC SfxViewFrameGetViewFrame () const
 
::sd::WindowGetActiveWindow () const
 The active window is usually the mpContentWindow. More...
 
SD_DLLPUBLIC weld::WindowGetFrameWeld () const
 
void SetActiveWindow (::sd::Window *pWindow)
 Set the active window. More...
 
const ::tools::RectangleGetAllWindowRect ()
 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 SvxNumBulletItemGetNumBulletItem (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)
 
ZoomListGetZoomList ()
 
FrameViewGetFrameView ()
 
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 SdPageGetActualPage ()=0
 
virtual SdPagegetCurrentPage () 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::WindowUpdaterGetWindowUpdater () 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 ViewShellBaseGetViewShellBase () 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 SdPageCreateOrDuplicatePage (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 SfxInterfaceGetInterface () const
 
void SetName (const OUString &rName)
 
const OUString & GetName () const
 
SfxViewShellGetViewShell () const
 
const SfxPoolItemGetSlotState (sal_uInt16 nSlotId, const SfxInterface *pIF=nullptr, SfxItemSet *pStateSet=nullptr)
 
const SfxPoolItemExecuteSlot (SfxRequest &rReq, const SfxInterface *pIF=nullptr)
 
void ExecuteSlot (SfxRequest &rReq, bool bAsync)
 
SfxItemPoolGetPool () const
 
void SetPool (SfxItemPool *pNewPool)
 
virtual SfxUndoManagerGetUndoManager ()
 
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)
 
SfxDispatcherGetDispatcher () const
 
SfxViewFrameGetFrame () const
 
virtual bool HasUIFeature (SfxShellFeature nFeature) const
 
void UIFeatureChanged ()
 
const SfxPoolItemGetItem (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 SfxSlotGetVerbSlot_Impl (sal_uInt16 nId) const
 
virtual SfxObjectShellGetObjectShell ()
 
void SetDisableFlags (SfxDisableFlags nFlags)
 
SfxDisableFlags GetDisableFlags () const
 
virtual std::optional< SfxItemSetCreateItemSet (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)
 

Static Public Member Functions

static void ExecStatusBar (SfxRequest &rReq)
 Handle SfxRequests for the StatusBar. More...
 
- Static Public Member Functions inherited from SfxShell
static SfxInterfaceGetStaticInterface ()
 
static void EmptyExecStub (SfxShell *pShell, SfxRequest &)
 
static void EmptyStateStub (SfxShell *pShell, SfxItemSet &)
 
static void VerbState (SfxItemSet &)
 

Private Member Functions

void Construct ()
 common initialization part of both constructors More...
 
 DECL_LINK (ClipboardChanged, TransferableDataHelper *, void)
 

Static Private Member Functions

static void InitInterface_Impl ()
 SfxInterface initializer. More...
 

Private Attributes

OUString m_StrOldPageName
 
std::unique_ptr< OutlineViewpOlView
 
SdPagepLastPage
 
rtl::Reference< TransferableClipboardListenermxClipEvtLstnr
 
bool bPastePossible
 
bool mbInitialized
 

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 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::ViewShell
void DisposeFunctions ()
 must be called in the beginning of each subclass d'tor. More...
 
virtual SfxUndoManagerImpGetUndoManager () 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< SvxRulerCreateHRuler (::sd::Window *pWin)
 
virtual VclPtr< SvxRulerCreateVRuler (::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::WindowmpContentWindow
 Window inside the rulers and scroll bars that shows a view of the document. More...
 
VclPtr< ScrollAdaptormpHorizontalScrollBar
 Horizontal scroll bar for the current slide is displayed when needed. More...
 
VclPtr< ScrollAdaptormpVerticalScrollBar
 Vertical scroll bar for whole document is always visible. More...
 
VclPtr< SvxRulermpHorizontalRuler
 Horizontal ruler is not shown by default. More...
 
VclPtr< SvxRulermpVerticalRuler
 Vertical ruler is not shown by default. More...
 
VclPtr< LayerTabBarmpLayerTabBar
 Layer tab bar. More...
 
bool mbHasRulers
 This flag controls whether the rulers are visible. More...
 
VclPtr< ::sd::WindowmpActiveWindow
 The active window. More...
 
::sd::ViewmpView
 
FrameViewmpFrameView
 
rtl::Reference< FuPoormxCurrentFunction
 
rtl::Reference< FuPoormxOldFunction
 
std::unique_ptr< ZoomListmpZoomList
 
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
 

Detailed Description

Show a textual overview of the text contents of all slides.

Definition at line 35 of file OutlineViewShell.hxx.

Constructor & Destructor Documentation

◆ OutlineViewShell()

sd::OutlineViewShell::OutlineViewShell ( SfxViewFrame pFrame,
ViewShellBase rViewShellBase,
vcl::Window pParentWindow,
FrameView pFrameView 
)

Create a new view shell for the outline mode.

Default constructor, windows must not center themselves automatically.

Parameters
rViewShellBaseThe new object will be stacked on this view shell base.
pFrameViewThe frame view that makes it possible to pass information from one view shell to the next.

Definition at line 179 of file outlnvsh.cxx.

References sd::FrameView::Connect(), Construct(), sd::ViewShell::doShow(), vcl::EnumContext::GetContextName(), sd::ViewShell::GetDoc(), m_StrOldPageName, mbInitialized, sd::ViewShell::mpFrameView, vcl::EnumContext::OutlineText, and SfxShell::SetContextName().

◆ ~OutlineViewShell()

sd::OutlineViewShell::~OutlineViewShell ( )
overridevirtual

Member Function Documentation

◆ Activate()

void sd::OutlineViewShell::Activate ( bool  IsMDIActivate)
overridevirtual

◆ ArrangeGUIElements()

void sd::OutlineViewShell::ArrangeGUIElements ( )
overridevirtual

◆ Command()

void sd::OutlineViewShell::Command ( const CommandEvent rCEvt,
::sd::Window pWin 
)
overridevirtual

◆ Construct()

void sd::OutlineViewShell::Construct ( )
private

◆ CreateAccessibleDocumentView()

css::uno::Reference< css::accessibility::XAccessible > sd::OutlineViewShell::CreateAccessibleDocumentView ( ::sd::Window pWindow)
overridevirtual

Create an accessible object representing the specified window.

If there is a valid controller then create a new instance of <type>AccessibleDrawDocumentView</type>.

Parameters
pWindowThe returned object makes the document displayed in this window accessible.
Returns
Returns an <type>AccessibleDrawDocumentView</type> object.

Otherwise return an empty reference.

Reimplemented from sd::ViewShell.

Definition at line 1826 of file outlnvsh.cxx.

References vcl::Window::GetAccessible(), vcl::Window::GetAccessibleParentWindow(), GetController(), SfxShell::GetViewShell(), and SAL_WARN.

◆ CreateSubController()

Reference< drawing::XDrawSubController > sd::OutlineViewShell::CreateSubController ( )
overridevirtual

Return a sub controller that implements the view shell specific part of the DrawController.

Implements sd::ViewShell.

Definition at line 163 of file outlnvsh.cxx.

References sd::ViewShell::IsMainViewShell().

◆ Deactivate()

void sd::OutlineViewShell::Deactivate ( bool  IsMDIActivate)
overridevirtual

Reimplemented from sd::ViewShell.

Definition at line 333 of file outlnvsh.cxx.

References sd::ViewShell::Deactivate(), and pOlView.

◆ DECL_LINK()

sd::OutlineViewShell::DECL_LINK ( ClipboardChanged  ,
TransferableDataHelper ,
void   
)
private

◆ ExecCtrl()

void sd::OutlineViewShell::ExecCtrl ( SfxRequest rReq)

Handle SfxRequest for the Controller.

Definition at line 283 of file outlnvsh.cxx.

References SfxRequest::Done(), sd::ViewShell::ExecReq(), GetActualPage(), SfxRequest::GetSlot(), pOlView, and UpdatePreview().

◆ ExecStatusBar()

void sd::OutlineViewShell::ExecStatusBar ( SfxRequest rReq)
static

Handle SfxRequests for the StatusBar.

Definition at line 1242 of file outlnvsh.cxx.

◆ Execute()

void sd::OutlineViewShell::Execute ( SfxRequest rReq)

◆ FuPermanent()

void sd::OutlineViewShell::FuPermanent ( SfxRequest rReq)

◆ FuSupport()

void sd::OutlineViewShell::FuSupport ( SfxRequest rReq)

◆ FuTemporary()

void sd::OutlineViewShell::FuTemporary ( SfxRequest rReq)

◆ FuTemporaryModify()

void sd::OutlineViewShell::FuTemporaryModify ( SfxRequest rReq)

Definition at line 335 of file outlnvs2.cxx.

References aName, sd::ViewShell::Cancel(), SfxItemSet::Count(), SdAbstractDialogFactory::Create(), sd::FuBullet::Create(), sd::FuChar::Create(), sd::FuExpandPage::Create(), sd::FuInsertFile::Create(), sd::FuBulletAndPosition::Create(), sd::FuPresentationObjects::Create(), sd::FuSummaryPage::Create(), sd::FuThesaurus::Create(), SdAbstractDialogFactory::CreateSdModifyFieldDlg(), sd::ViewShell::DeactivateCurrentFunction(), SfxRequest::Done(), EE_FEATURE_FIELD(), SfxItemSet::Get(), sd::ViewShell::GetActiveWindow(), SfxRequest::GetArgs(), OutlinerView::GetAttribs(), SfxViewFrame::GetBindings(), sd::ViewShell::GetCurrentFunction(), sd::ViewShell::GetDoc(), sd::ViewShell::GetDocSh(), SvxFieldItem::GetField(), OutlinerView::GetFieldAtSelection(), SvtUserOptions::GetFirstName(), vcl::Window::GetFrameWeld(), SvtUserOptions::GetID(), SvtUserOptions::GetLastName(), SfxObjectShell::GetMedium(), SfxMedium::GetName(), SvxHyperlinkItem::GetName(), OutlinerView::GetOutliner(), OutlinerView::GetSelection(), SfxRequest::GetSlot(), SvxHyperlinkItem::GetURL(), sd::ViewShell::GetViewFrame(), sd::ViewShell::HasCurrentFunction(), SfxRequest::Ignore(), OutlinerView::InsertField(), SfxBindings::Invalidate(), SfxShell::Invalidate(), ESelection::nEndPos, ESelection::nStartPos, pOlView, OutlinerView::RemoveAttribs(), RET_OK, OutlinerView::SetAttribs(), sd::ViewShell::SetCurrentFunction(), OutlinerView::SetSelection(), Date::SYSTEM, tools::Time::SYSTEM, and Outliner::UpdateFields().

◆ GetActualPage()

SdPage * sd::OutlineViewShell::GetActualPage ( )
overridevirtual

Returns the first selected page.

If nothing is selected, the first page is returned.

Implements sd::ViewShell.

Definition at line 1544 of file outlnvsh.cxx.

References pOlView.

Referenced by Construct(), ExecCtrl(), getCurrentPage(), sd::SdUnoOutlineView::getFastPropertyValue(), KeyInput(), MouseButtonUp(), and sd::FuOutlineText::UpdateForKeyPress().

◆ GetAttrState()

void sd::OutlineViewShell::GetAttrState ( SfxItemSet rSet)

◆ GetCtrlState()

void sd::OutlineViewShell::GetCtrlState ( SfxItemSet rSet)

◆ getCurrentPage()

SdPage * sd::OutlineViewShell::getCurrentPage ( ) const
overridevirtual

inherited from sd::ViewShell

Implements sd::ViewShell.

Definition at line 1533 of file outlnvsh.cxx.

References GetActualPage().

Referenced by sd::SdUnoOutlineView::getCurrentPage().

◆ GetMenuState()

void sd::OutlineViewShell::GetMenuState ( SfxItemSet rSet)

Set Status (Enabled/Disabled) of Menu-SfxSlots.

Definition at line 714 of file outlnvsh.cxx.

References bPastePossible, SdrTextObj::CanCreateEditOutlinerParaObject(), LanguageTag::convertToLocale(), TransferableDataHelper::CreateFromSystemClipboard(), OutlinerView::CreateSelectionList(), SfxItemSet::DisableItem(), DynCastSdrTextObj(), EE_CHAR_LANGUAGE(), SfxItemSet::Get(), Outliner::GetAbsPos(), sd::ViewShell::GetActiveWindow(), Outliner::GetControlWord(), Outliner::GetDepth(), sd::ViewShell::GetDoc(), sd::ViewShell::GetDocSh(), SvxFieldItem::GetField(), OutlinerView::GetFieldAtSelection(), TransferableDataHelper::GetFormatCount(), SfxItemSet::GetItemState(), SdDrawDocument::GetLanguage(), sd::ViewShell::GetMenuState(), SfxShell::GetObjectShell(), Outliner::GetParagraph(), Outliner::GetParagraphCount(), SfxItemSet::GetPool(), SdPage::GetPresObj(), SdDrawDocument::GetSdPage(), SdDrawDocument::GetSdPageCount(), sd::FuBullet::GetSlotState(), GetStatusBarState(), Outliner::GetText(), LinguMgr::GetThesaurus(), sd::ViewShell::GetViewFrame(), sd::ViewShell::GetZoom(), Outliner::HasChildren(), TransferableDataHelper::HasFormat(), Outliner::HasParaFlag(), sd::ViewShell::HasRuler(), i, SfxObjectShell::isContentExtractionLocked(), SdrObject::IsEmptyPresObj(), SdPage::IsExcluded(), Outliner::IsExpanded(), Outliner::IsFlatMode(), IsReadOnly(), SdPage::IsSelected(), LANGUAGE_NONE, LINK, sd::ViewShell::mpZoomList, mxClipEvtLstnr, nCount, Outline, pOlView, SfxItemSet::Put(), rSet, SdDrawDocument::SetChanged(), Standard, and Title.

◆ GetState()

void sd::OutlineViewShell::GetState ( SfxItemSet rSet)

◆ GetStatusBarState()

void sd::OutlineViewShell::GetStatusBarState ( SfxItemSet rSet)

◆ InitInterface_Impl()

void sd::OutlineViewShell::InitInterface_Impl ( )
staticprivate

SfxInterface initializer.

Declare SFX-Slotmap and standard interface.

Definition at line 105 of file outlnvsh.cxx.

References SFX_OBJECTBAR_APPLICATION, and SFX_OBJECTBAR_TOOLS.

◆ KeyInput()

bool sd::OutlineViewShell::KeyInput ( const KeyEvent rKEvt,
::sd::Window pWin 
)
overridevirtual

◆ MouseButtonUp()

void sd::OutlineViewShell::MouseButtonUp ( const MouseEvent rMEvt,
::sd::Window pWin 
)
overridevirtual

Reimplemented from sd::ViewShell.

Definition at line 1513 of file outlnvsh.cxx.

References GetActualPage(), SfxShell::Invalidate(), sd::ViewShell::MouseButtonUp(), and pLastPage.

◆ Paint()

void sd::OutlineViewShell::Paint ( const ::tools::Rectangle rRect,
::sd::Window pWin 
)
overridevirtual

Paint method: the event gets forwarded from pWindow to the Viewshell and the current function.

Reimplemented from sd::ViewShell.

Definition at line 232 of file outlnvsh.cxx.

References pOlView.

◆ PrepareClose()

bool sd::OutlineViewShell::PrepareClose ( bool  bUI = true)
overridevirtual

PrepareClose, gets called when the Shell shall be destroyed.

Forwards the invocation to the View

Reimplemented from sd::ViewShell.

Definition at line 1098 of file outlnvsh.cxx.

References pOlView, and sd::ViewShell::PrepareClose().

Referenced by Execute(), and Shutdown().

◆ ReadFrameViewData()

void sd::OutlineViewShell::ReadFrameViewData ( FrameView pView)
overridevirtual

◆ ReadRtf()

ErrCode sd::OutlineViewShell::ReadRtf ( SvStream rInput)

◆ ReadUserDataSequence()

void sd::OutlineViewShell::ReadUserDataSequence ( const css::uno::Sequence< css::beans::PropertyValue > &  rSequence)
overridevirtual

◆ SetCurrentPage()

void sd::OutlineViewShell::SetCurrentPage ( SdPage pPage)

Make the given page the new current page.

This method notifies the controller and adapts the selection of the model.

Parameters
pPageThe new current page. Pass NULL when there is no current page.

Definition at line 1867 of file outlnvsh.cxx.

References sd::DrawController::FireSelectionChangeListener(), sd::DrawController::FireSwitchCurrentPage(), sd::ViewShell::GetDoc(), SdDrawDocument::GetSdPage(), SdDrawDocument::GetSdPageCount(), sd::ViewShell::GetViewShellBase(), i, pOlView, SdDrawDocument::SetSelected(), and Standard.

Referenced by sd::SdUnoOutlineView::setCurrentPage(), and UpdatePreview().

◆ SetZoom()

void sd::OutlineViewShell::SetZoom ( ::tools::Long  nZoom)
overridevirtual

◆ SetZoomRect()

void sd::OutlineViewShell::SetZoomRect ( const ::tools::Rectangle rZoomRect)
overridevirtual

◆ SFX_DECL_VIEWFACTORY()

sd::OutlineViewShell::SFX_DECL_VIEWFACTORY ( OutlineViewShell  )

References SFX_DECL_INTERFACE.

◆ Shutdown()

void sd::OutlineViewShell::Shutdown ( )
overridevirtual

This method is more or less an alias to Deactivate().

It is called before an object of this class is taken from the stack of view shells.

When this method is not called before a view shell is taken from a stack then the Deactivate() call from the SFX as a response to RemoveSubShell() comes too late when the view shell is not on the stack anymore.

Reimplemented from sd::ViewShell.

Definition at line 221 of file outlnvsh.cxx.

References PrepareClose(), and sd::ViewShell::Shutdown().

◆ UpdateOutlineObject()

void sd::OutlineViewShell::UpdateOutlineObject ( SdPage pPage,
Paragraph pPara 
)

◆ UpdatePreview()

void sd::OutlineViewShell::UpdatePreview ( SdPage pPage)
overridevirtual

Update the preview to show the specified page.

Reimplemented from sd::ViewShell.

Definition at line 1549 of file outlnvsh.cxx.

References pLastPage, pOlView, and SetCurrentPage().

Referenced by ExecCtrl(), and sd::FuOutlineText::UpdateForKeyPress().

◆ UpdateTitleObject()

void sd::OutlineViewShell::UpdateTitleObject ( SdPage pPage,
Paragraph const *  pPara 
)

◆ VirtHScrollHdl()

void sd::OutlineViewShell::VirtHScrollHdl ( ScrollAdaptor pHScroll)
overridevirtual

◆ VirtVScrollHdl()

void sd::OutlineViewShell::VirtVScrollHdl ( ScrollAdaptor pVScroll)
overridevirtual

◆ VisAreaChanged()

void sd::OutlineViewShell::VisAreaChanged ( const ::tools::Rectangle rRect)
overridevirtual

this method is called when the visible area of the view from this viewshell is changed

Reimplemented from sd::ViewShell.

Definition at line 1814 of file outlnvsh.cxx.

References sd::DrawController::FireVisAreaChanged(), sd::ViewShellBase::GetDrawController(), sd::ViewShell::GetViewShellBase(), and sd::ViewShell::VisAreaChanged().

◆ WriteFrameViewData()

void sd::OutlineViewShell::WriteFrameViewData ( )
overridevirtual

◆ WriteUserDataSequence()

void sd::OutlineViewShell::WriteUserDataSequence ( css::uno::Sequence< css::beans::PropertyValue > &  rSequence)
overridevirtual

Reimplemented from sd::ViewShell.

Definition at line 1798 of file outlnvsh.cxx.

References WriteFrameViewData(), and sd::ViewShell::WriteUserDataSequence().

Member Data Documentation

◆ bPastePossible

bool sd::OutlineViewShell::bPastePossible
private

Definition at line 154 of file OutlineViewShell.hxx.

Referenced by GetMenuState().

◆ m_StrOldPageName

OUString sd::OutlineViewShell::m_StrOldPageName
private

Definition at line 150 of file OutlineViewShell.hxx.

Referenced by GetStatusBarState(), and OutlineViewShell().

◆ mbInitialized

bool sd::OutlineViewShell::mbInitialized
private

Definition at line 155 of file OutlineViewShell.hxx.

Referenced by Activate().

◆ mxClipEvtLstnr

rtl::Reference<TransferableClipboardListener> sd::OutlineViewShell::mxClipEvtLstnr
private

Definition at line 153 of file OutlineViewShell.hxx.

Referenced by GetMenuState(), and ~OutlineViewShell().

◆ pLastPage

SdPage* sd::OutlineViewShell::pLastPage
private

◆ pOlView

std::unique_ptr<OutlineView> sd::OutlineViewShell::pOlView
private

The documentation for this class was generated from the following files: