xref: /aoo41x/main/sc/source/ui/src/toolbox.src (revision cdf0e10c)
1/*************************************************************************
2 *
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4 *
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
6 *
7 * OpenOffice.org - a multi-platform office productivity suite
8 *
9 * This file is part of OpenOffice.org.
10 *
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
14 *
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
20 *
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org.  If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
25 *
26 ************************************************************************/
27
28#include "sc.hrc" // -> #include <sfx.hrc>
29#include <svx/globlmn.hrc>
30#include "tbinsert.hrc" // Sub-IDs
31
32
33 // ToolBoxen: ----------------------------------------------------------------
34
35/*
36 *  ToolBox mit Eingabezeile: HelpStrings fuer Knoepfe und Fenster:
37 */
38
39#define ITEM_TOOLBAR_SORT_ASCENDING \
40    Identifier = SID_SORT_ASCENDING ; \
41    HelpId = SID_SORT_ASCENDING ;
42
43#define ITEM_TOOLBAR_SORT_DESCENDING \
44    Identifier = SID_SORT_DESCENDING ; \
45    HelpId = SID_SORT_DESCENDING ;
46
47#define ITEM_TOOLBAR_INSERT_FRAME \
48    Identifier = SID_INSERT_FRAME ; \
49    HelpId = SID_INSERT_FRAME ;
50
51
52#define ITEM_TOOLBAR_INSERT_GRAPHIC \
53    Identifier = SID_INSERT_GRAPHIC ; \
54    HelpId = SID_INSERT_GRAPHIC ;
55
56#define ITEM_TOOLBAR_AUTO_FILTER \
57    Identifier = SID_AUTO_FILTER ; \
58    HelpId = SID_AUTO_FILTER ;
59
60
61#define ITEM_TOOLBAR_OUTLINE_MAKE \
62    Identifier = SID_OUTLINE_MAKE ; \
63    HelpId = SID_OUTLINE_MAKE ;
64
65
66#define ITEM_TOOLBAR_OUTLINE_REMOVE \
67    Identifier = SID_OUTLINE_REMOVE ; \
68    HelpId = SID_OUTLINE_REMOVE ;
69
70#define ITEM_TOOLBAR_DRAW_CHART \
71    Identifier = SID_INSERT_DIAGRAM ; \
72    HelpId = SID_DRAW_CHART ;
73
74#define ITEM_TOOLBAR_SPELLING \
75    Identifier = SID_SPELL_DIALOG ; \
76    HelpId = SID_SPELL_DIALOG ;
77
78#define ITEM_TOOLBAR_THESAURUS \
79    Identifier = SID_THESAURUS ; \
80    HelpId = SID_THESAURUS ;
81
82#define ITEM_TOOLBAR_FILTER \
83	Identifier = SID_FILTER ; \
84	HelpId = SID_FILTER ;
85
86#define ITEM_TOOLBAR_SPECIAL_FILTER \
87	Identifier = SID_SPECIAL_FILTER;\
88	HelpId = SID_SPECIAL_FILTER ;
89
90String SCSTR_QHELP_POSWND
91{
92	Text [ en-US ] = "Name Box" ;
93};
94
95String SCSTR_QHELP_INPUTWND
96{
97	Text [ en-US ] = "Input line" ;
98};
99
100String SCSTR_QHELP_BTNCALC
101{
102    Text [ en-US ] = "Function Wizard" ;
103};
104
105String SCSTR_QHELP_BTNOK
106{
107	/* ### ACHTUNG: Neuer Text in Resource? �bernehmen : �bernehmen */
108	Text [ en-US ] = "Accept" ;
109};
110
111String SCSTR_QHELP_BTNCANCEL
112{
113	Text [ en-US ] = "Cancel" ;
114};
115
116String SCSTR_QHELP_BTNSUM
117{
118	Text [ en-US ] = "Sum" ;
119};
120
121String SCSTR_QHELP_BTNEQUAL
122{
123	Text [ en-US ] = "Function" ;
124};
125
126// Don't use this image list for normal toolbar images. We have now our commandimagelist
127// folder in default_images. This list is now only used for special toolboxes that are
128// used in floating windows.
129
130#define DEFAULT_IDLIST \
131    IdList = {                                          \
132		/* Eingabezeile */								\
133		SID_INPUT_FUNCTION;				/* 20047 */		\
134		SID_INPUT_SUM;					/* 20048 */		\
135		SID_INPUT_EQUAL;				/* 20049 */		\
136		SID_INPUT_CANCEL;                               \
137		SID_INPUT_OK;                                   \
138    };                                                  \
139    IdCount = {                                         \
140        5;                                              \
141    };
142
143ImageList RID_DEFAULTIMAGELIST_SC
144{
145    Prefix = "sc";
146	MaskColor = STD_MASKCOLOR ;
147	DEFAULT_IDLIST
148};
149
150ImageList RID_DEFAULTIMAGELIST_LC
151{
152    Prefix = "lc";
153	MaskColor = STD_MASKCOLOR ;
154	DEFAULT_IDLIST
155};
156
157ImageList RID_DEFAULTIMAGELIST_SCH
158{
159    Prefix = "sch";
160	MaskColor = SC_HC_MASKCOLOR ;
161	DEFAULT_IDLIST
162};
163
164ImageList RID_DEFAULTIMAGELIST_LCH
165{
166    Prefix = "lch";
167	MaskColor = SC_HC_MASKCOLOR ;
168	DEFAULT_IDLIST
169};
170