LibreOffice Module sc (master) 1
|
#include <areasave.hxx>
Public Member Functions | |
ScAreaLinkSaveCollection () | |
~ScAreaLinkSaveCollection () | |
bool | IsEqual (const ScDocument *pDoc) const |
void | Restore (ScDocument *pDoc) |
ScAreaLinkSaver & | operator[] (size_t nIndex) |
const ScAreaLinkSaver & | operator[] (size_t nIndex) const |
size_t | size () const |
void | push_back (const ScAreaLinkSaver &) |
Static Public Member Functions | |
static std::unique_ptr< ScAreaLinkSaveCollection > | CreateFromDoc (const ScDocument *pDoc) |
Private Types | |
typedef ::std::vector< ScAreaLinkSaver > | DataType |
Private Attributes | |
DataType | maData |
Definition at line 50 of file areasave.hxx.
|
private |
Definition at line 52 of file areasave.hxx.
ScAreaLinkSaveCollection::ScAreaLinkSaveCollection | ( | ) |
Definition at line 77 of file areasave.cxx.
ScAreaLinkSaveCollection::~ScAreaLinkSaveCollection | ( | ) |
Definition at line 79 of file areasave.cxx.
|
static |
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, IsEqual(), nPos, and size().
Referenced by IsEqual().
ScAreaLinkSaver & ScAreaLinkSaveCollection::operator[] | ( | size_t | nIndex | ) |
Definition at line 172 of file areasave.cxx.
const ScAreaLinkSaver & ScAreaLinkSaveCollection::operator[] | ( | size_t | nIndex | ) | const |
Definition at line 177 of file areasave.cxx.
void ScAreaLinkSaveCollection::push_back | ( | const ScAreaLinkSaver & | p | ) |
Definition at line 187 of file areasave.cxx.
void ScAreaLinkSaveCollection::Restore | ( | ScDocument * | pDoc | ) |
Definition at line 123 of file areasave.cxx.
References ScDocument::GetDocLinkManager(), sc::DocumentLinkManager::getLinkManager(), sfx2::LinkManager::GetLinks(), ScAreaLinkSaver::InsertNewLink(), lcl_FindLink(), nPos, pLink, size(), and ScAreaLinkSaver::WriteToLink().
size_t ScAreaLinkSaveCollection::size | ( | ) | const |
Definition at line 182 of file areasave.cxx.
References maData.
|
private |
Definition at line 53 of file areasave.hxx.
Referenced by operator[](), push_back(), and size().