LibreOffice
LibreOffice 25.2 SDK API Reference
Public Member Functions | List of all members
XDrawPages2 Interface Reference

import"XDrawPages2.idl";

Inheritance diagram for XDrawPages2:
XDrawPages XIndexAccess XElementAccess XInterface

Public Member Functions

com::sun::star::drawing::XDrawPage insertNamedNewByIndex ([in] long nIndex, [in] string sName)
 creates and inserts a new DrawPage or MasterPage into this container More...
 
- Public Member Functions inherited from XDrawPages
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...
 

Member Function Documentation

◆ insertNamedNewByIndex()

com::sun::star::drawing::XDrawPage insertNamedNewByIndex ( [in] long  nIndex,
[in] string  sName 
)

creates and inserts a new DrawPage or MasterPage into this container

Parameters
nIndexthe index at which the newly created DrawPage or MasterPage will be inserted.
sNameThe name for the new page. Currently only used for master pages.
Returns
the newly created and already inserted DrawPage or MasterPage.

The documentation for this interface was generated from the following file: