LibreOffice Module sc (master) 1
|
#include <poolhelp.hxx>
Public Member Functions | |
ScPoolHelper (ScDocument &rSourceDoc) | |
virtual | ~ScPoolHelper () override |
void | SourceDocumentGone () |
ScDocumentPool * | GetDocPool () const |
ScStyleSheetPool * | GetStylePool () const |
SvNumberFormatter * | GetFormTable () const |
SfxItemPool * | GetEditPool () const |
SfxItemPool * | GetEnginePool () const |
void | SetFormTableOpt (const ScDocOptions &rOpt) |
std::unique_ptr< SvNumberFormatter > | CreateNumberFormatter () const |
Public Member Functions inherited from salhelper::SimpleReferenceObject | |
SimpleReferenceObject () | |
void | acquire () |
void | release () |
Private Attributes | |
std::mutex | maMtxCreateNumFormatter |
ScDocOptions | aOpt |
rtl::Reference< ScDocumentPool > | pDocPool |
rtl::Reference< ScStyleSheetPool > | mxStylePool |
std::unique_ptr< SvNumberFormatter > | pFormTable |
rtl::Reference< SfxItemPool > | pEditPool |
rtl::Reference< SfxItemPool > | pEnginePool |
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 |
Definition at line 34 of file poolhelp.hxx.
ScPoolHelper::ScPoolHelper | ( | ScDocument & | rSourceDoc | ) |
Definition at line 30 of file poolhelp.cxx.
References mxStylePool, and pDocPool.
|
overridevirtual |
Definition at line 38 of file poolhelp.cxx.
References mxStylePool, pDocPool, pEditPool, pEnginePool, and pFormTable.
std::unique_ptr< SvNumberFormatter > ScPoolHelper::CreateNumberFormatter | ( | ) | const |
Definition at line 90 of file poolhelp.cxx.
References aOpt, d, ScDocOptions::GetDate(), comphelper::getProcessComponentContext(), ScDocOptions::GetStdPrecision(), ScDocOptions::GetYear2000(), LANGUAGE_SYSTEM, LINK, m, maMtxCreateNumFormatter, mxStylePool, NF_EVALDATEFORMAT_INTL_FORMAT, p, and y.
Referenced by GetFormTable().
|
inline |
Definition at line 53 of file poolhelp.hxx.
References pDocPool.
SfxItemPool * ScPoolHelper::GetEditPool | ( | ) | const |
Definition at line 47 of file poolhelp.cxx.
References EditEngine::CreatePool(), and pEditPool.
SfxItemPool * ScPoolHelper::GetEnginePool | ( | ) | const |
Definition at line 58 of file poolhelp.cxx.
References EditEngine::CreatePool(), and pEnginePool.
SvNumberFormatter * ScPoolHelper::GetFormTable | ( | ) | const |
Definition at line 68 of file poolhelp.cxx.
References CreateNumberFormatter(), and pFormTable.
|
inline |
Definition at line 54 of file poolhelp.hxx.
References mxStylePool.
void ScPoolHelper::SetFormTableOpt | ( | const ScDocOptions & | rOpt | ) |
Definition at line 75 of file poolhelp.cxx.
References aOpt, d, ScDocOptions::GetDate(), ScDocOptions::GetStdPrecision(), ScDocOptions::GetYear2000(), m, pFormTable, and y.
void ScPoolHelper::SourceDocumentGone | ( | ) |
Definition at line 110 of file poolhelp.cxx.
References mxStylePool, and pFormTable.
|
private |
Definition at line 38 of file poolhelp.hxx.
Referenced by CreateNumberFormatter(), and SetFormTableOpt().
|
mutableprivate |
Definition at line 37 of file poolhelp.hxx.
Referenced by CreateNumberFormatter().
|
private |
Definition at line 40 of file poolhelp.hxx.
Referenced by CreateNumberFormatter(), GetStylePool(), ScPoolHelper(), SourceDocumentGone(), and ~ScPoolHelper().
|
private |
Definition at line 39 of file poolhelp.hxx.
Referenced by GetDocPool(), ScPoolHelper(), and ~ScPoolHelper().
|
mutableprivate |
Definition at line 42 of file poolhelp.hxx.
Referenced by GetEditPool(), and ~ScPoolHelper().
|
mutableprivate |
Definition at line 43 of file poolhelp.hxx.
Referenced by GetEnginePool(), and ~ScPoolHelper().
|
mutableprivate |
Definition at line 41 of file poolhelp.hxx.
Referenced by GetFormTable(), SetFormTableOpt(), SourceDocumentGone(), and ~ScPoolHelper().