Lines 327-333
Link Here
|
327 |
USHORT GetCount() const { return USHORT(aList.Count()); } |
327 |
USHORT GetCount() const { return USHORT(aList.Count()); } |
328 |
void Insert(USHORT nPgNum, USHORT nPos=0xFFFF) { aList.Insert(new SdrMasterPageDescriptor(nPgNum),nPos); } |
328 |
void Insert(USHORT nPgNum, USHORT nPos=0xFFFF) { aList.Insert(new SdrMasterPageDescriptor(nPgNum),nPos); } |
329 |
void Insert(const SdrMasterPageDescriptor& rMPD, USHORT nPos=0xFFFF) { aList.Insert(new SdrMasterPageDescriptor(rMPD),nPos); } |
329 |
void Insert(const SdrMasterPageDescriptor& rMPD, USHORT nPos=0xFFFF) { aList.Insert(new SdrMasterPageDescriptor(rMPD),nPos); } |
330 |
void Remove(USHORT nPos) { delete aList.Remove(nPos); } |
330 |
void Remove(USHORT nPos) { delete (SdrMasterPageDescriptor *)aList.Remove(nPos); } |
331 |
void Move(USHORT nPos, USHORT nNewPos) { aList.Insert(aList.Remove(nPos),nNewPos); } |
331 |
void Move(USHORT nPos, USHORT nNewPos) { aList.Insert(aList.Remove(nPos),nNewPos); } |
332 |
SdrMasterPageDescriptor& operator[](USHORT nPos) { return *GetObject(nPos); } |
332 |
SdrMasterPageDescriptor& operator[](USHORT nPos) { return *GetObject(nPos); } |
333 |
const SdrMasterPageDescriptor& operator[](USHORT nPos) const { return *GetObject(nPos); } |
333 |
const SdrMasterPageDescriptor& operator[](USHORT nPos) const { return *GetObject(nPos); } |
Lines 361-367
Link Here
|
361 |
void Clear(); |
361 |
void Clear(); |
362 |
USHORT GetCount() const { return USHORT(aList.Count()); } |
362 |
USHORT GetCount() const { return USHORT(aList.Count()); } |
363 |
void Insert(const SdrPageGridFrame& rGF, USHORT nPos=0xFFFF) { aList.Insert(new SdrPageGridFrame(rGF),nPos); } |
363 |
void Insert(const SdrPageGridFrame& rGF, USHORT nPos=0xFFFF) { aList.Insert(new SdrPageGridFrame(rGF),nPos); } |
364 |
void Delete(USHORT nPos) { delete aList.Remove(nPos); } |
364 |
void Delete(USHORT nPos) { delete (SdrPageGridFrame *)aList.Remove(nPos); } |
365 |
void Move(USHORT nPos, USHORT nNewPos) { aList.Insert(aList.Remove(nPos),nNewPos); } |
365 |
void Move(USHORT nPos, USHORT nNewPos) { aList.Insert(aList.Remove(nPos),nNewPos); } |
366 |
SdrPageGridFrame& operator[](USHORT nPos) { return *GetObject(nPos); } |
366 |
SdrPageGridFrame& operator[](USHORT nPos) { return *GetObject(nPos); } |
367 |
const SdrPageGridFrame& operator[](USHORT nPos) const { return *GetObject(nPos); } |
367 |
const SdrPageGridFrame& operator[](USHORT nPos) const { return *GetObject(nPos); } |