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

interface XDrawPages
Base Interfaces
::com::sun::star::uno::XInterface
  |  
  +--::com::sun::star::container::XElementAccess
       |  
       +--::com::sun::star::container::XIndexAccess
            |  
            +--XDrawPages
::com::sun::star::container::XIndexAccess
(referenced interface's summary:)
provides access to the elements of a collection through an index.
Description
gives access to a container of ::com::sun::star::drawing::DrawPage s or ::com::sun::star::drawing::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 ::com::sun::star::drawing::XDrawPagesSupplier or the ::com::sun::star::drawing::XMasterPagesSupplier at a model that contains ::com::sun::star::drawing::DrawPage s or ::com::sun::star::drawing::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 ::com::sun::star::drawing::DrawPage or ::com::sun::star::drawing::MasterPage into this container  
remove removes a ::com::sun::star::drawing::DrawPage or ::com::sun::star::drawing::MasterPage from this container.  
Methods' Details
insertNewByIndex
::com::sun::star::drawing::XDrawPage
insertNewByIndex( [in] long  nIndex );

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

Description
removes a ::com::sun::star::drawing::DrawPage or ::com::sun::star::drawing::MasterPage from this container.
Parameter xPage
this ::com::sun::star::drawing::DrawPage or ::com::sun::star::drawing::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