xref: /trunk/main/reportdesign/source/ui/report/report.src (revision 1ecadb572e7010ff3b3382ad9bf179dbc6efadbb)
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#include "RptResId.hrc"
28#include "rptui_slotid.hrc"
29#ifndef _GLOBLMN_HRC
30#include <svx/globlmn.hrc>
31#endif
32#ifndef _SBASLTID_HRC
33#include <svx/svxids.hrc>
34#endif
35#include "helpids.hrc"
36
37// Dialog Controls ---------------------------------------------------------------
38
39String RID_STR_CLASS_FIXEDTEXT
40{
41    Text = "Label" ;
42};
43String RID_STR_CLASS_FIXEDLINE
44{
45    Text = "Line" ;
46};
47String RID_STR_CLASS_IMAGECONTROL
48{
49    Text = "Graphic" ;
50};
51String RID_STR_CLASS_FORMATTEDFIELD
52{
53    Text = "FormattedField" ;
54};
55
56
57// Property Browser Headline ----------------------------------------------------------------
58
59String RID_STR_BRWTITLE_PROPERTIES
60{
61    Text [ en-US ] = "Properties: ";
62};
63String RID_STR_BRWTITLE_NO_PROPERTIES
64{
65    Text [ en-US ] = "No Control marked";
66};
67String RID_STR_BRWTITLE_MULTISELECT
68{
69    Text [ en-US ] = "Multiselection";
70};
71
72String RID_STR_PROPTITLE_IMAGECONTROL
73{
74    Text [ en-US ] = "Image Control" ;
75};
76String RID_STR_PROPTITLE_FIXEDTEXT
77{
78    Text [ en-US ] = "Label field" ;
79};
80String RID_STR_PROPTITLE_FIXEDLINE
81{
82    Text [ en-US ] = "Line" ;
83    Text [ x-comment ] = " ";
84};
85String RID_STR_PROPTITLE_FORMATTED
86{
87    Text [ en-US ] = "Formatted Field";
88    Text [ x-comment ] = " ";
89};
90String RID_STR_PROPTITLE_SHAPE
91{
92    Text [ en-US ] = "Shape";
93    Text [ x-comment ] = " ";
94};
95String RID_STR_PROPTITLE_REPORT
96{
97    Text [ en-US ] = "Report";
98};
99String RID_STR_PROPTITLE_SECTION
100{
101    Text [ en-US ] = "Section";
102};
103String RID_STR_PROPTITLE_FUNCTION
104{
105    Text [ en-US ] = "Function";
106};
107String RID_STR_PROPTITLE_GROUP
108{
109    Text [ en-US ] = "Group";
110};
111// -----------------------------------------------------------------------
112
113Image RID_IMG_TREENODE_COLLAPSED
114{
115    ImageBitmap = Bitmap { File = "plus.bmp"; } ;
116    MaskColor = Color { Red = 0xFF00; Green = 0x0000; Blue = 0xFF00; };
117};
118
119Image RID_IMG_TREENODE_EXPANDED
120{
121    ImageBitmap = Bitmap { File = "minus.bmp"; } ;
122    MaskColor = Color { Red = 0xFF00; Green = 0x0000; Blue = 0xFF00; };
123};
124
125Image RID_IMG_TREENODE_COLLAPSED_HC
126{
127    ImageBitmap = Bitmap { File = "plus_sch.bmp"; } ;
128    MaskColor = Color { Red = 0xFF00; Green = 0x0000; Blue = 0xFF00; };
129};
130
131Image RID_IMG_TREENODE_EXPANDED_HC
132{
133    ImageBitmap = Bitmap { File = "minus_sch.bmp"; } ;
134    MaskColor = Color { Red = 0xFF00; Green = 0x0000; Blue = 0xFF00; };
135};
136
137String STR_SHOW_RULER
138{
139    Text [ en-US ] = "Show ruler";
140};
141
142String STR_SHOW_GRID
143{
144    Text [ en-US ] = "Show grid";
145};
146
147String RID_STR_UNDO_CHANGEPOSITION
148{
149    Text [ en-US ] = "Change Object";
150};
151String RID_STR_UNDO_MOVE_GROUP
152{
153    Text [ en-US ] = "Move Group(s)";
154};
155String RID_STR_UNDO_CONDITIONAL_FORMATTING
156{
157    Text [ en-US ] = "Conditional Formatting";
158};
159String RID_STR_UNDO_REMOVE_REPORTHEADERFOOTER
160{
161    Text [ en-US ] = "Remove report header / report footer";
162};
163
164String RID_STR_UNDO_ADD_REPORTHEADERFOOTER
165{
166    Text [ en-US ] = "Add report header / report footer";
167};
168
169String RID_STR_UNDO_REMOVE_PAGEHEADERFOOTER
170{
171    Text [ en-US ] = "Remove page header / page footer";
172};
173
174String RID_STR_UNDO_ADD_PAGEHEADERFOOTER
175{
176    Text [ en-US ] = "Add page header / page footer";
177};
178
179String RID_STR_UNDO_PROPERTY
180{
181    Text [ en-US ] = "Change property '#'";
182    Text = "The # character is used for replacing";
183};
184
185String RID_STR_UNDO_ADD_GROUP_HEADER
186{
187    Text [ en-US ] = "Add group header ";
188};
189
190String RID_STR_UNDO_REMOVE_GROUP_HEADER
191{
192    Text [ en-US ] = "Remove group header ";
193};
194
195String RID_STR_UNDO_ADD_GROUP_FOOTER
196{
197    Text [ en-US ] = "Add group footer ";
198};
199
200String RID_STR_UNDO_REMOVE_GROUP_FOOTER
201{
202    Text [ en-US ] = "Remove group footer ";
203};
204String RID_STR_UNDO_ADDFUNCTION
205{
206    Text [ en-US ] = "Add function";
207};
208
209String RID_STR_UNDO_DELETEFUNCTION
210{
211    Text [ en-US ] = "Delete function";
212};
213
214String RID_STR_DESIGN_VIEW
215{
216    Text [ en-US ] = "Design";
217};
218
219String RID_STR_PREVIEW_VIEW
220{
221    Text [ en-US ] = "Preview";
222};
223
224String STR_RPT_TITLE
225{
226    Text [ en-US ] = "Report #" ;
227    Text [ x-comment ] = " ";
228};
229
230String STR_RPT_LABEL
231{
232    Text [ en-US ] = "~Report name" ;
233};
234
235String RID_STR_UNDO_REMOVE_GROUP
236{
237    Text [ en-US ] = "Delete Group" ;
238};
239
240String RID_STR_UNDO_APPEND_GROUP
241{
242    Text [ en-US ] = "Add Group" ;
243};
244
245String RID_STR_UNDO_REMOVE_SELECTION
246{
247    Text [ en-US ] = "Delete Selection" ;
248};
249String RID_STR_UNDO_REMOVE_FUNCTION
250{
251    Text [ en-US ] = "Delete Function" ;
252};
253
254String RID_STR_UNDO_CHANGE_SIZE
255{
256    Text [ en-US ] = "Change Size" ;
257};
258
259String RID_STR_UNDO_PASTE
260{
261    Text [ en-US ] = "Paste" ;
262};
263
264String RID_STR_UNDO_INSERT_CONTROL
265{
266    Text [ en-US ] = "Insert Control" ;
267};
268
269String RID_STR_UNDO_DELETE_CONTROL
270{
271    Text [ en-US ] = "Delete Control" ;
272};
273
274String RID_STR_UNDO_GROUP
275{
276    Text [ en-US ] = "Insert Group" ;
277};
278
279String RID_STR_UNDO_UNGROUP
280{
281    Text [ en-US ] = "Delete Group" ;
282};
283
284String RID_STR_GROUPHEADER
285{
286    Text [ en-US ] = "GroupHeader";
287    Text [ x-comment ] = "Please try to avoid spaces in the name. It is used as a programatic one.";
288};
289String RID_STR_GROUPFOOTER
290{
291    Text [ en-US ] = "GroupFooter";
292    Text [ x-comment ] = "Please try to avoid spaces in the name. It is used as a programatic one.";
293};
294Menu RID_MENU_REPORT
295{
296    ItemList =
297    {
298        MenuItem
299        {
300            Identifier = SID_SORTINGANDGROUPING;
301            Command = ".uno:DbSortingAndGrouping";
302            Text [ en-US ] = "Sorting and Grouping...";
303        };
304        MenuItem
305        {
306            Separator = TRUE;
307        };
308        MenuItem
309        {
310            Identifier = SID_ATTR_CHAR_COLOR_BACKGROUND;
311            Command = ".uno:DBBackgroundColor";
312            Text [ en-US ] = "Background Color...";
313        };
314        MenuItem
315        {
316            Identifier = SID_RULER;
317            Command = ".uno:ShowRuler";
318            Checkable = TRUE;
319            Text [ en-US ] = "Ruler...";
320        };
321        MenuItem
322        {
323            Identifier = SID_GRID_VISIBLE;
324            Command = ".uno:GridVisible";
325            Checkable = TRUE;
326            Text [ en-US ] = "Grid...";
327        };
328        MenuItem
329        {
330            Separator = TRUE;
331        };
332        MenuItem
333        {
334            Identifier = SID_PAGEHEADERFOOTER;
335            Command = ".uno:PageHeaderFooter";
336            Checkable = TRUE;
337        };
338        MenuItem
339        {
340            Identifier = SID_REPORTHEADERFOOTER;
341            Command = ".uno:ReportHeaderFooter";
342            Checkable = TRUE;
343        };
344        MenuItem
345        {
346            Separator = TRUE;
347        };
348        MenuItem
349        {
350            Identifier = SID_ARRANGEMENU ;
351            Command = ".uno:ArrangeMenu" ;
352            Text [ en-US ] = "~Arrange" ;
353            SubMenu = Menu
354            {
355                ItemList =
356                {
357                    MenuItem
358                    {
359                        ITEM_FORMAT_FRAME_TO_TOP
360                    };
361                    MenuItem
362                    {
363                        Identifier = SID_FRAME_UP ;
364                        HelpId = ".uno:ObjectForwardOne";
365                        Text [ en-US ] = "Bring ~Forward" ;
366                    };
367                    MenuItem
368                    {
369                        Identifier = SID_FRAME_DOWN ;
370                        HelpId = ".uno:ObjectBackOne";
371                        Text [ en-US ] = "Send Back~ward" ;
372                    };
373                    MenuItem
374                    {
375                        ITEM_FORMAT_FRAME_TO_BOTTOM
376                    };
377                    MenuItem
378                    {
379                        Separator = TRUE;
380                    };
381                    MenuItem
382                    {
383                        ITEM_FORMAT_OBJECT_HEAVEN
384                    };
385                    MenuItem
386                    {
387                        ITEM_FORMAT_OBJECT_HELL
388                    };
389                };
390            };
391        };
392        MenuItem
393        {
394            ITEM_FORMAT_OBJECT_ALIGN
395            SubMenu = Menu
396            {
397                ItemList =
398                {
399                    MenuItem
400                    {
401                        ITEM_FORMAT_OBJECT_ALIGN_LEFT
402                    };
403                    MenuItem
404                    {
405                        ITEM_FORMAT_OBJECT_ALIGN_CENTER
406                    };
407                    MenuItem
408                    {
409                        ITEM_FORMAT_OBJECT_ALIGN_RIGHT
410                    };
411                    MenuItem
412                    {
413                        Separator = TRUE;
414                    };
415                    MenuItem
416                    {
417                        ITEM_FORMAT_OBJECT_ALIGN_UP
418                    };
419                    MenuItem
420                    {
421                        ITEM_FORMAT_OBJECT_ALIGN_MIDDLE
422                    };
423                    MenuItem
424                    {
425                        ITEM_FORMAT_OBJECT_ALIGN_DOWN
426                    };
427                };
428            };
429        };
430        MenuItem
431        {
432            Separator = TRUE;
433        };
434
435        MenuItem
436        {
437            Identifier = SID_OBJECT_RESIZING ;
438            Command = ".uno:ObjectResize" ;
439            Text [ en-US ] = "~Object Resizing" ;
440            Text [ x-comment ] = " ";
441            SubMenu = Menu
442            {
443                ItemList =
444                {
445                    MenuItem
446                    {
447                        Identifier = SID_OBJECT_SMALLESTWIDTH ;
448                        Command = ".uno:SmallestWidth" ;
449                        Text [ en-US ] = "~Fit to smallest width" ;
450                        Text [ x-comment ] = " ";
451                    };
452                    MenuItem
453                    {
454                        Identifier = SID_OBJECT_GREATESTWIDTH ;
455                        Command = ".uno:GreatestWidth" ;
456                        Text [ en-US ] = "~Fit to greatest width" ;
457                        Text [ x-comment ] = " ";
458                    };
459                    MenuItem
460                    {
461                        Separator = TRUE;
462                    };
463                    MenuItem
464                    {
465                        Identifier = SID_OBJECT_SMALLESTHEIGHT ;
466                        Command = ".uno:SmallestHeight" ;
467                        Text [ en-US ] = "~Fit to smallest height" ;
468                        Text [ x-comment ] = " ";
469                    };
470                    MenuItem
471                    {
472                        Identifier = SID_OBJECT_GREATESTHEIGHT ;
473                        Command = ".uno:GreatestHeight" ;
474                        Text [ en-US ] = "~Fit to greatest height" ;
475                        Text [ x-comment ] = " ";
476                    };
477                };
478            };
479        };
480
481        MenuItem
482        {
483            Separator = TRUE;
484        };
485        MenuItem
486        {
487            Identifier = SID_SECTION_SHRINK_MENU ;
488            Command = ".uno:SectionShrinkMenu" ;
489            Text [ en-US ] = "Section" ;
490            Text [ x-comment ] = " ";
491            SubMenu = Menu
492            {
493                ItemList =
494                {
495                    MenuItem
496                    {
497                        Identifier = SID_SECTION_SHRINK ;
498                        Command = ".uno:SectionShrink" ;
499                        Text [ en-US ] = "Shrink" ;
500                        Text [ x-comment ] = " ";
501                    };
502                    MenuItem
503                    {
504                        Identifier = SID_SECTION_SHRINK_TOP ;
505                        Command = ".uno:SectionShrinkTop" ;
506                        Text [ en-US ] = "Shrink from top" ;
507                        Text [ x-comment ] = " ";
508                    };
509                    MenuItem
510                    {
511                        Identifier = SID_SECTION_SHRINK_BOTTOM ;
512                        Command = ".uno:SectionShrinkBottom" ;
513                        Text [ en-US ] = "Shrink from bottom" ;
514                        Text [ x-comment ] = " ";
515                    };
516                };
517            };
518        };
519        MenuItem
520        {
521            Separator = TRUE;
522        };
523        MenuItem
524        {
525            Identifier = SID_DISTRIBUTION;
526            Command = ".uno:Distribution";
527            Text [ en-US ] = "Distribution..." ;
528        };
529        MenuItem
530        {
531            Separator = TRUE;
532        };
533        MenuItem
534        {
535            Identifier = SID_SHOW_PROPERTYBROWSER;
536            Command = ".uno:FormProperties";
537            Text [ en-US ] = "Properties...";
538        };
539        MenuItem
540        {
541            Separator = TRUE;
542        };
543        MenuItem
544        {
545            ITEM_EDIT_CUT
546        };
547        MenuItem
548        {
549            ITEM_EDIT_COPY
550        };
551        MenuItem
552        {
553            ITEM_EDIT_PASTE
554        };
555    };
556};
557String RID_STR_FIELDSELECTION
558{
559    Text [ en-US ] = "Add field:";
560};
561
562String RID_STR_FILTER
563{
564    Text [ en-US ] = "Filter" ;
565};
566
567String RID_APP_TITLE
568{
569    Text [ en-US ] = " - %PRODUCTNAME Base Report" ;
570};
571
572String RID_APP_NEW_DOC
573{
574    Text [ en-US ] = "Untitled" ;
575};
576String RID_STR_UNDO_ALIGNMENT
577{
578    Text [ en-US ] = "Change Alignment" ;
579};
580String RID_STR_HEADER
581{
582    Text [ en-US ] = "# Header" ;
583    Text[ x-comment ] = "# will be replaced with a name.";
584};
585String RID_STR_FOOTER
586{
587    Text [ en-US ] = "# Footer" ;
588    Text[ x-comment ] = "# will be replaced with a name.";
589};
590String RID_STR_IMPORT_GRAPHIC
591{
592    Text [ en-US ] = "Insert graphics" ;
593};
594String RID_STR_DELETE
595{
596    Text [ en-US ] = "Delete" ;
597};
598String RID_STR_FUNCTION
599{
600    Text [ en-US ] = "Function" ;
601};
602Image REPORT_TREE_ICON
603{
604    ImageBitmap = Bitmap { File = "report_16"; };
605    MaskColor = Color { Red = 0xFF00; Green = 0x0000; Blue = 0xFF00; };
606};
607String RID_STR_COULD_NOT_CREATE_REPORT
608{
609    Text [ en-US ] = "An error occurred while creating the report." ;
610};
611String RID_STR_CAUGHT_FOREIGN_EXCEPTION
612{
613    Text [ en-US ] = "An exception of type $type$ was caught." ;
614};
615String RID_STR_UNDO_CHANGEFONT
616{
617    Text [ en-US ] = "Change font";
618};
619String RID_STR_UNDO_CHANGEPAGE
620{
621    Text [ en-US ] = "Change page attributes";
622};
623String RID_STR_PAGEHEADERFOOTER_INSERT
624{
625    Text [ en-US ] = "Insert Page Header/Footer";
626};
627String RID_STR_PAGEHEADERFOOTER_DELETE
628{
629    Text [ en-US ] = "Delete Page Header/Footer";
630};
631String RID_STR_COLUMNHEADERFOOTER_INSERT
632{
633    Text [ en-US ] = "Insert Column Header/Footer";
634};
635String RID_STR_COLUMNHEADERFOOTER_DELETE
636{
637    Text [ en-US ] = "Delete Column Header/Footer";
638};
639String RID_STR_REPORTHEADERFOOTER_INSERT
640{
641    Text [ en-US ] = "Insert Report Header/Footer";
642};
643String RID_STR_REPORTHEADERFOOTER_DELETE
644{
645    Text [ en-US ] = "Delete Report Header/Footer";
646};
647String RID_ERR_NO_COMMAND
648{
649    Text [ en-US ] = "The report can not be executed unless it is bound to content.";
650};
651String RID_ERR_NO_OBJECTS
652{
653    Text [ en-US ] = "The report can not be executed unless at least one object has been inserted.";
654};
655String RID_STR_UNDO_SHRINK
656{
657    Text [ en-US ] = "Shrink Section";
658};
659String RID_STR_DETAIL
660{
661    Text [ en-US ] = "Detail";
662};
663String RID_STR_PAGE_HEADER
664{
665    Text [ en-US ] = "Page Header";
666};
667String RID_STR_PAGE_FOOTER
668{
669    Text [ en-US ] = "Page Footer";
670};
671String RID_STR_REPORT_HEADER
672{
673    Text [ en-US ] = "Report Header";
674};
675String RID_STR_REPORT_FOOTER
676{
677    Text [ en-US ] = "Report Footer";
678};
679String RID_STR_INSERT
680{
681    Text [ en-US ] = "Insert";
682};
683