xref: /AOO41X/main/sd/source/ui/dlg/custsdlg.src (revision ff0525f24f03981d56b7579b645949f111420994)
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 "custsdlg.hrc"
25#include "app.hrc"
26#include "helpids.h"
27#define DIFF 20
28#define DIFF_Y 17
29ModalDialog DLG_CUSTOMSHOW
30{
31    HelpID = CMD_SID_CUSTOMSHOW_DLG ;
32    OutputSize = TRUE ;
33    SVLook = TRUE ;
34    Size = MAP_APPFONT ( 175 + DIFF , 114 + DIFF_Y ) ;
35    Moveable = TRUE ;
36    Closeable = TRUE ;
37    PushButton BTN_NEW
38    {
39        HelpID = "sd:PushButton:DLG_CUSTOMSHOW:BTN_NEW";
40        Pos = MAP_APPFONT ( 120 + DIFF , 6 ) ;
41        Size = MAP_APPFONT ( 50 , 14 ) ;
42        TabStop = TRUE ;
43        Text [ en-US ] = "~New..." ;
44    };
45    PushButton BTN_EDIT
46    {
47        HelpID = "sd:PushButton:DLG_CUSTOMSHOW:BTN_EDIT";
48        Pos = MAP_APPFONT ( 120 + DIFF , 23 ) ;
49        Size = MAP_APPFONT ( 50 , 14 ) ;
50        TabStop = TRUE ;
51        Text [ en-US ] = "~Edit..." ;
52    };
53    PushButton BTN_REMOVE
54    {
55        HelpID = "sd:PushButton:DLG_CUSTOMSHOW:BTN_REMOVE";
56        Pos = MAP_APPFONT ( 120 + DIFF , 40 ) ;
57        Size = MAP_APPFONT ( 50 , 14 ) ;
58        TabStop = TRUE ;
59        Text [ en-US ] = "~Delete" ;
60    };
61    PushButton BTN_COPY
62    {
63        HelpID = "sd:PushButton:DLG_CUSTOMSHOW:BTN_COPY";
64        Pos = MAP_APPFONT ( 120 + DIFF , 57 ) ;
65        Size = MAP_APPFONT ( 50 , 14 ) ;
66        TabStop = TRUE ;
67        Text [ en-US ] = "Cop~y" ;
68    };
69    HelpButton BTN_HELP
70    {
71        Pos = MAP_APPFONT ( 120 + DIFF , 74 ) ;
72        Size = MAP_APPFONT ( 50 , 14 ) ;
73        TabStop = TRUE ;
74    };
75    PushButton BTN_STARTSHOW
76    {
77        HelpID = "sd:PushButton:DLG_CUSTOMSHOW:BTN_STARTSHOW";
78        Pos = MAP_APPFONT ( 120 + DIFF , 94 ) ;
79        Size = MAP_APPFONT ( 50 , 14 ) ;
80        TabStop = TRUE ;
81        Text [ en-US ] = "~Start" ;
82    };
83    OKButton BTN_OK
84    {
85        Pos = MAP_APPFONT ( 120 + DIFF , 94 + DIFF_Y ) ;
86        Size = MAP_APPFONT ( 50 , 14 ) ;
87        TabStop = TRUE ;
88        DefButton = TRUE ;
89        Text [ en-US ] = "~Close" ;
90    };
91    ListBox LB_CUSTOMSHOWS
92    {
93        HelpID = "sd:ListBox:DLG_CUSTOMSHOW:LB_CUSTOMSHOWS";
94        Border = TRUE ;
95        Pos = MAP_APPFONT ( 6 , 6 ) ;
96        Size = MAP_APPFONT ( 102 + DIFF , 86 + DIFF_Y ) ;
97        TabStop = TRUE ;
98        //IAccessibility2 Implementation 2009-----
99        QuickHelpText [ en-US ] = "Custom Screen Show" ;
100        //-----IAccessibility2 Implementation 2009
101    };
102    CheckBox CBX_USE_CUSTOMSHOW
103    {
104        HelpID = "sd:CheckBox:DLG_CUSTOMSHOW:CBX_USE_CUSTOMSHOW";
105        Pos = MAP_APPFONT ( 6 , 96 + DIFF_Y ) ;
106        Size = MAP_APPFONT ( 112 + DIFF , 12 ) ;
107        TabStop = TRUE ;
108        Text [ en-US ] = "~Use Custom Slide Show" ;
109    };
110    Text [ en-US ] = "Custom Slide Shows" ;
111};
112ModalDialog DLG_DEFINE_CUSTOMSHOW
113{
114    HelpID = HID_DLG_DEFINE_CUSTOMSHOW ;
115    OutputSize = TRUE ;
116    SVLook = TRUE ;
117    Size = MAP_APPFONT ( 248 , 117 ) ;
118    Moveable = TRUE ;
119    Closeable = TRUE ;
120    OKButton BTN_OK
121    {
122        Pos = MAP_APPFONT ( 187 , 6 ) ;
123        Size = MAP_APPFONT ( 50 , 14 ) ;
124        TabStop = TRUE ;
125        DefButton = TRUE ;
126    };
127    CancelButton BTN_CANCEL
128    {
129        Pos = MAP_APPFONT ( 187 , 23 ) ;
130        Size = MAP_APPFONT ( 50 , 14 ) ;
131        TabStop = TRUE ;
132    };
133    HelpButton BTN_HELP
134    {
135        Pos = MAP_APPFONT ( 187 , 43 ) ;
136        Size = MAP_APPFONT ( 50 , 14 ) ;
137        TabStop = TRUE ;
138    };
139    FixedText FT_NAME
140    {
141        Pos = MAP_APPFONT ( 6 , 8 ) ;
142        Size = MAP_APPFONT ( 30 , 10 ) ;
143        Text [ en-US ] = "Name" ;
144    };
145    Edit EDT_NAME
146    {
147        HelpID = "sd:Edit:DLG_DEFINE_CUSTOMSHOW:EDT_NAME";
148        Border = TRUE ;
149        Pos = MAP_APPFONT ( 38 , 6 ) ;
150        Size = MAP_APPFONT ( 141 , 12 ) ;
151        TabStop = TRUE ;
152    };
153    MultiListBox LB_PAGES
154    {
155        HelpID = "sd:MultiListBox:DLG_DEFINE_CUSTOMSHOW:LB_PAGES";
156        Border = TRUE ;
157        Pos = MAP_APPFONT ( 6 , 35 ) ;
158        Size = MAP_APPFONT ( 75 , 75 ) ;
159        TabStop = TRUE ;
160        SimpleMode = TRUE ;
161    };
162    PushButton BTN_ADD
163    {
164        HelpID = "sd:PushButton:DLG_DEFINE_CUSTOMSHOW:BTN_ADD";
165        Pos = MAP_APPFONT ( 84 , 67 ) ;
166        Size = MAP_APPFONT ( 14 , 14 ) ;
167        Text = "~>>" ;
168        TabStop = TRUE ;
169    };
170    Control LB_CUSTOM_PAGES
171    {
172        HelpID = HID_DLG_DEFINE_CUSTOMSHOW_CTL ;
173        Border = TRUE ;
174        Pos = MAP_APPFONT ( 103 , 35 ) ;
175        Size = MAP_APPFONT ( 75 , 75 ) ;
176        TabStop = TRUE ;
177    };
178    PushButton BTN_REMOVE
179    {
180        HelpID = "sd:PushButton:DLG_DEFINE_CUSTOMSHOW:BTN_REMOVE";
181        Pos = MAP_APPFONT ( 84 , 95 ) ;
182        Size = MAP_APPFONT ( 14 , 14 ) ;
183        Text = "~<<" ;
184        TabStop = TRUE ;
185    };
186    FixedText FT_PAGES
187    {
188        Pos = MAP_APPFONT ( 6 , 24 ) ;
189        Size = MAP_APPFONT ( 83 , 10 ) ;
190        Text [ en-US ] = "Existing slides" ;
191    };
192    FixedText FT_CUSTOM_PAGES
193    {
194        Pos = MAP_APPFONT ( 103 , 24 ) ;
195        Size = MAP_APPFONT ( 80 , 10 ) ;
196        Text [ en-US ] = "Selected slides" ;
197    };
198    Text [ en-US ] = "Define Custom Slide Show" ;
199};
200
201