Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

interface XDrawPages
Base Interfaces
XDrawPages
┗ ::com::sun::star::container::XIndexAccess
   ┗ ::com::sun::star::container::XElementAccess

::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 DrawPages or MasterPages.

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 DrawPages or MasterPages

Developers Guide
Drawings - Working with Drawing Documents - 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

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.