LibreOffice Module vcl (master) 1
Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
SvpSalFrame Class Reference

#include <svpframe.hxx>

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

Public Member Functions

 SvpSalFrame (SvpSalInstance *pInstance, SalFrame *pParent, SalFrameStyleFlags nSalFrameStyle)
 
virtual ~SvpSalFrame () override
 
void GetFocus ()
 
void LoseFocus ()
 
void PostPaint () const
 
const OUString & title () const
 
SalFrameStyleFlags style () const
 
bool isVisible () const
 
bool hasFocus () const
 
virtual SalGraphicsAcquireGraphics () override
 
virtual void ReleaseGraphics (SalGraphics *pGraphics) override
 
virtual bool PostEvent (std::unique_ptr< ImplSVEvent > pData) override
 
virtual void SetTitle (const OUString &rTitle) override
 
virtual void SetIcon (sal_uInt16 nIcon) override
 
virtual void SetMenu (SalMenu *pMenu) override
 
virtual void SetExtendedFrameStyle (SalExtStyle nExtStyle) override
 
virtual void Show (bool bVisible, bool bNoActivate=false) override
 
virtual void SetMinClientSize (tools::Long nWidth, tools::Long nHeight) override
 
virtual void SetMaxClientSize (tools::Long nWidth, tools::Long nHeight) override
 
virtual void SetPosSize (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, sal_uInt16 nFlags) override
 
virtual void GetClientSize (tools::Long &rWidth, tools::Long &rHeight) override
 
virtual void GetWorkArea (tools::Rectangle &rRect) override
 
virtual SalFrameGetParent () const override
 
virtual void SetWindowState (const vcl::WindowData *) override
 
virtual bool GetWindowState (vcl::WindowData *) override
 
virtual void ShowFullScreen (bool bFullScreen, sal_Int32 nDisplay) override
 
virtual void StartPresentation (bool bStart) override
 
virtual void SetAlwaysOnTop (bool bOnTop) override
 
virtual void ToTop (SalFrameToTop nFlags) override
 
virtual void SetPointer (PointerStyle ePointerStyle) override
 
virtual void CaptureMouse (bool bMouse) override
 
virtual void SetPointerPos (tools::Long nX, tools::Long nY) override
 
virtual void Flush () override
 
virtual void SetInputContext (SalInputContext *pContext) override
 
virtual void EndExtTextInput (EndExtTextInputFlags nFlags) override
 
virtual OUString GetKeyName (sal_uInt16 nKeyCode) override
 
virtual bool MapUnicodeToKeyCode (sal_Unicode aUnicode, LanguageType aLangType, vcl::KeyCode &rKeyCode) override
 
virtual LanguageType GetInputLanguage () override
 
virtual void UpdateSettings (AllSettings &rSettings) override
 
virtual void Beep () override
 
virtual const SystemEnvDataGetSystemData () const override
 
virtual SalPointerState GetPointerState () override
 
virtual KeyIndicatorState GetIndicatorState () override
 
virtual void SimulateKeyPress (sal_uInt16 nKeyCode) override
 
virtual void SetParent (SalFrame *pNewParent) override
 
virtual void SetPluginParent (SystemParentData *pNewParent) override
 
virtual void ResetClipRegion () override
 
virtual void BeginSetClipRegion (sal_uInt32 nRects) override
 
virtual void UnionClipRegion (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight) override
 
virtual void EndSetClipRegion () override
 
virtual void SetScreenNumber (unsigned int) override
 
virtual void SetApplicationID (const OUString &) override
 
virtual void Flush ()=0
 
virtual void Flush (const tools::Rectangle &)
 
- Public Member Functions inherited from SalFrame
 SalFrame ()
 
virtual ~SalFrame () override
 
virtual tools::Long GetWidth () const override
 
virtual tools::Long GetHeight () const override
 
virtual bool IsOffScreen () const override
 
virtual SalGraphicsAcquireGraphics ()=0
 
virtual void ReleaseGraphics (SalGraphics *pGraphics)=0
 
virtual bool PostEvent (std::unique_ptr< ImplSVEvent > pData)=0
 
virtual void SetTitle (const OUString &rTitle)=0
 
virtual void SetIcon (sal_uInt16 nIcon)=0
 
virtual void SetRepresentedURL (const OUString &)
 
