diff options
author | Kurt Zenker <kz@openoffice.org> | 2005-07-14 10:28:51 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2005-07-14 10:28:51 +0000 |
commit | fb359d6fa7cba1bbd4834b482cdf4c1a298ae493 (patch) | |
tree | acf5ac7fbaf9c8feab6f3d72dd436224809980ce /sd | |
parent | 3c5b2c4e10caac8948a807936770801b85e796ae (diff) |
INTEGRATION: CWS impress63 (1.3.180); FILE MERGED
2005/07/06 12:04:06 cl 1.3.180.1: #i50902# do not restore selected page and page kind on load when not embedded
Diffstat (limited to 'sd')
-rw-r--r-- | sd/source/ui/inc/FrameView.hxx | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/sd/source/ui/inc/FrameView.hxx b/sd/source/ui/inc/FrameView.hxx index 92eab3e4cd1e..b45fd69fe701 100644 --- a/sd/source/ui/inc/FrameView.hxx +++ b/sd/source/ui/inc/FrameView.hxx @@ -2,9 +2,9 @@ * * $RCSfile: FrameView.hxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: rt $ $Date: 2005-01-27 14:15:20 $ + * last change: $Author: kz $ $Date: 2005-07-14 11:28:51 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -133,13 +133,26 @@ public: { aVisArea = rVisArea; } const Rectangle GetVisArea() { return aVisArea; } - void SetPageKind(PageKind eKind) - { ePageKind = eKind; } + void SetPageKind(PageKind eKind) { ePageKind = eKind; } const PageKind GetPageKind() { return ePageKind; } + /** is used in FrameView::ReadUserDataSequence() only to store the + page kind that was selected while last saving this document */ + void SetPageKindOnLoad(PageKind eKind) { ePageKindOnLoad = eKind; } + + /** can be used to get the page kind that was selected on last save of this document */ + const PageKind GetPageKindOnLoad() { return ePageKindOnLoad; } + void SetSelectedPage (USHORT nPage); const USHORT GetSelectedPage (void) const; + /** is used in FrameView::ReadUserDataSequence() only to store the + page that was selected while last saving this document */ + void SetSelectedPageOnLoad (USHORT nPage) { nSelectedPageOnLoad = nPage; } + + /** can be used to get the page that was selected on last save of this document */ + const USHORT GetSelectedPageOnLoad (void) const { return nSelectedPageOnLoad; } + void SetViewShEditMode(EditMode eMode, PageKind eKind); EditMode GetViewShEditMode(PageKind eKind); @@ -214,6 +227,8 @@ private: Rectangle aVisArea; // Sichtbarer Bereich PageKind ePageKind; // Seitentyp (Standard, Notizen, Handzettel) USHORT nSelectedPage; // Selektierte Seite + PageKind ePageKindOnLoad; + USHORT nSelectedPageOnLoad; EditMode eStandardEditMode; // Editmode im Zeichenmodus (Page/MasterPage) EditMode eNotesEditMode; // Editmode im Notizen-Modus (Page/MasterPage) EditMode eHandoutEditMode; // Editmode im Handzettel-Modus (Page/MasterPage) |