summaryrefslogtreecommitdiff
path: root/svx/source/form/datanavi.src
blob: f4c071b9d190bf5e47b4726f84edc5aad3edfe78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
 * This file is part of the LibreOffice project.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 *
 * This file incorporates work covered by the following license notice:
 *
 *   Licensed to the Apache Software Foundation (ASF) under one or more
 *   contributor license agreements. See the NOTICE file distributed
 *   with this work for additional information regarding copyright
 *   ownership. The ASF licenses this file to you under the Apache
 *   License, Version 2.0 (the "License"); you may not use this file
 *   except in compliance with the License. You may obtain a copy of
 *   the License at http://www.apache.org/licenses/LICENSE-2.0 .
 */

#include "datanavi.hrc"
#include "globlmn.hrc"
#include "svx/fmresids.hrc"
#include "fmhelp.hrc"

#define MASKCOLOR   MaskColor = Color { Red = 0xFFFF ; Green = 0x0000 ; Blue = 0xFFFF ; };

#define IMG_LST                 \
IdList =                        \
{                               \
    IID_ITEM_ADD ;              \
    IID_ITEM_ADD_ELEMENT ;      \
    IID_ITEM_ADD_ATTRIBUTE ;    \
    IID_ITEM_EDIT ;             \
    IID_ITEM_REMOVE ;           \
};                              \
IdCount = { 5 ; } ;

ImageList RID_SVXIMGLIST_XFORMS_TBX
{
    Prefix = "tb";
    MASKCOLOR
    IMG_LST
};
#undef IMG_LST

Window RID_SVXWIN_DATANAVIGATOR
{
    OutputSize = TRUE ;
    Hide = TRUE ;
    SVLook = TRUE ;
    DialogControl = TRUE ;
    HelpId = HID_DATA_NAVIGATOR_WIN ;
    Pos = MAP_APPFONT ( 0 , 0 ) ;
    Size = MAP_APPFONT ( 300 , 400 ) ;
    ListBox LB_MODELS
    {
        HelpId = HID_XFORMS_MODELS_LIST ;
        Pos = MAP_APPFONT ( 3 , 4 ) ;
        Size = MAP_APPFONT ( 63 , 45 ) ;
        DropDown = TRUE ;
        DDExtraWidth = TRUE ;
    };
    MenuButton MB_MODELS
    {
        HelpId = HID_XFORMS_MODELS_MENUBTN ;
        Pos = MAP_APPFONT ( 69 , 3 ) ;
        Size = MAP_APPFONT ( 50 , 14 ) ;
        Text [ en-US ] = "~Models";
        ButtonMenu = Menu
        {
            ItemList =
            {
                MenuItem
                {
                    Identifier = MID_MODELS_ADD ;
                    HelpId = HID_MN_XFORMS_MODELS_ADD ;
                    Text [ en-US ] = "~Add..." ;
                };
                MenuItem
                {
                    Identifier = MID_MODELS_EDIT ;
                    HelpId = HID_MN_XFORMS_MODELS_EDIT ;
                    Text [ en-US ] = "~Edit..." ;
                };
                MenuItem
                {
                    Identifier = MID_MODELS_REMOVE ;
                    HelpId = HID_MN_XFORMS_MODELS_REMOVE ;
                    Text [ en-US ] = "~Remove" ;
                };
            };
        };
    };
    TabControl TC_ITEMS
    {
        HelpId = HID_XFORMS_TAB_CONTROL ;
        Pos = MAP_APPFONT ( 3, 20 ) ;
        TabStop = TRUE;
        PageList =
        {
            PageItem
            {
                Identifier = TID_INSTANCE ;
                Text [ en-US ] = "Instance";
            };
            PageItem
            {
                Identifier = TID_SUBMISSION ;
                Text [ en-US ] = "Submissions";
            };
            PageItem
            {
                Identifier = TID_BINDINGS ;
                Text [ en-US ] = "Bindings";
            };
        };
    };
    MenuButton MB_INSTANCES
    {
        HelpId = HID_XFORMS_INSTANCES_MENUBTN ;
        Pos = MAP_APPFONT ( 69 , 133 ) ;
        Size = MAP_APPFONT ( 50 , 14 ) ;
        Text [ en-US ] = "~Instances";
        ButtonMenu = Menu
        {
            ItemList =
            {
                MenuItem
                {
                    Identifier = MID_INSTANCES_ADD ;
                    HelpId = HID_MN_XFORMS_INSTANCES_ADD ;
                    Text [ en-US ] = "~Add..." ;
                };
                MenuItem
                {
                    Identifier = MID_INSTANCES_EDIT ;
                    HelpId = HID_MN_XFORMS_INSTANCES_EDIT ;
                    Text [ en-US ] = "~Edit..." ;
                };
                MenuItem
                {
                    Identifier = MID_INSTANCES_REMOVE ;
                    HelpId = HID_MN_XFORMS_INSTANCES_REMOVE ;
                    Text [ en-US ] = "~Remove" ;
                };
                MenuItem
                {
                    Separator = TRUE;
                };
                MenuItem
                {
                    Identifier = MID_SHOW_DETAILS ;
                    HelpId = HID_MN_XFORMS_SHOW_DETAILS ;
                    Text [ en-US ] = "~Show Details" ;
                };
            };
        };
    };

#define IMG_LST2            \
IdList =                    \
{                           \
    IID_GROUP_CLOSED ;      \
    IID_GROUP_OPEN ;        \
    IID_ELEMENT ;           \
    IID_ATTRIBUTE ;         \
    IID_TEXT ;              \
    IID_OTHER ;             \
};                          \
IdCount = { 6 ; } ;

    ImageList IL_ITEM_BMPS
    {
        Prefix = "da";
        MASKCOLOR
        IMG_LST2
    };
};

