summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2004-11-26 19:46:00 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2004-11-26 19:46:00 +0000
commitbc19eb554045bb5b58be4d2f9ea524367296b52b (patch)
tree350f05507379f033c4b85bdb19406b7a5b3a28dc /package
parent37951840fc8174d1f3bbf60cc1d687671d1dd55a (diff)
INTEGRATION: CWS storagechange01 (1.6.18); FILE MERGED
2004/10/29 12:35:20 mav 1.6.18.2: #i35095# plain raw stream 2004/10/28 16:06:15 mav 1.6.18.1: #i35095# introduce XStorageRawAccess implementation
Diffstat (limited to 'package')
-rw-r--r--package/source/xstor/xstorage.hxx32
1 files changed, 30 insertions, 2 deletions
diff --git a/package/source/xstor/xstorage.hxx b/package/source/xstor/xstorage.hxx
index 5e954193a290..d4064627ea9c 100644
--- a/package/source/xstor/xstorage.hxx
+++ b/package/source/xstor/xstorage.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: xstorage.hxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: hr $ $Date: 2004-07-23 11:13:15 $
+ * last change: $Author: hr $ $Date: 2004-11-26 20:46:00 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -70,6 +70,10 @@
#include <com/sun/star/embed/XStorage.hpp>
#endif
+#ifndef _COM_SUN_STAR_EMBED_XSTORAGERAWACCESS_HPP_
+#include <com/sun/star/embed/XStorageRawAccess.hpp>
+#endif
+
#ifndef _COM_SUN_STAR_EMBED_XTRANSACTEDOBJECT_HPP_
#include <com/sun/star/embed/XTransactedObject.hpp>
#endif
@@ -324,6 +328,7 @@ struct OStorage_Impl
class OStorage : public ::com::sun::star::lang::XTypeProvider
, public ::com::sun::star::embed::XStorage
+ , public ::com::sun::star::embed::XStorageRawAccess
, public ::com::sun::star::embed::XTransactedObject
, public ::com::sun::star::embed::XTransactionBroadcaster
, public ::com::sun::star::util::XModifiable
@@ -517,6 +522,29 @@ public:
::com::sun::star::embed::StorageWrappedTargetException,
::com::sun::star::uno::RuntimeException );
+ //____________________________________________________________________________________________________
+ // XStorageRawAccess
+ //____________________________________________________________________________________________________
+
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > SAL_CALL getPlainRawStreamElement(
+ const ::rtl::OUString& sStreamName )
+ throw ( ::com::sun::star::embed::InvalidStorageException,
+ ::com::sun::star::lang::IllegalArgumentException,
+ ::com::sun::star::container::NoSuchElementException,
+ ::com::sun::star::io::IOException,
+ ::com::sun::star::embed::StorageWrappedTargetException,
+ ::com::sun::star::uno::RuntimeException );
+
+ virtual ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > SAL_CALL getRawEncrStreamElement(
+ const ::rtl::OUString& sStreamName )
+ throw ( ::com::sun::star::embed::InvalidStorageException,
+ ::com::sun::star::lang::IllegalArgumentException,
+ ::com::sun::star::packages::NoEncryptionException,
+ ::com::sun::star::container::NoSuchElementException,
+ ::com::sun::star::io::IOException,
+ ::com::sun::star::embed::StorageWrappedTargetException,
+ ::com::sun::star::uno::RuntimeException );
+
virtual void SAL_CALL insertRawEncrStreamElement( const ::rtl::OUString& aStreamName,
const ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream >& xInStream )
throw ( ::com::sun::star::embed::InvalidStorageException,