|
LibreOfficeDev
LibreOfficeDev 25.8 SDK API Reference
|
allows importing a layer into a Backend More...
import"XLayerImporter.idl";
Public Member Functions | |
| XBackend | getTargetBackend () |
| gets the target backend for importing. More... | |
| void | setTargetBackend ([in] XBackend aBackend) raises (com::sun::star::lang::NullPointerException) |
| sets the target backend for importing. More... | |
| void | importLayer ([in] XLayer aLayer) raises (MalformedDataException, com::sun::star::lang::IllegalArgumentException, com::sun::star::lang::NullPointerException, com::sun::star::lang::WrappedTargetException) |
| Imports the layer given into the backend. More... | |
| void | importLayerForEntity ([in] XLayer aLayer, [in] string aEntity) raises (MalformedDataException, com::sun::star::lang::IllegalArgumentException, com::sun::star::lang::NullPointerException, com::sun::star::lang::WrappedTargetException) |
| Imports the layer given into the backend for a given entity. More... | |
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... | |
allows importing a layer into a Backend
| XBackend getTargetBackend | ( | ) |
gets the target backend for importing.
| void importLayer | ( | [in] XLayer | aLayer | ) | |
| raises | ( | MalformedDataException, | |||
| com::sun::star::lang::IllegalArgumentException, | |||||
| com::sun::star::lang::NullPointerException, | |||||
| com::sun::star::lang::WrappedTargetException | |||||
| ) | |||||
Imports the layer given into the backend.
This method imports data for the current entity of the backend.
| aLayer | a layer whose data will be imported into the backend |
| com::sun::star::lang::NullPointerException | if the layer passed is NULL or no backend is available. |
| com::sun::star::configuration::backend::MalformedDataException | if the layer passed is invalid |
| com::sun::star::lang::IllegalArgumentException | if the layer passed is for a component that doesn't exist in the backend |
| com::sun::star::lang::WrappedTargetException | if an error occurs in the backend or source layer. |
| void importLayerForEntity | ( | [in] XLayer | aLayer, |
| [in] string | aEntity | ||
| ) | |||
| raises | ( | MalformedDataException, | |
| com::sun::star::lang::IllegalArgumentException, | |||
| com::sun::star::lang::NullPointerException, | |||
| com::sun::star::lang::WrappedTargetException | |||
| ) | |||
Imports the layer given into the backend for a given entity.
This method imports data for the current entity of the backend.
| aLayer | a layer whose data will be imported into the backend |
| aEntity | an entity into whose data the layer will be imported |
| com::sun::star::lang::NullPointerException | if the layer passed is NULL or no backend is available. |
| com::sun::star::configuration::backend::MalformedDataException | if the layer passed is invalid |
| com::sun::star::lang::IllegalArgumentException | if the layer passed is for a component that doesn't exist in the backend or if the entity doesn't exist in the backend. |
| com::sun::star::lang::WrappedTargetException | if an error occurs in the backend or source layer. |
| void setTargetBackend | ( | [in] XBackend | aBackend | ) | |
| raises | ( | com::sun::star::lang::NullPointerException | |||
| ) | |||||
sets the target backend for importing.
| aBackend | a Backend into which layers should be imported by XLayerImporter::importLayer(). |
| com::sun::star::lang::NullPointerException | if the backend passed is NULL. |
1.8.14