QueryBox RID_QRY_REMOVE_MODEL
{
    Buttons = WB_YES_NO ;
    DefButton = WB_DEF_NO ;
    Message [ en-US ] = "Deleting the model '$MODELNAME' affects all controls currently bound to this model.\nDo you really want to delete this model?" ;
};

QueryBox RID_QRY_REMOVE_INSTANCE
{
    Buttons = WB_YES_NO ;
    DefButton = WB_DEF_NO ;
    Message [ en-US ] = "Deleting the instance '$INSTANCENAME' affects all controls currently bound to this instance.\nDo you really want to delete this instance?" ;
};

QueryBox RID_QRY_REMOVE_ELEMENT
{
    Buttons = WB_YES_NO ;
    DefButton = WB_DEF_NO ;
    Message [ en-US ] = "Deleting the element '$ELEMENTNAME' affects all controls currently bound to this element.\nDo you really want to delete this element?" ;
};

QueryBox RID_QRY_REMOVE_ATTRIBUTE
{
    Buttons = WB_YES_NO ;
    DefButton = WB_DEF_NO ;
    Message [ en-US ] = "Do you really want to delete the attribute '$ATTRIBUTENAME'?" ;
};

QueryBox RID_QRY_REMOVE_SUBMISSION
{
    Buttons = WB_YES_NO ;
    DefButton = WB_DEF_NO ;
    Message [ en-US ] = "Deleting the submission '$SUBMISSIONNAME' affects all controls currently bound to this submission.\n\nDo you really want to delete this submission?" ;
};

QueryBox RID_QRY_REMOVE_BINDING
{
    Buttons = WB_YES_NO ;
    DefButton = WB_DEF_NO ;
    Message [ en-US ] = "Deleting the binding '$BINDINGNAME' affects all controls currently bound to this binding.\n\nDo you really want to delete this binding?" ;
};

MessBox RID_QRY_LINK_WARNING
{
    Buttons = 0 ;
    Message [ en-US ] = "This instance is linked with the form.\n\nThe changes you make to this instance will be lost when the form is reloaded.\n\nHow do you want to proceed?" ;
};

ErrorBox RID_ERR_INVALID_XMLNAME
{
    Buttons = WB_OK ;
    Message [ en-US ] = "The name '%1' is not valid in XML. Please enter a different name." ;
};

ErrorBox RID_ERR_INVALID_XMLPREFIX
{
    Buttons = WB_OK ;
    Message [ en-US ] = "The prefix '%1' is not valid in XML. Please enter a different prefix." ;
};

ErrorBox RID_ERR_DOUBLE_MODELNAME
{
    Buttons = WB_OK ;
    Message [ en-US ] = "The name '%1' already exists. Please enter a new name." ;
};

ErrorBox RID_ERR_EMPTY_SUBMISSIONNAME
{
    Buttons = WB_OK ;
    Message [ en-US ] = "The submission must have a name." ;
};

