diff options
author | Oliver Specht <os@openoffice.org> | 2002-08-01 12:55:29 +0000 |
---|---|---|
committer | Oliver Specht <os@openoffice.org> | 2002-08-01 12:55:29 +0000 |
commit | 3376011b3f04d2ce79086f7c6dbd196317ccab50 (patch) | |
tree | f3b62417e4de271fa63183c594bb4c7063e20401 | |
parent | 706119e9bdc3ea0b057901a921eec6015df64f2a (diff) |
#99985# text selection in readonly documents
-rw-r--r-- | sw/sdi/_textsh.sdi | 10 | ||||
-rw-r--r-- | sw/sdi/swriter.sdi | 26 | ||||
-rw-r--r-- | sw/sdi/swslots.src | 10 |
3 files changed, 41 insertions, 5 deletions
diff --git a/sw/sdi/_textsh.sdi b/sw/sdi/_textsh.sdi index 3008f430a8c5..35e9cd0d8410 100644 --- a/sw/sdi/_textsh.sdi +++ b/sw/sdi/_textsh.sdi @@ -2,9 +2,9 @@ * * $RCSfile: _textsh.sdi,v $ * - * $Revision: 1.19 $ + * $Revision: 1.20 $ * - * last change: $Author: os $ $Date: 2002-07-05 09:56:47 $ + * last change: $Author: os $ $Date: 2002-08-01 13:51:55 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -1402,7 +1402,11 @@ interface BaseText : Selection StateMethod = GetState ; DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; ] - + FN_READONLY_SELECTION_MODE + [ + ExecMethod = Execute ; + StateMethod = GetState ; + ] } //ende interface text diff --git a/sw/sdi/swriter.sdi b/sw/sdi/swriter.sdi index 7f0aa6b3ab52..5bf12613a7c9 100644 --- a/sw/sdi/swriter.sdi +++ b/sw/sdi/swriter.sdi @@ -9532,3 +9532,29 @@ SfxVoidItem SetDropCapCharStyleName FN_DROP_CHAR_STYLE_NAME ToolBoxConfig = FALSE, GroupId = GID_FORMAT; ] +//-------------------------------------------------------------------------- +SfxBoolItem SelectTextMode FN_READONLY_SELECTION_MODE +[ + /* flags: */ + AutoUpdate = TRUE, + Cachable = Cachable, + FastCall = FALSE, + HasCoreId = FALSE, + HasDialog = FALSE, + ReadOnlyDoc = TRUE, + Toggle = FALSE, + Container = FALSE, + RecordAbsolute = FALSE, + RecordPerSet; + Synchron; + + Readonly = FALSE, + + /* config: */ + AccelConfig = TRUE, + MenuConfig = TRUE, + StatusBarConfig = FALSE, + ToolBoxConfig = TRUE, + GroupId = GID_EDIT; +] + diff --git a/sw/sdi/swslots.src b/sw/sdi/swslots.src index 43c106589762..e4a0b723c37e 100644 --- a/sw/sdi/swslots.src +++ b/sw/sdi/swslots.src @@ -2,9 +2,9 @@ * * $RCSfile: swslots.src,v $ * - * $Revision: 1.89 $ + * $Revision: 1.90 $ * - * last change: $Author: os $ $Date: 2002-07-31 10:29:05 $ + * last change: $Author: os $ $Date: 2002-08-01 13:51:53 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -9885,3 +9885,9 @@ SfxSlotInfo FN_TO_FOOTNOTE_AREA SlotName[ english_us ] = "Edit Footnote/Endnote"; }; +SfxSlotInfo FN_READONLY_SELECTION_MODE +{ + SlotName = "Text auswhlen"; + SlotName[ english_us ] = "Select text"; +}; + |