LibreOffice Module xmloff (master)  1
Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
SvXMLStylesContext_Impl Class Reference

Public Member Functions

 SvXMLStylesContext_Impl (bool bAuto)
 
size_t GetStyleCount () const
 
SvXMLStyleContextGetStyle (size_t i)
 
void AddStyle (SvXMLStyleContext *pStyle)
 
void dispose ()
 
const SvXMLStyleContextFindStyleChildContext (XmlStyleFamily nFamily, const OUString &rName, bool bCreateIndex) const
 
bool IsAutomaticStyle () const
 

Private Types

typedef std::set< SvXMLStyleIndex_Impl, SvXMLStyleIndexCmp_Impl > IndicesType
 

Private Member Functions

void FlushIndex ()
 

Private Attributes

std::vector< rtl::Reference< SvXMLStyleContext > > aStyles
 
std::unique_ptr< IndicesTypepIndices
 
bool bAutomaticStyle
 
sal_uInt32 m_nIndexCreated
 

Detailed Description

Definition at line 215 of file xmlstyle.cxx.

Member Typedef Documentation

typedef std::set<SvXMLStyleIndex_Impl, SvXMLStyleIndexCmp_Impl> SvXMLStylesContext_Impl::IndicesType
private

Definition at line 217 of file xmlstyle.cxx.

Constructor & Destructor Documentation

SvXMLStylesContext_Impl::SvXMLStylesContext_Impl ( bool  bAuto)
explicit

Definition at line 248 of file xmlstyle.cxx.

References if().

Member Function Documentation

void SvXMLStylesContext_Impl::AddStyle ( SvXMLStyleContext pStyle)
inline

Definition at line 255 of file xmlstyle.cxx.

References aStyles, and FlushIndex().

void SvXMLStylesContext_Impl::dispose ( void  )

Definition at line 267 of file xmlstyle.cxx.

References aStyles, and FlushIndex().

const SvXMLStyleContext * SvXMLStylesContext_Impl::FindStyleChildContext ( XmlStyleFamily  nFamily,
const OUString &  rName,
bool  bCreateIndex 
) const
void SvXMLStylesContext_Impl::FlushIndex ( )
inlineprivate

Definition at line 227 of file xmlstyle.cxx.

Referenced by AddStyle(), and dispose().

SvXMLStyleContext* SvXMLStylesContext_Impl::GetStyle ( size_t  i)
inline

Definition at line 234 of file xmlstyle.cxx.

size_t SvXMLStylesContext_Impl::GetStyleCount ( ) const
inline

Definition at line 232 of file xmlstyle.cxx.

bool SvXMLStylesContext_Impl::IsAutomaticStyle ( ) const
inline

Definition at line 245 of file xmlstyle.cxx.

References bAutomaticStyle.

Member Data Documentation

std::vector<rtl::Reference<SvXMLStyleContext> > SvXMLStylesContext_Impl::aStyles
private

Definition at line 219 of file xmlstyle.cxx.

Referenced by AddStyle(), dispose(), and FindStyleChildContext().

bool SvXMLStylesContext_Impl::bAutomaticStyle
private

Definition at line 221 of file xmlstyle.cxx.

Referenced by IsAutomaticStyle().

sal_uInt32 SvXMLStylesContext_Impl::m_nIndexCreated
mutableprivate

Definition at line 224 of file xmlstyle.cxx.

Referenced by FindStyleChildContext().

std::unique_ptr<IndicesType> SvXMLStylesContext_Impl::pIndices
mutableprivate

Definition at line 220 of file xmlstyle.cxx.

Referenced by FindStyleChildContext().


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