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
This commit is contained in:
parent
e6102854f3
commit
933ea44fd8
1 changed files with 18 additions and 2 deletions
|
@ -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
|
||||
|
@ -784,6 +787,19 @@ public:
|
|||
throw( ::com::sun::star::ucb::CommandAbortedException,
|
||||
::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).
|
||||
|
|
Loading…
Reference in a new issue