10e2af6afSAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 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 10cdf0e10cSrcweir * 110e2af6afSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12cdf0e10cSrcweir * 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. 19cdf0e10cSrcweir * 200e2af6afSAndrew Rist *************************************************************/ 210e2af6afSAndrew Rist 22cdf0e10cSrcweir// pragma ---------------------------------------------------------------- 23cdf0e10cSrcweir 24cdf0e10cSrcweir#include <svtools/controldims.hrc> 25cdf0e10cSrcweir#include <cuires.hrc> 26cdf0e10cSrcweir#include "textanim.hrc" 27cdf0e10cSrcweir#include <svx/dialogs.hrc> 28cdf0e10cSrcweir 29cdf0e10cSrcweir// direction image buttons 30cdf0e10cSrcweir#define MA_HALFBUTTON_WIDTH 7 31cdf0e10cSrcweir#define MA_BUTTON_WIDTH (2 * MA_HALFBUTTON_WIDTH) 32cdf0e10cSrcweir#define MA_BUTTON_HEIGHT (2 * MA_HALFBUTTON_WIDTH) 33cdf0e10cSrcweir#define BUTTON_SIZE MAP_APPFONT ( MA_BUTTON_WIDTH, MA_BUTTON_WIDTH ) 34cdf0e10cSrcweir#define MA_MOVEBUT_GRACE_X 6 35cdf0e10cSrcweir 36cdf0e10cSrcweir// height of first group Text effects 37cdf0e10cSrcweir#define MA_EFFECTSGROUP_HEIGHT (RSC_CD_FIXEDLINE_HEIGHT + \ 38cdf0e10cSrcweir RSC_SP_FLGR_INNERBORDER_LEFT + \ 39cdf0e10cSrcweir/* direction buttons */ 3*MA_BUTTON_HEIGHT + \ 40cdf0e10cSrcweir RSC_SP_FLGR_INNERBORDER_BOTTOM + RSC_SP_FLGR_SPACE_Y) 41cdf0e10cSrcweir 42cdf0e10cSrcweir// height of second group height of FIXEDTEXT 43cdf0e10cSrcweir#define MA_PROPERTIESGROUP_HEIGHT (RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_LEFT + \ 44cdf0e10cSrcweir/* text initially visible */ RSC_CD_CHECKBOX_HEIGHT + RSC_SP_CTRL_GROUP_Y + \ 45cdf0e10cSrcweir/* text finally visible */ RSC_CD_CHECKBOX_HEIGHT + RSC_SP_CTRL_GROUP_Y + \ 46cdf0e10cSrcweir/* animation runs */ RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_CTRL_GROUP_Y + \ 47cdf0e10cSrcweir/* number of runs */ RSC_CD_TEXTBOX_HEIGHT + RSC_SP_CTRL_GROUP_Y + \ 48cdf0e10cSrcweir/* step size */ RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_CTRL_GROUP_Y + \ 49cdf0e10cSrcweir/* number of pixel */ RSC_CD_TEXTBOX_HEIGHT + RSC_SP_CTRL_GROUP_Y + \ 50cdf0e10cSrcweir/* step delay */ RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_CTRL_GROUP_Y + \ 51cdf0e10cSrcweir/* delay time */ RSC_CD_TEXTBOX_HEIGHT) 52cdf0e10cSrcweir 53cdf0e10cSrcweir 54cdf0e10cSrcweir// left space for real controls 55cdf0e10cSrcweir#define MA_LEFT_SPACE (RSC_SP_TBPG_INNERBORDER_LEFT + RSC_SP_FLGR_INNERBORDER_LEFT) 56cdf0e10cSrcweir 57cdf0e10cSrcweir// tabpage total size 58cdf0e10cSrcweir#define MA_TOTAL_WIDTH 260 59cdf0e10cSrcweir#define MA_TOTAL_HEIGHT RSC_SP_TBPG_INNERBORDER_TOP + MA_EFFECTSGROUP_HEIGHT + MA_PROPERTIESGROUP_HEIGHT + RSC_SP_TBPG_INNERBORDER_BOTTOM 60cdf0e10cSrcweir 61cdf0e10cSrcweir// X position and width of effects drop down 62cdf0e10cSrcweir#define MA_EFFECTLIST_X 50 63cdf0e10cSrcweir#define MA_EFFECTLIST_WIDTH 95 64cdf0e10cSrcweir 65cdf0e10cSrcweir 66cdf0e10cSrcweir// RID_SVXPAGE_TEXTANIMATION --------------------------------------------- 67cdf0e10cSrcweirTabPage RID_SVXPAGE_TEXTANIMATION 68cdf0e10cSrcweir{ 69cdf0e10cSrcweir HelpID = "cui:TabPage:RID_SVXPAGE_TEXTANIMATION" ; 70cdf0e10cSrcweir SVLook = TRUE ; 71cdf0e10cSrcweir Hide = TRUE ; 72cdf0e10cSrcweir Size = MAP_APPFONT ( MA_TOTAL_WIDTH, 185 ) ; 73cdf0e10cSrcweir Text [ en-US ] = "Animation" ; 74cdf0e10cSrcweir FixedLine FL_EFFECT 75cdf0e10cSrcweir { 76cdf0e10cSrcweir Pos = MAP_APPFONT ( RSC_SP_TBPG_INNERBORDER_LEFT, RSC_SP_TBPG_INNERBORDER_TOP ) ; 77cdf0e10cSrcweir Size = MAP_APPFONT ( MA_TOTAL_WIDTH - RSC_SP_TBPG_INNERBORDER_LEFT - RSC_SP_TBPG_INNERBORDER_RIGHT, RSC_CD_FIXEDLINE_HEIGHT ) ; 78cdf0e10cSrcweir Text [ en-US ] = "Text animation effects" ; 79cdf0e10cSrcweir }; 80cdf0e10cSrcweir#define MA_CURR_Y RSC_SP_TBPG_INNERBORDER_TOP + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP + MA_BUTTON_HEIGHT 81cdf0e10cSrcweir FixedText FT_EFFECTS 82cdf0e10cSrcweir { 83cdf0e10cSrcweir Pos = MAP_APPFONT ( RSC_SP_TBPG_INNERBORDER_LEFT + RSC_SP_FLGR_INNERBORDER_LEFT, MA_CURR_Y + 3 ) ; 84cdf0e10cSrcweir Size = MAP_APPFONT ( MA_EFFECTLIST_X - RSC_SP_CTRL_DESC_X - RSC_SP_TBPG_INNERBORDER_LEFT - RSC_SP_FLGR_INNERBORDER_LEFT, 85cdf0e10cSrcweir RSC_CD_FIXEDTEXT_HEIGHT ) ; 86cdf0e10cSrcweir Text [ en-US ] = "E~ffect" ; 87cdf0e10cSrcweir }; 88cdf0e10cSrcweir ListBox LB_EFFECT 89cdf0e10cSrcweir { 90cdf0e10cSrcweir HelpID = "cui:ListBox:RID_SVXPAGE_TEXTANIMATION:LB_EFFECT" ; 91cdf0e10cSrcweir Border = TRUE ; 92cdf0e10cSrcweir Pos = MAP_APPFONT ( MA_EFFECTLIST_X, MA_CURR_Y + 1 ) ; 93cdf0e10cSrcweir Size = MAP_APPFONT ( MA_EFFECTLIST_WIDTH, 57 ) ; 94cdf0e10cSrcweir TabStop = TRUE ; 95cdf0e10cSrcweir DropDown = TRUE ; 96cdf0e10cSrcweir StringList [ en-US ] = 97cdf0e10cSrcweir { 98cdf0e10cSrcweir < "No Effect" ; Default ; > ; 99cdf0e10cSrcweir < "Blink" ; Default ; > ; 100cdf0e10cSrcweir < "Scroll Through" ; Default ; > ; 101cdf0e10cSrcweir < "Scroll Back and Forth" ; Default ; > ; 102cdf0e10cSrcweir < "Scroll In" ; Default ; > ; 103cdf0e10cSrcweir }; 104cdf0e10cSrcweir }; 105cdf0e10cSrcweir FixedText FT_DIRECTION 106cdf0e10cSrcweir { 107cdf0e10cSrcweir Pos = MAP_APPFONT ( MA_EFFECTLIST_X + MA_EFFECTLIST_WIDTH + RSC_SP_CTRL_X, MA_CURR_Y + 3 ) ; 108cdf0e10cSrcweir Size = MAP_APPFONT ( MA_TOTAL_WIDTH - 109cdf0e10cSrcweir (MA_MOVEBUT_GRACE_X + 3*MA_BUTTON_WIDTH + RSC_SP_TBPG_INNERBORDER_RIGHT + RSC_SP_FLGR_INNERBORDER_RIGHT) - 110cdf0e10cSrcweir (MA_EFFECTLIST_X + MA_EFFECTLIST_WIDTH + RSC_SP_CTRL_X + RSC_SP_CTRL_DESC_X + 6), 111cdf0e10cSrcweir RSC_CD_FIXEDTEXT_HEIGHT ) ; 112cdf0e10cSrcweir Right = TRUE ; 113cdf0e10cSrcweir Text [ en-US ] = "Direction" ; 114cdf0e10cSrcweir }; 115cdf0e10cSrcweir ImageButton BTN_UP 116cdf0e10cSrcweir { 117cdf0e10cSrcweir HelpID = "cui:ImageButton:RID_SVXPAGE_TEXTANIMATION:BTN_UP" ; 118cdf0e10cSrcweir Pos = MAP_APPFONT ( MA_TOTAL_WIDTH - MA_MOVEBUT_GRACE_X - 2*MA_BUTTON_WIDTH - RSC_SP_TBPG_INNERBORDER_RIGHT - RSC_SP_FLGR_INNERBORDER_RIGHT, 119cdf0e10cSrcweir RSC_SP_TBPG_INNERBORDER_TOP + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP ) ; 120cdf0e10cSrcweir Size = BUTTON_SIZE ; 121cdf0e10cSrcweir Symbol = IMAGEBUTTON_ARROW_UP ; 122cdf0e10cSrcweir QuickHelpText [ en-US ] = "To Top" ; 123cdf0e10cSrcweir }; 124cdf0e10cSrcweir ImageButton BTN_LEFT 125cdf0e10cSrcweir { 126cdf0e10cSrcweir HelpID = "cui:ImageButton:RID_SVXPAGE_TEXTANIMATION:BTN_LEFT" ; 127cdf0e10cSrcweir Pos = MAP_APPFONT ( MA_TOTAL_WIDTH - MA_MOVEBUT_GRACE_X - 3*MA_BUTTON_WIDTH - RSC_SP_TBPG_INNERBORDER_RIGHT - RSC_SP_FLGR_INNERBORDER_RIGHT, 128cdf0e10cSrcweir RSC_SP_TBPG_INNERBORDER_TOP + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP + MA_BUTTON_HEIGHT) ; 129cdf0e10cSrcweir Size = BUTTON_SIZE ; 130cdf0e10cSrcweir Symbol = IMAGEBUTTON_ARROW_LEFT ; 131cdf0e10cSrcweir QuickHelpText [ en-US ] = "To Left" ; 132cdf0e10cSrcweir }; 133cdf0e10cSrcweir ImageButton BTN_RIGHT 134cdf0e10cSrcweir { 135cdf0e10cSrcweir HelpID = "cui:ImageButton:RID_SVXPAGE_TEXTANIMATION:BTN_RIGHT" ; 136cdf0e10cSrcweir Pos = MAP_APPFONT ( MA_TOTAL_WIDTH - MA_MOVEBUT_GRACE_X - MA_BUTTON_WIDTH - RSC_SP_TBPG_INNERBORDER_RIGHT - RSC_SP_FLGR_INNERBORDER_RIGHT, 137cdf0e10cSrcweir RSC_SP_TBPG_INNERBORDER_TOP + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP + MA_BUTTON_HEIGHT ) ; 138cdf0e10cSrcweir Size = BUTTON_SIZE ; 139cdf0e10cSrcweir Symbol = IMAGEBUTTON_ARROW_RIGHT ; 140cdf0e10cSrcweir QuickHelpText [ en-US ] = "To Right" ; 141cdf0e10cSrcweir }; 142cdf0e10cSrcweir ImageButton BTN_DOWN 143cdf0e10cSrcweir { 144cdf0e10cSrcweir HelpID = "cui:ImageButton:RID_SVXPAGE_TEXTANIMATION:BTN_DOWN" ; 145cdf0e10cSrcweir Pos = MAP_APPFONT ( MA_TOTAL_WIDTH - MA_MOVEBUT_GRACE_X - 2*MA_BUTTON_WIDTH - RSC_SP_TBPG_INNERBORDER_RIGHT - RSC_SP_FLGR_INNERBORDER_RIGHT, 146cdf0e10cSrcweir RSC_SP_TBPG_INNERBORDER_TOP + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP + 2*MA_BUTTON_HEIGHT ) ; 147cdf0e10cSrcweir Size = BUTTON_SIZE ; 148cdf0e10cSrcweir Symbol = IMAGEBUTTON_ARROW_DOWN ; 149cdf0e10cSrcweir QuickHelpText [ en-US ] = "To Bottom" ; 150cdf0e10cSrcweir }; 151cdf0e10cSrcweir 152cdf0e10cSrcweir FixedLine FL_PROPERTIES 153cdf0e10cSrcweir { 154cdf0e10cSrcweir Pos = MAP_APPFONT ( RSC_SP_TBPG_INNERBORDER_LEFT, RSC_SP_TBPG_INNERBORDER_TOP + MA_EFFECTSGROUP_HEIGHT ) ; 155cdf0e10cSrcweir Size = MAP_APPFONT ( MA_TOTAL_WIDTH - RSC_SP_TBPG_INNERBORDER_LEFT - RSC_SP_TBPG_INNERBORDER_RIGHT, RSC_CD_FIXEDLINE_HEIGHT ) ; 156cdf0e10cSrcweir Text [ en-US ] = "Properties" ; 157cdf0e10cSrcweir }; 158cdf0e10cSrcweir#define MA_CURR_Y2 RSC_SP_TBPG_INNERBORDER_TOP + MA_EFFECTSGROUP_HEIGHT + RSC_CD_FIXEDLINE_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP 159cdf0e10cSrcweir TriStateBox TSB_START_INSIDE 160cdf0e10cSrcweir { 161cdf0e10cSrcweir HelpID = "cui:TriStateBox:RID_SVXPAGE_TEXTANIMATION:TSB_START_INSIDE" ; 162cdf0e10cSrcweir TabStop = TRUE ; 163cdf0e10cSrcweir Pos = MAP_APPFONT ( RSC_SP_TBPG_INNERBORDER_LEFT + RSC_SP_FLGR_INNERBORDER_LEFT, MA_CURR_Y2 ) ; 164cdf0e10cSrcweir Size = MAP_APPFONT ( MA_TOTAL_WIDTH - RSC_SP_TBPG_INNERBORDER_LEFT - RSC_SP_TBPG_INNERBORDER_RIGHT - 12, RSC_CD_CHECKBOX_HEIGHT ) ; 165cdf0e10cSrcweir Text [ en-US ] = "S~tart inside" ; 166cdf0e10cSrcweir }; 167cdf0e10cSrcweir#define MA_CURR_Y3 MA_CURR_Y2 + RSC_CD_CHECKBOX_HEIGHT + RSC_SP_CTRL_GROUP_Y 168cdf0e10cSrcweir TriStateBox TSB_STOP_INSIDE 169cdf0e10cSrcweir { 170cdf0e10cSrcweir HelpID = "cui:TriStateBox:RID_SVXPAGE_TEXTANIMATION:TSB_STOP_INSIDE" ; 171cdf0e10cSrcweir TabStop = TRUE ; 172cdf0e10cSrcweir Pos = MAP_APPFONT ( RSC_SP_TBPG_INNERBORDER_LEFT + RSC_SP_FLGR_INNERBORDER_LEFT, MA_CURR_Y3 ) ; 173cdf0e10cSrcweir Size = MAP_APPFONT ( MA_TOTAL_WIDTH - RSC_SP_TBPG_INNERBORDER_LEFT - RSC_SP_TBPG_INNERBORDER_RIGHT - 12, RSC_CD_CHECKBOX_HEIGHT ) ; 174cdf0e10cSrcweir Text [ en-US ] = "Text visible when exiting" ; 175cdf0e10cSrcweir }; 176cdf0e10cSrcweir#define MA_CURR_Y4 MA_CURR_Y3 + RSC_CD_CHECKBOX_HEIGHT + RSC_SP_CTRL_GROUP_Y 177cdf0e10cSrcweir FixedText FT_COUNT 178cdf0e10cSrcweir { 179cdf0e10cSrcweir Pos = MAP_APPFONT ( RSC_SP_TBPG_INNERBORDER_LEFT + RSC_SP_FLGR_INNERBORDER_LEFT, MA_CURR_Y4 ) ; 180cdf0e10cSrcweir Size = MAP_APPFONT ( MA_TOTAL_WIDTH - RSC_SP_TBPG_INNERBORDER_LEFT - RSC_SP_TBPG_INNERBORDER_RIGHT - 12, 181cdf0e10cSrcweir RSC_CD_FIXEDTEXT_HEIGHT ) ; 182cdf0e10cSrcweir Text [ en-US ] = "Animation cycles" ; 183cdf0e10cSrcweir }; 184cdf0e10cSrcweir#define MA_CURR_Y5 MA_CURR_Y4 + RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP 185cdf0e10cSrcweir TriStateBox TSB_ENDLESS 186cdf0e10cSrcweir { 187cdf0e10cSrcweir HelpID = "cui:TriStateBox:RID_SVXPAGE_TEXTANIMATION:TSB_ENDLESS" ; 188cdf0e10cSrcweir TabStop = TRUE ; 189cdf0e10cSrcweir Pos = MAP_APPFONT ( RSC_SP_TBPG_INNERBORDER_LEFT + RSC_SP_FLGR_INNERBORDER_LEFT + 9, MA_CURR_Y5 + 2 ) ; 190cdf0e10cSrcweir Size = MAP_APPFONT ( 71, RSC_CD_CHECKBOX_HEIGHT ) ; 191cdf0e10cSrcweir Text [ en-US ] = "~Continuous" ; 192cdf0e10cSrcweir }; 193cdf0e10cSrcweir NumericField NUM_FLD_COUNT 194cdf0e10cSrcweir { 195cdf0e10cSrcweir HelpID = "cui:NumericField:RID_SVXPAGE_TEXTANIMATION:NUM_FLD_COUNT" ; 196cdf0e10cSrcweir Border = TRUE ; 197cdf0e10cSrcweir Pos = MAP_APPFONT ( RSC_SP_TBPG_INNERBORDER_LEFT + RSC_SP_FLGR_INNERBORDER_LEFT + 80 + RSC_SP_CTRL_GROUP_X, 198cdf0e10cSrcweir MA_CURR_Y5 ) ; 199cdf0e10cSrcweir Size = MAP_APPFONT ( 50, RSC_CD_TEXTBOX_HEIGHT ) ; 200cdf0e10cSrcweir TabStop = TRUE ; 201cdf0e10cSrcweir Repeat = TRUE ; 202cdf0e10cSrcweir Spin = TRUE ; 203cdf0e10cSrcweir Minimum = 1 ; 204cdf0e10cSrcweir First = 1 ; 205cdf0e10cSrcweir }; 206cdf0e10cSrcweir#define MA_CURR_Y6 MA_CURR_Y5 + RSC_CD_TEXTBOX_HEIGHT + RSC_SP_CTRL_GROUP_Y 207cdf0e10cSrcweir FixedText FT_AMOUNT 208cdf0e10cSrcweir { 209cdf0e10cSrcweir Pos = MAP_APPFONT ( RSC_SP_TBPG_INNERBORDER_LEFT + RSC_SP_FLGR_INNERBORDER_LEFT, MA_CURR_Y6 ) ; 210cdf0e10cSrcweir Size = MAP_APPFONT ( MA_TOTAL_WIDTH - RSC_SP_TBPG_INNERBORDER_LEFT - RSC_SP_TBPG_INNERBORDER_RIGHT - 12, 211cdf0e10cSrcweir RSC_CD_FIXEDTEXT_HEIGHT ) ; 212cdf0e10cSrcweir Text [ en-US ] = "Increment" ; 213cdf0e10cSrcweir }; 214cdf0e10cSrcweir#define MA_CURR_Y7 MA_CURR_Y6 + RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP 215cdf0e10cSrcweir TriStateBox TSB_PIXEL 216cdf0e10cSrcweir { 217cdf0e10cSrcweir HelpID = "cui:TriStateBox:RID_SVXPAGE_TEXTANIMATION:TSB_PIXEL" ; 218cdf0e10cSrcweir TabStop = TRUE ; 219cdf0e10cSrcweir Pos = MAP_APPFONT ( RSC_SP_TBPG_INNERBORDER_LEFT + RSC_SP_FLGR_INNERBORDER_LEFT + 9, MA_CURR_Y7 + 2 ) ; 220cdf0e10cSrcweir Size = MAP_APPFONT ( 71, RSC_CD_CHECKBOX_HEIGHT ) ; 221cdf0e10cSrcweir Text [ en-US ] = "~Pixels" ; 222cdf0e10cSrcweir }; 223cdf0e10cSrcweir MetricField MTR_FLD_AMOUNT 224cdf0e10cSrcweir { 225cdf0e10cSrcweir HelpID = "cui:MetricField:RID_SVXPAGE_TEXTANIMATION:MTR_FLD_AMOUNT" ; 226cdf0e10cSrcweir Border = TRUE ; 227cdf0e10cSrcweir Pos = MAP_APPFONT ( RSC_SP_TBPG_INNERBORDER_LEFT + RSC_SP_FLGR_INNERBORDER_LEFT + 80 + RSC_SP_CTRL_GROUP_X, 228cdf0e10cSrcweir MA_CURR_Y7 ) ; 229cdf0e10cSrcweir Size = MAP_APPFONT ( 50, RSC_CD_TEXTBOX_HEIGHT ) ; 230cdf0e10cSrcweir TabStop = TRUE ; 231cdf0e10cSrcweir Repeat = TRUE ; 232cdf0e10cSrcweir Spin = TRUE ; 233cdf0e10cSrcweir StrictFormat = TRUE ; 234cdf0e10cSrcweir Unit = FUNIT_CUSTOM ; 235cdf0e10cSrcweir CustomUnitText = " Pixel" ; 236cdf0e10cSrcweir Minimum = 1 ; 237cdf0e10cSrcweir First = 1 ; 238cdf0e10cSrcweir Maximum = 10000 ; 239cdf0e10cSrcweir Last = 10000 ; 240cdf0e10cSrcweir }; 241cdf0e10cSrcweir#define MA_CURR_Y8 MA_CURR_Y7 + RSC_CD_TEXTBOX_HEIGHT + RSC_SP_CTRL_GROUP_Y 242cdf0e10cSrcweir FixedText FT_DELAY 243cdf0e10cSrcweir { 244cdf0e10cSrcweir Pos = MAP_APPFONT ( RSC_SP_TBPG_INNERBORDER_LEFT + RSC_SP_FLGR_INNERBORDER_LEFT, MA_CURR_Y8 ) ; 245cdf0e10cSrcweir Size = MAP_APPFONT ( MA_TOTAL_WIDTH - RSC_SP_TBPG_INNERBORDER_LEFT - RSC_SP_TBPG_INNERBORDER_RIGHT - 12, 246cdf0e10cSrcweir RSC_CD_FIXEDTEXT_HEIGHT ) ; 247cdf0e10cSrcweir Text [ en-US ] = "Delay" ; 248cdf0e10cSrcweir }; 249cdf0e10cSrcweir#define MA_CURR_Y9 MA_CURR_Y8 + RSC_CD_FIXEDTEXT_HEIGHT + RSC_SP_FLGR_INNERBORDER_TOP 250cdf0e10cSrcweir TriStateBox TSB_AUTO 251cdf0e10cSrcweir { 252cdf0e10cSrcweir HelpID = "cui:TriStateBox:RID_SVXPAGE_TEXTANIMATION:TSB_AUTO" ; 253cdf0e10cSrcweir Pos = MAP_APPFONT ( RSC_SP_TBPG_INNERBORDER_LEFT + RSC_SP_FLGR_INNERBORDER_LEFT + 9, MA_CURR_Y9 + 2 ) ; 254cdf0e10cSrcweir Size = MAP_APPFONT ( 71, RSC_CD_CHECKBOX_HEIGHT ) ; 255cdf0e10cSrcweir TabStop = TRUE ; 256cdf0e10cSrcweir Text [ en-US ] = "~Automatic" ; 257cdf0e10cSrcweir }; 258cdf0e10cSrcweir MetricField MTR_FLD_DELAY 259cdf0e10cSrcweir { 260cdf0e10cSrcweir HelpID = "cui:MetricField:RID_SVXPAGE_TEXTANIMATION:MTR_FLD_DELAY" ; 261cdf0e10cSrcweir Border = TRUE ; 262cdf0e10cSrcweir Pos = MAP_APPFONT ( RSC_SP_TBPG_INNERBORDER_LEFT + RSC_SP_FLGR_INNERBORDER_LEFT + 80 + RSC_SP_CTRL_GROUP_X, 263cdf0e10cSrcweir MA_CURR_Y9 ) ; 264cdf0e10cSrcweir Size = MAP_APPFONT ( 50, RSC_CD_TEXTBOX_HEIGHT ) ; 265cdf0e10cSrcweir TabStop = TRUE ; 266cdf0e10cSrcweir Repeat = TRUE ; 267cdf0e10cSrcweir Spin = TRUE ; 268cdf0e10cSrcweir Spinsize = 50 ; 269cdf0e10cSrcweir StrictFormat = TRUE ; 270cdf0e10cSrcweir Unit = FUNIT_CUSTOM ; 271cdf0e10cSrcweir CustomUnitText = " ms" ; 272cdf0e10cSrcweir Maximum = 30000 ; 273cdf0e10cSrcweir Last = 30000 ; 274cdf0e10cSrcweir }; 275cdf0e10cSrcweir}; 276cdf0e10cSrcweir// RID_SVXDLG_TEXT ------------------------------------------------------- 277cdf0e10cSrcweirTabDialog RID_SVXDLG_TEXT 278cdf0e10cSrcweir{ 279cdf0e10cSrcweir OutputSize = TRUE ; 280cdf0e10cSrcweir SVLook = TRUE ; 281cdf0e10cSrcweir Size = MAP_APPFONT ( 289, 185 + 46 ) ; 282cdf0e10cSrcweir Text [ en-US ] = "Text" ; 283cdf0e10cSrcweir Moveable = TRUE ; 284cdf0e10cSrcweir TabControl 1 285cdf0e10cSrcweir { 286cdf0e10cSrcweir OutputSize = TRUE ; 287cdf0e10cSrcweir Pos = MAP_APPFONT ( 3, 3 ) ; 288cdf0e10cSrcweir Size = MAP_APPFONT ( 260, 185 ) ; 289cdf0e10cSrcweir PageList = 290cdf0e10cSrcweir { 291cdf0e10cSrcweir PageItem 292cdf0e10cSrcweir { 293cdf0e10cSrcweir PageResID = RID_SVXPAGE_TEXTATTR ; 294cdf0e10cSrcweir Identifier = RID_SVXPAGE_TEXTATTR ; 295cdf0e10cSrcweir Text [ en-US ] = "Text" ; 296cdf0e10cSrcweir }; 297cdf0e10cSrcweir PageItem 298cdf0e10cSrcweir { 299cdf0e10cSrcweir PageResID = RID_SVXPAGE_TEXTANIMATION ; 300cdf0e10cSrcweir Identifier = RID_SVXPAGE_TEXTANIMATION ; 301cdf0e10cSrcweir Text [ en-US ] = "Text Animation" ; 302cdf0e10cSrcweir }; 303cdf0e10cSrcweir }; 304cdf0e10cSrcweir }; 305cdf0e10cSrcweir}; 306*90ddf5ebSmseidel 307cdf0e10cSrcweir// ******************************************************************* EOF 308