interface XDrawPages in module com::sun::star::drawing::

(Global Index)

Syntax

interface XDrawPages : com::sun::star::container::XIndexAccess ;

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 or the XMasterPagesSupplier at a model that contains DrawPage s or MasterPage s

Method Summary

insertNewByIndex creates and inserts a new DrawPage or MasterPage into this container

remove removes a DrawPage or MasterPage from this container.

Known Services Which Export this Interface

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

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

Method Details



insertNewByIndex

Syntax

com::sun::star::drawing::XDrawPage insertNewByIndex (
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

Syntax

void remove (
com::sun::star::drawing::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