1*cdf0e10cSrcweir/************************************************************************* 2*cdf0e10cSrcweir * 3*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4*cdf0e10cSrcweir * 5*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates. 6*cdf0e10cSrcweir * 7*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite 8*cdf0e10cSrcweir * 9*cdf0e10cSrcweir * This file is part of OpenOffice.org. 10*cdf0e10cSrcweir * 11*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify 12*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3 13*cdf0e10cSrcweir * only, as published by the Free Software Foundation. 14*cdf0e10cSrcweir * 15*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful, 16*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of 17*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details 19*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code). 20*cdf0e10cSrcweir * 21*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License 22*cdf0e10cSrcweir * version 3 along with OpenOffice.org. If not, see 23*cdf0e10cSrcweir * <http://www.openoffice.org/license.html> 24*cdf0e10cSrcweir * for a copy of the LGPLv3 License. 25*cdf0e10cSrcweir * 26*cdf0e10cSrcweir ************************************************************************/ 27*cdf0e10cSrcweir 28*cdf0e10cSrcweir#include "frmui.hrc" 29*cdf0e10cSrcweir#include "wrap.hrc" 30*cdf0e10cSrcweir#include "globals.hrc" 31*cdf0e10cSrcweir#include "helpid.h" 32*cdf0e10cSrcweirTabPage TP_FRM_WRAP 33*cdf0e10cSrcweir{ 34*cdf0e10cSrcweir SVLook = TRUE ; 35*cdf0e10cSrcweir HelpID = HID_FRM_EXT ; 36*cdf0e10cSrcweir Pos = MAP_APPFONT ( 0 , 0 ) ; 37*cdf0e10cSrcweir Size = MAP_APPFONT ( 260 , 185 ) ; 38*cdf0e10cSrcweir Hide = TRUE; 39*cdf0e10cSrcweir FixedLine C_WRAP_FL 40*cdf0e10cSrcweir { 41*cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 3 ) ; 42*cdf0e10cSrcweir Size = MAP_APPFONT ( 248 , 8 ) ; 43*cdf0e10cSrcweir Text [ en-US ] = "Settings"; 44*cdf0e10cSrcweir }; 45*cdf0e10cSrcweir ImageRadioButton RB_NO_WRAP 46*cdf0e10cSrcweir { 47*cdf0e10cSrcweir HelpID = "sw:ImageRadioButton:TP_FRM_WRAP:RB_NO_WRAP"; 48*cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 14 ) ; 49*cdf0e10cSrcweir Size = MAP_APPFONT ( 40 , 37 ) ; 50*cdf0e10cSrcweir WordBreak = TRUE; 51*cdf0e10cSrcweir Text [ en-US ] = "~None" ; 52*cdf0e10cSrcweir TopImage = True ; 53*cdf0e10cSrcweir }; 54*cdf0e10cSrcweir ImageRadioButton RB_WRAP_LEFT 55*cdf0e10cSrcweir { 56*cdf0e10cSrcweir HelpID = "sw:ImageRadioButton:TP_FRM_WRAP:RB_WRAP_LEFT"; 57*cdf0e10cSrcweir Pos = MAP_APPFONT ( 65 , 14 ) ; 58*cdf0e10cSrcweir Size = MAP_APPFONT ( 40 , 37 ) ; 59*cdf0e10cSrcweir WordBreak = TRUE; 60*cdf0e10cSrcweir TopImage = True ; 61*cdf0e10cSrcweir Text [ en-US ] = "Before" ; 62*cdf0e10cSrcweir }; 63*cdf0e10cSrcweir ImageRadioButton RB_WRAP_RIGHT 64*cdf0e10cSrcweir { 65*cdf0e10cSrcweir HelpID = "sw:ImageRadioButton:TP_FRM_WRAP:RB_WRAP_RIGHT"; 66*cdf0e10cSrcweir Pos = MAP_APPFONT ( 121 , 14 ) ; 67*cdf0e10cSrcweir Size = MAP_APPFONT ( 40 , 37 ) ; 68*cdf0e10cSrcweir WordBreak = TRUE; 69*cdf0e10cSrcweir TopImage = True ; 70*cdf0e10cSrcweir Text [ en-US ] = "After" ; 71*cdf0e10cSrcweir }; 72*cdf0e10cSrcweir ImageRadioButton RB_WRAP_PARALLEL 73*cdf0e10cSrcweir { 74*cdf0e10cSrcweir HelpID = "sw:ImageRadioButton:TP_FRM_WRAP:RB_WRAP_PARALLEL"; 75*cdf0e10cSrcweir Pos = MAP_APPFONT ( 177 , 14 ) ; 76*cdf0e10cSrcweir Size = MAP_APPFONT ( 40 , 37 ) ; 77*cdf0e10cSrcweir WordBreak = TRUE; 78*cdf0e10cSrcweir Text [ en-US ] = "~Parallel" ; 79*cdf0e10cSrcweir TopImage = True ; 80*cdf0e10cSrcweir }; 81*cdf0e10cSrcweir ImageRadioButton RB_WRAP_THROUGH 82*cdf0e10cSrcweir { 83*cdf0e10cSrcweir HelpID = "sw:ImageRadioButton:TP_FRM_WRAP:RB_WRAP_THROUGH"; 84*cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 57 ) ; 85*cdf0e10cSrcweir Size = MAP_APPFONT ( 40 , 37 ) ; 86*cdf0e10cSrcweir WordBreak = TRUE; 87*cdf0e10cSrcweir Text [ en-US ] = "Thro~ugh" ; 88*cdf0e10cSrcweir TopImage = True ; 89*cdf0e10cSrcweir }; 90*cdf0e10cSrcweir ImageRadioButton RB_WRAP_IDEAL 91*cdf0e10cSrcweir { 92*cdf0e10cSrcweir HelpID = "sw:ImageRadioButton:TP_FRM_WRAP:RB_WRAP_IDEAL"; 93*cdf0e10cSrcweir Pos = MAP_APPFONT ( 65 , 57 ) ; 94*cdf0e10cSrcweir Size = MAP_APPFONT ( 40 , 37 ) ; 95*cdf0e10cSrcweir WordBreak = TRUE; 96*cdf0e10cSrcweir TopImage = True ; 97*cdf0e10cSrcweir Text [ en-US ] = "~Optimal" ; 98*cdf0e10cSrcweir }; 99*cdf0e10cSrcweir 100*cdf0e10cSrcweir CheckBox CB_ANCHOR_ONLY 101*cdf0e10cSrcweir { 102*cdf0e10cSrcweir HelpID = "sw:CheckBox:TP_FRM_WRAP:CB_ANCHOR_ONLY"; 103*cdf0e10cSrcweir Pos = MAP_APPFONT ( 139 , 111 ) ; 104*cdf0e10cSrcweir Size = MAP_APPFONT ( 109 , 10 ) ; 105*cdf0e10cSrcweir Text [ en-US ] = "~First paragraph" ; 106*cdf0e10cSrcweir }; 107*cdf0e10cSrcweir CheckBox CB_TRANSPARENT 108*cdf0e10cSrcweir { 109*cdf0e10cSrcweir HelpID = "sw:CheckBox:TP_FRM_WRAP:CB_TRANSPARENT"; 110*cdf0e10cSrcweir Pos = MAP_APPFONT ( 139 , 125 ) ; 111*cdf0e10cSrcweir Size = MAP_APPFONT ( 109 , 10 ) ; 112*cdf0e10cSrcweir Text [ en-US ] = "In bac~kground" ; 113*cdf0e10cSrcweir }; 114*cdf0e10cSrcweir CheckBox CB_OUTLINE 115*cdf0e10cSrcweir { 116*cdf0e10cSrcweir HelpID = "sw:CheckBox:TP_FRM_WRAP:CB_OUTLINE"; 117*cdf0e10cSrcweir Pos = MAP_APPFONT ( 139 , 139 ) ; 118*cdf0e10cSrcweir Size = MAP_APPFONT ( 109 , 10 ) ; 119*cdf0e10cSrcweir Hide = TRUE ; 120*cdf0e10cSrcweir Text [ en-US ] = "~Contour" ; 121*cdf0e10cSrcweir }; 122*cdf0e10cSrcweir CheckBox CB_ONLYOUTSIDE 123*cdf0e10cSrcweir { 124*cdf0e10cSrcweir HelpID = "sw:CheckBox:TP_FRM_WRAP:CB_ONLYOUTSIDE"; 125*cdf0e10cSrcweir Pos = MAP_APPFONT ( 139 , 153 ) ; 126*cdf0e10cSrcweir Size = MAP_APPFONT ( 109 , 10 ) ; 127*cdf0e10cSrcweir Hide = TRUE ; 128*cdf0e10cSrcweir Text [ en-US ] = "Outside only" ; 129*cdf0e10cSrcweir }; 130*cdf0e10cSrcweir FixedLine FL_OPTION 131*cdf0e10cSrcweir { 132*cdf0e10cSrcweir Pos = MAP_APPFONT ( 133 , 100 ) ; 133*cdf0e10cSrcweir Size = MAP_APPFONT ( 121 , 8 ) ; 134*cdf0e10cSrcweir Text [ en-US ] = "Options" ; 135*cdf0e10cSrcweir }; 136*cdf0e10cSrcweir FixedLine FL_OPTION_SEP 137*cdf0e10cSrcweir { 138*cdf0e10cSrcweir Pos = MAP_APPFONT ( 128 , 111 ) ; 139*cdf0e10cSrcweir Size = MAP_APPFONT ( 4 , 60 ) ; 140*cdf0e10cSrcweir Vert = TRUE; 141*cdf0e10cSrcweir }; 142*cdf0e10cSrcweir FixedText FT_LEFT_MARGIN 143*cdf0e10cSrcweir { 144*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 113 ) ; 145*cdf0e10cSrcweir Size = MAP_APPFONT ( 60 , 8 ) ; 146*cdf0e10cSrcweir Text [ en-US ] = "L~eft" ; 147*cdf0e10cSrcweir Left = TRUE ; 148*cdf0e10cSrcweir }; 149*cdf0e10cSrcweir MetricField ED_LEFT_MARGIN 150*cdf0e10cSrcweir { 151*cdf0e10cSrcweir HelpID = "sw:MetricField:TP_FRM_WRAP:ED_LEFT_MARGIN"; 152*cdf0e10cSrcweir Border = TRUE ; 153*cdf0e10cSrcweir Pos = MAP_APPFONT ( 81 , 111 ) ; 154*cdf0e10cSrcweir Size = MAP_APPFONT ( 40 , 12 ) ; 155*cdf0e10cSrcweir TabStop = TRUE ; 156*cdf0e10cSrcweir Left = TRUE ; 157*cdf0e10cSrcweir Repeat = TRUE ; 158*cdf0e10cSrcweir Spin = TRUE ; 159*cdf0e10cSrcweir Maximum = 9999 ; 160*cdf0e10cSrcweir DecimalDigits = 2 ; 161*cdf0e10cSrcweir Unit = FUNIT_CM ; 162*cdf0e10cSrcweir Last = 9999 ; 163*cdf0e10cSrcweir SpinSize = 10 ; 164*cdf0e10cSrcweir }; 165*cdf0e10cSrcweir FixedText FT_RIGHT_MARGIN 166*cdf0e10cSrcweir { 167*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 129 ) ; 168*cdf0e10cSrcweir Size = MAP_APPFONT ( 60 , 8 ) ; 169*cdf0e10cSrcweir Text [ en-US ] = "~Right" ; 170*cdf0e10cSrcweir Left = TRUE ; 171*cdf0e10cSrcweir }; 172*cdf0e10cSrcweir MetricField ED_RIGHT_MARGIN 173*cdf0e10cSrcweir { 174*cdf0e10cSrcweir HelpID = "sw:MetricField:TP_FRM_WRAP:ED_RIGHT_MARGIN"; 175*cdf0e10cSrcweir Border = TRUE ; 176*cdf0e10cSrcweir Pos = MAP_APPFONT ( 81 , 127 ) ; 177*cdf0e10cSrcweir Size = MAP_APPFONT ( 40 , 12 ) ; 178*cdf0e10cSrcweir TabStop = TRUE ; 179*cdf0e10cSrcweir Left = TRUE ; 180*cdf0e10cSrcweir Repeat = TRUE ; 181*cdf0e10cSrcweir Spin = TRUE ; 182*cdf0e10cSrcweir Maximum = 9999 ; 183*cdf0e10cSrcweir DecimalDigits = 2 ; 184*cdf0e10cSrcweir Unit = FUNIT_CM ; 185*cdf0e10cSrcweir Last = 9999 ; 186*cdf0e10cSrcweir SpinSize = 10 ; 187*cdf0e10cSrcweir }; 188*cdf0e10cSrcweir FixedText FT_TOP_MARGIN 189*cdf0e10cSrcweir { 190*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 145 ) ; 191*cdf0e10cSrcweir Size = MAP_APPFONT ( 60 , 8 ) ; 192*cdf0e10cSrcweir Text [ en-US ] = "~Top" ; 193*cdf0e10cSrcweir Left = TRUE ; 194*cdf0e10cSrcweir }; 195*cdf0e10cSrcweir MetricField ED_TOP_MARGIN 196*cdf0e10cSrcweir { 197*cdf0e10cSrcweir HelpID = "sw:MetricField:TP_FRM_WRAP:ED_TOP_MARGIN"; 198*cdf0e10cSrcweir Border = TRUE ; 199*cdf0e10cSrcweir Pos = MAP_APPFONT ( 81 , 143 ) ; 200*cdf0e10cSrcweir Size = MAP_APPFONT ( 40 , 12 ) ; 201*cdf0e10cSrcweir TabStop = TRUE ; 202*cdf0e10cSrcweir Left = TRUE ; 203*cdf0e10cSrcweir Repeat = TRUE ; 204*cdf0e10cSrcweir Spin = TRUE ; 205*cdf0e10cSrcweir Maximum = 9999 ; 206*cdf0e10cSrcweir DecimalDigits = 2 ; 207*cdf0e10cSrcweir Unit = FUNIT_CM ; 208*cdf0e10cSrcweir Last = 9999 ; 209*cdf0e10cSrcweir SpinSize = 10 ; 210*cdf0e10cSrcweir }; 211*cdf0e10cSrcweir FixedText FT_BOTTOM_MARGIN 212*cdf0e10cSrcweir { 213*cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 161 ) ; 214*cdf0e10cSrcweir Size = MAP_APPFONT ( 60 , 8 ) ; 215*cdf0e10cSrcweir Text [ en-US ] = "~Bottom" ; 216*cdf0e10cSrcweir Left = TRUE ; 217*cdf0e10cSrcweir }; 218*cdf0e10cSrcweir MetricField ED_BOTTOM_MARGIN 219*cdf0e10cSrcweir { 220*cdf0e10cSrcweir HelpID = "sw:MetricField:TP_FRM_WRAP:ED_BOTTOM_MARGIN"; 221*cdf0e10cSrcweir Border = TRUE ; 222*cdf0e10cSrcweir Pos = MAP_APPFONT ( 81 , 159 ) ; 223*cdf0e10cSrcweir Size = MAP_APPFONT ( 40 , 12 ) ; 224*cdf0e10cSrcweir TabStop = TRUE ; 225*cdf0e10cSrcweir Left = TRUE ; 226*cdf0e10cSrcweir Repeat = TRUE ; 227*cdf0e10cSrcweir Spin = TRUE ; 228*cdf0e10cSrcweir Maximum = 9999 ; 229*cdf0e10cSrcweir DecimalDigits = 2 ; 230*cdf0e10cSrcweir Unit = FUNIT_CM ; 231*cdf0e10cSrcweir Last = 9999 ; 232*cdf0e10cSrcweir SpinSize = 10 ; 233*cdf0e10cSrcweir }; 234*cdf0e10cSrcweir FixedLine FL_MARGIN 235*cdf0e10cSrcweir { 236*cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 100 ) ; 237*cdf0e10cSrcweir Size = MAP_APPFONT ( 121 , 8 ) ; 238*cdf0e10cSrcweir Text [ en-US ] = "Spacing" ; 239*cdf0e10cSrcweir }; 240*cdf0e10cSrcweir#define WRAP_IDLIST \ 241*cdf0e10cSrcweir IdList = \ 242*cdf0e10cSrcweir { \ 243*cdf0e10cSrcweir IMG_NONE ; \ 244*cdf0e10cSrcweir IMG_LEFT ; \ 245*cdf0e10cSrcweir IMG_RIGHT ; \ 246*cdf0e10cSrcweir IMG_PARALLEL ; \ 247*cdf0e10cSrcweir IMG_THROUGH ; \ 248*cdf0e10cSrcweir IMG_IDEAL ; \ 249*cdf0e10cSrcweir IMG_KON_NONE ; \ 250*cdf0e10cSrcweir IMG_KON_LEFT ; \ 251*cdf0e10cSrcweir IMG_KON_RIGHT ; \ 252*cdf0e10cSrcweir IMG_KON_PARALLEL ;\ 253*cdf0e10cSrcweir IMG_KON_IDEAL ;\ 254*cdf0e10cSrcweir }; \ 255*cdf0e10cSrcweir IdCount = { 11 ; }; 256*cdf0e10cSrcweir 257*cdf0e10cSrcweir ImageList IL_WRAP 258*cdf0e10cSrcweir { 259*cdf0e10cSrcweir Prefix = "wr"; 260*cdf0e10cSrcweir MaskColor = IMAGE_MASK_COLOR ; 261*cdf0e10cSrcweir WRAP_IDLIST 262*cdf0e10cSrcweir }; 263*cdf0e10cSrcweir ImageList ILH_WRAP 264*cdf0e10cSrcweir { 265*cdf0e10cSrcweir Prefix = "wrh"; 266*cdf0e10cSrcweir MaskColor = IMAGE_MASK_COLOR ; 267*cdf0e10cSrcweir WRAP_IDLIST 268*cdf0e10cSrcweir }; 269*cdf0e10cSrcweir 270*cdf0e10cSrcweir}; 271*cdf0e10cSrcweir 272