xref: /trunk/main/cui/source/tabpages/textattr.src (revision 383ed5e2c01feb1c27c37dbddb220a8ccf375f43)
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*383ed5e2Smseidel
24cdf0e10cSrcweir// include ---------------------------------------------------------------
25cdf0e10cSrcweir#include <svtools/controldims.hrc>
26cdf0e10cSrcweir#include <cuires.hrc>
27cdf0e10cSrcweir#include "textattr.hrc"
28cdf0e10cSrcweir#include "helpid.hrc"
29cdf0e10cSrcweir#include <svx/dialogs.hrc>
30cdf0e10cSrcweir
31cdf0e10cSrcweir// RID_SVXPAGE_TEXTATTR --------------------------------------------------
32cdf0e10cSrcweirTabPage RID_SVXPAGE_TEXTATTR
33cdf0e10cSrcweir{
34cdf0e10cSrcweir    HelpId = HID_PAGE_TEXTATTR ;
35cdf0e10cSrcweir    Hide = TRUE ;
36cdf0e10cSrcweir    Size = MAP_APPFONT ( 260, 185 ) ;
37cdf0e10cSrcweir    Text [ en-US ] = "Text" ;
38cdf0e10cSrcweir    FixedLine FL_TEXT
39cdf0e10cSrcweir    {
40cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6, 3  ) ;
41cdf0e10cSrcweir        Size = MAP_APPFONT ( 248, RSC_CD_FIXEDLINE_HEIGHT ) ;
42cdf0e10cSrcweir        Text [ en-US ] = "Text" ;
43cdf0e10cSrcweir    };
44cdf0e10cSrcweir    TriStateBox TSB_AUTOGROW_WIDTH
45cdf0e10cSrcweir    {
46cdf0e10cSrcweir        HelpID = "cui:TriStateBox:RID_SVXPAGE_TEXTATTR:TSB_AUTOGROW_WIDTH" ;
47cdf0e10cSrcweir        TabStop = TRUE ;
48cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 14  ) ;
49cdf0e10cSrcweir        Size = MAP_APPFONT ( 102, 10 ) ;
50cdf0e10cSrcweir        Text [ en-US ] = "Fit wi~dth to text" ;
51cdf0e10cSrcweir    };
52cdf0e10cSrcweir    TriStateBox TSB_AUTOGROW_HEIGHT
53cdf0e10cSrcweir    {
54cdf0e10cSrcweir        HelpID = "cui:TriStateBox:RID_SVXPAGE_TEXTATTR:TSB_AUTOGROW_HEIGHT" ;
55cdf0e10cSrcweir        TabStop = TRUE ;
56cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 28  ) ;
57cdf0e10cSrcweir        Size = MAP_APPFONT ( 102, 10 ) ;
58cdf0e10cSrcweir        Text [ en-US ] = "Fit h~eight to text" ;
59cdf0e10cSrcweir    };
60cdf0e10cSrcweir    TriStateBox TSB_FIT_TO_SIZE
61cdf0e10cSrcweir    {
62cdf0e10cSrcweir        HelpID = "cui:TriStateBox:RID_SVXPAGE_TEXTATTR:TSB_FIT_TO_SIZE" ;
63cdf0e10cSrcweir        TabStop = TRUE ;
64cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 42  ) ;
65cdf0e10cSrcweir        Size = MAP_APPFONT ( 102, 10 ) ;
66cdf0e10cSrcweir        Text [ en-US ] = "~Fit to frame" ;
67cdf0e10cSrcweir    };
68cdf0e10cSrcweir    TriStateBox TSB_CONTOUR
69cdf0e10cSrcweir    {
70cdf0e10cSrcweir        HelpID = "cui:TriStateBox:RID_SVXPAGE_TEXTATTR:TSB_CONTOUR" ;
71cdf0e10cSrcweir        TabStop = TRUE ;
72cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 56  ) ;
73cdf0e10cSrcweir        Size = MAP_APPFONT ( 102, 10 ) ;
74cdf0e10cSrcweir        Text [ en-US ] = "~Adjust to contour" ;
75cdf0e10cSrcweir    };
76cdf0e10cSrcweir    TriStateBox TSB_WORDWRAP_TEXT
77cdf0e10cSrcweir    {
78cdf0e10cSrcweir        HelpID = "cui:TriStateBox:RID_SVXPAGE_TEXTATTR:TSB_WORDWRAP_TEXT" ;
79cdf0e10cSrcweir        TabStop = TRUE ;
80cdf0e10cSrcweir        Pos = MAP_APPFONT ( 132, 14  ) ;
81cdf0e10cSrcweir        Size = MAP_APPFONT ( 127, 10 ) ;
82cdf0e10cSrcweir        Text [ en-US ] = "~Word wrap text in shape" ;
83cdf0e10cSrcweir    };
84cdf0e10cSrcweir    TriStateBox TSB_AUTOGROW_SIZE
85cdf0e10cSrcweir    {
86cdf0e10cSrcweir        HelpID = "cui:TriStateBox:RID_SVXPAGE_TEXTATTR:TSB_AUTOGROW_SIZE" ;
87cdf0e10cSrcweir        TabStop = TRUE ;
88cdf0e10cSrcweir        Pos = MAP_APPFONT ( 132, 28  ) ;
89cdf0e10cSrcweir        Size = MAP_APPFONT ( 127, 10 ) ;
90cdf0e10cSrcweir        Text [ en-US ] = "~Resize shape to fit text" ;
91cdf0e10cSrcweir    };
92cdf0e10cSrcweir    FixedLine FL_DISTANCE
93cdf0e10cSrcweir    {
94cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6, 72 ) ;
95cdf0e10cSrcweir        Size = MAP_APPFONT ( 114, RSC_CD_FIXEDLINE_HEIGHT ) ;
96cdf0e10cSrcweir        Text [ en-US ] = "Spacing to borders" ;
97cdf0e10cSrcweir    };
98cdf0e10cSrcweir    FixedText FT_LEFT
99cdf0e10cSrcweir    {
100cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 85  ) ;
101cdf0e10cSrcweir        Size = MAP_APPFONT ( 50, 8 ) ;
102cdf0e10cSrcweir        Text [ en-US ] = "~Left" ;
103cdf0e10cSrcweir    };
104cdf0e10cSrcweir    FixedText FT_RIGHT
105cdf0e10cSrcweir    {
106cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 101  ) ;
107cdf0e10cSrcweir        Size = MAP_APPFONT ( 50, 8 ) ;
108cdf0e10cSrcweir        Text [ en-US ] = "~Right" ;
109cdf0e10cSrcweir    };
110cdf0e10cSrcweir    FixedText FT_TOP
111cdf0e10cSrcweir    {
112cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 117  ) ;
113cdf0e10cSrcweir        Size = MAP_APPFONT ( 50, 8 ) ;
114cdf0e10cSrcweir        Text [ en-US ] = "~Top" ;
115cdf0e10cSrcweir    };
116cdf0e10cSrcweir    FixedText FT_BOTTOM
117cdf0e10cSrcweir    {
118cdf0e10cSrcweir        Pos = MAP_APPFONT ( 12, 133  ) ;
119cdf0e10cSrcweir        Size = MAP_APPFONT ( 50, 8 ) ;
120cdf0e10cSrcweir        Text [ en-US ] = "~Bottom" ;
121cdf0e10cSrcweir    };
122cdf0e10cSrcweir    MetricField MTR_FLD_LEFT
123cdf0e10cSrcweir    {
124cdf0e10cSrcweir        HelpID = "cui:MetricField:RID_SVXPAGE_TEXTATTR:MTR_FLD_LEFT" ;
125cdf0e10cSrcweir        Border = TRUE ;
126cdf0e10cSrcweir        Pos = MAP_APPFONT ( 69, 83  ) ;
127cdf0e10cSrcweir        Size = MAP_APPFONT ( 45, 12 ) ;
128cdf0e10cSrcweir        TabStop = TRUE ;
129cdf0e10cSrcweir        Repeat = TRUE ;
130cdf0e10cSrcweir        Spin = TRUE ;
131cdf0e10cSrcweir        DecimalDigits = 2 ;
132cdf0e10cSrcweir        Unit = FUNIT_MM ;
133cdf0e10cSrcweir        Minimum = -10000 ;
134cdf0e10cSrcweir        First = -10000 ;
135cdf0e10cSrcweir        Maximum = 10000 ;
136cdf0e10cSrcweir        Last = 10000 ;
137cdf0e10cSrcweir        SpinSize = 10 ;
138cdf0e10cSrcweir    };
139cdf0e10cSrcweir    MetricField MTR_FLD_RIGHT
140cdf0e10cSrcweir    {
141cdf0e10cSrcweir        HelpID = "cui:MetricField:RID_SVXPAGE_TEXTATTR:MTR_FLD_RIGHT" ;
142cdf0e10cSrcweir        Border = TRUE ;
143cdf0e10cSrcweir        Pos = MAP_APPFONT ( 69, 99  ) ;
144cdf0e10cSrcweir        Size = MAP_APPFONT ( 45, 12 ) ;
145cdf0e10cSrcweir        TabStop = TRUE ;
146cdf0e10cSrcweir        Repeat = TRUE ;
147cdf0e10cSrcweir        Spin = TRUE ;
148cdf0e10cSrcweir        DecimalDigits = 2 ;
149cdf0e10cSrcweir        Unit = FUNIT_MM ;
150cdf0e10cSrcweir        Minimum = -10000 ;
151cdf0e10cSrcweir        First = -10000 ;
152cdf0e10cSrcweir        Maximum = 10000 ;
153cdf0e10cSrcweir        Last = 10000 ;
154cdf0e10cSrcweir        SpinSize = 10 ;
155cdf0e10cSrcweir    };
156cdf0e10cSrcweir    MetricField MTR_FLD_TOP
157cdf0e10cSrcweir    {
158cdf0e10cSrcweir        HelpID = "cui:MetricField:RID_SVXPAGE_TEXTATTR:MTR_FLD_TOP" ;
159cdf0e10cSrcweir        Border = TRUE ;
160cdf0e10cSrcweir        Pos = MAP_APPFONT ( 69, 115  ) ;
161cdf0e10cSrcweir        Size = MAP_APPFONT ( 45, 12 ) ;
162cdf0e10cSrcweir        TabStop = TRUE ;
163cdf0e10cSrcweir        Repeat = TRUE ;
164cdf0e10cSrcweir        Spin = TRUE ;
165cdf0e10cSrcweir        DecimalDigits = 2 ;
166cdf0e10cSrcweir        Unit = FUNIT_MM ;
167cdf0e10cSrcweir        Minimum = -10000 ;
168cdf0e10cSrcweir        First = -10000 ;
169cdf0e10cSrcweir        Maximum = 10000 ;
170cdf0e10cSrcweir        Last = 10000 ;
171cdf0e10cSrcweir        SpinSize = 10 ;
172cdf0e10cSrcweir    };
173cdf0e10cSrcweir    MetricField MTR_FLD_BOTTOM
174cdf0e10cSrcweir    {
175cdf0e10cSrcweir        HelpID = "cui:MetricField:RID_SVXPAGE_TEXTATTR:MTR_FLD_BOTTOM" ;
176cdf0e10cSrcweir        Border = TRUE ;
177cdf0e10cSrcweir        Pos = MAP_APPFONT ( 69, 131  ) ;
178cdf0e10cSrcweir        Size = MAP_APPFONT ( 45, 12 ) ;
179cdf0e10cSrcweir        TabStop = TRUE ;
180cdf0e10cSrcweir        Repeat = TRUE ;
181cdf0e10cSrcweir        Spin = TRUE ;
182cdf0e10cSrcweir        DecimalDigits = 2 ;
183cdf0e10cSrcweir        Unit = FUNIT_MM ;
184cdf0e10cSrcweir        Minimum = -10000 ;
185cdf0e10cSrcweir        First = -10000 ;
186cdf0e10cSrcweir        Maximum = 10000 ;
187cdf0e10cSrcweir        Last = 10000 ;
188cdf0e10cSrcweir        SpinSize = 10 ;
189cdf0e10cSrcweir    };
190cdf0e10cSrcweir    FixedLine FL_SEPARATOR
191cdf0e10cSrcweir    {
192cdf0e10cSrcweir        Pos = MAP_APPFONT ( 121, 83 ) ;
193cdf0e10cSrcweir        Size = MAP_APPFONT ( RSC_CD_FIXEDLINE_WIDTH, 66 ) ;
194cdf0e10cSrcweir        Vert = TRUE ;
195cdf0e10cSrcweir    };
196cdf0e10cSrcweir    FixedLine FL_POSITION
197cdf0e10cSrcweir    {
198cdf0e10cSrcweir        Pos = MAP_APPFONT ( 126, 72 ) ;
199cdf0e10cSrcweir        Size = MAP_APPFONT ( 128, RSC_CD_FIXEDLINE_HEIGHT ) ;
200cdf0e10cSrcweir        Text [ en-US ] = "Text anchor" ;
201cdf0e10cSrcweir    };
202cdf0e10cSrcweir    Control CTL_POSITION
203cdf0e10cSrcweir    {
204cdf0e10cSrcweir        HelpId = HID_TEXTATTR_CTL_POSITION ;
205cdf0e10cSrcweir        Border = TRUE ;
206cdf0e10cSrcweir        Pos = MAP_APPFONT ( 132, 83  ) ;
207cdf0e10cSrcweir        Size = MAP_APPFONT ( 116, 52 ) ;
208cdf0e10cSrcweir        TabStop = TRUE ;
209cdf0e10cSrcweir    };
210cdf0e10cSrcweir    TriStateBox TSB_FULL_WIDTH
211cdf0e10cSrcweir    {
212cdf0e10cSrcweir        HelpID = "cui:TriStateBox:RID_SVXPAGE_TEXTATTR:TSB_FULL_WIDTH" ;
213cdf0e10cSrcweir        TabStop = TRUE ;
214cdf0e10cSrcweir        Pos = MAP_APPFONT ( 132, 139  ) ;
215cdf0e10cSrcweir        Size = MAP_APPFONT ( 116, 10 ) ;
216cdf0e10cSrcweir        Text [ en-US ] = "Full ~width" ;
217cdf0e10cSrcweir    };
218cdf0e10cSrcweir};
219*383ed5e2Smseidel
220cdf0e10cSrcweir// ********************************************************************** EOF
221