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 205 of file xmlstyle.cxx.

Member Typedef Documentation

◆ IndicesType

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

Definition at line 207 of file xmlstyle.cxx.

Constructor & Destructor Documentation

◆ SvXMLStylesContext_Impl()

SvXMLStylesContext_Impl::SvXMLStylesContext_Impl ( bool  bAuto)
explicit

Definition at line 238 of file xmlstyle.cxx.

References if().

Member Function Documentation

◆ AddStyle()

void SvXMLStylesContext_Impl::AddStyle ( SvXMLStyleContext pStyle)
inline

Definition at line 245 of file xmlstyle.cxx.

References aStyles, and FlushIndex().

◆ dispose()

void SvXMLStylesContext_Impl::dispose ( void  )

Definition at line 257 of file xmlstyle.cxx.

References aStyles, and FlushIndex().

◆ FindStyleChildContext()

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

Definition at line 263 of file xmlstyle.cxx.

References aIndex, aStyles, i, m_nIndexCreated, pIndices, pS, and SAL_WARN_IF.

◆ FlushIndex()

void SvXMLStylesContext_Impl::FlushIndex ( )
inlineprivate

Definition at line 217 of file xmlstyle.cxx.

References pIndices.

Referenced by AddStyle(), and dispose().

◆ GetStyle()

SvXMLStyleContext * SvXMLStylesContext_Impl::GetStyle ( size_t  i)
inline

Definition at line 224 of file xmlstyle.cxx.

References aStyles, and i.

◆ GetStyleCount()

size_t SvXMLStylesContext_Impl::GetStyleCount ( ) const
inline

Definition at line 222 of file xmlstyle.cxx.

References aStyles.

◆ IsAutomaticStyle()

bool SvXMLStylesContext_Impl::IsAutomaticStyle ( ) const
inline

Definition at line 235 of file xmlstyle.cxx.

References bAutomaticStyle.

Member Data Documentation

◆ aStyles

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

Definition at line 209 of file xmlstyle.cxx.

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

◆ bAutomaticStyle

bool SvXMLStylesContext_Impl::bAutomaticStyle
private

Definition at line 211 of file xmlstyle.cxx.

Referenced by IsAutomaticStyle().

◆ m_nIndexCreated

sal_uInt32 SvXMLStylesContext_Impl::m_nIndexCreated
mutableprivate

Definition at line 214 of file xmlstyle.cxx.

Referenced by FindStyleChildContext().

◆ pIndices

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

Definition at line 210 of file xmlstyle.cxx.

Referenced by FindStyleChildContext(), and FlushIndex().


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