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 // #pragma ****************************************************************** 24 25 // #include ***************************************************************** 26#include "globals.hrc" 27#include "chrdlg.hrc" 28#include "numpara.hrc" 29#include "helpid.h" 30 // TabPage ****************************************************************** 31TabPage TP_NUMPARA 32{ 33 HelpID = HID_NUMPARA ; 34 Size = MAP_APPFONT ( 260 , 185 ) ; 35 Hide = TRUE ; 36 FixedLine FL_OUTLINE_START 37 { 38 Pos = MAP_APPFONT ( 6 , 3 ) ; 39 Size = MAP_APPFONT ( 248 , 8 ) ; 40 Text [ en-US ] = "Outline" ; 41 }; 42 FixedText FT_OUTLINE_LEVEL 43 { 44 Pos = MAP_APPFONT ( 12 , 16 ) ; 45 Size = MAP_APPFONT ( 112 , 8 ) ; 46 Text [ en-US ] = "Outline level" ; 47 }; 48 ListBox LB_OUTLINE_LEVEL 49 { 50 HelpID = "sw:ListBox:TP_NUMPARA:LB_OUTLINE_LEVEL"; 51 Pos = MAP_APPFONT ( 130 , 14 ) ; 52 Size = MAP_APPFONT ( 118 , 65 ) ; 53 DropDown = TRUE ; 54 Border = TRUE ; 55 StringList [ en-US ] = 56 { 57 < "Body text" ; > ; 58 < "Level 1" ; >; 59 < "Level 2" ; >; 60 < "Level 3" ; >; 61 < "Level 4" ; >; 62 < "Level 5" ; >; 63 < "Level 6" ; >; 64 < "Level 7" ; >; 65 < "Level 8" ; >; 66 < "Level 9" ; >; 67 < "Level 10" ; >; 68 }; 69 StringList [ x-comment ] = 70 { 71 < "Level 0" ; > ; 72 < "Level 1" ; >; 73 < "Level 2" ; >; 74 < "Level 3" ; >; 75 < "Level 4" ; >; 76 < "Level 5" ; >; 77 < "Level 6" ; >; 78 < "Level 7" ; >; 79 < "Level 8" ; >; 80 < "Level 9" ; >; 81 < "Level 10" ; >; 82 }; 83 }; 84 FixedLine FL_NEW_START 85 { 86 Pos = MAP_APPFONT ( 6 , 32 ) ; 87 Size = MAP_APPFONT ( 248 , 8 ) ; 88 Text [ en-US ] = "Numbering" ; 89 }; 90 FixedText FT_NUMBER_STYLE 91 { 92 Pos = MAP_APPFONT ( 12 , 43 ) ; 93 Size = MAP_APPFONT ( 112 , 8 ) ; 94 Text [ en-US ] = "Numbering Style" ; 95 }; 96 ListBox LB_NUMBER_STYLE 97 { 98 HelpID = "sw:ListBox:TP_NUMPARA:LB_NUMBER_STYLE"; 99 Pos = MAP_APPFONT ( 130 , 41 ) ; 100 Size = MAP_APPFONT ( 118 , 65 ) ; 101 DropDown = TRUE ; 102 Border = TRUE ; 103 StringList [ en-US ] = 104 { 105 < "None" ; > ; 106 }; 107 }; 108 TriStateBox CB_NEW_START 109 { 110 HelpID = "sw:TriStateBox:TP_NUMPARA:CB_NEW_START"; 111 Pos = MAP_APPFONT ( 12 , 58 ) ; 112 Size = MAP_APPFONT ( 160 , 10 ) ; 113 Hide = TRUE ; 114 TabStop = TRUE ; 115 Text [ en-US ] = "R~estart at this paragraph" ; 116 }; 117 TriStateBox CB_NUMBER_NEW_START 118 { 119 HelpID = "sw:TriStateBox:TP_NUMPARA:CB_NUMBER_NEW_START"; 120 Pos = MAP_APPFONT ( 21 , 73 ) ; 121 Size = MAP_APPFONT ( 103 , 10 ) ; 122 Hide = TRUE ; 123 Disable = TRUE ; 124 Text [ en-US ] = "S~tart with" ; 125 }; 126 NumericField NF_NEW_START 127 { 128 HelpID = "sw:NumericField:TP_NUMPARA:NF_NEW_START"; 129 Border = TRUE ; 130 Pos = MAP_APPFONT ( 130 , 72 ) ; 131 Size = MAP_APPFONT ( 26 , 12 ) ; 132 TabStop = TRUE ; 133 Left = TRUE ; 134 Repeat = TRUE ; 135 Spin = TRUE ; 136 Minimum = 0 ; 137 Maximum = 9999 ; 138 Value = 0 ; 139 First = 0 ; 140 Last = 9999 ; 141 Hide = TRUE ; 142 Disable = TRUE ; 143 }; 144 FixedLine FL_COUNT_PARA 145 { 146 Pos = MAP_APPFONT ( 6 , 89 ) ; 147 Size = MAP_APPFONT ( 248 , 8 ) ; 148 Text [ en-US ] = "Line numbering" ; 149 }; 150 TriStateBox CB_COUNT_PARA 151 { 152 HelpID = "sw:TriStateBox:TP_NUMPARA:CB_COUNT_PARA"; 153 Pos = MAP_APPFONT ( 12 , 100 ) ; 154 Size = MAP_APPFONT ( 160 , 10 ) ; 155 TabStop = TRUE ; 156 Text [ en-US ] = "~Include this paragraph in line numbering" ; 157 }; 158 TriStateBox CB_RESTART_PARACOUNT 159 { 160 HelpID = "sw:TriStateBox:TP_NUMPARA:CB_RESTART_PARACOUNT"; 161 Pos = MAP_APPFONT ( 12 , 116 ) ; 162 Size = MAP_APPFONT ( 160 , 10 ) ; 163 TabStop = TRUE ; 164 Text [ en-US ] = "Rest~art at this paragraph" ; 165 }; 166 FixedText FT_RESTART_NO 167 { 168 Pos = MAP_APPFONT ( 21 , 132 ) ; 169 Size = MAP_APPFONT ( 103 , 8 ) ; 170 Disable = TRUE ; 171 Text [ en-US ] = "~Start with" ; 172 }; 173 NumericField NF_RESTART_PARA 174 { 175 HelpID = "sw:NumericField:TP_NUMPARA:NF_RESTART_PARA"; 176 Border = TRUE ; 177 Pos = MAP_APPFONT ( 130 , 130 ) ; 178 Size = MAP_APPFONT ( 26 , 12 ) ; 179 TabStop = TRUE ; 180 Left = TRUE ; 181 Repeat = TRUE ; 182 Spin = TRUE ; 183 Minimum = 1 ; 184 Maximum = 65000 ; 185 Value = 1 ; 186 First = 1 ; 187 Last = 65000 ; 188 Disable = TRUE ; 189 }; 190}; 191 // ********************************************************************** EOF 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234