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#include "frmui.hrc" 23#include "wrap.hrc" 24#include "globals.hrc" 25#include "helpid.h" 26 27TabPage TP_FRM_WRAP 28{ 29 SVLook = TRUE ; 30 HelpID = HID_FRM_EXT ; 31 Pos = MAP_APPFONT ( 0, 0 ) ; 32 Size = MAP_APPFONT ( 260, 185 ) ; 33 Hide = TRUE ; 34 FixedLine C_WRAP_FL 35 { 36 Pos = MAP_APPFONT ( 6, 3 ) ; 37 Size = MAP_APPFONT ( 248, 8 ) ; 38 Text [ en-US ] = "Settings" ; 39 }; 40 ImageRadioButton RB_NO_WRAP 41 { 42 HelpID = "sw:ImageRadioButton:TP_FRM_WRAP:RB_NO_WRAP" ; 43 Pos = MAP_APPFONT ( 6, 14 ) ; 44 Size = MAP_APPFONT ( 40, 37 ) ; 45 WordBreak = TRUE ; 46 Text [ en-US ] = "~None" ; 47 TopImage = TRUE ; 48 }; 49 ImageRadioButton RB_WRAP_LEFT 50 { 51 HelpID = "sw:ImageRadioButton:TP_FRM_WRAP:RB_WRAP_LEFT" ; 52 Pos = MAP_APPFONT ( 65, 14 ) ; 53 Size = MAP_APPFONT ( 40, 37 ) ; 54 WordBreak = TRUE ; 55 TopImage = TRUE ; 56 Text [ en-US ] = "Before" ; 57 }; 58 ImageRadioButton RB_WRAP_RIGHT 59 { 60 HelpID = "sw:ImageRadioButton:TP_FRM_WRAP:RB_WRAP_RIGHT" ; 61 Pos = MAP_APPFONT ( 121, 14 ) ; 62 Size = MAP_APPFONT ( 40, 37 ) ; 63 WordBreak = TRUE ; 64 TopImage = TRUE ; 65 Text [ en-US ] = "After" ; 66 }; 67 ImageRadioButton RB_WRAP_PARALLEL 68 { 69 HelpID = "sw:ImageRadioButton:TP_FRM_WRAP:RB_WRAP_PARALLEL" ; 70 Pos = MAP_APPFONT ( 177, 14 ) ; 71 Size = MAP_APPFONT ( 40, 37 ) ; 72 WordBreak = TRUE ; 73 Text [ en-US ] = "~Parallel" ; 74 TopImage = TRUE ; 75 }; 76 ImageRadioButton RB_WRAP_THROUGH 77 { 78 HelpID = "sw:ImageRadioButton:TP_FRM_WRAP:RB_WRAP_THROUGH" ; 79 Pos = MAP_APPFONT ( 6, 57 ) ; 80 Size = MAP_APPFONT ( 40, 37 ) ; 81 WordBreak = TRUE ; 82 Text [ en-US ] = "Thro~ugh" ; 83 TopImage = TRUE ; 84 }; 85 ImageRadioButton RB_WRAP_IDEAL 86 { 87 HelpID = "sw:ImageRadioButton:TP_FRM_WRAP:RB_WRAP_IDEAL" ; 88 Pos = MAP_APPFONT ( 65, 57 ) ; 89 Size = MAP_APPFONT ( 40, 37 ) ; 90 WordBreak = TRUE ; 91 TopImage = TRUE ; 92 Text [ en-US ] = "~Optimal" ; 93 }; 94 95 CheckBox CB_ANCHOR_ONLY 96 { 97 HelpID = "sw:CheckBox:TP_FRM_WRAP:CB_ANCHOR_ONLY" ; 98 Pos = MAP_APPFONT ( 139, 111 ) ; 99 Size = MAP_APPFONT ( 109, 10 ) ; 100 Text [ en-US ] = "~First paragraph" ; 101 }; 102 CheckBox CB_TRANSPARENT 103 { 104 HelpID = "sw:CheckBox:TP_FRM_WRAP:CB_TRANSPARENT" ; 105 Pos = MAP_APPFONT ( 139, 125 ) ; 106 Size = MAP_APPFONT ( 109, 10 ) ; 107 Text [ en-US ] = "In bac~kground" ; 108 }; 109 CheckBox CB_OUTLINE 110 { 111 HelpID = "sw:CheckBox:TP_FRM_WRAP:CB_OUTLINE" ; 112 Pos = MAP_APPFONT ( 139, 139 ) ; 113 Size = MAP_APPFONT ( 109, 10 ) ; 114 Hide = TRUE ; 115 Text [ en-US ] = "~Contour" ; 116 }; 117 CheckBox CB_ONLYOUTSIDE 118 { 119 HelpID = "sw:CheckBox:TP_FRM_WRAP:CB_ONLYOUTSIDE" ; 120 Pos = MAP_APPFONT ( 139, 153 ) ; 121 Size = MAP_APPFONT ( 109, 10 ) ; 122 Hide = TRUE ; 123 Text [ en-US ] = "Outside only" ; 124 }; 125 FixedLine FL_OPTION 126 { 127 Pos = MAP_APPFONT ( 133, 100 ) ; 128 Size = MAP_APPFONT ( 121, 8 ) ; 129 Text [ en-US ] = "Options" ; 130 }; 131 FixedLine FL_OPTION_SEP 132 { 133 Pos = MAP_APPFONT ( 128, 111 ) ; 134 Size = MAP_APPFONT ( 4, 60 ) ; 135 Vert = TRUE ; 136 }; 137 FixedText FT_LEFT_MARGIN 138 { 139 Pos = MAP_APPFONT ( 12, 113 ) ; 140 Size = MAP_APPFONT ( 60, 8 ) ; 141 Text [ en-US ] = "L~eft" ; 142 Left = TRUE ; 143 }; 144 MetricField ED_LEFT_MARGIN 145 { 146 HelpID = "sw:MetricField:TP_FRM_WRAP:ED_LEFT_MARGIN" ; 147 Border = TRUE ; 148 Pos = MAP_APPFONT ( 81, 111 ) ; 149 Size = MAP_APPFONT ( 40, 12 ) ; 150 TabStop = TRUE ; 151 Left = TRUE ; 152 Repeat = TRUE ; 153 Spin = TRUE ; 154 Maximum = 9999 ; 155 DecimalDigits = 2 ; 156 Unit = FUNIT_CM ; 157 Last = 9999 ; 158 SpinSize = 10 ; 159 }; 160 FixedText FT_RIGHT_MARGIN 161 { 162 Pos = MAP_APPFONT ( 12, 129 ) ; 163 Size = MAP_APPFONT ( 60, 8 ) ; 164 Text [ en-US ] = "~Right" ; 165 Left = TRUE ; 166 }; 167 MetricField ED_RIGHT_MARGIN 168 { 169 HelpID = "sw:MetricField:TP_FRM_WRAP:ED_RIGHT_MARGIN" ; 170 Border = TRUE ; 171 Pos = MAP_APPFONT ( 81, 127 ) ; 172 Size = MAP_APPFONT ( 40, 12 ) ; 173 TabStop = TRUE ; 174 Left = TRUE ; 175 Repeat = TRUE ; 176 Spin = TRUE ; 177 Maximum = 9999 ; 178 DecimalDigits = 2 ; 179 Unit = FUNIT_CM ; 180 Last = 9999 ; 181 SpinSize = 10 ; 182 }; 183 FixedText FT_TOP_MARGIN 184 { 185 Pos = MAP_APPFONT ( 12, 145 ) ; 186 Size = MAP_APPFONT ( 60, 8 ) ; 187 Text [ en-US ] = "~Top" ; 188 Left = TRUE ; 189 }; 190 MetricField ED_TOP_MARGIN 191 { 192 HelpID = "sw:MetricField:TP_FRM_WRAP:ED_TOP_MARGIN" ; 193 Border = TRUE ; 194 Pos = MAP_APPFONT ( 81, 143 ) ; 195 Size = MAP_APPFONT ( 40, 12 ) ; 196 TabStop = TRUE ; 197 Left = TRUE ; 198 Repeat = TRUE ; 199 Spin = TRUE ; 200 Maximum = 9999 ; 201 DecimalDigits = 2 ; 202 Unit = FUNIT_CM ; 203 Last = 9999 ; 204 SpinSize = 10 ; 205 }; 206 FixedText FT_BOTTOM_MARGIN 207 { 208 Pos = MAP_APPFONT ( 12, 161 ) ; 209 Size = MAP_APPFONT ( 60, 8 ) ; 210 Text [ en-US ] = "~Bottom" ; 211 Left = TRUE ; 212 }; 213 MetricField ED_BOTTOM_MARGIN 214 { 215 HelpID = "sw:MetricField:TP_FRM_WRAP:ED_BOTTOM_MARGIN" ; 216 Border = TRUE ; 217 Pos = MAP_APPFONT ( 81, 159 ) ; 218 Size = MAP_APPFONT ( 40, 12 ) ; 219 TabStop = TRUE ; 220 Left = TRUE ; 221 Repeat = TRUE ; 222 Spin = TRUE ; 223 Maximum = 9999 ; 224 DecimalDigits = 2 ; 225 Unit = FUNIT_CM ; 226 Last = 9999 ; 227 SpinSize = 10 ; 228 }; 229 FixedLine FL_MARGIN 230 { 231 Pos = MAP_APPFONT ( 6, 100 ) ; 232 Size = MAP_APPFONT ( 121, 8 ) ; 233 Text [ en-US ] = "Spacing" ; 234 }; 235#define WRAP_IDLIST \ 236 IdList = \ 237 { \ 238 IMG_NONE ; \ 239 IMG_LEFT ; \ 240 IMG_RIGHT ; \ 241 IMG_PARALLEL ; \ 242 IMG_THROUGH ; \ 243 IMG_IDEAL ; \ 244 IMG_KON_NONE ; \ 245 IMG_KON_LEFT ; \ 246 IMG_KON_RIGHT ; \ 247 IMG_KON_PARALLEL ; \ 248 IMG_KON_IDEAL ; \ 249 }; \ 250 IdCount = { 11 ; } ; 251 252 ImageList IL_WRAP 253 { 254 Prefix = "wr" ; 255 MaskColor = IMAGE_MASK_COLOR ; 256 WRAP_IDLIST 257 }; 258 ImageList ILH_WRAP 259 { 260 Prefix = "wrh" ; 261 MaskColor = IMAGE_MASK_COLOR ; 262 WRAP_IDLIST 263 }; 264}; 265 266// ********************************************************************** EOF 267