LibreOffice Module sfx2 (master) 1
|
#include <viewfrm.hxx>
Public Member Functions | |
SfxViewFrame (SfxFrame &rFrame, SfxObjectShell *pDoc) | |
void | DoActivate (bool bMDI) |
void | DoDeactivate (bool bMDI, SfxViewFrame const *pOld) |
SfxDispatcher * | GetDispatcher () |
SfxBindings & | GetBindings () |
const SfxBindings & | GetBindings () const |
vcl::Window & | GetWindow () const |
weld::Window * | GetFrameWeld () const |
SfxProgress * | GetProgress () const |
void | LockAdjustPosSizePixel () |
void | UnlockAdjustPosSizePixel () |
void | DoAdjustPosSizePixel (SfxViewShell *pSh, const Point &rPos, const Size &rSize, bool inplaceEditModeChange) |
divide on Inner.../Outer... More... | |
void | Show () |
bool | IsVisible () const |
void | ToTop () |
void | Enable (bool bEnable) |
void | Close () |
virtual void | Activate (bool bUI) override |
Virtual method that is called when enabling the SfxShell instance, in order to give the Subclasses the opportunity to respond to the to the enabling. More... | |
virtual void | Deactivate (bool bUI) override |
Virtual method that is called when disabling the SfxShell instance, to give the Subclasses the opportunity to respond to the disabling. More... | |
void | UpdateTitle () |
SAL_DLLPRIVATE void | SetBorderPixelImpl (const SfxViewShell *pSh, const SvBorder &rBorder) |
SAL_DLLPRIVATE const SvBorder & | GetBorderPixelImpl () const |
SAL_DLLPRIVATE void | InvalidateBorderImpl (const SfxViewShell *pSh) |
virtual SfxObjectShell * | GetObjectShell () override |
SfxInterfaceId | GetCurViewId () const |
SfxFrame & | GetFrame () const |
SfxViewFrame * | GetTopViewFrame () const |
bool | DoClose () |
void | SetModalMode (bool) |
bool | IsInModalMode () const |
void | Resize (bool bForce=false) |
void | SetChildWindow (sal_uInt16 nId, bool bVisible, bool bSetFocus=true) |
void | ToggleChildWindow (sal_uInt16) |
bool | HasChildWindow (sal_uInt16) |
bool | KnowsChildWindow (sal_uInt16) |
void | ShowChildWindow (sal_uInt16, bool bVisible=true) |
SfxChildWindow * | GetChildWindow (sal_uInt16) |
void | ChildWindowExecute (SfxRequest &) |
void | ChildWindowState (SfxItemSet &) |
VclPtr< SfxInfoBarWindow > | AppendInfoBar (const OUString &sId, const OUString &sPrimaryMessage, const OUString &sSecondaryMessage, InfobarType aInfobarType, bool bShowCloseButton=true) |
Append a new InfoBar (see https://wiki.documentfoundation.org/Design/Whiteboards/Infobar). More... | |
void | RemoveInfoBar (std::u16string_view sId) |
void | UpdateInfoBar (std::u16string_view sId, const OUString &sPrimaryMessage, const OUString &sSecondaryMessage, InfobarType eType) |
bool | HasInfoBarWithID (std::u16string_view sId) |
void | AppendReadOnlyInfobar () |
SAL_DLLPRIVATE void | GetDocNumber_Impl () |
SAL_DLLPRIVATE void | SetViewShell_Impl (SfxViewShell *pVSh) |
SAL_DLLPRIVATE void | ReleaseObjectShell_Impl () |
SAL_DLLPRIVATE void | GetState_Impl (SfxItemSet &rSet) |
void | ExecReload_Impl (SfxRequest &rReq) |
SAL_DLLPRIVATE void | StateReload_Impl (SfxItemSet &rSet) |
SAL_DLLPRIVATE void | ExecView_Impl (SfxRequest &rReq) |
SAL_DLLPRIVATE void | StateView_Impl (SfxItemSet &rSet) |
SAL_DLLPRIVATE void | ExecHistory_Impl (SfxRequest &rReq) |
SAL_DLLPRIVATE void | StateHistory_Impl (SfxItemSet &rSet) |
SAL_DLLPRIVATE void | ForceOuterResize_Impl () |
SAL_DLLPRIVATE void | UpdateDocument_Impl () |
SAL_DLLPRIVATE void | LockObjectShell_Impl () |
SAL_DLLPRIVATE void | MakeActive_Impl (bool bActivate) |
SAL_DLLPRIVATE const Size & | GetMargin_Impl () const |
SAL_DLLPRIVATE OUString | GetActualPresentationURL_Impl () const |
SAL_DLLPRIVATE void | MiscExec_Impl (SfxRequest &) |
SAL_DLLPRIVATE void | MiscState_Impl (SfxItemSet &) |
SAL_DLLPRIVATE SfxWorkWindow * | GetWorkWindow_Impl () |
SAL_DLLPRIVATE void | AddDispatchMacroToBasic_Impl (const OUString &sMacro) |
SAL_DLLPRIVATE void | Exec_Impl (SfxRequest &) |
SAL_DLLPRIVATE void | INetExecute_Impl (SfxRequest &) |
SAL_DLLPRIVATE void | INetState_Impl (SfxItemSet &) |
SAL_DLLPRIVATE void | SetCurViewId_Impl (const SfxInterfaceId i_nID) |
SfxDispatcher * | GetDispatcher () const |
This method returns a pointer to the <SfxDispatcher>, when the SfxShell is currently <UI-active> or a NULL-pointer if it is not UI-active. More... | |
Public Member Functions inherited from SfxShell | |
virtual | ~SfxShell () override |
The connection to a possible corresponding SbxObject is dissolved. More... | |
virtual SfxInterface * | GetInterface () const |
With this virtual method, which is automatically overridden by each subclass with its own slots through the macro <SFX_DECL_INTERFACE>, one can access each of the <SfxInterface> instance belonging to the subclass. More... | |
void | SetName (const OUString &rName) |
Sets the name of the Shell object. More... | |
const OUString & | GetName () const |
Returns the name of the Shell object. More... | |
SfxViewShell * | GetViewShell () const |
Returns the SfxViewShell in which they are located in the subshells. More... | |
const SfxPoolItem * | GetSlotState (sal_uInt16 nSlotId, const SfxInterface *pIF=nullptr, SfxItemSet *pStateSet=nullptr) |
This method returns the status of the slot with the specified slot ID on the specified interface. More... | |
const SfxPoolItem * | ExecuteSlot (SfxRequest &rReq, const SfxInterface *pIF=nullptr) |
This method allows you to forward a <SfxRequest> to the specified base <SfxShell>. More... | |
void | ExecuteSlot (SfxRequest &rReq, bool bAsync) |
Asynchronous ExecuteSlot for the RELOAD. More... | |
SfxItemPool & | GetPool () const |
Each Subclass of SfxShell must reference a pool. More... | |
void | SetPool (SfxItemPool *pNewPool) |
With this method, the subclasses register their special <SfxItemPool> in the SfxShell. More... | |
virtual SfxUndoManager * | GetUndoManager () |
Each Subclass of SfxShell can have a <SfxUndoManager>. More... | |
void | SetUndoManager (SfxUndoManager *pNewUndoMgr) |
Sets a <SfxUndoManager> for this <SfxShell> Instance. More... | |
SfxRepeatTarget * | GetRepeatTarget () const |
Returns a pointer to the <SfxRepeatTarget> instance that is used in SID_REPEAT as repeat target when it is addressed from the <SfxUndoManager> supplied by this SfxShell. More... | |
void | SetRepeatTarget (SfxRepeatTarget *pTarget) |
Sets the <SfxRepeatTarget> instance that is used in SID_REPEAT as RepeatTarget, when the current supplied by this <SfxUndoManager> is addressed. More... | |
virtual void | Invalidate (sal_uInt16 nId=0) |
With this method can the slots of the subclasses be invalidated through the slot Id or alternatively through the Which ID. More... | |
virtual bool | IsDesignMode () const |
bool | IsActive () const |
virtual void | Activate (bool bMDI) |
Virtual method that is called when enabling the SfxShell instance, in order to give the Subclasses the opportunity to respond to the to the enabling. More... | |
virtual void | Deactivate (bool bMDI) |
Virtual method that is called when disabling the SfxShell instance, to give the Subclasses the opportunity to respond to the disabling. More... | |
SfxDispatcher * | GetDispatcher () const |
This method returns a pointer to the <SfxDispatcher>, when the SfxShell is currently <UI-active> or a NULL-pointer if it is not UI-active. More... | |
SfxViewFrame * | GetFrame () const |
This method returns a pointer to the <SfxViewFrame> to which this SfxShell instance is associated or in which they currently is <UI-active>. More... | |
virtual bool | HasUIFeature (SfxShellFeature nFeature) const |
void | UIFeatureChanged () |
const SfxPoolItem * | GetItem (sal_uInt16 nSlotId) const |
With this method any objects of <SfxPoolItemu> subclasses can be accessed. More... | |
template<class T > | |
const T * | GetItem (TypedWhichId< T > nWhich) const |
void | PutItem (const SfxPoolItem &rItem) |
With this method, any objects of subclasses of <SfxPoolItem> can be made available. More... | |
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) |
Set the name of the sidebar context that is broadcast on calls to Activation(). More... | |
void | BroadcastContextForActivation (const bool bIsActivated) |
Broadcast a sidebar context change. More... | |
bool | SetContextBroadcasterEnabled (const bool bIsEnabled) |
Enabled or disable the context broadcaster. More... | |
SAL_DLLPRIVATE bool | CanExecuteSlot_Impl (const SfxSlot &rSlot) |
This method determines by calling the status function whether 'rSlot' can be executed currently. More... | |
virtual bool | IsConditionalFastCall (const SfxRequest &rReq) |
This method determines whether we need to execute without checking the disabled state of the slot. More... | |
SAL_DLLPRIVATE void | DoActivate_Impl (SfxViewFrame *pFrame, bool bMDI) |
This method controls the activation of SfxShell instance. More... | |
SAL_DLLPRIVATE void | DoDeactivate_Impl (SfxViewFrame const *pFrame, bool bMDI) |
This method controls the deactivation of the SfxShell instance. More... | |
Public Member Functions inherited from SfxBroadcaster | |
SfxBroadcaster () | |
SfxBroadcaster (const SfxBroadcaster &rBC) | |
virtual | ~SfxBroadcaster () COVERITY_NOEXCEPT_FALSE |
void | Broadcast (const SfxHint &rHint) |
bool | HasListeners () const |
size_t | GetListenerCount () const |
void | ForAllListeners (std::function< bool(SfxListener *)> f) const |
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 |
Static Public Member Functions | |
static void | SetViewFrame (SfxViewFrame *) |
static SfxViewFrame * | LoadHiddenDocument (SfxObjectShell const &i_rDoc, SfxInterfaceId i_nViewId) |
static SfxViewFrame * | LoadDocument (SfxObjectShell const &i_rDoc, SfxInterfaceId i_nViewId) |
static SfxViewFrame * | LoadDocumentIntoFrame (SfxObjectShell const &i_rDoc, const SfxFrameItem *i_pFrameItem, SfxInterfaceId i_nViewId) |
static SfxViewFrame * | LoadDocumentIntoFrame (SfxObjectShell const &i_rDoc, const css::uno::Reference< css::frame::XFrame > &i_rFrameItem) |
static SfxViewFrame * | DisplayNewDocument (SfxObjectShell const &i_rDoc, const SfxRequest &i_rCreateDocRequest) |
static SAL_WARN_UNUSED_RESULT SfxViewFrame * | Current () |
static SAL_WARN_UNUSED_RESULT SfxViewFrame * | GetFirst (const SfxObjectShell *pDoc=nullptr, bool bOnlyVisible=true) |
static SAL_WARN_UNUSED_RESULT SfxViewFrame * | GetNext (const SfxViewFrame &rPrev, const SfxObjectShell *pDoc=nullptr, bool bOnlyVisible=true) |
static SAL_WARN_UNUSED_RESULT SfxViewFrame * | Get (const css::uno::Reference< css::frame::XController > &i_rController, const SfxObjectShell *i_pDoc) |
static void | GetTargetList (TargetList &rList) |
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 &) |
Private Member Functions | |
SAL_DLLPRIVATE void | Construct_Impl (SfxObjectShell *pObjSh) |
virtual void | Notify (SfxBroadcaster &rBC, const SfxHint &rHint) override |
DECL_DLLPRIVATE_LINK (GetInvolvedHandler, weld::Button &, void) | |
DECL_DLLPRIVATE_LINK (DonationHandler, weld::Button &, void) | |
DECL_DLLPRIVATE_LINK (WhatsNewHandler, weld::Button &, void) | |
DECL_DLLPRIVATE_LINK (MacroButtonHandler, weld::Button &, void) | |
DECL_DLLPRIVATE_LINK (EventButtonHandler, weld::Button &, void) | |
DECL_DLLPRIVATE_LINK (SwitchReadOnlyHandler, weld::Button &, void) | |
DECL_DLLPRIVATE_LINK (SignDocumentHandler, weld::Button &, void) | |
DECL_DLLPRIVATE_LINK (HiddenTrackChangesHandler, weld::Button &, void) | |
DECL_DLLPRIVATE_LINK (HyphenationMissingHandler, weld::Button &, void) | |
DECL_DLLPRIVATE_LINK (RefreshMasterPasswordHdl, weld::Button &, void) | |
DECL_DLLPRIVATE_STATIC_LINK (SfxViewFrame, HelpMasterPasswordHdl, weld::Button &, void) | |
SAL_DLLPRIVATE void | KillDispatcher_Impl () |
virtual | ~SfxViewFrame () override |
void | AppendContainsMacrosInfobar () |
SAL_DLLPRIVATE bool | SwitchToViewShell_Impl (sal_uInt16 nNo, bool bIsIndex=false) |
SAL_DLLPRIVATE void | PopShellAndSubShells_Impl (SfxViewShell &i_rViewShell) |
SAL_DLLPRIVATE void | SaveCurrentViewData_Impl (const SfxInterfaceId i_nNewViewId) |
Static Private Member Functions | |
static void | InitInterface_Impl () |
SfxInterface initializer. More... | |
static SAL_DLLPRIVATE SfxViewShell * | LoadViewIntoFrame_Impl (const SfxObjectShell &i_rDoc, const css::uno::Reference< css::frame::XFrame > &i_rFrame, const css::uno::Sequence< css::beans::PropertyValue > &i_rLoadArgs, const SfxInterfaceId i_nViewId, const bool i_bHidden) |
loads the given existing document into the given frame More... | |
static SAL_DLLPRIVATE SfxViewFrame * | LoadViewIntoFrame_Impl_NoThrow (const SfxObjectShell &i_rDoc, const css::uno::Reference< css::frame::XFrame > &i_rFrame, const SfxInterfaceId i_nViewId, const bool i_bHidden) |
loads the given existing document into the given frame More... | |
Private Attributes | |
std::unique_ptr< struct SfxViewFrame_Impl > | m_pImpl |
SfxObjectShellRef | m_xObjSh |
std::unique_ptr< SfxDispatcher > | m_pDispatcher |
SfxBindings * | m_pBindings |
ImplSVHelpData * | m_pHelpData |
ImplSVWinData * | m_pWinData |
sal_uInt16 | m_nAdjustPosPixelLock |
std::unique_ptr< CommandPopupHandler > | m_pCommandPopupHandler |
Additional Inherited Members | |
Protected Member Functions inherited from SfxShell | |
SfxShell () | |
The constructor of the SfxShell class initializes only simple types, the corresponding SbxObject is only created on-demand. More... | |
SfxShell (SfxViewShell *pViewSh) | |
The constructor of the SfxShell class initializes only simple types, the corresponding SbxObject is only created on-demand. More... | |
void | SetViewShell_Impl (SfxViewShell *pView) |
SAL_DLLPRIVATE void | Invalidate_Impl (SfxBindings &rBindings, sal_uInt16 nId) |
Protected Member Functions inherited from SfxBroadcaster | |
void | Forward (SfxBroadcaster &rBC, const SfxHint &rHint) |
Static Protected Member Functions inherited from SfxShell | |
static void | HandleOpenXmlFilterSettings (SfxRequest &) |
Definition at line 49 of file viewfrm.hxx.
|
overrideprivatevirtual |
Definition at line 1921 of file viewfrm.cxx.
References Current(), DestroySVHelpData(), DestroySVWinData(), SfxApplication::Get(), GetFrame(), SfxApplication::GetViewFrames_Impl(), KillDispatcher_Impl(), m_pHelpData, m_pImpl, m_pWinData, ReleaseObjectShell_Impl(), SfxFrame::SetCurrentViewFrame_Impl(), and SetViewFrame().
SfxViewFrame::SfxViewFrame | ( | SfxFrame & | rFrame, |
SfxObjectShell * | pDoc | ||
) |
Definition at line 1898 of file viewfrm.cxx.
References Construct_Impl(), VclPtr< class reference_type >::Create(), CreateSVHelpData(), CreateSVWinData(), SfxFrame::CreateWorkWindow_Impl(), vcl::Window::GetOutputSizePixel(), SfxFrame::GetWindow(), m_pImpl, SfxFrame::SetCurrentViewFrame_Impl(), SfxFrame::SetHasTitle(), and SfxFrame::SetOwnsBindings_Impl().
|
overridevirtual |
Virtual method that is called when enabling the SfxShell instance, in order to give the Subclasses the opportunity to respond to the to the enabling.
[Cross-reference]
StarView SystemWindow::Activate(bool)
Reimplemented from SfxShell.
Definition at line 367 of file viewfrm2.cxx.
References DBG_ASSERT, and SfxShell::GetViewShell().
void SfxViewFrame::AddDispatchMacroToBasic_Impl | ( | const OUString & | sMacro | ) |
Definition at line 2909 of file viewfrm.cxx.
References aName, SfxRequest::AppendItem(), CutLines(), SfxDispatcher::ExecuteList(), SfxShell::ExecuteSlot(), SbModule::FindMethod(), SfxApplication::GetBasicContainer(), SfxObjectShell::GetBasicContainer(), SfxApplication::GetBasicManager(), SfxObjectShell::GetBasicManager(), GetDispatcher(), SfxViewShell::GetFirst(), GetFrame(), SfxFrame::GetFrameInterface(), BasicManager::GetLib(), SbMethod::GetLineRange(), SfxViewShell::GetNext(), GetObjectShell(), SfxShell::GetPool(), SbModule::GetSource32(), GetValue, nIndex, pBasic, SfxItemSet::Put(), SAL_WARN, SfxRequest::SetInternalArgs_Impl(), SfxGetpApp(), SYNCHRON, xFactory, and xFrame.
Referenced by MiscExec_Impl().
|
private |
Definition at line 1310 of file viewfrm.cxx.
References SfxObjectShell_Impl::aMacroMode, Any, AppendInfoBar(), weld::Button::connect_clicked(), Exception, comphelper::NamedValueCollection::getOrDefault(), sfx2::DocumentMacroMode::hasMacroLibrary(), sfx2::DocumentMacroMode::hasUnsignedContentError(), SvtSecurityOptions::IsMacroDisabled(), LINK, m_xObjSh, props, weld::Button::set_label(), SfxResId(), WARNING, and xModel.
Referenced by Notify().
VclPtr< SfxInfoBarWindow > SfxViewFrame::AppendInfoBar | ( | const OUString & | sId, |
const OUString & | sPrimaryMessage, | ||
const OUString & | sSecondaryMessage, | ||
InfobarType | aInfobarType, | ||
bool | bShowCloseButton = true |
||
) |
Append a new InfoBar (see https://wiki.documentfoundation.org/Design/Whiteboards/Infobar).
The buttons will be added from Right to Left at the right of the info bar. The parent, size and position of each button will be changed: only the width will remain unchanged.
Definition at line 3593 of file viewfrm.cxx.
References SfxInfoBarContainerWindow::appendInfoBar(), GetChildWindow(), SfxChildWindow::GetWindow(), HasInfoBarWithID(), ShowChildWindow(), and sId.
Referenced by AppendContainsMacrosInfobar(), SfxBaseController::appendInfobar(), AppendReadOnlyInfobar(), SfxObjectShell::GetState_Impl(), Notify(), SfxBaseController::ShowInfoBars(), and SfxClassificationHelper::UpdateInfobar().
void SfxViewFrame::AppendReadOnlyInfobar | ( | ) |
Definition at line 1264 of file viewfrm.cxx.
References AppendInfoBar(), weld::Button::connect_clicked(), GetObjectShell(), SfxObjectShell::GetSignPDFCertificate(), INFO, LINK, m_xObjSh, weld::Button::set_label(), and SfxResId().
Referenced by Notify().
void SfxViewFrame::ChildWindowExecute | ( | SfxRequest & | rReq | ) |
Definition at line 3358 of file viewfrm.cxx.
References SfxRequest::AppendItem(), aTargetURL, SvtModuleOptions::DATABASE, SfxRequest::Done(), SfxRequest::GetArg(), GetBindings(), GetDispatcher(), GetFrame(), SfxFrame::GetFrameInterface(), SfxRequest::GetSlot(), CntUnencodedStringItem::GetValue(), SfxBoolItem::GetValue(), HasChildWindow(), SfxRequest::Ignore(), SfxBindings::Invalidate(), comphelper::LibreOfficeKit::isActive(), SvtModuleOptions::IsModuleInstalled(), SetChildWindow(), ShowChildWindow(), sfx2::sidebar::Sidebar::ShowDeck(), sfx2::sidebar::Sidebar::ShowPanel(), ToggleChildWindow(), u, SfxDispatcher::Update_Impl(), and xFrame.
void SfxViewFrame::ChildWindowState | ( | SfxItemSet & | rState | ) |
Definition at line 3474 of file viewfrm.cxx.
References SfxItemSet::DisableItem(), SfxWhichIter::FirstWhich(), GetDispatcher(), GetFrame(), SfxFrame::GetFrameInterface(), HasChildWindow(), KnowsChildWindow(), SfxWhichIter::NextWhich(), SfxItemSet::Put(), SfxDispatcher::QueryState(), SAL_INFO, and xFrame.
void SfxViewFrame::Close | ( | ) |
Definition at line 1172 of file viewfrm.cxx.
References SfxBroadcaster::Broadcast(), Current(), DBG_ASSERT, SfxViewShell::DisconnectAllClients(), GetDispatcher(), GetFrame(), SfxShell::GetViewShell(), SfxDispatcher::Lock(), and SetViewFrame().
|
private |
Definition at line 1846 of file viewfrm.cxx.
References GetBindings(), GetDispatcher(), SfxShell::GetPool(), SfxApplication::GetViewFrames_Impl(), tools::SvRef< typename T >::is(), SfxObjectShell::IsReadOnly(), m_pDispatcher, m_pImpl, m_xObjSh, Notify(), SfxBindings::SetDispatcher(), SfxShell::SetPool(), SfxDispatcher::SetQuietMode_Impl(), SFX_INTERFACE_NONE, SfxGetpApp(), and SfxListener::StartListening().
Referenced by SfxViewFrame().
|
static |
Definition at line 1975 of file viewfrm.cxx.
References SfxApplication::Get(), SfxApplication::Get_Impl(), and SfxAppData_Impl::pViewFrame.
Referenced by MenuContentHandler::addCommandIfPossible(), ChangedUIEventListener::ChangedUIEventListener(), SfxApplication::ChooseScript(), Close(), sfx2::SfxNotebookBar::CloseMethod(), SfxBaseController::ConnectSfxFrame_Impl(), SfxObjectShell::Current(), SfxViewShell::Current(), ChangedUIEventListener::disposing(), SfxObjectShell::ExecFile_Impl(), sfx2::SfxNotebookBar::ExecMethod(), SfxModule::GetActiveModule(), SfxControllerItem::GetCoreMetric(), SfxObjectShell::GetDialogParent(), SfxApplication::GetTopWindow(), SfxBaseModel::getViewData(), IMPL_LINK_NOARG(), sfx2::sidebar::IMPL_LINK_NOARG(), IMPL_STATIC_LINK(), sfx2::SfxNotebookBar::IsActive(), SfxApplication::MiscExec_Impl(), SfxObjectShell::ModifyChanged(), SfxApplication::OfaExec_Impl(), SfxApplication::OpenDocExec_Impl(), SfxObjectShell::PrepareClose(), SfxClassificationHelper::SetBACName(), SfxProgress::SetState(), sfx2::SfxNotebookBar::ShowMenubar(), sfx2::sidebar::SidebarToolBox::SidebarToolBox(), NotebookbarTabControl::StateChanged(), sfx2::SfxNotebookBar::ToggleMenubar(), SfxViewShell::UIDeactivated(), and ~SfxViewFrame().
|
overridevirtual |
Virtual method that is called when disabling the SfxShell instance, to give the Subclasses the opportunity to respond to the disabling.
[Cross-reference]
StarView SystemWindow::Deactivate(bool)
Reimplemented from SfxShell.
Definition at line 373 of file viewfrm2.cxx.
References DBG_ASSERT, and SfxShell::GetViewShell().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
static |
Definition at line 2343 of file viewfrm.cxx.
References SfxRequest::GetArg(), SfxUnoFrameItem::GetFrame(), LoadViewIntoFrame_Impl_NoThrow(), and SFX_INTERFACE_NONE.
void SfxViewFrame::DoActivate | ( | bool | bMDI | ) |
Definition at line 1192 of file viewfrm.cxx.
References m_pDispatcher.
Referenced by SfxApplication::SetViewFrame_Impl().
void SfxViewFrame::DoAdjustPosSizePixel | ( | SfxViewShell * | pSh, |
const Point & | rPos, | ||
const Size & | rSize, | ||
bool | inplaceEditModeChange | ||
) |
divide on Inner.../Outer...
Definition at line 2042 of file viewfrm.cxx.
References m_pImpl.
Referenced by InvalidateBorderImpl(), Resize(), and SwitchToViewShell_Impl().
bool SfxViewFrame::DoClose | ( | ) |
Definition at line 2802 of file viewfrm.cxx.
References SfxFrame::DoClose(), and GetFrame().
void SfxViewFrame::DoDeactivate | ( | bool | bMDI, |
SfxViewFrame const * | pOld | ||
) |
Definition at line 1197 of file viewfrm.cxx.
References m_pDispatcher.
Referenced by SfxApplication::SetViewFrame_Impl().
void SfxViewFrame::Enable | ( | bool | bEnable | ) |
Definition at line 2100 of file viewfrm.cxx.
References vcl::Window::EnableInput(), GetFrame(), SfxShell::GetViewShell(), SfxFrame::GetWindow(), vcl::Window::IsInputEnabled(), m_pImpl, and SfxViewShell::ShowCursor().
Referenced by SfxBaseController::ConnectSfxFrame_Impl(), and Notify().
void SfxViewFrame::Exec_Impl | ( | SfxRequest & | rReq | ) |
Definition at line 149 of file viewfrm2.cxx.
References SfxRequest::AppendItem(), SfxRequest::Done(), SfxShell::ExecuteSlot(), SfxRequest::GetArg(), GetBindings(), GetDispatcher(), GetFirst(), GetFrame(), SfxViewFrameItem::GetFrame(), GetNext(), GetObjectShell(), SfxShell::GetPool(), SfxRequest::GetReturnValue(), SfxRequest::GetSlot(), CntUnencodedStringItem::GetValue(), SfxBoolItem::GetValue(), SfxShell::GetViewShell(), SfxFrame::GetWorkWindow_Impl(), SfxBindings::HidePopups(), SfxWorkWindow::HidePopups_Impl(), SfxShell::Invalidate(), m_pImpl, MakeActive_Impl(), SfxWorkWindow::MakeChildrenVisible_Impl(), SfxObjectShell::PrepareClose(), SAL_WARN, SfxObjectShell::SetModified(), SfxRequest::SetReturnValue(), SfxGetpApp(), SfxShell::SfxObjectItem, SYNCHRON, and SfxDispatcher::Update_Impl().
Referenced by SfxLokHelper::destroyView().
void SfxViewFrame::ExecHistory_Impl | ( | SfxRequest & | rReq | ) |
Definition at line 974 of file viewfrm.cxx.
References SfxUndoManager::Clear(), SfxRequest::Done(), SfxShell::ExecuteSlot(), GetBindings(), GetDispatcher(), SfxShell::GetRepeatTarget(), SfxDispatcher::GetShell(), SfxRequest::GetSlot(), SfxShell::GetUndoManager(), GetValue, SfxShell::GetViewShell(), SfxBindings::InvalidateAll(), SfxUndoManager::Redo(), SfxUndoManager::Repeat(), SfxRequest::SetReturnValue(), and SfxUndoManager::Undo().
void SfxViewFrame::ExecReload_Impl | ( | SfxRequest & | rReq | ) |
Definition at line 275 of file viewfrm.cxx.
References SfxMedium::AddToCheckEditableWorkerList(), SfxRequest::AppendItem(), ASYNCHRON, SfxBroadcaster::Broadcast(), SfxMedium::CancelCheckEditableEntry(), SfxObjectShell::CancelTransfers(), SfxObjectShell::CanReload_Impl(), SfxItemSet::ClearItem(), SfxMedium::CloseAndRelease(), CloseDoc, SfxMedium::CompleteReOpen(), SfxObjectShell::ConnectTmpStorage_Impl(), Application::CreateMessageDialog(), SfxObjectShell::CreateObject(), SfxFrame::DocIsModified_Impl(), SfxObjectShell::DoClose(), SfxRequest::Done(), SfxObjectShell::DoNotCleanShareControlFile(), SfxObjectShell::DoSaveCompleted(), SfxObjectShell::EnableSetModified(), ERRCODE_IO_ACCESSDENIED, ERRCODE_NONE, Exception, SfxDispatcher::Execute(), SfxMedium::FailedLockFile, SfxObjectShell::Get_Impl(), SfxRequest::GetArg(), SfxMedium::GetCheckEditableMutex(), GetCurViewId(), GetDispatcher(), SfxMedium::GetErrorCode(), GlobalEventConfig::GetEventName(), SfxMedium::GetFilter(), GetFirst(), GetFrame(), SfxFrame::GetFrameInterface(), GetFrameWeld(), INetURLObject::getFSysPath(), SfxMedium::GetInteractionHandler(), SfxItemSet::GetItem(), SfxMedium::GetItemSet(), INetURLObject::GetMainURL(), SfxObjectShell::GetMedium(), SfxObjectShell::GetModel(), SfxObjectShell::GetModifyPasswordHash(), SfxObjectShell::GetModifyPasswordInfo(), vcl::CommandInfoProvider::GetModuleIdentifier(), SfxMedium::GetName(), GetNext(), GetObjectShell(), SfxMedium::GetOrigURL(), SfxMedium::GetPhysicalName(), SfxShell::GetPool(), INetURLObject::GetProtocol(), SfxObjectShell::GetSharedFileURL(), SfxRequest::GetSlot(), SfxObjectShell::GetStorage(), SfxMedium::GetStorage(), SfxMedium::GetURLObject(), CntInt32Item::GetValue(), CntUnencodedStringItem::GetValue(), SfxBoolItem::GetValue(), SfxShell::GetViewShell(), GetWindow(), SfxFilterMatcher::GuessFilter(), ErrorHandler::HandleError(), SfxObjectShell::HasName(), SfxMedium::HasStorage_Impl(), SfxObjectShellLock::Is(), sfx2::SfxNotebookBar::IsActive(), INetURLObject::isAnyKnownWebDAVScheme(), SfxRequest::IsAPI(), SfxFrame::IsAutoLoadLocked_Impl(), SfxObjectShell::IsDocShared(), SfxObjectShell::isEditDocLocked(), SfxObjectShell::IsEnableSetModified(), SfxMedium::IsExpired(), SfxObjectShell::IsInModalMode(), SfxObjectShell::IsModified(), SfxObjectShell::IsModifyPasswordEntered(), SfxObjectShell::IsOriginallyLoadedReadOnlyMedium(), SfxObjectShell::IsOriginallyReadOnlyMedium(), SfxObjectShell::IsReadOnly(), SfxObjectShell::IsReadOnlyMedium(), SfxObjectShell::IsReadOnlyUI(), SfxMedium::IsRemote(), LoadViewIntoFrame_Impl(), SfxMedium::LockOrigFileOnDemand(), m_pImpl, MAINDOCUMENT, SfxObjectShell_Impl::nLoadedFlags, INetURLObject::NONE, SfxApplication::NotifyEvent(), SfxObjectShell_Impl::pReloadTimer, SfxObjectShell::PrepareClose(), SfxViewShell::PrepareClose(), SfxItemSet::Put(), sfx2::SfxNotebookBar::ReloadNotebookBar(), RemoveInfoBar(), SfxMedium::ReOpen(), SfxMedium::ResetError(), RET_CANCEL, RET_IGNORE, RET_YES, SAL_WARN_IF, SfxObjectShell::SetModified(), SfxObjectShell::SetModifyPasswordEntered(), SfxMedium::SetOpenMode(), SfxObjectShell::SetReadOnly(), SfxObjectShell::SetReadOnlyUI(), SfxRequest::SetReturnValue(), SFX_STREAM_READONLY, SFX_STREAM_READWRITE, SfxGetpApp(), SfxResId(), TransformItems(), u, UpdateDocument_Impl(), INetURLObject::WithCharset, xController, and xFrame.
Referenced by SfxObjectShell::ExecFile_Impl(), and AutoReloadTimer_Impl::Invoke().
void SfxViewFrame::ExecView_Impl | ( | SfxRequest & | rReq | ) |
Definition at line 2557 of file viewfrm.cxx.
References SfxItemSet::ClearItem(), SfxInPlaceClient::DeactivateObject(), SfxRequest::Done(), SfxViewShell::DoVerb(), SfxRequest::GetArg(), SfxRequest::GetArgs(), GetCurViewId(), SfxUnoFrameItem::GetFrame(), GetFrame(), SfxItemSet::GetItemIfSet(), SfxMedium::GetItemSet(), SfxObjectShell::GetMedium(), GetObjectShell(), SfxRequest::GetSlot(), SfxViewShell::GetUIActiveClient(), CntUInt16Item::GetValue(), SfxInt16Item::GetValue(), SfxFrame::GetViewData_Impl(), SfxShell::GetViewShell(), LoadViewIntoFrame_Impl_NoThrow(), SfxRequest::SetReturnValue(), SwitchToViewShell_Impl(), and xFrame.
Referenced by SfxLokHelper::createView().
void SfxViewFrame::ForceOuterResize_Impl | ( | ) |
Definition at line 2088 of file viewfrm.cxx.
References m_pImpl.
Referenced by SfxBaseModel::createViewController().
|
static |
Definition at line 2356 of file viewfrm.cxx.
References SfxViewShell::GetController(), GetFirst(), SfxObjectShell::GetFirst(), SfxObjectShell::GetModel(), SfxObjectShell::GetNext(), GetNext(), and SfxShell::GetViewShell().
Referenced by SfxBaseModel::connectController().
OUString SfxViewFrame::GetActualPresentationURL_Impl | ( | ) | const |
Definition at line 2807 of file viewfrm.cxx.
References tools::SvRef< typename T >::is(), and m_xObjSh.
Referenced by MiscState_Impl().
|
inline |
Definition at line 110 of file viewfrm.hxx.
Referenced by SfxClipboardChangeListener::ChangedContents(), ChildWindowExecute(), SfxBaseController::ConnectSfxFrame_Impl(), Construct_Impl(), SfxBaseModel::createViewController(), SfxBaseController::dispose(), SfxViewShell::Escape(), SfxFrameWindow_Impl::EventNotify(), Exec_Impl(), ExecHistory_Impl(), GetSlotDispatchWithFallback(), SfxDispatcher::HideUI(), INetExecute_Impl(), InterceptLOKStateChangeEvent(), sfx2::DocumentUndoManager_Impl::invalidateXDo_nolck(), SfxPrinterController::jobFinished(), MakeActive_Impl(), MiscExec_Impl(), SfxObjectShell::ModifyChanged(), Notify(), SfxApplication::OfaExec_Impl(), SfxObjectShell::PrepareClose(), SfxBaseController::queryDispatch(), sfx2::SfxNotebookBar::ReloadNotebookBar(), SfxProgress::Resume(), SfxFrame::SetFrameInterface_Impl(), SfxDispatcher::SetMenu_Impl(), SfxFrameWindow_Impl::StateChanged(), SfxProgress::Suspend(), SwitchToViewShell_Impl(), SfxViewShell::UIActivating(), SfxViewShell::UIDeactivated(), SfxDispatcher::Update_Impl(), and UpdateTitle().
|
inline |
Definition at line 111 of file viewfrm.hxx.
const SvBorder & SfxViewFrame::GetBorderPixelImpl | ( | ) | const |
Definition at line 1259 of file viewfrm.cxx.
References m_pImpl.
Referenced by SfxBaseModel::getArgs2(), and SfxViewShell::GetBorderPixel().
SfxChildWindow * SfxViewFrame::GetChildWindow | ( | sal_uInt16 | nId | ) |
Definition at line 3567 of file viewfrm.cxx.
References SfxWorkWindow::GetChildWindow_Impl(), GetWorkWindow_Impl(), and nId.
Referenced by AppendInfoBar(), HasInfoBarWithID(), SfxApplication::MiscExec_Impl(), SfxBaseController::queryDispatch(), RemoveInfoBar(), sfx2::sidebar::Sidebar::ShowDeck(), and UpdateInfoBar().
SfxInterfaceId SfxViewFrame::GetCurViewId | ( | ) | const |
Definition at line 2547 of file viewfrm.cxx.
References m_pImpl.
Referenced by SfxBaseController::ConnectSfxFrame_Impl(), ExecReload_Impl(), ExecView_Impl(), SfxFrame::GetViewData_Impl(), and SaveCurrentViewData_Impl().
|
inline |
Definition at line 109 of file viewfrm.hxx.
Referenced by AddDispatchMacroToBasic_Impl(), SfxViewShell::AddSubShell(), SfxFrame::AppearWithUpdate(), ChildWindowExecute(), ChildWindowState(), Close(), SfxBaseController::ConnectSfxFrame_Impl(), Construct_Impl(), SfxBaseModel::createViewController(), Exec_Impl(), SfxObjectShell::ExecFile_Impl(), ExecHistory_Impl(), ExecReload_Impl(), SfxControllerItem::GetCoreMetric(), IMPL_LINK_NOARG(), SfxViewShell::JumpToMark(), MakeActive_Impl(), SfxApplication::MiscExec_Impl(), MiscExec_Impl(), Notify(), SfxVersionDialog::Open_Impl(), SfxViewShell::PushSubShells_Impl(), SfxBaseController::queryDispatch(), ReleaseObjectShell_Impl(), SfxViewShell::RemoveSubShell(), SfxFrame::SetPresentationMode(), SfxShell::SetVerbs(), ShowChildWindow(), SfxObjectShell::SignSignatureLine(), StateHistory_Impl(), SfxViewShell::UIActivating(), SfxViewShell::UIDeactivated(), and SfxShell::UIFeatureChanged().
SfxDispatcher * SfxShell::GetDispatcher | ( | ) | const |
This method returns a pointer to the <SfxDispatcher>, when the SfxShell is currently <UI-active> or a NULL-pointer if it is not UI-active.
The returned pointer is only valid in the immediate context of the method call.
Definition at line 369 of file shell.cxx.
References SfxShell::BroadcastContextForActivation().
void SfxViewFrame::GetDocNumber_Impl | ( | ) |
Definition at line 2093 of file viewfrm.cxx.
References DBG_ASSERT, IndexBitSet::GetFreeIndex(), SfxObjectShell::GetNoSet_Impl(), GetObjectShell(), m_pImpl, and SfxObjectShell::SetNamedVisibility_Impl().
Referenced by Show().
|
static |
Definition at line 1982 of file viewfrm.cxx.
References SfxApplication::Get(), SfxObjectShell::GetObjectShell(), and SfxApplication::GetViewFrames_Impl().
Referenced by SfxPickListImpl::AddDocumentToPickList(), SfxBaseModel::attachResource(), SfxFrame::CancelTransfers(), SfxObjectShell::CreatePreview_Impl(), SfxApplication::Deinitialize(), SfxBaseController::dispose(), Exec_Impl(), SfxObjectShell::ExecFile_Impl(), ExecReload_Impl(), SfxEvents_Impl::Execute(), SfxObjectShell::ExecView_Impl(), SfxBaseModel::FindOrCreateViewFrame_Impl(), SfxObjectShell::FinishedLoading(), Get(), SfxBaseModel::getArgs2(), SfxInPlaceClient::GetClient(), SfxObjectShell::GetDialogParent(), SfxObjectShell::GetFirst(), SfxApplication::GetModule_Impl(), SfxModule::GetModuleFieldUnit(), SfxObjectShell::GetNext(), SfxPrintHelper::getPrinter(), GetSlotDispatchWithFallback(), SfxObjectShell::GetState_Impl(), SfxBaseModel::getViewData(), IMPL_LINK_NOARG(), SfxPrintHelper::impl_setPrinter(), IMPL_STATIC_LINK(), SfxApplication::Invalidate(), SfxModule::Invalidate(), SfxObjectShell::Invalidate(), SfxDispatcher::InvalidateBindings_Impl(), sfx2::DocumentUndoManager_Impl::invalidateXDo_nolck(), AutoReloadTimer_Impl::Invoke(), SfxObjectShell::IsInPlaceActive(), SfxObjectShell::IsUIActive(), SfxApplication::MiscExec_Impl(), SfxApplication::OfaExec_Impl(), SfxObjectShell::PrepareClose(), SfxFrame::PrepareClose_Impl(), SfxPrintHelper::print(), SfxObjectShell::PrintExec_Impl(), SfxObjectShell::PrintState_Impl(), SfxFrame::Resize(), SfxProgress::Resume(), SetModalMode(), SfxApplication::SetOptions(), SfxProgress::SetState(), SfxBaseModel::setVisualAreaSize(), SfxObjectShell::SetWaitCursor(), sfx2::SfxNotebookBar::ShowMenubar(), SfxProgress::Suspend(), and SfxBaseController::suspend().
SfxFrame & SfxViewFrame::GetFrame | ( | ) | const |
Definition at line 2782 of file viewfrm.cxx.
References m_pImpl.
Referenced by AddDispatchMacroToBasic_Impl(), SfxShell::BroadcastContextForActivation(), SfxFrame::CancelTransfers(), ChildWindowExecute(), ChildWindowState(), SfxApplication::ChooseScript(), Close(), sfx2::SfxNotebookBar::CloseMethod(), SfxBaseController::ConnectSfxFrame_Impl(), sfx2::sidebar::SidebarController::create(), SfxBaseModel::createViewController(), SfxInPlaceClient::DeactivateObject(), SfxDispatchController_Impl::dispatch(), SfxBaseController::dispose(), DoClose(), SfxDispatcher::DoDeactivate_Impl(), SfxInPlaceClient::DoVerb(), Enable(), Exec_Impl(), SfxViewShell::ExecKey_Impl(), SfxViewShell::ExecMisc_Impl(), ExecReload_Impl(), SfxEvents_Impl::Execute(), SfxObjectShell::ExecView_Impl(), ExecView_Impl(), SfxBaseModel::FindOrCreateViewFrame_Impl(), SfxBindings::GetActiveFrame(), SfxObjectShell::GetDialogParent(), SfxInPlaceClient_Impl::GetFrame(), SfxWorkWindow::GetFrameInterface(), SfxRequest::GetMacroRecorder(), SfxModule::GetModuleFieldUnit(), SfxBaseController::getSidebar(), GetSlotDispatchWithFallback(), SfxStateCache::GetSlotServer(), SfxViewShell::GetState_Impl(), GetState_Impl(), GetTopViewFrame(), GetWindow(), GetWorkWindow_Impl(), SfxApplication::GetWorkWindow_Impl(), SfxDispatcher::HideUI(), IMPL_LINK(), IMPL_LINK_NOARG(), SfxWorkWindow::InitializeChild_Impl(), InvalidateBorderImpl(), IsInModalMode(), SfxObjectShell::IsInPlaceActive(), SfxObjectShell::IsUIActive(), MakeActive_Impl(), SfxApplication::MiscExec_Impl(), MiscExec_Impl(), MiscState_Impl(), Notify(), SfxApplication::OfaExec_Impl(), SfxViewShell::OutplaceActivated(), SfxObjectShell::PostActivateEvent_Impl(), SfxObjectShell::PrepareClose(), ReleaseObjectShell_Impl(), SfxFrame::Resize(), Resize(), SfxBindings::SetActiveFrame(), SetBorderPixelImpl(), SfxBindings::SetDispatcher(), SfxDispatcher::SetMenu_Impl(), SfxInPlaceClient::SetObject(), SfxLokHelper::setView(), SfxApplication::SetViewFrame_Impl(), SfxBaseModel::setVisualAreaSize(), SfxDockingWrapper::SfxDockingWrapper(), SfxPartDockWnd_Impl::SfxPartDockWnd_Impl(), Show(), sfx2::sidebar::Sidebar::ShowDeck(), sfx2::SfxNotebookBar::ShowMenubar(), SfxRedactionHelper::showRedactionToolbar(), NotebookbarTabControl::StateChanged(), sfx2::SfxNotebookBar::StateMethod(), SfxStatusListener::statusChanged(), SfxStatusBarControl::statusChanged(), SfxToolBoxControl::statusChanged(), StyleList::StyleList(), SwitchToViewShell_Impl(), sfx2::SfxNotebookBar::ToggleMenubar(), ToTop(), SfxViewShell::UIActivating(), SfxViewShell::UIDeactivated(), UpdateTitle(), and ~SfxViewFrame().
weld::Window * SfxViewFrame::GetFrameWeld | ( | ) | const |
Definition at line 2797 of file viewfrm.cxx.
References vcl::Window::GetFrameWeld(), and GetWindow().
Referenced by SfxObjectShell::ExecFile_Impl(), ExecReload_Impl(), IMPL_STATIC_LINK(), and SfxObjectShell::PrepareClose().
const Size & SfxViewFrame::GetMargin_Impl | ( | ) | const |
Definition at line 2223 of file viewfrm.cxx.
References m_pImpl.
Referenced by SfxViewShell::SfxViewShell().
|
static |
Definition at line 2005 of file viewfrm.cxx.
References SfxApplication::Get(), GetObjectShell(), SfxApplication::GetViewFrames_Impl(), IsVisible(), and nPos.
Referenced by SfxFrame::CancelTransfers(), SfxBaseController::dispose(), Exec_Impl(), ExecReload_Impl(), SfxBaseModel::FindOrCreateViewFrame_Impl(), Get(), SfxInPlaceClient::GetClient(), SfxModule::GetModuleFieldUnit(), SfxPrintHelper::getPrinter(), GetSlotDispatchWithFallback(), SfxBaseModel::getViewData(), IMPL_STATIC_LINK(), SfxApplication::Invalidate(), SfxModule::Invalidate(), SfxObjectShell::Invalidate(), SfxDispatcher::InvalidateBindings_Impl(), sfx2::DocumentUndoManager_Impl::invalidateXDo_nolck(), SfxApplication::MiscExec_Impl(), SfxApplication::OfaExec_Impl(), SfxObjectShell::PrepareClose(), SfxFrame::PrepareClose_Impl(), SfxProgress::Resume(), SetModalMode(), SfxApplication::SetOptions(), SfxObjectShell::SetWaitCursor(), sfx2::SfxNotebookBar::ShowMenubar(), SfxProgress::Suspend(), and SfxBaseController::suspend().
|
overridevirtual |
Reimplemented from SfxShell.
Definition at line 2218 of file viewfrm.cxx.
References tools::SvRef< typename T >::get(), and m_xObjSh.
Referenced by SfxViewShell::Activate(), AddDispatchMacroToBasic_Impl(), AppendReadOnlyInfobar(), SfxObjectShell::Current(), DevelopmentToolDockingWindow::DevelopmentToolDockingWindow(), SfxBaseController::dispose(), SfxFrameWindow_Impl::EventNotify(), Exec_Impl(), SfxViewShell::ExecPrint_Impl(), ExecReload_Impl(), SfxBindings::Execute_Impl(), ExecView_Impl(), SfxModule::GetActiveModule(), SfxObjectShell::GetDialogParent(), GetDocNumber_Impl(), GetNext(), SfxShell::GetObjectShell(), SfxViewShell::GetObjectShell(), SfxViewShell::GetState_Impl(), GetState_Impl(), SfxBaseModel::getViewData(), IMPL_LINK(), IMPL_LINK_NOARG(), INetState_Impl(), SfxVersionDialog::Init_Impl(), SfxCommonTemplateDialog_Impl::IsUpdate(), SfxBindings::LeaveRegistrations(), SfxApplication::LoadTemplate(), SfxCmisVersionsDialog::LoadVersions(), LockObjectShell_Impl(), MakeActive_Impl(), MiscState_Impl(), SfxBindings::NextJob_Impl(), StyleList::Notify(), SfxApplication::OfaExec_Impl(), SfxVersionDialog::Open_Impl(), SfxApplication::SetViewFrame_Impl(), SfxCmisVersionsDialog::SfxCmisVersionsDialog(), SfxVersionDialog::SfxVersionDialog(), SfxViewShell::SfxViewShell(), SfxFrameViewWindow_Impl::StateChanged(), StateReload_Impl(), StateView_Impl(), SwitchToViewShell_Impl(), StyleList::Update(), UpdateDocument_Impl(), StyleList::UpdateFamily(), SfxWorkWindow::UpdateObjectBars_Impl2(), and UpdateTitle().
SfxProgress * SfxViewFrame::GetProgress | ( | ) | const |
Definition at line 2036 of file viewfrm.cxx.
References tools::SvRef< typename T >::get(), SfxObjectShell::GetProgress(), and m_xObjSh.
Referenced by SfxApplication::SetViewFrame_Impl().
void SfxViewFrame::GetState_Impl | ( | SfxItemSet & | rSet | ) |
Definition at line 264 of file viewfrm2.cxx.
References DBG_ASSERT, SfxItemSet::DisableItem(), WhichRangesContainer::empty(), GetFrame(), GetObjectShell(), SfxItemSet::GetRanges(), SfxShell::GetVerbs(), SfxShell::GetViewShell(), m_pImpl, SfxItemSet::Put(), and rSet.
|
inlinestatic |
Definition at line 145 of file viewfrm.hxx.
References SfxFrame::GetDefaultTargetList().
SfxViewFrame * SfxViewFrame::GetTopViewFrame | ( | ) | const |
Definition at line 2787 of file viewfrm.cxx.
References SfxFrame::GetCurrentViewFrame(), and GetFrame().
Referenced by MiscExec_Impl(), and MiscState_Impl().
vcl::Window & SfxViewFrame::GetWindow | ( | ) | const |
Definition at line 2792 of file viewfrm.cxx.
References GetFrame(), SfxFrame::GetWindow(), and m_pImpl.
Referenced by SfxBaseController::ConnectSfxFrame_Impl(), SfxBaseModel::createViewController(), ExecReload_Impl(), GetFrameWeld(), InvalidateBorderImpl(), SfxApplication::MiscExec_Impl(), MiscExec_Impl(), Notify(), SfxViewShell::PrepareClose(), ReleaseObjectShell_Impl(), Resize(), SetBorderPixelImpl(), SfxFrame::SetPresentationMode(), SfxFrame::SetToolSpaceBorderPixel_Impl(), SfxViewShell::SfxViewShell(), Show(), SwitchToViewShell_Impl(), SfxInfoBarContainerChild::Update(), and SfxViewShell::~SfxViewShell().
SfxWorkWindow * SfxViewFrame::GetWorkWindow_Impl | ( | ) |
Definition at line 3525 of file viewfrm.cxx.
References GetFrame(), and SfxFrame::GetWorkWindow_Impl().
Referenced by GetChildWindow(), HasChildWindow(), KnowsChildWindow(), SetChildWindow(), ShowChildWindow(), and ToggleChildWindow().
bool SfxViewFrame::HasChildWindow | ( | sal_uInt16 | nId | ) |
Definition at line 3545 of file viewfrm.cxx.
References GetWorkWindow_Impl(), SfxWorkWindow::HasChildWindow_Impl(), and nId.
Referenced by ChildWindowExecute(), ChildWindowState(), RemoveInfoBar(), and UpdateInfoBar().
bool SfxViewFrame::HasInfoBarWithID | ( | std::u16string_view | sId | ) |
Definition at line 3650 of file viewfrm.cxx.
References GetChildWindow(), SfxChildWindow::GetWindow(), SfxInfoBarContainerWindow::hasInfoBarWithID(), nId, and sId.
Referenced by AppendInfoBar(), SfxBaseController::appendInfobar(), SfxObjectShell::GetState_Impl(), SfxBaseController::hasInfobar(), SfxBaseController::removeInfobar(), and SfxBaseController::updateInfobar().
void SfxViewFrame::INetExecute_Impl | ( | SfxRequest & | rRequest | ) |
(pb) we need new implementation to create a link
Definition at line 321 of file viewfrm2.cxx.
References SfxRequest::Done(), SfxBindings::GetAnyStateCache_Impl(), GetBindings(), SfxControllerItem::GetItemLink(), SfxStateCache::GetItemLink(), SfxRequest::GetSlot(), and SfxControllerItem::StateChangedAtToolBoxControl().
void SfxViewFrame::INetState_Impl | ( | SfxItemSet & | rItemSet | ) |
Definition at line 355 of file viewfrm2.cxx.
References SfxItemSet::DisableItem(), EMBEDDED, SfxObjectShell::GetCreateMode(), GetObjectShell(), and SfxObjectShell::HasName().
|
staticprivate |
SfxInterface initializer.
Definition at line 150 of file viewfrm.cxx.
References EnvToolbox, FullScreen, FullScreenToolbox, SFX_OBJECTBAR_APPLICATION, SFX_OBJECTBAR_FULLSCREEN, and Standard.
void SfxViewFrame::InvalidateBorderImpl | ( | const SfxViewShell * | pSh | ) |
Definition at line 1202 of file viewfrm.cxx.
References DoAdjustPosSizePixel(), GetFrame(), SfxShell::GetViewShell(), GetWindow(), IsVisible(), and m_nAdjustPosPixelLock.
Referenced by SfxViewShell::InvalidateBorder().
bool SfxViewFrame::IsInModalMode | ( | ) | const |
Definition at line 2830 of file viewfrm.cxx.
References GetFrame(), SfxFrame::GetWindow(), vcl::Window::IsInModalMode(), and m_pImpl.
Referenced by Notify().
bool SfxViewFrame::IsVisible | ( | ) | const |
Definition at line 2162 of file viewfrm.cxx.
References m_pImpl.
Referenced by GetNext(), SfxViewShell::GetNext(), InvalidateBorderImpl(), MakeActive_Impl(), SfxFrameViewWindow_Impl::StateChanged(), SfxShell::UIFeatureChanged(), and UpdateTitle().
|
private |
Definition at line 1959 of file viewfrm.cxx.
References tools::SvRef< typename T >::is(), m_pDispatcher, m_xObjSh, POP_UNTIL, and ReleaseObjectShell_Impl().
Referenced by ~SfxViewFrame().
bool SfxViewFrame::KnowsChildWindow | ( | sal_uInt16 | nId | ) |
Definition at line 3551 of file viewfrm.cxx.
References GetWorkWindow_Impl(), SfxWorkWindow::KnowsChildWindow_Impl(), and nId.
Referenced by ChildWindowState().
|
static |
Definition at line 2328 of file viewfrm.cxx.
References LoadViewIntoFrame_Impl_NoThrow().
|
static |
References Get(), and SAL_WARN_UNUSED_RESULT.
|
static |
Definition at line 2338 of file viewfrm.cxx.
References SfxFrameItem::GetFrame(), SfxFrame::GetFrameInterface(), and LoadViewIntoFrame_Impl_NoThrow().
|
static |
Definition at line 2323 of file viewfrm.cxx.
References LoadViewIntoFrame_Impl_NoThrow().
|
staticprivate |
loads the given existing document into the given frame
This is done using the XComponentLoader interface of the frame, so the SFX document loader is invoked.
i_rDoc | the document to load |
i_rFrame | the frame to load the document into |
i_rLoadArgs | the arguments to pass to the component loader. If this sequence is empty, then the current arguments of the model will be obtained, and passed to the loader. This ensures that any arguments in the model will be preserved, instead of being reset. |
i_nViewId | the ID of the view to create |
Exception | if something goes wrong. The caller is responsible for handling this. |
Definition at line 2298 of file viewfrm.cxx.
References ENSURE_OR_THROW, SfxViewShell::Get(), SfxObjectShell::GetModel(), comphelper::NamedValueCollection::getPropertyValues(), comphelper::NamedValueCollection::put(), and comphelper::NamedValueCollection::remove().
Referenced by ExecReload_Impl(), LoadViewIntoFrame_Impl_NoThrow(), and SwitchToViewShell_Impl().
|
staticprivate |
loads the given existing document into the given frame
This is done using the XComponentLoader interface of the frame, so the SFX document loader is invoked.
If no frame is given, a blank top level frame is created.
If anything fails during the process, as much as possible is cleaned up.
i_rDoc | the document to load |
i_rFrame | the frame to load the document into. Might be <NULL>, in which case a new frame is created. |
i_nViewId | the ID of the view to create |
Definition at line 2228 of file viewfrm.cxx.
References DBG_UNHANDLED_EXCEPTION, Exception, SfxViewShell::GetViewFrame(), LoadViewIntoFrame_Impl(), and xFrame.
Referenced by DisplayNewDocument(), ExecView_Impl(), LoadDocument(), LoadDocumentIntoFrame(), and LoadHiddenDocument().
|
inline |
Definition at line 117 of file viewfrm.hxx.
Referenced by SfxBaseController::ConnectSfxFrame_Impl(), and SwitchToViewShell_Impl().
void SfxViewFrame::LockObjectShell_Impl | ( | ) |
Definition at line 2168 of file viewfrm.cxx.
References DBG_ASSERT, GetObjectShell(), m_pImpl, and SotObject::OwnerLock().
Referenced by Show().
void SfxViewFrame::MakeActive_Impl | ( | bool | bActivate | ) |
Definition at line 2178 of file viewfrm.cxx.
References GetBindings(), GetDispatcher(), GetFrame(), SfxFrame::GetFrameInterface(), GetObjectShell(), SfxViewShell::GetUIActiveClient(), SfxShell::GetViewShell(), VCLUnoHelper::GetWindow(), SfxFrame::GrabFocusOnComponent_Impl(), SfxInPlaceClient::IsObjectUIActive(), IsVisible(), SfxBindings::SetActiveFrame(), SfxBindings::SetDispatcher(), SetViewFrame(), SfxDispatcher::Update_Impl(), and xFrame.
Referenced by SfxBaseController::ConnectSfxFrame_Impl(), SfxFrameWindow_Impl::EventNotify(), Exec_Impl(), SfxFrameWindow_Impl::GetFocus(), and SfxLokHelper::setView().
void SfxViewFrame::MiscExec_Impl | ( | SfxRequest & | rReq | ) |
Definition at line 3093 of file viewfrm.cxx.
References AddDispatchMacroToBasic_Impl(), Any, SfxRequest::AppendItem(), SfxRequest::Done(), SfxRequest::GetArg(), GetBindings(), GetDispatcher(), GetFrame(), SfxFrame::GetFrameInterface(), weld::GetPopupParent(), SfxRequest::GetSlot(), GetTopViewFrame(), SfxBoolItem::GetValue(), GetWindow(), SfxFrame::GetWorkWindow_Impl(), SfxRequest::Ignore(), SfxBindings::Invalidate(), WorkWindow::IsFullScreenMode(), sfx2::SfxNotebookBar::LockNotebookBar(), m_pCommandPopupHandler, SetChildWindow(), SfxWorkWindow::SetFullScreen_Impl(), SystemWindow::SetMenuBarMode(), SfxBindings::SetRecorder_Impl(), WorkWindow::ShowFullScreenMode(), u, sfx2::SfxNotebookBar::UnlockNotebookBar(), SfxDispatcher::Update_Impl(), and xFrame.
void SfxViewFrame::MiscState_Impl | ( | SfxItemSet & | rSet | ) |
Definition at line 3246 of file viewfrm.cxx.
References DBG_ASSERT, SfxItemSet::DisableItem(), WhichRangesContainer::empty(), GetActualPresentationURL_Impl(), SfxObjectShell::GetFactory(), SfxObjectFactory::GetFactoryName(), GetFrame(), GetObjectShell(), SfxItemSet::GetRanges(), GetTopViewFrame(), SfxFrame::GetTopWindow_Impl(), WorkWindow::IsFullScreenMode(), SfxItemSet::Put(), rSet, and sName.
|
overrideprivatevirtual |
Reimplemented from SfxListener.
Definition at line 1435 of file viewfrm.cxx.
References aHelper, AppendContainsMacrosInfobar(), AppendInfoBar(), AppendReadOnlyInfobar(), CHANGES_STR, weld::Button::connect_clicked(), comphelper::ConfigurationChanges::create(), CreateDoc, DANGER, SfxFrame::DoClose(), EMBEDDED, Enable(), SfxDispatcher::ExecuteList(), GetBindings(), SfxDispatcher::GetBindings(), GetDispatcher(), SfxViewShell::GetFormShell(), GetFrame(), vcl::Window::GetFrameWindow(), Application::GetHelp(), SfxHint::GetId(), vcl::Window::GetLOKNotifier(), vcl::CommandInfoProvider::GetModuleIdentifier(), SfxDispatcher::GetReadOnly_Impl(), GetWindow(), INFO, SfxBindings::Invalidate(), SfxBindings::InvalidateAll(), tools::SvRef< typename T >::is(), SfxClassificationHelper::IsClassified(), SfxShell::IsDesignMode(), SfxApplication::IsHeadlessOrUITest(), IsInModalMode(), utl::isProductVersionUpgraded(), SfxApplication::IsTipOfTheDayDue(), SfxDispatcher::IsUpdated_Impl(), LINK, m_pImpl, m_xObjSh, InfobarData::maInfobarType, InfobarData::mbShowCloseButton, ModifyChanged, InfobarData::msId, InfobarData::msPrimaryMessage, InfobarData::msSecondaryMessage, OpenDoc, vcl::Window::ReleaseLOKNotifier(), ReleaseObjectShell_Impl(), sfx2::SfxNotebookBar::ReloadNotebookBar(), weld::Button::set_label(), SfxDispatcher::SetReadOnly_Impl(), SfxResId(), SLOT, u, SfxDispatcher::Update_Impl(), and UpdateTitle().
Referenced by Construct_Impl(), and ReleaseObjectShell_Impl().
|
private |
Definition at line 1087 of file viewfrm.cxx.
References m_pDispatcher, POP_DELETE, POP_UNTIL, and SfxViewShell::PopSubShells_Impl().
Referenced by ReleaseObjectShell_Impl(), and SwitchToViewShell_Impl().
void SfxViewFrame::ReleaseObjectShell_Impl | ( | ) |
Definition at line 1121 of file viewfrm.cxx.
References tools::SvRef< typename T >::clear(), DBG_ASSERT, SfxViewShell::DisconnectAllClients(), EMBEDDED, SfxListener::EndListening(), GetDispatcher(), GetFrame(), SfxShell::GetViewShell(), GetWindow(), vcl::Window::GrabFocus(), tools::SvRef< typename T >::is(), m_pDispatcher, m_pImpl, m_xObjSh, NONE, Notify(), PopShellAndSubShells_Impl(), SfxFrame::ReleasingComponent_Impl(), SfxDispatcher::SetDisableFlags(), and SetViewShell_Impl().
Referenced by KillDispatcher_Impl(), Notify(), and ~SfxViewFrame().
void SfxViewFrame::RemoveInfoBar | ( | std::u16string_view | sId | ) |
Definition at line 3632 of file viewfrm.cxx.
References GetChildWindow(), SfxInfoBarContainerWindow::getInfoBar(), SfxChildWindow::GetWindow(), HasChildWindow(), nId, SfxInfoBarContainerWindow::removeInfoBar(), ShowChildWindow(), sId, and ToggleChildWindow().
Referenced by SfxObjectShell::CheckOut(), SfxObjectShell::ExecFile_Impl(), ExecReload_Impl(), SfxObjectShell::GetState_Impl(), SfxBaseController::removeInfobar(), and SfxClassificationHelper::UpdateInfobar().
void SfxViewFrame::Resize | ( | bool | bForce = false | ) |
Definition at line 2835 of file viewfrm.cxx.
References DoAdjustPosSizePixel(), GetFrame(), vcl::Window::GetOutputSizePixel(), vcl::Window::GetPosPixel(), SfxShell::GetViewShell(), GetWindow(), and m_pImpl.
Referenced by SfxBaseController::ConnectSfxFrame_Impl(), StyleList::FillTreeBox(), SfxFrameViewWindow_Impl::Resize(), SfxFrameViewWindow_Impl::StateChanged(), and StyleList::UpdateStyles().
|
private |
Definition at line 2388 of file viewfrm.cxx.
References Any, DBG_UNHANDLED_EXCEPTION, ENSURE_OR_RETURN_VOID, Exception, SfxViewFactory::GetAPIViewName(), SfxViewShell::GetController(), GetCurViewId(), SfxObjectShell::GetFactory(), SfxViewShell::GetObjectShell(), SfxViewFactory::GetOrdinal(), SfxObjectFactory::GetViewFactory(), SfxObjectFactory::GetViewFactoryByViewName(), SfxObjectFactory::GetViewNo_Impl(), SfxShell::GetViewShell(), i, nCount, SAL_WARN_IF, sViewId, SfxViewShell::WriteUserDataSequence(), and xController.
Referenced by SwitchToViewShell_Impl().
void SfxViewFrame::SetBorderPixelImpl | ( | const SfxViewShell * | pSh, |
const SvBorder & | rBorder | ||
) |
Definition at line 1220 of file viewfrm.cxx.
References tools::Rectangle::AdjustBottom(), Size::AdjustHeight(), tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), tools::Rectangle::AdjustTop(), Size::AdjustWidth(), SvBorder::Bottom(), GetFrame(), vcl::Window::GetOutputSizePixel(), vcl::Window::GetParent(), tools::Rectangle::GetSize(), GetWindow(), SfxViewShell::GetWindow(), Size::Height(), SvBorder::Left(), m_pImpl, SvBorder::Right(), vcl::Window::SetOutputSizePixel(), vcl::Window::SetPosSizePixel(), SvBorder::Top(), tools::Rectangle::TopLeft(), and Size::Width().
Referenced by SfxViewShell::SetBorderPixel().
void SfxViewFrame::SetChildWindow | ( | sal_uInt16 | nId, |
bool | bVisible, | ||
bool | bSetFocus = true |
||
) |
Definition at line 3531 of file viewfrm.cxx.
References GetWorkWindow_Impl(), nId, and SfxWorkWindow::SetChildWindow_Impl().
Referenced by ChildWindowExecute(), MiscExec_Impl(), and SfxBaseController::queryDispatch().
void SfxViewFrame::SetCurViewId_Impl | ( | const SfxInterfaceId | i_nID | ) |
Definition at line 2542 of file viewfrm.cxx.
References m_pImpl.
Referenced by SfxBaseModel::createViewController().
void SfxViewFrame::SetModalMode | ( | bool | bModal | ) |
Definition at line 2814 of file viewfrm.cxx.
References tools::SvRef< typename T >::get(), GetFirst(), GetNext(), tools::SvRef< typename T >::is(), comphelper::LibreOfficeKit::isActive(), m_pImpl, and m_xObjSh.
Referenced by IMPL_LINK().
|
static |
Definition at line 3583 of file viewfrm.cxx.
References m_pHelpData, m_pWinData, SetSVHelpData(), SetSVWinData(), SfxApplication::SetViewFrame_Impl(), and SfxGetpApp().
Referenced by Close(), SfxInPlaceClient::DeactivateObject(), MakeActive_Impl(), SfxObjectShell::PrepareClose(), and ~SfxViewFrame().
void SfxViewFrame::SetViewShell_Impl | ( | SfxViewShell * | pVSh | ) |
Definition at line 2074 of file viewfrm.cxx.
References m_pImpl, and SfxShell::SetViewShell_Impl().
Referenced by SfxBaseModel::createViewController(), and ReleaseObjectShell_Impl().
void SfxViewFrame::Show | ( | ) |
Definition at line 2135 of file viewfrm.cxx.
References GetDocNumber_Impl(), GetFrame(), SfxFrame::GetWindow(), GetWindow(), tools::SvRef< typename T >::is(), LockObjectShell_Impl(), m_pImpl, m_xObjSh, vcl::Window::Show(), and UpdateTitle().
Referenced by SfxFrame::Appear(), SfxBaseController::ConnectSfxFrame_Impl(), and SfxFrameViewWindow_Impl::StateChanged().
void SfxViewFrame::ShowChildWindow | ( | sal_uInt16 | nId, |
bool | bVisible = true |
||
) |
Definition at line 3557 of file viewfrm.cxx.
References bVisible, GetDispatcher(), GetWorkWindow_Impl(), nId, SfxWorkWindow::ShowChildWindow_Impl(), and SfxDispatcher::Update_Impl().
Referenced by AppendInfoBar(), ChildWindowExecute(), SfxApplication::MiscExec_Impl(), RemoveInfoBar(), sfx2::sidebar::Sidebar::ShowDeck(), and SfxInfoBarContainerChild::Update().
void SfxViewFrame::StateHistory_Impl | ( | SfxItemSet & | rSet | ) |
Definition at line 1023 of file viewfrm.cxx.
References SfxUndoManager::CanRepeat(), SfxItemSet::DisableItem(), SfxWhichIter::FirstWhich(), GetDispatcher(), SfxUndoManager::GetRedoAction(), SfxUndoManager::GetRedoActionComment(), SfxUndoManager::GetRedoActionCount(), SfxUndoManager::GetRepeatActionComment(), SfxUndoManager::GetRepeatActionCount(), SfxShell::GetRepeatTarget(), SfxDispatcher::GetShell(), SfxShell::GetSlotState(), SfxUndoManager::GetUndoAction(), SfxUndoManager::GetUndoActionComment(), SfxUndoManager::GetUndoActionCount(), SfxShell::GetUndoManager(), SfxShell::GetViewShell(), SfxUndoAction::GetViewShellId(), SfxViewShell::GetViewShellId(), SfxWhichIter::NextWhich(), SfxItemSet::Put(), rSet, and SvtResId().
void SfxViewFrame::StateReload_Impl | ( | SfxItemSet & | rSet | ) |
Definition at line 914 of file viewfrm.cxx.
References SfxObjectShell::CanReload_Impl(), SfxItemSet::DisableItem(), EMBEDDED, SfxWhichIter::FirstWhich(), SfxObjectShell::Get_Impl(), SfxObjectShell::GetCreateMode(), SfxViewShell::GetFormShell(), SfxItemSet::GetItem(), SfxMedium::GetItemSet(), SfxObjectShell::GetMedium(), GetObjectShell(), SfxBoolItem::GetValue(), SfxShell::GetViewShell(), SfxObjectShell::HasName(), SfxShell::IsDesignMode(), SfxObjectShell::isEditDocLocked(), SfxObjectShell::IsReadOnly(), MAINDOCUMENT, SfxWhichIter::NextWhich(), SfxObjectShell_Impl::nLoadedFlags, SfxItemSet::Put(), and rSet.
void SfxViewFrame::StateView_Impl | ( | SfxItemSet & | rSet | ) |
Definition at line 2709 of file viewfrm.cxx.
References SfxItemSet::DisableItem(), WhichRangesContainer::empty(), GetFactory(), SfxObjectShell::GetFactory(), GetObjectShell(), SfxViewFactory::GetOrdinal(), SfxItemSet::GetRanges(), SfxObjectFactory::GetViewFactory(), SfxShell::GetViewShell(), impl_maxOpenDocCountReached(), m_pImpl, SfxItemSet::Put(), and rSet.
|
private |
Definition at line 2469 of file viewfrm.cxx.
References DBG_ASSERT, DBG_UNHANDLED_EXCEPTION, DoAdjustPosSizePixel(), ENSURE_OR_THROW, GetBindings(), SfxObjectShell::GetFactory(), GetFrame(), GetObjectShell(), SfxViewFactory::GetOrdinal(), SfxObjectFactory::GetViewFactory(), SfxShell::GetViewShell(), GetWindow(), LoadViewIntoFrame_Impl(), LockAdjustPosSizePixel(), PopShellAndSubShells_Impl(), SfxViewShell::PrepareClose(), SaveCurrentViewData_Impl(), SfxGetpApp(), size, and UnlockAdjustPosSizePixel().
Referenced by ExecView_Impl().
void SfxViewFrame::ToggleChildWindow | ( | sal_uInt16 | nId | ) |
Definition at line 3538 of file viewfrm.cxx.
References GetWorkWindow_Impl(), nId, and SfxWorkWindow::ToggleChildWindow_Impl().
Referenced by ChildWindowExecute(), SfxApplication::MiscExec_Impl(), RemoveInfoBar(), and UpdateInfoBar().
void SfxViewFrame::ToTop | ( | ) |
Definition at line 2772 of file viewfrm.cxx.
References SfxFrame::Appear(), and GetFrame().
|
inline |
Definition at line 119 of file viewfrm.hxx.
Referenced by SfxBaseController::ConnectSfxFrame_Impl(), and SwitchToViewShell_Impl().
void SfxViewFrame::UpdateDocument_Impl | ( | ) |
Definition at line 3573 of file viewfrm.cxx.
References SfxObjectShell::CheckSecurityOnLoading_Impl(), GetObjectShell(), SfxObjectShell::IsLoadingFinished(), and SfxObjectShell::UpdateFromTemplate_Impl().
Referenced by SfxBaseModel::connectController(), and ExecReload_Impl().
void SfxViewFrame::UpdateInfoBar | ( | std::u16string_view | sId, |
const OUString & | sPrimaryMessage, | ||
const OUString & | sSecondaryMessage, | ||
InfobarType | eType | ||
) |
Definition at line 3612 of file viewfrm.cxx.
References eType, GetChildWindow(), SfxInfoBarContainerWindow::getInfoBar(), SfxChildWindow::GetWindow(), HasChildWindow(), nId, sId, and ToggleChildWindow().
Referenced by SfxObjectShell::GetState_Impl(), and SfxBaseController::updateInfobar().
void SfxViewFrame::UpdateTitle | ( | ) |
Definition at line 76 of file viewfrm2.cxx.
References aURL, GetBindings(), SfxObjectShell::GetFactory(), SfxObjectFactory::GetFactoryName(), GetFrame(), SfxObjectShell::GetMedium(), SfxMedium::GetName(), INetURLObject::getName(), GetObjectShell(), SfxObjectShell::HasName(), SfxBindings::Invalidate(), IsVisible(), INetURLObject::LAST_SEGMENT, m_pImpl, SfxShell::SetName(), and INetURLObject::WithCharset.
Referenced by SfxBaseModel::attachResource(), SfxBaseController::ConnectSfxFrame_Impl(), Notify(), and Show().
|
private |
Definition at line 58 of file viewfrm.hxx.
Referenced by InvalidateBorderImpl().
|
private |
Definition at line 55 of file viewfrm.hxx.
|
private |
Definition at line 60 of file viewfrm.hxx.
Referenced by MiscExec_Impl().
|
private |
Definition at line 54 of file viewfrm.hxx.
Referenced by Construct_Impl(), DoActivate(), DoDeactivate(), KillDispatcher_Impl(), PopShellAndSubShells_Impl(), and ReleaseObjectShell_Impl().
|
private |
Definition at line 56 of file viewfrm.hxx.
Referenced by SetViewFrame(), and ~SfxViewFrame().
|
private |
Definition at line 51 of file viewfrm.hxx.
Referenced by Construct_Impl(), Enable(), Exec_Impl(), ExecReload_Impl(), ForceOuterResize_Impl(), GetBorderPixelImpl(), GetCurViewId(), GetDocNumber_Impl(), GetFrame(), GetMargin_Impl(), GetState_Impl(), GetWindow(), IsInModalMode(), IsVisible(), LockObjectShell_Impl(), Notify(), ReleaseObjectShell_Impl(), Resize(), SetBorderPixelImpl(), SetCurViewId_Impl(), SetModalMode(), SetViewShell_Impl(), SfxViewFrame(), Show(), StateView_Impl(), UpdateTitle(), and ~SfxViewFrame().
|
private |
Definition at line 57 of file viewfrm.hxx.
Referenced by SetViewFrame(), and ~SfxViewFrame().
|
private |
Definition at line 53 of file viewfrm.hxx.
Referenced by AppendContainsMacrosInfobar(), AppendReadOnlyInfobar(), Construct_Impl(), GetActualPresentationURL_Impl(), GetObjectShell(), GetProgress(), KillDispatcher_Impl(), Notify(), ReleaseObjectShell_Impl(), SetModalMode(), and Show().