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