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