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