:: com :: sun :: star :: drawing ::

interface XDrawPages
Base Hierarchy
::com::sun::star::uno::XInterface
 |
 +-::com::sun::star::container::XElementAccess
    |
    +-::com::sun::star::container::XIndexAccess
       |
       +-XDrawPages
Description
gives access to a container of DrawPage s or MasterPage s.

The pages are stored in an index container. The order is determined by the index. You usualy get this interface if you use the XDrawPagesSupplier or the XMasterPagesSupplier at a model that contains DrawPage s or MasterPage s

Developers Guide
9.3.1 Drawing Documents and Presentation Documents - Working with Drawing Documents - Drawing Document - Page Handling

Methods' Summary
insertNewByIndex creates and inserts a new DrawPage or MasterPage into this container
remove removes a DrawPage or MasterPage from this container.
Methods' Details
insertNewByIndex
XDrawPage
insertNewByIndex(
 
[in] long
 
nIndex );

Description
creates and inserts a new DrawPage or MasterPage into this container
Parameter nIndex
the index at which the newly created DrawPage or MasterPage will be inserted.
Returns
the newly created and already inserted DrawPage or MasterPage .
remove
void
remove(
 
[in] XDrawPage
 
xPage );

Description
removes a DrawPage or MasterPage from this container.
Parameter xPage
this DrawPage or MasterPage must be contained and will be removed from this container. It will also be disposed and shouldn't be used any further.
Top of Page