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

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

Definition at line 52 of file areasave.hxx.

Constructor & Destructor Documentation

ScAreaLinkSaveCollection::ScAreaLinkSaveCollection ( )

Definition at line 77 of file areasave.cxx.

ScAreaLinkSaveCollection::~ScAreaLinkSaveCollection ( )

Definition at line 79 of file areasave.cxx.

Member Function Documentation

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

Definition at line 147 of file areasave.cxx.

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

Referenced by ScRefUndoData::ScRefUndoData().

bool ScAreaLinkSaveCollection::IsEqual ( const ScDocument pDoc) const

Definition at line 81 of file areasave.cxx.

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

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

Definition at line 172 of file areasave.cxx.

References maData.

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

Definition at line 177 of file areasave.cxx.

References maData.

void ScAreaLinkSaveCollection::push_back ( const ScAreaLinkSaver p)

Definition at line 187 of file areasave.cxx.

References maData.

void ScAreaLinkSaveCollection::Restore ( ScDocument pDoc)
size_t ScAreaLinkSaveCollection::size ( ) const

Definition at line 182 of file areasave.cxx.

References maData.

Referenced by IsEqual(), and Restore().

Member Data Documentation

DataType ScAreaLinkSaveCollection::maData

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: