summaryrefslogtreecommitdiff
path: root/reportdesign/source/ui/dlg/Navigator.src
blob: 2a84f47e36fc9553299de461f72ab2bd1d90a64e (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
/*
 * 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 "RptResId.hrc"
#include "helpids.hrc"
#include "rptui_slotid.hrc"
#include <svx/globlmn.hrc>
#include <svx/svxids.hrc>
#include <svl/solar.hrc>

#define RID_SVXIMG_COLLAPSEDNODE                    (RID_FORMS_START + 2)
#define RID_SVXIMG_EXPANDEDNODE                     (RID_FORMS_START + 3)
#define RID_SVXIMG_FORMS                            (RID_FORMS_START +13)

FloatingWindow RID_NAVIGATOR
{
    OutputSize = TRUE ;
    SVLook = TRUE ;
    Size = MAP_APPFONT ( 200 , 250 ) ;
    Text [ en-US ] = "Report navigator" ;
    HelpId = HID_RPT_NAVIGATOR_DLG;
    Moveable = TRUE ;
    Closeable = TRUE ;
    Sizeable = TRUE;

    Control 1
    {
        Pos = MAP_APPFONT( 0, 0 );
        Size = MAP_APPFONT( 200, 250 );
        Border = TRUE;
        TabStop = TRUE;
    };
};
#define NAVIGATOR_IMAGEIDS \
    IdList = \
    { \
        SID_SELECT_REPORT;\
        SID_FM_FIXEDTEXT ; \
        SID_INSERT_HFIXEDLINE ; \
        SID_INSERT_VFIXEDLINE;\
        SID_FM_IMAGECONTROL ; \
        SID_FM_EDIT ; \
        SID_RPT_NEW_FUNCTION;\
        SID_REPORTHEADERFOOTER;\
        SID_PAGEHEADERFOOTER;\
        SID_GROUPHEADER;\
        SID_GROUPFOOTER;\
        RID_SVXIMG_COLLAPSEDNODE ; \
        RID_SVXIMG_EXPANDEDNODE ; \
        SID_SORTINGANDGROUPING;\
        SID_DRAWTBX_CS_BASIC;\
        SID_GROUP;\
        SID_ICON_DETAIL;\
    }; \
    IdCount = 17

ImageList RID_SVXIMGLIST_RPTEXPL
{
    Prefix = "sx";
    MaskColor = Color { Red = 0xff00 ; Green = 0x0000 ; Blue = 0xff00 ; };
    NAVIGATOR_IMAGEIDS;
};

String RID_STR_FUNCTIONS
{
    Text [ en-US ] = "Functions" ;
};
String RID_STR_GROUPS
{
    Text [ en-US ] = "Groups" ;
};
Menu RID_MENU_NAVIGATOR
{
    ItemList =
    {
        MenuItem
        {
            Identifier = SID_SORTINGANDGROUPING;
            Command = ".uno:DbSortingAndGrouping";
            Text [ en-US ] = "Sorting and Grouping...";
        };
        MenuItem
        {
            Separator = TRUE;
        };
        MenuItem
        {
            Identifier = SID_PAGEHEADERFOOTER;
            Command = ".uno:PageHeaderFooter";
            Checkable = TRUE;
            Text [ en-US ] = "Page Header/Footer...";
        };
        MenuItem
        {
            Identifier = SID_REPORTHEADERFOOTER;
            Command = ".uno:ReportHeaderFooter";
            Checkable = TRUE;
            Text [ en-US ] = "Report Header/Footer...";
        };
        MenuItem
        {
            Separator = TRUE;
        };
        MenuItem
        {
            Identifier = SID_RPT_NEW_FUNCTION;
            Command = ".uno:NewFunction";
            Text [ en-US ] = "New Function";
        };
        MenuItem
        {
            Separator = TRUE;
        };
        MenuItem
        {
            Identifier = SID_SHOW_PROPERTYBROWSER;
            Command = ".uno:FormProperties";
            Text [ en-US ] = "Properties...";
        };
        MenuItem
        {
            Separator = TRUE;
        };
        MenuItem
        {
            ITEM_EDIT_DELETE
        };
    };
};