summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2003-10-30 08:48:16 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2003-10-30 08:48:16 +0000
commit0e7b8276c54c31e8d8dddf427964468839482786 (patch)
tree4be27af1552eb936fa672c21e5a4ac710a406f19 /package
parent7a4d64b6ea2b4a702c524bcd98634acb530b9c43 (diff)
INTEGRATION: CWS mav08 (1.2.10); FILE MERGED
2003/10/15 08:05:08 mav 1.2.10.2: #i21121# substorages implement transacted mode 2003/10/13 14:26:33 mav 1.2.10.1: #i21121# Transacted mode for storages
Diffstat (limited to 'package')
-rw-r--r--package/source/xstor/owriteablestream.hxx18
1 files changed, 15 insertions, 3 deletions
diff --git a/package/source/xstor/owriteablestream.hxx b/package/source/xstor/owriteablestream.hxx
index 8ad98f0d405f..f6aebd6dc8e3 100644
--- a/package/source/xstor/owriteablestream.hxx
+++ b/package/source/xstor/owriteablestream.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: owriteablestream.hxx,v $
*
- * $Revision: 1.2 $
+ * $Revision: 1.3 $
*
- * last change: $Author: kz $ $Date: 2003-09-11 10:15:39 $
+ * last change: $Author: rt $ $Date: 2003-10-30 09:48:16 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -98,6 +98,11 @@
#include <com/sun/star/embed/XEncryptionProtectedSource.hpp>
#endif
+#ifndef _COM_SUN_STAR_CONTAINER_XNAMECONTAINER_HPP_
+#include <com/sun/star/container/XNameContainer.hpp>
+#endif
+
+
#ifndef _CPPUHELPER_IMPLBASE1_HXX_
#include <cppuhelper/implbase1.hxx>
#endif
@@ -115,6 +120,7 @@
#include "ocompinstream.hxx"
#include "mutexholder.hxx"
+
struct PreCreationStruct
{
SotMutexHolderRef m_rMutexRef;
@@ -173,7 +179,7 @@ struct OWriteStream_Impl : public PreCreationStruct
private:
::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > GetServiceFactory();
- ::rtl::OUString GetNewFilledTempFile();
+ ::rtl::OUString GetFilledTempFile();
::com::sun::star::uno::Reference< ::com::sun::star::io::XStream > GetTempFileAsStream();
::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > GetTempFileAsInputStream();
@@ -192,6 +198,12 @@ public:
~OWriteStream_Impl();
+ void InsertIntoPackageFolder(
+ const ::rtl::OUString& aName,
+ const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameContainer >& xParentPackageFolder );
+
+ void SetToBeCommited() { m_bCommited = sal_True; }
+
sal_Bool HasCachedPassword() { return m_bHasCachedPassword; }
::com::sun::star::uno::Sequence< sal_Int8 > GetCachedPassword() { return m_aKey; }
sal_Bool IsModified() { return m_bIsModified; }