xref: /trunk/main/reportdesign/source/ui/dlg/Navigator.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#include "RptResId.hrc"
28#include "helpids.hrc"
29#include "rptui_slotid.hrc"
30#ifndef _GLOBLMN_HRC
31#include <svx/globlmn.hrc>
32#endif
33#ifndef _SBASLTID_HRC
34#include <svx/svxids.hrc>
35#endif
36#include <svl/solar.hrc>
37
38#define RID_SVXIMG_COLLAPSEDNODE                    (RID_FORMS_START + 2)
39#define RID_SVXIMG_EXPANDEDNODE                     (RID_FORMS_START + 3)
40#define RID_SVXIMG_FORMS                            (RID_FORMS_START +13)
41
42FloatingWindow RID_NAVIGATOR
43{
44    OutputSize = TRUE ;
45    SVLook = TRUE ;
46    Size = MAP_APPFONT ( 200 , 250 ) ;
47    Text [ en-US ] = "Report navigator" ;
48    HelpId = HID_RPT_NAVIGATOR_DLG;
49    Moveable = TRUE ;
50    Closeable = TRUE ;
51    Sizeable = TRUE;
52
53    Control 1
54    {
55        Pos = MAP_APPFONT( 0, 0 );
56        Size = MAP_APPFONT( 200, 250 );
57        Border = TRUE;
58        TabStop = TRUE;
59    };
60};
61#define NAVIGATOR_IMAGEIDS \
62    IdList = \
63    { \
64        SID_SELECT_REPORT;\
65        SID_FM_FIXEDTEXT ; \
66        SID_INSERT_HFIXEDLINE ; \
67        SID_INSERT_VFIXEDLINE;\
68        SID_FM_IMAGECONTROL ; \
69        SID_FM_EDIT ; \
70        SID_RPT_NEW_FUNCTION;\
71        SID_REPORTHEADERFOOTER;\
72        SID_PAGEHEADERFOOTER;\
73        SID_GROUPHEADER;\
74        SID_GROUPFOOTER;\
75        RID_SVXIMG_COLLAPSEDNODE ; \
76        RID_SVXIMG_EXPANDEDNODE ; \
77        SID_SORTINGANDGROUPING;\
78        SID_DRAWTBX_CS_BASIC;\
79        SID_GROUP;\
80        SID_ICON_DETAIL;\
81    }; \
82    IdCount = 17
83
84ImageList RID_SVXIMGLIST_RPTEXPL
85{
86    Prefix = "sx";
87    MaskColor = Color { Red = 0xff00 ; Green = 0x0000 ; Blue = 0xff00 ; };
88    NAVIGATOR_IMAGEIDS;
89};
90
91ImageList RID_SVXIMGLIST_RPTEXPL_HC
92{
93    Prefix = "sxh";
94    MaskColor = Color { Red = 0xff00 ; Green = 0x0000 ; Blue = 0xff00 ; };
95    NAVIGATOR_IMAGEIDS;
96};
97
98String RID_STR_FUNCTIONS
99{
100    Text [ en-US ] = "Functions" ;
101};
102String RID_STR_GROUPS
103{
104    Text [ en-US ] = "Groups" ;
105};
106Menu RID_MENU_NAVIGATOR
107{
108    ItemList =
109    {
110        MenuItem
111        {
112            Identifier = SID_SORTINGANDGROUPING;
113            Command = ".uno:DbSortingAndGrouping";
114            Text [ en-US ] = "Sorting and Grouping...";
115        };
116        MenuItem
117        {
118            Separator = TRUE;
119        };
120        MenuItem
121        {
122            Identifier = SID_PAGEHEADERFOOTER;
123            Command = ".uno:PageHeaderFooter";
124            Checkable = TRUE;
125            Text [ en-US ] = "Page Header/Footer...";
126        };
127        MenuItem
128        {
129            Identifier = SID_REPORTHEADERFOOTER;
130            Command = ".uno:ReportHeaderFooter";
131            Checkable = TRUE;
132            Text [ en-US ] = "Report Header/Footer...";
133        };
134        MenuItem
135        {
136            Separator = TRUE;
137        };
138        MenuItem
139        {
140            Identifier = SID_RPT_NEW_FUNCTION;
141            Command = ".uno:NewFunction";
142            Text [ en-US ] = "New Function";
143        };
144        MenuItem
145        {
146            Separator = TRUE;
147        };
148        MenuItem
149        {
150            Identifier = SID_SHOW_PROPERTYBROWSER;
151            Command = ".uno:FormProperties";
152            Text [ en-US ] = "Properties...";
153        };
154        MenuItem
155        {
156            Separator = TRUE;
157        };
158        MenuItem
159        {
160            ITEM_EDIT_DELETE
161        };
162/*
163        MenuItem
164        {
165            Separator = TRUE;
166        };
167        MenuItem
168        {
169            ITEM_EDIT_CUT
170        };
171        MenuItem
172        {
173            ITEM_EDIT_COPY
174        };
175        MenuItem
176        {
177            ITEM_EDIT_PASTE
178        };
179*/
180    };
181};
182
183