1*0e2af6afSAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3*0e2af6afSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*0e2af6afSAndrew Rist * or more contributor license agreements. See the NOTICE file 5*0e2af6afSAndrew Rist * distributed with this work for additional information 6*0e2af6afSAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*0e2af6afSAndrew Rist * to you under the Apache License, Version 2.0 (the 8*0e2af6afSAndrew Rist * "License"); you may not use this file except in compliance 9*0e2af6afSAndrew Rist * with the License. You may obtain a copy of the License at 10*0e2af6afSAndrew Rist * 11*0e2af6afSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*0e2af6afSAndrew Rist * 13*0e2af6afSAndrew Rist * Unless required by applicable law or agreed to in writing, 14*0e2af6afSAndrew Rist * software distributed under the License is distributed on an 15*0e2af6afSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*0e2af6afSAndrew Rist * KIND, either express or implied. See the License for the 17*0e2af6afSAndrew Rist * specific language governing permissions and limitations 18*0e2af6afSAndrew Rist * under the License. 19*0e2af6afSAndrew Rist * 20*0e2af6afSAndrew Rist *************************************************************/ 21*0e2af6afSAndrew Rist 22*0e2af6afSAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir#include <svtools/controldims.hrc> 25cdf0e10cSrcweir#include <cuires.hrc> 26cdf0e10cSrcweir#include "helpid.hrc" 27cdf0e10cSrcweir#include "grfflt.hrc" 28cdf0e10cSrcweir#include <svx/dialogs.hrc> 29cdf0e10cSrcweir 30cdf0e10cSrcweir// -------------------- 31cdf0e10cSrcweir// - DLG_FILTERMOSAIC - 32cdf0e10cSrcweir// -------------------- 33cdf0e10cSrcweir 34cdf0e10cSrcweirModalDialog RID_SVX_GRFFILTER_DLG_MOSAIC 35cdf0e10cSrcweir{ 36cdf0e10cSrcweir HelpID = CMD_SID_GRFFILTER_MOSAIC; 37cdf0e10cSrcweir OutputSize = TRUE ; 38cdf0e10cSrcweir Moveable = TRUE ; 39cdf0e10cSrcweir SVLook = TRUE ; 40cdf0e10cSrcweir Size = MAP_APPFONT ( 250, 100 ) ; 41cdf0e10cSrcweir 42cdf0e10cSrcweir Text [ en-US ] = "Mosaic" ; 43cdf0e10cSrcweir 44cdf0e10cSrcweir FixedLine FL_PARAMETER 45cdf0e10cSrcweir { 46cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 3 ) ; 47cdf0e10cSrcweir Size = MAP_APPFONT ( 182, RSC_CD_FIXEDLINE_HEIGHT ) ; 48cdf0e10cSrcweir Text [ en-US ] = "Parameters"; 49cdf0e10cSrcweir }; 50cdf0e10cSrcweir Control CTL_PREVIEW 51cdf0e10cSrcweir { 52cdf0e10cSrcweir Pos = MAP_APPFONT ( 104 , 3 + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP ) ; 53cdf0e10cSrcweir Size = MAP_APPFONT ( 81, 73 ) ; 54cdf0e10cSrcweir }; 55cdf0e10cSrcweir#define MA_Y0 3 + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP 56cdf0e10cSrcweir FixedText DLG_FILTERMOSAIC_FT_WIDTH 57cdf0e10cSrcweir { 58cdf0e10cSrcweir Pos = MAP_APPFONT ( 12, MA_Y0 ) ; 59cdf0e10cSrcweir Size = MAP_APPFONT ( 77, 10 ) ; 60cdf0e10cSrcweir Text [ en-US ] = "~Width" ; 61cdf0e10cSrcweir }; 62cdf0e10cSrcweir#define MA_Y1 MA_Y0 + RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_CTRL_DESC_Y 63cdf0e10cSrcweir MetricField DLG_FILTERMOSAIC_MTR_WIDTH 64cdf0e10cSrcweir { 65cdf0e10cSrcweir HelpID = "cui:MetricField:RID_SVX_GRFFILTER_DLG_MOSAIC:DLG_FILTERMOSAIC_MTR_WIDTH"; 66cdf0e10cSrcweir Border = TRUE ; 67cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , MA_Y1 ) ; 68cdf0e10cSrcweir Size = MAP_APPFONT ( 35 , 12 ) ; 69cdf0e10cSrcweir TabStop = TRUE ; 70cdf0e10cSrcweir Repeat = TRUE ; 71cdf0e10cSrcweir Spin = TRUE ; 72cdf0e10cSrcweir Minimum = 1 ; 73cdf0e10cSrcweir Maximum = 999 ; 74cdf0e10cSrcweir StrictFormat = TRUE ; 75cdf0e10cSrcweir Unit = FUNIT_CUSTOM ; 76cdf0e10cSrcweir CustomUnitText = " Pixel" ; 77cdf0e10cSrcweir First = 1 ; 78cdf0e10cSrcweir Last = 999 ; 79cdf0e10cSrcweir SpinSize = 1 ; 80cdf0e10cSrcweir }; 81cdf0e10cSrcweir#define MA_Y2 MA_Y1 + RSC_CD_TEXTBOX_HEIGHT + RSC_SP_CTRL_GROUP_Y 82cdf0e10cSrcweir FixedText DLG_FILTERMOSAIC_FT_HEIGHT 83cdf0e10cSrcweir { 84cdf0e10cSrcweir Pos = MAP_APPFONT ( 12, MA_Y2 ) ; 85cdf0e10cSrcweir Size = MAP_APPFONT ( 77, 10 ) ; 86cdf0e10cSrcweir Text [ en-US ] = "H~eight" ; 87cdf0e10cSrcweir }; 88cdf0e10cSrcweir#define MA_Y3 MA_Y2 + RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_CTRL_DESC_Y 89cdf0e10cSrcweir MetricField DLG_FILTERMOSAIC_MTR_HEIGHT 90cdf0e10cSrcweir { 91cdf0e10cSrcweir HelpID = "cui:MetricField:RID_SVX_GRFFILTER_DLG_MOSAIC:DLG_FILTERMOSAIC_MTR_HEIGHT"; 92cdf0e10cSrcweir Border = TRUE ; 93cdf0e10cSrcweir Pos = MAP_APPFONT ( 12, MA_Y3 ) ; 94cdf0e10cSrcweir Size = MAP_APPFONT ( 35, 12 ) ; 95cdf0e10cSrcweir TabStop = TRUE ; 96cdf0e10cSrcweir Repeat = TRUE ; 97cdf0e10cSrcweir Spin = TRUE ; 98cdf0e10cSrcweir Minimum = 1 ; 99cdf0e10cSrcweir Maximum = 999 ; 100cdf0e10cSrcweir StrictFormat = TRUE ; 101cdf0e10cSrcweir Unit = FUNIT_CUSTOM ; 102cdf0e10cSrcweir CustomUnitText = " Pixel" ; 103cdf0e10cSrcweir First = 1 ; 104cdf0e10cSrcweir Last = 999 ; 105cdf0e10cSrcweir SpinSize = 1 ; 106cdf0e10cSrcweir }; 107cdf0e10cSrcweir#define MA_Y4 MA_Y3 + RSC_CD_TEXTBOX_HEIGHT + RSC_SP_CTRL_Y 108cdf0e10cSrcweir CheckBox DLG_FILTERMOSAIC_CBX_EDGES 109cdf0e10cSrcweir { 110cdf0e10cSrcweir HelpID = "cui:CheckBox:RID_SVX_GRFFILTER_DLG_MOSAIC:DLG_FILTERMOSAIC_CBX_EDGES"; 111cdf0e10cSrcweir Pos = MAP_APPFONT ( 12, MA_Y4 ) ; 112cdf0e10cSrcweir Size = MAP_APPFONT ( 91, 12 ) ; 113cdf0e10cSrcweir TabStop = TRUE ; 114cdf0e10cSrcweir Text [ en-US ] = "E~nhance edges" ; 115cdf0e10cSrcweir }; 116cdf0e10cSrcweir OKButton BTN_OK 117cdf0e10cSrcweir { 118cdf0e10cSrcweir Pos = MAP_APPFONT ( 194, 6 ) ; 119cdf0e10cSrcweir Size = MAP_APPFONT ( 50, 14 ) ; 120cdf0e10cSrcweir TabStop = TRUE ; 121cdf0e10cSrcweir DefButton = TRUE ; 122cdf0e10cSrcweir }; 123cdf0e10cSrcweir CancelButton BTN_CANCEL 124cdf0e10cSrcweir { 125cdf0e10cSrcweir Pos = MAP_APPFONT ( 194, 23 ) ; 126cdf0e10cSrcweir Size = MAP_APPFONT ( 50, 14 ) ; 127cdf0e10cSrcweir TabStop = TRUE ; 128cdf0e10cSrcweir }; 129cdf0e10cSrcweir HelpButton BTN_HELP 130cdf0e10cSrcweir { 131cdf0e10cSrcweir Pos = MAP_APPFONT ( 194, 43 ) ; 132cdf0e10cSrcweir Size = MAP_APPFONT ( 50, 14 ) ; 133cdf0e10cSrcweir TabStop = TRUE ; 134cdf0e10cSrcweir }; 135cdf0e10cSrcweir}; 136cdf0e10cSrcweir 137cdf0e10cSrcweir// ---------------------- 138cdf0e10cSrcweir// - DLG_FILTERSOLARIZE - 139cdf0e10cSrcweir// ---------------------- 140cdf0e10cSrcweir 141cdf0e10cSrcweirModalDialog RID_SVX_GRFFILTER_DLG_SOLARIZE 142cdf0e10cSrcweir{ 143cdf0e10cSrcweir HelpID = CMD_SID_GRFFILTER_SOLARIZE; 144cdf0e10cSrcweir OutputSize = TRUE ; 145cdf0e10cSrcweir Moveable = TRUE ; 146cdf0e10cSrcweir SVLook = TRUE ; 147cdf0e10cSrcweir Size = MAP_APPFONT ( 250, 100 ) ; 148cdf0e10cSrcweir 149cdf0e10cSrcweir Text [ en-US ] = "Solarization" ; 150cdf0e10cSrcweir 151cdf0e10cSrcweir FixedLine FL_PARAMETER 152cdf0e10cSrcweir { 153cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 3 ) ; 154cdf0e10cSrcweir Size = MAP_APPFONT ( 182, RSC_CD_FIXEDLINE_HEIGHT ) ; 155cdf0e10cSrcweir Text [ en-US ] = "Parameters"; 156cdf0e10cSrcweir }; 157cdf0e10cSrcweir Control CTL_PREVIEW 158cdf0e10cSrcweir { 159cdf0e10cSrcweir Pos = MAP_APPFONT ( 104 , 3 + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP ) ; 160cdf0e10cSrcweir Size = MAP_APPFONT ( 81, 73 ) ; 161cdf0e10cSrcweir }; 162cdf0e10cSrcweir#define MA_Y5 3 + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP 163cdf0e10cSrcweir FixedText DLG_FILTERSOLARIZE_FT_THRESHOLD 164cdf0e10cSrcweir { 165cdf0e10cSrcweir Pos = MAP_APPFONT ( 12, MA_Y5 ) ; 166cdf0e10cSrcweir Size = MAP_APPFONT ( 77 , 10 ) ; 167cdf0e10cSrcweir Text [ en-US ] = "Threshold ~value" ; 168cdf0e10cSrcweir }; 169cdf0e10cSrcweir#define MA_Y6 MA_Y5 + RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_CTRL_DESC_Y 170cdf0e10cSrcweir MetricField DLG_FILTERSOLARIZE_MTR_THRESHOLD 171cdf0e10cSrcweir { 172cdf0e10cSrcweir HelpID = "cui:MetricField:RID_SVX_GRFFILTER_DLG_SOLARIZE:DLG_FILTERSOLARIZE_MTR_THRESHOLD"; 173cdf0e10cSrcweir Border = TRUE ; 174cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , MA_Y6 ) ; 175cdf0e10cSrcweir Size = MAP_APPFONT ( 35 , 12 ) ; 176cdf0e10cSrcweir TabStop = TRUE ; 177cdf0e10cSrcweir Repeat = TRUE ; 178cdf0e10cSrcweir Spin = TRUE ; 179cdf0e10cSrcweir Maximum = 100 ; 180cdf0e10cSrcweir StrictFormat = TRUE ; 181cdf0e10cSrcweir Unit = FUNIT_CUSTOM ; 182cdf0e10cSrcweir CustomUnitText = " %" ; 183cdf0e10cSrcweir Last = 100 ; 184cdf0e10cSrcweir SpinSize = 1 ; 185cdf0e10cSrcweir }; 186cdf0e10cSrcweir#define MA_Y7 MA_Y6 + RSC_CD_TEXTBOX_HEIGHT + RSC_SP_CTRL_GROUP_Y 187cdf0e10cSrcweir CheckBox DLG_FILTERSOLARIZE_CBX_INVERT 188cdf0e10cSrcweir { 189cdf0e10cSrcweir HelpID = "cui:CheckBox:RID_SVX_GRFFILTER_DLG_SOLARIZE:DLG_FILTERSOLARIZE_CBX_INVERT"; 190cdf0e10cSrcweir Pos = MAP_APPFONT ( 12, 46 ) ; 191cdf0e10cSrcweir Size = MAP_APPFONT ( 77, 12 ) ; 192cdf0e10cSrcweir TabStop = TRUE ; 193cdf0e10cSrcweir Text [ en-US ] = "~Invert" ; 194cdf0e10cSrcweir }; 195cdf0e10cSrcweir OKButton BTN_OK 196cdf0e10cSrcweir { 197cdf0e10cSrcweir Pos = MAP_APPFONT ( 194, 6 ) ; 198cdf0e10cSrcweir Size = MAP_APPFONT ( 50, 14 ) ; 199cdf0e10cSrcweir TabStop = TRUE ; 200cdf0e10cSrcweir DefButton = TRUE ; 201cdf0e10cSrcweir }; 202cdf0e10cSrcweir CancelButton BTN_CANCEL 203cdf0e10cSrcweir { 204cdf0e10cSrcweir Pos = MAP_APPFONT ( 194, 23 ) ; 205cdf0e10cSrcweir Size = MAP_APPFONT ( 50, 14 ) ; 206cdf0e10cSrcweir TabStop = TRUE ; 207cdf0e10cSrcweir }; 208cdf0e10cSrcweir HelpButton BTN_HELP 209cdf0e10cSrcweir { 210cdf0e10cSrcweir Pos = MAP_APPFONT ( 194, 43 ) ; 211cdf0e10cSrcweir Size = MAP_APPFONT ( 50, 14 ) ; 212cdf0e10cSrcweir TabStop = TRUE ; 213cdf0e10cSrcweir }; 214cdf0e10cSrcweir}; 215cdf0e10cSrcweir 216cdf0e10cSrcweir// ---------------------- 217cdf0e10cSrcweir// - DLG_FILTERSOLARIZE - 218cdf0e10cSrcweir// ---------------------- 219cdf0e10cSrcweir 220cdf0e10cSrcweirModalDialog RID_SVX_GRFFILTER_DLG_SEPIA 221cdf0e10cSrcweir{ 222cdf0e10cSrcweir HelpID = CMD_SID_GRFFILTER_SEPIA; 223cdf0e10cSrcweir OutputSize = TRUE ; 224cdf0e10cSrcweir Moveable = TRUE ; 225cdf0e10cSrcweir SVLook = TRUE ; 226cdf0e10cSrcweir Size = MAP_APPFONT ( 250, 100 ) ; 227cdf0e10cSrcweir 228cdf0e10cSrcweir Text [ en-US ] = "Aging" ; 229cdf0e10cSrcweir 230cdf0e10cSrcweir FixedLine FL_PARAMETER 231cdf0e10cSrcweir { 232cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 3 ) ; 233cdf0e10cSrcweir Size = MAP_APPFONT ( 182, RSC_CD_FIXEDLINE_HEIGHT ) ; 234cdf0e10cSrcweir Text [ en-US ] = "Parameters"; 235cdf0e10cSrcweir }; 236cdf0e10cSrcweir Control CTL_PREVIEW 237cdf0e10cSrcweir { 238cdf0e10cSrcweir Pos = MAP_APPFONT ( 104 , 3 + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP ) ; 239cdf0e10cSrcweir Size = MAP_APPFONT ( 81, 73 ) ; 240cdf0e10cSrcweir }; 241cdf0e10cSrcweir#define MA_Y8 3 + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP 242cdf0e10cSrcweir FixedText DLG_FILTERSEPIA_FT_SEPIA 243cdf0e10cSrcweir { 244cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , MA_Y8 ) ; 245cdf0e10cSrcweir Size = MAP_APPFONT ( 77 , 10 ) ; 246cdf0e10cSrcweir Text [ en-US ] = "Aging degree" ; 247cdf0e10cSrcweir }; 248cdf0e10cSrcweir#define MA_Y9 MA_Y8 + RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_CTRL_DESC_Y 249cdf0e10cSrcweir MetricField DLG_FILTERSEPIA_MTR_SEPIA 250cdf0e10cSrcweir { 251cdf0e10cSrcweir HelpID = "cui:MetricField:RID_SVX_GRFFILTER_DLG_SEPIA:DLG_FILTERSEPIA_MTR_SEPIA"; 252cdf0e10cSrcweir Border = TRUE ; 253cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , MA_Y9 ) ; 254cdf0e10cSrcweir Size = MAP_APPFONT ( 35 , 12 ) ; 255cdf0e10cSrcweir TabStop = TRUE ; 256cdf0e10cSrcweir Right = TRUE ; 257cdf0e10cSrcweir Repeat = TRUE ; 258cdf0e10cSrcweir Spin = TRUE ; 259cdf0e10cSrcweir Minimum = 1 ; 260cdf0e10cSrcweir Maximum = 100 ; 261cdf0e10cSrcweir StrictFormat = TRUE ; 262cdf0e10cSrcweir Unit = FUNIT_CUSTOM ; 263cdf0e10cSrcweir CustomUnitText = " %" ; 264cdf0e10cSrcweir First = 1 ; 265cdf0e10cSrcweir Last = 100 ; 266cdf0e10cSrcweir SpinSize = 1 ; 267cdf0e10cSrcweir }; 268cdf0e10cSrcweir OKButton BTN_OK 269cdf0e10cSrcweir { 270cdf0e10cSrcweir Pos = MAP_APPFONT ( 194, 6 ) ; 271cdf0e10cSrcweir Size = MAP_APPFONT ( 50, 14 ) ; 272cdf0e10cSrcweir TabStop = TRUE ; 273cdf0e10cSrcweir DefButton = TRUE ; 274cdf0e10cSrcweir }; 275cdf0e10cSrcweir CancelButton BTN_CANCEL 276cdf0e10cSrcweir { 277cdf0e10cSrcweir Pos = MAP_APPFONT ( 194, 23 ) ; 278cdf0e10cSrcweir Size = MAP_APPFONT ( 50, 14 ) ; 279cdf0e10cSrcweir TabStop = TRUE ; 280cdf0e10cSrcweir }; 281cdf0e10cSrcweir HelpButton BTN_HELP 282cdf0e10cSrcweir { 283cdf0e10cSrcweir Pos = MAP_APPFONT ( 194, 43 ) ; 284cdf0e10cSrcweir Size = MAP_APPFONT ( 50, 14 ) ; 285cdf0e10cSrcweir TabStop = TRUE ; 286cdf0e10cSrcweir }; 287cdf0e10cSrcweir}; 288cdf0e10cSrcweir 289cdf0e10cSrcweir// -------------------- 290cdf0e10cSrcweir// - DLG_FILTERPOSTER - 291cdf0e10cSrcweir// -------------------- 292cdf0e10cSrcweir 293cdf0e10cSrcweirModalDialog RID_SVX_GRFFILTER_DLG_POSTER 294cdf0e10cSrcweir{ 295cdf0e10cSrcweir HelpID = CMD_SID_GRFFILTER_POSTER; 296cdf0e10cSrcweir OutputSize = TRUE ; 297cdf0e10cSrcweir Moveable = TRUE ; 298cdf0e10cSrcweir SVLook = TRUE ; 299cdf0e10cSrcweir Size = MAP_APPFONT ( 250, 100 ) ; 300cdf0e10cSrcweir 301cdf0e10cSrcweir Text [ en-US ] = "Posterize" ; 302cdf0e10cSrcweir 303cdf0e10cSrcweir FixedLine FL_PARAMETER 304cdf0e10cSrcweir { 305cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 3 ) ; 306cdf0e10cSrcweir Size = MAP_APPFONT ( 182, RSC_CD_FIXEDLINE_HEIGHT ) ; 307cdf0e10cSrcweir Text [ en-US ] = "Parameters"; 308cdf0e10cSrcweir }; 309cdf0e10cSrcweir Control CTL_PREVIEW 310cdf0e10cSrcweir { 311cdf0e10cSrcweir Pos = MAP_APPFONT ( 104 , 3 + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP ) ; 312cdf0e10cSrcweir Size = MAP_APPFONT ( 81, 73 ) ; 313cdf0e10cSrcweir }; 314cdf0e10cSrcweir#define MA_Y10 3 + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP 315cdf0e10cSrcweir FixedText DLG_FILTERPOSTER_FT_POSTER 316cdf0e10cSrcweir { 317cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , MA_Y10 ) ; 318cdf0e10cSrcweir Size = MAP_APPFONT ( 77 , 10 ) ; 319cdf0e10cSrcweir Text [ en-US ] = "Poster colors" ; 320cdf0e10cSrcweir }; 321cdf0e10cSrcweir#define MA_Y11 MA_Y10 + RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_CTRL_DESC_Y 322cdf0e10cSrcweir NumericField DLG_FILTERPOSTER_NUM_POSTER 323cdf0e10cSrcweir { 324cdf0e10cSrcweir HelpID = "cui:NumericField:RID_SVX_GRFFILTER_DLG_POSTER:DLG_FILTERPOSTER_NUM_POSTER"; 325cdf0e10cSrcweir Border = TRUE ; 326cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , MA_Y11 ) ; 327cdf0e10cSrcweir Size = MAP_APPFONT ( 35 , 12 ) ; 328cdf0e10cSrcweir TabStop = TRUE ; 329cdf0e10cSrcweir Repeat = TRUE ; 330cdf0e10cSrcweir Spin = TRUE ; 331cdf0e10cSrcweir Minimum = 2 ; 332cdf0e10cSrcweir Maximum = 64 ; 333cdf0e10cSrcweir StrictFormat = TRUE ; 334cdf0e10cSrcweir First = 2 ; 335cdf0e10cSrcweir Last = 64 ; 336cdf0e10cSrcweir SpinSize = 1 ; 337cdf0e10cSrcweir }; 338cdf0e10cSrcweir OKButton BTN_OK 339cdf0e10cSrcweir { 340cdf0e10cSrcweir Pos = MAP_APPFONT ( 194, 6 ) ; 341cdf0e10cSrcweir Size = MAP_APPFONT ( 50, 14 ) ; 342cdf0e10cSrcweir TabStop = TRUE ; 343cdf0e10cSrcweir DefButton = TRUE ; 344cdf0e10cSrcweir }; 345cdf0e10cSrcweir CancelButton BTN_CANCEL 346cdf0e10cSrcweir { 347cdf0e10cSrcweir Pos = MAP_APPFONT ( 194, 23 ) ; 348cdf0e10cSrcweir Size = MAP_APPFONT ( 50, 14 ) ; 349cdf0e10cSrcweir TabStop = TRUE ; 350cdf0e10cSrcweir }; 351cdf0e10cSrcweir HelpButton BTN_HELP 352cdf0e10cSrcweir { 353cdf0e10cSrcweir Pos = MAP_APPFONT ( 194, 43 ) ; 354cdf0e10cSrcweir Size = MAP_APPFONT ( 50, 14 ) ; 355cdf0e10cSrcweir TabStop = TRUE ; 356cdf0e10cSrcweir }; 357cdf0e10cSrcweir}; 358cdf0e10cSrcweir 359cdf0e10cSrcweir// -------------------- 360cdf0e10cSrcweir// - DLG_FILTEREMBOSS - 361cdf0e10cSrcweir// -------------------- 362cdf0e10cSrcweir 363cdf0e10cSrcweirTabPage RID_SVX_GRFFILTER_DLG_EMBOSS_TAB 364cdf0e10cSrcweir{ 365cdf0e10cSrcweir HelpID = "cui:TabPage:RID_SVX_GRFFILTER_DLG_EMBOSS_TAB"; 366cdf0e10cSrcweir Pos = MAP_APPFONT ( 0, 0 ) ; 367cdf0e10cSrcweir Size = MAP_APPFONT ( 0, 0 ) ; 368cdf0e10cSrcweir}; 369cdf0e10cSrcweir 370cdf0e10cSrcweirModalDialog RID_SVX_GRFFILTER_DLG_EMBOSS 371cdf0e10cSrcweir{ 372cdf0e10cSrcweir HelpID = CMD_SID_GRFFILTER_EMBOSS; 373cdf0e10cSrcweir OutputSize = TRUE ; 374cdf0e10cSrcweir Moveable = TRUE ; 375cdf0e10cSrcweir SVLook = TRUE ; 376cdf0e10cSrcweir Size = MAP_APPFONT ( 250, 100 ) ; 377cdf0e10cSrcweir 378cdf0e10cSrcweir Text [ en-US ] = "Relief" ; 379cdf0e10cSrcweir 380cdf0e10cSrcweir FixedLine FL_PARAMETER 381cdf0e10cSrcweir { 382cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 3 ) ; 383cdf0e10cSrcweir Size = MAP_APPFONT ( 182, RSC_CD_FIXEDLINE_HEIGHT ) ; 384cdf0e10cSrcweir Text [ en-US ] = "Parameters"; 385cdf0e10cSrcweir }; 386cdf0e10cSrcweir Control CTL_PREVIEW 387cdf0e10cSrcweir { 388cdf0e10cSrcweir Pos = MAP_APPFONT ( 104 , 3 + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP ) ; 389cdf0e10cSrcweir Size = MAP_APPFONT ( 81, 73 ) ; 390cdf0e10cSrcweir }; 391cdf0e10cSrcweir#define MA_Y12 3 + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP 392cdf0e10cSrcweir FixedText DLG_FILTEREMBOSS_FT_LIGHT 393cdf0e10cSrcweir { 394cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , MA_Y12 ) ; 395cdf0e10cSrcweir Size = MAP_APPFONT ( 77 , 10 ) ; 396cdf0e10cSrcweir Text [ en-US ] = "Light source" ; 397cdf0e10cSrcweir }; 398cdf0e10cSrcweir#define MA_Y13 MA_Y12 + RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_CTRL_DESC_Y 399cdf0e10cSrcweir Control DLG_FILTEREMBOSS_CTL_LIGHT 400cdf0e10cSrcweir { 401cdf0e10cSrcweir HelpID = HID_GRFFILTER_EMBOSS_LIGHT ; 402cdf0e10cSrcweir Border = TRUE ; 403cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , MA_Y13 ) ; 404cdf0e10cSrcweir Size = MAP_APPFONT ( 77 , 60 ) ; 405cdf0e10cSrcweir TabStop = TRUE ; 406cdf0e10cSrcweir }; 407cdf0e10cSrcweir OKButton BTN_OK 408cdf0e10cSrcweir { 409cdf0e10cSrcweir Pos = MAP_APPFONT ( 194, 6 ) ; 410cdf0e10cSrcweir Size = MAP_APPFONT ( 50, 14 ) ; 411cdf0e10cSrcweir TabStop = TRUE ; 412cdf0e10cSrcweir DefButton = TRUE ; 413cdf0e10cSrcweir }; 414cdf0e10cSrcweir CancelButton BTN_CANCEL 415cdf0e10cSrcweir { 416cdf0e10cSrcweir Pos = MAP_APPFONT ( 194, 23 ) ; 417cdf0e10cSrcweir Size = MAP_APPFONT ( 50, 14 ) ; 418cdf0e10cSrcweir TabStop = TRUE ; 419cdf0e10cSrcweir }; 420cdf0e10cSrcweir HelpButton BTN_HELP 421cdf0e10cSrcweir { 422cdf0e10cSrcweir Pos = MAP_APPFONT ( 194, 43 ) ; 423cdf0e10cSrcweir Size = MAP_APPFONT ( 50, 14 ) ; 424cdf0e10cSrcweir TabStop = TRUE ; 425cdf0e10cSrcweir }; 426cdf0e10cSrcweir}; 427cdf0e10cSrcweir 428cdf0e10cSrcweir 429cdf0e10cSrcweir 430cdf0e10cSrcweir 431cdf0e10cSrcweir 432cdf0e10cSrcweir 433cdf0e10cSrcweir 434cdf0e10cSrcweir 435cdf0e10cSrcweir 436cdf0e10cSrcweir 437cdf0e10cSrcweir 438cdf0e10cSrcweir 439cdf0e10cSrcweir 440cdf0e10cSrcweir 441cdf0e10cSrcweir 442cdf0e10cSrcweir 443cdf0e10cSrcweir 444cdf0e10cSrcweir 445cdf0e10cSrcweir 446cdf0e10cSrcweir 447cdf0e10cSrcweir 448cdf0e10cSrcweir 449cdf0e10cSrcweir 450cdf0e10cSrcweir 451cdf0e10cSrcweir 452cdf0e10cSrcweir 453cdf0e10cSrcweir 454cdf0e10cSrcweir 455cdf0e10cSrcweir 456cdf0e10cSrcweir 457cdf0e10cSrcweir 458cdf0e10cSrcweir 459