merge the formfield patch from ooo-build
[ooovba.git] / toolkit / workben / layout / paragraph.xml
blob847e04ec056899795c1cdcf26a454dd54f9d1bc7
1 <?xml version="1.0" encoding="UTF-8"?>
3 <dialog xmlns="http://openoffice.org/2007/layout"
4         xmlns:cnt="http://openoffice.org/2007/layout/container"
5         id="dialog" title="Paragraph" optimumsize="true"
6         has_border="true" sizeable="true" moveable="true">
7 <vbox>
8     <tabcontrol>
9         <vbox cnt:title="Indents and Spacing">
10             <hbox cnt:expand="false">
11                  <fixedtext id="FL_INDENT" label="Indent" cnt:expand="false" />
12                  <fixedline />
13              </hbox>
14              <table columns="2" cnt:expand="false">
15                  <fixedtext id="FT_LEFTINDENT" label="Before text" />
16                  <metricfield id="ED_LEFTINDENT" spin="true" has_border="true"/>
17                  <fixedtext id="FT_RIGHTINDENT" label="After text" />
18                  <metricfield id="ED_RIGHTINDENT" spin="true" has_border="true"/>
19                  <fixedtext id="FT_FLINEINDENT" label="First line" />
20                  <metricfield id="ED_FLINEINDENT" spin="true" has_border="true" />
21                  <checkbox id="CB_AUTO" label="Automatic" cnt:col-span="2" />
22              </table>
23             <hbox cnt:expand="false">
24                  <fixedtext id="FL_DIST" label="Spacing" cnt:expand="false" />
25                  <fixedline />
26              </hbox>
27              <table columns="2" cnt:expand="false">
28                  <fixedtext id="FT_TOPDIST" label="Above paragraph" />
29                  <numericfield id="ED_TOPDIST" spin="true" has_border="true" />
30                  <fixedtext id="FT_BOTTOMDIST" label="Below paragraph" />
31                  <numericfield id="ED_BOTTOMDIST" spin="true" has_border="true" />
32              </table>
33             <hbox cnt:expand="false">
34                  <fixedtext id="FL_LINEDIST" label="Line spacing" cnt:expand="false" />
35                  <fixedline />
36              </hbox>
37             <hbox cnt:expand="false">
38                 <listbox id="LB_LINEDIST" dropdown="true"
39                     string-item-list="Single:1.5 lines:Double:Proportional"
40                     cnt:expand="false"/>
41                 <fixedtext id="FT_LINEDIST" label="of" cnt:expand="true" />
42                 <numericfield id="ED_LINEDISTPERCENT" value="0" />
43             </hbox>
44             <hbox id="FL_REGISTER" cnt:expand="false">
45                 <fixedtext label="Register-true" cnt:expand="false" />
46                 <fixedline />
47             </hbox>
48              <checkbox id="CB_REGISTER" cnt:expand="false" label="Activate" />
49         </vbox>
51         <vbox cnt:title="Alignment">
52             <hbox cnt:expand="false">
53                 <fixedtext id="FL_ALIGN" label="Options" cnt:expand="false" />
54                 <fixedline />
55             </hbox>
56              <radiobutton id="BTN_LEFTALIGN" label="Left" cnt:expand="false" />
57              <radiobutton id="BTN_RIGHTALIGN" label="Right" cnt:expand="false" />
58              <radiobutton id="BTN_CENTERALIGN" label="Center" cnt:expand="false" />
59              <radiobutton id="BTN_JUSTIFYALIGN" label="Justify" cnt:expand="false" />
60             <hbox cnt:expand="false">
61                 <fixedtext id="FL_ALIGN" label="Last line" cnt:expand="false" />
62                 <listbox dropdown="true" string-item-list="Left:Centered:Justified"
63                           id="LB_LASTLINE" />
64             </hbox>
65         </vbox>
66     </tabcontrol>
68     <align cnt:expand="false">
69         <hbox cnt:expand="false" cnt:hfill="0" cnt:halign="1">
70             <pushbutton label="OK" />
71             <pushbutton label="Cancel" />
72             <pushbutton label="Help" />
73             <pushbutton label="Reset" />
74         </hbox>
75     </align>
76 </vbox>
77 </dialog>