xref: /trunk/main/reportdesign/source/ui/dlg/CondFormat.src (revision 4c17cfc0abe27fe10e35cd976c510015e4362c58)
1dc900991SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3dc900991SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4dc900991SAndrew Rist * or more contributor license agreements.  See the NOTICE file
5dc900991SAndrew Rist * distributed with this work for additional information
6dc900991SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7dc900991SAndrew Rist * to you under the Apache License, Version 2.0 (the
8dc900991SAndrew Rist * "License") ; you may not use this file except in compliance
9dc900991SAndrew Rist * with the License.  You may obtain a copy of the License at
10cdf0e10cSrcweir *
11dc900991SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir *
13dc900991SAndrew Rist * Unless required by applicable law or agreed to in writing,
14dc900991SAndrew Rist * software distributed under the License is distributed on an
15dc900991SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16dc900991SAndrew Rist * KIND, either express or implied.  See the License for the
17dc900991SAndrew Rist * specific language governing permissions and limitations
18dc900991SAndrew Rist * under the License.
19cdf0e10cSrcweir *
20dc900991SAndrew Rist *************************************************************/
21dc900991SAndrew Rist
22cdf0e10cSrcweir#include "CondFormat.hrc"
23cdf0e10cSrcweir#include "RptResId.hrc"
24cdf0e10cSrcweir#include "helpids.hrc"
25cdf0e10cSrcweir#ifndef _GLOBLMN_HRC
26cdf0e10cSrcweir#include <svx/globlmn.hrc>
27cdf0e10cSrcweir#endif
28cdf0e10cSrcweir#include "rptui_slotid.hrc"
29cdf0e10cSrcweir
30cdf0e10cSrcweirControl WIN_CONDITION
31cdf0e10cSrcweir{
32cdf0e10cSrcweir    Size = MAP_APPFONT ( CONDITION_WIDTH, CONDITION_HEIGHT ) ;
33cdf0e10cSrcweir    HelpId = HID_RPT_COND_DLG ;
34cdf0e10cSrcweir    DialogControl = TRUE ;
35cdf0e10cSrcweir    Hide = TRUE ;
36cdf0e10cSrcweir
37cdf0e10cSrcweir    FixedLine FL_CONDITION_HEADER
38cdf0e10cSrcweir    {
39cdf0e10cSrcweir        Pos = MAP_APPFONT ( RELATED_CONTROLS, ROW_0_POS ) ;
40cdf0e10cSrcweir        Size = MAP_APPFONT ( CONDITION_WIDTH - 2 * RELATED_CONTROLS, ROW_0_HEIGTH ) ;
41cdf0e10cSrcweir    };
42cdf0e10cSrcweir
43cdf0e10cSrcweir    ListBox LB_COND_TYPE
44cdf0e10cSrcweir    {
45cdf0e10cSrcweir        Pos = MAP_APPFONT ( UNRELATED_CONTROLS, ROW_1_POS ) ;
46cdf0e10cSrcweir        Size = MAP_APPFONT ( COND_TYPE_WIDTH, 60 ) ;
47cdf0e10cSrcweir        Border = TRUE ;
48cdf0e10cSrcweir        DropDown = TRUE ;
49cdf0e10cSrcweir        TabStop = TRUE ;
50cdf0e10cSrcweir        Sort = FALSE ;
51cdf0e10cSrcweir        StringList [ en-US ] =
52cdf0e10cSrcweir        {
53cdf0e10cSrcweir            < "Field Value Is" ; Default ;  > ;
54cdf0e10cSrcweir            < "Expression Is" ; Default ;   > ;
55cdf0e10cSrcweir        };
56cdf0e10cSrcweir    };
57cdf0e10cSrcweir
58cdf0e10cSrcweir    ListBox LB_OP
59cdf0e10cSrcweir    {
60cdf0e10cSrcweir        Pos = MAP_APPFONT ( UNRELATED_CONTROLS + COND_TYPE_WIDTH + UNRELATED_CONTROLS, ROW_1_POS ) ;
61cdf0e10cSrcweir        Size = MAP_APPFONT ( COND_OP_WIDTH, 60 ) ;
62cdf0e10cSrcweir        Border = TRUE ;
63cdf0e10cSrcweir        DropDown = TRUE ;
64cdf0e10cSrcweir        TabStop = TRUE ;
65cdf0e10cSrcweir        Sort = FALSE ;
66cdf0e10cSrcweir        StringList [ en-US ] =
67cdf0e10cSrcweir        {
68cdf0e10cSrcweir            < "between" ; 0;                    > ;
69cdf0e10cSrcweir            < "not between" ; 1;                > ;
70cdf0e10cSrcweir            < "equal to" ; 2;                   > ;
71cdf0e10cSrcweir            < "not equal to" ; 3;               > ;
72cdf0e10cSrcweir            < "greater than" ; 4;               > ;
73cdf0e10cSrcweir            < "less than" ; 5;                  > ;
74cdf0e10cSrcweir            < "greater than or equal to" ; 6;   > ;
75cdf0e10cSrcweir            < "less than or equal to" ; 7;      > ;
76cdf0e10cSrcweir        };
77cdf0e10cSrcweir    };
78cdf0e10cSrcweir
79cdf0e10cSrcweir    Edit ED_CONDITION_LHS
80cdf0e10cSrcweir    {
81cdf0e10cSrcweir        Pos = MAP_APPFONT ( 3 * UNRELATED_CONTROLS + COND_TYPE_WIDTH + COND_OP_WIDTH, ROW_1_POS ) ;
82cdf0e10cSrcweir        Size = MAP_APPFONT ( EDIT_WIDTH, EDIT_HEIGHT ) ;
83cdf0e10cSrcweir        Border = TRUE ;
84cdf0e10cSrcweir        TabStop = TRUE ;
85cdf0e10cSrcweir    };
86cdf0e10cSrcweir
87cdf0e10cSrcweir    FixedText FT_AND
88cdf0e10cSrcweir    {
89*4c17cfc0Smseidel        Pos = MAP_APPFONT ( 4 * UNRELATED_CONTROLS + COND_TYPE_WIDTH + COND_OP_WIDTH + EDIT_WIDTH, ROW_1_POS + ( FIXEDTEXT_HEIGHT - EDIT_HEIGHT ) / 2 ) ;
90cdf0e10cSrcweir        Size = MAP_APPFONT ( OPERATOR_SEP_WIDTH, FIXEDTEXT_HEIGHT ) ;
91cdf0e10cSrcweir        Text [ en-US ] = "and" ;
92cdf0e10cSrcweir    };
93cdf0e10cSrcweir
94cdf0e10cSrcweir    Edit ED_CONDITION_RHS
95cdf0e10cSrcweir    {
96*4c17cfc0Smseidel        Pos = MAP_APPFONT ( 5 * UNRELATED_CONTROLS + COND_TYPE_WIDTH + COND_OP_WIDTH + EDIT_WIDTH + OPERATOR_SEP_WIDTH, ROW_1_POS ) ;
97cdf0e10cSrcweir        Size = MAP_APPFONT ( EDIT_WIDTH, EDIT_HEIGHT ) ;
98cdf0e10cSrcweir        Border = TRUE ;
99cdf0e10cSrcweir        TabStop = TRUE ;
100cdf0e10cSrcweir    };
101cdf0e10cSrcweir
102cdf0e10cSrcweir    ImageButton BTN_MOVE_UP
103cdf0e10cSrcweir    {
104cdf0e10cSrcweir        Pos = MAP_APPFONT ( CONDITION_WIDTH - UNRELATED_CONTROLS - IMAGE_BUTTON_WIDTH, ROW_1_POS ) ;
105cdf0e10cSrcweir        Size = MAP_APPFONT ( IMAGE_BUTTON_WIDTH, IMAGE_BUTTON_HEIGHT ) ;
106cdf0e10cSrcweir        TabStop = TRUE ;
107cdf0e10cSrcweir        Symbol = IMAGEBUTTON_ARROW_UP ;
108cdf0e10cSrcweir    };
109cdf0e10cSrcweir
110cdf0e10cSrcweir    ImageButton BTN_MOVE_DOWN
111cdf0e10cSrcweir    {
112cdf0e10cSrcweir        Pos = MAP_APPFONT ( CONDITION_WIDTH - UNRELATED_CONTROLS - IMAGE_BUTTON_WIDTH, ROW_1_POS + IMAGE_BUTTON_HEIGHT + RELATED_CONTROLS ) ;
113cdf0e10cSrcweir        Size = MAP_APPFONT ( IMAGE_BUTTON_WIDTH, IMAGE_BUTTON_HEIGHT ) ;
114cdf0e10cSrcweir        TabStop = TRUE ;
115cdf0e10cSrcweir        Symbol = IMAGEBUTTON_ARROW_DOWN ;
116cdf0e10cSrcweir    };
117cdf0e10cSrcweir
118cdf0e10cSrcweir    ToolBox TB_FORMAT
119cdf0e10cSrcweir    {
120cdf0e10cSrcweir        Pos = MAP_APPFONT ( UNRELATED_CONTROLS + RELATED_CONTROLS, ROW_2_POS ) ;
121cdf0e10cSrcweir        ButtonType = BUTTON_SYMBOL ;
122cdf0e10cSrcweir        Align = BOXALIGN_TOP ;
123cdf0e10cSrcweir        HelpId = HID_RPT_CONDFORMAT_TB ;
124cdf0e10cSrcweir        Customize = FALSE ;
125cdf0e10cSrcweir        ItemList =
126cdf0e10cSrcweir        {
127cdf0e10cSrcweir            ToolBoxItem
128cdf0e10cSrcweir            {
129cdf0e10cSrcweir                ITEM_FORMAT_ATTR_CHAR_WEIGHT
130cdf0e10cSrcweir                Checkable = TRUE ;
131cdf0e10cSrcweir            };
132cdf0e10cSrcweir            ToolBoxItem
133cdf0e10cSrcweir            {
134cdf0e10cSrcweir                ITEM_FORMAT_ATTR_CHAR_POSTURE
135cdf0e10cSrcweir                Checkable = TRUE ;
136cdf0e10cSrcweir            };
137cdf0e10cSrcweir            ToolBoxItem
138cdf0e10cSrcweir            {
139cdf0e10cSrcweir                ITEM_FORMAT_ATTR_CHAR_UNDERLINE
140cdf0e10cSrcweir                Checkable = TRUE ;
141cdf0e10cSrcweir            };
142cdf0e10cSrcweir            ToolBoxItem
143cdf0e10cSrcweir            {
144cdf0e10cSrcweir                Type = TOOLBOXITEM_SEPARATOR;
145cdf0e10cSrcweir            };
146cdf0e10cSrcweir            ToolBoxItem
147cdf0e10cSrcweir            {
148cdf0e10cSrcweir                ITEM_TOOLBAR_BACKGROUND_COLOR
149cdf0e10cSrcweir                DropDown = TRUE ;
150cdf0e10cSrcweir            };
151cdf0e10cSrcweir            ToolBoxItem
152cdf0e10cSrcweir            {
153cdf0e10cSrcweir                ITEM_TOOLBAR_ATTR_CHAR_COLOR
154cdf0e10cSrcweir                Identifier = SID_ATTR_CHAR_COLOR2 ;
155cdf0e10cSrcweir                Command = ".uno:FontColor" ;
156cdf0e10cSrcweir            };
157cdf0e10cSrcweir            ToolBoxItem
158cdf0e10cSrcweir            {
159cdf0e10cSrcweir                ITEM_FORMAT_CHAR_DLG
160cdf0e10cSrcweir            };
161cdf0e10cSrcweir        };
162cdf0e10cSrcweir    };
163cdf0e10cSrcweir
164cdf0e10cSrcweir    Window CRTL_FORMAT_PREVIEW
165cdf0e10cSrcweir    {
166cdf0e10cSrcweir        Pos = MAP_APPFONT ( 2 * UNRELATED_CONTROLS, ROW_2_POS ) ;
167cdf0e10cSrcweir        Size = MAP_APPFONT ( CONDITION_WIDTH - UNRELATED_CONTROLS, ROW_2_HEIGHT ) ;
168cdf0e10cSrcweir        Border = TRUE ;
169cdf0e10cSrcweir        HelpId = HID_RPT_CRTL_FORMAT_PREVIEW ;
170cdf0e10cSrcweir        Text [ en-US ] = "Example" ;
171cdf0e10cSrcweir    };
172cdf0e10cSrcweir
173cdf0e10cSrcweir    PushButton BTN_ADD_CONDITION
174cdf0e10cSrcweir    {
175cdf0e10cSrcweir        Pos = MAP_APPFONT ( CONDITION_WIDTH - 2 * UNRELATED_CONTROLS - 2 * IMAGE_BUTTON_WIDTH - RELATED_CONTROLS, ROW_3_POS ) ;
176cdf0e10cSrcweir        Size = MAP_APPFONT ( IMAGE_BUTTON_WIDTH, IMAGE_BUTTON_HEIGHT ) ;
177cdf0e10cSrcweir        Text = "+" ;
178cdf0e10cSrcweir    };
179cdf0e10cSrcweir
180cdf0e10cSrcweir    PushButton BTN_REMOVE_CONDITION
181cdf0e10cSrcweir    {
182cdf0e10cSrcweir        Pos = MAP_APPFONT ( CONDITION_WIDTH - 2 * UNRELATED_CONTROLS - 2 * IMAGE_BUTTON_WIDTH - RELATED_CONTROLS, ROW_3_POS ) ;
183cdf0e10cSrcweir        Size = MAP_APPFONT ( IMAGE_BUTTON_WIDTH, IMAGE_BUTTON_HEIGHT ) ;
184cdf0e10cSrcweir        Text = "-" ;
185cdf0e10cSrcweir    };
186cdf0e10cSrcweir
187cdf0e10cSrcweir    Image IMG_MOVE_UP_HC
188cdf0e10cSrcweir    {
189cdf0e10cSrcweir        ImageBitmap = Bitmap { File = "arrow_move_up_hc" ; };
190cdf0e10cSrcweir    };
191cdf0e10cSrcweir
192cdf0e10cSrcweir    Image IMG_MOVE_DOWN_HC
193cdf0e10cSrcweir    {
194cdf0e10cSrcweir        ImageBitmap = Bitmap { File = "arrow_move_down_hc" ; };
195cdf0e10cSrcweir    };
196cdf0e10cSrcweir};
197cdf0e10cSrcweir
198cdf0e10cSrcweirModalDialog RID_CONDFORMAT
199cdf0e10cSrcweir{
200cdf0e10cSrcweir    OutputSize = TRUE ;
201cdf0e10cSrcweir    SVLook = TRUE ;
202cdf0e10cSrcweir    Size = MAP_APPFONT ( COND_DLG_WIDTH, COND_DLG_HEIGHT ) ;
203cdf0e10cSrcweir    Text [ en-US ] = "Conditional Formatting" ;
204cdf0e10cSrcweir    HelpId = HID_RPT_CONDFORMAT_DLG ;
205cdf0e10cSrcweir    Moveable = TRUE ;
206cdf0e10cSrcweir    Closeable = TRUE ;
207cdf0e10cSrcweir
208cdf0e10cSrcweir    Window WND_COND_PLAYGROUND
209cdf0e10cSrcweir    {
210cdf0e10cSrcweir        Pos = MAP_APPFONT ( 0, 0 ) ;
211cdf0e10cSrcweir        Size = MAP_APPFONT ( CONDITION_WIDTH, CONDITION_HEIGHT ) ;
212cdf0e10cSrcweir        DialogControl = TRUE ;
213cdf0e10cSrcweir        Hide = FALSE ;
214cdf0e10cSrcweir    };
215cdf0e10cSrcweir
216cdf0e10cSrcweir    FixedLine FL_SEPARATOR1
217cdf0e10cSrcweir    {
218cdf0e10cSrcweir        Pos = MAP_APPFONT ( RELATED_CONTROLS, CONDITION_HEIGHT + RELATED_CONTROLS ) ;
219cdf0e10cSrcweir        Size = MAP_APPFONT ( CONDITION_WIDTH - 2 * RELATED_CONTROLS, 1 ) ;
220cdf0e10cSrcweir    };
221cdf0e10cSrcweir
222cdf0e10cSrcweir    OKButton PB_OK
223cdf0e10cSrcweir    {
224cdf0e10cSrcweir        Pos = MAP_APPFONT ( CONDITION_WIDTH - 3 * BUTTON_WIDTH - 2 * UNRELATED_CONTROLS - RELATED_CONTROLS, CONDITION_HEIGHT + 2 * RELATED_CONTROLS + 1 ) ;
225cdf0e10cSrcweir        Size = MAP_APPFONT ( BUTTON_WIDTH, BUTTON_HEIGHT ) ;
226cdf0e10cSrcweir        TabStop = TRUE ;
227cdf0e10cSrcweir        DefButton = TRUE ;
228cdf0e10cSrcweir    };
229cdf0e10cSrcweir
230cdf0e10cSrcweir    CancelButton PB_CANCEL
231cdf0e10cSrcweir    {
232cdf0e10cSrcweir        Pos = MAP_APPFONT ( CONDITION_WIDTH - 2 * BUTTON_WIDTH - 2 * UNRELATED_CONTROLS, CONDITION_HEIGHT + 2 * RELATED_CONTROLS + 1 ) ;
233cdf0e10cSrcweir        Size = MAP_APPFONT ( BUTTON_WIDTH, BUTTON_HEIGHT ) ;
234cdf0e10cSrcweir        TabStop = TRUE ;
235cdf0e10cSrcweir    };
236cdf0e10cSrcweir
237cdf0e10cSrcweir    HelpButton PB_HELP
238cdf0e10cSrcweir    {
239cdf0e10cSrcweir        TabStop = TRUE ;
240cdf0e10cSrcweir        Pos = MAP_APPFONT ( CONDITION_WIDTH - BUTTON_WIDTH - UNRELATED_CONTROLS, CONDITION_HEIGHT + 2 * RELATED_CONTROLS + 1 ) ;
241cdf0e10cSrcweir        Size = MAP_APPFONT ( BUTTON_WIDTH, BUTTON_HEIGHT ) ;
242cdf0e10cSrcweir        Text [ en-US ] = "~Help" ;
243cdf0e10cSrcweir    };
244cdf0e10cSrcweir
245cdf0e10cSrcweir    ScrollBar SB_ALL_CONDITIONS
246cdf0e10cSrcweir    {
247cdf0e10cSrcweir        Pos = MAP_APPFONT ( CONDITION_WIDTH, RELATED_CONTROLS ) ;
248cdf0e10cSrcweir        Size = MAP_APPFONT ( SCROLLBAR_WIDTH, CONDITION_HEIGHT + RELATED_CONTROLS ) ;
249cdf0e10cSrcweir    };
250cdf0e10cSrcweir};
251cdf0e10cSrcweir
252cdf0e10cSrcweirString STR_NUMBERED_CONDITION
253cdf0e10cSrcweir{
254cdf0e10cSrcweir    Text [ en-US ] = "Condition $number$" ;
255cdf0e10cSrcweir};
256cdf0e10cSrcweir
257cdf0e10cSrcweirString STR_COLOR_WHITE
258cdf0e10cSrcweir{
259cdf0e10cSrcweir    Text [ en-US ] = "White" ;
260cdf0e10cSrcweir};
261cdf0e10cSrcweirString STR_CHARCOLOR
262cdf0e10cSrcweir{
263cdf0e10cSrcweir    Text [ en-US ] = "Font color" ;
264cdf0e10cSrcweir};
265cdf0e10cSrcweirString STR_CHARBACKGROUND
266cdf0e10cSrcweir{
267cdf0e10cSrcweir    Text [ en-US ] = "Background" ;
268cdf0e10cSrcweir};
269cdf0e10cSrcweirString STR_TRANSPARENT
270cdf0e10cSrcweir{
271cdf0e10cSrcweir    Text [ en-US ] = "No Fill" ;
272cdf0e10cSrcweir};
273cdf0e10cSrcweir
274cdf0e10cSrcweir#define MASKCOLOR MaskColor = Color { Red = 0xFFFF; Green = 0x0000; Blue = 0xFFFF; }
275cdf0e10cSrcweir
276cdf0e10cSrcweir//-------------------------------------------------------------------------
277cdf0e10cSrcweirImageList IMG_CONDFORMAT_DLG_SC
278cdf0e10cSrcweir{
279cdf0e10cSrcweir    MASKCOLOR;
280cdf0e10cSrcweir    FileList =
281cdf0e10cSrcweir    {
282cdf0e10cSrcweir        < "res/commandimagelist/sc_bold.png" ; SID_ATTR_CHAR_WEIGHT ;               > ;
283cdf0e10cSrcweir        < "res/commandimagelist/sc_italic.png" ; SID_ATTR_CHAR_POSTURE ;            > ;
284cdf0e10cSrcweir        < "res/commandimagelist/sc_underline.png" ; SID_ATTR_CHAR_UNDERLINE ;       > ;
285cdf0e10cSrcweir        < "res/commandimagelist/sc_backgroundcolor.png" ; SID_BACKGROUND_COLOR ;    > ;
286cdf0e10cSrcweir        < "res/commandimagelist/sc_fontcolor.png" ; SID_ATTR_CHAR_COLOR2 ;          > ;
287cdf0e10cSrcweir        < "res/commandimagelist/sc_fontdialog.png" ; SID_CHAR_DLG ;                 > ;
288cdf0e10cSrcweir    };
289cdf0e10cSrcweir};
290cdf0e10cSrcweir
291cdf0e10cSrcweirImageList IMG_CONDFORMAT_DLG_SCH
292cdf0e10cSrcweir{
293cdf0e10cSrcweir    MASKCOLOR;
294cdf0e10cSrcweir    FileList =
295cdf0e10cSrcweir    {
296cdf0e10cSrcweir        < "res/commandimagelist/sch_bold.png" ; SID_ATTR_CHAR_WEIGHT ;              > ;
297cdf0e10cSrcweir        < "res/commandimagelist/sch_italic.png" ; SID_ATTR_CHAR_POSTURE ;           > ;
298cdf0e10cSrcweir        < "res/commandimagelist/sch_underline.png" ; SID_ATTR_CHAR_UNDERLINE ;      > ;
299cdf0e10cSrcweir        < "res/commandimagelist/sch_backgroundcolor.png" ; SID_BACKGROUND_COLOR ;   > ;
300cdf0e10cSrcweir        < "res/commandimagelist/sch_fontcolor.png" ; SID_ATTR_CHAR_COLOR2 ;         > ;
301cdf0e10cSrcweir        < "res/commandimagelist/sch_fontdialog.png" ; SID_CHAR_DLG ;                > ;
302cdf0e10cSrcweir    };
303cdf0e10cSrcweir};
304cdf0e10cSrcweirImageList IMG_CONDFORMAT_DLG_LC
305cdf0e10cSrcweir{
306cdf0e10cSrcweir    MASKCOLOR;
307cdf0e10cSrcweir    FileList =
308cdf0e10cSrcweir    {
309cdf0e10cSrcweir        < "res/commandimagelist/lc_bold.png" ; SID_ATTR_CHAR_WEIGHT ;               > ;
310cdf0e10cSrcweir        < "res/commandimagelist/lc_italic.png" ; SID_ATTR_CHAR_POSTURE ;            > ;
311cdf0e10cSrcweir        < "res/commandimagelist/lc_underline.png" ; SID_ATTR_CHAR_UNDERLINE ;       > ;
312cdf0e10cSrcweir        < "res/commandimagelist/lc_backgroundcolor.png" ; SID_BACKGROUND_COLOR ;    > ;
313cdf0e10cSrcweir        < "res/commandimagelist/lc_fontcolor.png" ; SID_ATTR_CHAR_COLOR2 ;          > ;
314cdf0e10cSrcweir        < "res/commandimagelist/lc_fontdialog.png" ; SID_CHAR_DLG ;                 > ;
315cdf0e10cSrcweir    };
316cdf0e10cSrcweir};
317cdf0e10cSrcweirImageList IMG_CONDFORMAT_DLG_LCH
318cdf0e10cSrcweir{
319cdf0e10cSrcweir    MASKCOLOR;
320cdf0e10cSrcweir    FileList =
321cdf0e10cSrcweir    {
322cdf0e10cSrcweir        < "res/commandimagelist/lch_bold.png" ; SID_ATTR_CHAR_WEIGHT ;              > ;
323cdf0e10cSrcweir        < "res/commandimagelist/lch_italic.png" ; SID_ATTR_CHAR_POSTURE ;           > ;
324cdf0e10cSrcweir        < "res/commandimagelist/lch_underline.png" ; SID_ATTR_CHAR_UNDERLINE ;      > ;
325cdf0e10cSrcweir        < "res/commandimagelist/lch_backgroundcolor.png" ; SID_BACKGROUND_COLOR ;   > ;
326cdf0e10cSrcweir        < "res/commandimagelist/lch_fontcolor.png" ; SID_ATTR_CHAR_COLOR2 ;         > ;
327cdf0e10cSrcweir        < "res/commandimagelist/lch_fontdialog.png" ; SID_CHAR_DLG ;                > ;
328cdf0e10cSrcweir    };
329cdf0e10cSrcweir};
330cdf0e10cSrcweir
331cdf0e10cSrcweir
332cdf0e10cSrcweir
333cdf0e10cSrcweirImageList 31000
334cdf0e10cSrcweir{
335cdf0e10cSrcweir    MASKCOLOR;
336cdf0e10cSrcweir    prefix = "sc" ;
337cdf0e10cSrcweir    IdList = {05500;} ;
338cdf0e10cSrcweir    IdCount = 1 ;
339cdf0e10cSrcweir
340cdf0e10cSrcweir};
341cdf0e10cSrcweir
342cdf0e10cSrcweirToolBox RID_TB_SORTING
343cdf0e10cSrcweir{
344cdf0e10cSrcweir    Pos = MAP_APPFONT ( 0,0 ) ;
345cdf0e10cSrcweir    ButtonType = BUTTON_SYMBOL ;
346cdf0e10cSrcweir    Align = BOXALIGN_TOP ;
347cdf0e10cSrcweir    Customize = FALSE ;
348cdf0e10cSrcweir    ItemList =
349cdf0e10cSrcweir    {
350cdf0e10cSrcweir        ToolBoxItem
351cdf0e10cSrcweir        {
352cdf0e10cSrcweir            Identifier = SID_FM_SORTUP ;
353cdf0e10cSrcweir            Text [ en-US ] = "Sort Ascending" ;
354cdf0e10cSrcweir            Checkable = TRUE ;
355cdf0e10cSrcweir        };
356cdf0e10cSrcweir        ToolBoxItem
357cdf0e10cSrcweir        {
358cdf0e10cSrcweir            Identifier = SID_FM_SORTDOWN ;
359cdf0e10cSrcweir            Text [ en-US ] = "Sort Descending" ;
360cdf0e10cSrcweir            Checkable = TRUE ;
361cdf0e10cSrcweir        };
362cdf0e10cSrcweir        ToolBoxItem
363cdf0e10cSrcweir        {
364cdf0e10cSrcweir            Identifier = SID_FM_REMOVE_FILTER_SORT ;
365cdf0e10cSrcweir            Text [ en-US ] = "Remove sorting" ;
366cdf0e10cSrcweir        };
367cdf0e10cSrcweir        ToolBoxItem
368cdf0e10cSrcweir        {
369cdf0e10cSrcweir            Type = TOOLBOXITEM_SEPARATOR ;
370cdf0e10cSrcweir        };
371cdf0e10cSrcweir        ToolBoxItem
372cdf0e10cSrcweir        {
373cdf0e10cSrcweir            Identifier = SID_ADD_CONTROL_PAIR ;
374cdf0e10cSrcweir            Text [ en-US ] = "Insert" ;
375cdf0e10cSrcweir        };
376cdf0e10cSrcweir    };
377cdf0e10cSrcweir};
378cdf0e10cSrcweir
379cdf0e10cSrcweirImageList IMG_ADDFIELD_DLG_SC
380cdf0e10cSrcweir{
381cdf0e10cSrcweir    MASKCOLOR;
382cdf0e10cSrcweir    FileList =
383cdf0e10cSrcweir    {
384cdf0e10cSrcweir        < "res/commandimagelist/sc_sortup.png" ; SID_FM_SORTUP ;                        > ;
385cdf0e10cSrcweir        < "res/commandimagelist/sc_sortdown.png" ; SID_FM_SORTDOWN ;                    > ;
386cdf0e10cSrcweir        < "res/commandimagelist/sc_removefiltersort.png" ; SID_FM_REMOVE_FILTER_SORT ;  > ;
387cdf0e10cSrcweir    };
388cdf0e10cSrcweir};
389cdf0e10cSrcweir
390cdf0e10cSrcweirImageList IMG_ADDFIELD_DLG_SCH
391cdf0e10cSrcweir{
392cdf0e10cSrcweir    MASKCOLOR;
393cdf0e10cSrcweir    FileList =
394cdf0e10cSrcweir    {
395cdf0e10cSrcweir        < "res/commandimagelist/sch_sortup.png" ; SID_FM_SORTUP ;                       > ;
396cdf0e10cSrcweir        < "res/commandimagelist/sch_sortdown.png" ; SID_FM_SORTDOWN ;                   > ;
397cdf0e10cSrcweir        < "res/commandimagelist/sch_removefiltersort.png" ; SID_FM_REMOVE_FILTER_SORT ; > ;
398cdf0e10cSrcweir    };
399cdf0e10cSrcweir};
400cdf0e10cSrcweir
401cdf0e10cSrcweirImageList IMG_ADDFIELD_DLG_LC
402cdf0e10cSrcweir{
403cdf0e10cSrcweir    MASKCOLOR;
404cdf0e10cSrcweir    FileList =
405cdf0e10cSrcweir    {
406cdf0e10cSrcweir        < "res/commandimagelist/lc_sortup.png" ; SID_FM_SORTUP ;                        > ;
407cdf0e10cSrcweir        < "res/commandimagelist/lc_sortdown.png" ; SID_FM_SORTDOWN ;                    > ;
408cdf0e10cSrcweir        < "res/commandimagelist/lc_removefiltersort.png" ; SID_FM_REMOVE_FILTER_SORT ;  > ;
409cdf0e10cSrcweir    };
410cdf0e10cSrcweir};
411cdf0e10cSrcweir
412cdf0e10cSrcweirImageList IMG_ADDFIELD_DLG_LCH
413cdf0e10cSrcweir{
414cdf0e10cSrcweir    MASKCOLOR;
415cdf0e10cSrcweir    FileList =
416cdf0e10cSrcweir    {
417cdf0e10cSrcweir        < "res/commandimagelist/lch_sortup.png" ; SID_FM_SORTUP ;                       > ;
418cdf0e10cSrcweir        < "res/commandimagelist/lch_sortdown.png" ; SID_FM_SORTDOWN ;                   > ;
419cdf0e10cSrcweir        < "res/commandimagelist/lch_removefiltersort.png" ; SID_FM_REMOVE_FILTER_SORT ; > ;
420cdf0e10cSrcweir    };
421cdf0e10cSrcweir};
422cdf0e10cSrcweir
423cdf0e10cSrcweirFixedLine ADDFIELD_FL_HELP_SEPARATOR
424cdf0e10cSrcweir{
425cdf0e10cSrcweir    SVLook = TRUE ;
426cdf0e10cSrcweir    Pos = MAP_APPFONT ( RELATED_CONTROLS, RELATED_CONTROLS ) ;
427cdf0e10cSrcweir    Size = MAP_APPFONT ( RELATED_CONTROLS, RELATED_CONTROLS ) ;
428cdf0e10cSrcweir    Text [ en-US ] = "Help" ;
429cdf0e10cSrcweir};
430cdf0e10cSrcweir
431cdf0e10cSrcweirFixedText ADDFIELD_HELP_FIELD
432cdf0e10cSrcweir{
433cdf0e10cSrcweir    SVLook = TRUE ;
434cdf0e10cSrcweir    Pos = MAP_APPFONT ( RELATED_CONTROLS, RELATED_CONTROLS ) ;
435cdf0e10cSrcweir    Size = MAP_APPFONT ( RELATED_CONTROLS, RELATED_CONTROLS ) ;
436cdf0e10cSrcweir    WordBreak = TRUE ;
437cdf0e10cSrcweir    Text [ en-US ] = "Highlight the fields to insert into the selected section of the template, then click Insert or press Enter." ;
438cdf0e10cSrcweir};
439*4c17cfc0Smseidel
440*4c17cfc0Smseidel// ********************************************************************** EOF
441