LibreOffice
LibreOffice 24.2 SDK API Reference
|
gives access to a container of DrawPages or MasterPages. More...
import"XDrawPages.idl";
Public Member Functions | |
com::sun::star::drawing::XDrawPage | insertNewByIndex ([in] long nIndex) |
creates and inserts a new DrawPage or MasterPage into this container More... | |
void | remove ([in] com::sun::star::drawing::XDrawPage xPage) |
removes a DrawPage or MasterPage from this container. More... | |
Public Member Functions inherited from XIndexAccess | |
long | getCount () |
any | getByIndex ([in] long Index) raises ( com::sun::star::lang::IndexOutOfBoundsException, com::sun::star::lang::WrappedTargetException ) |
Public Member Functions inherited from XElementAccess | |
type | getElementType () |
boolean | hasElements () |
Public Member Functions inherited from XInterface | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. More... | |
void | acquire () |
increases the reference counter by one. More... | |
void | release () |
decreases the reference counter by one. More... | |
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 usually get this interface if you use the XDrawPagesSupplier or the XMasterPagesSupplier at a model that contains DrawPages or MasterPages
com::sun::star::drawing::XDrawPage insertNewByIndex | ( | [in] long | nIndex | ) |
creates and inserts a new DrawPage or MasterPage into this container
nIndex | the index at which the newly created DrawPage or MasterPage will be inserted. |
void remove | ( | [in] com::sun::star::drawing::XDrawPage | xPage | ) |
removes a DrawPage or MasterPage from this container.
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. |