xref: /trunk/main/toolkit/workben/layout/zoom-2.xml (revision 10544477)
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" optimumsize="true"
26	     help-id="SID_ATTR_ZOOM"
27             has_border="true" sizeable="true" moveable="true"
28	     xml-lang="en-US">
29     Set Zoom
30     <vbox spacing="5" border="5">
31        <fixedline id="FL_ZOOM" cnt:expand="true" xml-lang="en-US">Zoom factor</fixedline>
32    <radiobutton radiogroup="zoom" id="BTN_WHOLE_PAGE" xml-lang="en-US">Whole Page</radiobutton>
33    <radiobutton radiogroup="zoom" id="BTN_PAGE_WIDTH" xml-lang="en-US">Page Width</radiobutton>
34    <radiobutton radiogroup="zoom" id="BTN_OPTIMAL"  xml-lang="en-US">Optimal</radiobutton>
35    <radiobutton radiogroup="zoom" id="BTN_200"  xml-lang="en-US">200 %</radiobutton>
36    <radiobutton radiogroup="zoom" id="BTN_150"  xml-lang="en-US">15~0 %</radiobutton>
37    <radiobutton radiogroup="zoom" id="BTN_100"  xml-lang="en-US">100 %</radiobutton>
38    <radiobutton radiogroup="zoom" id="BTN_75"   xml-lang="en-US">75 %</radiobutton>
39    <radiobutton radiogroup="zoom" id="BTN_50"   xml-lang="en-US">50 %</radiobutton>
40	<hbox cnt:expand="false" cnt:fill="true">
41	    <align cnt:expand="false" cnt:fill="true">
42            <radiobutton cnt:v-align="0.5" cnt:v-fill="0" radiogroup="zoom" id="BTN_USER" xml-lang="en-US">Variable</radiobutton>
43	    </align>
44	    <flow cnt:padding="10" cnt:expand="false"/>
45	    <metricfield id="ED_USER" value-step="1"
46			 repeat="true" has_border="true" spin="true"
47			 text="100%" unit="13" custom-unit-text="%"
48			 right="true"
49			 cnt:expand="false"/>
50	</hbox>
51        <fixedline cnt:padding="1" id="FL_BOTTOM"/>
52	<dialogbuttonhbox border="5" spacing="5">
53	    <flow/>
54	    <okbutton     id="BTN_ZOOM_OK"/>
55	    <cancelbutton id="BTN_ZOOM_CANCEL"/>
56	    <helpbutton   id="BTN_ZOOM_HELP"/>
57	</dialogbuttonhbox>
58    </vbox>
59</modaldialog>
60