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

#include <poolhelp.hxx>

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

Public Member Functions

 ScPoolHelper (ScDocument *pSourceDoc)
 
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

osl::Mutex maMtxCreateNumFormatter
 
ScDocOptions aOpt
 
ScDocumentPoolpDocPool
 
rtl::Reference< ScStyleSheetPoolmxStylePool
 
std::unique_ptr< SvNumberFormatterpFormTable
 
SfxItemPoolpEditPool
 
SfxItemPoolpEnginePool
 
ScDocumentm_pSourceDoc
 

Additional Inherited Members

- Static Public Member Functions inherited from salhelper::SimpleReferenceObject
static voidoperator new (std::size_t nSize)
 
static voidoperator 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 ( ScDocument pSourceDoc)

Definition at line 30 of file poolhelp.cxx.

References SfxItemPool::FreezeIdRanges(), mxStylePool, and pDocPool.

ScPoolHelper::~ScPoolHelper ( )
overridevirtual

Definition at line 42 of file poolhelp.cxx.

References SfxItemPool::Free(), mxStylePool, pDocPool, pEditPool, pEnginePool, and pFormTable.

Member Function Documentation

std::unique_ptr< SvNumberFormatter > ScPoolHelper::CreateNumberFormatter ( ) const
ScDocumentPool* ScPoolHelper::GetDocPool ( ) const
inline

Definition at line 54 of file poolhelp.hxx.

References pDocPool.

SfxItemPool * ScPoolHelper::GetEditPool ( ) const
SfxItemPool * ScPoolHelper::GetEnginePool ( ) const
SvNumberFormatter * ScPoolHelper::GetFormTable ( ) const

Definition at line 70 of file poolhelp.cxx.

References CreateNumberFormatter(), and pFormTable.

ScStyleSheetPool* ScPoolHelper::GetStylePool ( ) const
inline

Definition at line 55 of file poolhelp.hxx.

void ScPoolHelper::SetFormTableOpt ( const ScDocOptions rOpt)
void ScPoolHelper::SourceDocumentGone ( )

Definition at line 111 of file poolhelp.cxx.

References mxStylePool, and pFormTable.

Member Data Documentation

ScDocOptions ScPoolHelper::aOpt
private

Definition at line 38 of file poolhelp.hxx.

Referenced by CreateNumberFormatter(), and SetFormTableOpt().

ScDocument* ScPoolHelper::m_pSourceDoc
private

Definition at line 44 of file poolhelp.hxx.

Referenced by CreateNumberFormatter().

osl::Mutex ScPoolHelper::maMtxCreateNumFormatter
mutableprivate

Definition at line 37 of file poolhelp.hxx.

Referenced by CreateNumberFormatter().

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

Definition at line 40 of file poolhelp.hxx.

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

ScDocumentPool* ScPoolHelper::pDocPool
private

Definition at line 39 of file poolhelp.hxx.

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

SfxItemPool* ScPoolHelper::pEditPool
mutableprivate

Definition at line 42 of file poolhelp.hxx.

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

SfxItemPool* ScPoolHelper::pEnginePool
mutableprivate

Definition at line 43 of file poolhelp.hxx.

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

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: