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