1<?xml version="1.0" encoding="UTF-8"?>
2<!--***********************************************************
3 *
4 * Licensed to the Apache Software Foundation (ASF) under one
5 * or more contributor license agreements.  See the NOTICE file
6 * distributed with this work for additional information
7 * regarding copyright ownership.  The ASF licenses this file
8 * to you under the Apache License, Version 2.0 (the
9 * "License"); you may not use this file except in compliance
10 * with the License.  You may obtain a copy of the License at
11 *
12 *   http://www.apache.org/licenses/LICENSE-2.0
13 *
14 * Unless required by applicable law or agreed to in writing,
15 * software distributed under the License is distributed on an
16 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
17 * KIND, either express or implied.  See the License for the
18 * specific language governing permissions and limitations
19 * under the License.
20 *
21 ***********************************************************-->
22
23<dialog xmlns="http://openoffice.org/2007/layout"
24        xmlns:cnt="http://openoffice.org/2007/layout/container"
25        id="dialog" title="Paragraph" optimumsize="true"
26        has_border="true" sizeable="true" moveable="true">
27<vbox>
28	<tabcontrol>
29		<vbox cnt:title="Indents and Spacing">
30			<hbox cnt:expand="false">
31			 	<fixedtext id="FL_INDENT" label="Indent" cnt:expand="false" />
32			 	<fixedline />
33			 </hbox>
34			 <table columns="2" cnt:expand="false">
35			 	<fixedtext id="FT_LEFTINDENT" label="Before text" />
36			 	<metricfield id="ED_LEFTINDENT" spin="true" has_border="true"/>
37			 	<fixedtext id="FT_RIGHTINDENT" label="After text" />
38			 	<metricfield id="ED_RIGHTINDENT" spin="true" has_border="true"/>
39			 	<fixedtext id="FT_FLINEINDENT" label="First line" />
40			 	<metricfield id="ED_FLINEINDENT" spin="true" has_border="true" />
41			 	<checkbox id="CB_AUTO" label="Automatic" cnt:col-span="2" />
42			 </table>
43			<hbox cnt:expand="false">
44			 	<fixedtext id="FL_DIST" label="Spacing" cnt:expand="false" />
45			 	<fixedline />
46			 </hbox>
47			 <table columns="2" cnt:expand="false">
48			 	<fixedtext id="FT_TOPDIST" label="Above paragraph" />
49			 	<numericfield id="ED_TOPDIST" spin="true" has_border="true" />
50			 	<fixedtext id="FT_BOTTOMDIST" label="Below paragraph" />
51			 	<numericfield id="ED_BOTTOMDIST" spin="true" has_border="true" />
52			 </table>
53			<hbox cnt:expand="false">
54			 	<fixedtext id="FL_LINEDIST" label="Line spacing" cnt:expand="false" />
55			 	<fixedline />
56			 </hbox>
57			<hbox cnt:expand="false">
58				<listbox id="LB_LINEDIST" dropdown="true"
59					string-item-list="Single:1.5 lines:Double:Proportional"
60					cnt:expand="false"/>
61				<fixedtext id="FT_LINEDIST" label="of" cnt:expand="true" />
62				<numericfield id="ED_LINEDISTPERCENT" value="0" />
63			</hbox>
64			<hbox id="FL_REGISTER" cnt:expand="false">
65				<fixedtext label="Register-true" cnt:expand="false" />
66				<fixedline />
67			</hbox>
68		 	<checkbox id="CB_REGISTER" cnt:expand="false" label="Activate" />
69		</vbox>
70
71		<vbox cnt:title="Alignment">
72			<hbox cnt:expand="false">
73				<fixedtext id="FL_ALIGN" label="Options" cnt:expand="false" />
74				<fixedline />
75			</hbox>
76		 	<radiobutton id="BTN_LEFTALIGN" label="Left" cnt:expand="false" />
77		 	<radiobutton id="BTN_RIGHTALIGN" label="Right" cnt:expand="false" />
78		 	<radiobutton id="BTN_CENTERALIGN" label="Center" cnt:expand="false" />
79		 	<radiobutton id="BTN_JUSTIFYALIGN" label="Justify" cnt:expand="false" />
80			<hbox cnt:expand="false">
81				<fixedtext id="FL_ALIGN" label="Last line" cnt:expand="false" />
82				<listbox dropdown="true" string-item-list="Left:Centered:Justified"
83				          id="LB_LASTLINE" />
84			</hbox>
85		</vbox>
86	</tabcontrol>
87
88	<align cnt:expand="false">
89		<hbox cnt:expand="false" cnt:hfill="0" cnt:halign="1">
90			<pushbutton label="OK" />
91			<pushbutton label="Cancel" />
92			<pushbutton label="Help" />
93			<pushbutton label="Reset" />
94		</hbox>
95	</align>
96</vbox>
97</dialog>
98