1/************************************************************************* 2 * 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * Copyright 2000, 2010 Oracle and/or its affiliates. 6 * 7 * OpenOffice.org - a multi-platform office productivity suite 8 * 9 * This file is part of OpenOffice.org. 10 * 11 * OpenOffice.org is free software: you can redistribute it and/or modify 12 * it under the terms of the GNU Lesser General Public License version 3 13 * only, as published by the Free Software Foundation. 14 * 15 * OpenOffice.org is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU Lesser General Public License version 3 for more details 19 * (a copy is included in the LICENSE file that accompanied this code). 20 * 21 * You should have received a copy of the GNU Lesser General Public License 22 * version 3 along with OpenOffice.org. If not, see 23 * <http://www.openoffice.org/license.html> 24 * for a copy of the LGPLv3 License. 25 * 26 ************************************************************************/ 27#include <mmlayoutpage.hrc> 28#include <dbui.hrc> 29#include <helpid.h> 30 31TabPage DLG_MM_LAYOUT_PAGE 32{ 33 HelpID = HID_MM_LAYOUT_PAGE; 34 Size = MAP_APPFONT ( 260 , 250 ) ; 35 Hide = TRUE ; 36 37 FixedText FI_HEADER 38 { 39 Pos = MAP_APPFONT ( 6 , 8 ) ; 40 Size = MAP_APPFONT ( 248 , 8 ) ; 41 Text[ en-US ] = "Adjust layout of address block and salutation"; 42 }; 43 FixedLine FL_POSITION 44 { 45 Pos = MAP_APPFONT ( 6 , 27 ) ; 46 Size = MAP_APPFONT ( 118 , 8 ) ; 47 Text[ en-US ] = "Address block position"; 48 }; 49 CheckBox CB_ALIGN 50 { 51 HelpID = "sw:CheckBox:DLG_MM_LAYOUT_PAGE:CB_ALIGN"; 52 Pos = MAP_APPFONT ( 6 , 40 ) ; 53 Size = MAP_APPFONT ( 118 , 10 ) ; 54 Text[ en-US ] = "Align to text body"; 55 }; 56 FixedText FT_LEFT 57 { 58 Pos = MAP_APPFONT ( 15 , 54 ) ; 59 Size = MAP_APPFONT ( 63 , 8 ) ; 60 Text[ en-US ] = "From ~left"; 61 }; 62 MetricField MF_LEFT 63 { 64 HelpID = "sw:MetricField:DLG_MM_LAYOUT_PAGE:MF_LEFT"; 65 Pos = MAP_APPFONT ( 78 , 52 ) ; 66 Size = MAP_APPFONT ( 40 , 12 ) ; 67 Border = TRUE ; 68 Left = TRUE ; 69 Repeat = TRUE ; 70 Spin = TRUE ; 71 Minimum = 0 ; 72 Maximum = 99999 ; 73 DecimalDigits = 2 ; 74 Value = 200 ; 75 Unit = FUNIT_CM ; 76 First = 10 ; 77 Last = 99999 ; 78 SpinSize = 10 ; 79 }; 80 FixedText FT_TOP 81 { 82 Pos = MAP_APPFONT ( 15 , 69 ) ; 83 Size = MAP_APPFONT ( 62 , 8 ) ; 84 Text[ en-US ] = "~From top"; 85 }; 86 MetricField MF_TOP 87 { 88 HelpID = "sw:MetricField:DLG_MM_LAYOUT_PAGE:MF_TOP"; 89 Pos = MAP_APPFONT ( 78 , 67 ) ; 90 Size = MAP_APPFONT ( 40 , 12 ) ; 91 Border = TRUE ; 92 Left = TRUE ; 93 Repeat = TRUE ; 94 Spin = TRUE ; 95 Minimum = 0 ; 96 Maximum = 99999 ; 97 DecimalDigits = 2 ; 98 Value = 200 ; 99 Unit = FUNIT_CM ; 100 First = 10 ; 101 Last = 99999 ; 102 SpinSize = 10 ; 103 }; 104 FixedLine FL_GREETINGLINE 105 { 106 Pos = MAP_APPFONT ( 6 , 85 ) ; 107 Size = MAP_APPFONT ( 118 , 8 ) ; 108 Text[ en-US ] = "Salutation position"; 109 }; 110 FixedText FT_UP 111 { 112 Pos = MAP_APPFONT ( 15 , 98 ) ; 113 Size = MAP_APPFONT ( 45 , 8 ) ; 114 Text[ en-US ] = "Move"; 115 }; 116 PushButton MF_UP 117 { 118 HelpID = "sw:PushButton:DLG_MM_LAYOUT_PAGE:MF_UP"; 119 Pos = MAP_APPFONT ( 68 , 96 ) ; 120 Size = MAP_APPFONT ( 50 , 14 ) ; 121 Text[ en-US ] = "~Up"; 122 }; 123 FixedText FT_DOWN 124 { 125 Pos = MAP_APPFONT ( 15 , 115 ) ; 126 Size = MAP_APPFONT ( 45 , 8 ) ; 127 Text[ en-US ] = "Move"; 128 }; 129 PushButton PB_DOWN 130 { 131 HelpID = "sw:PushButton:DLG_MM_LAYOUT_PAGE:PB_DOWN"; 132 Pos = MAP_APPFONT ( 68 , 113 ) ; 133 Size = MAP_APPFONT ( 50 , 14 ) ; 134 Text[ en-US ] = "~Down"; 135 }; 136 Window WIN_EXAMPLECONTAINER 137 { 138 Pos = MAP_APPFONT ( 130 , 20 ) ; 139 Size = MAP_APPFONT ( 124 , 159 ) ; 140 Border = TRUE; 141 }; 142 FixedText FT_ZOOM 143 { 144 Pos = MAP_APPFONT ( 161 , 185 ) ; 145 Size = MAP_APPFONT ( 40 , 8 ) ; 146 Right = TRUE; 147 Text[ en-US ] = "~Zoom"; 148 }; 149 ListBox LB_ZOOM 150 { 151 HelpID = "sw:ListBox:DLG_MM_LAYOUT_PAGE:LB_ZOOM"; 152 Pos = MAP_APPFONT ( 204 , 182 ) ; 153 Size = MAP_APPFONT ( 50 , 50 ) ; 154 Border = TRUE; 155 DropDown = TRUE; 156 StringList [en-US]= \ 157 { \ 158 < "Entire page" ; > ; \ 159 }; 160 }; 161 162}; 163 164 165 166