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