xref: /aoo41x/main/cui/source/customize/selector.src (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#include "helpid.hrc"
28*cdf0e10cSrcweir#include <cuires.hrc>
29*cdf0e10cSrcweir#include "selector.hrc"
30*cdf0e10cSrcweir
31*cdf0e10cSrcweir#define MASKCOLOR  MaskColor = \
32*cdf0e10cSrcweir    Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; };
33*cdf0e10cSrcweir
34*cdf0e10cSrcweir#define FIXEDTEXT_DIALOG_DESCRIPTION \
35*cdf0e10cSrcweirText [ en-US ] = "Select the library that contains the macro you want. Then select the macro under 'Macro name'." ;\
36*cdf0e10cSrcweir
37*cdf0e10cSrcweirString STR_SELECTOR_ADD_COMMANDS
38*cdf0e10cSrcweir{
39*cdf0e10cSrcweir  TEXT [ en-US ] = "Add Commands" ;
40*cdf0e10cSrcweir};
41*cdf0e10cSrcweir
42*cdf0e10cSrcweirString STR_SELECTOR_MACROS
43*cdf0e10cSrcweir{
44*cdf0e10cSrcweir  Text [ en-US ] = "%PRODUCTNAME Macros" ;
45*cdf0e10cSrcweir};
46*cdf0e10cSrcweir
47*cdf0e10cSrcweirString STR_SELECTOR_CATEGORIES
48*cdf0e10cSrcweir{
49*cdf0e10cSrcweir    Text [ en-US ] = "~Category" ;
50*cdf0e10cSrcweir};
51*cdf0e10cSrcweir
52*cdf0e10cSrcweirString STR_SELECTOR_COMMANDS
53*cdf0e10cSrcweir{
54*cdf0e10cSrcweir  Text [ en-US ] = "Commands" ;
55*cdf0e10cSrcweir};
56*cdf0e10cSrcweir
57*cdf0e10cSrcweirString STR_SELECTOR_ADD
58*cdf0e10cSrcweir{
59*cdf0e10cSrcweir  TEXT [ en-US ] = "Add" ;
60*cdf0e10cSrcweir};
61*cdf0e10cSrcweir
62*cdf0e10cSrcweirString STR_SELECTOR_RUN
63*cdf0e10cSrcweir{
64*cdf0e10cSrcweir  TEXT [ en-US ] = "Run" ;
65*cdf0e10cSrcweir
66*cdf0e10cSrcweir};
67*cdf0e10cSrcweir
68*cdf0e10cSrcweirString STR_SELECTOR_CLOSE
69*cdf0e10cSrcweir{
70*cdf0e10cSrcweir  TEXT [ en-US ] = "Close" ;
71*cdf0e10cSrcweir
72*cdf0e10cSrcweir};
73*cdf0e10cSrcweir
74*cdf0e10cSrcweirString STR_SELECTOR_ADD_COMMANDS_DESCRIPTION
75*cdf0e10cSrcweir{
76*cdf0e10cSrcweir  TEXT [ en-US ] = "To add a command to a toolbar, select the category and then the command. Then drag the command to the Commands list of the Toolbars tab page in the Customize dialog.";
77*cdf0e10cSrcweir};
78*cdf0e10cSrcweir
79*cdf0e10cSrcweirString STR_BASICMACROS
80*cdf0e10cSrcweir{
81*cdf0e10cSrcweir	Text [ en-US ] = "BASIC Macros" ;
82*cdf0e10cSrcweir};
83*cdf0e10cSrcweir
84*cdf0e10cSrcweir
85*cdf0e10cSrcweirModelessDialog RID_DLG_SCRIPTSELECTOR
86*cdf0e10cSrcweir{
87*cdf0e10cSrcweir  OutputSize = TRUE ;
88*cdf0e10cSrcweir  Size = MAP_APPFONT ( 256 , 233 ) ;
89*cdf0e10cSrcweir  Text [ en-US ] = "Macro Selector" ;
90*cdf0e10cSrcweir  HelpId = HID_SELECTOR_DIALOG;
91*cdf0e10cSrcweir  SvLook = TRUE ;
92*cdf0e10cSrcweir  Moveable = TRUE ;
93*cdf0e10cSrcweir  Hide = TRUE;
94*cdf0e10cSrcweir  FixedText TXT_SELECTOR_DIALOG_DESCRIPTION
95*cdf0e10cSrcweir  {
96*cdf0e10cSrcweir    Pos = MAP_APPFONT ( 6 , 8 ) ;
97*cdf0e10cSrcweir    Size = MAP_APPFONT ( 190 , 48 ) ;
98*cdf0e10cSrcweir    Group = TRUE ;
99*cdf0e10cSrcweir    Left = TRUE ;
100*cdf0e10cSrcweir    WordBreak = TRUE ;
101*cdf0e10cSrcweir    FIXEDTEXT_DIALOG_DESCRIPTION
102*cdf0e10cSrcweir  };
103*cdf0e10cSrcweir  FixedText TXT_SELECTOR_CATEGORIES
104*cdf0e10cSrcweir  {
105*cdf0e10cSrcweir    Pos = MAP_APPFONT ( 6 , 62 ) ;
106*cdf0e10cSrcweir    Size = MAP_APPFONT ( 83 , 8 ) ;
107*cdf0e10cSrcweir    Group = TRUE ;
108*cdf0e10cSrcweir    Left = TRUE ;
109*cdf0e10cSrcweir    Text [ en-US ] = "Library" ;
110*cdf0e10cSrcweir  };
111*cdf0e10cSrcweir  Control BOX_SELECTOR_CATEGORIES
112*cdf0e10cSrcweir  {
113*cdf0e10cSrcweir    Border = TRUE ;
114*cdf0e10cSrcweir    Pos = MAP_APPFONT ( 6 , 73 ) ;
115*cdf0e10cSrcweir    Size = MAP_APPFONT ( 83 , 89 ) ;
116*cdf0e10cSrcweir    TabStop = TRUE;
117*cdf0e10cSrcweir    HelpId = HID_SELECTOR_CATEGORIES;
118*cdf0e10cSrcweir    String STR_MYMACROS
119*cdf0e10cSrcweir    {
120*cdf0e10cSrcweir        Text [ en-US ] = "My Macros";
121*cdf0e10cSrcweir    };
122*cdf0e10cSrcweir    String STR_PRODMACROS
123*cdf0e10cSrcweir    {
124*cdf0e10cSrcweir        Text [ en-US ] = "%PRODUCTNAME Macros";
125*cdf0e10cSrcweir    };
126*cdf0e10cSrcweir    Image IMG_HARDDISK
127*cdf0e10cSrcweir    {
128*cdf0e10cSrcweir        ImageBitmap = Bitmap { File = "harddisk_16.bmp" ; };
129*cdf0e10cSrcweir        MASKCOLOR
130*cdf0e10cSrcweir    };
131*cdf0e10cSrcweir    Image IMG_HARDDISK_HC
132*cdf0e10cSrcweir    {
133*cdf0e10cSrcweir        ImageBitmap = Bitmap { File = "harddisk_16_h.bmp" ; };
134*cdf0e10cSrcweir        MASKCOLOR
135*cdf0e10cSrcweir    };
136*cdf0e10cSrcweir    Image IMG_LIB
137*cdf0e10cSrcweir    {
138*cdf0e10cSrcweir        ImageBitmap = Bitmap { File = "im30820.png"; };
139*cdf0e10cSrcweir        MASKCOLOR
140*cdf0e10cSrcweir    };
141*cdf0e10cSrcweir    Image IMG_LIB_HC
142*cdf0e10cSrcweir    {
143*cdf0e10cSrcweir        ImageBitmap = Bitmap { File = "imh30820.png"; };
144*cdf0e10cSrcweir        MASKCOLOR
145*cdf0e10cSrcweir    };
146*cdf0e10cSrcweir    Image IMG_MACRO
147*cdf0e10cSrcweir    {
148*cdf0e10cSrcweir        ImageBitmap = Bitmap { File = "im30821.png"; };
149*cdf0e10cSrcweir        MASKCOLOR
150*cdf0e10cSrcweir    };
151*cdf0e10cSrcweir    Image IMG_MACRO_HC
152*cdf0e10cSrcweir    {
153*cdf0e10cSrcweir        ImageBitmap = Bitmap { File = "imh30821.png"; };
154*cdf0e10cSrcweir        MASKCOLOR
155*cdf0e10cSrcweir    };
156*cdf0e10cSrcweir    Image IMG_DOC
157*cdf0e10cSrcweir    {
158*cdf0e10cSrcweir        ImageBitmap = Bitmap { File = "im30826.png"; };
159*cdf0e10cSrcweir        MASKCOLOR
160*cdf0e10cSrcweir    };
161*cdf0e10cSrcweir    Image IMG_DOC_HC
162*cdf0e10cSrcweir    {
163*cdf0e10cSrcweir        ImageBitmap = Bitmap { File = "imh30826.png"; };
164*cdf0e10cSrcweir        MASKCOLOR
165*cdf0e10cSrcweir    };
166*cdf0e10cSrcweir  };
167*cdf0e10cSrcweir  FixedText TXT_SELECTOR_COMMANDS
168*cdf0e10cSrcweir  {
169*cdf0e10cSrcweir    Pos = MAP_APPFONT ( 101 , 62 ) ;
170*cdf0e10cSrcweir    Size = MAP_APPFONT ( 93 , 8 ) ;
171*cdf0e10cSrcweir    Left = TRUE ;
172*cdf0e10cSrcweir    Text [ en-US ] = "Macro name" ;
173*cdf0e10cSrcweir  };
174*cdf0e10cSrcweir  Control BOX_SELECTOR_COMMANDS
175*cdf0e10cSrcweir  {
176*cdf0e10cSrcweir    Border = TRUE ;
177*cdf0e10cSrcweir    Pos = MAP_APPFONT ( 101 , 73 ) ;
178*cdf0e10cSrcweir    Size = MAP_APPFONT ( 93 , 89 ) ;
179*cdf0e10cSrcweir    TabStop = TRUE;
180*cdf0e10cSrcweir    HelpId = HID_SELECTOR_COMMANDS;
181*cdf0e10cSrcweir  };
182*cdf0e10cSrcweir  OKButton BTN_SELECTOR_OK
183*cdf0e10cSrcweir  {
184*cdf0e10cSrcweir    Pos = MAP_APPFONT ( 200 , 73 ) ;
185*cdf0e10cSrcweir    Size = MAP_APPFONT ( 50 , 14 ) ;
186*cdf0e10cSrcweir    DefButton = TRUE;
187*cdf0e10cSrcweir  };
188*cdf0e10cSrcweir  CancelButton BTN_SELECTOR_CANCEL
189*cdf0e10cSrcweir  {
190*cdf0e10cSrcweir    Pos = MAP_APPFONT ( 200 , 90 ) ;
191*cdf0e10cSrcweir    Size = MAP_APPFONT ( 50 , 14 ) ;
192*cdf0e10cSrcweir  };
193*cdf0e10cSrcweir  HelpButton BTN_SELECTOR_HELP
194*cdf0e10cSrcweir  {
195*cdf0e10cSrcweir    Pos = MAP_APPFONT ( 200 , 107 ) ;
196*cdf0e10cSrcweir    Size = MAP_APPFONT ( 50 , 14 ) ;
197*cdf0e10cSrcweir  };
198*cdf0e10cSrcweir  FixedLine GRP_SELECTOR_DESCRIPTION
199*cdf0e10cSrcweir  {
200*cdf0e10cSrcweir    Pos = MAP_APPFONT ( 6 , 168 ) ;
201*cdf0e10cSrcweir    Size = MAP_APPFONT ( 224 , 8 ) ;
202*cdf0e10cSrcweir    Group = TRUE ;
203*cdf0e10cSrcweir    Text [ en-US ] = "Description" ;
204*cdf0e10cSrcweir  };
205*cdf0e10cSrcweir  FixedText TXT_SELECTOR_DESCRIPTION
206*cdf0e10cSrcweir  {
207*cdf0e10cSrcweir    Pos = MAP_APPFONT ( 12 , 179 ) ;
208*cdf0e10cSrcweir    Size = MAP_APPFONT ( 224 , 48 ) ;
209*cdf0e10cSrcweir    WordBreak = TRUE ;
210*cdf0e10cSrcweir  };
211*cdf0e10cSrcweir};
212*cdf0e10cSrcweir // ********************************************************************** EOF
213