diff options
author | Sander Vesik <svesik@openoffice.org> | 2004-04-21 11:33:03 +0000 |
---|---|---|
committer | Sander Vesik <svesik@openoffice.org> | 2004-04-21 11:33:03 +0000 |
commit | 933ea44fd8c824f70d583c0dce59d1f900741dbf (patch) | |
tree | f0513fe7ebbb8c2eb13836233597aaf184c85014 /ucbhelper | |
parent | e6102854f3365a954c412032dacb7923fde6d430 (diff) |
INTEGRATION: CWS loadenv01 (1.12.86); FILE MERGED
2004/03/15 10:30:15 as 1.12.86.1: #i24378# new helper to open streams read/write as XStream
Diffstat (limited to 'ucbhelper')
-rw-r--r-- | ucbhelper/inc/ucbhelper/content.hxx | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/ucbhelper/inc/ucbhelper/content.hxx b/ucbhelper/inc/ucbhelper/content.hxx index 16445b57bda6..23ae61404a6a 100644 --- a/ucbhelper/inc/ucbhelper/content.hxx +++ b/ucbhelper/inc/ucbhelper/content.hxx @@ -2,9 +2,9 @@ * * $RCSfile: content.hxx,v $ * - * $Revision: 1.12 $ + * $Revision: 1.13 $ * - * last change: $Author: kso $ $Date: 2002-04-09 11:49:27 $ + * last change: $Author: svesik $ $Date: 2004-04-21 12:33:03 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -68,6 +68,9 @@ #ifndef _COM_SUN_STAR_UCB_COMMANDABORTEDEXCEPTION_HPP_ #include <com/sun/star/ucb/CommandAbortedException.hpp> #endif +#ifndef _COM_SUN_STAR_IO_XSTREAM_HPP_ +#include <com/sun/star/io/XStream.hpp> +#endif #ifndef _COM_SUN_STAR_UNO_REFERENCE_HXX_ #include <com/sun/star/uno/Reference.hxx> #endif @@ -785,6 +788,19 @@ public: ::com::sun::star::uno::RuntimeException, ::com::sun::star::uno::Exception ); /** + * This methods gives read/write access to the content stream of a content (i.e + * the content of a file located at the local file system). + * Internally it executes the command "open" at the content. + * + * @return an implementation of the interface XStream, which can + * be used to read/write the content's data. + */ + ::com::sun::star::uno::Reference< ::com::sun::star::io::XStream > + openWriteableStream() + throw( ::com::sun::star::ucb::CommandAbortedException, + ::com::sun::star::uno::RuntimeException, + ::com::sun::star::uno::Exception ); + /** * This methods gives read access to the content stream of a content (i.e * the content of a file located at the local file system). * Internally it executes the command "open" at the content. |