#include <ISpreadList.h>
|
| enum | { kDefaultIID = IID_ISPREADLIST } |
| |
| enum | { kAtTheEnd = -1 } |
| |
Represents a list of spreads (kSpreadBoss) in a given document (kDocBoss).
ISpreadList is an interface off the document (kDocBoss) containing a list of the spreads (kSpreadBoss) in the document. Master spreads are stored in the IMasterSpreadList interface. ISpreadList stores a list of spreads (as UIDs) in a given document; this list is persistent.
- See Also
- kDocBoss
- kSpreadBoss
- ISpread
- IMasterSpreadList
| virtual UID ISpreadList::GetNthSpreadUID | ( | int32 | spreadIndex | ) | |
| pure virtual |
GetNthSpreadUID - Returns the 'spreadIndex' spread's UID
- Parameters
- Returns
- UID
| virtual int32 ISpreadList::GetSpreadCount | ( | | ) | const |
| pure virtual |
GetSpreadCount - Return the number of spreads in this list (ie in the document)
- Returns
- int32
| virtual int32 ISpreadList::GetSpreadIndex | ( | IGeometry * | spread | ) | |
| pure virtual |
GetSpreadIndex - Given a spread's IGeometry, return its index into the spread list
- Parameters
- Returns
- int32
| virtual int32 ISpreadList::GetSpreadIndex | ( | UID | spreadUID | ) | |
| pure virtual |
GetSpreadIndex - Given a spread's UID, return the spread's index into the spread list.
- Parameters
- Returns
- int32
| virtual void ISpreadList::InsertOneSpread | ( | const UID | spreadToInsert, | | | int32 | posForInsert | | ) | | |
| pure virtual |
InsertOneSpread - add one spread at the specified position
- Parameters
| spreadToInsert | |
| posForInsert | |
| virtual void ISpreadList::InsertSpreads | ( | const UIDList & | spreadToInsert, | | | int32 | posForInsert | | ) | | |
| pure virtual |
InsertSpreads - put the given spreads after the given position
- Parameters
| spreadToInsert | |
| posForInsert | |
| virtual void ISpreadList::MoveSpread | ( | int32 | from, | | | int32 | to | | ) | | |
| pure virtual |
MoveSpread - Move the spread at the from index to the to index in the list Note that the spread is first removed from the list, then inserted at the "to" position. Caller may need to adjust indexes in order to compensate for this behavior.
- Parameters
| virtual IIterator* ISpreadList::NewPageIterator | ( | | ) | |
| pure virtual |
NewPageIterator - create a page iterator & return the generic IIterator to the caller NOTE : The caller is responsible for deleteing the returned iterator
- Returns
- IIterator*
| virtual IGeometry* ISpreadList::QueryNthSpread | ( | int32 | spreadIndex | ) | |
| pure virtual |
QueryNthSpread - return the IGeometry interface associated with the 'spreadIndex' spread. This will add a ref count, and will instantiate the spread (if necessary).
- Parameters
- Returns
- IGeometry*
| virtual void ISpreadList::RemoveOneSpread | ( | int32 | posForRemove | ) | |
| pure virtual |
RemoveOneSpread - remove one spread at the specified position
- Parameters
| virtual void ISpreadList::RemoveSpreads | ( | int32 | firstIndex, | | | int32 | count | | ) | | |
| pure virtual |
RemoveSpreads - delete 'count' spreads, starting at 'firstIndex'.
- Parameters