summaryrefslogtreecommitdiff
path: root/sw/inc/ndole.hxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2004-09-08 14:16:26 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2004-09-08 14:16:26 +0000
commit314b408beffb04da43e4dce79fb8acfb0cbe0ae3 (patch)
tree77fc7945cf69ef72ff405035c2e904c06b089a8d /sw/inc/ndole.hxx
parent875c28cf53b5bcfe0f42fdb9fb7ff66927850fb9 (diff)
INTEGRATION: CWS swundo03 (1.5.188); FILE MERGED
2004/08/04 14:44:25 hbrinkm 1.5.188.1: #115575#,#115582#
Diffstat (limited to 'sw/inc/ndole.hxx')
-rw-r--r--sw/inc/ndole.hxx13
1 files changed, 9 insertions, 4 deletions
diff --git a/sw/inc/ndole.hxx b/sw/inc/ndole.hxx
index 17ace182a937..8a03276a54a1 100644
--- a/sw/inc/ndole.hxx
+++ b/sw/inc/ndole.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: ndole.hxx,v $
*
- * $Revision: 1.6 $
+ * $Revision: 1.7 $
*
- * last change: $Author: obo $ $Date: 2004-08-12 12:04:08 $
+ * last change: $Author: hr $ $Date: 2004-09-08 15:16:26 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -84,7 +84,8 @@ class SwOLEObj
//Entweder Ref oder Name sind bekannt, wenn nur der Name bekannt ist, wird
//dir Ref bei Anforderung durch GetOleRef() vom Sfx besorgt.
- SvInPlaceObjectRef *pOLERef; //new/delete, damit so2.hxx wegfaellt.
+ SvInPlaceObjectRef *pOLERef;
+ //new/delete, damit so2.hxx wegfaellt.
String aName;
SwOLEObj( const SwOLEObj& rObj ); //nicht erlaubt.
@@ -99,6 +100,8 @@ public:
BOOL RemovedFromLRU();
+ String GetDescription();
+
#ifndef _FESHVIEW_ONLY_INLINE_NEEDED
SvInPlaceObjectRef GetOleRef();
const String &GetName() const { return aName; }
@@ -117,7 +120,7 @@ struct SwPersistentOleData;
class SwOLENode: public SwNoTxtNode
{
friend class SwNodes;
- SwOLEObj aOLEObj;
+ mutable SwOLEObj aOLEObj;
SwPersistentOleData* pSavedData;
String sChartTblName; // bei Chart Objecten: Name der ref. Tabelle
BOOL bOLESizeInvalid; //Soll beim SwDoc::PrtOLENotify beruecksichtig
@@ -156,6 +159,8 @@ public:
BOOL IsOLESizeInvalid() const { return bOLESizeInvalid; }
void SetOLESizeInvalid( BOOL b ){ bOLESizeInvalid = b; }
+ String GetDescription() const { return aOLEObj.GetDescription(); }
+
#ifndef _FESHVIEW_ONLY_INLINE_NEEDED
const String& GetChartTblName() const { return sChartTblName; }
void SetChartTblName( const String& rNm ) { sChartTblName = rNm; }