diff options
author | Vladimir Glazounov <vg@openoffice.org> | 2008-04-15 13:09:55 +0000 |
---|---|---|
committer | Vladimir Glazounov <vg@openoffice.org> | 2008-04-15 13:09:55 +0000 |
commit | 3490029e8c26bfb0eb8ed84ced6772933e6257f6 (patch) | |
tree | ea9c4b4df95c6961dd129419961c43658bfd3bff /ucbhelper | |
parent | 5eebb3a5ea1346a7336e1e987d05d4bb3683987d (diff) |
INTEGRATION: CWS calcshare2 (1.18.12); FILE MERGED
2008/03/14 21:40:03 mav 1.18.12.1: #i85794# new file locking prototype
Diffstat (limited to 'ucbhelper')
-rw-r--r-- | ucbhelper/inc/ucbhelper/content.hxx | 32 |
1 files changed, 31 insertions, 1 deletions
diff --git a/ucbhelper/inc/ucbhelper/content.hxx b/ucbhelper/inc/ucbhelper/content.hxx index ac1f383c4f1e..03cfa0bc8290 100644 --- a/ucbhelper/inc/ucbhelper/content.hxx +++ b/ucbhelper/inc/ucbhelper/content.hxx @@ -7,7 +7,7 @@ * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: content.hxx,v $ - * $Revision: 1.19 $ + * $Revision: 1.20 $ * * This file is part of OpenOffice.org. * @@ -734,6 +734,21 @@ public: ::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. + * The method requests opening without locking. + * + * @return an implementation of the interface XInputStream, which can + * be used to read the content's data. + */ + ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > + openStreamNoLock() + 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. @@ -747,6 +762,21 @@ 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. + * The method requests opening without locking. + * + * @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 > + openWriteableStreamNoLock() + 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. |