virtual void SetMenu (SalMenu *pSalMenu)=0
 
virtual void SetExtendedFrameStyle (SalExtStyle nExtStyle)=0
 
virtual void Show (bool bVisible, bool bNoActivate=false)=0
 
virtual void SetMinClientSize (tools::Long nWidth, tools::Long nHeight)=0
 
virtual void SetMaxClientSize (tools::Long nWidth, tools::Long nHeight)=0
 
virtual void SetPosSize (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, sal_uInt16 nFlags)=0
 
virtual void GetClientSize (tools::Long &rWidth, tools::Long &rHeight)=0
 
virtual void GetWorkArea (tools::Rectangle &rRect)=0
 
virtual SalFrameGetParent () const =0
 
SalFrameGeometry GetGeometry () const
 
const SalFrameGeometryGetUnmirroredGeometry () const
 
virtual void SetWindowState (const vcl::WindowData *)=0
 
virtual bool GetWindowState (vcl::WindowData *)=0
 
virtual void ShowFullScreen (bool bFullScreen, sal_Int32 nDisplay)=0
 
virtual void PositionByToolkit (const tools::Rectangle &, FloatWinPopupFlags)
 
virtual void StartPresentation (bool bStart)=0
 
virtual void SetAlwaysOnTop (bool bOnTop)=0
 
virtual void ToTop (SalFrameToTop nFlags)=0
 
virtual void GrabFocus ()
 
virtual void SetPointer (PointerStyle ePointerStyle)=0
 
virtual void CaptureMouse (bool bMouse)=0
 
virtual void SetPointerPos (tools::Long nX, tools::Long nY)=0
 
virtual void Flush ()=0
 
virtual void Flush (const tools::Rectangle &)
 
virtual void SetInputContext (SalInputContext *pContext)=0
 
virtual void EndExtTextInput (EndExtTextInputFlags nFlags)=0
 
virtual OUString GetKeyName (sal_uInt16 nKeyCode)=0
 
virtual bool MapUnicodeToKeyCode (sal_Unicode aUnicode, LanguageType aLangType, vcl::KeyCode &rKeyCode)=0
 
virtual LanguageType GetInputLanguage ()=0
 
virtual void UpdateSettings (AllSettings &rSettings)=0
 
virtual void Beep ()=0
 
virtual const SystemEnvDataGetSystemData () const =0
 
virtual void ResolveWindowHandle (SystemEnvData &) const
 
virtual SalPointerState GetPointerState ()=0
 
virtual KeyIndicatorState GetIndicatorState ()=0
 
virtual void SimulateKeyPress (sal_uInt16 nKeyCode)=0
 
virtual void SetParent (SalFrame *pNewParent)=0
 
virtual void SetPluginParent (SystemParentData *pNewParent)=0
 
virtual void SetScreenNumber (unsigned int nScreen)=0
 
virtual void SetApplicationID (const OUString &rApplicationID)=0
 
virtual void ResetClipRegion ()=0
 
virtual void BeginSetClipRegion (sal_uInt32 nRects)=0
 
virtual void UnionClipRegion (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight)=0
 
virtual void EndSetClipRegion ()=0
 
virtual void SetModal (bool)
 
virtual bool GetModal () const
 
virtual bool ShowTooltip (const OUString &, const tools::Rectangle &)
 
virtual void * ShowPopover (const OUString &, vcl::Window *, const tools::Rectangle &, QuickHelpFlags)
 
virtual bool UpdatePopover (void *, const OUString &, vcl::Window *, const tools::Rectangle &)
 
virtual bool HidePopover (void *)
 
virtual weld::WindowGetFrameWeld () const
 
void SetCallback (vcl::Window *pWindow, SALFRAMEPROC pProc)
 
vcl::WindowGetWindow () const
 
void SetModalHierarchyHdl (const Link< bool, void > &rLink)
 
void NotifyModalHierarchy (bool bModal)
 
virtual void UpdateDarkMode ()
 
virtual bool GetUseDarkMode () const
 
virtual bool GetUseReducedAnimation () const
 
bool CallCallback (SalEvent nEvent, const void *pEvent) const
 
- Public Member Functions inherited from vcl::DeletionNotifier
void addDel (DeletionListener *pListener)
 
void removeDel (DeletionListener *pListener)
 
- Public Member Functions inherited from SalGeometryProvider
virtual ~SalGeometryProvider ()
 
