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