xref: /aoo41x/main/sc/source/ui/src/toolbox.src (revision 82177cdb)
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#include "sc.hrc" // -> #include <sfx.hrc>
25#include <svx/globlmn.hrc>
26#include "tbinsert.hrc" // Sub-IDs
27
28
29 // ToolBoxen: ----------------------------------------------------------------
30
31/*
32 *  ToolBox mit Eingabezeile: HelpStrings fuer Knoepfe und Fenster:
33 */
34
35#define ITEM_TOOLBAR_SORT_ASCENDING \
36    Identifier = SID_SORT_ASCENDING ; \
37    HelpId = SID_SORT_ASCENDING ;
38
39#define ITEM_TOOLBAR_SORT_DESCENDING \
40    Identifier = SID_SORT_DESCENDING ; \
41    HelpId = SID_SORT_DESCENDING ;
42
43#define ITEM_TOOLBAR_INSERT_FRAME \
44    Identifier = SID_INSERT_FRAME ; \
45    HelpId = SID_INSERT_FRAME ;
46
47
48#define ITEM_TOOLBAR_INSERT_GRAPHIC \
49    Identifier = SID_INSERT_GRAPHIC ; \
50    HelpId = SID_INSERT_GRAPHIC ;
51
52#define ITEM_TOOLBAR_AUTO_FILTER \
53    Identifier = SID_AUTO_FILTER ; \
54    HelpId = SID_AUTO_FILTER ;
55
56
57#define ITEM_TOOLBAR_OUTLINE_MAKE \
58    Identifier = SID_OUTLINE_MAKE ; \
59    HelpId = SID_OUTLINE_MAKE ;
60
61
62#define ITEM_TOOLBAR_OUTLINE_REMOVE \
63    Identifier = SID_OUTLINE_REMOVE ; \
64    HelpId = SID_OUTLINE_REMOVE ;
65
66#define ITEM_TOOLBAR_DRAW_CHART \
67    Identifier = SID_INSERT_DIAGRAM ; \
68    HelpId = SID_DRAW_CHART ;
69
70#define ITEM_TOOLBAR_SPELLING \
71    Identifier = SID_SPELL_DIALOG ; \
72    HelpId = SID_SPELL_DIALOG ;
73
74#define ITEM_TOOLBAR_THESAURUS \
75    Identifier = SID_THESAURUS ; \
76    HelpId = SID_THESAURUS ;
77
78#define ITEM_TOOLBAR_FILTER \
79	Identifier = SID_FILTER ; \
80	HelpId = SID_FILTER ;
81
82#define ITEM_TOOLBAR_SPECIAL_FILTER \
83	Identifier = SID_SPECIAL_FILTER;\
84	HelpId = SID_SPECIAL_FILTER ;
85
86String SCSTR_QHELP_POSWND
87{
88	Text [ en-US ] = "Name Box" ;
89};
90
91String SCSTR_QHELP_INPUTWND
92{
93	Text [ en-US ] = "Input line" ;
94};
95
96String SCSTR_QHELP_BTNCALC
97{
98    Text [ en-US ] = "Function Wizard" ;
99};
100
101String SCSTR_QHELP_BTNOK
102{
103	/* ### ACHTUNG: Neuer Text in Resource? �bernehmen : �bernehmen */
104	Text [ en-US ] = "Accept" ;
105};
106
107String SCSTR_QHELP_BTNCANCEL
108{
109	Text [ en-US ] = "Cancel" ;
110};
111
112String SCSTR_QHELP_BTNSUM
113{
114	Text [ en-US ] = "Sum" ;
115};
116
117String SCSTR_QHELP_BTNEQUAL
118{
119	Text [ en-US ] = "Function" ;
120};
121
122// Don't use this image list for normal toolbar images. We have now our commandimagelist
123// folder in default_images. This list is now only used for special toolboxes that are
124// used in floating windows.
125
126#define DEFAULT_IDLIST \
127    IdList = {                                          \
128		/* Eingabezeile */								\
129		SID_INPUT_FUNCTION;				/* 20047 */		\
130		SID_INPUT_SUM;					/* 20048 */		\
131		SID_INPUT_EQUAL;				/* 20049 */		\
132		SID_INPUT_CANCEL;                               \
133		SID_INPUT_OK;                                   \
134    };                                                  \
135    IdCount = {                                         \
136        5;                                              \
137    };
138
139ImageList RID_DEFAULTIMAGELIST_SC
140{
141    Prefix = "sc";
142	MaskColor = STD_MASKCOLOR ;
143	DEFAULT_IDLIST
144};
145
146ImageList RID_DEFAULTIMAGELIST_LC
147{
148    Prefix = "lc";
149	MaskColor = STD_MASKCOLOR ;
150	DEFAULT_IDLIST
151};
152
153ImageList RID_DEFAULTIMAGELIST_SCH
154{
155    Prefix = "sch";
156	MaskColor = SC_HC_MASKCOLOR ;
157	DEFAULT_IDLIST
158};
159
160ImageList RID_DEFAULTIMAGELIST_LCH
161{
162    Prefix = "lch";
163	MaskColor = SC_HC_MASKCOLOR ;
164	DEFAULT_IDLIST
165};
166