LibreOffice Module sfx2 (master) 1
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
SfxChildWindow Class Reference

#include <childwin.hxx>

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

Public Member Functions

virtual ~SfxChildWindow ()
 
void Destroy ()
 
vcl::WindowGetWindow () const
 
void SetController (std::shared_ptr< SfxDialogController > controller)
 
void ClearController ()
 
std::shared_ptr< SfxDialogController > & GetController ()
 
const std::shared_ptr< SfxDialogController > & GetController () const
 
vcl::WindowGetParent () const
 
SfxChildAlignment GetAlignment () const
 
void SetAlignment (SfxChildAlignment eAlign)
 
virtual void Hide ()
 
virtual void Show (ShowFlags nFlags)
 
sal_uInt16 GetPosition () const
 
sal_uInt16 GetType () const
 
virtual SfxChildWinInfo GetInfo () const
 
void SaveStatus (const SfxChildWinInfo &rInfo)
 
void SetHideNotDelete (bool bOn)
 
bool IsHideNotDelete () const
 
bool IsVisible () const
 
void SetWantsFocus (bool)
 
bool WantsFocus () const
 
virtual bool QueryClose ()
 
const css::uno::Reference< css::frame::XFrame > & GetFrame () const
 
void SetFrame (const css::uno::Reference< css::frame::XFrame > &)
 
void SetVisible_Impl (bool bVis)
 
SAL_DLLPRIVATE void SetWorkWindow_Impl (SfxWorkWindow *)
 
SAL_DLLPRIVATE void Activate_Impl ()
 
SAL_DLLPRIVATE void SetFactory_Impl (const SfxChildWinFactory *)
 

Static Public Member Functions

static void RegisterChildWindow (SfxModule *, const SfxChildWinFactory &)
 
static std::unique_ptr< SfxChildWindowCreateChildWindow (sal_uInt16, vcl::Window *, SfxBindings *, SfxChildWinInfo const &)
 
static SAL_DLLPRIVATE void InitializeChildWinFactory_Impl (sal_uInt16, SfxChildWinInfo &)
 

Protected Member Functions

void SetWindow (const VclPtr< vcl::Window > &p)
 
 SfxChildWindow (vcl::Window *pParentWindow, sal_uInt16 nId)
 

Private Member Functions

SAL_DLLPRIVATE void ClearWorkwin ()
 

Private Attributes

VclPtr< vcl::WindowpParent
 
VclPtr< vcl::WindowpWindow
 
std::unique_ptr< SfxChildWindow_ImplpImpl
 
std::shared_ptr< SfxDialogControllerxController
 
SfxChildAlignment eChildAlignment
 
sal_uInt16 nType
 

Detailed Description

Definition at line 99 of file childwin.hxx.

Constructor & Destructor Documentation

◆ SfxChildWindow()

SfxChildWindow::SfxChildWindow ( vcl::Window pParentWindow,
sal_uInt16  nId 
)
protected

Definition at line 146 of file childwin.cxx.

References nId, NOALIGNMENT, nType, and pImpl.

◆ ~SfxChildWindow()

SfxChildWindow::~SfxChildWindow ( )
virtual

Member Function Documentation

◆ Activate_Impl()

void SfxChildWindow::Activate_Impl ( )

Definition at line 559 of file childwin.cxx.

References pImpl, and pWindow.

Referenced by SfxDockingWindow::EventNotify().

◆ ClearController()

void SfxChildWindow::ClearController ( )
inline

Definition at line 120 of file childwin.hxx.

References xController.

◆ ClearWorkwin()

void SfxChildWindow::ClearWorkwin ( )
private

Definition at line 179 of file childwin.cxx.

References pImpl, and pWindow.

Referenced by Destroy(), and ~SfxChildWindow().

◆ CreateChildWindow()

std::unique_ptr< SfxChildWindow > SfxChildWindow::CreateChildWindow ( sal_uInt16  nId,
vcl::Window pParent,
SfxBindings pBindings,
SfxChildWinInfo const &  rInfo 
)
static

◆ Destroy()

void SfxChildWindow::Destroy ( )

◆ GetAlignment()

SfxChildAlignment SfxChildWindow::GetAlignment ( ) const
inline

◆ GetController() [1/2]

std::shared_ptr< SfxDialogController > & SfxChildWindow::GetController ( )
inline

◆ GetController() [2/2]

const std::shared_ptr< SfxDialogController > & SfxChildWindow::GetController ( ) const
inline

Definition at line 122 of file childwin.hxx.

References xController.

◆ GetFrame()

const css::uno::Reference< css::frame::XFrame > & SfxChildWindow::GetFrame ( ) const

◆ GetInfo()

SfxChildWinInfo SfxChildWindow::GetInfo ( ) const
virtual

◆ GetParent()

vcl::Window * SfxChildWindow::GetParent ( ) const
inline

Definition at line 123 of file childwin.hxx.

