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

#include <salinst.h>

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

Public Member Functions

 X11SalInstance (std::unique_ptr< SalYieldMutex > pMutex)
 
virtual ~X11SalInstance () override
 
virtual SalFrameCreateChildFrame (SystemParentData *pParent, SalFrameStyleFlags nStyle) override
 
virtual SalFrameCreateFrame (SalFrame *pParent, SalFrameStyleFlags nStyle) override
 
virtual void DestroyFrame (SalFrame *pFrame) override
 
virtual SalObjectCreateObject (SalFrame *pParent, SystemWindowData *pWindowData, bool bShow) override
 
virtual void DestroyObject (SalObject *pObject) override
 
virtual std::unique_ptr< SalVirtualDeviceCreateVirtualDevice (SalGraphics *pGraphics, long &nDX, long &nDY, DeviceFormat eFormat, const SystemGraphicsData *pData=nullptr) override
 
virtual void PostPrintersChanged () override
 
virtual GenPspGraphicsCreatePrintGraphics () override
 
virtual SalTimerCreateSalTimer () override
 
virtual std::unique_ptr< SalI18NImeStatusCreateI18NImeStatus () override
 
virtual SalSystemCreateSalSystem () override
 
virtual std::shared_ptr< SalBitmapCreateSalBitmap () override
 
virtual std::unique_ptr< SalSessionCreateSalSession () override
 
virtual OpenGLContextCreateOpenGLContext () override
 
virtual bool DoYield (bool bWait, bool bHandleAllCurrentEvents) override
 Wait for the next event (if bWait) and dispatch it, includes posted events, and timers. More...
 
virtual bool AnyInput (VclInputFlags nType) override
 
virtual bool IsMainThread () const override
 
virtual OUString GetConnectionIdentifier () override
 
void SetLib (SalXLib *pXLib)
 
virtual void AfterAppInit () override
 
virtual css::uno::Reference< css::uno::XInterface > CreateClipboard (const css::uno::Sequence< css::uno::Any > &i_rArguments) override
 
virtual css::uno::Reference< css::uno::XInterface > CreateDragSource () override
 
virtual css::uno::Reference< css::uno::XInterface > CreateDropTarget () override
 
virtual void AddToRecentDocumentList (const OUString &rFileUrl, const OUString &rMimeType, const OUString &rDocumentService) override
 
- Public Member Functions inherited from SalGenericInstance
 SalGenericInstance (std::unique_ptr< comphelper::SolarMutex > pMutex)
 
virtual ~SalGenericInstance () override
 
virtual SalInfoPrinterCreateInfoPrinter (SalPrinterQueueInfo *pQueueInfo, ImplJobSetup *pSetupData) override
 
virtual void DestroyInfoPrinter (SalInfoPrinter *pPrinter) override
 
virtual std::unique_ptr< SalPrinterCreatePrinter (SalInfoPrinter *pInfoPrinter) override
 
virtual void GetPrinterQueueInfo (ImplPrnQueueList *pList) override
 
virtual void GetPrinterQueueState (SalPrinterQueueInfo *pInfo) override
 
virtual OUString GetDefaultPrinter () override
 
virtual void updatePrinterUpdate () override
 
virtual void jobStartedPrinterUpdate () override
 
virtual void jobEndedPrinterUpdate () override
 
bool isPrinterInit () const
 
virtual OUString getOSVersion () override
 get information about underlying versions More...
 
- Public Member Functions inherited from SalInstance
 SalInstance (std::unique_ptr< comphelper::SolarMutex > pMutex)
 
virtual ~SalInstance ()
 
virtual bool SVMainHook (int *)
 
virtual std::shared_ptr< vcl::BackendCapabilitiesGetBackendCapabilities ()
 
comphelper::SolarMutexGetYieldMutex ()
 
sal_uInt32 ReleaseYieldMutexAll ()
 
void AcquireYieldMutex (sal_uInt32 nCount=1)
 
virtual std::unique_ptr< SalMenuCreateMenu (bool bMenuBar, Menu *pMenu)
 
virtual std::unique_ptr< SalMenuItemCreateMenuItem (const SalItemParams &pItemData)
 
