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

Theoretically to hook into the (horrible) vcl dtranscomp.cxx code. More...

#include <lokclipboard.hxx>

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

Public Member Functions

 LOKClipboardFactory ()
 
css::uno::Reference< css::uno::XInterface > SAL_CALL createInstance () override
 
css::uno::Reference< css::uno::XInterface > SAL_CALL createInstanceWithArguments (const css::uno::Sequence< css::uno::Any > &) override
 

Static Public Member Functions

static rtl::Reference< LOKClipboardgetClipboardForCurView ()
 Fetch clipboard from the global pool. More...
 
static void releaseClipboardForView (int nViewId)
 Release a clipboard before its document dies, nViewId of -1 clears all. More...
 

Static Private Attributes

static osl::Mutex gMutex
 

Detailed Description

Theoretically to hook into the (horrible) vcl dtranscomp.cxx code.

Definition at line 91 of file lokclipboard.hxx.

Constructor & Destructor Documentation

LOKClipboardFactory::LOKClipboardFactory ( )
inline

Definition at line 96 of file lokclipboard.hxx.

Member Function Documentation

css::uno::Reference<css::uno::XInterface> SAL_CALL LOKClipboardFactory::createInstance ( )
inlineoverride

Definition at line 101 of file lokclipboard.hxx.

uno::Reference< uno::XInterface > SAL_CALL LOKClipboardFactory::createInstanceWithArguments ( const css::uno::Sequence< css::uno::Any > &  )
override

Definition at line 63 of file lokclipboard.cxx.

rtl::Reference< LOKClipboard > LOKClipboardFactory::getClipboardForCurView ( )
static

Fetch clipboard from the global pool.

Definition at line 24 of file lokclipboard.cxx.

References gClipboards, SfxLokHelper::getView(), and SAL_INFO.

Referenced by doc_getClipboard().

void LOKClipboardFactory::releaseClipboardForView ( int  nViewId)
static

Release a clipboard before its document dies, nViewId of -1 clears all.

Definition at line 42 of file lokclipboard.cxx.

References gClipboards, and SAL_INFO.

Referenced by doc_destroy(), and doc_destroyView().

Member Data Documentation

osl::Mutex LOKClipboardFactory::gMutex
staticprivate

Definition at line 93 of file lokclipboard.hxx.


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