1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2000, 2010 Oracle and/or its affiliates.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * This file is part of OpenOffice.org.
11 * OpenOffice.org is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Lesser General Public License version 3
13 * only, as published by the Free Software Foundation.
15 * OpenOffice.org is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU Lesser General Public License version 3 for more details
19 * (a copy is included in the LICENSE file that accompanied this code).
21 * You should have received a copy of the GNU Lesser General Public License
22 * version 3 along with OpenOffice.org. If not, see
23 * <http://www.openoffice.org/license.html>
24 * for a copy of the LGPLv3 License.
26 ************************************************************************/
27 // include ---------------------------------------------------------------
28 #include <svtools/controldims.hrc>
30 #include "textattr.hrc"
32 #include <svx/dialogs.hrc>
34 // RID_SVXPAGE_TEXTATTR --------------------------------------------------
35 TabPage RID_SVXPAGE_TEXTATTR
37 HelpId = HID_PAGE_TEXTATTR ;
39 Size = MAP_APPFONT ( 260 , 185 ) ;
40 Text [ en-US ] = "Text" ;
43 Pos = MAP_APPFONT ( 6 , 3 ) ;
44 Size = MAP_APPFONT ( 248 , RSC_CD_FIXEDLINE_HEIGHT ) ;
45 Text [ en-US ] = "Text" ;
47 TriStateBox TSB_AUTOGROW_WIDTH
49 HelpID = "cui:TriStateBox:RID_SVXPAGE_TEXTATTR:TSB_AUTOGROW_WIDTH";
51 Pos = MAP_APPFONT ( 12 , 14 ) ;
52 Size = MAP_APPFONT ( 102 , 10 ) ;
53 Text [ en-US ] = "Fit wi~dth to text" ;
55 TriStateBox TSB_AUTOGROW_HEIGHT
57 HelpID = "cui:TriStateBox:RID_SVXPAGE_TEXTATTR:TSB_AUTOGROW_HEIGHT";
59 Pos = MAP_APPFONT ( 12 , 28 ) ;
60 Size = MAP_APPFONT ( 102 , 10 ) ;
61 Text [ en-US ] = "Fit h~eight to text" ;
63 TriStateBox TSB_FIT_TO_SIZE
65 HelpID = "cui:TriStateBox:RID_SVXPAGE_TEXTATTR:TSB_FIT_TO_SIZE";
67 Pos = MAP_APPFONT ( 12 , 42 ) ;
68 Size = MAP_APPFONT ( 102 , 10 ) ;
69 Text [ en-US ] = "~Fit to frame" ;
71 TriStateBox TSB_CONTOUR
73 HelpID = "cui:TriStateBox:RID_SVXPAGE_TEXTATTR:TSB_CONTOUR";
75 Pos = MAP_APPFONT ( 12 , 56 ) ;
76 Size = MAP_APPFONT ( 102 , 10 ) ;
77 Text [ en-US ] = "~Adjust to contour" ;
79 TriStateBox TSB_WORDWRAP_TEXT
81 HelpID = "cui:TriStateBox:RID_SVXPAGE_TEXTATTR:TSB_WORDWRAP_TEXT";
83 Pos = MAP_APPFONT( 132, 14 ) ;
84 Size = MAP_APPFONT( 127 , 10 ) ;
85 Text [ en-US ] = "~Word wrap text in shape";
87 TriStateBox TSB_AUTOGROW_SIZE
89 HelpID = "cui:TriStateBox:RID_SVXPAGE_TEXTATTR:TSB_AUTOGROW_SIZE";
91 Pos = MAP_APPFONT( 132, 28 );
92 Size = MAP_APPFONT( 127 , 10 );
93 Text [ en-US ] = "~Resize shape to fit text";
97 Pos = MAP_APPFONT ( 6 , 72 ) ;
98 Size = MAP_APPFONT ( 114 , RSC_CD_FIXEDLINE_HEIGHT ) ;
99 Text [ en-US ] = "Spacing to borders" ;
103 Pos = MAP_APPFONT ( 12 , 85 ) ;
104 Size = MAP_APPFONT ( 50 , 8 ) ;
105 Text [ en-US ] = "~Left" ;
109 Pos = MAP_APPFONT ( 12 , 101 ) ;
110 Size = MAP_APPFONT ( 50 , 8 ) ;
111 Text [ en-US ] = "~Right" ;
115 Pos = MAP_APPFONT ( 12 , 117 ) ;
116 Size = MAP_APPFONT ( 50 , 8 ) ;
117 Text [ en-US ] = "~Top" ;
121 Pos = MAP_APPFONT ( 12 , 133 ) ;
122 Size = MAP_APPFONT ( 50 , 8 ) ;
123 Text [ en-US ] = "~Bottom" ;
125 MetricField MTR_FLD_LEFT
127 HelpID = "cui:MetricField:RID_SVXPAGE_TEXTATTR:MTR_FLD_LEFT";
129 Pos = MAP_APPFONT ( 69 , 83 ) ;
130 Size = MAP_APPFONT ( 45 , 12 ) ;
142 MetricField MTR_FLD_RIGHT
144 HelpID = "cui:MetricField:RID_SVXPAGE_TEXTATTR:MTR_FLD_RIGHT";
146 Pos = MAP_APPFONT ( 69 , 99 ) ;
147 Size = MAP_APPFONT ( 45 , 12 ) ;
159 MetricField MTR_FLD_TOP
161 HelpID = "cui:MetricField:RID_SVXPAGE_TEXTATTR:MTR_FLD_TOP";
163 Pos = MAP_APPFONT ( 69 , 115 ) ;
164 Size = MAP_APPFONT ( 45 , 12 ) ;
176 MetricField MTR_FLD_BOTTOM
178 HelpID = "cui:MetricField:RID_SVXPAGE_TEXTATTR:MTR_FLD_BOTTOM";
180 Pos = MAP_APPFONT ( 69 , 131 ) ;
181 Size = MAP_APPFONT ( 45 , 12 ) ;
193 FixedLine FL_SEPARATOR
195 Pos = MAP_APPFONT ( 121 , 83 ) ;
196 Size = MAP_APPFONT ( RSC_CD_FIXEDLINE_WIDTH , 66 ) ;
199 FixedLine FL_POSITION
201 Pos = MAP_APPFONT ( 126 , 72 ) ;
202 Size = MAP_APPFONT ( 128 , RSC_CD_FIXEDLINE_HEIGHT ) ;
203 Text [ en-US ] = "Text anchor" ;
207 HelpId = HID_TEXTATTR_CTL_POSITION ;
209 Pos = MAP_APPFONT ( 132 , 83 ) ;
210 Size = MAP_APPFONT ( 116 , 52 ) ;
213 TriStateBox TSB_FULL_WIDTH
215 HelpID = "cui:TriStateBox:RID_SVXPAGE_TEXTATTR:TSB_FULL_WIDTH";
217 Pos = MAP_APPFONT ( 132 , 139 ) ;
218 Size = MAP_APPFONT ( 116 , 10 ) ;
219 Text [ en-US ] = "Full ~width" ;
222 // ********************************************************************** EOF