LibreOffice
LibreOffice 24.2 SDK API Reference
|
allows operating on a sub document of an OfficeDatabaseDocument More...
import"XSubDocument.idl";
Public Member Functions | |
::com::sun::star::lang::XComponent | open () raises ( ::com::sun::star::lang::WrappedTargetException ) |
opens the sub document More... | |
::com::sun::star::lang::XComponent | openDesign () raises ( ::com::sun::star::lang::WrappedTargetException ) |
opens the sub document in design mode More... | |
void | store () raises ( ::com::sun::star::lang::WrappedTargetException ) |
stores the sub document, if it had previously been opened in either mode More... | |
boolean | close () raises ( ::com::sun::star::lang::WrappedTargetException ) |
closes the sub document, if it had previously been opened in either mode More... | |
allows operating on a sub document of an OfficeDatabaseDocument
boolean close | ( | ) | ||
raises | ( | ::com::sun::star::lang::WrappedTargetException | ||
) |
closes the sub document, if it had previously been opened in either mode
TRUE
if and only if the document could be closed, FALSE
otherwise, e.g. if the closing has been vetoed by the user.com::sun::star::lang::WrappedTargetException | if an error occurs during closing the document |
::com::sun::star::lang::XComponent open | ( | ) | ||
raises | ( | ::com::sun::star::lang::WrappedTargetException | ||
) |
opens the sub document
Note that opening the document means it is displayed in an own top-level frame on the desktop.
com::sun::star::lang::WrappedTargetException | if an error occurs during opening the document |
::com::sun::star::lang::XComponent openDesign | ( | ) | ||
raises | ( | ::com::sun::star::lang::WrappedTargetException | ||
) |
opens the sub document in design mode
com::sun::star::lang::WrappedTargetException | if an error occurs during opening the document |
void store | ( | ) | ||
raises | ( | ::com::sun::star::lang::WrappedTargetException | ||
) |
stores the sub document, if it had previously been opened in either mode
com::sun::star::lang::WrappedTargetException | if an error occurs during storing the document |