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