xref: /trunk/main/sw/source/ui/lingu/olmenu.hrc (revision fefe2166)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements.  See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership.  The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License.  You may obtain a copy of the License at
10 *
11 *   http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied.  See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
20 *************************************************************/
21
22
23
24#ifndef _OLMENU_HRC
25#define _OLMENU_HRC
26
27#include "rcid.hrc"
28
29#define MN_SPELL_POPUP                  (RC_LINGU_BEGIN + 1)
30#define STR_SPELL_OK                    (RC_LINGU_BEGIN + 2)
31#define STR_HYP_OK                      (RC_LINGU_BEGIN + 3)
32#define STR_WORD                        (RC_LINGU_BEGIN + 4)
33#define STR_PARAGRAPH                   (RC_LINGU_BEGIN + 5)
34#define STR_LANGSTATUS_NONE             (RC_LINGU_BEGIN + 6)
35#define STR_LANGSTATUS_MORE             (RC_LINGU_BEGIN + 7)
36#define STR_IGNORE_SELECTION            (RC_LINGU_BEGIN + 8)
37#define STR_RESET_TO_DEFAULT_LANGUAGE   (RC_LINGU_BEGIN + 9)
38
39#define IMG_INFO_16                     (RC_LINGU_BEGIN + 100)
40
41//! Don't change these values. You may break context menu modifying extensions!
42#define MN_SPELLING_DLG                 200
43#define MN_IGNORE_SELECTION             201
44#define MN_IGNORE_WORD                  202
45#define MN_ADD_TO_DIC                   203
46#define MN_AUTOCORR                     204
47#define MN_SET_LANGUAGE_SELECTION       205
48#define MN_SET_LANGUAGE_PARAGRAPH       206
49#define MN_SET_LANGUAGE_ALL_TEXT        207
50#define MN_SHORT_COMMENT                208
51
52// id range for dictionaries sub menu
53#define MN_DICTIONARIES_START               300
54#define MN_DICTIONARIES_END                 (MN_DICTIONARIES_START + 99)
55
56// id range for suggestions from spell and grammar checker
57#define MN_SUGGESTION_START                 500
58#define MN_SUGGESTION_END                   (MN_SUGGESTION_START + MN_MAX_NUM_LANG)
59
60// id range for auto correction sub menu entries
61#define MN_AUTOCORR_START                   700
62#define MN_AUTOCORR_END                     (MN_AUTOCORR_START + MN_MAX_NUM_LANG)
63
64// max number of language entries sub menus
65#define MN_MAX_NUM_LANG                 99
66
67#define MN_NONE_OFFSET                  (MN_MAX_NUM_LANG + 1)
68#define MN_RESET_OFFSET                 (MN_MAX_NUM_LANG + 2)
69#define MN_MORE_OFFSET                  (MN_MAX_NUM_LANG + 3)
70
71// id range for 'set language for selection' sub menu entries
72#define MN_SET_LANGUAGE_SELECTION_START     900
73#define MN_SET_LANGUAGE_SELECTION_END       (MN_SET_LANGUAGE_SELECTION_START + MN_MAX_NUM_LANG)
74#define MN_SET_SELECTION_NONE       (MN_SET_LANGUAGE_SELECTION_START + MN_NONE_OFFSET)
75#define MN_SET_SELECTION_RESET      (MN_SET_LANGUAGE_SELECTION_START + MN_RESET_OFFSET)
76#define MN_SET_SELECTION_MORE       (MN_SET_LANGUAGE_SELECTION_START + MN_MORE_OFFSET)
77
78// id range for 'set language for paragraph' sub menu entries
79#define MN_SET_LANGUAGE_PARAGRAPH_START     1100
80#define MN_SET_LANGUAGE_PARAGRAPH_END       (MN_SET_LANGUAGE_PARAGRAPH_START + MN_MAX_NUM_LANG)
81#define MN_SET_PARA_NONE            (MN_SET_LANGUAGE_PARAGRAPH_START + MN_NONE_OFFSET)
82#define MN_SET_PARA_RESET           (MN_SET_LANGUAGE_PARAGRAPH_START + MN_RESET_OFFSET)
83#define MN_SET_PARA_MORE            (MN_SET_LANGUAGE_PARAGRAPH_START + MN_MORE_OFFSET)
84
85// id range for 'set language for all text' sub menu entries
86#define MN_SET_LANGUAGE_ALL_TEXT_START      1300
87#define MN_SET_LANGUAGE_ALL_TEXT_END        (MN_SET_LANGUAGE_ALL_TEXT_START + MN_MAX_NUM_LANG)
88
89#endif
90
91
92
93
94