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<modaldialog xmlns="http://openoffice.org/2007/layout"
24             xmlns:cnt="http://openoffice.org/2007/layout/container"
25             id="dialog" title="Set Zoom" optimumsize="true"
26	     help-id="SID_ATTR_ZOOM"
27             has_border="true" sizeable="true" moveable="true">
28    <hbox border="5" spacing="0">
29        <vbox spacing="0">
30	    <fixedline id="FixedLine" text="Zoom factor" cnt:expand="true"/>
31	    <hbox> <!-- for left margin !-->
32		<vbox cnt:padding="13" spacing="4" cnt:expand="true">
33		    <radiobutton radiogroup="zoom" id="WholePage" label="Whole Page"/>
34		    <radiobutton radiogroup="zoom" id="PageWidth" label="Page Width"/>
35		    <radiobutton radiogroup="zoom" id="Optimal"   label="Optimal"/>
36		    <radiobutton radiogroup="zoom" id="Zoom200"   label="~200 %"/>
37		    <radiobutton radiogroup="zoom" id="Zoom150"   label="15~0 %"/>
38		    <radiobutton radiogroup="zoom" id="Zoom100"   label="~100 %"/>
39		    <radiobutton radiogroup="zoom" id="Zoom75"    label="~75 %"/>
40		    <radiobutton radiogroup="zoom" id="Zoom50"    label="~50 %"/>
41		    <hbox cnt:expand="false">
42			<align cnt:expand="false">
43			    <radiobutton cnt:v-align="0.5" cnt:v-fill="0" radiogroup="zoom" id="BtnUser" label="~Variable"/>
44			</align>
45			<flow cnt:padding="10" cnt:expand="false"/>
46			<metricfield id="User" value-step="1"
47				     repeat="true" has_border="true" spin="true"
48				     text="100%" unit="11" custom-unit-text="%"
49				     right="true"/>
50			<flow cnt:padding="10" cnt:expand="true"/>
51		    </hbox>
52		</vbox>
53	    </hbox>
54	</vbox>
55	<vbox border="6" spacing="4">
56	    <okbutton     id="OkButton"     cnt:expand="false" defbutton="true"/>
57	    <cancelbutton id="CancelButton" cnt:expand="false"/>
58	    <helpbutton   id="HelpButton"   cnt:expand="false"/>
59	</vbox>
60    </hbox>
61</modaldialog>
62