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