summaryrefslogtreecommitdiff
path: root/reportdesign/inc
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2008-07-10 14:53:16 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2008-07-10 14:53:16 +0000
commit434b3a2d021d9d120d992b96870fecb9e5716745 (patch)
tree6bffe9b889f8497c93491f588d75ad83d967529b /reportdesign/inc
parent4a2d0c5eac5f0dbe33b81a50ddac9c16766d19cf (diff)
INTEGRATION: CWS rptfix02 (1.8.2); FILE MERGED
2008/07/01 14:08:35 oj 1.8.2.1: #i91253# handle old version which do not have a meta.xml file
Diffstat (limited to 'reportdesign/inc')
-rw-r--r--reportdesign/inc/ReportDefinition.hxx11
1 files changed, 8 insertions, 3 deletions
diff --git a/reportdesign/inc/ReportDefinition.hxx b/reportdesign/inc/ReportDefinition.hxx
index 0c9a0d6a5242..ef7575379a24 100644
--- a/reportdesign/inc/ReportDefinition.hxx
+++ b/reportdesign/inc/ReportDefinition.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: ReportDefinition.hxx,v $
- * $Revision: 1.8 $
+ * $Revision: 1.9 $
*
* This file is part of OpenOffice.org.
*
@@ -32,7 +32,7 @@
#define REPORTDESIGN_API_REPORTDEFINITION_HXX
#include <com/sun/star/report/XReportDefinition.hpp>
-#include <cppuhelper/compbase10.hxx>
+#include <cppuhelper/compbase11.hxx>
#include <cppuhelper/basemutex.hxx>
#include <com/sun/star/lang/XServiceInfo.hpp>
#include <com/sun/star/lang/XUnoTunnel.hpp>
@@ -40,6 +40,7 @@
#include <com/sun/star/frame/XTitle.hpp>
#include <com/sun/star/frame/XTitleChangeBroadcaster.hpp>
#include <com/sun/star/frame/XUntitledNumbers.hpp>
+#include <com/sun/star/document/XDocumentPropertiesSupplier.hpp>
#include <cppuhelper/propertysetmixin.hxx>
#include <comphelper/uno3.hxx>
#include <comphelper/embeddedobjectcontainer.hxx>
@@ -61,7 +62,7 @@ namespace comphelper
namespace reportdesign
{
class OReportComponentProperties;
- typedef ::cppu::WeakComponentImplHelper10< com::sun::star::report::XReportDefinition
+ typedef ::cppu::WeakComponentImplHelper11< com::sun::star::report::XReportDefinition
,com::sun::star::document::XEventBroadcaster
,com::sun::star::lang::XServiceInfo
,com::sun::star::frame::XModule
@@ -70,6 +71,7 @@ namespace reportdesign
,::com::sun::star::frame::XTitle
,::com::sun::star::frame::XTitleChangeBroadcaster
,::com::sun::star::frame::XUntitledNumbers
+ ,::com::sun::star::document::XDocumentPropertiesSupplier
,SvxUnoDrawMSFactory> ReportDefinitionBase;
typedef ::cppu::PropertySetMixin<com::sun::star::report::XReportDefinition> ReportDefinitionPropertySet;
@@ -353,6 +355,9 @@ namespace reportdesign
virtual void SAL_CALL releaseNumberForComponent( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& xComponent ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::RuntimeException);
virtual ::rtl::OUString SAL_CALL getUntitledPrefix( ) throw (::com::sun::star::uno::RuntimeException);
+ // XDocumentPropertiesSupplier
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::document::XDocumentProperties > SAL_CALL getDocumentProperties( ) throw (::com::sun::star::uno::RuntimeException);
+
// comphelper::IEmbeddedHelper
virtual com::sun::star::uno::Reference < com::sun::star::embed::XStorage > getStorage() const;
virtual ::comphelper::EmbeddedObjectContainer& getEmbeddedObjectContainer() const;