| LibreOffice
    LibreOffice 25.2 SDK API Reference | 
This interface makes it possible to access and manage the Layers of a document. More...
import "XLayerManager.idl";
 
  
| Public Member Functions | |
| com::sun::star::drawing::XLayer | insertNewByIndex ([in] long nIndex) | 
| creates a new Layer | |
| void | remove ([in] com::sun::star::drawing::XLayer xLayer) raises ( com::sun::star::container::NoSuchElementException ) | 
| removes a Layer and all Shapes on this Layer. | |
| void | attachShapeToLayer ([in] com::sun::star::drawing::XShape xShape, [in] com::sun::star::drawing::XLayer xLayer) | 
| attaches a Shape to the given Layer. | |
| com::sun::star::drawing::XLayer | getLayerForShape ([in] com::sun::star::drawing::XShape xShape) | 
| queries the Layer that a Shape is attached to | |
| 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. | |
| void | acquire () | 
| increases the reference counter by one. | |
| void | release () | 
| decreases the reference counter by one. | |
This interface makes it possible to access and manage the Layers of a document.
| void attachShapeToLayer | ( | [in] com::sun::star::drawing::XShape | xShape, | 
| [in] com::sun::star::drawing::XLayer | xLayer ) | 
| com::sun::star::drawing::XLayer getLayerForShape | ( | [in] com::sun::star::drawing::XShape | xShape | ) | 
| com::sun::star::drawing::XLayer insertNewByIndex | ( | [in] long | nIndex | ) | 
| void remove | ( | [in] com::sun::star::drawing::XLayer | xLayer | ) | ||
| raises | ( | com::sun::star::container::NoSuchElementException ) | ||||