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