virtual weld::BuilderCreateBuilder (weld::Widget *pParent, const OUString &rUIRoot, const OUString &rUIFile)
 
virtual weld::MessageDialogCreateMessageDialog (weld::Widget *pParent, VclMessageType eMessageType, VclButtonsType eButtonType, const OUString &rPrimaryMessage)
 
virtual weld::WindowGetFrameWeld (const css::uno::Reference< css::awt::XWindow > &rWindow)
 
void SetEventCallback (rtl::Reference< vcl::DisplayConnectionDispatch > const &pInstance)
 
bool CallEventCallback (void const *pEvent, int nBytes)
 
virtual bool hasNativeFileSelection () const
 
virtual css::uno::Reference< css::ui::dialogs::XFilePicker2 > createFilePicker (const css::uno::Reference< css::uno::XComponentContext > &)
 
virtual css::uno::Reference< css::ui::dialogs::XFolderPicker2 > createFolderPicker (const css::uno::Reference< css::uno::XComponentContext > &)
 
virtual void updateMainThread ()
 
virtual const cairo_font_options_tGetCairoFontOptions ()
 
virtual voidCreateGStreamerSink (const SystemChildWindow *)
 

Static Public Member Functions

static std::unique_ptr< SalVirtualDeviceCreateX11VirtualDevice (SalGraphics const *pGraphics, long &nDX, long &nDY, DeviceFormat eFormat, const SystemGraphicsData *pData, std::unique_ptr< X11SalGraphics > pNewGraphics)
 Gtk vclplug needs to pass GtkSalGraphics to X11SalVirtualDevice, so create it, and pass as pNewGraphics. More...
 
- Static Public Member Functions inherited from SalGenericInstance
static void RegisterFontSubstitutors (PhysicalFontCollection *pFontCollection)
 
- Static Public Member Functions inherited from SalInstance
static weld::BuilderCreateInterimBuilder (vcl::Window *pParent, const OUString &rUIRoot, const OUString &rUIFile)
 

Protected Member Functions

virtual SalX11DisplayCreateDisplay () const
 

Protected Attributes

SalXLibmpXLib
 
- Protected Attributes inherited from SalGenericInstance
bool mbPrinterInit
 

Private Attributes

std::unordered_map< Atom, css::uno::Reference< css::datatransfer::clipboard::XClipboard > > m_aInstances
 

Additional Inherited Members

- Static Protected Member Functions inherited from SalGenericInstance
static void configurePspInfoPrinter (PspSalInfoPrinter *pInfoPrinter, SalPrinterQueueInfo const *pQueueInfo, ImplJobSetup *pSetupData)
 

Detailed Description

Definition at line 37 of file unx/salinst.h.

Constructor & Destructor Documentation

X11SalInstance::X11SalInstance ( std::unique_ptr< SalYieldMutex pMutex)
explicit
virtual X11SalInstance::~X11SalInstance ( )
overridevirtual

Member Function Documentation

virtual void X11SalInstance::AddToRecentDocumentList ( const OUString &  rFileUrl,
const OUString &  rMimeType,
const OUString &  rDocumentService 
)
overridevirtual

Implements SalInstance.

Reimplemented in GtkInstance.

virtual void X11SalInstance::AfterAppInit ( )
overridevirtual

Reimplemented from SalInstance.

Reimplemented in GtkInstance.

virtual bool X11SalInstance::AnyInput ( VclInputFlags  nType)
overridevirtual

Implements SalInstance.

Reimplemented in GtkInstance.

virtual SalFrame* X11SalInstance::CreateChildFrame ( SystemParentData pParent,
SalFrameStyleFlags  nStyle 
)
overridevirtual

Implements SalInstance.

Reimplemented in GtkInstance.

virtual css::uno::Reference< css::uno::XInterface > X11SalInstance::CreateClipboard ( const css::uno::Sequence< css::uno::Any > &  i_rArguments)
overridevirtual

Reimplemented from SalInstance.

virtual SalX11Display* X11SalInstance::CreateDisplay ( ) const
protectedvirtual
virtual css::uno::Reference< css::uno::XInterface > X11SalInstance::CreateDragSource ( )
overridevirtual

