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

◆ const_iterator

typedef MapType::const_iterator ScAutoFormat::const_iterator

Definition at line 191 of file autoform.hxx.

◆ iterator

typedef MapType::iterator ScAutoFormat::iterator

Definition at line 192 of file autoform.hxx.

◆ MapType

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

Definition at line 182 of file autoform.hxx.

Constructor & Destructor Documentation

◆ ScAutoFormat() [1/2]

ScAutoFormat::ScAutoFormat ( const ScAutoFormat )
privatedelete

◆ ScAutoFormat() [2/2]

ScAutoFormat::ScAutoFormat ( )

Member Function Documentation

◆ begin() [1/2]

ScAutoFormat::iterator ScAutoFormat::begin ( )

Definition at line 813 of file autoform.cxx.

References m_Data.

◆ begin() [2/2]

ScAutoFormat::const_iterator ScAutoFormat::begin ( ) const

◆ end() [1/2]

ScAutoFormat::iterator ScAutoFormat::end ( )

Definition at line 818 of file autoform.cxx.

References m_Data.

◆ end() [2/2]

ScAutoFormat::const_iterator ScAutoFormat::end ( ) const

◆ erase()

void ScAutoFormat::erase ( const iterator it)

Definition at line 793 of file autoform.cxx.

References m_Data.

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

◆ find()

ScAutoFormat::iterator ScAutoFormat::find ( const OUString &  rName)

◆ findByIndex() [1/2]

ScAutoFormatData * ScAutoFormat::findByIndex ( size_t  nIndex)

Definition at line 772 of file autoform.cxx.

References m_Data, and nIndex.

◆ findByIndex() [2/2]

const ScAutoFormatData * ScAutoFormat::findByIndex ( size_t  nIndex) const

◆ insert()

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().

◆ IsSaveLater()

bool ScAutoFormat::IsSaveLater ( ) const
inline

Definition at line 199 of file autoform.hxx.

Referenced by ScAutoFormatObj::~ScAutoFormatObj().

◆ Load()

void ScAutoFormat::Load ( )

◆ operator=()

const ScAutoFormat ScAutoFormat::operator= ( const ScAutoFormat )
privatedelete

◆ Save()

bool ScAutoFormat::Save ( )

◆ SetSaveLater()

void ScAutoFormat::SetSaveLater ( bool  bSet)

◆ size()

size_t ScAutoFormat::size ( ) const

Member Data Documentation

◆ m_aVersions

ScAfVersions ScAutoFormat::m_aVersions
private

Definition at line 185 of file autoform.hxx.

Referenced by Load(), and Save().

◆ m_Data

MapType ScAutoFormat::m_Data
private

Definition at line 183 of file autoform.hxx.

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

◆ mbSaveLater

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: