/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * This file incorporates work covered by the following license notice: * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright * ownership. The ASF licenses this file to you under the Apache * License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ #include #include #include "helpid.hrc" #include "grfflt.hrc" #include // -------------------- // - DLG_FILTERMOSAIC - // -------------------- ModalDialog RID_SVX_GRFFILTER_DLG_MOSAIC { HelpID = CMD_SID_GRFFILTER_MOSAIC; OutputSize = TRUE ; Moveable = TRUE ; SVLook = TRUE ; Size = MAP_APPFONT ( 250, 100 ) ; Text [ en-US ] = "Mosaic" ; FixedLine FL_PARAMETER { Pos = MAP_APPFONT ( 6 , 3 ) ; Size = MAP_APPFONT ( 182, RSC_CD_FIXEDLINE_HEIGHT ) ; Text [ en-US ] = "Parameters"; }; Control CTL_PREVIEW { Pos = MAP_APPFONT ( 104 , 3 + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP ) ; Size = MAP_APPFONT ( 81, 73 ) ; }; #define MA_Y0 3 + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP FixedText DLG_FILTERMOSAIC_FT_WIDTH { Pos = MAP_APPFONT ( 12, MA_Y0 ) ; Size = MAP_APPFONT ( 77, 10 ) ; Text [ en-US ] = "~Width" ; }; #define MA_Y1 MA_Y0 + RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_CTRL_DESC_Y MetricField DLG_FILTERMOSAIC_MTR_WIDTH { HelpID = "cui:MetricField:RID_SVX_GRFFILTER_DLG_MOSAIC:DLG_FILTERMOSAIC_MTR_WIDTH"; Border = TRUE ; Pos = MAP_APPFONT ( 12 , MA_Y1 ) ; Size = MAP_APPFONT ( 35 , 12 ) ; TabStop = TRUE ; Repeat = TRUE ; Spin = TRUE ; Minimum = 1 ; Maximum = 999 ; StrictFormat = TRUE ; Unit = FUNIT_CUSTOM ; CustomUnitText [ en-US ] = " Pixel" ; First = 1 ; Last = 999 ; SpinSize = 1 ; }; #define MA_Y2 MA_Y1 + RSC_CD_TEXTBOX_HEIGHT + RSC_SP_CTRL_GROUP_Y FixedText DLG_FILTERMOSAIC_FT_HEIGHT { Pos = MAP_APPFONT ( 12, MA_Y2 ) ; Size = MAP_APPFONT ( 77, 10 ) ; Text [ en-US ] = "H~eight" ; }; #define MA_Y3 MA_Y2 + RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_CTRL_DESC_Y MetricField DLG_FILTERMOSAIC_MTR_HEIGHT { HelpID = "cui:MetricField:RID_SVX_GRFFILTER_DLG_MOSAIC:DLG_FILTERMOSAIC_MTR_HEIGHT"; Border = TRUE ; Pos = MAP_APPFONT ( 12, MA_Y3 ) ; Size = MAP_APPFONT ( 35, 12 ) ; TabStop = TRUE ; Repeat = TRUE ; Spin = TRUE ; Minimum = 1 ; Maximum = 999 ; StrictFormat = TRUE ; Unit = FUNIT_CUSTOM ; CustomUnitText [ en-US ] = " Pixel" ; First = 1 ; Last = 999 ; SpinSize = 1 ; }; #define MA_Y4 MA_Y3 + RSC_CD_TEXTBOX_HEIGHT + RSC_SP_CTRL_Y CheckBox DLG_FILTERMOSAIC_CBX_EDGES { HelpID = "cui:CheckBox:RID_SVX_GRFFILTER_DLG_MOSAIC:DLG_FILTERMOSAIC_CBX_EDGES"; Pos = MAP_APPFONT ( 12, MA_Y4 ) ; Size = MAP_APPFONT ( 91, 12 ) ; TabStop = TRUE ; Text [ en-US ] = "E~nhance edges" ; }; OKButton BTN_OK { Pos = MAP_APPFONT ( 194, 6 ) ; Size = MAP_APPFONT ( 50, 14 ) ; TabStop = TRUE ; DefButton = TRUE ; }; CancelButton BTN_CANCEL { Pos = MAP_APPFONT ( 194, 23 ) ; Size = MAP_APPFONT ( 50, 14 ) ; TabStop = TRUE ; }; HelpButton BTN_HELP { Pos = MAP_APPFONT ( 194, 43 ) ; Size = MAP_APPFONT ( 50, 14 ) ; TabStop = TRUE ; }; }; // ---------------------- // - DLG_FILTERSOLARIZE - // ---------------------- ModalDialog RID_SVX_GRFFILTER_DLG_SOLARIZE { HelpID = CMD_SID_GRFFILTER_SOLARIZE; OutputSize = TRUE ; Moveable = TRUE ; SVLook = TRUE ; Size = MAP_APPFONT ( 250, 100 ) ; Text [ en-US ] = "Solarization" ; FixedLine FL_PARAMETER { Pos = MAP_APPFONT ( 6 , 3 ) ; Size = MAP_APPFONT ( 182, RSC_CD_FIXEDLINE_HEIGHT ) ; Text [ en-US ] = "Parameters"; }; Control CTL_PREVIEW { Pos = MAP_APPFONT ( 104 , 3 + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP ) ; Size = MAP_APPFONT ( 81, 73 ) ; }; #define MA_Y5 3 + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP FixedText DLG_FILTERSOLARIZE_FT_THRESHOLD { Pos = MAP_APPFONT ( 12, MA_Y5 ) ; Size = MAP_APPFONT ( 77 , 10 ) ; Text [ en-US ] = "Threshold ~value" ; }; #define MA_Y6 MA_Y5 + RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_CTRL_DESC_Y MetricField DLG_FILTERSOLARIZE_MTR_THRESHOLD { HelpID = "cui:MetricField:RID_SVX_GRFFILTER_DLG_SOLARIZE:DLG_FILTERSOLARIZE_MTR_THRESHOLD"; Border = TRUE ; Pos = MAP_APPFONT ( 12 , MA_Y6 ) ; Size = MAP_APPFONT ( 35 , 12 ) ; TabStop = TRUE ; Repeat = TRUE ; Spin = TRUE ; Maximum = 100 ; StrictFormat = TRUE ; Unit = FUNIT_CUSTOM ; CustomUnitText = "%" ; Last = 100 ; SpinSize = 1 ; }; #define MA_Y7 MA_Y6 + RSC_CD_TEXTBOX_HEIGHT + RSC_SP_CTRL_GROUP_Y CheckBox DLG_FILTERSOLARIZE_CBX_INVERT { HelpID = "cui:CheckBox:RID_SVX_GRFFILTER_DLG_SOLARIZE:DLG_FILTERSOLARIZE_CBX_INVERT"; Pos = MAP_APPFONT ( 12, 46 ) ; Size = MAP_APPFONT ( 77, 12 ) ; TabStop = TRUE ; Text [ en-US ] = "~Invert" ; }; OKButton BTN_OK { Pos = MAP_APPFONT ( 194, 6 ) ; Size = MAP_APPFONT ( 50, 14 ) ; TabStop = TRUE ; DefButton = TRUE ; }; CancelButton BTN_CANCEL { Pos = MAP_APPFONT ( 194, 23 ) ; Size = MAP_APPFONT ( 50, 14 ) ; TabStop = TRUE ; }; HelpButton BTN_HELP { Pos = MAP_APPFONT ( 194, 43 ) ; Size = MAP_APPFONT ( 50, 14 ) ; TabStop = TRUE ; }; }; // ---------------------- // - DLG_FILTERSOLARIZE - // ---------------------- ModalDialog RID_SVX_GRFFILTER_DLG_SEPIA { HelpID = CMD_SID_GRFFILTER_SEPIA; OutputSize = TRUE ; Moveable = TRUE ; SVLook = TRUE ; Size = MAP_APPFONT ( 250, 100 ) ; Text [ en-US ] = "Aging" ; FixedLine FL_PARAMETER { Pos = MAP_APPFONT ( 6 , 3 ) ; Size = MAP_APPFONT ( 182, RSC_CD_FIXEDLINE_HEIGHT ) ; Text [ en-US ] = "Parameters"; }; Control CTL_PREVIEW { Pos = MAP_APPFONT ( 104 , 3 + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP ) ; Size = MAP_APPFONT ( 81, 73 ) ; }; #define MA_Y8 3 + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP FixedText DLG_FILTERSEPIA_FT_SEPIA { Pos = MAP_APPFONT ( 12 , MA_Y8 ) ; Size = MAP_APPFONT ( 77 , 10 ) ; Text [ en-US ] = "Aging degree" ; }; #define MA_Y9 MA_Y8 + RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_CTRL_DESC_Y MetricField DLG_FILTERSEPIA_MTR_SEPIA { HelpID = "cui:MetricField:RID_SVX_GRFFILTER_DLG_SEPIA:DLG_FILTERSEPIA_MTR_SEPIA"; Border = TRUE ; Pos = MAP_APPFONT ( 12 , MA_Y9 ) ; Size = MAP_APPFONT ( 35 , 12 ) ; TabStop = TRUE ; Right = TRUE ; Repeat = TRUE ; Spin = TRUE ; Minimum = 1 ; Maximum = 100 ; StrictFormat = TRUE ; Unit = FUNIT_CUSTOM ; CustomUnitText = "%" ; First = 1 ; Last = 100 ; SpinSize = 1 ; }; OKButton BTN_OK { Pos = MAP_APPFONT ( 194, 6 ) ; Size = MAP_APPFONT ( 50, 14 ) ; TabStop = TRUE ; DefButton = TRUE ; }; CancelButton BTN_CANCEL { Pos = MAP_APPFONT ( 194, 23 ) ; Size = MAP_APPFONT ( 50, 14 ) ; TabStop = TRUE ; }; HelpButton BTN_HELP { Pos = MAP_APPFONT ( 194, 43 ) ; Size = MAP_APPFONT ( 50, 14 ) ; TabStop = TRUE ; }; }; // -------------------- // - DLG_FILTERPOSTER - // -------------------- ModalDialog RID_SVX_GRFFILTER_DLG_POSTER { HelpID = CMD_SID_GRFFILTER_POSTER; OutputSize = TRUE ; Moveable = TRUE ; SVLook = TRUE ; Size = MAP_APPFONT ( 250, 100 ) ; Text [ en-US ] = "Posterize" ; FixedLine FL_PARAMETER { Pos = MAP_APPFONT ( 6 , 3 ) ; Size = MAP_APPFONT ( 182, RSC_CD_FIXEDLINE_HEIGHT ) ; Text [ en-US ] = "Parameters"; }; Control CTL_PREVIEW { Pos = MAP_APPFONT ( 104 , 3 + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP ) ; Size = MAP_APPFONT ( 81, 73 ) ; }; #define MA_Y10 3 + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP FixedText DLG_FILTERPOSTER_FT_POSTER { Pos = MAP_APPFONT ( 12 , MA_Y10 ) ; Size = MAP_APPFONT ( 77 , 10 ) ; Text [ en-US ] = "Poster colors" ; }; #define MA_Y11 MA_Y10 + RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_CTRL_DESC_Y NumericField DLG_FILTERPOSTER_NUM_POSTER { HelpID = "cui:NumericField:RID_SVX_GRFFILTER_DLG_POSTER:DLG_FILTERPOSTER_NUM_POSTER"; Border = TRUE ; Pos = MAP_APPFONT ( 12 , MA_Y11 ) ; Size = MAP_APPFONT ( 35 , 12 ) ; TabStop = TRUE ; Repeat = TRUE ; Spin = TRUE ; Minimum = 2 ; Maximum = 64 ; StrictFormat = TRUE ; First = 2 ; Last = 64 ; SpinSize = 1 ; }; OKButton BTN_OK { Pos = MAP_APPFONT ( 194, 6 ) ; Size = MAP_APPFONT ( 50, 14 ) ; TabStop = TRUE ; DefButton = TRUE ; }; CancelButton BTN_CANCEL { Pos = MAP_APPFONT ( 194, 23 ) ; Size = MAP_APPFONT ( 50, 14 ) ; TabStop = TRUE ; }; HelpButton BTN_HELP { Pos = MAP_APPFONT ( 194, 43 ) ; Size = MAP_APPFONT ( 50, 14 ) ; TabStop = TRUE ; }; }; // -------------------- // - DLG_FILTEREMBOSS - // -------------------- TabPage RID_SVX_GRFFILTER_DLG_EMBOSS_TAB { HelpID = "cui:TabPage:RID_SVX_GRFFILTER_DLG_EMBOSS_TAB"; Pos = MAP_APPFONT ( 0, 0 ) ; Size = MAP_APPFONT ( 0, 0 ) ; }; ModalDialog RID_SVX_GRFFILTER_DLG_EMBOSS { HelpID = CMD_SID_GRFFILTER_EMBOSS; OutputSize = TRUE ; Moveable = TRUE ; SVLook = TRUE ; Size = MAP_APPFONT ( 250, 100 ) ; Text [ en-US ] = "Relief" ; FixedLine FL_PARAMETER { Pos = MAP_APPFONT ( 6 , 3 ) ; Size = MAP_APPFONT ( 182, RSC_CD_FIXEDLINE_HEIGHT ) ; Text [ en-US ] = "Parameters"; }; Control CTL_PREVIEW { Pos = MAP_APPFONT ( 104 , 3 + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP ) ; Size = MAP_APPFONT ( 81, 73 ) ; }; #define MA_Y12 3 + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP FixedText DLG_FILTEREMBOSS_FT_LIGHT { Pos = MAP_APPFONT ( 12 , MA_Y12 ) ; Size = MAP_APPFONT ( 77 , 10 ) ; Text [ en-US ] = "Light source" ; }; #define MA_Y13 MA_Y12 + RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_CTRL_DESC_Y Control DLG_FILTEREMBOSS_CTL_LIGHT { HelpID = HID_GRFFILTER_EMBOSS_LIGHT ; Border = TRUE ; Pos = MAP_APPFONT ( 12 , MA_Y13 ) ; Size = MAP_APPFONT ( 77 , 60 ) ; TabStop = TRUE ; }; OKButton BTN_OK { Pos = MAP_APPFONT ( 194, 6 ) ; Size = MAP_APPFONT ( 50, 14 ) ; TabStop = TRUE ; DefButton = TRUE ; }; CancelButton BTN_CANCEL { Pos = MAP_APPFONT ( 194, 23 ) ; Size = MAP_APPFONT ( 50, 14 ) ; TabStop = TRUE ; }; HelpButton BTN_HELP { Pos = MAP_APPFONT ( 194, 43 ) ; Size = MAP_APPFONT ( 50, 14 ) ; TabStop = TRUE ; }; }; // -------------------- // - DLG_FILTERSMOOTH - // -------------------- ModalDialog RID_SVX_GRFFILTER_DLG_SMOOTH { HelpID = CMD_SID_GRFFILTER_SMOOTH; OutputSize = TRUE ; Moveable = TRUE ; SVLook = TRUE ; Size = MAP_APPFONT ( 250, 100 ) ; Text [ en-US ] = "Smooth" ; FixedLine FL_PARAMETER { Pos = MAP_APPFONT ( 6 , 3 ) ; Size = MAP_APPFONT ( 182, RSC_CD_FIXEDLINE_HEIGHT ) ; Text [ en-US ] = "Parameters"; }; Control CTL_PREVIEW { Pos = MAP_APPFONT ( 104 , 3 + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP ) ; Size = MAP_APPFONT ( 81, 73 ) ; }; #define MA_Y14 3 + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP FixedText DLG_FILTERSMOOTH_FT_RADIUS { Pos = MAP_APPFONT ( 12 , MA_Y14 ) ; Size = MAP_APPFONT ( 77 , 10 ) ; Text [ en-US ] = "Smooth Radius" ; }; #define MA_Y15 MA_Y14 + RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_CTRL_DESC_Y NumericField DLG_FILTERSMOOTH_MTR_RADIUS { HelpID = "cui:NumericField:RID_SVX_GRFFILTER_DLG_SMOOTH:DLG_FILTERSMOOTH_MTR_RADIUS"; Border = TRUE ; Pos = MAP_APPFONT ( 12 , MA_Y15 ); Size = MAP_APPFONT ( 35 , 12 ); TabStop = TRUE; Right = TRUE; Repeat = TRUE; Spin = TRUE; Minimum = 0; Maximum = 1000; StrictFormat = TRUE; First = 1; DecimalDigits = 1; Last = 1000; SpinSize = 2; }; OKButton BTN_OK { Pos = MAP_APPFONT ( 194, 6 ) ; Size = MAP_APPFONT ( 50, 14 ) ; TabStop = TRUE ; DefButton = TRUE ; }; CancelButton BTN_CANCEL { Pos = MAP_APPFONT ( 194, 23 ) ; Size = MAP_APPFONT ( 50, 14 ) ; TabStop = TRUE ; }; HelpButton BTN_HELP { Pos = MAP_APPFONT ( 194, 43 ) ; Size = MAP_APPFONT ( 50, 14 ) ; TabStop = TRUE ; }; }; /* vim:set shiftwidth=4 softtabstop=4 expandtab: */