xref: /aoo42x/main/sw/source/ui/lingu/olmenu.hrc (revision cdf0e10c)
1*cdf0e10cSrcweir/*************************************************************************
2*cdf0e10cSrcweir *
3*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4*cdf0e10cSrcweir *
5*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates.
6*cdf0e10cSrcweir *
7*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite
8*cdf0e10cSrcweir *
9*cdf0e10cSrcweir * This file is part of OpenOffice.org.
10*cdf0e10cSrcweir *
11*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify
12*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3
13*cdf0e10cSrcweir * only, as published by the Free Software Foundation.
14*cdf0e10cSrcweir *
15*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful,
16*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of
17*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details
19*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code).
20*cdf0e10cSrcweir *
21*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License
22*cdf0e10cSrcweir * version 3 along with OpenOffice.org.  If not, see
23*cdf0e10cSrcweir * <http://www.openoffice.org/license.html>
24*cdf0e10cSrcweir * for a copy of the LGPLv3 License.
25*cdf0e10cSrcweir *
26*cdf0e10cSrcweir ************************************************************************/
27*cdf0e10cSrcweir
28*cdf0e10cSrcweir#ifndef _OLMENU_HRC
29*cdf0e10cSrcweir#define _OLMENU_HRC
30*cdf0e10cSrcweir
31*cdf0e10cSrcweir#include "rcid.hrc"
32*cdf0e10cSrcweir
33*cdf0e10cSrcweir#define MN_SPELL_POPUP                  (RC_LINGU_BEGIN + 1)
34*cdf0e10cSrcweir#define STR_SPELL_OK                    (RC_LINGU_BEGIN + 2)
35*cdf0e10cSrcweir#define STR_HYP_OK                      (RC_LINGU_BEGIN + 3)
36*cdf0e10cSrcweir#define STR_WORD                        (RC_LINGU_BEGIN + 4)
37*cdf0e10cSrcweir#define STR_PARAGRAPH                   (RC_LINGU_BEGIN + 5)
38*cdf0e10cSrcweir#define STR_LANGSTATUS_NONE             (RC_LINGU_BEGIN + 6)
39*cdf0e10cSrcweir#define STR_LANGSTATUS_MORE             (RC_LINGU_BEGIN + 7)
40*cdf0e10cSrcweir#define STR_IGNORE_SELECTION            (RC_LINGU_BEGIN + 8)
41*cdf0e10cSrcweir#define STR_RESET_TO_DEFAULT_LANGUAGE   (RC_LINGU_BEGIN + 9)
42*cdf0e10cSrcweir
43*cdf0e10cSrcweir#define IMG_INFO_16                     (RC_LINGU_BEGIN + 100)
44*cdf0e10cSrcweir
45*cdf0e10cSrcweir//! Don't change these values. You may break context menu modifying extensions!
46*cdf0e10cSrcweir#define MN_SPELLING_DLG                 200
47*cdf0e10cSrcweir#define MN_IGNORE_SELECTION             201
48*cdf0e10cSrcweir#define MN_IGNORE_WORD                  202
49*cdf0e10cSrcweir#define MN_ADD_TO_DIC                   203
50*cdf0e10cSrcweir#define MN_AUTOCORR                     204
51*cdf0e10cSrcweir#define MN_SET_LANGUAGE_SELECTION       205
52*cdf0e10cSrcweir#define MN_SET_LANGUAGE_PARAGRAPH       206
53*cdf0e10cSrcweir#define MN_SET_LANGUAGE_ALL_TEXT        207
54*cdf0e10cSrcweir#define MN_SHORT_COMMENT                208
55*cdf0e10cSrcweir
56*cdf0e10cSrcweir// id range for dictionaries sub menu
57*cdf0e10cSrcweir#define MN_DICTIONARIES_START               300
58*cdf0e10cSrcweir#define MN_DICTIONARIES_END                 (MN_DICTIONARIES_START + 99)
59*cdf0e10cSrcweir
60*cdf0e10cSrcweir// id range for suggestions from spell and grammar checker
61*cdf0e10cSrcweir#define MN_SUGGESTION_START                 500
62*cdf0e10cSrcweir#define MN_SUGGESTION_END                   (MN_SUGGESTION_START + MN_MAX_NUM_LANG)
63*cdf0e10cSrcweir
64*cdf0e10cSrcweir// id range for auto correction sub menu entries
65*cdf0e10cSrcweir#define MN_AUTOCORR_START                   700
66*cdf0e10cSrcweir#define MN_AUTOCORR_END                     (MN_AUTOCORR_START + MN_MAX_NUM_LANG)
67*cdf0e10cSrcweir
68*cdf0e10cSrcweir// max number of language entries sub menus
69*cdf0e10cSrcweir#define MN_MAX_NUM_LANG                 99
70*cdf0e10cSrcweir
71*cdf0e10cSrcweir#define MN_NONE_OFFSET                  (MN_MAX_NUM_LANG + 1)
72*cdf0e10cSrcweir#define MN_RESET_OFFSET                 (MN_MAX_NUM_LANG + 2)
73*cdf0e10cSrcweir#define MN_MORE_OFFSET                  (MN_MAX_NUM_LANG + 3)
74*cdf0e10cSrcweir
75*cdf0e10cSrcweir// id range for 'set language for selection' sub menu entries
76*cdf0e10cSrcweir#define MN_SET_LANGUAGE_SELECTION_START     900
77*cdf0e10cSrcweir#define MN_SET_LANGUAGE_SELECTION_END       (MN_SET_LANGUAGE_SELECTION_START + MN_MAX_NUM_LANG)
78*cdf0e10cSrcweir#define MN_SET_SELECTION_NONE       (MN_SET_LANGUAGE_SELECTION_START + MN_NONE_OFFSET)
79*cdf0e10cSrcweir#define MN_SET_SELECTION_RESET      (MN_SET_LANGUAGE_SELECTION_START + MN_RESET_OFFSET)
80*cdf0e10cSrcweir#define MN_SET_SELECTION_MORE       (MN_SET_LANGUAGE_SELECTION_START + MN_MORE_OFFSET)
81*cdf0e10cSrcweir
82*cdf0e10cSrcweir// id range for 'set language for paragraph' sub menu entries
83*cdf0e10cSrcweir#define MN_SET_LANGUAGE_PARAGRAPH_START     1100
84*cdf0e10cSrcweir#define MN_SET_LANGUAGE_PARAGRAPH_END       (MN_SET_LANGUAGE_PARAGRAPH_START + MN_MAX_NUM_LANG)
85*cdf0e10cSrcweir#define MN_SET_PARA_NONE            (MN_SET_LANGUAGE_PARAGRAPH_START + MN_NONE_OFFSET)
86*cdf0e10cSrcweir#define MN_SET_PARA_RESET           (MN_SET_LANGUAGE_PARAGRAPH_START + MN_RESET_OFFSET)
87*cdf0e10cSrcweir#define MN_SET_PARA_MORE            (MN_SET_LANGUAGE_PARAGRAPH_START + MN_MORE_OFFSET)
88*cdf0e10cSrcweir
89*cdf0e10cSrcweir// id range for 'set language for all text' sub menu entries
90*cdf0e10cSrcweir#define MN_SET_LANGUAGE_ALL_TEXT_START      1300
91*cdf0e10cSrcweir#define MN_SET_LANGUAGE_ALL_TEXT_END        (MN_SET_LANGUAGE_ALL_TEXT_START + MN_MAX_NUM_LANG)
92*cdf0e10cSrcweir
93*cdf0e10cSrcweir#endif
94*cdf0e10cSrcweir
95*cdf0e10cSrcweir
96*cdf0e10cSrcweir
97*cdf0e10cSrcweir
98