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:

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 179 of file autoform.hxx.

Member Typedef Documentation

typedef MapType::const_iterator ScAutoFormat::const_iterator

Definition at line 190 of file autoform.hxx.

typedef MapType::iterator ScAutoFormat::iterator

Definition at line 191 of file autoform.hxx.

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

Definition at line 181 of file autoform.hxx.

Constructor & Destructor Documentation

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

Member Function Documentation

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

Definition at line 813 of file autoform.cxx.

References m_Data.

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

Definition at line 818 of file autoform.cxx.

References m_Data.

void ScAutoFormat::erase ( const iterator it)

Definition at line 793 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 772 of file autoform.cxx.

References m_Data.

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

Definition at line 787 of file autoform.cxx.

References aName, and m_Data.

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

bool ScAutoFormat::IsSaveLater ( ) const

Definition at line 198 of file autoform.hxx.

Referenced by ScAutoFormatObj::~ScAutoFormatObj().

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

Member Data Documentation

ScAfVersions ScAutoFormat::m_aVersions

Definition at line 184 of file autoform.hxx.

Referenced by Load(), and Save().

MapType ScAutoFormat::m_Data

Definition at line 182 of file autoform.hxx.

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

bool ScAutoFormat::mbSaveLater

Definition at line 183 of file autoform.hxx.

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

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