LibreOffice
LibreOffice 24.2 SDK API Reference
|
Handles access to the elements of a component schema, i.e its templates and its component definition. More...
import"XSchema.idl";
Public Member Functions | |
void | readSchema ([in] XSchemaHandler aHandler) raises (com::sun::star::lang::NullPointerException, com::sun::star::lang::WrappedTargetException, MalformedDataException) |
Describes the full schema (templates + component) to a XSchemaHandler. More... | |
void | readComponent ([in] XSchemaHandler aHandler) raises (com::sun::star::lang::NullPointerException, com::sun::star::lang::WrappedTargetException, MalformedDataException) |
Describes only the component definition to a XSchemaHandler. More... | |
void | readTemplates ([in] XSchemaHandler aHandler) raises (com::sun::star::lang::NullPointerException, com::sun::star::lang::WrappedTargetException, MalformedDataException) |
Describes the component templates to a XSchemaHandler. 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... | |
Handles access to the elements of a component schema, i.e its templates and its component definition.
void readComponent | ( | [in] XSchemaHandler | aHandler | ) | |
raises | ( | com::sun::star::lang::NullPointerException, | |||
com::sun::star::lang::WrappedTargetException, | |||||
MalformedDataException | |||||
) |
Describes only the component definition to a XSchemaHandler.
aHandler | schema handler that will receive calls describing the contents of the component definition |
com::sun::star::lang::NullPointerException | if a NULL handler is passed. |
com::sun::star::lang::WrappedTargetException | if an error occurs in the access to or processing of the data or if a subsequent call to any of the XSchemamethods is made. The elements of a component schema are only parsed once,a repeat call leads to exception. |
com::sun::star::configuration::backend::MalformedDataException | if the data read from the layer is rejected as invalid by the XSchemaHandler. |
void readSchema | ( | [in] XSchemaHandler | aHandler | ) | |
raises | ( | com::sun::star::lang::NullPointerException, | |||
com::sun::star::lang::WrappedTargetException, | |||||
MalformedDataException | |||||
) |
Describes the full schema (templates + component) to a XSchemaHandler.
aHandler | schema handler that will receive calls describing the contents of the templates and the component definition |
com::sun::star::lang::NullPointerException | if a NULL handler is passed. |
com::sun::star::lang::WrappedTargetException | if an error occurs in the access to or processing of the data or if a subsequent call to any of the XSchemamethods is made. The elements of a component schema are only parsed once,a repeat call leads to exception. |
com::sun::star::configuration::backend::MalformedDataException | if the data read from the layer is rejected as invalid by the XSchemaHandler. |
void readTemplates | ( | [in] XSchemaHandler | aHandler | ) | |
raises | ( | com::sun::star::lang::NullPointerException, | |||
com::sun::star::lang::WrappedTargetException, | |||||
MalformedDataException | |||||
) |
Describes the component templates to a XSchemaHandler.
aHandler | schema handler that will receive calls describing the contents of the templates |
com::sun::star::lang::NullPointerException | if a NULL handler is passed. |
com::sun::star::lang::WrappedTargetException | if an error occurs in the access to or processing of the data or if a subsequent call to any of the XSchemamethods is made. The elements of a component schema are only parsed once,a repeat call leads to exception. |
com::sun::star::configuration::backend::MalformedDataException | if the data read from the layer is rejected as invalid by the XSchemaHandler. |