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

#include <autoform.hxx>

Collaboration diagram for ScAutoFormat:
[legend]

Public Types

typedef MapType::const_iterator const_iterator
 
typedef MapType::iterator iterator
 

Public Member Functions

 ScAutoFormat ()
 
void Load ()
 
bool Save ()
 
void SetSaveLater (bool bSet)
 
bool IsSaveLater () const
 
const ScAutoFormatDatafindByIndex (size_t nIndex) const
 
ScAutoFormatDatafindByIndex (size_t nIndex)
 
iterator find (const OUString &rName)
 
iterator insert (std::unique_ptr< ScAutoFormatData > pNew)
 
void erase (const iterator &it)
 
size_t size () const
 
const_iterator begin () const
 
const_iterator end () const
 
iterator begin ()
 
iterator end ()
 

Private Types

typedef std::map< OUString, std::unique_ptr< ScAutoFormatData >, DefaultFirstEntryMapType
 

Private Member Functions

 ScAutoFormat (const ScAutoFormat &)=delete
 
const ScAutoFormat operator= (const ScAutoFormat &)=delete
 

Private Attributes

MapType m_Data
 
bool mbSaveLater
 
ScAfVersions m_aVersions
 

Detailed Description

Definition at line 180 of file autoform.hxx.

Member Typedef Documentation

typedef MapType::const_iterator ScAutoFormat::const_iterator

Definition at line 191 of file autoform.hxx.

typedef MapType::iterator ScAutoFormat::iterator

Definition at line 192 of file autoform.hxx.

typedef std::map<OUString, std::unique_ptr<ScAutoFormatData>, DefaultFirstEntry> ScAutoFormat::MapType
private

Definition at line 182 of file autoform.hxx.

Constructor & Destructor Documentation

ScAutoFormat::ScAutoFormat ( const ScAutoFormat )
privatedelete
ScAutoFormat::ScAutoFormat ( )

Member Function Documentation

ScAutoFormat::const_iterator ScAutoFormat::begin ( ) const
ScAutoFormat::iterator ScAutoFormat::begin ( )

Definition at line 824 of file autoform.cxx.

References m_Data.

ScAutoFormat::const_iterator ScAutoFormat::end ( ) const
ScAutoFormat::iterator ScAutoFormat::end ( )

Definition at line 829 of file autoform.cxx.

References m_Data.

void ScAutoFormat::erase ( const iterator it)

Definition at line 804 of file autoform.cxx.

References m_Data.

Referenced by ScAutoFormatsObj::removeByName(), and ScAutoFormatObj::setName().

ScAutoFormat::iterator ScAutoFormat::find ( const OUString &  rName)
const ScAutoFormatData * ScAutoFormat::findByIndex ( size_t  nIndex) const
ScAutoFormatData * ScAutoFormat::findByIndex ( size_t  nIndex)

Definition at line 783 of file autoform.cxx.

References m_Data.

ScAutoFormat::iterator ScAutoFormat::insert ( std::unique_ptr< ScAutoFormatData pNew)

Definition at line 798 of file autoform.cxx.

References aName, and m_Data.

Referenced by ScAutoFormatsObj::insertByName(), Load(), ScAutoFormat(), and ScAutoFormatObj::setName().

bool ScAutoFormat::IsSaveLater ( ) const
inline

Definition at line 199 of file autoform.hxx.

Referenced by ScAutoFormatObj::~ScAutoFormatObj().

void ScAutoFormat::Load ( )
const ScAutoFormat ScAutoFormat::operator= ( const ScAutoFormat )
privatedelete
bool ScAutoFormat::Save ( )
void ScAutoFormat::SetSaveLater ( bool  bSet)
size_t ScAutoFormat::size ( ) const

Member Data Documentation

ScAfVersions ScAutoFormat::m_aVersions
private

Definition at line 185 of file autoform.hxx.

Referenced by Load(), and Save().

MapType ScAutoFormat::m_Data
private

Definition at line 183 of file autoform.hxx.

Referenced by begin(), end(), erase(), find(), findByIndex(), insert(), Save(), and size().

bool ScAutoFormat::mbSaveLater
private

Definition at line 184 of file autoform.hxx.

Referenced by Load(), Save(), and SetSaveLater().


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