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 "sfx2/sfx.hrc" 24#include "cfgids.hxx" 25 26// ----------- 27// - Defines - 28// ----------- 29 30#define IMAGE_MASK_STDCOLOR Color{ Red = 0xff00; Green = 0x0000; Blue = 0xff00; } 31#define IMAGE_MASK_STDCOLOR_HC IMAGE_MASK_STDCOLOR 32#define IMAGE_STDBTN_COLOR_HC COL_LIGHTMAGENTA 33 34#define RID_ALIGNMENT RID_APP_START+1 35#define RID_ZOOM RID_APP_START+2 36#define RID_CONTROLS RID_APP_START+3 37#define RID_IMPRESS_DOCWINDOWICON RID_APP_START+4 38 39#define RID_ALIGNMENT_TBX RID_APP_START+5 40#define RID_ZOOM_TBX RID_APP_START+6 41#define RID_CHOOSE_MODE RID_APP_START+7 42#define RID_CHOOSE_MODE_TBX RID_APP_START+8 43 44#define RID_TEXT RID_APP_START+10 45#define RID_TEXT_TBX RID_APP_START+11 46#define RID_RECTANGLES RID_APP_START+12 47#define RID_RECTANGLES_TBX RID_APP_START+13 48#define RID_ELLIPSES RID_APP_START+14 49#define RID_ELLIPSES_TBX RID_APP_START+15 50#define RID_LINES RID_APP_START+16 51#define RID_LINES_TBX RID_APP_START+17 52#define RID_3D_OBJECTS RID_APP_START+18 53#define RID_3D_OBJECTS_TBX RID_APP_START+19 54#define RID_INSERT RID_APP_START+20 55#define RID_INSERT_TBX RID_APP_START+21 56#define RID_POSITION RID_APP_START+22 57#define RID_POSITION_TBX RID_APP_START+23 58#define RID_CONNECTORS RID_APP_START+24 59#define RID_CONNECTORS_TBX RID_APP_START+25 60#define RID_ARROWS RID_APP_START+26 61#define RID_ARROWS_TBX RID_APP_START+27 62#define RID_DRAW_DOCWINDOWICON RID_APP_START+28 63#define RID_GRAFFILTERS RID_APP_START+29 64#define RID_GRAFFILTERS_TBX RID_APP_START+30 65 66// Bitmaps fuer Tree-ListBox im Effekte-TabDialog 67#define BMP_PAGE RID_APP_START+42 68#define BMP_PAGEOBJS RID_APP_START+43 69#define BMP_OBJECTS RID_APP_START+44 70#define BMP_DOC_OPEN RID_APP_START+45 71#define BMP_DOC_CLOSED RID_APP_START+46 72#define BMP_DOC_TEXT RID_APP_START+47 73#define BMP_OLE RID_APP_START+48 74#define BMP_PAGE_EXCLUDED RID_APP_START+49 75#define BMP_PAGEOBJS_EXCLUDED RID_APP_START+50 76#define BMP_EXPAND RID_APP_START+51 77#define BMP_COLLAPSE RID_APP_START+52 78#define BMP_GRAPHIC RID_APP_START+53 79 80// Bimaps fuer ValueSet im EffekteWindow 81#define BMP_EFFECT_NONE RID_APP_START+105 82#define BMP_TEXTEFFECT_DISCARD_FROM_T RID_APP_START+106 83#define BMP_TEXTEFFECT_FADE_FROM_CENTER RID_APP_START+107 84#define BMP_EFFECT_HIDE RID_APP_START+108 85#define BMP_EFFECT_APPEAR RID_APP_START+109 86 87// ----------------------------------------------------------------------------- 88 89#define BMP_FOIL_NONE RID_APP_START+120 90#define BMP_GROUP RID_APP_START+121 91#define BMP_WAIT_ICON RID_APP_START+124 92 93// ----------------------------------------------------------------------------- 94// additional effects 95#define BMP_EFFECT_DISCARD_FROM_UL RID_APP_START+130 96#define BMP_EFFECT_DISCARD_FROM_UR RID_APP_START+131 97#define BMP_EFFECT_DISCARD_FROM_LR RID_APP_START+132 98#define BMP_EFFECT_DISCARD_FROM_LL RID_APP_START+133 99#define BMP_EFFECT_DISCARD_S_FROM_L RID_APP_START+134 100#define BMP_EFFECT_DISCARD_S_FROM_UL RID_APP_START+135 101#define BMP_EFFECT_DISCARD_S_FROM_T RID_APP_START+136 102#define BMP_EFFECT_DISCARD_S_FROM_UR RID_APP_START+137 103#define BMP_EFFECT_DISCARD_S_FROM_R RID_APP_START+138 104#define BMP_EFFECT_DISCARD_S_FROM_LR RID_APP_START+139 105#define BMP_EFFECT_DISCARD_S_FROM_B RID_APP_START+140 106#define BMP_EFFECT_DISCARD_S_FROM_LL RID_APP_START+141 107#define BMP_EFFECT_VERTICAL_CHECKERBOARD RID_APP_START+142 108#define BMP_EFFECT_HORIZONTAL_CHECKERBOARD RID_APP_START+143 109#define BMP_EFFECT_STRTCH_FROM_L RID_APP_START+144 110#define BMP_EFFECT_STRTCH_FROM_UL RID_APP_START+145 111#define BMP_EFFECT_STRTCH_FROM_T RID_APP_START+146 112#define BMP_EFFECT_STRTCH_FROM_UR RID_APP_START+147 113#define BMP_EFFECT_STRTCH_FROM_R RID_APP_START+148 114#define BMP_EFFECT_STRTCH_FROM_LR RID_APP_START+149 115#define BMP_EFFECT_STRTCH_FROM_B RID_APP_START+150 116#define BMP_EFFECT_STRTCH_FROM_LL RID_APP_START+151 117 118#define BMP_EFFECT_STRTCH_HORIZONTAL RID_APP_START+152 119#define BMP_EFFECT_STRTCH_VERTICAL RID_APP_START+153 120#define BMP_EFFECT_ROTATE_HORIZONTAL RID_APP_START+154 121#define BMP_EFFECT_ROTATE_VERTICAL RID_APP_START+155 122 123#define BMP_FOIL_21 RID_APP_START+156 124#define BMP_FOIL_22 RID_APP_START+157 125#define BMP_FOIL_23 RID_APP_START+158 126#define BMP_FOIL_24 RID_APP_START+159 127 128#define BMP_EFFECT_UNCOVER_TO_L RID_APP_START+165 129#define BMP_EFFECT_UNCOVER_TO_UL RID_APP_START+166 130#define BMP_EFFECT_UNCOVER_TO_T RID_APP_START+167 131#define BMP_EFFECT_UNCOVER_TO_UR RID_APP_START+168 132#define BMP_EFFECT_UNCOVER_TO_R RID_APP_START+169 133#define BMP_EFFECT_UNCOVER_TO_LR RID_APP_START+170 134#define BMP_EFFECT_UNCOVER_TO_B RID_APP_START+171 135#define BMP_EFFECT_UNCOVER_TO_LL RID_APP_START+172 136 137#define BMP_PAGE_H RID_SD_START+213 138#define BMP_PAGEOBJS_H RID_SD_START+214 139#define BMP_OBJECTS_H RID_SD_START+215 140#define BMP_DOC_OPEN_H RID_SD_START+216 141#define BMP_DOC_CLOSED_H RID_SD_START+217 142#define BMP_DOC_TEXT_H RID_SD_START+218 143#define BMP_OLE_H RID_SD_START+219 144#define BMP_PAGE_EXCLUDED_H RID_SD_START+220 145#define BMP_PAGEOBJS_EXCLUDED_H RID_SD_START+221 146#define BMP_EXPAND_H RID_SD_START+222 147#define BMP_COLLAPSE_H RID_SD_START+223 148#define BMP_GRAPHIC_H RID_SD_START+224 149 150#define BMP_FOIL_NONE_H RID_SD_START+225 151#define BMP_GROUP_H RID_SD_START+226 152#define BMP_WAIT_ICON_H RID_SD_START+229 153 154#define BMP_FADE_EFFECT_INDICATOR RID_SD_START+331 155#define BMP_FADE_EFFECT_INDICATOR_H RID_SD_START+332 156 157#define BMP_COMMENTS_INDICATOR RID_SD_START+338 158#define BMP_COMMENTS_INDICATOR_H RID_SD_START+339 159 160#define BMP_LAYOUT_EMPTY RID_SD_START+340 161#define BMP_LAYOUT_EMPTY_H RID_SD_START+341 162#define BMP_LAYOUT_HEAD01 RID_SD_START+342 163#define BMP_LAYOUT_HEAD01_H RID_SD_START+343 164#define BMP_LAYOUT_HEAD02 RID_SD_START+344 165#define BMP_LAYOUT_HEAD02_H RID_SD_START+345 166#define BMP_LAYOUT_HEAD02A RID_SD_START+346 167#define BMP_LAYOUT_HEAD02A_H RID_SD_START+347 168#define BMP_LAYOUT_HEAD02B RID_SD_START+348 169#define BMP_LAYOUT_HEAD02B_H RID_SD_START+349 170#define BMP_LAYOUT_HEAD03 RID_SD_START+350 171#define BMP_LAYOUT_HEAD03_H RID_SD_START+351 172#define BMP_LAYOUT_HEAD03A RID_SD_START+352 173#define BMP_LAYOUT_HEAD03A_H RID_SD_START+353 174#define BMP_LAYOUT_HEAD03B RID_SD_START+354 175#define BMP_LAYOUT_HEAD03B_H RID_SD_START+355 176#define BMP_LAYOUT_HEAD03C RID_SD_START+356 177#define BMP_LAYOUT_HEAD03C_H RID_SD_START+357 178#define BMP_LAYOUT_HEAD04 RID_SD_START+358 179#define BMP_LAYOUT_HEAD04_H RID_SD_START+359 180#define BMP_LAYOUT_HEAD06 RID_SD_START+360 181#define BMP_LAYOUT_HEAD06_H RID_SD_START+361 182#define BMP_LAYOUT_TEXTONLY RID_SD_START+362 183#define BMP_LAYOUT_TEXTONLY_H RID_SD_START+363 184#define BMP_LAYOUT_VERTICAL01 RID_SD_START+364 185#define BMP_LAYOUT_VERTICAL01_H RID_SD_START+365 186#define BMP_LAYOUT_VERTICAL02 RID_SD_START+366 187#define BMP_LAYOUT_VERTICAL02_H RID_SD_START+367 188 189#define BMP_FOILH_01 RID_SD_START+388 190#define BMP_FOILH_01_H RID_SD_START+389 191#define BMP_FOILH_02 RID_SD_START+390 192#define BMP_FOILH_02_H RID_SD_START+391 193#define BMP_FOILH_03 RID_SD_START+392 194#define BMP_FOILH_03_H RID_SD_START+393 195#define BMP_FOILH_04 RID_SD_START+394 196#define BMP_FOILH_04_H RID_SD_START+395 197#define BMP_FOILH_06 RID_SD_START+396 198#define BMP_FOILH_06_H RID_SD_START+397 199#define BMP_FOILH_09 RID_SD_START+398 200#define BMP_FOILH_09_H RID_SD_START+399 201 202#define BMP_FOILN_01 RID_SD_START+400 203#define BMP_FOILN_01_H RID_SD_START+401 204 205#define BMP_PLACEHOLDER_SMALL_START (RID_SD_START+402) // these ids must stay in order! 206#define BMP_PLACEHOLDER_TABLE_SMALL (RID_SD_START+402) 207#define BMP_PLACEHOLDER_CHART_SMALL (RID_SD_START+403) 208#define BMP_PLACEHOLDER_IMAGE_SMALL (RID_SD_START+404) 209#define BMP_PLACEHOLDER_MOVIE_SMALL (RID_SD_START+405) 210#define BMP_PLACEHOLDER_TABLE_SMALL_HOVER (RID_SD_START+406) 211#define BMP_PLACEHOLDER_CHART_SMALL_HOVER (RID_SD_START+407) 212#define BMP_PLACEHOLDER_IMAGE_SMALL_HOVER (RID_SD_START+408) 213#define BMP_PLACEHOLDER_MOVIE_SMALL_HOVER (RID_SD_START+409) 214#define BMP_PLACEHOLDER_SMALL_END (RID_SD_START+410) 215#define BMP_PLACEHOLDER_LARGE_START (RID_SD_START+410) 216#define BMP_PLACEHOLDER_TABLE_LARGE (RID_SD_START+410) 217#define BMP_PLACEHOLDER_CHART_LARGE (RID_SD_START+411) 218#define BMP_PLACEHOLDER_IMAGE_LARGE (RID_SD_START+412) 219#define BMP_PLACEHOLDER_MOVIE_LARGE (RID_SD_START+413) 220#define BMP_PLACEHOLDER_TABLE_LARGE_HOVER (RID_SD_START+414) 221#define BMP_PLACEHOLDER_CHART_LARGE_HOVER (RID_SD_START+415) 222#define BMP_PLACEHOLDER_IMAGE_LARGE_HOVER (RID_SD_START+416) 223#define BMP_PLACEHOLDER_MOVIE_LARGE_HOVER (RID_SD_START+417) 224#define BMP_PLACEHOLDER_LARGE_END (RID_SD_START+418) // until here! 225 226// ----------------------------------------------------------------------------- 227 228#define IMG_PIPETTE_H RID_APP_START+21 229#define IMG_GET1OBJECT_H RID_APP_START+22 230#define IMG_GETALLOBJECT_H RID_APP_START+23 231#define IMG_REMOVEBMP_H RID_APP_START+24 232#define IMG_REMOVEALLBMP_H RID_APP_START+25 233 234/* 235 * ResourceIDs fuer Popup-Menues brauchen keinen Dummy-String !!! 236 */ 237 238#define RID_DRAW_TEXTOBJ_POPUP RID_APP_START+43 239#define RID_DRAW_GEOMOBJ_POPUP RID_APP_START+44 240#define RID_DRAW_NOSEL_POPUP RID_APP_START+45 241#define RID_SLIDE_SORTER_IMPRESS_SEL_POPUP RID_APP_START+46 242#define RID_BEZIER_POPUP RID_APP_START+47 243#define RID_DRAW_LINEOBJ_POPUP RID_APP_START+48 244#define RID_DRAW_MULTISELECTION_POPUP RID_APP_START+49 245#define RID_DRAW_PAGETAB_POPUP RID_APP_START+50 246#define RID_LAYERTAB_POPUP RID_APP_START+51 247#define RID_DRAW_GRAPHIC_POPUP RID_APP_START+52 248#define RID_DRAW_OLE2_POPUP RID_APP_START+53 249#define RID_DRAW_TEXTOBJ_INSIDE_POPUP RID_APP_START+54 250#define RID_SLIDE_SORTER_IMPRESS_NOSEL_POPUP RID_APP_START+55 251#define RID_OUTLINE_POPUP RID_APP_START+56 252#define RID_MASTERPAGE_POPUP RID_APP_START+57 253#define RID_DRAW_GROUPOBJ_POPUP RID_APP_START+58 254#define RID_DRAW_3DOBJ_POPUP RID_APP_START+59 255#define RID_DRAW_MEASUREOBJ_POPUP RID_APP_START+60 256#define RID_DRAW_EDGEOBJ_POPUP RID_APP_START+61 257#define RID_DRAW_BMP_CONVERT_POPUP RID_APP_START+62 258#define RID_DRAW_POLYLINEOBJ_POPUP RID_APP_START+63 259#define RID_DRAW_3DSCENE_POPUP RID_APP_START+64 260#define RID_DRAW_3DSCENE2_POPUP RID_APP_START+65 261#define RID_DRAW_CUSTOMSHAPE_POPUP RID_APP_START+66 262#define RID_TASKPANE_MASTERPAGESSELECTOR_POPUP RID_APP_START+67 263#define RID_TASKPANE_LAYOUTMENU_POPUP RID_APP_START+68 264#define RID_DRAW_MEDIA_POPUP RID_APP_START+69 265 266// Draw (Graphic) 267#define RID_GRAPHIC_TEXTOBJ_POPUP RID_APP_START+70 268#define RID_GRAPHIC_GEOMOBJ_POPUP RID_APP_START+71 269#define RID_GRAPHIC_NOSEL_POPUP RID_APP_START+72 270#define RID_GRAPHIC_LINEOBJ_POPUP RID_APP_START+73 271#define RID_GRAPHIC_MULTISELECTION_POPUP RID_APP_START+74 272#define RID_GRAPHIC_PAGETAB_POPUP RID_APP_START+75 273#define RID_GRAPHIC_GRAPHIC_POPUP RID_APP_START+76 274#define RID_GRAPHIC_OLE2_POPUP RID_APP_START+77 275#define RID_GRAPHIC_GROUPOBJ_POPUP RID_APP_START+78 276#define RID_GRAPHIC_3DOBJ_POPUP RID_APP_START+79 277#define RID_GRAPHIC_MEASUREOBJ_POPUP RID_APP_START+80 278#define RID_GRAPHIC_EDGEOBJ_POPUP RID_APP_START+81 279#define RID_GRAPHIC_POLYLINEOBJ_POPUP RID_APP_START+82 280#define RID_GRAPHIC_3DSCENE_POPUP RID_APP_START+83 281#define RID_GRAPHIC_3DSCENE2_POPUP RID_APP_START+84 282#define RID_GRAPHIC_CUSTOMSHAPE_POPUP RID_APP_START+85 283#define RID_GRAPHIC_MEDIA_POPUP RID_APP_START+86 284 285#define RID_SLIDE_SORTER_DRAW_SEL_POPUP RID_APP_START+87 286#define RID_SLIDE_SORTER_DRAW_NOSEL_POPUP RID_APP_START+88 287#define RID_SLIDE_SORTER_MASTER_SEL_POPUP RID_APP_START+89 288#define RID_SLIDE_SORTER_MASTER_NOSEL_POPUP RID_APP_START+90 289 290#define RID_DRAW_TABLE_POPUP RID_APP_START+91 291#define RID_GRAPHIC_TABLE_POPUP RID_APP_START+92 292 293#define RID_TASKPANE_CURRENT_MASTERPAGESSELECTOR_POPUP RID_APP_START+93 294 295#define RID_DRAW_TABLEOBJ_INSIDE_POPUP RID_APP_START+94 296 297/* 298 * Pointer (Mauszeiger) 299 */ 300#define PTR_WATERCAN RID_APP_START+100 301#define PTR_PENCIL RID_APP_START+101 302 303 304/* 305 * Globale Dialog-IDs 306 */ 307#define DLG_FONTWORK RID_APP_START+150 308 309/* 310 * ResourceIDs fuer Toolboxen nicht aendern, ohne die Strings in 311 * strings.hrc auf die selben IDs zu setzen (eine Toolbox und sein 312 * Konfigurationsstring muessen dieselbe ResourceID haben!). 313 */ 314 315// --> Jetzt in cfgids.hxx 316/* 317#define _RID_DRAW_TOOLBOX RID_APP_START+200 318#define _RID_SLIDE_TOOLBOX RID_APP_START+201 319#define _RID_DRAW_OBJ_TOOLBOX RID_APP_START+202 320#define _RID_SLIDE_OBJ_TOOLBOX RID_APP_START+203 321#define _RID_BEZIER_TOOLBOX RID_APP_START+204 322#define _RID_TEXT_TOOLBOX RID_APP_START+205 323#define _RID_OUTLINE_TOOLBOX RID_APP_START+206 324#define _RID_DRAW_POLYLINEOBJ_POPUP RID_APP_START+207 325#define _RID_GLUEPOINTS_TOOLBOX RID_APP_START+208 326*/ 327 328 329#define RID_DRAW_SNAPOBJECT_POPUP RID_APP_START+390 330#define RID_DRAW_GLUEPOINT_POPUP RID_APP_START+392 331#define RID_DRAW_CONTROL_POPUP RID_APP_START+393 332#define RID_FORM_CONTROL_POPUP RID_APP_START+394 333 334#define RID_GRAPHICSTYLEFAMILY RID_APP_START+395 335#define RID_PRESENTATIONSTYLEFAMILY RID_APP_START+396 336#define RID_GRAPHICSCELLFAMILY RID_APP_START+397 337 338