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