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