diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-04-13 11:22:28 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-04-13 11:22:28 +0000 |
commit | 8ad26555d5e6d96d28e644b5a786acb46e2fe258 (patch) | |
tree | 3dc284f51b630331a4da7c8d109087a886196b5c /sc/inc/dpsave.hxx | |
parent | d3b7234268c2612934ba581da38cc7a4d5b5a837 (diff) |
INTEGRATION: CWS pagefields (1.2.336); FILE MERGED
2004/04/06 15:39:06 sab 1.2.336.3: #i26987#; add new methods HasIsVisible and HasShowDetails
2004/04/06 14:28:52 sab 1.2.336.2: #i26987#; add new method GetExistingMemberByName
2003/12/05 13:56:28 nn 1.2.336.1: #i22164# page field handling
Diffstat (limited to 'sc/inc/dpsave.hxx')
-rw-r--r-- | sc/inc/dpsave.hxx | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/sc/inc/dpsave.hxx b/sc/inc/dpsave.hxx index 8aea7d8e07af..f8827ba75363 100644 --- a/sc/inc/dpsave.hxx +++ b/sc/inc/dpsave.hxx @@ -2,9 +2,9 @@ * * $RCSfile: dpsave.hxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: nn $ $Date: 2001-01-17 18:26:15 $ + * last change: $Author: hr $ $Date: 2004-04-13 12:22:28 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -98,8 +98,10 @@ public: BOOL operator== ( const ScDPSaveMember& r ) const; const String& GetName() { return aName; } + BOOL HasIsVisible(); void SetIsVisible(BOOL bSet); BOOL GetIsVisible() { return BOOL(nVisibleMode); } + BOOL HasShowDetails(); void SetShowDetails(BOOL bSet); BOOL GetShowDetails() { return BOOL(nShowDetailsMode); } @@ -115,6 +117,7 @@ class ScDPSaveDimension private: String aName; String* pLayoutName; // alternative name for layout, not used (yet) + String* pSelectedPage; BOOL bIsDataLayout; BOOL bDupFlag; USHORT nOrientation; @@ -159,8 +162,13 @@ public: BOOL HasLayoutName() const; void ResetLayoutName(); + void SetCurrentPage( const String* pPage ); // NULL = no selection (all) + BOOL HasCurrentPage() const; + const String& GetCurrentPage() const; + USHORT GetOrientation() const { return nOrientation; } + ScDPSaveMember* GetExistingMemberByName(const String& rName); ScDPSaveMember* GetMemberByName(const String& rName); void WriteToSource( const com::sun::star::uno::Reference< |