![]() | InDesign SDK 20.5 |
#include <IPresentationList.h>

Classes | |
| class | iterator |
| class | reverse_iterator |
Public Types | |
| enum | { kDefaultIID = IID_IPRESENTATIONLIST } |
Public Member Functions | |
| virtual void | AddPresentation (IDocumentPresentation *newPres)=0 |
| virtual void | PresentationHasOpened (IDocumentPresentation *pres)=0 |
| virtual void | PresentationHasClosed (IDocumentPresentation *pres)=0 |
| virtual void | CloseNthPresentation (int32 n)=0 |
| virtual void | CloseAllPresentations ()=0 |
| iterator | begin () |
| iterator | end () |
| reverse_iterator | rbegin () |
| reverse_iterator | rend () |
| iterator | find (IDocumentPresentation *it) |
| int32 | size () const |
| int32 | empty () const |
| IDocumentPresentation * | at (int32 n) |
| virtual int32 | Find (IDocumentPresentation *) const =0 |
| virtual int32 | Length () const =0 |
| virtual IDocumentPresentation * | At (int32 index) const =0 |
| IDocumentPresentation * | First () const |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
Friends | |
| class | iterator |
| class | reverse_iterator |
This interface maintains an unordered list of document presentations. It's primary use is on the document boss, where it keeps track of all of the presentations open on the document.
Also:
| pure virtual |
Adds the presentation to the list.
| newPres | the presentation to add |
| pure virtual |
Close all the presentations in the list by creating commands
| pure virtual |
Close the nth presentation by creating a command
| index | the index of the presentation to close |
| pure virtual |
Check if a particular window is in this list.
| pure virtual |
Notify the list that a presentation has closed. Removes window from list if there, and sends out a broadcast to let others know that a presentation has been removed from the list.
| win | the window which was closed |
| pure virtual |
Notify the list that a presentation has opened. Adds presentation to list if not already there, and sends out a broadcast to let others know that a presentation has been added to the list.
| pres | the presentation which was opened |