Reimplemented from SalInstance.

virtual css::uno::Reference< css::uno::XInterface > X11SalInstance::CreateDropTarget ( )
overridevirtual

Reimplemented from SalInstance.

virtual SalFrame* X11SalInstance::CreateFrame ( SalFrame pParent,
SalFrameStyleFlags  nStyle 
)
overridevirtual

Implements SalInstance.

Reimplemented in GtkInstance.

virtual std::unique_ptr<SalI18NImeStatus> X11SalInstance::CreateI18NImeStatus ( )
overridevirtual

Reimplemented from SalInstance.

Reimplemented in GtkInstance.

virtual SalObject* X11SalInstance::CreateObject ( SalFrame pParent,
SystemWindowData pWindowData,
bool  bShow 
)
overridevirtual

Implements SalInstance.

Reimplemented in GtkInstance.

virtual OpenGLContext* X11SalInstance::CreateOpenGLContext ( )
overridevirtual

Implements SalInstance.

virtual GenPspGraphics* X11SalInstance::CreatePrintGraphics ( )
overridevirtual

Implements SalGenericInstance.

Reimplemented in GtkInstance.

virtual std::shared_ptr<SalBitmap> X11SalInstance::CreateSalBitmap ( )
overridevirtual

Implements SalInstance.

Reimplemented in GtkInstance.

virtual std::unique_ptr<SalSession> X11SalInstance::CreateSalSession ( )
overridevirtual

Reimplemented from SalInstance.

virtual SalSystem* X11SalInstance::CreateSalSystem ( )
overridevirtual

Implements SalInstance.

Reimplemented in GtkInstance.

virtual SalTimer* X11SalInstance::CreateSalTimer ( )
overridevirtual

Implements SalInstance.

Reimplemented in GtkInstance.

virtual std::unique_ptr<SalVirtualDevice> X11SalInstance::CreateVirtualDevice ( SalGraphics pGraphics,
long &  nDX,
long &  nDY,
DeviceFormat  eFormat,
const SystemGraphicsData pData = nullptr 
)
overridevirtual

Implements SalInstance.

Reimplemented in GtkInstance.

static std::unique_ptr<SalVirtualDevice> X11SalInstance::CreateX11VirtualDevice ( SalGraphics const *  pGraphics,
long &  nDX,
long &  nDY,
DeviceFormat  eFormat,
const SystemGraphicsData pData,
std::unique_ptr< X11SalGraphics pNewGraphics 
)
static

Gtk vclplug needs to pass GtkSalGraphics to X11SalVirtualDevice, so create it, and pass as pNewGraphics.

virtual void X11SalInstance::DestroyFrame ( SalFrame pFrame)
overridevirtual

Implements SalInstance.

virtual void X11SalInstance::DestroyObject ( SalObject pObject)
overridevirtual

Implements SalInstance.

virtual bool X11SalInstance::DoYield ( bool  bWait,
bool  bHandleAllCurrentEvents 
)
overridevirtual

Wait for the next event (if bWait) and dispatch it, includes posted events, and timers.

If bHandleAllCurrentEvents - dispatch multiple posted user events. Returns true if events were processed.

Implements SalInstance.

Reimplemented in GtkInstance.

virtual OUString X11SalInstance::GetConnectionIdentifier ( )
overridevirtual

Implements SalInstance.

virtual bool X11SalInstance::IsMainThread ( ) const
inlineoverridevirtual

Implements SalInstance.

Reimplemented in GtkInstance.

Definition at line 78 of file unx/salinst.h.

virtual void X11SalInstance::PostPrintersChanged ( )
overridevirtual

Implements SalGenericInstance.

void X11SalInstance::SetLib ( SalXLib pXLib)
inline

Definition at line 81 of file unx/salinst.h.

Member Data Documentation

std::unordered_map< Atom, css::uno::Reference< css::datatransfer::clipboard::XClipboard > > X11SalInstance::m_aInstances
private

Definition at line 40 of file unx/salinst.h.

SalXLib* X11SalInstance::mpXLib
protected

Definition at line 43 of file unx/salinst.h.


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