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 10cdf0e10cSrcweir * 11*8660f102SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12cdf0e10cSrcweir * 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. 19cdf0e10cSrcweir * 20*8660f102SAndrew Rist *************************************************************/ 21*8660f102SAndrew Rist 22*8660f102SAndrew Rist 23cdf0e10cSrcweir // #include ***************************************************************** 24cdf0e10cSrcweir#include "helpid.h" 25cdf0e10cSrcweir#include "frmui.hrc" 26cdf0e10cSrcweir#include "cption.hrc" 27cdf0e10cSrcweir#include "cmdid.h" 28cdf0e10cSrcweir // #pragma ****************************************************************** 29cdf0e10cSrcweir 30cdf0e10cSrcweir // ModalDialog ************************************************************** 31cdf0e10cSrcweirModalDialog DLG_CAPTION 32cdf0e10cSrcweir{ 33cdf0e10cSrcweir HelpID = HID_DLG_CAPTION ; 34cdf0e10cSrcweir OutputSize = TRUE ; 35cdf0e10cSrcweir SVLook = TRUE ; 36cdf0e10cSrcweir Size = MAP_APPFONT ( 250 , 143 ) ; 37cdf0e10cSrcweir Text [ en-US ] = "Caption" ; 38cdf0e10cSrcweir Moveable = TRUE ; 39cdf0e10cSrcweir OKButton BTN_OK 40cdf0e10cSrcweir { 41cdf0e10cSrcweir DefButton = TRUE ; 42cdf0e10cSrcweir Pos = MAP_APPFONT ( 194 , 6 ) ; 43cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 44cdf0e10cSrcweir TabStop = TRUE ; 45cdf0e10cSrcweir }; 46cdf0e10cSrcweir CancelButton BTN_CANCEL 47cdf0e10cSrcweir { 48cdf0e10cSrcweir Pos = MAP_APPFONT ( 194 , 23 ) ; 49cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 50cdf0e10cSrcweir TabStop = TRUE ; 51cdf0e10cSrcweir }; 52cdf0e10cSrcweir HelpButton BTN_HELP 53cdf0e10cSrcweir { 54cdf0e10cSrcweir Pos = MAP_APPFONT ( 194 , 43 ) ; 55cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 56cdf0e10cSrcweir TabStop = TRUE ; 57cdf0e10cSrcweir }; 58cdf0e10cSrcweir PushButton BTN_AUTOCAPTION 59cdf0e10cSrcweir { 60cdf0e10cSrcweir HelpID = "sw:PushButton:DLG_CAPTION:BTN_AUTOCAPTION"; 61cdf0e10cSrcweir Pos = MAP_APPFONT ( 194 , 63 ) ; 62cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 63cdf0e10cSrcweir TabStop = TRUE ; 64cdf0e10cSrcweir Text [ en-US ] = "AutoCaption..." ; 65cdf0e10cSrcweir }; 66cdf0e10cSrcweir PushButton BTN_OPTION 67cdf0e10cSrcweir { 68cdf0e10cSrcweir HelpID = "sw:PushButton:DLG_CAPTION:BTN_OPTION"; 69cdf0e10cSrcweir Pos = MAP_APPFONT ( 194 , 80 ) ; 70cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 71cdf0e10cSrcweir TabStop = TRUE ; 72cdf0e10cSrcweir Text [ en-US ] = "Options..." ; 73cdf0e10cSrcweir }; 74cdf0e10cSrcweir 75cdf0e10cSrcweir FixedText TXT_TEXT 76cdf0e10cSrcweir { 77cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 6 ) ; 78cdf0e10cSrcweir Size = MAP_APPFONT ( 182 , 8 ) ; 79cdf0e10cSrcweir Text [ en-US ] = "Caption" ; 80cdf0e10cSrcweir Left = TRUE ; 81cdf0e10cSrcweir }; 82cdf0e10cSrcweir Edit EDT_TEXT 83cdf0e10cSrcweir { 84cdf0e10cSrcweir HelpID = "sw:Edit:DLG_CAPTION:EDT_TEXT"; 85cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 17 ) ; 86cdf0e10cSrcweir Size = MAP_APPFONT ( 182 , 12 ) ; 87cdf0e10cSrcweir Border = TRUE ; 88cdf0e10cSrcweir TabStop = TRUE ; 89cdf0e10cSrcweir Left = TRUE ; 90cdf0e10cSrcweir }; 91cdf0e10cSrcweir FixedLine FL_SETTINGS 92cdf0e10cSrcweir { 93cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 35 ) ; 94cdf0e10cSrcweir Size = MAP_APPFONT ( 182 , 8 ) ; 95cdf0e10cSrcweir Text [ en-US ] = "Properties"; 96cdf0e10cSrcweir }; 97cdf0e10cSrcweir FixedText TXT_CATEGORY 98cdf0e10cSrcweir { 99cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 49 ) ; 100cdf0e10cSrcweir Size = MAP_APPFONT ( 67 , 8 ) ; 101cdf0e10cSrcweir Text [ en-US ] = "Category" ; 102cdf0e10cSrcweir Left = TRUE ; 103cdf0e10cSrcweir }; 104cdf0e10cSrcweir ComboBox BOX_CATEGORY 105cdf0e10cSrcweir { 106cdf0e10cSrcweir HelpID = "sw:ComboBox:DLG_CAPTION:BOX_CATEGORY"; 107cdf0e10cSrcweir Pos = MAP_APPFONT ( 82 , 46 ) ; 108cdf0e10cSrcweir Size = MAP_APPFONT ( 106 , 61 ) ; 109cdf0e10cSrcweir DropDown = TRUE ; 110cdf0e10cSrcweir TabStop = TRUE ; 111cdf0e10cSrcweir Sort = TRUE ; 112cdf0e10cSrcweir }; 113cdf0e10cSrcweir FixedText TXT_FORMAT 114cdf0e10cSrcweir { 115cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 66 ) ; 116cdf0e10cSrcweir Size = MAP_APPFONT ( 67 , 8 ) ; 117cdf0e10cSrcweir Text [ en-US ] = "Numbering" ; 118cdf0e10cSrcweir Left = TRUE ; 119cdf0e10cSrcweir }; 120cdf0e10cSrcweir ListBox BOX_FORMAT 121cdf0e10cSrcweir { 122cdf0e10cSrcweir HelpID = "sw:ListBox:DLG_CAPTION:BOX_FORMAT"; 123cdf0e10cSrcweir Border = TRUE ; 124cdf0e10cSrcweir Pos = MAP_APPFONT ( 82 , 63 ) ; 125cdf0e10cSrcweir Size = MAP_APPFONT ( 106 , 83 ) ; 126cdf0e10cSrcweir DropDown = TRUE ; 127cdf0e10cSrcweir TabStop = TRUE ; 128cdf0e10cSrcweir }; 129cdf0e10cSrcweir FixedText FT_NUM_SEP 130cdf0e10cSrcweir { 131cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 66 ) ; 132cdf0e10cSrcweir Size = MAP_APPFONT ( 67 , 8 ) ; 133cdf0e10cSrcweir Text [ en-US ] = "Numbering separator" ; 134cdf0e10cSrcweir Left = TRUE ; 135cdf0e10cSrcweir Hide = TRUE; 136cdf0e10cSrcweir }; 137cdf0e10cSrcweir Edit ED_NUM_SEP 138cdf0e10cSrcweir { 139cdf0e10cSrcweir HelpID = "sw:Edit:DLG_CAPTION:ED_NUM_SEP"; 140cdf0e10cSrcweir Pos = MAP_APPFONT ( 82 , 63 ) ; 141cdf0e10cSrcweir Size = MAP_APPFONT ( 106 , 12 ) ; 142cdf0e10cSrcweir Border = TRUE ; 143cdf0e10cSrcweir TabStop = TRUE ; 144cdf0e10cSrcweir Left = TRUE ; 145cdf0e10cSrcweir Text = ". " ; 146cdf0e10cSrcweir Hide = TRUE; 147cdf0e10cSrcweir }; 148cdf0e10cSrcweir FixedText TXT_SEP 149cdf0e10cSrcweir { 150cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 82 ) ; 151cdf0e10cSrcweir Size = MAP_APPFONT ( 67 , 8 ) ; 152cdf0e10cSrcweir Text [ en-US ] = "Separator" ; 153cdf0e10cSrcweir Left = TRUE ; 154cdf0e10cSrcweir }; 155cdf0e10cSrcweir Edit EDT_SEP 156cdf0e10cSrcweir { 157cdf0e10cSrcweir HelpID = "sw:Edit:DLG_CAPTION:EDT_SEP"; 158cdf0e10cSrcweir Pos = MAP_APPFONT ( 82 , 80 ) ; 159cdf0e10cSrcweir Size = MAP_APPFONT ( 106 , 12 ) ; 160cdf0e10cSrcweir Border = TRUE ; 161cdf0e10cSrcweir TabStop = TRUE ; 162cdf0e10cSrcweir Left = TRUE ; 163cdf0e10cSrcweir Text [ en-US ] = ": " ; 164cdf0e10cSrcweir }; 165cdf0e10cSrcweir FixedText TXT_POS 166cdf0e10cSrcweir { 167cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 100 ) ; 168cdf0e10cSrcweir Size = MAP_APPFONT ( 67 , 8 ) ; 169cdf0e10cSrcweir Left = TRUE ; 170cdf0e10cSrcweir Text [ en-US ] = "Position" ; 171cdf0e10cSrcweir }; 172cdf0e10cSrcweir ListBox BOX_POS 173cdf0e10cSrcweir { 174cdf0e10cSrcweir HelpID = "sw:ListBox:DLG_CAPTION:BOX_POS"; 175cdf0e10cSrcweir Pos = MAP_APPFONT ( 82 , 97 ) ; 176cdf0e10cSrcweir Size = MAP_APPFONT ( 106 , 61 ) ; 177cdf0e10cSrcweir DropDown = TRUE ; 178cdf0e10cSrcweir TabStop = TRUE ; 179cdf0e10cSrcweir Border = TRUE ; 180cdf0e10cSrcweir }; 181cdf0e10cSrcweir Window WIN_SAMPLE 182cdf0e10cSrcweir { 183cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 117 ) ; 184cdf0e10cSrcweir Size = MAP_APPFONT ( 182 , 20 ) ; 185cdf0e10cSrcweir Border = TRUE ; 186cdf0e10cSrcweir }; 187cdf0e10cSrcweir 188cdf0e10cSrcweir String STR_BEGINNING 189cdf0e10cSrcweir { 190cdf0e10cSrcweir Text [ en-US ] = "Above" ; 191cdf0e10cSrcweir }; 192cdf0e10cSrcweir String STR_END 193cdf0e10cSrcweir { 194cdf0e10cSrcweir Text [ en-US ] = "Below" ; 195cdf0e10cSrcweir }; 196cdf0e10cSrcweir String STR_ABOVE 197cdf0e10cSrcweir { 198cdf0e10cSrcweir Text [ en-US ] = "Above" ; 199cdf0e10cSrcweir }; 200cdf0e10cSrcweir String STR_CP_BELOW 201cdf0e10cSrcweir { 202cdf0e10cSrcweir Text [ en-US ] = "Below" ; 203cdf0e10cSrcweir }; 204cdf0e10cSrcweir String STR_CATEGORY_NONE 205cdf0e10cSrcweir { 206cdf0e10cSrcweir Text [ en-US ] = "<None>" ; 207cdf0e10cSrcweir }; 208cdf0e10cSrcweir}; 209cdf0e10cSrcweir 210cdf0e10cSrcweirModalDialog DLG_SEQUENCE_OPTION 211cdf0e10cSrcweir{ 212cdf0e10cSrcweir HelpID = HID_DLG_SEQUENCE_OPTION ; 213cdf0e10cSrcweir OutputSize = TRUE ; 214cdf0e10cSrcweir SVLook = TRUE ; 215cdf0e10cSrcweir Size = MAP_APPFONT ( 200 , 132 ) ; 216cdf0e10cSrcweir Moveable = TRUE ; 217cdf0e10cSrcweir Text [ en-US ] = "Options" ; 218cdf0e10cSrcweir OKButton BTN_OK 219cdf0e10cSrcweir { 220cdf0e10cSrcweir DefButton = TRUE ; 221cdf0e10cSrcweir Pos = MAP_APPFONT ( 145 , 6 ) ; 222cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 223cdf0e10cSrcweir TabStop = TRUE ; 224cdf0e10cSrcweir }; 225cdf0e10cSrcweir CancelButton BTN_CANCEL 226cdf0e10cSrcweir { 227cdf0e10cSrcweir Pos = MAP_APPFONT ( 145 , 23 ) ; 228cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 229cdf0e10cSrcweir TabStop = TRUE ; 230cdf0e10cSrcweir }; 231cdf0e10cSrcweir HelpButton BTN_HELP 232cdf0e10cSrcweir { 233cdf0e10cSrcweir Pos = MAP_APPFONT ( 145 , 43 ) ; 234cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 235cdf0e10cSrcweir TabStop = TRUE ; 236cdf0e10cSrcweir }; 237cdf0e10cSrcweir FixedLine FL_HEADER 238cdf0e10cSrcweir { 239cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 3 ) ; 240cdf0e10cSrcweir Size = MAP_APPFONT ( 132 , 8 ) ; 241cdf0e10cSrcweir Text [ en-US ] = "Numbering captions by chapter" ; 242cdf0e10cSrcweir }; 243cdf0e10cSrcweir FixedText FT_LEVEL 244cdf0e10cSrcweir { 245cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 21 ) ; 246cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 8 ) ; 247cdf0e10cSrcweir Text [ en-US ] = "~Level" ; 248cdf0e10cSrcweir }; 249cdf0e10cSrcweir ListBox LB_LEVEL 250cdf0e10cSrcweir { 251cdf0e10cSrcweir HelpID = "sw:ListBox:DLG_SEQUENCE_OPTION:LB_LEVEL"; 252cdf0e10cSrcweir Border = TRUE ; 253cdf0e10cSrcweir Pos = MAP_APPFONT ( 65 , 18 ) ; 254cdf0e10cSrcweir Size = MAP_APPFONT ( 72 , 60 ) ; 255cdf0e10cSrcweir TabStop = TRUE ; 256cdf0e10cSrcweir DropDown = TRUE ; 257cdf0e10cSrcweir StringList [ en-US ] = 258cdf0e10cSrcweir { 259cdf0e10cSrcweir < "<None>" ; > ; 260cdf0e10cSrcweir }; 261cdf0e10cSrcweir }; 262cdf0e10cSrcweir FixedText FT_SEPARATOR 263cdf0e10cSrcweir { 264cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 33 ) ; 265cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 8 ) ; 266cdf0e10cSrcweir Text [ en-US ] = "~Separator" ; 267cdf0e10cSrcweir }; 268cdf0e10cSrcweir Edit ED_SEPARATOR 269cdf0e10cSrcweir { 270cdf0e10cSrcweir HelpID = "sw:Edit:DLG_SEQUENCE_OPTION:ED_SEPARATOR"; 271cdf0e10cSrcweir Pos = MAP_APPFONT ( 65 , 34 ) ; 272cdf0e10cSrcweir Size = MAP_APPFONT ( 72 , 12 ) ; 273cdf0e10cSrcweir Border = TRUE ; 274cdf0e10cSrcweir MaxTextLength = 1 ; 275cdf0e10cSrcweir TEXT = "." ; 276cdf0e10cSrcweir }; 277cdf0e10cSrcweir FixedLine FL_CATANDFRAME 278cdf0e10cSrcweir { 279cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 53 ) ; 280cdf0e10cSrcweir Size = MAP_APPFONT ( 132 , 8 ) ; 281cdf0e10cSrcweir Text [ en-US ] = "Category and frame format" ; 282cdf0e10cSrcweir }; 283cdf0e10cSrcweir FixedText FT_CHARSTYLE 284cdf0e10cSrcweir { 285cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 71 ) ; 286cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 8 ) ; 287cdf0e10cSrcweir Text [ en-US ] = "Character style" ; 288cdf0e10cSrcweir }; 289cdf0e10cSrcweir ListBox LB_CHARSTYLE 290cdf0e10cSrcweir { 291cdf0e10cSrcweir HelpID = "sw:ListBox:DLG_SEQUENCE_OPTION:LB_CHARSTYLE"; 292cdf0e10cSrcweir Border = TRUE ; 293cdf0e10cSrcweir Pos = MAP_APPFONT ( 65 , 68 ) ; 294cdf0e10cSrcweir Size = MAP_APPFONT ( 72 , 60 ) ; 295cdf0e10cSrcweir TabStop = TRUE ; 296cdf0e10cSrcweir DropDown = TRUE ; 297cdf0e10cSrcweir StringList [ en-US ] = 298cdf0e10cSrcweir { 299cdf0e10cSrcweir < "<None>" ; > ; 300cdf0e10cSrcweir }; 301cdf0e10cSrcweir }; 302cdf0e10cSrcweir CheckBox CB_APPLYBAS 303cdf0e10cSrcweir { 304cdf0e10cSrcweir HelpID = "sw:CheckBox:DLG_SEQUENCE_OPTION:CB_APPLYBAS"; 305cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 84 ) ; 306cdf0e10cSrcweir Size = MAP_APPFONT ( 136 , 10 ) ; 307cdf0e10cSrcweir TabStop = TRUE ; 308cdf0e10cSrcweir Text [ en-US ] = "~Apply border and shadow"; 309cdf0e10cSrcweir }; 310cdf0e10cSrcweir FixedLine FL_ORDER 311cdf0e10cSrcweir { 312cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 97 ) ; 313cdf0e10cSrcweir Size = MAP_APPFONT ( 132 , 8 ) ; 314cdf0e10cSrcweir Text [ en-US ] = "Caption" ; 315cdf0e10cSrcweir }; 316cdf0e10cSrcweir FixedText FT_ORDER 317cdf0e10cSrcweir { 318cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 115 ) ; 319cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 8 ) ; 320cdf0e10cSrcweir Text [ en-US ] = "Caption order" ; 321cdf0e10cSrcweir }; 322cdf0e10cSrcweir ListBox LB_ORDER 323cdf0e10cSrcweir { 324cdf0e10cSrcweir HelpID = "sw:ListBox:DLG_SEQUENCE_OPTION:LB_ORDER"; 325cdf0e10cSrcweir Border = TRUE ; 326cdf0e10cSrcweir Pos = MAP_APPFONT ( 65 , 114 ) ; 327cdf0e10cSrcweir Size = MAP_APPFONT ( 72 , 60 ) ; 328cdf0e10cSrcweir TabStop = TRUE ; 329cdf0e10cSrcweir DropDown = TRUE ; 330cdf0e10cSrcweir StringList [ en-US ] = 331cdf0e10cSrcweir { 332cdf0e10cSrcweir < "Category first" ; > ; 333cdf0e10cSrcweir < "Numbering first" ; > ; 334cdf0e10cSrcweir }; 335cdf0e10cSrcweir }; 336cdf0e10cSrcweir}; 337cdf0e10cSrcweir // ********************************************************************** EOF 338cdf0e10cSrcweir 339