diff options
author | Eike Rathke <er@openoffice.org> | 2001-04-18 11:34:53 +0000 |
---|---|---|
committer | Eike Rathke <er@openoffice.org> | 2001-04-18 11:34:53 +0000 |
commit | 945c2e5d0efa0183f778d438824baf34013aea23 (patch) | |
tree | 1c89f35e3e02f5d4dfd807c0c5186df91b545528 /sc/inc/tablink.hxx | |
parent | 08558e289cbfeb2ccf1e576f5bd8ccbcee3b8762 (diff) |
ScTableLink with refresh delay
Diffstat (limited to 'sc/inc/tablink.hxx')
-rw-r--r-- | sc/inc/tablink.hxx | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/sc/inc/tablink.hxx b/sc/inc/tablink.hxx index b5a579585635..a9d7d17c7dbc 100644 --- a/sc/inc/tablink.hxx +++ b/sc/inc/tablink.hxx @@ -2,9 +2,9 @@ * * $RCSfile: tablink.hxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: jp $ $Date: 2001-03-08 20:45:14 $ + * last change: $Author: er $ $Date: 2001-04-18 12:34:53 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -81,6 +81,7 @@ private: String aFileName; String aFilterName; String aOptions; + ULONG nRefreshDelay; // refresh delay in seconds; 0 = off BOOL bInCreate; BOOL bAddUndo; BOOL bDoPaint; @@ -88,9 +89,9 @@ private: public: TYPEINFO(); ScTableLink( ScDocShell* pDocSh, const String& rFile, - const String& rFilter, const String& rOpt); + const String& rFilter, const String& rOpt, ULONG nRefresh ); ScTableLink( SfxObjectShell* pShell, const String& rFile, - const String& rFilter, const String& rOpt); + const String& rFilter, const String& rOpt, ULONG nRefresh ); virtual ~ScTableLink(); virtual void Closed(); virtual void DataChanged( const String& rMimeType, @@ -99,14 +100,16 @@ public: virtual BOOL Edit(Window* pParent); BOOL Refresh(const String& rNewFile, const String& rNewFilter, - const String* pNewOptions = NULL); + const String* pNewOptions /* = NULL */, ULONG nNewRefresh ); void SetInCreate(BOOL bSet) { bInCreate = bSet; } void SetAddUndo(BOOL bSet) { bAddUndo = bSet; } void SetPaint(BOOL bSet) { bDoPaint = bSet; } + void SetRefreshDelay(ULONG nRefresh) { nRefreshDelay = nRefresh; } const String& GetFileName() const { return aFileName; } const String& GetFilterName() const { return aFilterName; } const String& GetOptions() const { return aOptions; } + ULONG GetRefreshDelay() const { return nRefreshDelay; } BOOL IsUsed() const; }; |