LibreOffice Module sd (master) 1
|
SfxViewShell descendant that the stacked Draw/Impress shells are based on. More...
#include <ViewShellBase.hxx>
Classes | |
class | Implementation |
Public Member Functions | |
ViewShellBase (SfxViewFrame &rFrame, SfxViewShell *pOldShell) | |
This constructor is used by the view factory of the SFX macros. More... | |
virtual | ~ViewShellBase () override |
In this destructor the order in which some of the members are destroyed (and/or being prepared to being destroyed) is important. More... | |
void | LateInit (const OUString &rsDefaultView) |
This method is part of the object construction. More... | |
std::shared_ptr< ViewShellManager > const & | GetViewShellManager () const |
std::shared_ptr< ViewShell > | GetMainViewShell () const |
Return the main view shell stacked on the called ViewShellBase object. More... | |
DrawDocShell * | GetDocShell () const |
SdDrawDocument * | GetDocument () const |
virtual void | Execute (SfxRequest &rRequest) |
Callback function for general slot calls. More... | |
void | GetState (SfxItemSet &rSet) |
Callback function for retrieving item values related to certain slots. More... | |
virtual OUString | GetSelectionText (bool=false, bool bOnlyASample=false) override |
virtual bool | HasSelection (bool=true) const override |
SvBorder | GetBorder (bool bOuterResize) |
virtual void | InnerResizePixel (const Point &rOrigin, const Size &rSize, bool inplaceEditModeChange) override |
virtual void | OuterResizePixel (const Point &rOrigin, const Size &rSize) override |
virtual ErrCode | DoVerb (sal_Int32 nVerb) override |
This call is forwarded to the main sub-shell. More... | |
virtual css::uno::Reference< css::view::XRenderable > | GetRenderable () override |
Return a new renderer that can be used for example for printing the document. More... | |
virtual SfxPrinter * | GetPrinter (bool bCreate=false) override |
Forwarded to the print manager. More... | |
virtual sal_uInt16 | SetPrinter (SfxPrinter *pNewPrinter, SfxPrinterChangeFlags nDiffFlags=SFX_PRINTER_ALL) override |
Forwarded to the print manager. More... | |
virtual void | WriteUserDataSequence (css::uno::Sequence< css::beans::PropertyValue > &) override |
Forward methods to main sub shell. More... | |
virtual void | ReadUserDataSequence (const css::uno::Sequence< css::beans::PropertyValue > &) override |
Pass the given properties to the main view shell. More... | |
virtual void | UIActivating (SfxInPlaceClient *) override |
virtual void | UIDeactivated (SfxInPlaceClient *) override |
virtual void | Activate (bool IsMDIActivate) override |
virtual void | SetZoomFactor (const Fraction &rZoomX, const Fraction &rZoomY) override |
virtual bool | PrepareClose (bool bUI=true) override |
virtual void | WriteUserData (OUString &, bool bBrowse=false) override |
virtual void | ReadUserData (const OUString &, bool bBrowse=false) override |
virtual SdrView * | GetDrawView () const override |
void | SetBusyState (bool bBusy) |
When <TRUE> is given, then the mouse shape is set to hour glass (or whatever the busy shape looks like on the system.) More... | |
void | Rearrange () |
Call this method when the controls of this view shell or the embedded sub shell need to be rearranged. More... | |
void | UpdateBorder (bool bForce=false) |
Update the border that is set with SfxViewShell::SetBorderPixel(). More... | |
void | ShowUIControls (bool bVisible) |
With this method the UI controls can be turned on or off. More... | |
std::shared_ptr< tools::EventMultiplexer > const & | GetEventMultiplexer () const |
Return an event multiplexer. More... | |
const ::tools::Rectangle & | getClientRectangle () const |
returns the complete area of the current view relative to the frame window More... | |
std::shared_ptr< ToolBarManager > const & | GetToolBarManager () const |
std::shared_ptr< FormShellManager > const & | GetFormShellManager () const |
DrawController * | GetDrawController () const |
void | SetViewTabBar (const ::rtl::Reference< ViewTabBar > &rViewTabBar) |
vcl::Window * | GetViewWindow () |
Return the window that is used by the main view shell to display its view and other UI elements, like scroll bars and rulers. More... | |
OUString | RetrieveLabelFromCommand (const OUString &aCmdURL) const |
returns the ui descriptive name for the given uno slot. More... | |
int | getPart () const override |
See SfxViewShell::getPart(). More... | |
int | getEditMode () const override |
See SfxViewShell::getEditMode(). More... | |
void | setEditMode (int nMode) |
See SfxViewShell::setEditMode(). More... | |
void | afterCallbackRegistered () override |
See SfxViewShell::afterCallbackRegistered(). More... | |
void | NotifyCursor (SfxViewShell *pViewShell) const override |
See SfxViewShell::NotifyCursor(). More... | |
::Color | GetColorConfigColor (svtools::ColorConfigEntry nColorType) const override |
See SfxViewShell::GetColorConfigColor(). More... | |
OUString | GetColorConfigName () const override |
See SfxViewShell::GetColorConfigName(). More... | |
void | setLOKVisibleArea (const ::tools::Rectangle &rArea) |
virtual ::tools::Rectangle | getLOKVisibleArea () const override |
virtual void | Deactivate (bool IsMDIActivate) override |
Public Member Functions inherited from SfxViewShell | |
SfxViewShell (SfxViewFrame &rFrame, SfxViewShellFlags nFlags) | |
virtual | ~SfxViewShell () override |
SfxInPlaceClient * | GetIPClient () const |
SfxInPlaceClient * | GetUIActiveClient () const |
SfxInPlaceClient * | FindIPClient (const css::uno::Reference< css::embed::XEmbeddedObject > &xObj, vcl::Window *pObjParentWin) const |
virtual ErrCode | DoVerb (sal_Int32 nVerb) |
void | OutplaceActivated (bool bActive) |
virtual void | UIActivating (SfxInPlaceClient *pClient) |
virtual void | UIDeactivated (SfxInPlaceClient *pClient) |
void | JumpToMark (const OUString &rMark) |
void | VisAreaChanged () |
virtual bool | PrepareClose (bool bUI=true) |
virtual OUString | GetSelectionText (bool bCompleteWords=false, bool bOnlyASample=false) |
virtual bool | HasSelection (bool bText=true) const |
virtual SdrView * | GetDrawView () const |
void | AddSubShell (SfxShell &rShell) |
void | RemoveSubShell (SfxShell *pShell=nullptr) |
SfxShell * | GetSubShell (sal_uInt16) |
virtual SfxShell * | GetFormShell () |
virtual const SfxShell * | GetFormShell () const |
virtual void | notifyWindow (vcl::LOKWindowId nLOKWindowId, const OUString &rAction, const std::vector< vcl::LOKPayloadItem > &rPayload=std::vector< vcl::LOKPayloadItem >()) const override |
virtual void | ShowCursor (bool bOn=true) |
virtual bool | KeyInput (const KeyEvent &rKeyEvent) |
bool | Escape () |
vcl::Window * | GetWindow () const |
weld::Window * | GetFrameWeld () const |
void | SetWindow (vcl::Window *pViewPort) |
const SvBorder & | GetBorderPixel () const |
void | SetBorderPixel (const SvBorder &rBorder) |
void | InvalidateBorder () |
SfxViewFrame & | GetViewFrame () const |
virtual SfxPrinter * | GetPrinter (bool bCreate=false) |
virtual sal_uInt16 | SetPrinter (SfxPrinter *pNewPrinter, SfxPrinterChangeFlags nDiffFlags=SFX_PRINTER_ALL) |
virtual bool | HasPrintOptionsPage () const |
virtual std::unique_ptr< SfxTabPage > | CreatePrintOptionsPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rOptions) |
Printer * | GetActivePrinter () const |
virtual void | WriteUserData (OUString &, bool bBrowse=false) |
virtual void | ReadUserData (const OUString &, bool bBrowse=false) |
virtual void | WriteUserDataSequence (css::uno::Sequence< css::beans::PropertyValue > &) |
virtual void | ReadUserDataSequence (const css::uno::Sequence< css::beans::PropertyValue > &) |
virtual void | QueryObjAreaPixel (tools::Rectangle &rRect) const |
virtual SfxObjectShell * | GetObjectShell () override |
virtual css::uno::Reference< css::frame::XModel > | GetCurrentDocument () const |
void | SetCurrentDocument () const |
virtual css::uno::Reference< css::view::XRenderable > | GetRenderable () |
virtual void | MarginChanged () |
const Size & | GetMargin () const |
void | SetMargin (const Size &) |
void | DisconnectAllClients () |
bool | NewWindowAllowed () const |
void | SetNewWindowAllowed (bool bSet) |
void | SetController (SfxBaseController *pController) |
css::uno::Reference< css::frame::XController > | GetController () const |
bool | TryContextMenuInterception (const rtl::Reference< VCLXPopupMenu > &rIn, const OUString &rMenuIdentifier, rtl::Reference< VCLXPopupMenu > &rOut, css::ui::ContextMenuExecuteEvent aEvent) |
bool | TryContextMenuInterception (const rtl::Reference< VCLXPopupMenu > &, const OUString &rMenuIdentifier, css::ui::ContextMenuExecuteEvent aEvent) |
void | ExecPrint (const css::uno::Sequence< css::beans::PropertyValue > &, bool, bool) |
void | StartPrint (const css::uno::Sequence< css::beans::PropertyValue > &, bool, bool) |
const std::shared_ptr< vcl::PrinterController > & | GetPrinterController () const |
void | AddRemoveClipboardListener (const css::uno::Reference< css::datatransfer::clipboard::XClipboardListener > &, bool) |
css::uno::Reference< css::datatransfer::clipboard::XClipboardNotifier > | GetClipboardNotifier () const |
SAL_DLLPRIVATE SfxInPlaceClient * | GetUIActiveIPClient_Impl () const |
SAL_DLLPRIVATE void | AddContextMenuInterceptor_Impl (const css::uno::Reference< css::ui::XContextMenuInterceptor > &xInterceptor) |
SAL_DLLPRIVATE void | RemoveContextMenuInterceptor_Impl (const css::uno::Reference< css::ui::XContextMenuInterceptor > &xInterceptor) |
SAL_DLLPRIVATE bool | GlobalKeyInput_Impl (const KeyEvent &rKeyEvent) |
SAL_DLLPRIVATE void | NewIPClient_Impl (SfxInPlaceClient *pIPClient) |
SAL_DLLPRIVATE void | IPClientGone_Impl (SfxInPlaceClient const *pIPClient) |
SAL_DLLPRIVATE void | ResetAllClients_Impl (SfxInPlaceClient const *pIP) |
SAL_DLLPRIVATE void | SetPrinter_Impl (VclPtr< SfxPrinter > &pNewPrinter) |
SAL_DLLPRIVATE bool | HandleNotifyEvent_Impl (NotifyEvent const &rEvent) |
SAL_DLLPRIVATE bool | HasKeyListeners_Impl () const |
SAL_DLLPRIVATE bool | HasMouseClickListeners_Impl () const |
SAL_DLLPRIVATE SfxBaseController * | GetBaseController_Impl () const |
SAL_DLLPRIVATE void | ExecPrint_Impl (SfxRequest &) |
SAL_DLLPRIVATE void | ExecMisc_Impl (SfxRequest &) |
SAL_DLLPRIVATE void | GetState_Impl (SfxItemSet &) |
SAL_DLLPRIVATE void | CheckIPClient_Impl (SfxInPlaceClient const *, const tools::Rectangle &) |
SAL_DLLPRIVATE void | PushSubShells_Impl (bool bPush=true) |
SAL_DLLPRIVATE void | PopSubShells_Impl () |
SAL_DLLPRIVATE bool | ExecKey_Impl (const KeyEvent &aKey) |
void | setLibreOfficeKitViewCallback (SfxLokCallbackInterface *pCallback) |
SfxLokCallbackInterface * | getLibreOfficeKitViewCallback () const |
void | dumpLibreOfficeKitViewState (rtl::OStringBuffer &rState) |
virtual void | libreOfficeKitViewCallback (int nType, const OString &pPayload) const override |
virtual void | libreOfficeKitViewCallbackWithViewId (int nType, const OString &pPayload, int nViewId) const override |
virtual void | libreOfficeKitViewInvalidateTilesCallback (const tools::Rectangle *pRect, int nPart, int nMode) const override |
virtual void | libreOfficeKitViewUpdatedCallback (int nType) const override |
virtual void | libreOfficeKitViewUpdatedCallbackPerViewId (int nType, int nViewId, int nSourceViewId) const override |
virtual void | flushPendingLOKInvalidateTiles () |
virtual void | libreOfficeKitViewAddPendingInvalidateTiles () override |
virtual std::optional< OString > | getLOKPayload (int nType, int nViewId) const |
void | setTiledSearching (bool bTiledSearching) |
virtual int | getPart () const |
virtual int | getEditMode () const |
virtual void | dumpAsXml (xmlTextWriterPtr pWriter) const |
ViewShellId | GetViewShellId () const override |
ViewShellDocId | GetDocId () const override |
virtual void | notifyInvalidation (tools::Rectangle const *) const override |
void | NotifyOtherViews (int nType, const OString &rKey, const OString &rPayload) override |
void | NotifyOtherView (OutlinerViewShell *pOtherShell, int nType, const OString &rKey, const OString &rPayload) override |
virtual void | NotifyCursor (SfxViewShell *) const |
virtual void | afterCallbackRegistered () |
virtual vcl::Window * | GetEditWindowForActiveOLEObj () const override |
virtual ::Color | GetColorConfigColor (svtools::ColorConfigEntry nColorType) const |
virtual OUString | GetColorConfigName () const |
void | SetLOKLanguageTag (const OUString &rBcp47LanguageTag) |
const LanguageTag & | GetLOKLanguageTag () const |
void | SetLOKAccessibilityState (bool bEnabled) |
std::pair< bool, OUString > | GetLOKTimezone () const |
void | SetLOKTimezone (bool isSet, const OUString &rTimezone) |
void | SetLOKLocale (const OUString &rBcp47LanguageTag) |
const LanguageTag & | GetLOKLocale () const |
LOKDeviceFormFactor | GetLOKDeviceFormFactor () const |
bool | isLOKDesktop () const |
bool | isLOKTablet () const |
bool | isLOKMobilePhone () const |
virtual tools::Rectangle | getLOKVisibleArea () const |
void | setBlockedCommandList (const char *blockedCommandList) |
bool | isBlockedCommand (OUString command) |
void | SetStoringHelper (std::shared_ptr< SfxStoringHelper > xHelper) |
StylesHighlighterColorMap & | GetStylesHighlighterParaColorMap () |
StylesHighlighterColorMap & | GetStylesHighlighterCharColorMap () |
OUString | getA11yFocusedParagraph () const |
int | getA11yCaretPosition () const |
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) |
Static Public Member Functions | |
static ViewShellBase * | GetViewShellBase (SfxViewFrame const *pFrame) |
When given a view frame this static method returns the corresponding sd::ViewShellBase object. More... | |
Static Public Member Functions inherited from SfxViewShell | |
static SAL_WARN_UNUSED_RESULT SfxViewShell * | GetFirst (bool bOnlyVisible=true, const std::function< bool(const SfxViewShell *)> &isViewShell=nullptr) |
static SAL_WARN_UNUSED_RESULT SfxViewShell * | GetNext (const SfxViewShell &rPrev, bool bOnlyVisible=true, const std::function< bool(const SfxViewShell *)> &isViewShell=nullptr) |
static SAL_WARN_UNUSED_RESULT SfxViewShell * | Current () |
static SAL_WARN_UNUSED_RESULT SfxViewShell * | Get (const css::uno::Reference< css::frame::XController > &i_rController) |
static void | SetCurrentDocId (ViewShellDocId nId) |
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 &) |
Protected Member Functions | |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
virtual void | InitializeFramework () |
Protected Member Functions inherited from SfxViewShell | |
virtual void | Activate (bool IsMDIActivate) override |
virtual void | Deactivate (bool IsMDIActivate) override |
virtual void | InnerResizePixel (const Point &rOfs, const Size &rSize, bool inplaceEditModeChange) |
virtual void | OuterResizePixel (const Point &rOfs, const Size &rSize) |
virtual void | SetZoomFactor (const Fraction &rZoomX, const Fraction &rZoomY) |
virtual void | Move () |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
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) |
Private Member Functions | |
OUString | GetInitialViewShellType () const |
Determine from the properties of the document shell the initial type of the view shell in the center pane. More... | |
Static Private Member Functions | |
static void | InitInterface_Impl () |
SfxInterface initializer. More... | |
Private Attributes | |
std::unique_ptr< Implementation > | mpImpl |
DrawDocShell * | mpDocShell |
SdDrawDocument * | mpDocument |
::tools::Rectangle | maLOKVisibleArea |
Additional Inherited Members | |
Static Protected Member Functions inherited from SfxShell | |
static void | HandleOpenXmlFilterSettings (SfxRequest &) |
SfxViewShell descendant that the stacked Draw/Impress shells are based on.
The "base" part of the name does not mean that this is a base class of some class hierarchy. It rather is the base of the stacked shells.
This class starts as a new and relatively small class. Over time as much code as possible should be moved from the stacked shells to this class.
Definition at line 54 of file ViewShellBase.hxx.
sd::ViewShellBase::ViewShellBase | ( | SfxViewFrame & | rFrame, |
SfxViewShell * | pOldShell | ||
) |
This constructor is used by the view factory of the SFX macros.
Note that LateInit() has to be called after the constructor terminates and before doing anything else.
Definition at line 223 of file ViewShellBase.cxx.
References VclPtr< class reference_type >::Create(), sd::DrawDocShell::GetDoc(), SfxViewShell::GetObjectShell(), Application::GetSettings(), SfxViewShell::GetViewFrame(), SfxViewFrame::GetWindow(), HAS_PRINTOPTIONS, vcl::Window::Hide(), mpDocShell, mpDocument, mpImpl, vcl::Window::SetBackground(), and SfxViewShell::SetWindow().
|
overridevirtual |
In this destructor the order in which some of the members are destroyed (and/or being prepared to being destroyed) is important.
Change it only when you know what you are doing.
Definition at line 253 of file ViewShellBase.cxx.
References sfx2::SfxNotebookBar::CloseMethod(), sd::ViewShell::GetActiveWindow(), GetBindings(), GetDocShell(), SfxShell::GetFrame(), GetMainViewShell(), vcl::Window::GetParent(), sd::SlideShow::GetSlideShow(), SfxViewShell::GetViewFrame(), vcl::Window::Hide(), mpImpl, SfxLokHelper::notifyOtherViews(), SfxViewShell::SetWindow(), and sd::SlideShow::Stop().
|
overridevirtual |
Reimplemented from SfxViewShell.
Definition at line 733 of file ViewShellBase.cxx.
References SfxViewShell::Activate(), SfxViewShell::GetController(), and GetToolBarManager().
|
overridevirtual |
See SfxViewShell::afterCallbackRegistered().
Reimplemented from SfxViewShell.
Definition at line 1013 of file ViewShellBase.cxx.
|
virtual |
Reimplemented from SfxViewShell.
|
overridevirtual |
This call is forwarded to the main sub-shell.
Reimplemented from SfxViewShell.
Definition at line 505 of file ViewShellBase.cxx.
References sd::ViewShell::DoVerb(), ERRCODE_NONE, and GetMainViewShell().
|
virtual |
Callback function for general slot calls.
At the moment these are slots for switching the pane docking windows on and off.
Reimplemented in sd::GraphicViewShellBase, and sd::ImpressViewShellBase.
Definition at line 599 of file ViewShellBase.cxx.
References SfxRequest::Done(), SfxViewShell::GetController(), GetDocument(), SfxRequest::GetSlot(), SfxRequest::Ignore(), sd::framework::FrameworkHelper::Instance(), SdOptionsMisc::IsTabBarVisible(), mpImpl, sd::framework::FrameworkHelper::msLeftDrawPaneURL, sd::framework::FrameworkHelper::msLeftImpressPaneURL, sd::framework::FrameworkHelper::msSlideSorterURL, SD_MOD, and SdOptionsMisc::SetTabBarVisible().
Referenced by sd::GraphicViewShellBase::Execute(), and sd::ImpressViewShellBase::Execute().
SvBorder sd::ViewShellBase::GetBorder | ( | bool | bOuterResize | ) |
const ::tools::Rectangle & sd::ViewShellBase::getClientRectangle | ( | ) | const |
returns the complete area of the current view relative to the frame window
Definition at line 916 of file ViewShellBase.cxx.
References mpImpl.
|
override |
See SfxViewShell::GetColorConfigColor().
Definition at line 1061 of file ViewShellBase.cxx.
References get(), GetMainViewShell(), SdViewOptions::mnDocBackgroundColor, O3TL_UNREACHABLE, and SAL_WARN.
|
overridevirtual |
See SfxViewShell::GetColorConfigName().
Reimplemented from SfxViewShell.
Definition at line 1087 of file ViewShellBase.cxx.
References get(), GetMainViewShell(), SdViewOptions::msColorSchemeName, and SAL_WARN.
|
inline |
Definition at line 96 of file ViewShellBase.hxx.
References mpDocShell.
Referenced by sd::framework::BasicViewFactory::ActivateCenterView(), sd::CustomAnimationPane::addUndo(), sd::CustomAnimationPane::changeSelection(), sd::AnnotationManagerImpl::disposing(), sd::AnnotationManagerImpl::ExecuteAnnotationTagContextMenu(), sd::AnnotationManagerImpl::GetAnnotationState(), sd::ViewShell::GetDocSh(), GetInitialViewShellType(), GetPrinter(), SdPageObjsTLV::GetViewShellForDocShell(), sd::DocumentRenderer::Implementation::Implementation(), sd::ImpressViewShellBase::ImpressViewShellBase(), sd::AnnotationManagerImpl::init(), sd::slidesorter::model::SlideSorterModel::IsReadOnly(), LateInit(), sd::CustomAnimationPane::moveSelection(), sd::CustomAnimationPane::onAdd(), sd::CustomAnimationPane::onChangeSpeed(), sd::CustomAnimationPane::onChangeStart(), sd::CustomAnimationPane::onDragNDropComplete(), sd::CustomAnimationPane::onRemove(), sd::DocumentRenderer::Implementation::PreparePages(), sd::DocumentRenderer::Implementation::PrintPage(), sd::framework::BasicViewFactory::ReleaseView(), sd::CustomAnimationPane::remove(), SetBusyState(), SetPrinter(), sd::SlideShow::StartFullscreenPresentation(), UpdateBorder(), sd::CustomAnimationPane::updatePathFromMotionPathTag(), sd::ViewOverlayManager::ViewOverlayManager(), sd::ImpressViewShellBase::~ImpressViewShellBase(), and ~ViewShellBase().
|
inline |
Definition at line 97 of file ViewShellBase.hxx.
References mpDocument.
Referenced by SdScaleControl::Command(), SdTemplateControl::Command(), sd::sidebar::AllMasterPagesSelector::Create(), sd::sidebar::CurrentMasterPagesSelector::Create(), sd::sidebar::RecentMasterPagesSelector::Create(), sd::slidesorter::SlideSorter::CreateModel(), sd::sidebar::LayoutMenu::CreateRequest(), Execute(), sd::sidebar::LayoutMenu::Fill(), sd::ViewShell::GetDoc(), sd::slidesorter::model::SlideSorterModel::GetDocument(), sd::DocumentRenderer::Implementation::GetFilteredPage(), sd::SlideShow::GetSlideShow(), sd::sidebar::LayoutMenu::implConstruct(), sd::tools::EventMultiplexer::Implementation::Implementation(), sd::DocumentRenderer::Implementation::InitHandoutTemplate(), LateInit(), sd::sidebar::LayoutMenu::LayoutMenu(), Notify(), sd::DocumentRenderer::Implementation::PrepareBooklet(), sd::DocumentRenderer::Implementation::PrepareHandout(), sd::DocumentRenderer::Implementation::PrepareOutline(), sd::DocumentRenderer::Implementation::PreparePages(), sd::DocumentRenderer::Implementation::PrepareRegularPages(), SetPrinter(), sd::SlideShow::startWithArguments(), and sd::sidebar::NavigatorWrapper::UpdateNavigator().
DrawController * sd::ViewShellBase::GetDrawController | ( | ) | const |
Definition at line 937 of file ViewShellBase.cxx.
References mpImpl.
Referenced by sd::framework::BasicViewFactory::ActivateCenterView(), sd::DrawViewShell::ChangeEditMode(), sd::SlideShow::end(), sd::sidebar::MasterPagesSelector::ExecuteCommand(), sd::sidebar::LayoutMenu::Fill(), sd::ViewShell::fireSwitchCurrentPage(), sd::OutlineViewShell::GetStatusBarState(), sd::tools::EventMultiplexer::Implementation::Implementation(), sd::GraphicViewShellBase::InitializeFramework(), sd::ImpressViewShellBase::InitializeFramework(), sd::PresentationViewShellBase::InitializeFramework(), LateInit(), sd::ViewShell::NotifyAccUpdate(), sd::framework::BasicViewFactory::releaseResource(), sd::View::SdrBeginTextEdit(), sd::View::SdrEndTextEdit(), sd::DrawViewShell::SelectionHasChanged(), sd::DrawViewShell::SetActiveTabLayerIndex(), sd::SlideShowRestarter::StartPresentation(), sd::DrawViewShell::SwitchPage(), sd::DrawViewShell::VisAreaChanged(), and sd::OutlineViewShell::VisAreaChanged().
|
overridevirtual |
Reimplemented from SfxViewShell.
Definition at line 796 of file ViewShellBase.cxx.
References SfxViewShell::GetDrawView(), sd::ViewShell::GetDrawView(), and GetMainViewShell().
Referenced by sd::TableDesignWidget::ApplyOptions(), sd::TableDesignWidget::ApplyStyle(), sd::ViewOverlayManager::CreateTags(), sd::TableDesignWidget::EditStyle(), sd::TableDesignWidget::endTextEditForStyle(), sd::DrawController::getControl(), sd::DrawController::getFormController(), and sd::AnnotationManagerImpl::onSelectionChanged().
|
overridevirtual |
See SfxViewShell::getEditMode().
Reimplemented from SfxViewShell.
Definition at line 977 of file ViewShellBase.cxx.
References sd::framework::FrameworkHelper::Instance(), MasterPage, and Page.
std::shared_ptr< tools::EventMultiplexer > const & sd::ViewShellBase::GetEventMultiplexer | ( | ) | const |
Return an event multiplexer.
It is a single class that forwards events from various sources. This method must not be called before LateInit() has terminated.
Definition at line 908 of file ViewShellBase.cxx.
References mpImpl.
Referenced by sd::AnnotationManagerImpl::addListener(), sd::CustomAnimationPane::addListener(), sd::TableDesignWidget::addListener(), sd::sidebar::SlideBackground::addListener(), sd::sidebar::CurrentMasterPagesSelector::CurrentMasterPagesSelector(), sd::sidebar::LayoutMenu::Dispose(), sd::FormShellManager::FormShellManager(), sd::sidebar::LayoutMenu::implConstruct(), sd::FormShellManager::ImplDestroy(), sd::slidesorter::controller::Listener::Listener(), sd::OutlineView::OutlineView(), sd::slidesorter::controller::Listener::ReleaseListeners(), sd::AnnotationManagerImpl::removeListener(), sd::CustomAnimationPane::removeListener(), sd::TableDesignWidget::removeListener(), sd::sidebar::SlideBackground::removeListener(), sd::View::SdrBeginTextEdit(), sd::View::SdrEndTextEdit(), sd::ViewOverlayManager::ViewOverlayManager(), sd::sidebar::CurrentMasterPagesSelector::~CurrentMasterPagesSelector(), sd::OutlineView::~OutlineView(), and sd::ViewOverlayManager::~ViewOverlayManager().
std::shared_ptr< FormShellManager > const & sd::ViewShellBase::GetFormShellManager | ( | ) | const |
Definition at line 929 of file ViewShellBase.cxx.
References mpImpl.
Referenced by sd::DrawViewShell::ExecCtrl(), sd::DrawController::getControl(), sd::DrawViewShell::GetCtrlState(), sd::DrawController::getFormController(), sd::DrawViewShell::HidePage(), sd::DrawController::isFormDesignMode(), sd::DrawViewShell::IsSwitchPageAllowed(), sd::DrawViewShell::ModifyLayer(), sd::ViewShell::PrepareClose(), and sd::DrawController::setFormDesignMode().
|
private |
Determine from the properties of the document shell the initial type of the view shell in the center pane.
We use this method to avoid starting with the wrong type. When ReadUserDataSequence() is called we check that the right type is active and change again if that is not the case because something went wrong.
Definition at line 849 of file ViewShellBase.cxx.
References aProperties, GetDocShell(), Handout, Notes, SAL_WARN, Standard, and sUNO_View_PageKind.
Referenced by LateInit().
|
inlineoverridevirtual |
Reimplemented from SfxViewShell.
Definition at line 230 of file ViewShellBase.hxx.
References maLOKVisibleArea.
std::shared_ptr< ViewShell > sd::ViewShellBase::GetMainViewShell | ( | ) | const |
Return the main view shell stacked on the called ViewShellBase object.
This is usually the view shell displayed in the center pane.
Definition at line 375 of file ViewShellBase.cxx.
References SfxShell::GetViewShell(), sd::framework::FrameworkHelper::Instance(), sd::framework::FrameworkHelper::msCenterPaneURL, and sd::framework::FrameworkHelper::msFullScreenPaneURL.
Referenced by sd::SlideShow::activate(), sd::sidebar::LayoutMenu::AssignLayoutToSelectedSlides(), SdOutliner::BeginConversion(), sd::DrawController::BroadcastContextChange(), sd::DrawDocShell::ClearUndoBuffer(), sd::DrawViewShell::ConfigurationChanged(), sd::sidebar::LayoutMenu::CreateRequest(), sd::AnnotationManagerImpl::CreateTags(), sd::ViewOverlayManager::CreateTags(), sd::DrawController::dispose(), DoVerb(), sd::SlideShow::end(), SdOutliner::EndSpelling(), sd::slidesorter::controller::Clipboard::ExecuteDrop(), sd::slidesorter::controller::Clipboard::ExecuteOrAcceptShapeDrop(), sd::AnnotationManagerImpl::ExecuteReplyToAnnotation(), sd::slidesorter::controller::SlotManager::FuSupport(), sd::slidesorter::SlideSorterViewShell::GetActualPage(), sd::getBindings(), sd::slidesorter::controller::SlotManager::GetClipboardState(), GetColorConfigColor(), GetColorConfigName(), sd::DrawController::getControl(), sd::AnnotationManagerImpl::GetCurrentPage(), sd::DocumentRenderer::Implementation::GetCurrentPageIndex(), sd::getDispatcher(), GetDrawView(), sd::DrawController::getFormController(), SdStyleSheet::GetRealStyleSheet(), GetSelectionText(), sd::slidesorter::SlideSorterViewShell::GetStateMovePageFirst(), sd::slidesorter::SlideSorterViewShell::GetStateMovePageLast(), SdPageObjsTLV::GetViewShellForDocShell(), sd::SlideShow::GetWorkWindow(), HasSelection(), sd::ViewShell::ImpGetUndoManager(), IMPL_LINK(), sd::FormShellManager::ImplDestroy(), sd::sidebar::SlideBackground::Initialize(), sd::AnnotationManagerImpl::InsertAnnotation(), sd::sidebar::LayoutMenu::InsertPageWithLayout(), LateInit(), sd::slidesorter::controller::Listener::Listener(), sd::slidesorter::SlideSorterViewShell::MainViewEndEditAndUnmarkAll(), sd::FormShellManager::Notify(), PrepareClose(), sd::slidesorter::controller::SlideSorterController::PrepareEditModeChange(), sd::DocumentRenderer::Implementation::PrepareHandout(), sd::DocumentRenderer::Implementation::PreparePages(), sd::DocumentRenderer::Implementation::PrepareRegularPages(), SdOutliner::PrepareSpelling(), sd::DocumentRenderer::Implementation::PrepareStdOrNotes(), sd::DocumentRenderer::Implementation::PrintPage(), sd::sidebar::CurrentMasterPagesSelector::ProcessPopupMenu(), sd::SpellDialogChildWindow::ProvideOutliner(), sd::slidesorter::SlideSorterViewShell::ReadFrameViewData(), ReadUserData(), ReadUserDataSequence(), sd::FormShellManager::RegisterAtCenterPane(), RetrieveLabelFromCommand(), sd::FuSearch::SearchAndReplace(), sd::AnnotationManagerImpl::SelectAnnotation(), sd::AnnotationManagerImpl::SelectNextAnnotation(), sd::slidesorter::controller::CurrentSlideManager::SetCurrentSlideAtTabControl(), sd::slidesorter::controller::CurrentSlideManager::SetCurrentSlideAtViewShellBase(), sd::FormShellManager::SetFormShell(), SetPrinter(), sd::DocumentRenderer::Implementation::SetupPaperOrientation(), SdPageObjsTLV::SetViewFrame(), SdOutliner::SetViewMode(), SetZoomFactor(), ShowUIControls(), sd::FuHangulHanjaConversion::StartConversion(), sd::SlideShow::StartFullscreenPresentation(), SdOutliner::StartSearchAndReplace(), sd::SlideShow::startWithArguments(), UIActivating(), UIDeactivated(), sd::FormShellManager::UnregisterAtCenterPane(), UpdateBorder(), sd::sidebar::SlideBackground::updateMasterSlideSelection(), sd::CustomAnimationPane::updateMotionPathTags(), sd::sidebar::LayoutMenu::UpdateSelection(), WriteUserData(), sd::ViewShell::WriteUserDataSequence(), WriteUserDataSequence(), and ~ViewShellBase().
|
overridevirtual |
Reimplemented from SfxViewShell.
Definition at line 965 of file ViewShellBase.cxx.
References sd::framework::FrameworkHelper::Instance().
|
overridevirtual |
Forwarded to the print manager.
Reimplemented from SfxViewShell.
Definition at line 523 of file ViewShellBase.cxx.
References GetDocShell(), sd::DrawDocShell::GetPrinter(), and mpImpl.
Referenced by sd::framework::ShellStackGuard::IsPrinting().
|
overridevirtual |
Return a new renderer that can be used for example for printing the document.
Reimplemented from SfxViewShell.
Definition at line 516 of file ViewShellBase.cxx.
|
overridevirtual |
Reimplemented from SfxViewShell.
Definition at line 443 of file ViewShellBase.cxx.
References GetMainViewShell(), sd::DrawViewShell::GetSelectionText(), and SfxViewShell::GetSelectionText().
void sd::ViewShellBase::GetState | ( | SfxItemSet & | rSet | ) |
Callback function for retrieving item values related to certain slots.
This is the companion of Execute() and handles the slots concerned with showing the pane docking windows.
Definition at line 672 of file ViewShellBase.cxx.
References sd::FuBullet::GetSlotState(), SfxViewShell::GetViewFrame(), mpImpl, and rSet.
std::shared_ptr< ToolBarManager > const & sd::ViewShellBase::GetToolBarManager | ( | ) | const |
Definition at line 921 of file ViewShellBase.cxx.
References mpImpl.
Referenced by Activate(), sd::DrawViewShell::ChangeEditMode(), sd::FuConstruct3dObject::DoExecute(), sd::FuConstructArc::DoExecute(), sd::FuConstructCustomShape::DoExecute(), sd::FuConstructRectangle::DoExecute(), sd::FuConstructUnoControl::DoExecute(), sd::FuEditGluePoints::DoExecute(), sd::FuText::DoExecute(), sd::DrawViewShell::FuSupport(), sd::framework::ToolBarModule::HandleUpdateEnd(), sd::framework::ToolBarModule::HandleUpdateStart(), sd::DrawViewShell::SelectionHasChanged(), sd::FuConstructBezierPolygon::SelectionHasChanged(), sd::FuSelection::SelectionHasChanged(), sd::ViewShell::UIActivating(), and sd::ViewShell::UIDeactivated().
|
static |
When given a view frame this static method returns the corresponding sd::ViewShellBase object.
Definition at line 386 of file ViewShellBase.cxx.
References SfxShell::GetViewShell().
Referenced by sd::tools::IdleDetection::CheckSlideShowRunning(), SdScaleControl::Command(), SdTemplateControl::Command(), IMPL_LINK(), sd::PaneChildWindow::PaneChildWindow(), SdPageObjsTLV::SetViewFrame(), SdOutliner::SetViewMode(), sd::SlideShow::startWithArguments(), sd::TitledDockingWindow::StateChanged(), and sd::PaneChildWindow::~PaneChildWindow().
std::shared_ptr< ViewShellManager > const & sd::ViewShellBase::GetViewShellManager | ( | ) | const |
Definition at line 370 of file ViewShellBase.cxx.
References mpImpl.
Referenced by sd::DrawViewShell::Activate(), sd::framework::ChildWindowPane::ChildWindowPane(), sd::OutlineView::ConnectToApplication(), sd::framework::BasicViewFactory::CreateView(), sd::DrawController::dispose(), sd::framework::ChildWindowPane::disposing(), sd::DrawViewShell::GetMenuState(), sd::framework::CenterViewFocusModule::HandleNewView(), sd::slidesorter::SlideSorterViewShell::ImpGetUndoManager(), sd::FormShellManager::ImplDestroy(), sd::FormShellManager::Notify(), sd::FormShellManager::RegisterAtCenterPane(), sd::framework::BasicViewFactory::ReleaseView(), sd::DrawViewShell::SelectionHasChanged(), sd::FormShellManager::SetFormShell(), sd::FormShellManager::UnregisterAtCenterPane(), and sd::ViewShell::~ViewShell().
vcl::Window * sd::ViewShellBase::GetViewWindow | ( | ) |
Return the window that is used by the main view shell to display its view and other UI elements, like scroll bars and rulers.
Ownership of that window remains with the called ViewShellBase object.
Definition at line 951 of file ViewShellBase.cxx.
References mpImpl.
Referenced by sd::SlideShow::activate(), sd::framework::BasicPaneFactory::CreateFrameWindowPane(), sd::framework::BasicPaneFactory::CreateFullScreenPane(), and sd::SlideShow::StartInPlacePresentation().
|
overridevirtual |
Reimplemented from SfxViewShell.
Definition at line 453 of file ViewShellBase.cxx.
References GetMainViewShell(), sd::DrawViewShell::HasSelection(), and SfxViewShell::HasSelection().
|
protectedvirtual |
Reimplemented in sd::GraphicViewShellBase, sd::ImpressViewShellBase, and sd::PresentationViewShellBase.
Definition at line 439 of file ViewShellBase.cxx.
Referenced by LateInit().
|
staticprivate |
SfxInterface initializer.
Definition at line 219 of file ViewShellBase.cxx.
|
overridevirtual |
Reimplemented from SfxViewShell.
Definition at line 463 of file ViewShellBase.cxx.
References Size::AdjustHeight(), Size::AdjustWidth(), SvBorder::Bottom(), SfxViewShell::GetBorderPixel(), SfxViewShell::GetObjectShell(), tools::Rectangle::GetSize(), SfxObjectShell::GetVisArea(), Size::Height(), Size::IsEmpty(), SvBorder::Left(), mpImpl, SvBorder::Right(), SfxViewShell::SetZoomFactor(), SvBorder::Top(), and Size::Width().
void sd::ViewShellBase::LateInit | ( | const OUString & | rsDefaultView | ) |
This method is part of the object construction.
It HAS to be called after the constructor has created a new object.
Definition at line 292 of file ViewShellBase.cxx.
References sd::ToolBarManager::Create(), GetDocShell(), GetDocument(), GetDrawController(), sd::ViewShell::GetFrameView(), GetInitialViewShellType(), GetMainViewShell(), sd::framework::ConfigurationController::getResource(), sd::ViewShell::GetShellType(), SfxViewShell::GetViewFrame(), sd::framework::ConfigurationController::hasPendingRequests(), InitializeFramework(), SdOptionsMisc::IsTabBarVisible(), mpImpl, sd::framework::ConfigurationController::ProcessEvent(), SD_MOD, sd::FrameView::SetViewShellTypeOnLoad(), StartListening, SdDrawDocument::StopWorkStartupDelay(), and UpdateBorder().
|
overrideprotectedvirtual |
Reimplemented from SfxViewShell.
Definition at line 401 of file ViewShellBase.cxx.
References SfxDispatcher::Execute(), SfxViewFrame::GetBindings(), SfxViewFrame::GetDispatcher(), GetDocument(), SfxEventHint::GetEventId(), SfxHint::GetId(), SfxViewShell::GetViewFrame(), SfxBindings::Invalidate(), SdDrawDocument::IsStartWithPresentation(), and SfxViewShell::Notify().
|
overridevirtual |
See SfxViewShell::NotifyCursor().
Reimplemented from SfxViewShell.
Definition at line 1018 of file ViewShellBase.cxx.
References SdrMarkView::AdjustMarkHdl(), EditView::DrawSelectionXOR(), sd::ViewShell::GetActiveWindow(), sd::DrawViewShell::GetDrawView(), OutlinerView::GetEditView(), vcl::Window::GetMapMode(), MapMode::GetMapUnit(), SdrObjEditView::GetTextEditObject(), SdrObjEditView::GetTextEditOutlinerView(), sd::ViewShell::GetViewShellBase(), sd::framework::FrameworkHelper::Instance(), o3tl::mm100, SfxLokHelper::notifyOtherView(), EditView::RegisterOtherShell(), EditView::ShowCursor(), tools::Rectangle::toString(), and o3tl::toTwips().
|
overridevirtual |
Reimplemented from SfxViewShell.
Definition at line 481 of file ViewShellBase.cxx.
References mpImpl.
|
overridevirtual |
Reimplemented from SfxViewShell.
Definition at line 759 of file ViewShellBase.cxx.
References GetMainViewShell(), mpImpl, SfxViewShell::PrepareClose(), and sd::ViewShell::PrepareClose().
|
overridevirtual |
Reimplemented from SfxViewShell.
Definition at line 786 of file ViewShellBase.cxx.
References GetMainViewShell(), sd::ViewShell::ReadUserData(), and SfxViewShell::ReadUserData().
|
overridevirtual |
Pass the given properties to the main view shell.
After that we ensure that the right view shell type is displayed in the center pane.
Reimplemented from SfxViewShell.
Definition at line 688 of file ViewShellBase.cxx.
References GetMainViewShell(), sd::DrawViewShell::GetPageKind(), sd::ViewShell::GetShellType(), Handout, sd::framework::FrameworkHelper::Instance(), sd::framework::FrameworkHelper::msCenterPaneURL, sd::framework::FrameworkHelper::msHandoutViewURL, sd::framework::FrameworkHelper::msImpressViewURL, sd::framework::FrameworkHelper::msNotesViewURL, Notes, sd::ViewShell::ReadUserDataSequence(), sd::ViewShell::ST_HANDOUT, sd::ViewShell::ST_IMPRESS, sd::ViewShell::ST_NOTES, and Standard.
void sd::ViewShellBase::Rearrange | ( | ) |
Call this method when the controls of this view shell or the embedded sub shell need to be rearranged.
This is necessary e.g. when the border has been modified (UpdateBorder() calls this method).
This method is like ResizePixel() with no arguments.
Definition at line 486 of file ViewShellBase.cxx.
References SfxViewShell::GetViewFrame(), SfxViewShell::GetWindow(), SfxViewFrame::Resize(), SAL_WARN, SfxViewShell::SetBorderPixel(), and UpdateBorder().
Referenced by ShowUIControls().
OUString sd::ViewShellBase::RetrieveLabelFromCommand | ( | const OUString & | aCmdURL | ) | const |
returns the ui descriptive name for the given uno slot.
The result is taken from the configuration and not cached, so do not use it excessive (f.e. in status updates)
Definition at line 958 of file ViewShellBase.cxx.
References aProperties, vcl::CommandInfoProvider::GetCommandProperties(), SfxShell::GetFrame(), vcl::CommandInfoProvider::GetLabelForCommand(), GetMainViewShell(), vcl::CommandInfoProvider::GetModuleIdentifier(), and SfxViewShell::GetViewFrame().
Referenced by sd::FuFormatPaintBrush::Paste().
void sd::ViewShellBase::SetBusyState | ( | bool | bBusy | ) |
When <TRUE> is given, then the mouse shape is set to hour glass (or whatever the busy shape looks like on the system.)
Definition at line 806 of file ViewShellBase.cxx.
References GetDocShell(), and SfxObjectShell::SetWaitCursor().
Referenced by sd::sidebar::MasterPagesSelector::ExecuteCommand().
void sd::ViewShellBase::setEditMode | ( | int | nMode | ) |
See SfxViewShell::setEditMode().
Definition at line 995 of file ViewShellBase.cxx.
References sd::framework::FrameworkHelper::Instance(), MasterPage, and Page.
|
inline |
Definition at line 229 of file ViewShellBase.hxx.
References maLOKVisibleArea.
|
overridevirtual |
Forwarded to the print manager.
Reimplemented from SfxViewShell.
Definition at line 530 of file ViewShellBase.cxx.
References aMap, GetDocShell(), GetDocument(), GetMainViewShell(), SdPage::GetPaperBin(), SdDrawDocument::GetSdPage(), SdrPage::IsBackgroundFullSize(), mpImpl, sd::DrawDocShell::SetPrinter(), and Standard.
void sd::ViewShellBase::SetViewTabBar | ( | const ::rtl::Reference< ViewTabBar > & | rViewTabBar | ) |
Definition at line 944 of file ViewShellBase.cxx.
References mpImpl.
Referenced by sd::ViewTabBar::disposing(), and sd::ViewTabBar::ViewTabBar().
|
overridevirtual |
Reimplemented from SfxViewShell.
Definition at line 748 of file ViewShellBase.cxx.
References GetMainViewShell(), SfxViewShell::SetZoomFactor(), and sd::ViewShell::SetZoomFactor().
void sd::ViewShellBase::ShowUIControls | ( | bool | bVisible | ) |
With this method the UI controls can be turned on or off.
It is used by the FuSlideShow to hide the UI controls while showing a non-full-screen or in-window presentation in the center pane.
Definition at line 836 of file ViewShellBase.cxx.
References bVisible, GetMainViewShell(), mpImpl, Rearrange(), sd::ViewShell::ShowUIControls(), and UpdateBorder().
|
overridevirtual |
Reimplemented from SfxViewShell.
Definition at line 569 of file ViewShellBase.cxx.
References GetMainViewShell(), mpImpl, sd::ViewShell::UIActivating(), and SfxViewShell::UIActivating().
|
overridevirtual |
Reimplemented from SfxViewShell.
Definition at line 580 of file ViewShellBase.cxx.
References GetMainViewShell(), mpImpl, sd::ViewShell::UIDeactivated(), and SfxViewShell::UIDeactivated().
void sd::ViewShellBase::UpdateBorder | ( | bool | bForce = false | ) |
Update the border that is set with SfxViewShell::SetBorderPixel().
This is done by adding the border used by the ViewShellBase itself with the border used by the main view shell.
bForce | if true the borders are also updated if old border and new border are same. |
Definition at line 812 of file ViewShellBase.cxx.
References sd::ViewShell::GetBorder(), GetBorder(), SfxViewShell::GetBorderPixel(), GetDocShell(), GetMainViewShell(), SfxViewShell::GetWindow(), SfxViewShell::InvalidateBorder(), and SfxViewShell::SetBorderPixel().
Referenced by SdScaleControl::Command(), LateInit(), Rearrange(), and ShowUIControls().
|
overridevirtual |
Reimplemented from SfxViewShell.
Definition at line 776 of file ViewShellBase.cxx.
References GetMainViewShell(), sd::ViewShell::WriteUserData(), and SfxViewShell::WriteUserData().
|
overridevirtual |
Forward methods to main sub shell.
Reimplemented from SfxViewShell.
Definition at line 679 of file ViewShellBase.cxx.
References GetMainViewShell(), and sd::ViewShell::WriteUserDataSequence().
|
private |
Definition at line 243 of file ViewShellBase.hxx.
Referenced by getLOKVisibleArea(), and setLOKVisibleArea().
|
private |
Definition at line 241 of file ViewShellBase.hxx.
Referenced by GetDocShell(), and ViewShellBase().
|
private |
Definition at line 242 of file ViewShellBase.hxx.
Referenced by GetDocument(), and ViewShellBase().
|
private |
Definition at line 240 of file ViewShellBase.hxx.
Referenced by Execute(), GetBorder(), getClientRectangle(), GetDrawController(), GetEventMultiplexer(), GetFormShellManager(), GetPrinter(), GetState(), GetToolBarManager(), GetViewShellManager(), GetViewWindow(), InnerResizePixel(), LateInit(), OuterResizePixel(), PrepareClose(), SetPrinter(), SetViewTabBar(), ShowUIControls(), UIActivating(), UIDeactivated(), ViewShellBase(), and ~ViewShellBase().