Menu RID_MENU_DATANAVIGATOR
{
    ItemList =
    {
        // MID_INSERT_CONTROL not implemented, yet (#i99890#)
        /*MenuItem
        {
            Identifier = MID_INSERT_CONTROL ;
            HelpId = HID_XFORMS_MID_INSERT_CONTROL ;
            Text [ en-US ] = "Insert Control" ;
        };
        MenuItem
        {
            Separator = TRUE;
        };*/
        MenuItem
        {
            Identifier = TBI_ITEM_ADD ;
            HelpId = HID_XFORMS_TOOLBOX_ITEM_ADD ;
            Text [ en-US ] = "Add Item" ;
        };
        MenuItem
        {
            Identifier = TBI_ITEM_ADD_ELEMENT ;
            HelpId = HID_XFORMS_TOOLBOX_ITEM_ADD_ELEMENT ;
            Text [ en-US ] = "Add Element" ;
        };
        MenuItem
        {
            Identifier = TBI_ITEM_ADD_ATTRIBUTE ;
            HelpId = HID_XFORMS_TOOLBOX_ITEM_ADD_ATTRIBUTE ;
            Text [ en-US ] = "Add Attribute" ;
        };
        MenuItem
        {
            Identifier = TBI_ITEM_EDIT ;
            HelpId = HID_XFORMS_TOOLBOX_ITEM_EDIT ;
            Text [ en-US ] = "Edit" ;
        };
        MenuItem
        {
            Separator = TRUE;
        };
        MenuItem
        {
            Identifier = TBI_ITEM_REMOVE ;
            HelpId = HID_XFORMS_TOOLBOX_ITEM_REMOVE ;
            Text [ en-US ] = "Delete" ;
        };
    };
};

String RID_STR_METHOD_POST
{
    Text [ en-US ] = "Post" ;
};

String RID_STR_METHOD_PUT
{
    Text [ en-US ] = "Put" ;
};

String RID_STR_METHOD_GET
{
    Text [ en-US ] = "Get" ;
};

String RID_STR_REPLACE_NONE
{
    Text [ en-US ] = "None" ;
};

String RID_STR_REPLACE_INST
{
    Text [ en-US ] = "Instance" ;
};

String RID_STR_REPLACE_DOC
{
    Text [ en-US ] = "Document" ;
};

String RID_STR_DATANAV_SUBM_PARENT
{
    Text [ en-US ] = "Submission: " ;
};

String RID_STR_DATANAV_SUBM_ID
{
    Text [ en-US ] = "ID: " ;
};

String RID_STR_DATANAV_SUBM_BIND
{
    Text [ en-US ] = "Binding: " ;
};

String RID_STR_DATANAV_SUBM_REF
{
    Text [ en-US ] = "Reference: " ;
};

String RID_STR_DATANAV_SUBM_ACTION
{
    Text [ en-US ] = "Action: " ;
};

String RID_STR_DATANAV_SUBM_METHOD
{
    Text [ en-US ] = "Method: " ;
};

String RID_STR_DATANAV_SUBM_REPLACE
{
    Text [ en-US ] = "Replace: " ;
};

String RID_STR_DATANAV_ADD_ELEMENT
{
    Text [ en-US ] = "Add Element" ;
};

String RID_STR_DATANAV_EDIT_ELEMENT
{
    Text [ en-US ] = "Edit Element" ;
};

String RID_STR_DATANAV_REMOVE_ELEMENT
{
    Text [ en-US ] = "Delete Element" ;
};

String RID_STR_DATANAV_ADD_ATTRIBUTE
{
    Text [ en-US ] = "Add Attribute" ;
};

String RID_STR_DATANAV_EDIT_ATTRIBUTE
{
    Text [ en-US ] = "Edit Attribute" ;
};

String RID_STR_DATANAV_REMOVE_ATTRIBUTE
{
    Text [ en-US ] = "Delete Attribute" ;
};

String RID_STR_DATANAV_ADD_BINDING
{
    Text [ en-US ] = "Add Binding" ;
};

String RID_STR_DATANAV_EDIT_BINDING
{
    Text [ en-US ] = "Edit Binding" ;
};

String RID_STR_DATANAV_REMOVE_BINDING
{
    Text [ en-US ] = "Delete Binding" ;
};

String RID_STR_DATANAV_ADD_SUBMISSION
{
    Text [ en-US ] = "Add Submission" ;
};

String RID_STR_DATANAV_EDIT_SUBMISSION
{
    Text [ en-US ] = "Edit Submission" ;
};

String RID_STR_DATANAV_REMOVE_SUBMISSION
{
    Text [ en-US ] = "Delete Submission" ;
};

String RID_STR_DATANAV_LINKWARN_BUTTON
{
    Text [ en-US ] = "~Edit" ;
};

String RID_STR_ELEMENT
{
    Text [ en-US ] = "Element" ;
};

String RID_STR_ATTRIBUTE
{
    Text [ en-US ] = "Attribute" ;
};

String RID_STR_BINDING
{
    Text [ en-US ] = "Binding" ;
};

String RID_STR_BINDING_EXPR
{
    Text [ en-US ] = "Binding expression" ;
};

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */