diff options
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/app.hrc | 5 | ||||
-rw-r--r-- | sfx2/source/appl/newhelp.cxx | 12 | ||||
-rw-r--r-- | sfx2/source/appl/newhelp.src | 10 | ||||
-rw-r--r-- | sfx2/source/inc/helpid.hrc | 8 | ||||
-rw-r--r-- | sfx2/util/hidother.src | 5 |
5 files changed, 26 insertions, 14 deletions
diff --git a/sfx2/source/appl/app.hrc b/sfx2/source/appl/app.hrc index 79984a956ba5..acc27a295319 100644 --- a/sfx2/source/appl/app.hrc +++ b/sfx2/source/appl/app.hrc @@ -2,9 +2,9 @@ * * $RCSfile: app.hrc,v $ * - * $Revision: 1.23 $ + * $Revision: 1.24 $ * - * last change: $Author: pb $ $Date: 2002-06-04 08:22:11 $ + * last change: $Author: os $ $Date: 2002-08-01 11:38:30 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -253,6 +253,7 @@ #define STR_HELP_BUTTON_ADDBOOKMARK (RID_SFX_APP_START+140) #define STR_HELP_BUTTON_INDEX_OFF (RID_SFX_APP_START+141) #define STR_HELP_BUTTON_SEARCHDIALOG (RID_SFX_APP_START+142) +#define STR_HELP_MENU_TEXT_SELECTION_MODE (RID_SFX_APP_START+143) #define IMG_HELP_TOOLBOX_HC_INDEX_ON (RID_SFX_APP_START+150) #define IMG_HELP_TOOLBOX_HC_INDEX_OFF (RID_SFX_APP_START+151) diff --git a/sfx2/source/appl/newhelp.cxx b/sfx2/source/appl/newhelp.cxx index 9fbc8eb3d7ce..0eb09516930b 100644 --- a/sfx2/source/appl/newhelp.cxx +++ b/sfx2/source/appl/newhelp.cxx @@ -2,9 +2,9 @@ * * $RCSfile: newhelp.cxx,v $ * - * $Revision: 1.79 $ + * $Revision: 1.80 $ * - * last change: $Author: pb $ $Date: 2002-06-04 08:22:11 $ + * last change: $Author: os $ $Date: 2002-08-01 11:38:34 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -243,6 +243,7 @@ extern void AppendConfigToken_Impl( String& rURL, sal_Bool bQuestionMark ); // s #define TBI_BOOKMARKS 1007 #define TBI_SEARCHDIALOG 1008 #define TBI_SOURCEVIEW 1009 +#define TBI_SELECTIONMODE 1010 #define CONFIGNAME_HELPWIN DEFINE_CONST_UNICODE("OfficeHelp") #define CONFIGNAME_INDEXWIN DEFINE_CONST_UNICODE("OfficeHelpIndex") @@ -1979,7 +1980,6 @@ SfxHelpTextWindow_Impl::SfxHelpTextWindow_Impl( SfxHelpWindow_Impl* pParent ) : aIndexOffText ( SfxResId( STR_HELP_BUTTON_INDEX_OFF ) ), aIndexOnImage ( SfxResId( IMG_HELP_TOOLBOX_INDEX_ON ) ), aIndexOffImage ( SfxResId( IMG_HELP_TOOLBOX_INDEX_OFF ) ) - { sfx2::AddToTaskPaneList( &aToolBox ); @@ -2222,6 +2222,9 @@ long SfxHelpTextWindow_Impl::PreNotify( NotifyEvent& rNEvt ) Image( SfxResId( bHiContrast ? IMG_HELP_TOOLBOX_HC_BOOKMARKS : IMG_HELP_TOOLBOX_BOOKMARKS ) ) ); aMenu.SetHelpId( TBI_BOOKMARKS, HID_HELP_TOOLBOXITEM_BOOKMARKS ); aMenu.InsertSeparator(); + aMenu.InsertItem( TBI_SELECTIONMODE, String( SfxResId( STR_HELP_MENU_TEXT_SELECTION_MODE ) ) ); + aMenu.SetHelpId( TBI_SELECTIONMODE, HID_HELP_TEXT_SELECTION_MODE ); + aMenu.InsertSeparator(); aMenu.InsertItem( TBI_COPY, GET_SLOT_NAME( SID_COPY ), Image( SfxResId( bHiContrast ? IMG_HELP_TOOLBOX_HC_COPY : IMG_HELP_TOOLBOX_COPY ) ) ); aMenu.SetHelpId( TBI_COPY, SID_COPY ); @@ -2895,6 +2898,7 @@ void SfxHelpWindow_Impl::DoAction( USHORT nActionId ) case TBI_SOURCEVIEW : case TBI_SEARCHDIALOG : case TBI_COPY : + case TBI_SELECTIONMODE: { Reference < XDispatchProvider > xProv( pTextWin->getFrame(), UNO_QUERY ); if ( xProv.is() ) @@ -2906,6 +2910,8 @@ void SfxHelpWindow_Impl::DoAction( USHORT nActionId ) aURL.Complete = DEFINE_CONST_UNICODE(".uno:SourceView"); else if ( TBI_COPY == nActionId ) aURL.Complete = DEFINE_CONST_UNICODE(".uno:Copy"); + else if ( TBI_SELECTIONMODE == nActionId ) + aURL.Complete = DEFINE_CONST_UNICODE(".uno:SelectTextMode"); else aURL.Complete = DEFINE_CONST_UNICODE(".uno:SearchDialog"); PARSE_URL( aURL ); diff --git a/sfx2/source/appl/newhelp.src b/sfx2/source/appl/newhelp.src index 4e7a4b4a58f5..e95ae1ec250a 100644 --- a/sfx2/source/appl/newhelp.src +++ b/sfx2/source/appl/newhelp.src @@ -2,9 +2,9 @@ * * $RCSfile: newhelp.src,v $ * - * $Revision: 1.73 $ + * $Revision: 1.74 $ * - * last change: $Author: pb $ $Date: 2002-06-04 12:11:53 $ + * last change: $Author: os $ $Date: 2002-08-01 11:38:31 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -870,7 +870,11 @@ String STR_HELP_FIRST_HTML { Text = "<html></head><body><center><br></br><br></br><p><tt>%1</tt></center></body></html>"; }; - +String STR_HELP_MENU_TEXT_SELECTION_MODE +{ + Text = "Text ausw�hlen"; + Text [english_us] = "Select Text"; +}; ModalDialog DLG_HELP_ADDBOOKMARK { Size = MAP_APPFONT ( 208 , 43 ) ; diff --git a/sfx2/source/inc/helpid.hrc b/sfx2/source/inc/helpid.hrc index 712167987179..6e66e03007bb 100644 --- a/sfx2/source/inc/helpid.hrc +++ b/sfx2/source/inc/helpid.hrc @@ -2,9 +2,9 @@ * * $RCSfile: helpid.hrc,v $ * - * $Revision: 1.16 $ + * $Revision: 1.17 $ * - * last change: $Author: cd $ $Date: 2002-02-22 08:08:51 $ + * last change: $Author: os $ $Date: 2002-08-01 11:38:02 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -369,10 +369,10 @@ #define HID_CUSTOMIZETOOLBOX (HID_SFX_START + 302) #define HID_CUSTOMIZETOOLBOX_FUNCTIONS (HID_SFX_START + 303) #define HID_CUSTOMIZETOOLBOX_TOOLBOX (HID_SFX_START + 304) +#define HID_HELP_TEXT_SELECTION_MODE (HID_SFX_START + 305) - -#define ACT_SFX_HID_END HID_HELP_TREELISTBOX_CONTENTS +#define ACT_SFX_HID_END HID_HELP_TEXT_SELECTION_MODE // "Uberlaufpr"ufung -------------------------------------------------------- diff --git a/sfx2/util/hidother.src b/sfx2/util/hidother.src index 7707d86d2697..0d6ff3fb7de7 100644 --- a/sfx2/util/hidother.src +++ b/sfx2/util/hidother.src @@ -2,9 +2,9 @@ * * $RCSfile: hidother.src,v $ * - * $Revision: 1.10 $ + * $Revision: 1.11 $ * - * last change: $Author: pb $ $Date: 2001-10-29 07:09:27 $ + * last change: $Author: os $ $Date: 2002-08-01 11:37:11 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -227,3 +227,4 @@ hidspecial HID_GLOBAL_FALLBACK { HelpID = HID_GLOBAL_FALLBACK; hidspecial HID_CLOSE_WARNING { HelpID = HID_CLOSE_WARNING; }; hidspecial HID_DID_SAVE_PACKED_XML { HelpID = HID_DID_SAVE_PACKED_XML; }; hidspecial HID_HELP_ONHELP { HelpID = HID_HELP_ONHELP; }; +hidspecial HID_HELP_TEXT_SELECTION_MODE { HelpID = HID_HELP_TEXT_SELECTION_MODE; }; |