◆ GetPosition()

sal_uInt16 SfxChildWindow::GetPosition ( ) const

Definition at line 346 of file childwin.cxx.

References pImpl.

Referenced by SfxWorkWindow::CreateChildWin_Impl().

◆ GetType()

sal_uInt16 SfxChildWindow::GetType ( ) const
inline

◆ GetWindow()

vcl::Window * SfxChildWindow::GetWindow ( ) const
inline

◆ Hide()

void SfxChildWindow::Hide ( )
virtual

◆ InitializeChildWinFactory_Impl()

void SfxChildWindow::InitializeChildWinFactory_Impl ( sal_uInt16  nId,
SfxChildWinInfo rInfo 
)
static

◆ IsHideNotDelete()

bool SfxChildWindow::IsHideNotDelete ( ) const

Definition at line 436 of file childwin.cxx.

References pImpl.

Referenced by SfxWorkWindow::UpdateChildWindows_Impl().

◆ IsVisible()

bool SfxChildWindow::IsVisible ( ) const

Definition at line 501 of file childwin.cxx.

References pImpl.

Referenced by sfx2::sidebar::Sidebar::ShowDeck().

◆ QueryClose()

bool SfxChildWindow::QueryClose ( )
virtual

◆ RegisterChildWindow()

void SfxChildWindow::RegisterChildWindow ( SfxModule pMod,
const SfxChildWinFactory rFact 
)
static

◆ SaveStatus()

void SfxChildWindow::SaveStatus ( const SfxChildWinInfo rInfo)

◆ SetAlignment()

void SfxChildWindow::SetAlignment ( SfxChildAlignment  eAlign)

◆ SetController()

void SfxChildWindow::SetController ( std::shared_ptr< SfxDialogController controller)
inline

Definition at line 119 of file childwin.hxx.

References xController.

Referenced by SfxRecordingFloatWrapper_Impl::SfxRecordingFloatWrapper_Impl().

◆ SetFactory_Impl()

void SfxChildWindow::SetFactory_Impl ( const SfxChildWinFactory pF)

Definition at line 426 of file childwin.cxx.

References pImpl.

◆ SetFrame()

void SfxChildWindow::SetFrame ( const css::uno::Reference< css::frame::XFrame > &  rFrame)

Definition at line 595 of file childwin.cxx.

References pImpl.

Referenced by SfxPartDockWnd_Impl::SfxPartDockWnd_Impl().

◆ SetHideNotDelete()

void SfxChildWindow::SetHideNotDelete ( bool  bOn)

◆ SetVisible_Impl()

void SfxChildWindow::SetVisible_Impl ( bool  bVis)

Definition at line 506 of file childwin.cxx.

References pImpl.

Referenced by SfxWorkWindow::ShowChildWindow_Impl(), and SfxWorkWindow::ToggleChildWindow_Impl().

◆ SetWantsFocus()

void SfxChildWindow::SetWantsFocus ( bool  bSet)

Definition at line 441 of file childwin.cxx.

References pImpl.

Referenced by SfxRecordingFloatWrapper_Impl::SfxRecordingFloatWrapper_Impl().

◆ SetWindow()

void SfxChildWindow::SetWindow ( const VclPtr< vcl::Window > &  p)
inlineprotected

◆ SetWorkWindow_Impl()

void SfxChildWindow::SetWorkWindow_Impl ( SfxWorkWindow pWin)

Definition at line 546 of file childwin.cxx.

References pImpl, pWindow, and xController.

Referenced by SfxWorkWindow::CreateChildWin_Impl().

◆ Show()

void SfxChildWindow::Show ( ShowFlags  nFlags)
virtual

◆ WantsFocus()

bool SfxChildWindow::WantsFocus ( ) const

Definition at line 446 of file childwin.cxx.

References pImpl.

Referenced by SfxWorkWindow::CreateChildWin_Impl(), and SfxWorkWindow::ShowChildWindow_Impl().

Member Data Documentation

◆ eChildAlignment

SfxChildAlignment SfxChildWindow::eChildAlignment
private

Definition at line 105 of file childwin.hxx.

Referenced by SetAlignment().

◆ nType

sal_uInt16 SfxChildWindow::nType
private

Definition at line 107 of file childwin.hxx.

◆ pImpl

std::unique_ptr< SfxChildWindow_Impl> SfxChildWindow::pImpl
private

◆ pParent

VclPtr<vcl::Window> SfxChildWindow::pParent
private

Definition at line 101 of file childwin.hxx.

Referenced by CreateChildWindow().

◆ pWindow

VclPtr<vcl::Window> SfxChildWindow::pWindow
private

◆ xController

std::shared_ptr<SfxDialogController> SfxChildWindow::xController
private

Definition at line 104 of file childwin.hxx.

Referenced by GetInfo(), Hide(), SetWorkWindow_Impl(), Show(), and ~SfxChildWindow().


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