virtual tools::Long GetWidth () const =0
 
virtual tools::Long GetHeight () const =0
 
virtual bool IsOffScreen () const =0
 

Private Member Functions

basegfx::B2IVector GetSurfaceFrameSize () const
 

Private Attributes

SvpSalInstancem_pInstance
 
SvpSalFramem_pParent
 
std::vector< SvpSalFrame * > m_aChildren
 
SalFrameStyleFlags m_nStyle
 
bool m_bVisible
 
cairo_surface_tm_pSurface
 
tools::Long m_nMinWidth
 
tools::Long m_nMinHeight
 
tools::Long m_nMaxWidth
 
tools::Long m_nMaxHeight
 
SystemEnvData m_aSystemChildData
 
std::vector< SvpSalGraphics * > m_aGraphics
 
OUString m_sTitle
 

Static Private Attributes

static SvpSalFrames_pFocusFrame
 

Additional Inherited Members

- Static Public Member Functions inherited from SalFrame
static OUString DumpSetPosSize (tools::Long nX, tools::Long nY, tools::Long nWidth, tools::Long nHeight, sal_uInt16 nFlags)
 
static Selection CalcDeleteSurroundingSelection (const OUString &rSurroundingText, sal_Int32 nCursorIndex, int nOffset, int nChars)
 
- Public Attributes inherited from SalFrame
SalFrameGeometry maGeometry
 absolute, unmirrored values More...
 
- Protected Member Functions inherited from vcl::DeletionNotifier
 DeletionNotifier ()
 
 ~DeletionNotifier ()
 
void notifyDelete ()
 
- Protected Attributes inherited from SalFrame
std::unique_ptr< weld::Windowm_xFrameWeld
 

Detailed Description

Definition at line 38 of file svpframe.hxx.

Constructor & Destructor Documentation

◆ SvpSalFrame()

SvpSalFrame::SvpSalFrame ( SvpSalInstance pInstance,
SalFrame pParent,
SalFrameStyleFlags  nSalFrameStyle 
)

◆ ~SvpSalFrame()

virtual SvpSalFrame::~SvpSalFrame ( )
overridevirtual

Member Function Documentation

◆ AcquireGraphics()

virtual SalGraphics * SvpSalFrame::AcquireGraphics ( )
overridevirtual

Implements SalFrame.

◆ Beep()

virtual void SvpSalFrame::Beep ( )
overridevirtual

Implements SalFrame.

◆ BeginSetClipRegion()

virtual void SvpSalFrame::BeginSetClipRegion ( sal_uInt32  nRects)
overridevirtual

Implements SalFrame.

◆ CaptureMouse()

virtual void SvpSalFrame::CaptureMouse ( bool  bMouse)
overridevirtual

Implements SalFrame.

◆ EndExtTextInput()

virtual void SvpSalFrame::EndExtTextInput ( EndExtTextInputFlags  nFlags)
overridevirtual

Implements SalFrame.

◆ EndSetClipRegion()

virtual void SvpSalFrame::EndSetClipRegion ( )
overridevirtual

Implements SalFrame.

◆ Flush() [1/3]

virtual void SvpSalFrame::Flush ( )
overridevirtual

Implements SalFrame.

◆ Flush() [2/3]

virtual void SalFrame::Flush ( void  )
virtual

Implements SalFrame.

◆ Flush() [3/3]

void SalFrame::Flush ( const tools::Rectangle )
virtual

Reimplemented from SalFrame.

Definition at line 194 of file salvtables.cxx.

◆ GetClientSize()

virtual void SvpSalFrame::GetClientSize ( tools::Long rWidth,
tools::Long rHeight 
)
overridevirtual

Implements SalFrame.

◆ GetFocus()

void SvpSalFrame::GetFocus ( )

◆ GetIndicatorState()

virtual KeyIndicatorState SvpSalFrame::GetIndicatorState ( )
overridevirtual

Implements SalFrame.

◆ GetInputLanguage()

virtual LanguageType SvpSalFrame::GetInputLanguage ( )
overridevirtual

Implements SalFrame.

◆ GetKeyName()

virtual OUString SvpSalFrame::GetKeyName ( sal_uInt16  nKeyCode)
overridevirtual

Implements SalFrame.

◆ GetParent()

virtual SalFrame * SvpSalFrame::GetParent ( ) const
overridevirtual

