xref: /AOO41X/main/reportdesign/source/ui/dlg/Navigator.src (revision dc9009912e13d9f4f499ebbfede8dd140d0c240f)
1*dc900991SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*dc900991SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*dc900991SAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*dc900991SAndrew Rist * distributed with this work for additional information
6*dc900991SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*dc900991SAndrew Rist * to you under the Apache License, Version 2.0 (the
8*dc900991SAndrew Rist * "License"); you may not use this file except in compliance
9*dc900991SAndrew Rist * with the License.  You may obtain a copy of the License at
10cdf0e10cSrcweir *
11*dc900991SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir *
13*dc900991SAndrew Rist * Unless required by applicable law or agreed to in writing,
14*dc900991SAndrew Rist * software distributed under the License is distributed on an
15*dc900991SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*dc900991SAndrew Rist * KIND, either express or implied.  See the License for the
17*dc900991SAndrew Rist * specific language governing permissions and limitations
18*dc900991SAndrew Rist * under the License.
19cdf0e10cSrcweir *
20*dc900991SAndrew Rist *************************************************************/
21*dc900991SAndrew Rist
22*dc900991SAndrew Rist
23cdf0e10cSrcweir#include "RptResId.hrc"
24cdf0e10cSrcweir#include "helpids.hrc"
25cdf0e10cSrcweir#include "rptui_slotid.hrc"
26cdf0e10cSrcweir#ifndef _GLOBLMN_HRC
27cdf0e10cSrcweir#include <svx/globlmn.hrc>
28cdf0e10cSrcweir#endif
29cdf0e10cSrcweir#ifndef _SBASLTID_HRC
30cdf0e10cSrcweir#include <svx/svxids.hrc>
31cdf0e10cSrcweir#endif
32cdf0e10cSrcweir#include <svl/solar.hrc>
33cdf0e10cSrcweir
34cdf0e10cSrcweir#define RID_SVXIMG_COLLAPSEDNODE                    (RID_FORMS_START + 2)
35cdf0e10cSrcweir#define RID_SVXIMG_EXPANDEDNODE                     (RID_FORMS_START + 3)
36cdf0e10cSrcweir#define RID_SVXIMG_FORMS                            (RID_FORMS_START +13)
37cdf0e10cSrcweir
38cdf0e10cSrcweirFloatingWindow RID_NAVIGATOR
39cdf0e10cSrcweir{
40cdf0e10cSrcweir    OutputSize = TRUE ;
41cdf0e10cSrcweir    SVLook = TRUE ;
42cdf0e10cSrcweir    Size = MAP_APPFONT ( 200 , 250 ) ;
43cdf0e10cSrcweir    Text [ en-US ] = "Report navigator" ;
44cdf0e10cSrcweir    HelpId = HID_RPT_NAVIGATOR_DLG;
45cdf0e10cSrcweir    Moveable = TRUE ;
46cdf0e10cSrcweir    Closeable = TRUE ;
47cdf0e10cSrcweir    Sizeable = TRUE;
48cdf0e10cSrcweir
49cdf0e10cSrcweir    Control 1
50cdf0e10cSrcweir    {
51cdf0e10cSrcweir        Pos = MAP_APPFONT( 0, 0 );
52cdf0e10cSrcweir        Size = MAP_APPFONT( 200, 250 );
53cdf0e10cSrcweir        Border = TRUE;
54cdf0e10cSrcweir        TabStop = TRUE;
55cdf0e10cSrcweir    };
56cdf0e10cSrcweir};
57cdf0e10cSrcweir#define NAVIGATOR_IMAGEIDS \
58cdf0e10cSrcweir    IdList = \
59cdf0e10cSrcweir    { \
60cdf0e10cSrcweir        SID_SELECT_REPORT;\
61cdf0e10cSrcweir        SID_FM_FIXEDTEXT ; \
62cdf0e10cSrcweir        SID_INSERT_HFIXEDLINE ; \
63cdf0e10cSrcweir        SID_INSERT_VFIXEDLINE;\
64cdf0e10cSrcweir        SID_FM_IMAGECONTROL ; \
65cdf0e10cSrcweir        SID_FM_EDIT ; \
66cdf0e10cSrcweir        SID_RPT_NEW_FUNCTION;\
67cdf0e10cSrcweir        SID_REPORTHEADERFOOTER;\
68cdf0e10cSrcweir        SID_PAGEHEADERFOOTER;\
69cdf0e10cSrcweir        SID_GROUPHEADER;\
70cdf0e10cSrcweir        SID_GROUPFOOTER;\
71cdf0e10cSrcweir        RID_SVXIMG_COLLAPSEDNODE ; \
72cdf0e10cSrcweir        RID_SVXIMG_EXPANDEDNODE ; \
73cdf0e10cSrcweir        SID_SORTINGANDGROUPING;\
74cdf0e10cSrcweir        SID_DRAWTBX_CS_BASIC;\
75cdf0e10cSrcweir        SID_GROUP;\
76cdf0e10cSrcweir        SID_ICON_DETAIL;\
77cdf0e10cSrcweir    }; \
78cdf0e10cSrcweir    IdCount = 17
79cdf0e10cSrcweir
80cdf0e10cSrcweirImageList RID_SVXIMGLIST_RPTEXPL
81cdf0e10cSrcweir{
82cdf0e10cSrcweir    Prefix = "sx";
83cdf0e10cSrcweir    MaskColor = Color { Red = 0xff00 ; Green = 0x0000 ; Blue = 0xff00 ; };
84cdf0e10cSrcweir    NAVIGATOR_IMAGEIDS;
85cdf0e10cSrcweir};
86cdf0e10cSrcweir
87cdf0e10cSrcweirImageList RID_SVXIMGLIST_RPTEXPL_HC
88cdf0e10cSrcweir{
89cdf0e10cSrcweir    Prefix = "sxh";
90cdf0e10cSrcweir    MaskColor = Color { Red = 0xff00 ; Green = 0x0000 ; Blue = 0xff00 ; };
91cdf0e10cSrcweir    NAVIGATOR_IMAGEIDS;
92cdf0e10cSrcweir};
93cdf0e10cSrcweir
94cdf0e10cSrcweirString RID_STR_FUNCTIONS
95cdf0e10cSrcweir{
96cdf0e10cSrcweir    Text [ en-US ] = "Functions" ;
97cdf0e10cSrcweir};
98cdf0e10cSrcweirString RID_STR_GROUPS
99cdf0e10cSrcweir{
100cdf0e10cSrcweir    Text [ en-US ] = "Groups" ;
101cdf0e10cSrcweir};
102cdf0e10cSrcweirMenu RID_MENU_NAVIGATOR
103cdf0e10cSrcweir{
104cdf0e10cSrcweir    ItemList =
105cdf0e10cSrcweir    {
106cdf0e10cSrcweir        MenuItem
107cdf0e10cSrcweir        {
108cdf0e10cSrcweir            Identifier = SID_SORTINGANDGROUPING;
109cdf0e10cSrcweir            Command = ".uno:DbSortingAndGrouping";
110cdf0e10cSrcweir            Text [ en-US ] = "Sorting and Grouping...";
111cdf0e10cSrcweir        };
112cdf0e10cSrcweir        MenuItem
113cdf0e10cSrcweir        {
114cdf0e10cSrcweir            Separator = TRUE;
115cdf0e10cSrcweir        };
116cdf0e10cSrcweir        MenuItem
117cdf0e10cSrcweir        {
118cdf0e10cSrcweir            Identifier = SID_PAGEHEADERFOOTER;
119cdf0e10cSrcweir            Command = ".uno:PageHeaderFooter";
120cdf0e10cSrcweir            Checkable = TRUE;
121cdf0e10cSrcweir            Text [ en-US ] = "Page Header/Footer...";
122cdf0e10cSrcweir        };
123cdf0e10cSrcweir        MenuItem
124cdf0e10cSrcweir        {
125cdf0e10cSrcweir            Identifier = SID_REPORTHEADERFOOTER;
126cdf0e10cSrcweir            Command = ".uno:ReportHeaderFooter";
127cdf0e10cSrcweir            Checkable = TRUE;
128cdf0e10cSrcweir            Text [ en-US ] = "Report Header/Footer...";
129cdf0e10cSrcweir        };
130cdf0e10cSrcweir        MenuItem
131cdf0e10cSrcweir        {
132cdf0e10cSrcweir            Separator = TRUE;
133cdf0e10cSrcweir        };
134cdf0e10cSrcweir        MenuItem
135cdf0e10cSrcweir        {
136cdf0e10cSrcweir            Identifier = SID_RPT_NEW_FUNCTION;
137cdf0e10cSrcweir            Command = ".uno:NewFunction";
138cdf0e10cSrcweir            Text [ en-US ] = "New Function";
139cdf0e10cSrcweir        };
140cdf0e10cSrcweir        MenuItem
141cdf0e10cSrcweir        {
142cdf0e10cSrcweir            Separator = TRUE;
143cdf0e10cSrcweir        };
144cdf0e10cSrcweir        MenuItem
145cdf0e10cSrcweir        {
146cdf0e10cSrcweir            Identifier = SID_SHOW_PROPERTYBROWSER;
147cdf0e10cSrcweir            Command = ".uno:FormProperties";
148cdf0e10cSrcweir            Text [ en-US ] = "Properties...";
149cdf0e10cSrcweir        };
150cdf0e10cSrcweir        MenuItem
151cdf0e10cSrcweir        {
152cdf0e10cSrcweir            Separator = TRUE;
153cdf0e10cSrcweir        };
154cdf0e10cSrcweir        MenuItem
155cdf0e10cSrcweir        {
156cdf0e10cSrcweir            ITEM_EDIT_DELETE
157cdf0e10cSrcweir        };
158cdf0e10cSrcweir/*
159cdf0e10cSrcweir        MenuItem
160cdf0e10cSrcweir        {
161cdf0e10cSrcweir            Separator = TRUE;
162cdf0e10cSrcweir        };
163cdf0e10cSrcweir        MenuItem
164cdf0e10cSrcweir        {
165cdf0e10cSrcweir            ITEM_EDIT_CUT
166cdf0e10cSrcweir        };
167cdf0e10cSrcweir        MenuItem
168cdf0e10cSrcweir        {
169cdf0e10cSrcweir            ITEM_EDIT_COPY
170cdf0e10cSrcweir        };
171cdf0e10cSrcweir        MenuItem
172cdf0e10cSrcweir        {
173cdf0e10cSrcweir            ITEM_EDIT_PASTE
174cdf0e10cSrcweir        };
175cdf0e10cSrcweir*/
176cdf0e10cSrcweir    };
177cdf0e10cSrcweir};
178cdf0e10cSrcweir
179