summaryrefslogtreecommitdiff
path: root/embedserv/source/inc/embeddoc.hxx
diff options
context:
space:
mode:
authorMikhail Voitenko <mav@openoffice.org>2003-03-25 07:25:26 +0000
committerMikhail Voitenko <mav@openoffice.org>2003-03-25 07:25:26 +0000
commit5a476fbbc1ea7474dcf72cc2bfc4c36ccf8445f9 (patch)
tree7045d3846934b13e53cf4a75c63c30e23e48db89 /embedserv/source/inc/embeddoc.hxx
parente694d3e6b94fd244189932079f2120d74178d34e (diff)
#i2822# implement IPersistFile
Diffstat (limited to 'embedserv/source/inc/embeddoc.hxx')
-rwxr-xr-xembedserv/source/inc/embeddoc.hxx15
1 files changed, 12 insertions, 3 deletions
diff --git a/embedserv/source/inc/embeddoc.hxx b/embedserv/source/inc/embeddoc.hxx
index d80ee0ffc7c9..671010447c50 100755
--- a/embedserv/source/inc/embeddoc.hxx
+++ b/embedserv/source/inc/embeddoc.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: embeddoc.hxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: mav $ $Date: 2003-03-12 15:38:00 $
+ * last change: $Author: mav $ $Date: 2003-03-25 08:25:26 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -84,11 +84,13 @@ class GDIMetaFile;
class EmbedDocument_Impl : public IPersistStorage
, public IDataObject
, public IOleObject
+ , public IPersistFile
{
protected:
::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >
fillArgsForLoading_Impl( ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > xStream,
- DWORD nStreamMode );
+ DWORD nStreamMode,
+ LPCOLESTR pFilePath = NULL );
::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >
fillArgsForStoring_Impl( ::com::sun::star::uno::Reference< ::com::sun::star::io::XOutputStream > xStream );
@@ -151,12 +153,19 @@ public:
STDMETHOD(GetMiscStatus) ( DWORD dwAspect, DWORD *pdwStatus );
STDMETHOD(SetColorScheme) ( LOGPALETTE *pLogpal );
+ /* IPersistFile methods */
+ STDMETHOD(Load) ( LPCOLESTR pszFileName, DWORD dwMode );
+ STDMETHOD(Save) ( LPCOLESTR pszFileName, BOOL fRemember );
+ STDMETHOD(SaveCompleted) ( LPCOLESTR pszFileName );
+ STDMETHOD(GetCurFile) ( LPOLESTR *ppszFileName );
+
protected:
oslInterlockedCount m_refCount;
::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > m_xFactory;
DocumentHolder* m_pDocHolder;
+ ::rtl::OUString m_aFileName;
CComPtr< IStorage > m_pMasterStorage;
CComPtr< IStream > m_pOwnStream;