diff options
author | Martin Gallwey <mtg@openoffice.org> | 2001-05-03 13:27:43 +0000 |
---|---|---|
committer | Martin Gallwey <mtg@openoffice.org> | 2001-05-03 13:27:43 +0000 |
commit | 0d2cf9e5bf078aaf27869d420f428cc7d873d91e (patch) | |
tree | 81f956e2d17c9b95dd7adddf239092bf9d277d5a /sw/inc/unoatxt.hxx | |
parent | 4469c2914f65e132b9116a8544b29e2815807a5b (diff) |
#75825# Give an auto text block access to an SwXBodyText
Diffstat (limited to 'sw/inc/unoatxt.hxx')
-rw-r--r-- | sw/inc/unoatxt.hxx | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/sw/inc/unoatxt.hxx b/sw/inc/unoatxt.hxx index 65cde6a28b5f..5d12dc40ec9c 100644 --- a/sw/inc/unoatxt.hxx +++ b/sw/inc/unoatxt.hxx @@ -2,9 +2,9 @@ * * $RCSfile: unoatxt.hxx,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: dvo $ $Date: 2001-04-25 14:50:24 $ + * last change: $Author: mtg $ $Date: 2001-05-03 14:27:43 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -112,10 +112,21 @@ #ifndef _SVTOOLS_UNOEVENT_HXX_ #include <svtools/unoevent.hxx> #endif - class SwTextBlocks; class SwGlossaries; class SwDoc; +class SwDocShell; +class SwXBodyText; + +#ifndef SW_DECL_SWDOCSHELL_DEFINED +#define SW_DECL_SWDOCSHELL_DEFINED +#ifndef _REF_HXX +#include <tools/ref.hxx> +#endif +SV_DECL_REF( SwDocShell ) +#endif + + /****************************************************************************** * ******************************************************************************/ @@ -243,6 +254,10 @@ class SwXAutoTextEntry : public cppu::WeakImplHelper5 SwGlossaries* pGlossaries; String sGroupName; String sEntryName; + SwDocShellRef xDocSh; + SwXBodyText* pBodyText; + sal_Bool bIsModified; + com::sun::star::uno::Reference < com::sun::star::lang::XServiceInfo> xBodyText; public: SwXAutoTextEntry(SwGlossaries* , const String& rGroupName, const String& rEntryName); |