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 "globals.hrc" 24cdf0e10cSrcweir#include "pgfnote.hrc" 25cdf0e10cSrcweir#include "helpid.h" 26cdf0e10cSrcweirTabPage TP_FOOTNOTE_PAGE 27cdf0e10cSrcweir{ 28cdf0e10cSrcweir HelpID = HID_FOOTNOTE_PAGE ; 29cdf0e10cSrcweir Pos = MAP_APPFONT ( 0 , 0 ) ; 30cdf0e10cSrcweir Size = MAP_APPFONT ( 260 , 185 ) ; 31cdf0e10cSrcweir Hide = TRUE; 32cdf0e10cSrcweir RadioButton RB_MAXHEIGHT_PAGE 33cdf0e10cSrcweir { 34cdf0e10cSrcweir HelpID = "sw:RadioButton:TP_FOOTNOTE_PAGE:RB_MAXHEIGHT_PAGE"; 35cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 14 ) ; 36cdf0e10cSrcweir Size = MAP_APPFONT ( 132 , 10 ) ; 37cdf0e10cSrcweir Text [ en-US ] = "~Not larger than page area" ; 38cdf0e10cSrcweir TabStop = TRUE ; 39cdf0e10cSrcweir Group = TRUE ; 40cdf0e10cSrcweir }; 41cdf0e10cSrcweir RadioButton RB_MAXHEIGHT 42cdf0e10cSrcweir { 43cdf0e10cSrcweir HelpID = "sw:RadioButton:TP_FOOTNOTE_PAGE:RB_MAXHEIGHT"; 44cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 28 ) ; 45cdf0e10cSrcweir Size = MAP_APPFONT ( 132 , 10 ) ; 46cdf0e10cSrcweir Text [ en-US ] = "Maximum footnote ~height" ; 47cdf0e10cSrcweir }; 48cdf0e10cSrcweir MetricField ED_MAXHEIGHT 49cdf0e10cSrcweir { 50cdf0e10cSrcweir HelpID = "sw:MetricField:TP_FOOTNOTE_PAGE:ED_MAXHEIGHT"; 51cdf0e10cSrcweir Border = TRUE ; 52cdf0e10cSrcweir Pos = MAP_APPFONT ( 148 , 26 ) ; 53cdf0e10cSrcweir Size = MAP_APPFONT ( 42 , 12 ) ; 54cdf0e10cSrcweir TabStop = TRUE ; 55cdf0e10cSrcweir Group = TRUE ; 56cdf0e10cSrcweir Left = TRUE ; 57cdf0e10cSrcweir Repeat = TRUE ; 58cdf0e10cSrcweir Spin = TRUE ; 59cdf0e10cSrcweir Minimum = 50 ; 60cdf0e10cSrcweir Maximum = 99999 ; 61cdf0e10cSrcweir DecimalDigits = 2 ; 62cdf0e10cSrcweir Value = 200 ; 63cdf0e10cSrcweir Unit = FUNIT_CM ; 64cdf0e10cSrcweir First = 10 ; 65cdf0e10cSrcweir Last = 99999 ; 66cdf0e10cSrcweir SpinSize = 10 ; 67cdf0e10cSrcweir }; 68cdf0e10cSrcweir FixedText FT_DIST 69cdf0e10cSrcweir { 70cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 44 ) ; 71cdf0e10cSrcweir Size = MAP_APPFONT ( 132 , 8 ) ; 72cdf0e10cSrcweir Text [ en-US ] = "Space to text" ; 73cdf0e10cSrcweir Left = TRUE ; 74cdf0e10cSrcweir }; 75cdf0e10cSrcweir MetricField ED_DIST 76cdf0e10cSrcweir { 77cdf0e10cSrcweir HelpID = "sw:MetricField:TP_FOOTNOTE_PAGE:ED_DIST"; 78cdf0e10cSrcweir Border = TRUE ; 79cdf0e10cSrcweir Pos = MAP_APPFONT ( 148 , 42 ) ; 80cdf0e10cSrcweir Size = MAP_APPFONT ( 42 , 12 ) ; 81cdf0e10cSrcweir TabStop = TRUE ; 82cdf0e10cSrcweir Left = TRUE ; 83cdf0e10cSrcweir Repeat = TRUE ; 84cdf0e10cSrcweir Spin = TRUE ; 85cdf0e10cSrcweir Maximum = 999 ; 86cdf0e10cSrcweir DecimalDigits = 2 ; 87cdf0e10cSrcweir Value = 10 ; 88cdf0e10cSrcweir Unit = FUNIT_CM ; 89cdf0e10cSrcweir First = 5 ; 90cdf0e10cSrcweir Last = 99999 ; 91cdf0e10cSrcweir SpinSize = 10 ; 92cdf0e10cSrcweir }; 93cdf0e10cSrcweir FixedLine FL_FOOTNOTE_SIZE 94cdf0e10cSrcweir { 95cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 3 ) ; 96cdf0e10cSrcweir Size = MAP_APPFONT ( 248 , 8 ) ; 97cdf0e10cSrcweir Text [ en-US ] = "Footnote area" ; 98cdf0e10cSrcweir }; 99cdf0e10cSrcweir FixedText FT_LINEPOS 100cdf0e10cSrcweir { 101cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 73 ) ; 102cdf0e10cSrcweir Size = MAP_APPFONT ( 132 , 8 ) ; 103cdf0e10cSrcweir Left = TRUE ; 104cdf0e10cSrcweir Text [ en-US ] = "~Position" ; 105cdf0e10cSrcweir }; 106cdf0e10cSrcweir ListBox DLB_LINEPOS 107cdf0e10cSrcweir { 108cdf0e10cSrcweir HelpID = "sw:ListBox:TP_FOOTNOTE_PAGE:DLB_LINEPOS"; 109cdf0e10cSrcweir Pos = MAP_APPFONT ( 148 , 71 ) ; 110cdf0e10cSrcweir Size = MAP_APPFONT ( 57 , 40 ) ; 111cdf0e10cSrcweir TabStop = TRUE ; 112cdf0e10cSrcweir Group = TRUE ; 113cdf0e10cSrcweir DropDown = TRUE ; 114cdf0e10cSrcweir CurPos = 0 ; 115cdf0e10cSrcweir StringList [ en-US ] = 116cdf0e10cSrcweir { 117cdf0e10cSrcweir < "Left" ; Default ; > ; 118cdf0e10cSrcweir < "Centered" ; Default ; > ; 119cdf0e10cSrcweir < "Right" ; Default ; > ; 120cdf0e10cSrcweir }; 121cdf0e10cSrcweir }; 122cdf0e10cSrcweir FixedText FT_LINETYPE 123cdf0e10cSrcweir { 124cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 89 ) ; 125cdf0e10cSrcweir Size = MAP_APPFONT ( 132 , 8 ) ; 126cdf0e10cSrcweir Group = TRUE ; 127cdf0e10cSrcweir Left = TRUE ; 128cdf0e10cSrcweir Text [ en-US ] = "~Weight" ; 129cdf0e10cSrcweir }; 130cdf0e10cSrcweir ListBox DLB_LINETYPE 131cdf0e10cSrcweir { 132cdf0e10cSrcweir HelpID = "sw:ListBox:TP_FOOTNOTE_PAGE:DLB_LINETYPE"; 133cdf0e10cSrcweir Pos = MAP_APPFONT ( 148 , 87 ) ; 134cdf0e10cSrcweir Size = MAP_APPFONT ( 57 , 50 ) ; 135cdf0e10cSrcweir TabStop = TRUE ; 136cdf0e10cSrcweir Group = TRUE ; 137cdf0e10cSrcweir DropDown = TRUE ; 138cdf0e10cSrcweir CurPos = 0 ; 139cdf0e10cSrcweir }; 140cdf0e10cSrcweir 141cdf0e10cSrcweir FixedText FT_LINEWIDTH 142cdf0e10cSrcweir { 143cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 105 ) ; 144cdf0e10cSrcweir Size = MAP_APPFONT ( 132 , 8 ) ; 145cdf0e10cSrcweir Left = TRUE ; 146cdf0e10cSrcweir Text [ en-US ] = "~Length" ; 147cdf0e10cSrcweir }; 148cdf0e10cSrcweir MetricField ED_LINEWIDTH 149cdf0e10cSrcweir { 150cdf0e10cSrcweir HelpID = "sw:MetricField:TP_FOOTNOTE_PAGE:ED_LINEWIDTH"; 151cdf0e10cSrcweir Border = TRUE ; 152cdf0e10cSrcweir Pos = MAP_APPFONT ( 148 , 103 ) ; 153cdf0e10cSrcweir Size = MAP_APPFONT ( 42 , 12 ) ; 154cdf0e10cSrcweir TabStop = TRUE ; 155cdf0e10cSrcweir Left = TRUE ; 156cdf0e10cSrcweir Repeat = TRUE ; 157cdf0e10cSrcweir Spin = TRUE ; 158cdf0e10cSrcweir Maximum = 100 ; 159cdf0e10cSrcweir Value = 100 ; 160cdf0e10cSrcweir Unit = FUNIT_CUSTOM ; 161cdf0e10cSrcweir CustomUnitText = "%" ; 162cdf0e10cSrcweir First = 10 ; 163cdf0e10cSrcweir Last = 100 ; 164cdf0e10cSrcweir }; 165cdf0e10cSrcweir FixedText FT_LINEDIST 166cdf0e10cSrcweir { 167cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 121 ) ; 168cdf0e10cSrcweir Size = MAP_APPFONT ( 132 , 8 ) ; 169cdf0e10cSrcweir Text [ en-US ] = "~Spacing to footnote contents" ; 170cdf0e10cSrcweir Left = TRUE ; 171cdf0e10cSrcweir }; 172cdf0e10cSrcweir MetricField ED_LINEDIST 173cdf0e10cSrcweir { 174cdf0e10cSrcweir HelpID = "sw:MetricField:TP_FOOTNOTE_PAGE:ED_LINEDIST"; 175cdf0e10cSrcweir Border = TRUE ; 176cdf0e10cSrcweir Pos = MAP_APPFONT ( 148 , 119 ) ; 177cdf0e10cSrcweir Size = MAP_APPFONT ( 42 , 12 ) ; 178cdf0e10cSrcweir TabStop = TRUE ; 179cdf0e10cSrcweir Left = TRUE ; 180cdf0e10cSrcweir Repeat = TRUE ; 181cdf0e10cSrcweir Spin = TRUE ; 182cdf0e10cSrcweir Maximum = 999 ; 183cdf0e10cSrcweir DecimalDigits = 2 ; 184cdf0e10cSrcweir Value = 10 ; 185cdf0e10cSrcweir Unit = FUNIT_CM ; 186cdf0e10cSrcweir First = 5 ; 187cdf0e10cSrcweir Last = 99999 ; 188cdf0e10cSrcweir SpinSize = 10 ; 189cdf0e10cSrcweir }; 190cdf0e10cSrcweir FixedLine FL_LINE 191cdf0e10cSrcweir { 192cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 60 ) ; 193cdf0e10cSrcweir Size = MAP_APPFONT ( 248 , 8 ) ; 194cdf0e10cSrcweir Text [ en-US ] = "Separator line" ; 195cdf0e10cSrcweir }; 196cdf0e10cSrcweir}; 197