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