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

#include <areasave.hxx>

Public Member Functions

 ScAreaLinkSaveCollection ()
 
 ~ScAreaLinkSaveCollection ()
 
bool IsEqual (const ScDocument *pDoc) const
 
void Restore (ScDocument *pDoc)
 
ScAreaLinkSaveroperator[] (size_t nIndex)
 
const ScAreaLinkSaveroperator[] (size_t nIndex) const
 
size_t size () const
 
void push_back (const ScAreaLinkSaver &)
 

Static Public Member Functions

static std::unique_ptr< ScAreaLinkSaveCollectionCreateFromDoc (const ScDocument *pDoc)
 

Private Types

typedef ::std::vector< ScAreaLinkSaverDataType
 

Private Attributes

DataType maData
 

Detailed Description

Definition at line 50 of file areasave.hxx.

Member Typedef Documentation

◆ DataType

typedef ::std::vector<ScAreaLinkSaver> ScAreaLinkSaveCollection::DataType
private

Definition at line 52 of file areasave.hxx.

Constructor & Destructor Documentation

◆ ScAreaLinkSaveCollection()

ScAreaLinkSaveCollection::ScAreaLinkSaveCollection ( )

Definition at line 77 of file areasave.cxx.

◆ ~ScAreaLinkSaveCollection()

ScAreaLinkSaveCollection::~ScAreaLinkSaveCollection ( )

Definition at line 79 of file areasave.cxx.

Member Function Documentation

◆ CreateFromDoc()

std::unique_ptr< ScAreaLinkSaveCollection > ScAreaLinkSaveCollection::CreateFromDoc ( const ScDocument pDoc)
static

Definition at line 147 of file areasave.cxx.

References sfx2::LinkManager::GetLinks(), and i.

Referenced by ScRefUndoData::ScRefUndoData().

◆ IsEqual()

bool ScAreaLinkSaveCollection::IsEqual ( const ScDocument pDoc) const

Definition at line 81 of file areasave.cxx.

References ScDocument::GetLinkManager(), sfx2::LinkManager::GetLinks(), i, IsEqual(), nPos, and size().

Referenced by IsEqual().

◆ operator[]() [1/2]

ScAreaLinkSaver & ScAreaLinkSaveCollection::operator[] ( size_t  nIndex)

Definition at line 172 of file areasave.cxx.

References maData, and nIndex.

◆ operator[]() [2/2]

const ScAreaLinkSaver & ScAreaLinkSaveCollection::operator[] ( size_t  nIndex) const

Definition at line 177 of file areasave.cxx.

References maData, and nIndex.

◆ push_back()

void ScAreaLinkSaveCollection::push_back ( const ScAreaLinkSaver p)

Definition at line 187 of file areasave.cxx.

References maData, and p.

◆ Restore()

void ScAreaLinkSaveCollection::Restore ( ScDocument pDoc)

◆ size()

size_t ScAreaLinkSaveCollection::size ( ) const

Definition at line 182 of file areasave.cxx.

References maData.

Referenced by IsEqual(), and Restore().

Member Data Documentation

◆ maData

DataType ScAreaLinkSaveCollection::maData
private

Definition at line 53 of file areasave.hxx.

Referenced by operator[](), push_back(), and size().


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