LibreOffice Module sfx2 (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
SfxFrame Class Referencefinal

#include <frame.hxx>

Inheritance diagram for SfxFrame:
[legend]
Collaboration diagram for SfxFrame:
[legend]

Public Member Functions

vcl::WindowGetWindow () const
 
void CancelTransfers ()
 
bool DoClose ()
 
void SetPresentationMode (bool bSet)
 
SystemWindowGetSystemWindow () const
 
SAL_WARN_UNUSED_RESULT SfxObjectShellGetCurrentDocument () const
 
SAL_WARN_UNUSED_RESULT SfxViewFrameGetCurrentViewFrame () const
 
bool GetHasTitle () const
 
void UpdateDescriptor (SfxObjectShell const *pDoc)
 
void Resize ()
 
const css::uno::Reference< css::frame::XFrame > & GetFrameInterface () const
 
void Appear ()
 
void AppearWithUpdate ()
 
css::uno::Reference< css::frame::XController > GetController () const
 
bool IsInPlace () const
 
SAL_DLLPRIVATE void DoClose_Impl ()
 
SAL_DLLPRIVATE void SetFrameInterface_Impl (const css::uno::Reference< css::frame::XFrame > &rFrame)
 
SAL_DLLPRIVATE void ReleasingComponent_Impl ()
 
SAL_DLLPRIVATE void GetViewData_Impl ()
 
SAL_DLLPRIVATE void SetHasTitle (bool)
 
SAL_DLLPRIVATE bool PrepareClose_Impl (bool bUI)
 
SAL_DLLPRIVATE bool DocIsModified_Impl ()
 
SAL_DLLPRIVATE void SetCurrentViewFrame_Impl (SfxViewFrame *)
 
bool IsClosing_Impl () const
 
SAL_DLLPRIVATE void SetIsClosing_Impl ()
 
SAL_DLLPRIVATE SfxFrameDescriptorGetDescriptor () const
 
SAL_DLLPRIVATE bool IsAutoLoadLocked_Impl () const
 
SAL_DLLPRIVATE void SetOwnsBindings_Impl (bool bSet)
 
SAL_DLLPRIVATE bool OwnsBindings_Impl () const
 
SAL_DLLPRIVATE SfxWorkWindowGetWorkWindow_Impl () const
 
SAL_DLLPRIVATE void SetToolSpaceBorderPixel_Impl (const SvBorder &)
 
SAL_DLLPRIVATE tools::Rectangle GetTopOuterRectPixel_Impl () const
 
SAL_DLLPRIVATE void CreateWorkWindow_Impl ()
 
SAL_DLLPRIVATE void GrabFocusOnComponent_Impl ()
 
SAL_DLLPRIVATE void PrepareForDoc_Impl (const SfxObjectShell &i_rDoc)
 
SAL_DLLPRIVATE void LockResize_Impl (bool bLock)
 
SAL_DLLPRIVATE void SetMenuBarOn_Impl (bool bOn)
 
SAL_DLLPRIVATE bool IsMenuBarOn_Impl () const
 
SAL_DLLPRIVATE SystemWindowGetTopWindow_Impl () const
 
SAL_DLLPRIVATE bool IsMarkedHidden_Impl () const
 
- Public Member Functions inherited from SvCompatWeakBase< SfxFrame >
 SvCompatWeakBase (T *pObj)
 
 ~SvCompatWeakBase ()
 
SvCompatWeakHdl< T > * GetHdl ()
 

Static Public Member Functions

static SfxFrameCreate (const css::uno::Reference< css::frame::XFrame > &xFrame)
 
static css::uno::Reference< css::frame::XFrame > CreateBlankFrame ()
 
static SfxFrameCreateHidden (SfxObjectShell const &rDoc, vcl::Window &rWindow, SfxInterfaceId nViewId)
 
static SAL_WARN_UNUSED_RESULT SfxFrameGetFirst ()
 
static SAL_WARN_UNUSED_RESULT SfxFrameGetNext (SfxFrame &)
 
static void GetDefaultTargetList (TargetList &)
 
static SAL_DLLPRIVATE void InsertTopFrame_Impl (SfxFrame *pFrame)
 
static SAL_DLLPRIVATE void RemoveTopFrame_Impl (SfxFrame *pFrame)
 

Private Member Functions

virtual ~SfxFrame ()
 
SAL_DLLPRIVATE SfxFrame (vcl::Window &i_rContainerWindow)
 
SAL_DLLPRIVATE void Construct_Impl ()
 

Private Attributes

std::unique_ptr< SfxFrame_Implm_pImpl
 
VclPtr< vcl::Windowm_pWindow
 

Friends

class SfxFrameIterator
 
class SfxFrameWindow_Impl
 

Detailed Description

Definition at line 66 of file frame.hxx.

Constructor & Destructor Documentation

◆ ~SfxFrame()

SfxFrame::~SfxFrame ( )
privatevirtual

◆ SfxFrame()

SfxFrame::SfxFrame ( vcl::Window i_rContainerWindow)
private

Member Function Documentation

◆ Appear()

void SfxFrame::Appear ( )

◆ AppearWithUpdate()

void SfxFrame::AppearWithUpdate ( )

◆ CancelTransfers()

void SfxFrame::CancelTransfers ( )

◆ Construct_Impl()

void SfxFrame::Construct_Impl ( )
private

Definition at line 70 of file frame.cxx.

References gaFramesArr_Impl, and m_pImpl.

Referenced by SfxFrame().

◆ Create()

SfxFrame * SfxFrame::Create ( const css::uno::Reference< css::frame::XFrame > &  xFrame)
static

◆ CreateBlankFrame()

Reference< XFrame > SfxFrame::CreateBlankFrame ( )
static

Definition at line 209 of file frame2.cxx.

References DBG_UNHANDLED_EXCEPTION, Exception, and xFrame.

Referenced by SfxApplication::OfaExec_Impl().

◆ CreateHidden()

SfxFrame * SfxFrame::CreateHidden ( SfxObjectShell const &  rDoc,
vcl::Window rWindow,
SfxInterfaceId  nViewId 
)
static

◆ CreateWorkWindow_Impl()

void SfxFrame::CreateWorkWindow_Impl ( )

◆ DocIsModified_Impl()

bool SfxFrame::DocIsModified_Impl ( )

Definition at line 149 of file frame.cxx.

References m_pImpl.

Referenced by SfxViewFrame::ExecReload_Impl().

◆ DoClose()

bool SfxFrame::DoClose ( )

Definition at line 89 of file frame.cxx.

References CancelTransfers(), DoClose_Impl(), m_pImpl, and xFrame.

Referenced by SfxViewFrame::DoClose(), and SfxViewFrame::Notify().

◆ DoClose_Impl()

void SfxFrame::DoClose_Impl ( )

Definition at line 127 of file frame.cxx.

References m_pImpl.

Referenced by SfxBaseController::dispose(), and DoClose().

◆ GetController()

css::uno::Reference< css::frame::XController > SfxFrame::GetController ( ) const

◆ GetCurrentDocument()

SfxObjectShell * SfxFrame::GetCurrentDocument ( ) const

◆ GetCurrentViewFrame()

SfxViewFrame * SfxFrame::GetCurrentViewFrame ( ) const

◆ GetDefaultTargetList()

void SfxFrame::GetDefaultTargetList ( TargetList rList)
static

Definition at line 356 of file frame.cxx.

Referenced by SfxViewFrame::GetTargetList().

◆ GetDescriptor()

SfxFrameDescriptor * SfxFrame::GetDescriptor ( ) const

Definition at line 341 of file frame.cxx.

References DBG_ASSERT, GetCurrentDocument(), and m_pImpl.

Referenced by GetViewData_Impl(), and UpdateDescriptor().

◆ GetFirst()

SfxFrame * SfxFrame::GetFirst ( )
static

◆ GetFrameInterface()

const css::uno::Reference< css::frame::XFrame > & SfxFrame::GetFrameInterface ( ) const

Definition at line 515 of file frame.cxx.

References m_pImpl.

Referenced by SfxViewFrame::AddDispatchMacroToBasic_Impl(), SfxShell::BroadcastContextForActivation(), SfxViewFrame::ChildWindowExecute(), SfxViewFrame::ChildWindowState(), SfxApplication::ChooseScript(), SfxBaseController::ConnectSfxFrame_Impl(), sfx2::sidebar::SidebarController::create(), CreateHidden(), CreateWorkWindow_Impl(), SfxDispatchController_Impl::dispatch(), SfxDispatcher::DoDeactivate_Impl(), SfxFrameWindow_Impl::EventNotify(), SfxViewShell::ExecKey_Impl(), SfxViewShell::ExecMisc_Impl(), SfxViewFrame::ExecReload_Impl(), SfxEvents_Impl::Execute(), SfxBaseModel::FindOrCreateViewFrame_Impl(), SfxBindings::GetActiveFrame(), SfxObjectShell::GetDialogParent(), SfxFrameWindow_Impl::GetFocus(), SfxInPlaceClient_Impl::GetFrame(), SfxWorkWindow::GetFrameInterface(), SfxRequest::GetMacroRecorder(), SfxModule::GetModuleFieldUnit(), SfxMacroLoader::GetObjectShell(), SfxBaseController::getSidebar(), GetSlotDispatchWithFallback(), SfxStateCache::GetSlotServer(), SfxViewShell::GetState_Impl(), SfxDispatcher::HideUI(), IMPL_LINK_NOARG(), SfxWorkWindow::InitializeChild_Impl(), lcl_getWorkWindowFromXFrame(), SfxViewFrame::LoadDocumentIntoFrame(), SfxViewFrame::MakeActive_Impl(), SfxApplication::MiscExec_Impl(), SfxViewFrame::MiscExec_Impl(), SfxApplication::OpenDocExec_Impl(), SfxFrameItem::PutValue(), RefreshToolbars(), SfxBindings::SetActiveFrame(), SfxBindings::SetDispatcher(), SfxDispatcher::SetMenu_Impl(), SetMenuBarOn_Impl(), SetPresentationMode(), SfxLokHelper::setView(), SfxBaseModel::setVisualAreaSize(), SfxDockingWrapper::SfxDockingWrapper(), SfxPartDockWnd_Impl::SfxPartDockWnd_Impl(), sfx2::sidebar::Sidebar::ShowDeck(), sfx2::SfxNotebookBar::ShowMenubar(), SfxRedactionHelper::showRedactionToolbar(), NotebookbarTabControl::StateChanged(), sfx2::SfxNotebookBar::StateMethod(), StyleList::StyleList(), sfx2::SfxNotebookBar::ToggleMenubar(), and SfxViewShell::UIActivating().

◆ GetHasTitle()

bool SfxFrame::GetHasTitle ( ) const

Definition at line 262 of file frame.cxx.

References m_pImpl.

◆ GetNext()

SfxFrame * SfxFrame::GetNext ( SfxFrame rFrame)
static

◆ GetSystemWindow()

SystemWindow * SfxFrame::GetSystemWindow ( ) const

◆ GetTopOuterRectPixel_Impl()

tools::Rectangle SfxFrame::GetTopOuterRectPixel_Impl ( ) const

Definition at line 582 of file frame.cxx.

References GetWindow().

Referenced by SfxWorkWindow::GetTopRect_Impl().

◆ GetTopWindow_Impl()

SystemWindow * SfxFrame::GetTopWindow_Impl ( ) const

Definition at line 341 of file frame2.cxx.

References m_pImpl.

Referenced by GetSystemWindow(), and SfxViewFrame::MiscState_Impl().

◆ GetViewData_Impl()

void SfxFrame::GetViewData_Impl ( )

◆ GetWindow()

vcl::Window & SfxFrame::GetWindow ( ) const
inline

◆ GetWorkWindow_Impl()

SfxWorkWindow * SfxFrame::GetWorkWindow_Impl ( ) const

◆ GrabFocusOnComponent_Impl()

void SfxFrame::GrabFocusOnComponent_Impl ( )

◆ InsertTopFrame_Impl()

void SfxFrame::InsertTopFrame_Impl ( SfxFrame pFrame)
static

Definition at line 366 of file frame.cxx.

References SfxApplication::Get_Impl(), SfxGetpApp(), and SfxAppData_Impl::vTopFrames.

Referenced by SfxFrame().

◆ IsAutoLoadLocked_Impl()

bool SfxFrame::IsAutoLoadLocked_Impl ( ) const

Definition at line 239 of file frame.cxx.

References GetCurrentDocument(), and SfxObjectShell::IsAutoLoadLocked().

Referenced by SfxViewFrame::ExecReload_Impl().

◆ IsClosing_Impl()

bool SfxFrame::IsClosing_Impl ( ) const

◆ IsInPlace()

bool SfxFrame::IsInPlace ( ) const

◆ IsMarkedHidden_Impl()

bool SfxFrame::IsMarkedHidden_Impl ( ) const

Definition at line 401 of file frame2.cxx.

References m_pImpl.

Referenced by SfxBaseController::ConnectSfxFrame_Impl().

◆ IsMenuBarOn_Impl()

bool SfxFrame::IsMenuBarOn_Impl ( ) const

Definition at line 379 of file frame2.cxx.

References m_pImpl.

Referenced by SfxDispatcher::HideUI(), and SfxDispatcher::SetMenu_Impl().

◆ LockResize_Impl()

void SfxFrame::LockResize_Impl ( bool  bLock)

Definition at line 350 of file frame2.cxx.

References m_pImpl.

Referenced by SfxInPlaceClient::DeactivateObject(), and SfxInPlaceClient::DoVerb().

◆ OwnsBindings_Impl()

bool SfxFrame::OwnsBindings_Impl ( ) const

Definition at line 553 of file frame.cxx.

References m_pImpl.

Referenced by SfxBaseController::dispose(), and Resize().

◆ PrepareClose_Impl()

bool SfxFrame::PrepareClose_Impl ( bool  bUI)

◆ PrepareForDoc_Impl()

void SfxFrame::PrepareForDoc_Impl ( const SfxObjectShell i_rDoc)

◆ ReleasingComponent_Impl()

void SfxFrame::ReleasingComponent_Impl ( )

Definition at line 652 of file frame.cxx.

References m_pImpl.

Referenced by SfxViewFrame::ReleaseObjectShell_Impl().

◆ RemoveTopFrame_Impl()

void SfxFrame::RemoveTopFrame_Impl ( SfxFrame pFrame)
static

Definition at line 372 of file frame.cxx.

References SfxApplication::Get_Impl(), SfxGetpApp(), and SfxAppData_Impl::vTopFrames.

Referenced by ~SfxFrame().

◆ Resize()

void SfxFrame::Resize ( )

◆ SetCurrentViewFrame_Impl()

void SfxFrame::SetCurrentViewFrame_Impl ( SfxViewFrame pFrame)

Definition at line 257 of file frame.cxx.

References m_pImpl.

Referenced by SfxViewFrame::SfxViewFrame(), and SfxViewFrame::~SfxViewFrame().

◆ SetFrameInterface_Impl()

void SfxFrame::SetFrameInterface_Impl ( const css::uno::Reference< css::frame::XFrame > &  rFrame)

◆ SetHasTitle()

void SfxFrame::SetHasTitle ( bool  n)

Definition at line 267 of file frame.cxx.

References m_pImpl, and n.

Referenced by SfxViewFrame::SfxViewFrame().

◆ SetIsClosing_Impl()

void SfxFrame::SetIsClosing_Impl ( )

Definition at line 202 of file frame.cxx.

References m_pImpl.

Referenced by SfxBaseController::dispose().

◆ SetMenuBarOn_Impl()

void SfxFrame::SetMenuBarOn_Impl ( bool  bOn)

Definition at line 355 of file frame2.cxx.

References Any, GetFrameInterface(), and m_pImpl.

Referenced by SfxBaseModel::createViewController(), and SetPresentationMode().

◆ SetOwnsBindings_Impl()

void SfxFrame::SetOwnsBindings_Impl ( bool  bSet)

Definition at line 548 of file frame.cxx.

References m_pImpl.

Referenced by SfxViewFrame::SfxViewFrame().

◆ SetPresentationMode()

void SfxFrame::SetPresentationMode ( bool  bSet)

◆ SetToolSpaceBorderPixel_Impl()

void SfxFrame::SetToolSpaceBorderPixel_Impl ( const SvBorder rBorder)

◆ UpdateDescriptor()

void SfxFrame::UpdateDescriptor ( SfxObjectShell const *  pDoc)

Friends And Related Function Documentation

◆ SfxFrameIterator

friend class SfxFrameIterator
friend

Definition at line 68 of file frame.hxx.

◆ SfxFrameWindow_Impl

friend class SfxFrameWindow_Impl
friend

Definition at line 69 of file frame.hxx.

Member Data Documentation

◆ m_pImpl

std::unique_ptr< SfxFrame_Impl > SfxFrame::m_pImpl
private

◆ m_pWindow

VclPtr<vcl::Window> SfxFrame::m_pWindow
private

Definition at line 73 of file frame.hxx.

Referenced by SfxFrame(), and ~SfxFrame().


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