xref: /trunk/main/sfx2/source/doc/docvor.src (revision 7950f2af818787db817abe90d4dbb3d6d8409899)
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 ---------------------------------------------------------------
25#include <sfx2/sfx.hrc>
26#include "doc.hrc"
27#include "docvor.hrc"
28#include "helpid.hrc"
29// pragma ----------------------------------------------------------------
30
31// DLG_ORGANIZE ----------------------------------------------------------
32
33ModalDialog DLG_ORGANIZE
34{
35    HelpId = CMD_SID_ORGANIZER ;
36    OutputSize = TRUE ;
37    SVLook = TRUE ;
38    Size = MAP_APPFONT ( 271, 162 ) ;
39    Text [ en-US ] = "Template Management" ;
40    Moveable = TRUE ;
41    HelpButton BTN_HELP
42    {
43        Pos = MAP_APPFONT ( 205, 43 ) ;
44        Size = MAP_APPFONT ( 60, 14 ) ;
45        TabStop = TRUE ;
46    };
47    OKButton BTN_OK
48    {
49        Pos = MAP_APPFONT ( 205, 6 ) ;
50        Size = MAP_APPFONT ( 60, 14 ) ;
51        Text [ en-US ] = "Close" ;
52        TabStop = TRUE ;
53        DefButton = TRUE ;
54    };
55    PushButton BTN_FILES
56    {
57        HelpID = "sfx2:PushButton:DLG_ORGANIZE:BTN_FILES" ;
58        Pos = MAP_APPFONT ( 205, 143 ) ;
59        Size = MAP_APPFONT ( 60, 14 ) ;
60        Text [ en-US ] = "~File..." ;
61        TabStop = TRUE ;
62    };
63    PushButton BTN_ADDRESSTEMPLATE
64    {
65        HelpID = "sfx2:PushButton:DLG_ORGANIZE:BTN_ADDRESSTEMPLATE" ;
66        Pos = MAP_APPFONT ( 205, 124 ) ;
67        Size = MAP_APPFONT ( 60, 14 ) ;
68        Text [ en-US ] = "~Address Book..." ;
69    };
70    ListBox LB_LEFT_TYP
71    {
72        HelpID = "sfx2:ListBox:DLG_ORGANIZE:LB_LEFT_TYP" ;
73        Border = TRUE ;
74        Pos = MAP_APPFONT ( 3, 144 ) ;
75        Size = MAP_APPFONT ( 94, 55 ) ;
76        TabStop = TRUE ;
77        DropDown = TRUE ;
78        CurPos = 0 ;
79        StringList [ en-US ] =
80        {
81            < "Templates" ; Default ;   > ;
82            < "Documents" ; Default ;   > ;
83        };
84    };
85    ListBox LB_RIGHT_TYP
86    {
87        HelpID = "sfx2:ListBox:DLG_ORGANIZE:LB_RIGHT_TYP" ;
88        Border = TRUE ;
89        Pos = MAP_APPFONT ( 103, 144 ) ;
90        Size = MAP_APPFONT ( 94, 55 ) ;
91        TabStop = TRUE ;
92        DropDown = TRUE ;
93        CurPos = 1 ;
94        StringList [ en-US ] =
95        {
96            < "Templates" ; Default ;   > ;
97            < "Documents" ; Default ;   > ;
98        };
99    };
100    Control LB_LEFT
101    {
102        HelpId = HID_CTL_ORGANIZER_LEFT ;
103        Border = TRUE ;
104        Pos = MAP_APPFONT ( 3, 6 ) ;
105        Size = MAP_APPFONT ( 94, 132 ) ;
106        TabStop = TRUE ;
107        ClipChildren = TRUE ;
108    };
109    Control LB_RIGHT
110    {
111        HelpId = HID_CTL_ORGANIZER_RIGHT ;
112        Border = TRUE ;
113        Pos = MAP_APPFONT ( 103, 6 ) ;
114        Size = MAP_APPFONT ( 94, 132 ) ;
115        TabStop = TRUE ;
116        ClipChildren = TRUE ;
117    };
118    Accelerator ACC_EDIT
119    {
120        ItemList =
121        {
122            AcceleratorItem
123            {
124                Identifier = ID_NEW ;
125                Key = KeyCode
126                {
127                    Code = KEY_INSERT ;
128                };
129            };
130            AcceleratorItem
131            {
132                Identifier = ID_DELETE ;
133                Key = KeyCode
134                {
135                    Code = KEY_DELETE ;
136                };
137            };
138        };
139    };
140    MenuButton BTN_EDIT
141    {
142        HelpID = "sfx2:MenuButton:DLG_ORGANIZE:BTN_EDIT" ;
143        Pos = MAP_APPFONT ( 205, 23 ) ;
144        Size = MAP_APPFONT ( 60, 14 ) ;
145        Text [ en-US ] = "Commands" ;
146        TabStop = TRUE ;
147        ButtonMenu = Menu
148        {
149            ItemList =
150            {
151                MenuItem
152                {
153                    Identifier = ID_NEW ;
154                    HelpId = HID_ORGANIZE_NEW ;
155                    Text [ en-US ] = "~New" ;
156                    AccelKey = KeyCode
157                    {
158                        Code = KEY_INSERT ;
159                    };
160                };
161                MenuItem
162                {
163                    Identifier = ID_DELETE ;
164                    HelpId = HID_ORGANIZE_DELETE ;
165                    Text [ en-US ] = "~Delete" ;
166                    AccelKey = KeyCode
167                    {
168                        Code = KEY_DELETE ;
169                    };
170                };
171                MenuItem
172                {
173                    Identifier = ID_EDIT ;
174                    HelpId = HID_ORGANIZE_EDIT ;
175                    Text [ en-US ] = "~Edit" ;
176                };
177                MenuItem
178                {
179                    Separator = TRUE ;
180                };
181                MenuItem
182                {
183                    Identifier = ID_COPY_FROM ;
184                    HelpId = HID_ORGANIZE_COPY_FROM ;
185                    Text [ en-US ] = "Import Template..." ;
186                };
187                MenuItem
188                {
189                    Identifier = ID_COPY_TO ;
190                    HelpId = HID_ORGANIZE_COPY_TO ;
191                    Text [ en-US ] = "Export Template..." ;
192                };
193                MenuItem
194                {
195                    Separator = TRUE ;
196                };
197                MenuItem
198                {
199                    Identifier = ID_PRINT ;
200                    HelpId = HID_ORGANIZE_PRINT ;
201                    Text [ en-US ] = "~Print" ;
202                };
203                MenuItem
204                {
205                    Identifier = ID_PRINTER_SETUP ;
206                    HelpId = HID_ORGANIZE_PRINTER_SETUP ;
207                    Text [ en-US ] = "Printer Settings..." ;
208                };
209                MenuItem
210                {
211                    Separator = TRUE ;
212                };
213                MenuItem
214                {
215                    Identifier = ID_RESCAN ;
216                    HelpId = HID_ORGANIZE_RESCAN ;
217                    Text [ en-US ] = "Update" ;
218                };
219                MenuItem
220                {
221                    Separator = TRUE ;
222                };
223                MenuItem
224                {
225                    Identifier = ID_DEFAULT_TEMPLATE ;
226                    HelpId = HID_ORGANIZE_STDTEMPLATE_ADD ;
227                    Text [ en-US ] = "Set As Default Template" ;
228                };
229                MenuItem
230                {
231                    Identifier = ID_RESET_DEFAULT_TEMPLATE ;
232                    HelpId = HID_ORGANIZE_STDTEMPLATE_DEL ;
233                    Text [ en-US ] = "Reset Default Template" ;
234                };
235            };
236        };
237    };
238    Image IMG_OPENED_FOLDER
239    {
240        ImageBitmap = Bitmap {File = "folderop.png" ;} ;
241    };
242    Image IMG_CLOSED_FOLDER
243    {
244        ImageBitmap = Bitmap {File = "foldercl.png" ;} ;
245    };
246    Image IMG_OPENED_DOC
247    {
248        ImageBitmap = Bitmap {File = "doccl.png" ;} ;
249    };
250    Image IMG_CLOSED_DOC
251    {
252        ImageBitmap = Bitmap {File = "doccl.png" ;} ;
253    };
254    Image IMG_OPENED_FOLDER_HC
255    {
256        ImageBitmap = Bitmap {File = "folderop_h.png" ;} ;
257    };
258    Image IMG_CLOSED_FOLDER_HC
259    {
260        ImageBitmap = Bitmap {File = "foldercl_h.png" ;} ;
261    };
262    Image IMG_OPENED_DOC_HC
263    {
264        ImageBitmap = Bitmap {File = "doccl_h.png" ;} ;
265    };
266    Image IMG_CLOSED_DOC_HC
267    {
268        ImageBitmap = Bitmap {File = "doccl_h.png" ;} ;
269    };
270    /*FixedText FT_DEFAULT_TEMPLATE_LABEL
271    {
272        Pos = MAP_APPFONT ( 3, 161 ) ;
273        Size = MAP_APPFONT ( 61, 10 ) ;
274        Text [ en-US ] = "Default template:" ;
275    };
276    FixedText FT_DEFAULT_TEMPLATE
277    {
278        Pos = MAP_APPFONT ( 66, 161 ) ;
279        Size = MAP_APPFONT ( 131, 10 ) ;
280    };*/
281};
282
283// ********************************************************************** EOF
284