xref: /aoo42x/main/sw/source/ui/dbui/mmlayoutpage.src (revision 8660f102)
1*8660f102SAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*8660f102SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*8660f102SAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*8660f102SAndrew Rist * distributed with this work for additional information
6*8660f102SAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*8660f102SAndrew Rist * to you under the Apache License, Version 2.0 (the
8*8660f102SAndrew Rist * "License"); you may not use this file except in compliance
9*8660f102SAndrew Rist * with the License.  You may obtain a copy of the License at
10*8660f102SAndrew Rist *
11*8660f102SAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*8660f102SAndrew Rist *
13*8660f102SAndrew Rist * Unless required by applicable law or agreed to in writing,
14*8660f102SAndrew Rist * software distributed under the License is distributed on an
15*8660f102SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*8660f102SAndrew Rist * KIND, either express or implied.  See the License for the
17*8660f102SAndrew Rist * specific language governing permissions and limitations
18*8660f102SAndrew Rist * under the License.
19*8660f102SAndrew Rist *
20*8660f102SAndrew Rist *************************************************************/
21*8660f102SAndrew Rist
22*8660f102SAndrew Rist
23cdf0e10cSrcweir#include <mmlayoutpage.hrc>
24cdf0e10cSrcweir#include <dbui.hrc>
25cdf0e10cSrcweir#include <helpid.h>
26cdf0e10cSrcweir
27cdf0e10cSrcweirTabPage DLG_MM_LAYOUT_PAGE
28cdf0e10cSrcweir{
29cdf0e10cSrcweir    HelpID = HID_MM_LAYOUT_PAGE;
30cdf0e10cSrcweir    Size = MAP_APPFONT ( 260 , 250 ) ;
31cdf0e10cSrcweir    Hide = TRUE ;
32cdf0e10cSrcweir
33cdf0e10cSrcweir    FixedText FI_HEADER
34cdf0e10cSrcweir    {
35cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 8 ) ;
36cdf0e10cSrcweir        Size = MAP_APPFONT ( 248 , 8 ) ;
37cdf0e10cSrcweir        Text[ en-US ] = "Adjust layout of address block and salutation";
38cdf0e10cSrcweir    };
39cdf0e10cSrcweir    FixedLine       FL_POSITION
40cdf0e10cSrcweir    {
41cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 27 ) ;
42cdf0e10cSrcweir        Size = MAP_APPFONT ( 118 , 8 ) ;
43cdf0e10cSrcweir        Text[ en-US ] = "Address block position";
44cdf0e10cSrcweir    };
45cdf0e10cSrcweir    CheckBox CB_ALIGN
46cdf0e10cSrcweir    {
47cdf0e10cSrcweir        HelpID = "sw:CheckBox:DLG_MM_LAYOUT_PAGE:CB_ALIGN";
48cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 40 ) ;
49cdf0e10cSrcweir        Size = MAP_APPFONT ( 118 , 10 ) ;
50cdf0e10cSrcweir        Text[ en-US ] = "Align to text body";
51cdf0e10cSrcweir    };
52cdf0e10cSrcweir    FixedText       FT_LEFT
53cdf0e10cSrcweir    {
54cdf0e10cSrcweir        Pos = MAP_APPFONT ( 15 , 54 ) ;
55cdf0e10cSrcweir        Size = MAP_APPFONT ( 63 , 8 ) ;
56cdf0e10cSrcweir        Text[ en-US ] = "From ~left";
57cdf0e10cSrcweir    };
58cdf0e10cSrcweir    MetricField     MF_LEFT
59cdf0e10cSrcweir    {
60cdf0e10cSrcweir        HelpID = "sw:MetricField:DLG_MM_LAYOUT_PAGE:MF_LEFT";
61cdf0e10cSrcweir        Pos = MAP_APPFONT ( 78 , 52 ) ;
62cdf0e10cSrcweir        Size = MAP_APPFONT ( 40 , 12 ) ;
63cdf0e10cSrcweir        Border = TRUE ;
64cdf0e10cSrcweir        Left = TRUE ;
65cdf0e10cSrcweir        Repeat = TRUE ;
66cdf0e10cSrcweir        Spin = TRUE ;
67cdf0e10cSrcweir        Minimum = 0 ;
68cdf0e10cSrcweir        Maximum = 99999 ;
69cdf0e10cSrcweir        DecimalDigits = 2 ;
70cdf0e10cSrcweir        Value = 200 ;
71cdf0e10cSrcweir        Unit = FUNIT_CM ;
72cdf0e10cSrcweir        First = 10 ;
73cdf0e10cSrcweir        Last = 99999 ;
74cdf0e10cSrcweir        SpinSize = 10 ;
75cdf0e10cSrcweir    };
76cdf0e10cSrcweir    FixedText       FT_TOP
77cdf0e10cSrcweir    {
78cdf0e10cSrcweir        Pos = MAP_APPFONT ( 15 , 69 ) ;
79cdf0e10cSrcweir        Size = MAP_APPFONT ( 62 , 8 ) ;
80cdf0e10cSrcweir        Text[ en-US ] = "~From top";
81cdf0e10cSrcweir    };
82cdf0e10cSrcweir    MetricField     MF_TOP
83cdf0e10cSrcweir    {
84cdf0e10cSrcweir        HelpID = "sw:MetricField:DLG_MM_LAYOUT_PAGE:MF_TOP";
85cdf0e10cSrcweir        Pos = MAP_APPFONT ( 78 , 67 ) ;
86cdf0e10cSrcweir        Size = MAP_APPFONT ( 40 , 12 ) ;
87cdf0e10cSrcweir        Border = TRUE ;
88cdf0e10cSrcweir        Left = TRUE ;
89cdf0e10cSrcweir        Repeat = TRUE ;
90cdf0e10cSrcweir        Spin = TRUE ;
91cdf0e10cSrcweir        Minimum = 0 ;
92cdf0e10cSrcweir        Maximum = 99999 ;
93cdf0e10cSrcweir        DecimalDigits = 2 ;
94cdf0e10cSrcweir        Value = 200 ;
95cdf0e10cSrcweir        Unit = FUNIT_CM ;
96cdf0e10cSrcweir        First = 10 ;
97cdf0e10cSrcweir        Last = 99999 ;
98cdf0e10cSrcweir        SpinSize = 10 ;
99cdf0e10cSrcweir    };
100cdf0e10cSrcweir    FixedLine       FL_GREETINGLINE
101cdf0e10cSrcweir    {
102cdf0e10cSrcweir        Pos = MAP_APPFONT ( 6 , 85 ) ;
103cdf0e10cSrcweir        Size = MAP_APPFONT ( 118 , 8 ) ;
104cdf0e10cSrcweir        Text[ en-US ] = "Salutation position";
105cdf0e10cSrcweir    };
106cdf0e10cSrcweir    FixedText       FT_UP
107cdf0e10cSrcweir    {
108cdf0e10cSrcweir        Pos = MAP_APPFONT ( 15 , 98 ) ;
109cdf0e10cSrcweir        Size = MAP_APPFONT ( 45 , 8 ) ;
110cdf0e10cSrcweir        Text[ en-US ] = "Move";
111cdf0e10cSrcweir    };
112cdf0e10cSrcweir    PushButton      MF_UP
113cdf0e10cSrcweir    {
114cdf0e10cSrcweir        HelpID = "sw:PushButton:DLG_MM_LAYOUT_PAGE:MF_UP";
115cdf0e10cSrcweir        Pos = MAP_APPFONT ( 68 , 96 ) ;
116cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 14 ) ;
117cdf0e10cSrcweir        Text[ en-US ] = "~Up";
118cdf0e10cSrcweir    };
119cdf0e10cSrcweir    FixedText       FT_DOWN
120cdf0e10cSrcweir    {
121cdf0e10cSrcweir        Pos = MAP_APPFONT ( 15 , 115 ) ;
122cdf0e10cSrcweir        Size = MAP_APPFONT ( 45 , 8 ) ;
123cdf0e10cSrcweir        Text[ en-US ] = "Move";
124cdf0e10cSrcweir    };
125cdf0e10cSrcweir    PushButton      PB_DOWN
126cdf0e10cSrcweir    {
127cdf0e10cSrcweir        HelpID = "sw:PushButton:DLG_MM_LAYOUT_PAGE:PB_DOWN";
128cdf0e10cSrcweir        Pos = MAP_APPFONT ( 68 , 113 ) ;
129cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 14 ) ;
130cdf0e10cSrcweir        Text[ en-US ] = "~Down";
131cdf0e10cSrcweir    };
132cdf0e10cSrcweir    Window          WIN_EXAMPLECONTAINER
133cdf0e10cSrcweir    {
134cdf0e10cSrcweir        Pos = MAP_APPFONT ( 130 , 20 ) ;
135cdf0e10cSrcweir        Size = MAP_APPFONT ( 124 , 159 ) ;
136cdf0e10cSrcweir        Border = TRUE;
137cdf0e10cSrcweir    };
138cdf0e10cSrcweir    FixedText       FT_ZOOM
139cdf0e10cSrcweir    {
140cdf0e10cSrcweir        Pos = MAP_APPFONT ( 161 , 185 ) ;
141cdf0e10cSrcweir        Size = MAP_APPFONT ( 40 , 8 ) ;
142cdf0e10cSrcweir        Right = TRUE;
143cdf0e10cSrcweir        Text[ en-US ] = "~Zoom";
144cdf0e10cSrcweir    };
145cdf0e10cSrcweir    ListBox        LB_ZOOM
146cdf0e10cSrcweir    {
147cdf0e10cSrcweir        HelpID = "sw:ListBox:DLG_MM_LAYOUT_PAGE:LB_ZOOM";
148cdf0e10cSrcweir        Pos = MAP_APPFONT ( 204 , 182 ) ;
149cdf0e10cSrcweir        Size = MAP_APPFONT ( 50 , 50 ) ;
150cdf0e10cSrcweir        Border = TRUE;
151cdf0e10cSrcweir        DropDown = TRUE;
152cdf0e10cSrcweir        StringList [en-US]=    \
153cdf0e10cSrcweir        {                           \
154cdf0e10cSrcweir            < "Entire page" ; > ;        \
155cdf0e10cSrcweir        };
156cdf0e10cSrcweir    };
157cdf0e10cSrcweir
158cdf0e10cSrcweir};
159cdf0e10cSrcweir
160cdf0e10cSrcweir
161cdf0e10cSrcweir
162