Implements SalFrame.

◆ GetPointerState()

virtual SalPointerState SvpSalFrame::GetPointerState ( )
overridevirtual

Implements SalFrame.

◆ GetSurfaceFrameSize()

basegfx::B2IVector SvpSalFrame::GetSurfaceFrameSize ( ) const
private

◆ GetSystemData()

virtual const SystemEnvData * SvpSalFrame::GetSystemData ( ) const
overridevirtual

Implements SalFrame.

◆ GetWindowState()

virtual bool SvpSalFrame::GetWindowState ( vcl::WindowData )
overridevirtual

Implements SalFrame.

◆ GetWorkArea()

virtual void SvpSalFrame::GetWorkArea ( tools::Rectangle rRect)
overridevirtual

Implements SalFrame.

◆ hasFocus()

bool SvpSalFrame::hasFocus ( ) const
inline

Definition at line 73 of file svpframe.hxx.

References s_pFocusFrame.

◆ isVisible()

bool SvpSalFrame::isVisible ( ) const
inline

Definition at line 72 of file svpframe.hxx.

References m_bVisible.

◆ LoseFocus()

void SvpSalFrame::LoseFocus ( )

◆ MapUnicodeToKeyCode()

virtual bool SvpSalFrame::MapUnicodeToKeyCode ( sal_Unicode  aUnicode,
LanguageType  aLangType,
vcl::KeyCode rKeyCode 
)
overridevirtual

Implements SalFrame.

◆ PostEvent()

virtual bool SvpSalFrame::PostEvent ( std::unique_ptr< ImplSVEvent pData)
overridevirtual

Implements SalFrame.

◆ PostPaint()

void SvpSalFrame::PostPaint ( ) const

◆ ReleaseGraphics()

virtual void SvpSalFrame::ReleaseGraphics ( SalGraphics pGraphics)
overridevirtual

Implements SalFrame.

◆ ResetClipRegion()

virtual void SvpSalFrame::ResetClipRegion ( )
overridevirtual

Implements SalFrame.

◆ SetAlwaysOnTop()

virtual void SvpSalFrame::SetAlwaysOnTop ( bool  bOnTop)
overridevirtual

Implements SalFrame.

◆ SetApplicationID()

virtual void SvpSalFrame::SetApplicationID ( const OUString &  )
inlineoverridevirtual

Implements SalFrame.

Definition at line 124 of file svpframe.hxx.

◆ SetExtendedFrameStyle()

virtual void SvpSalFrame::SetExtendedFrameStyle ( SalExtStyle  nExtStyle)
overridevirtual

Implements SalFrame.

◆ SetIcon()

virtual void SvpSalFrame::SetIcon ( sal_uInt16  nIcon)
overridevirtual

Implements SalFrame.

◆ SetInputContext()

virtual void SvpSalFrame::SetInputContext ( SalInputContext pContext)
overridevirtual

Implements SalFrame.

◆ SetMaxClientSize()

virtual void SvpSalFrame::SetMaxClientSize ( tools::Long  nWidth,
tools::Long  nHeight 
)
overridevirtual

Implements SalFrame.

◆ SetMenu()

virtual void SvpSalFrame::SetMenu ( SalMenu pMenu)
overridevirtual

Implements SalFrame.

◆ SetMinClientSize()

virtual void SvpSalFrame::SetMinClientSize ( tools::Long  nWidth,
tools::Long  nHeight 
)
overridevirtual

Implements SalFrame.

◆ SetParent()

virtual void SvpSalFrame::SetParent ( SalFrame pNewParent)
overridevirtual

Implements SalFrame.

◆ SetPluginParent()

virtual void SvpSalFrame::SetPluginParent ( SystemParentData pNewParent)
overridevirtual

Implements SalFrame.

◆ SetPointer()

virtual void SvpSalFrame::SetPointer ( PointerStyle  ePointerStyle)
overridevirtual

Implements SalFrame.

◆ SetPointerPos()

virtual void SvpSalFrame::SetPointerPos ( tools::Long  nX,
tools::Long  nY 
)
overridevirtual

Implements SalFrame.

◆ SetPosSize()

virtual void SvpSalFrame::SetPosSize ( tools::Long  nX,
tools::Long  nY,
tools::Long  nWidth,
tools::Long  nHeight,
sal_uInt16  nFlags 
)
overridevirtual

