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 24cdf0e10cSrcweir#include "misc.hrc" 25cdf0e10cSrcweir#include "outline.hrc" 26cdf0e10cSrcweir#include "globals.hrc" 27cdf0e10cSrcweir#include "cmdid.h" 28cdf0e10cSrcweir#include "helpid.h" 29cdf0e10cSrcweirModalDialog DLG_NUM_NAMES 30cdf0e10cSrcweir{ 31cdf0e10cSrcweir HelpID = HID_NUM_NAMES ; 32cdf0e10cSrcweir OutputSize = TRUE ; 33cdf0e10cSrcweir SVLook = TRUE ; 34cdf0e10cSrcweir Size = MAP_APPFONT ( 164 , 82 ) ; 35cdf0e10cSrcweir Text [ en-US ] = "Save As"; 36cdf0e10cSrcweir Moveable = TRUE ; 37cdf0e10cSrcweir OKButton BT_OK 38cdf0e10cSrcweir { 39cdf0e10cSrcweir Pos = MAP_APPFONT ( 108 , 6 ) ; 40cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 41cdf0e10cSrcweir TabStop = TRUE ; 42cdf0e10cSrcweir DefButton = TRUE ; 43cdf0e10cSrcweir }; 44cdf0e10cSrcweir CancelButton BT_CANCEL 45cdf0e10cSrcweir { 46cdf0e10cSrcweir Pos = MAP_APPFONT ( 108 , 23 ) ; 47cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 48cdf0e10cSrcweir TabStop = TRUE ; 49cdf0e10cSrcweir }; 50cdf0e10cSrcweir HelpButton BT_HELP 51cdf0e10cSrcweir { 52cdf0e10cSrcweir Pos = MAP_APPFONT ( 108 , 43 ) ; 53cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 54cdf0e10cSrcweir TabStop = TRUE ; 55cdf0e10cSrcweir }; 56cdf0e10cSrcweir FixedLine FL_FORM 57cdf0e10cSrcweir { 58cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 3 ) ; 59cdf0e10cSrcweir Size = MAP_APPFONT ( 96 , 8 ) ; 60cdf0e10cSrcweir Text [ en-US ] = "Format" ; 61cdf0e10cSrcweir }; 62cdf0e10cSrcweir ListBox LB_FORM 63cdf0e10cSrcweir { 64cdf0e10cSrcweir HelpID = "sw:ListBox:DLG_NUM_NAMES:LB_FORM"; 65cdf0e10cSrcweir Border = TRUE ; 66cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 29 ) ; 67cdf0e10cSrcweir Size = MAP_APPFONT ( 84 , 42 ) ; 68cdf0e10cSrcweir TabStop = TRUE ; 69cdf0e10cSrcweir CurPos = 0 ; 70cdf0e10cSrcweir StringList [ en-US ] = 71cdf0e10cSrcweir { 72cdf0e10cSrcweir < "Untitled 1" ; > ; 73cdf0e10cSrcweir < "Untitled 2" ; > ; 74cdf0e10cSrcweir < "Untitled 3" ; > ; 75cdf0e10cSrcweir < "Untitled 4" ; > ; 76cdf0e10cSrcweir < "Untitled 5" ; > ; 77cdf0e10cSrcweir < "Untitled 6" ; > ; 78cdf0e10cSrcweir < "Untitled 7" ; > ; 79cdf0e10cSrcweir < "Untitled 8" ; > ; 80cdf0e10cSrcweir < "Untitled 9" ; > ; 81cdf0e10cSrcweir }; 82cdf0e10cSrcweir }; 83cdf0e10cSrcweir Edit ED_FORM 84cdf0e10cSrcweir { 85cdf0e10cSrcweir HelpID = "sw:Edit:DLG_NUM_NAMES:ED_FORM"; 86cdf0e10cSrcweir Border = TRUE ; 87cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 14 ) ; 88cdf0e10cSrcweir Size = MAP_APPFONT ( 84 , 12 ) ; 89cdf0e10cSrcweir TabStop = TRUE ; 90cdf0e10cSrcweir Left = TRUE ; 91cdf0e10cSrcweir }; 92cdf0e10cSrcweir}; 93cdf0e10cSrcweir/**************************************************************************/ 94cdf0e10cSrcweir/* */ 95cdf0e10cSrcweir/* */ 96cdf0e10cSrcweir/* */ 97cdf0e10cSrcweir/**************************************************************************/ 98cdf0e10cSrcweirTabDialog DLG_TAB_OUTLINE 99cdf0e10cSrcweir{ 100cdf0e10cSrcweir OutputSize = TRUE ; 101cdf0e10cSrcweir SVLook = TRUE ; 102cdf0e10cSrcweir // --> OD 2008-04-14 #outlinelevel# 103cdf0e10cSrcweir // dialog title is now given by resource STR_OUTLINE_NUMBERING 104cdf0e10cSrcweir// Text [ en-US ] = "Outline Numbering" ; 105cdf0e10cSrcweir // <-- 106cdf0e10cSrcweir Moveable = TRUE ; 107cdf0e10cSrcweir TabControl 1 108cdf0e10cSrcweir { 109cdf0e10cSrcweir SVLook = TRUE ; 110cdf0e10cSrcweir PageList = 111cdf0e10cSrcweir { 112cdf0e10cSrcweir PageItem 113cdf0e10cSrcweir { 114cdf0e10cSrcweir Identifier = TP_OUTLINE_NUM ; 115cdf0e10cSrcweir Text [ en-US ] = "Numbering" ; 116cdf0e10cSrcweir }; 117cdf0e10cSrcweir PageItem 118cdf0e10cSrcweir { 119cdf0e10cSrcweir Identifier = TP_NUM_POSITION ; 120cdf0e10cSrcweir Text [ en-US ] = "Position" ; 121cdf0e10cSrcweir }; 122cdf0e10cSrcweir }; 123cdf0e10cSrcweir }; 124cdf0e10cSrcweir String ST_FORM 125cdf0e10cSrcweir { 126cdf0e10cSrcweir Text [ en-US ] = "~Format" ; 127cdf0e10cSrcweir }; 128cdf0e10cSrcweir Menu MN_FORM 129cdf0e10cSrcweir { 130cdf0e10cSrcweir ItemList = 131cdf0e10cSrcweir { 132cdf0e10cSrcweir MenuItem 133cdf0e10cSrcweir { 134cdf0e10cSrcweir Identifier = MN_FORM1 ; 135cdf0e10cSrcweir Text [ en-US ] = "Untitled 1" ; 136cdf0e10cSrcweir HelpID = HID_NUM_OUTL_NAMED_NUMS ; 137cdf0e10cSrcweir }; 138cdf0e10cSrcweir MenuItem 139cdf0e10cSrcweir { 140cdf0e10cSrcweir Identifier = MN_FORM2 ; 141cdf0e10cSrcweir Text [ en-US ] = "Untitled 2" ; 142cdf0e10cSrcweir HelpID = HID_NUM_OUTL_NAMED_NUMS ; 143cdf0e10cSrcweir }; 144cdf0e10cSrcweir MenuItem 145cdf0e10cSrcweir { 146cdf0e10cSrcweir Identifier = MN_FORM3 ; 147cdf0e10cSrcweir Text [ en-US ] = "Untitled 3" ; 148cdf0e10cSrcweir HelpID = HID_NUM_OUTL_NAMED_NUMS ; 149cdf0e10cSrcweir }; 150cdf0e10cSrcweir MenuItem 151cdf0e10cSrcweir { 152cdf0e10cSrcweir Identifier = MN_FORM4 ; 153cdf0e10cSrcweir Text [ en-US ] = "Untitled 4" ; 154cdf0e10cSrcweir HelpID = HID_NUM_OUTL_NAMED_NUMS ; 155cdf0e10cSrcweir }; 156cdf0e10cSrcweir MenuItem 157cdf0e10cSrcweir { 158cdf0e10cSrcweir Identifier = MN_FORM5 ; 159cdf0e10cSrcweir Text [ en-US ] = "Untitled 5" ; 160cdf0e10cSrcweir HelpID = HID_NUM_OUTL_NAMED_NUMS ; 161cdf0e10cSrcweir }; 162cdf0e10cSrcweir MenuItem 163cdf0e10cSrcweir { 164cdf0e10cSrcweir Identifier = MN_FORM6 ; 165cdf0e10cSrcweir Text [ en-US ] = "Untitled 6" ; 166cdf0e10cSrcweir HelpID = HID_NUM_OUTL_NAMED_NUMS ; 167cdf0e10cSrcweir }; 168cdf0e10cSrcweir MenuItem 169cdf0e10cSrcweir { 170cdf0e10cSrcweir Identifier = MN_FORM7 ; 171cdf0e10cSrcweir Text [ en-US ] = "Untitled 7" ; 172cdf0e10cSrcweir HelpID = HID_NUM_OUTL_NAMED_NUMS ; 173cdf0e10cSrcweir }; 174cdf0e10cSrcweir MenuItem 175cdf0e10cSrcweir { 176cdf0e10cSrcweir Identifier = MN_FORM8 ; 177cdf0e10cSrcweir Text [ en-US ] = "Untitled 8" ; 178cdf0e10cSrcweir HelpID = HID_NUM_OUTL_NAMED_NUMS ; 179cdf0e10cSrcweir }; 180cdf0e10cSrcweir MenuItem 181cdf0e10cSrcweir { 182cdf0e10cSrcweir Identifier = MN_FORM9 ; 183cdf0e10cSrcweir Text [ en-US ] = "Untitled 9" ; 184cdf0e10cSrcweir HelpID = HID_NUM_OUTL_NAMED_NUMS ; 185cdf0e10cSrcweir }; 186cdf0e10cSrcweir MenuItem 187cdf0e10cSrcweir { 188cdf0e10cSrcweir Separator = TRUE ; 189cdf0e10cSrcweir }; 190cdf0e10cSrcweir MenuItem 191cdf0e10cSrcweir { 192cdf0e10cSrcweir Identifier = MN_SAVE ; 193cdf0e10cSrcweir Text [ en-US ] = "Save ~As..."; 194cdf0e10cSrcweir HelpID = HID_NUM_OUTL_NUM_SAVEAS ; 195cdf0e10cSrcweir }; 196cdf0e10cSrcweir }; 197cdf0e10cSrcweir }; 198cdf0e10cSrcweir}; 199cdf0e10cSrcweir/**************************************************************************/ 200cdf0e10cSrcweir/* */ 201cdf0e10cSrcweir/* TabPage */ 202cdf0e10cSrcweir/* */ 203cdf0e10cSrcweir/**************************************************************************/ 204cdf0e10cSrcweirTabPage TP_OUTLINE_NUM 205cdf0e10cSrcweir{ 206cdf0e10cSrcweir HelpID = HID_TP_OUTLINE_NUM ; 207cdf0e10cSrcweir SVLook = TRUE ; 208cdf0e10cSrcweir Size = MAP_APPFONT ( 260 , 185 ) ; 209cdf0e10cSrcweir Hide = TRUE; 210cdf0e10cSrcweir ListBox LB_LEVEL 211cdf0e10cSrcweir { 212cdf0e10cSrcweir HelpID = "sw:ListBox:TP_OUTLINE_NUM:LB_LEVEL"; 213cdf0e10cSrcweir Pos = MAP_APPFONT ( 12 , 14 ) ; 214cdf0e10cSrcweir Size = MAP_APPFONT ( 23 , 129 ) ; 215cdf0e10cSrcweir TabStop = TRUE ; 216cdf0e10cSrcweir DropDown = FALSE ; 217cdf0e10cSrcweir Border = TRUE ; 218cdf0e10cSrcweir }; 219cdf0e10cSrcweir FixedLine FL_LEVEL 220cdf0e10cSrcweir { 221cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 3 ) ; 222cdf0e10cSrcweir Size = MAP_APPFONT ( 32 , 8 ) ; 223cdf0e10cSrcweir Text [ en-US ] = "Level" ; 224cdf0e10cSrcweir }; 225cdf0e10cSrcweir FixedText FT_COLL 226cdf0e10cSrcweir { 227cdf0e10cSrcweir Pos = MAP_APPFONT ( 50 , 14 ) ; 228cdf0e10cSrcweir Size = MAP_APPFONT ( 120 , 8 ) ; 229cdf0e10cSrcweir Text [ en-US ] = "~Paragraph Style" ; 230cdf0e10cSrcweir Group = TRUE ; 231cdf0e10cSrcweir Left = TRUE ; 232cdf0e10cSrcweir }; 233cdf0e10cSrcweir ListBox LB_COLL 234cdf0e10cSrcweir { 235cdf0e10cSrcweir HelpID = "sw:ListBox:TP_OUTLINE_NUM:LB_COLL"; 236cdf0e10cSrcweir Border = TRUE ; 237cdf0e10cSrcweir Pos = MAP_APPFONT ( 50 , 25 ) ; 238cdf0e10cSrcweir Size = MAP_APPFONT ( 120 , 75 ) ; 239cdf0e10cSrcweir TabStop = TRUE ; 240cdf0e10cSrcweir Group = TRUE ; 241cdf0e10cSrcweir Sort = TRUE ; 242cdf0e10cSrcweir DropDown = TRUE ; 243cdf0e10cSrcweir CurPos = 0 ; 244cdf0e10cSrcweir }; 245cdf0e10cSrcweir FixedText FT_NUMBER 246cdf0e10cSrcweir { 247cdf0e10cSrcweir Pos = MAP_APPFONT ( 50 , 43 ) ; 248cdf0e10cSrcweir Size = MAP_APPFONT ( 52 , 8 ) ; 249cdf0e10cSrcweir Text [ en-US ] = "~Number" ; 250cdf0e10cSrcweir Left = TRUE ; 251cdf0e10cSrcweir }; 252cdf0e10cSrcweir ListBox LB_NUMBER 253cdf0e10cSrcweir { 254cdf0e10cSrcweir HelpID = "sw:ListBox:TP_OUTLINE_NUM:LB_NUMBER"; 255cdf0e10cSrcweir Pos = MAP_APPFONT ( 104 , 41 ) ; 256cdf0e10cSrcweir Size = MAP_APPFONT ( 66 , 65 ) ; 257cdf0e10cSrcweir TabStop = TRUE ; 258cdf0e10cSrcweir Group = TRUE ; 259cdf0e10cSrcweir DropDown = TRUE ; 260cdf0e10cSrcweir CurPos = 0 ; 261cdf0e10cSrcweir }; 262cdf0e10cSrcweir FixedText FT_CHARFMT 263cdf0e10cSrcweir { 264cdf0e10cSrcweir Pos = MAP_APPFONT ( 50 , 59 ) ; 265cdf0e10cSrcweir Size = MAP_APPFONT ( 52 , 8 ) ; 266cdf0e10cSrcweir Text [ en-US ] = "~Character Style" ; 267cdf0e10cSrcweir }; 268cdf0e10cSrcweir ListBox LB_CHARFMT 269cdf0e10cSrcweir { 270cdf0e10cSrcweir HelpID = "sw:ListBox:TP_OUTLINE_NUM:LB_CHARFMT"; 271cdf0e10cSrcweir TabStop = TRUE ; 272cdf0e10cSrcweir DropDown = TRUE ; 273cdf0e10cSrcweir Pos = MAP_APPFONT ( 104 , 57 ) ; 274cdf0e10cSrcweir Size = MAP_APPFONT ( 66 , 65 ) ; 275cdf0e10cSrcweir }; 276cdf0e10cSrcweir FixedText FT_ALL_LEVEL 277cdf0e10cSrcweir { 278cdf0e10cSrcweir Pos = MAP_APPFONT ( 50 , 75 ) ; 279cdf0e10cSrcweir Size = MAP_APPFONT ( 52 , 8 ) ; 280cdf0e10cSrcweir Text [ en-US ] = "Sho~w sublevels" ; 281cdf0e10cSrcweir }; 282cdf0e10cSrcweir NumericField NF_ALL_LEVEL 283cdf0e10cSrcweir { 284cdf0e10cSrcweir HelpID = "sw:NumericField:TP_OUTLINE_NUM:NF_ALL_LEVEL"; 285cdf0e10cSrcweir Border = TRUE ; 286cdf0e10cSrcweir Pos = MAP_APPFONT ( 104 , 73 ) ; 287cdf0e10cSrcweir Size = MAP_APPFONT ( 66 , 12 ) ; 288cdf0e10cSrcweir TabStop = TRUE ; 289cdf0e10cSrcweir Left = TRUE ; 290cdf0e10cSrcweir Repeat = TRUE ; 291cdf0e10cSrcweir Spin = TRUE ; 292cdf0e10cSrcweir Minimum = 1 ; 293cdf0e10cSrcweir Maximum = 10 ; 294cdf0e10cSrcweir Value = 1 ; 295cdf0e10cSrcweir First = 1 ; 296cdf0e10cSrcweir Last = 10 ; 297cdf0e10cSrcweir }; 298cdf0e10cSrcweir FixedText FT_DELIM 299cdf0e10cSrcweir { 300cdf0e10cSrcweir Pos = MAP_APPFONT ( 50 , 89 ) ; 301cdf0e10cSrcweir Size = MAP_APPFONT ( 52 , 8 ) ; 302cdf0e10cSrcweir Text [ en-US ] = "Separator" ; 303cdf0e10cSrcweir Left = TRUE ; 304cdf0e10cSrcweir }; 305cdf0e10cSrcweir FixedText FT_PREFIX 306cdf0e10cSrcweir { 307cdf0e10cSrcweir Pos = MAP_APPFONT ( 56 , 102 ) ; 308cdf0e10cSrcweir Size = MAP_APPFONT ( 46 , 8 ) ; 309cdf0e10cSrcweir Text [ en-US ] = "~Before" ; 310cdf0e10cSrcweir Left = TRUE ; 311cdf0e10cSrcweir }; 312cdf0e10cSrcweir Edit ED_PREFIX 313cdf0e10cSrcweir { 314cdf0e10cSrcweir HelpID = "sw:Edit:TP_OUTLINE_NUM:ED_PREFIX"; 315cdf0e10cSrcweir Border = TRUE ; 316cdf0e10cSrcweir Pos = MAP_APPFONT ( 104 , 100 ) ; 317cdf0e10cSrcweir Size = MAP_APPFONT ( 66 , 12 ) ; 318cdf0e10cSrcweir TabStop = TRUE ; 319cdf0e10cSrcweir Group = TRUE ; 320cdf0e10cSrcweir Left = TRUE ; 321cdf0e10cSrcweir }; 322cdf0e10cSrcweir FixedText FT_SUFFIX 323cdf0e10cSrcweir { 324cdf0e10cSrcweir Pos = MAP_APPFONT ( 56 , 117 ) ; 325cdf0e10cSrcweir Size = MAP_APPFONT ( 46 , 8 ) ; 326cdf0e10cSrcweir Text [ en-US ] = "~After" ; 327cdf0e10cSrcweir Left = TRUE ; 328cdf0e10cSrcweir }; 329cdf0e10cSrcweir Edit ED_SUFFIX 330cdf0e10cSrcweir { 331cdf0e10cSrcweir HelpID = "sw:Edit:TP_OUTLINE_NUM:ED_SUFFIX"; 332cdf0e10cSrcweir Border = TRUE ; 333cdf0e10cSrcweir Pos = MAP_APPFONT ( 104 , 115 ) ; 334cdf0e10cSrcweir Size = MAP_APPFONT ( 66 , 12 ) ; 335cdf0e10cSrcweir TabStop = TRUE ; 336cdf0e10cSrcweir Group = TRUE ; 337cdf0e10cSrcweir Left = TRUE ; 338cdf0e10cSrcweir }; 339cdf0e10cSrcweir FixedText FT_START 340cdf0e10cSrcweir { 341cdf0e10cSrcweir Pos = MAP_APPFONT ( 50 , 133 ) ; 342cdf0e10cSrcweir Size = MAP_APPFONT ( 52 , 8 ) ; 343cdf0e10cSrcweir Text [ en-US ] = "~Start at" ; 344cdf0e10cSrcweir Left = TRUE ; 345cdf0e10cSrcweir }; 346cdf0e10cSrcweir NumericField ED_START 347cdf0e10cSrcweir { 348cdf0e10cSrcweir HelpID = "sw:NumericField:TP_OUTLINE_NUM:ED_START"; 349cdf0e10cSrcweir Border = TRUE ; 350cdf0e10cSrcweir Pos = MAP_APPFONT ( 104 , 131 ) ; 351cdf0e10cSrcweir Size = MAP_APPFONT ( 66 , 12 ) ; 352cdf0e10cSrcweir TabStop = TRUE ; 353cdf0e10cSrcweir Left = TRUE ; 354cdf0e10cSrcweir Spin = TRUE ; 355cdf0e10cSrcweir Repeat = TRUE ; 356cdf0e10cSrcweir Maximum = 999 ; 357cdf0e10cSrcweir Value = 0 ; 358cdf0e10cSrcweir First = 0 ; 359cdf0e10cSrcweir Last = 99 ; 360cdf0e10cSrcweir SpinSize = 1 ; 361cdf0e10cSrcweir }; 362cdf0e10cSrcweir FixedLine FL_NUMBER 363cdf0e10cSrcweir { 364cdf0e10cSrcweir Pos = MAP_APPFONT ( 44 , 3 ) ; 365cdf0e10cSrcweir Size = MAP_APPFONT ( 210 , 8 ) ; 366cdf0e10cSrcweir Text [ en-US ] = "Numbering" ; 367cdf0e10cSrcweir Group = TRUE ; 368cdf0e10cSrcweir }; 369cdf0e10cSrcweir Window WIN_PREVIEW 370cdf0e10cSrcweir { 371cdf0e10cSrcweir Pos = MAP_APPFONT ( 179 , 14 ) ; 372cdf0e10cSrcweir Size = MAP_APPFONT ( 72 , 129 ) ; 373cdf0e10cSrcweir }; 374cdf0e10cSrcweir String ST_NO_COLL 375cdf0e10cSrcweir { 376cdf0e10cSrcweir Text [ en-US ] = "(none)" ; 377cdf0e10cSrcweir }; 378cdf0e10cSrcweir}; 379cdf0e10cSrcweir 380