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