Implements SalFrame.

◆ SetScreenNumber()

virtual void SvpSalFrame::SetScreenNumber ( unsigned int  )
inlineoverridevirtual

Implements SalFrame.

Definition at line 123 of file svpframe.hxx.

◆ SetTitle()

virtual void SvpSalFrame::SetTitle ( const OUString &  rTitle)
overridevirtual

Implements SalFrame.

◆ SetWindowState()

virtual void SvpSalFrame::SetWindowState ( const vcl::WindowData )
overridevirtual

Implements SalFrame.

◆ Show()

virtual void SvpSalFrame::Show ( bool  bVisible,
bool  bNoActivate = false 
)
overridevirtual

Implements SalFrame.

◆ ShowFullScreen()

virtual void SvpSalFrame::ShowFullScreen ( bool  bFullScreen,
sal_Int32  nDisplay 
)
overridevirtual

Implements SalFrame.

◆ SimulateKeyPress()

virtual void SvpSalFrame::SimulateKeyPress ( sal_uInt16  nKeyCode)
overridevirtual

Implements SalFrame.

◆ StartPresentation()

virtual void SvpSalFrame::StartPresentation ( bool  bStart)
overridevirtual

Implements SalFrame.

◆ style()

SalFrameStyleFlags SvpSalFrame::style ( ) const
inline

Definition at line 71 of file svpframe.hxx.

References m_nStyle.

◆ title()

const OUString & SvpSalFrame::title ( ) const
inline

Definition at line 70 of file svpframe.hxx.

References m_sTitle.

◆ ToTop()

virtual void SvpSalFrame::ToTop ( SalFrameToTop  nFlags)
overridevirtual

Implements SalFrame.

◆ UnionClipRegion()

virtual void SvpSalFrame::UnionClipRegion ( tools::Long  nX,
tools::Long  nY,
tools::Long  nWidth,
tools::Long  nHeight 
)
overridevirtual

Implements SalFrame.

◆ UpdateSettings()

virtual void SvpSalFrame::UpdateSettings ( AllSettings rSettings)
overridevirtual

Implements SalFrame.

Member Data Documentation

◆ m_aChildren

std::vector< SvpSalFrame* > SvpSalFrame::m_aChildren
private

Definition at line 42 of file svpframe.hxx.

◆ m_aGraphics

std::vector< SvpSalGraphics* > SvpSalFrame::m_aGraphics
private

Definition at line 55 of file svpframe.hxx.

◆ m_aSystemChildData

SystemEnvData SvpSalFrame::m_aSystemChildData
private

Definition at line 53 of file svpframe.hxx.

◆ m_bVisible

bool SvpSalFrame::m_bVisible
private

Definition at line 44 of file svpframe.hxx.

Referenced by isVisible().

◆ m_nMaxHeight

tools::Long SvpSalFrame::m_nMaxHeight
private

Definition at line 51 of file svpframe.hxx.

◆ m_nMaxWidth

tools::Long SvpSalFrame::m_nMaxWidth
private

Definition at line 50 of file svpframe.hxx.

◆ m_nMinHeight

tools::Long SvpSalFrame::m_nMinHeight
private

Definition at line 49 of file svpframe.hxx.

◆ m_nMinWidth

tools::Long SvpSalFrame::m_nMinWidth
private

Definition at line 48 of file svpframe.hxx.

◆ m_nStyle

SalFrameStyleFlags SvpSalFrame::m_nStyle
private

Definition at line 43 of file svpframe.hxx.

Referenced by style().

◆ m_pInstance

SvpSalInstance* SvpSalFrame::m_pInstance
private

Definition at line 40 of file svpframe.hxx.

◆ m_pParent

SvpSalFrame* SvpSalFrame::m_pParent
private

Definition at line 41 of file svpframe.hxx.

◆ m_pSurface

cairo_surface_t* SvpSalFrame::m_pSurface
private

Definition at line 46 of file svpframe.hxx.

◆ m_sTitle

OUString SvpSalFrame::m_sTitle
private

Definition at line 58 of file svpframe.hxx.

Referenced by title().

◆ s_pFocusFrame

SvpSalFrame* SvpSalFrame::s_pFocusFrame
staticprivate

Definition at line 57 of file svpframe.hxx.

Referenced by hasFocus().


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