diff options
author | Oliver Specht <os@openoffice.org> | 2002-08-01 13:13:38 +0000 |
---|---|---|
committer | Oliver Specht <os@openoffice.org> | 2002-08-01 13:13:38 +0000 |
commit | 77806f30b8571b676fffb98e99ae239289fa7d42 (patch) | |
tree | 4e01a70749c571bb3e0af9424a7d7cc7a95df5b5 /sw/source/ui/docvw | |
parent | 3376011b3f04d2ce79086f7c6dbd196317ccab50 (diff) |
#99985# text selection in readonly documents
Diffstat (limited to 'sw/source/ui/docvw')
-rw-r--r-- | sw/source/ui/docvw/docvw.hrc | 5 | ||||
-rw-r--r-- | sw/source/ui/docvw/romenu.cxx | 6 |
2 files changed, 7 insertions, 4 deletions
diff --git a/sw/source/ui/docvw/docvw.hrc b/sw/source/ui/docvw/docvw.hrc index af56947305c8..1c3df8fed369 100644 --- a/sw/source/ui/docvw/docvw.hrc +++ b/sw/source/ui/docvw/docvw.hrc @@ -2,9 +2,9 @@ * * $RCSfile: docvw.hrc,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: jp $ $Date: 2001-05-08 19:15:04 $ + * last change: $Author: os $ $Date: 2002-08-01 14:13:30 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -71,6 +71,7 @@ #define MN_READONLY_BROWSE_STOP (RC_DOCVW_BEGIN + 5) #define MN_READONLY_BROWSE_BACKWARD (RC_DOCVW_BEGIN + 6) #define MN_READONLY_BROWSE_FORWARD (RC_DOCVW_BEGIN + 7) +#define MN_READONLY_SELECTION_MODE (RC_DOCVW_BEGIN + 8) #define MN_READONLY_SAVEGRAPHIC (RC_DOCVW_BEGIN + 11) #define MN_READONLY_SAVEBACKGROUND (RC_DOCVW_BEGIN + 12) #define MN_READONLY_COPYLINK (RC_DOCVW_BEGIN + 13) diff --git a/sw/source/ui/docvw/romenu.cxx b/sw/source/ui/docvw/romenu.cxx index 2c06e8cc2ee8..faec785d6923 100644 --- a/sw/source/ui/docvw/romenu.cxx +++ b/sw/source/ui/docvw/romenu.cxx @@ -2,9 +2,9 @@ * * $RCSfile: romenu.cxx,v $ * - * $Revision: 1.10 $ + * $Revision: 1.11 $ * - * last change: $Author: os $ $Date: 2001-12-06 14:48:03 $ + * last change: $Author: os $ $Date: 2002-08-01 14:13:31 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -329,6 +329,7 @@ SwReadOnlyPopup::SwReadOnlyPopup( const Point &rDPos, SwView &rV ) : EnableItem( MN_READONLY_RELOAD, !bReloadFrame); Check( MN_READONLY_EDITDOC, SID_EDITDOC, rDis ); + Check( MN_READONLY_SELECTION_MODE, FN_READONLY_SELECTION_MODE, rDis ); Check( MN_READONLY_SOURCEVIEW, SID_SOURCEVIEW, rDis ); Check( MN_READONLY_BROWSE_STOP, SID_BROWSE_STOP, rDis ); Check( MN_READONLY_BROWSE_BACKWARD, SID_BROWSE_BACKWARD,rDis ); @@ -399,6 +400,7 @@ void SwReadOnlyPopup::Execute( Window* pWin, const Point &rPixPos ) case MN_READONLY_OPENURL: nFilter = URLLOAD_NOFILTER; break; case MN_READONLY_OPENURLNEW: nFilter = URLLOAD_NEWVIEW; break; case MN_READONLY_EDITDOC: nExecId = SID_EDITDOC; break; + case MN_READONLY_SELECTION_MODE: nExecId = FN_READONLY_SELECTION_MODE; break; case MN_READONLY_RELOAD: case MN_READONLY_RELOAD_FRAME: rSh.GetView().GetViewFrame()->GetDispatcher()->Execute(SID_RELOAD); |