User: vg Date: 05/03/23 01:46:21 Modified: /dba/dbaccess/source/core/dataaccess/ databasedocument.hxx
Log: INTEGRATION: CWS dba26 (1.2.4); FILE MERGED 2005/03/15 15:03:55 fs 1.2.4.1: #i44582# (patch provided by OJ) refined storage handling File Changes: Directory: /dba/dbaccess/source/core/dataaccess/ ================================================ File [changed]: databasedocument.hxx Url: http://dba.openoffice.org/source/browse/dba/dbaccess/source/core/dataaccess/databasedocument.hxx?r1=1.2&r2=1.3 Delta lines: +23 -7 -------------------- --- databasedocument.hxx 10 Mar 2005 16:34:06 -0000 1.2 +++ databasedocument.hxx 23 Mar 2005 09:46:19 -0000 1.3 @@ -152,6 +152,7 @@ ::cppu::OInterfaceContainerHelper m_aCloseListener; ::cppu::OInterfaceContainerHelper m_aDocEventListeners; ::rtl::Reference<ODatabaseModelImpl> m_pImpl; + sal_Bool m_bCommitMasterStorage; void setMeAsParent(const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess >& _xName); @@ -160,8 +161,11 @@ The URL @param lArguments The media descriptor + @param _xStorageToSaveTo + The storage which should be used for saving */ - void store(const ::rtl::OUString& sURL, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue>& lArguments ); + void store(const ::rtl::OUString& sURL + , const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue>& lArguments); /** notifies the global event broadcaster @param _sEventName @@ -188,7 +192,8 @@ /// output descriptor const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue> & rMediaDesc, - sal_Bool bPlainStream ); /// neither compress nor encrypt + sal_Bool bPlainStream + , const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& _xStorageToSaveTo); /// neither compress nor encrypt /// write a single output stream /// (to be called either directly or by WriteThroughComponent(...)) @@ -201,8 +206,19 @@ const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any> & rArguments, const ::com::sun::star::uno::Sequence< - ::com::sun::star::beans::PropertyValue> & rMediaDesc ); - void writeStorage(const ::rtl::OUString& _sURL, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue>& lArguments); + ::com::sun::star::beans::PropertyValue> & rMediaDesc); + + /** writes the content and settings + @param sURL + The URL + @param lArguments + The media descriptor + @param _xStorageToSaveTo + The storage which should be used for saving + */ + void writeStorage(const ::rtl::OUString& _sURL + , const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue>& lArguments + , const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& _xStorageToSaveTo); protected: --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
