LibreOffice Module sc (master) 1
Public Member Functions | Private Attributes | List of all members
ScPoolHelper Class Referencefinal

#include <poolhelp.hxx>

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

Public Member Functions

 ScPoolHelper (ScDocument &rSourceDoc)
 
virtual ~ScPoolHelper () override
 
void SourceDocumentGone ()
 
ScDocumentPoolGetDocPool () const
 
ScStyleSheetPoolGetStylePool () const
 
SvNumberFormatterGetFormTable () const
 
SfxItemPoolGetEditPool () const
 
SfxItemPoolGetEnginePool () const
 
void SetFormTableOpt (const ScDocOptions &rOpt)
 
std::unique_ptr< SvNumberFormatterCreateNumberFormatter () const
 
- Public Member Functions inherited from salhelper::SimpleReferenceObject
 SimpleReferenceObject ()
 
void acquire ()
 
void release ()
 

Private Attributes

std::mutex maMtxCreateNumFormatter
 
ScDocOptions aOpt
 
rtl::Reference< ScDocumentPoolpDocPool
 
rtl::Reference< ScStyleSheetPoolmxStylePool
 
std::unique_ptr< SvNumberFormatterpFormTable
 
rtl::Reference< SfxItemPoolpEditPool
 
rtl::Reference< SfxItemPoolpEnginePool
 

Additional Inherited Members

- Static Public Member Functions inherited from salhelper::SimpleReferenceObject
static void * operator new (std::size_t nSize)
 
static void * operator new (std::size_t nSize, std::nothrow_t const &rNothrow)
 
static void operator delete (void *pPtr)
 
static void operator delete (void *pPtr, std::nothrow_t const &rNothrow)
 
- Protected Member Functions inherited from salhelper::SimpleReferenceObject
virtual ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE
 
- Protected Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount
 

Detailed Description

Definition at line 34 of file poolhelp.hxx.

Constructor & Destructor Documentation

◆ ScPoolHelper()

ScPoolHelper::ScPoolHelper ( ScDocument rSourceDoc)

Definition at line 30 of file poolhelp.cxx.

References mxStylePool, and pDocPool.

◆ ~ScPoolHelper()

ScPoolHelper::~ScPoolHelper ( )
overridevirtual

Definition at line 38 of file poolhelp.cxx.

References mxStylePool, pDocPool, pEditPool, pEnginePool, and pFormTable.

Member Function Documentation

◆ CreateNumberFormatter()

std::unique_ptr< SvNumberFormatter > ScPoolHelper::CreateNumberFormatter ( ) const

◆ GetDocPool()

ScDocumentPool * ScPoolHelper::GetDocPool ( ) const
inline

Definition at line 53 of file poolhelp.hxx.

References pDocPool.

◆ GetEditPool()

SfxItemPool * ScPoolHelper::GetEditPool ( ) const

Definition at line 47 of file poolhelp.cxx.

References EditEngine::CreatePool(), and pEditPool.

◆ GetEnginePool()

SfxItemPool * ScPoolHelper::GetEnginePool ( ) const

Definition at line 58 of file poolhelp.cxx.

References EditEngine::CreatePool(), and pEnginePool.

◆ GetFormTable()

SvNumberFormatter * ScPoolHelper::GetFormTable ( ) const

Definition at line 68 of file poolhelp.cxx.

References CreateNumberFormatter(), and pFormTable.

◆ GetStylePool()

ScStyleSheetPool * ScPoolHelper::GetStylePool ( ) const
inline

Definition at line 54 of file poolhelp.hxx.

References mxStylePool.

◆ SetFormTableOpt()

void ScPoolHelper::SetFormTableOpt ( const ScDocOptions rOpt)

◆ SourceDocumentGone()

void ScPoolHelper::SourceDocumentGone ( )

Definition at line 110 of file poolhelp.cxx.

References mxStylePool, and pFormTable.

Member Data Documentation

◆ aOpt

ScDocOptions ScPoolHelper::aOpt
private

Definition at line 38 of file poolhelp.hxx.

Referenced by CreateNumberFormatter(), and SetFormTableOpt().

◆ maMtxCreateNumFormatter

std::mutex ScPoolHelper::maMtxCreateNumFormatter
mutableprivate

Definition at line 37 of file poolhelp.hxx.

Referenced by CreateNumberFormatter().

◆ mxStylePool

rtl::Reference< ScStyleSheetPool > ScPoolHelper::mxStylePool
private

◆ pDocPool

rtl::Reference<ScDocumentPool> ScPoolHelper::pDocPool
private

Definition at line 39 of file poolhelp.hxx.

Referenced by GetDocPool(), ScPoolHelper(), and ~ScPoolHelper().

◆ pEditPool

rtl::Reference<SfxItemPool> ScPoolHelper::pEditPool
mutableprivate

Definition at line 42 of file poolhelp.hxx.

Referenced by GetEditPool(), and ~ScPoolHelper().

◆ pEnginePool

rtl::Reference<SfxItemPool> ScPoolHelper::pEnginePool
mutableprivate

Definition at line 43 of file poolhelp.hxx.

Referenced by GetEnginePool(), and ~ScPoolHelper().

◆ pFormTable

std::unique_ptr<SvNumberFormatter> ScPoolHelper::pFormTable
mutableprivate

Definition at line 41 of file poolhelp.hxx.

Referenced by GetFormTable(), SetFormTableOpt(), SourceDocumentGone(), and ~ScPoolHelper().


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