1*cdf0e10cSrcweir/************************************************************************* 2*cdf0e10cSrcweir * 3*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4*cdf0e10cSrcweir * 5*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates. 6*cdf0e10cSrcweir * 7*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite 8*cdf0e10cSrcweir * 9*cdf0e10cSrcweir * This file is part of OpenOffice.org. 10*cdf0e10cSrcweir * 11*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify 12*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3 13*cdf0e10cSrcweir * only, as published by the Free Software Foundation. 14*cdf0e10cSrcweir * 15*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful, 16*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of 17*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details 19*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code). 20*cdf0e10cSrcweir * 21*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License 22*cdf0e10cSrcweir * version 3 along with OpenOffice.org. If not, see 23*cdf0e10cSrcweir * <http://www.openoffice.org/license.html> 24*cdf0e10cSrcweir * for a copy of the LGPLv3 License. 25*cdf0e10cSrcweir * 26*cdf0e10cSrcweir ************************************************************************/ 27*cdf0e10cSrcweir // pragma ---------------------------------------------------------------- 28*cdf0e10cSrcweir 29*cdf0e10cSrcweir#include <svtools/controldims.hrc> 30*cdf0e10cSrcweir#include <cuires.hrc> 31*cdf0e10cSrcweir#include "textanim.hrc" 32*cdf0e10cSrcweir#include <svx/dialogs.hrc> 33*cdf0e10cSrcweir 34*cdf0e10cSrcweir// direction image buttons 35*cdf0e10cSrcweir#define MA_HALFBUTTON_WIDTH 7 36*cdf0e10cSrcweir#define MA_BUTTON_WIDTH (2 * MA_HALFBUTTON_WIDTH) 37*cdf0e10cSrcweir#define MA_BUTTON_HEIGHT (2 * MA_HALFBUTTON_WIDTH) 38*cdf0e10cSrcweir#define BUTTON_SIZE MAP_APPFONT( MA_BUTTON_WIDTH, MA_BUTTON_WIDTH ) 39*cdf0e10cSrcweir#define MA_MOVEBUT_GRACE_X 6 40*cdf0e10cSrcweir 41*cdf0e10cSrcweir// height of first group Text effects 42*cdf0e10cSrcweir#define MA_EFFECTSGROUP_HEIGHT (RSC_CD_FIXEDLINE_HEIGHT + \ 43*cdf0e10cSrcweir RSC_SP_FLGR_INNERBORDER_LEFT + \ 44*cdf0e10cSrcweir/* direction buttons */ 3*MA_BUTTON_HEIGHT + \ 45*cdf0e10cSrcweir RSC_SP_FLGR_INNERBORDER_BOTTOM + RSC_SP_FLGR_SPACE_Y) 46*cdf0e10cSrcweir 47*cdf0e10cSrcweir// height of second group height of FIXEDTEXT 48*cdf0e10cSrcweir#define MA_PROPERTIESGROUP_HEIGHT (RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_LEFT + \ 49*cdf0e10cSrcweir/* text initially visible */ RSC_CD_CHECKBOX_HEIGHT + RSC_SP_CTRL_GROUP_Y + \ 50*cdf0e10cSrcweir/* text finally visible */ RSC_CD_CHECKBOX_HEIGHT + RSC_SP_CTRL_GROUP_Y + \ 51*cdf0e10cSrcweir/* animation runs */ RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_CTRL_GROUP_Y + \ 52*cdf0e10cSrcweir/* number of runs */ RSC_CD_TEXTBOX_HEIGHT + RSC_SP_CTRL_GROUP_Y + \ 53*cdf0e10cSrcweir/* step size */ RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_CTRL_GROUP_Y + \ 54*cdf0e10cSrcweir/* number of pixel */ RSC_CD_TEXTBOX_HEIGHT + RSC_SP_CTRL_GROUP_Y + \ 55*cdf0e10cSrcweir/* step delay */ RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_CTRL_GROUP_Y + \ 56*cdf0e10cSrcweir/* delay time */ RSC_CD_TEXTBOX_HEIGHT) 57*cdf0e10cSrcweir 58*cdf0e10cSrcweir 59*cdf0e10cSrcweir// left space for real controls 60*cdf0e10cSrcweir#define MA_LEFT_SPACE (RSC_SP_TBPG_INNERBORDER_LEFT + RSC_SP_FLGR_INNERBORDER_LEFT) 61*cdf0e10cSrcweir 62*cdf0e10cSrcweir// tabpage total size 63*cdf0e10cSrcweir#define MA_TOTAL_WIDTH 260 64*cdf0e10cSrcweir#define MA_TOTAL_HEIGHT RSC_SP_TBPG_INNERBORDER_TOP + MA_EFFECTSGROUP_HEIGHT + MA_PROPERTIESGROUP_HEIGHT + RSC_SP_TBPG_INNERBORDER_BOTTOM 65*cdf0e10cSrcweir 66*cdf0e10cSrcweir// X position and width of effects drop down 67*cdf0e10cSrcweir#define MA_EFFECTLIST_X 50 68*cdf0e10cSrcweir#define MA_EFFECTLIST_WIDTH 95 69*cdf0e10cSrcweir 70*cdf0e10cSrcweir 71*cdf0e10cSrcweir // RID_SVXPAGE_TEXTANIMATION --------------------------------------------- 72*cdf0e10cSrcweirTabPage RID_SVXPAGE_TEXTANIMATION 73*cdf0e10cSrcweir{ 74*cdf0e10cSrcweir HelpID = "cui:TabPage:RID_SVXPAGE_TEXTANIMATION"; 75*cdf0e10cSrcweir SVLook = TRUE ; 76*cdf0e10cSrcweir Hide = TRUE ; 77*cdf0e10cSrcweir Size = MAP_APPFONT ( MA_TOTAL_WIDTH , 185 ) ; 78*cdf0e10cSrcweir Text [ en-US ] = "Animation" ; 79*cdf0e10cSrcweir FixedLine FL_EFFECT 80*cdf0e10cSrcweir { 81*cdf0e10cSrcweir Pos = MAP_APPFONT ( RSC_SP_TBPG_INNERBORDER_LEFT, RSC_SP_TBPG_INNERBORDER_TOP ) ; 82*cdf0e10cSrcweir Size = MAP_APPFONT ( MA_TOTAL_WIDTH - RSC_SP_TBPG_INNERBORDER_LEFT - RSC_SP_TBPG_INNERBORDER_RIGHT, RSC_CD_FIXEDLINE_HEIGHT ) ; 83*cdf0e10cSrcweir Text [ en-US ] = "Text animation effects" ; 84*cdf0e10cSrcweir }; 85*cdf0e10cSrcweir#define MA_CURR_Y RSC_SP_TBPG_INNERBORDER_TOP + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP + MA_BUTTON_HEIGHT 86*cdf0e10cSrcweir FixedText FT_EFFECTS 87*cdf0e10cSrcweir { 88*cdf0e10cSrcweir Pos = MAP_APPFONT ( RSC_SP_TBPG_INNERBORDER_LEFT + RSC_SP_FLGR_INNERBORDER_LEFT, MA_CURR_Y + 3 ) ; 89*cdf0e10cSrcweir Size = MAP_APPFONT ( MA_EFFECTLIST_X - RSC_SP_CTRL_DESC_X - RSC_SP_TBPG_INNERBORDER_LEFT - RSC_SP_FLGR_INNERBORDER_LEFT, 90*cdf0e10cSrcweir RSC_CD_FIXEDTEXT_HEIGHT ) ; 91*cdf0e10cSrcweir Text [ en-US ] = "E~ffect" ; 92*cdf0e10cSrcweir }; 93*cdf0e10cSrcweir ListBox LB_EFFECT 94*cdf0e10cSrcweir { 95*cdf0e10cSrcweir HelpID = "cui:ListBox:RID_SVXPAGE_TEXTANIMATION:LB_EFFECT"; 96*cdf0e10cSrcweir Border = TRUE ; 97*cdf0e10cSrcweir Pos = MAP_APPFONT ( MA_EFFECTLIST_X, MA_CURR_Y + 1 ) ; 98*cdf0e10cSrcweir Size = MAP_APPFONT ( MA_EFFECTLIST_WIDTH , 57 ) ; 99*cdf0e10cSrcweir TabStop = TRUE ; 100*cdf0e10cSrcweir DropDown = TRUE ; 101*cdf0e10cSrcweir StringList [ en-US ] = 102*cdf0e10cSrcweir { 103*cdf0e10cSrcweir < "No Effect" ; Default ; > ; 104*cdf0e10cSrcweir < "Blink" ; Default ; > ; 105*cdf0e10cSrcweir < "Scroll Through" ; Default ; > ; 106*cdf0e10cSrcweir < "Scroll Back and Forth" ; Default ; > ; 107*cdf0e10cSrcweir < "Scroll In" ; Default ; > ; 108*cdf0e10cSrcweir }; 109*cdf0e10cSrcweir }; 110*cdf0e10cSrcweir FixedText FT_DIRECTION 111*cdf0e10cSrcweir { 112*cdf0e10cSrcweir Pos = MAP_APPFONT ( MA_EFFECTLIST_X + MA_EFFECTLIST_WIDTH + RSC_SP_CTRL_X, MA_CURR_Y + 3 ) ; 113*cdf0e10cSrcweir Size = MAP_APPFONT ( MA_TOTAL_WIDTH - 114*cdf0e10cSrcweir (MA_MOVEBUT_GRACE_X + 3*MA_BUTTON_WIDTH + RSC_SP_TBPG_INNERBORDER_RIGHT + RSC_SP_FLGR_INNERBORDER_RIGHT) - 115*cdf0e10cSrcweir (MA_EFFECTLIST_X + MA_EFFECTLIST_WIDTH + RSC_SP_CTRL_X + RSC_SP_CTRL_DESC_X + 6), 116*cdf0e10cSrcweir RSC_CD_FIXEDTEXT_HEIGHT ) ; 117*cdf0e10cSrcweir Right = TRUE; 118*cdf0e10cSrcweir Text [ en-US ] = "Direction" ; 119*cdf0e10cSrcweir }; 120*cdf0e10cSrcweir ImageButton BTN_UP 121*cdf0e10cSrcweir { 122*cdf0e10cSrcweir HelpID = "cui:ImageButton:RID_SVXPAGE_TEXTANIMATION:BTN_UP"; 123*cdf0e10cSrcweir Pos = MAP_APPFONT ( MA_TOTAL_WIDTH - MA_MOVEBUT_GRACE_X - 2*MA_BUTTON_WIDTH - RSC_SP_TBPG_INNERBORDER_RIGHT - RSC_SP_FLGR_INNERBORDER_RIGHT, 124*cdf0e10cSrcweir RSC_SP_TBPG_INNERBORDER_TOP + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP ); 125*cdf0e10cSrcweir Size = BUTTON_SIZE ; 126*cdf0e10cSrcweir Symbol = IMAGEBUTTON_ARROW_UP ; 127*cdf0e10cSrcweir QuickHelpText [ en-US ] = "To Top" ; 128*cdf0e10cSrcweir }; 129*cdf0e10cSrcweir ImageButton BTN_LEFT 130*cdf0e10cSrcweir { 131*cdf0e10cSrcweir HelpID = "cui:ImageButton:RID_SVXPAGE_TEXTANIMATION:BTN_LEFT"; 132*cdf0e10cSrcweir Pos = MAP_APPFONT ( MA_TOTAL_WIDTH - MA_MOVEBUT_GRACE_X - 3*MA_BUTTON_WIDTH - RSC_SP_TBPG_INNERBORDER_RIGHT - RSC_SP_FLGR_INNERBORDER_RIGHT, 133*cdf0e10cSrcweir RSC_SP_TBPG_INNERBORDER_TOP + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP + MA_BUTTON_HEIGHT); 134*cdf0e10cSrcweir Size = BUTTON_SIZE ; 135*cdf0e10cSrcweir Symbol = IMAGEBUTTON_ARROW_LEFT ; 136*cdf0e10cSrcweir QuickHelpText [ en-US ] = "To Left" ; 137*cdf0e10cSrcweir }; 138*cdf0e10cSrcweir ImageButton BTN_RIGHT 139*cdf0e10cSrcweir { 140*cdf0e10cSrcweir HelpID = "cui:ImageButton:RID_SVXPAGE_TEXTANIMATION:BTN_RIGHT"; 141*cdf0e10cSrcweir Pos = MAP_APPFONT ( MA_TOTAL_WIDTH - MA_MOVEBUT_GRACE_X - MA_BUTTON_WIDTH - RSC_SP_TBPG_INNERBORDER_RIGHT - RSC_SP_FLGR_INNERBORDER_RIGHT, 142*cdf0e10cSrcweir RSC_SP_TBPG_INNERBORDER_TOP + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP + MA_BUTTON_HEIGHT ) ; 143*cdf0e10cSrcweir Size = BUTTON_SIZE ; 144*cdf0e10cSrcweir Symbol = IMAGEBUTTON_ARROW_RIGHT ; 145*cdf0e10cSrcweir QuickHelpText [ en-US ] = "To Right" ; 146*cdf0e10cSrcweir }; 147*cdf0e10cSrcweir ImageButton BTN_DOWN 148*cdf0e10cSrcweir { 149*cdf0e10cSrcweir HelpID = "cui:ImageButton:RID_SVXPAGE_TEXTANIMATION:BTN_DOWN"; 150*cdf0e10cSrcweir Pos = MAP_APPFONT ( MA_TOTAL_WIDTH - MA_MOVEBUT_GRACE_X - 2*MA_BUTTON_WIDTH - RSC_SP_TBPG_INNERBORDER_RIGHT - RSC_SP_FLGR_INNERBORDER_RIGHT, 151*cdf0e10cSrcweir RSC_SP_TBPG_INNERBORDER_TOP + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP + 2*MA_BUTTON_HEIGHT ) ; 152*cdf0e10cSrcweir Size = BUTTON_SIZE ; 153*cdf0e10cSrcweir Symbol = IMAGEBUTTON_ARROW_DOWN ; 154*cdf0e10cSrcweir QuickHelpText [ en-US ] = "To Bottom" ; 155*cdf0e10cSrcweir }; 156*cdf0e10cSrcweir 157*cdf0e10cSrcweir FixedLine FL_PROPERTIES 158*cdf0e10cSrcweir { 159*cdf0e10cSrcweir Pos = MAP_APPFONT ( RSC_SP_TBPG_INNERBORDER_LEFT , RSC_SP_TBPG_INNERBORDER_TOP + MA_EFFECTSGROUP_HEIGHT ) ; 160*cdf0e10cSrcweir Size = MAP_APPFONT ( MA_TOTAL_WIDTH - RSC_SP_TBPG_INNERBORDER_LEFT - RSC_SP_TBPG_INNERBORDER_RIGHT, RSC_CD_FIXEDLINE_HEIGHT ) ; 161*cdf0e10cSrcweir Text [ en-US ] = "Properties" ; 162*cdf0e10cSrcweir }; 163*cdf0e10cSrcweir#define MA_CURR_Y2 RSC_SP_TBPG_INNERBORDER_TOP + MA_EFFECTSGROUP_HEIGHT + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP 164*cdf0e10cSrcweir TriStateBox TSB_START_INSIDE 165*cdf0e10cSrcweir { 166*cdf0e10cSrcweir HelpID = "cui:TriStateBox:RID_SVXPAGE_TEXTANIMATION:TSB_START_INSIDE"; 167*cdf0e10cSrcweir TabStop = TRUE ; 168*cdf0e10cSrcweir Pos = MAP_APPFONT ( RSC_SP_TBPG_INNERBORDER_LEFT + RSC_SP_FLGR_INNERBORDER_LEFT, MA_CURR_Y2 ) ; 169*cdf0e10cSrcweir Size = MAP_APPFONT ( MA_TOTAL_WIDTH - RSC_SP_TBPG_INNERBORDER_LEFT - RSC_SP_TBPG_INNERBORDER_RIGHT - 12, RSC_CD_CHECKBOX_HEIGHT ); 170*cdf0e10cSrcweir Text [ en-US ] = "S~tart inside" ; 171*cdf0e10cSrcweir }; 172*cdf0e10cSrcweir#define MA_CURR_Y3 MA_CURR_Y2 + RSC_CD_CHECKBOX_HEIGHT + RSC_SP_CTRL_GROUP_Y 173*cdf0e10cSrcweir TriStateBox TSB_STOP_INSIDE 174*cdf0e10cSrcweir { 175*cdf0e10cSrcweir HelpID = "cui:TriStateBox:RID_SVXPAGE_TEXTANIMATION:TSB_STOP_INSIDE"; 176*cdf0e10cSrcweir TabStop = TRUE ; 177*cdf0e10cSrcweir Pos = MAP_APPFONT ( RSC_SP_TBPG_INNERBORDER_LEFT + RSC_SP_FLGR_INNERBORDER_LEFT, MA_CURR_Y3 ) ; 178*cdf0e10cSrcweir Size = MAP_APPFONT ( MA_TOTAL_WIDTH - RSC_SP_TBPG_INNERBORDER_LEFT - RSC_SP_TBPG_INNERBORDER_RIGHT - 12, RSC_CD_CHECKBOX_HEIGHT ); 179*cdf0e10cSrcweir Text [ en-US ] = "Text visible when exiting" ; 180*cdf0e10cSrcweir }; 181*cdf0e10cSrcweir#define MA_CURR_Y4 MA_CURR_Y3 + RSC_CD_CHECKBOX_HEIGHT + RSC_SP_CTRL_GROUP_Y 182*cdf0e10cSrcweir FixedText FT_COUNT 183*cdf0e10cSrcweir { 184*cdf0e10cSrcweir Pos = MAP_APPFONT ( RSC_SP_TBPG_INNERBORDER_LEFT + RSC_SP_FLGR_INNERBORDER_LEFT, MA_CURR_Y4 ) ; 185*cdf0e10cSrcweir Size = MAP_APPFONT ( MA_TOTAL_WIDTH - RSC_SP_TBPG_INNERBORDER_LEFT - RSC_SP_TBPG_INNERBORDER_RIGHT - 12, 186*cdf0e10cSrcweir RSC_CD_FIXEDTEXT_HEIGHT ) ; 187*cdf0e10cSrcweir Text [ en-US ] = "Animation cycles" ; 188*cdf0e10cSrcweir }; 189*cdf0e10cSrcweir#define MA_CURR_Y5 MA_CURR_Y4 + RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP 190*cdf0e10cSrcweir TriStateBox TSB_ENDLESS 191*cdf0e10cSrcweir { 192*cdf0e10cSrcweir HelpID = "cui:TriStateBox:RID_SVXPAGE_TEXTANIMATION:TSB_ENDLESS"; 193*cdf0e10cSrcweir TabStop = TRUE ; 194*cdf0e10cSrcweir Pos = MAP_APPFONT ( RSC_SP_TBPG_INNERBORDER_LEFT + RSC_SP_FLGR_INNERBORDER_LEFT + 9 , MA_CURR_Y5 + 2 ) ; 195*cdf0e10cSrcweir Size = MAP_APPFONT ( 71 , RSC_CD_CHECKBOX_HEIGHT ) ; 196*cdf0e10cSrcweir Text [ en-US ] = "~Continuous" ; 197*cdf0e10cSrcweir }; 198*cdf0e10cSrcweir NumericField NUM_FLD_COUNT 199*cdf0e10cSrcweir { 200*cdf0e10cSrcweir HelpID = "cui:NumericField:RID_SVXPAGE_TEXTANIMATION:NUM_FLD_COUNT"; 201*cdf0e10cSrcweir Border = TRUE ; 202*cdf0e10cSrcweir Pos = MAP_APPFONT ( RSC_SP_TBPG_INNERBORDER_LEFT + RSC_SP_FLGR_INNERBORDER_LEFT + 80 + RSC_SP_CTRL_GROUP_X, 203*cdf0e10cSrcweir MA_CURR_Y5 ) ; 204*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , RSC_CD_TEXTBOX_HEIGHT ) ; 205*cdf0e10cSrcweir TabStop = TRUE ; 206*cdf0e10cSrcweir Repeat = TRUE ; 207*cdf0e10cSrcweir Spin = TRUE ; 208*cdf0e10cSrcweir Minimum = 1 ; 209*cdf0e10cSrcweir First = 1 ; 210*cdf0e10cSrcweir }; 211*cdf0e10cSrcweir#define MA_CURR_Y6 MA_CURR_Y5 + RSC_CD_TEXTBOX_HEIGHT + RSC_SP_CTRL_GROUP_Y 212*cdf0e10cSrcweir FixedText FT_AMOUNT 213*cdf0e10cSrcweir { 214*cdf0e10cSrcweir Pos = MAP_APPFONT ( RSC_SP_TBPG_INNERBORDER_LEFT + RSC_SP_FLGR_INNERBORDER_LEFT, MA_CURR_Y6 ) ; 215*cdf0e10cSrcweir Size = MAP_APPFONT ( MA_TOTAL_WIDTH - RSC_SP_TBPG_INNERBORDER_LEFT - RSC_SP_TBPG_INNERBORDER_RIGHT - 12, 216*cdf0e10cSrcweir RSC_CD_FIXEDTEXT_HEIGHT ) ; 217*cdf0e10cSrcweir Text [ en-US ] = "Increment" ; 218*cdf0e10cSrcweir }; 219*cdf0e10cSrcweir#define MA_CURR_Y7 MA_CURR_Y6 + RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP 220*cdf0e10cSrcweir TriStateBox TSB_PIXEL 221*cdf0e10cSrcweir { 222*cdf0e10cSrcweir HelpID = "cui:TriStateBox:RID_SVXPAGE_TEXTANIMATION:TSB_PIXEL"; 223*cdf0e10cSrcweir TabStop = TRUE ; 224*cdf0e10cSrcweir Pos = MAP_APPFONT ( RSC_SP_TBPG_INNERBORDER_LEFT + RSC_SP_FLGR_INNERBORDER_LEFT + 9 , MA_CURR_Y7 + 2 ) ; 225*cdf0e10cSrcweir Size = MAP_APPFONT ( 71 , RSC_CD_CHECKBOX_HEIGHT ) ; 226*cdf0e10cSrcweir Text [ en-US ] = "~Pixels" ; 227*cdf0e10cSrcweir }; 228*cdf0e10cSrcweir MetricField MTR_FLD_AMOUNT 229*cdf0e10cSrcweir { 230*cdf0e10cSrcweir HelpID = "cui:MetricField:RID_SVXPAGE_TEXTANIMATION:MTR_FLD_AMOUNT"; 231*cdf0e10cSrcweir Border = TRUE ; 232*cdf0e10cSrcweir Pos = MAP_APPFONT ( RSC_SP_TBPG_INNERBORDER_LEFT + RSC_SP_FLGR_INNERBORDER_LEFT + 80 + RSC_SP_CTRL_GROUP_X, 233*cdf0e10cSrcweir MA_CURR_Y7 ) ; 234*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , RSC_CD_TEXTBOX_HEIGHT ) ; 235*cdf0e10cSrcweir TabStop = TRUE ; 236*cdf0e10cSrcweir Repeat = TRUE ; 237*cdf0e10cSrcweir Spin = TRUE ; 238*cdf0e10cSrcweir StrictFormat = TRUE ; 239*cdf0e10cSrcweir Unit = FUNIT_CUSTOM ; 240*cdf0e10cSrcweir CustomUnitText = " Pixel" ; 241*cdf0e10cSrcweir Minimum = 1 ; 242*cdf0e10cSrcweir First = 1 ; 243*cdf0e10cSrcweir Maximum = 10000 ; 244*cdf0e10cSrcweir Last = 10000 ; 245*cdf0e10cSrcweir }; 246*cdf0e10cSrcweir#define MA_CURR_Y8 MA_CURR_Y7 + RSC_CD_TEXTBOX_HEIGHT + RSC_SP_CTRL_GROUP_Y 247*cdf0e10cSrcweir FixedText FT_DELAY 248*cdf0e10cSrcweir { 249*cdf0e10cSrcweir Pos = MAP_APPFONT ( RSC_SP_TBPG_INNERBORDER_LEFT + RSC_SP_FLGR_INNERBORDER_LEFT, MA_CURR_Y8 ) ; 250*cdf0e10cSrcweir Size = MAP_APPFONT ( MA_TOTAL_WIDTH - RSC_SP_TBPG_INNERBORDER_LEFT - RSC_SP_TBPG_INNERBORDER_RIGHT - 12, 251*cdf0e10cSrcweir RSC_CD_FIXEDTEXT_HEIGHT ) ; 252*cdf0e10cSrcweir Text [ en-US ] = "Delay" ; 253*cdf0e10cSrcweir }; 254*cdf0e10cSrcweir#define MA_CURR_Y9 MA_CURR_Y8 + RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP 255*cdf0e10cSrcweir TriStateBox TSB_AUTO 256*cdf0e10cSrcweir { 257*cdf0e10cSrcweir HelpID = "cui:TriStateBox:RID_SVXPAGE_TEXTANIMATION:TSB_AUTO"; 258*cdf0e10cSrcweir Pos = MAP_APPFONT ( RSC_SP_TBPG_INNERBORDER_LEFT + RSC_SP_FLGR_INNERBORDER_LEFT + 9 , MA_CURR_Y9 + 2 ) ; 259*cdf0e10cSrcweir Size = MAP_APPFONT ( 71 , RSC_CD_CHECKBOX_HEIGHT ) ; 260*cdf0e10cSrcweir TabStop = TRUE ; 261*cdf0e10cSrcweir Text [ en-US ] = "~Automatic" ; 262*cdf0e10cSrcweir }; 263*cdf0e10cSrcweir MetricField MTR_FLD_DELAY 264*cdf0e10cSrcweir { 265*cdf0e10cSrcweir HelpID = "cui:MetricField:RID_SVXPAGE_TEXTANIMATION:MTR_FLD_DELAY"; 266*cdf0e10cSrcweir Border = TRUE ; 267*cdf0e10cSrcweir Pos = MAP_APPFONT ( RSC_SP_TBPG_INNERBORDER_LEFT + RSC_SP_FLGR_INNERBORDER_LEFT + 80 + RSC_SP_CTRL_GROUP_X, 268*cdf0e10cSrcweir MA_CURR_Y9 ) ; 269*cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , RSC_CD_TEXTBOX_HEIGHT ) ; 270*cdf0e10cSrcweir TabStop = TRUE ; 271*cdf0e10cSrcweir Repeat = TRUE ; 272*cdf0e10cSrcweir Spin = TRUE ; 273*cdf0e10cSrcweir Spinsize = 50 ; 274*cdf0e10cSrcweir StrictFormat = TRUE ; 275*cdf0e10cSrcweir Unit = FUNIT_CUSTOM ; 276*cdf0e10cSrcweir CustomUnitText = " ms" ; 277*cdf0e10cSrcweir Maximum = 30000 ; 278*cdf0e10cSrcweir Last = 30000 ; 279*cdf0e10cSrcweir }; 280*cdf0e10cSrcweir}; 281*cdf0e10cSrcweir // RID_SVXDLG_TEXT ------------------------------------------------------- 282*cdf0e10cSrcweirTabDialog RID_SVXDLG_TEXT 283*cdf0e10cSrcweir{ 284*cdf0e10cSrcweir OutputSize = TRUE ; 285*cdf0e10cSrcweir SVLook = TRUE ; 286*cdf0e10cSrcweir Size = MAP_APPFONT ( 289 , 185 + 46 ) ; 287*cdf0e10cSrcweir Text [ en-US ] = "Text" ; 288*cdf0e10cSrcweir Moveable = TRUE ; 289*cdf0e10cSrcweir TabControl 1 290*cdf0e10cSrcweir { 291*cdf0e10cSrcweir OutputSize = TRUE ; 292*cdf0e10cSrcweir Pos = MAP_APPFONT ( 3 , 3 ) ; 293*cdf0e10cSrcweir Size = MAP_APPFONT ( 260 , 185 ) ; 294*cdf0e10cSrcweir PageList = 295*cdf0e10cSrcweir { 296*cdf0e10cSrcweir PageItem 297*cdf0e10cSrcweir { 298*cdf0e10cSrcweir PageResID = RID_SVXPAGE_TEXTATTR ; 299*cdf0e10cSrcweir Identifier = RID_SVXPAGE_TEXTATTR ; 300*cdf0e10cSrcweir Text [ en-US ] = "Text" ; 301*cdf0e10cSrcweir }; 302*cdf0e10cSrcweir PageItem 303*cdf0e10cSrcweir { 304*cdf0e10cSrcweir PageResID = RID_SVXPAGE_TEXTANIMATION ; 305*cdf0e10cSrcweir Identifier = RID_SVXPAGE_TEXTANIMATION ; 306*cdf0e10cSrcweir Text [ en-US ] = "Text Animation" ; 307*cdf0e10cSrcweir }; 308*cdf0e10cSrcweir }; 309*cdf0e10cSrcweir }; 310*cdf0e10cSrcweir}; 311*cdf0e10cSrcweir // ******************************************************************* EOF 312*cdf0e10cSrcweir 313*cdf0e10cSrcweir 314*cdf0e10cSrcweir 315*cdf0e10cSrcweir 316*cdf0e10cSrcweir 317*cdf0e10cSrcweir 318*cdf0e10cSrcweir 319*cdf0e10cSrcweir 320*cdf0e10cSrcweir 321*cdf0e10cSrcweir 322*cdf0e10cSrcweir 323*cdf0e10cSrcweir 324*cdf0e10cSrcweir 325*cdf0e10cSrcweir 326*cdf0e10cSrcweir 327*cdf0e10cSrcweir 328*cdf0e10cSrcweir 329*cdf0e10cSrcweir 330*cdf0e10cSrcweir 331*cdf0e10cSrcweir 332*cdf0e10cSrcweir 333*cdf0e10cSrcweir 334*cdf0e10cSrcweir 335