diff options
author | Cédric Bosdonnat <cedric.bosdonnat@free.fr> | 2012-10-09 10:47:32 +0200 |
---|---|---|
committer | Cédric Bosdonnat <cedric.bosdonnat@free.fr> | 2012-10-11 17:31:17 +0200 |
commit | f5a84d8c1a44d82f2ca96a3d219a4cb05ab71a39 (patch) | |
tree | b77f960a094406e1ad3eecc8e7402a97ba300754 /sfx2/inc | |
parent | 97aa108f2b595145d63b00d515489030a849957e (diff) |
CMIS: Provide the CMIS properties in the UNO API of documents
Change-Id: Ieb48f615a80e1fa2d49b4efada1f8f9fc4349c29
Diffstat (limited to 'sfx2/inc')
-rw-r--r-- | sfx2/inc/sfx2/sfxbasemodel.hxx | 27 |
1 files changed, 23 insertions, 4 deletions
diff --git a/sfx2/inc/sfx2/sfxbasemodel.hxx b/sfx2/inc/sfx2/sfxbasemodel.hxx index 0fae6b8c766d..8b7097f4ff68 100644 --- a/sfx2/inc/sfx2/sfxbasemodel.hxx +++ b/sfx2/inc/sfx2/sfxbasemodel.hxx @@ -32,6 +32,7 @@ #include <com/sun/star/container/XNameContainer.hpp> #include <com/sun/star/container/XNameReplace.hpp> #include <com/sun/star/frame/XController2.hpp> +#include <com/sun/star/document/XCmisDocument.hpp> #include <com/sun/star/document/XDocumentInfo.hpp> #include <com/sun/star/document/XDocumentInfoSupplier.hpp> #include <com/sun/star/document/XDocumentPropertiesSupplier.hpp> @@ -87,9 +88,9 @@ #include <com/sun/star/task/XInteractionHandler.hpp> //________________________________________________________________________________________________________ -#ifndef INCLUDED_COMPHELPER_IMPLBASE_VAR_HXX_32 -#define INCLUDED_COMPHELPER_IMPLBASE_VAR_HXX_32 -#define COMPHELPER_IMPLBASE_INTERFACE_NUMBER 32 +#ifndef INCLUDED_COMPHELPER_IMPLBASE_VAR_HXX_33 +#define INCLUDED_COMPHELPER_IMPLBASE_VAR_HXX_33 +#define COMPHELPER_IMPLBASE_INTERFACE_NUMBER 33 #include <comphelper/implbase_var.hxx> #endif @@ -209,9 +210,10 @@ namespace sfx { namespace intern { SfxListener */ -typedef ::comphelper::WeakImplHelper32 < XCHILD +typedef ::comphelper::WeakImplHelper33 < XCHILD , XDOCUMENTINFOSUPPLIER , ::com::sun::star::document::XDocumentPropertiesSupplier + , ::com::sun::star::document::XCmisDocument , ::com::sun::star::rdf::XDocumentMetadataAccess , ::com::sun::star::document::XDocumentRecovery , ::com::sun::star::document::XUndoManagerSupplier @@ -1402,6 +1404,23 @@ public: ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::WrappedTargetException); + // XCmisDocument + + virtual ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > + SAL_CALL getCmisPropertiesValues() + throw (::com::sun::star::uno::RuntimeException); + virtual void SAL_CALL setCmisPropertiesValues( + const ::com::sun::star::uno::Sequence< + ::com::sun::star::beans::PropertyValue >& _cmispropertiesvalues ) + throw (::com::sun::star::uno::RuntimeException); + virtual ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > + SAL_CALL getCmisPropertiesDisplayNames() + throw (::com::sun::star::uno::RuntimeException); + virtual void SAL_CALL setCmisPropertiesDisplayNames( + const ::com::sun::star::uno::Sequence< + ::com::sun::star::beans::PropertyValue >& _cmispropertiesdisplaynames ) + throw (::com::sun::star::uno::RuntimeException); + //____________________________________________________________________________________________________ // SfxListener |