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 "globals.hrc" 25cdf0e10cSrcweir#include "fldtdlg.hrc" 26cdf0e10cSrcweir#include "helpid.h" 27cdf0e10cSrcweir#include "cmdid.h" 28cdf0e10cSrcweirTabPage TP_FLD_VAR 29cdf0e10cSrcweir{ 30cdf0e10cSrcweir HelpID = HID_FLD_VAR ; 31cdf0e10cSrcweir SVLook = TRUE ; 32cdf0e10cSrcweir Hide = TRUE ; 33cdf0e10cSrcweir Size = MAP_APPFONT ( 260 , 185 ) ; 34cdf0e10cSrcweir FixedText FT_VARTYPE 35cdf0e10cSrcweir { 36cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 3 ) ; 37cdf0e10cSrcweir Size = MAP_APPFONT ( 76 , 8 ) ; 38cdf0e10cSrcweir Text [ en-US ] = "~Type" ; 39cdf0e10cSrcweir Left = TRUE ; 40cdf0e10cSrcweir }; 41cdf0e10cSrcweir ListBox LB_VARTYPE 42cdf0e10cSrcweir { 43cdf0e10cSrcweir HelpID = "sw:ListBox:TP_FLD_VAR:LB_VARTYPE"; 44cdf0e10cSrcweir Border = TRUE ; 45cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 14 ) ; 46cdf0e10cSrcweir Size = MAP_APPFONT ( 76 , 135 ) ; 47cdf0e10cSrcweir TabStop = TRUE ; 48cdf0e10cSrcweir Sort = FALSE ; 49cdf0e10cSrcweir AutoHScroll = TRUE ; 50cdf0e10cSrcweir }; 51cdf0e10cSrcweir FixedText FT_VARSELECTION 52cdf0e10cSrcweir { 53cdf0e10cSrcweir Pos = MAP_APPFONT ( 88 , 3 ) ; 54cdf0e10cSrcweir Size = MAP_APPFONT ( 76 , 8 ) ; 55cdf0e10cSrcweir Left = TRUE ; 56cdf0e10cSrcweir Text [ en-US ] = "S~election" ; 57cdf0e10cSrcweir }; 58cdf0e10cSrcweir ListBox LB_VARSELECTION 59cdf0e10cSrcweir { 60cdf0e10cSrcweir HelpID = "sw:ListBox:TP_FLD_VAR:LB_VARSELECTION"; 61cdf0e10cSrcweir Border = TRUE ; 62cdf0e10cSrcweir Pos = MAP_APPFONT ( 88 , 14 ) ; 63cdf0e10cSrcweir Size = MAP_APPFONT ( 76 , 135 ) ; 64cdf0e10cSrcweir TabStop = TRUE ; 65cdf0e10cSrcweir Sort = TRUE ; 66cdf0e10cSrcweir }; 67cdf0e10cSrcweir FixedText FT_VARFORMAT 68cdf0e10cSrcweir { 69cdf0e10cSrcweir Pos = MAP_APPFONT ( 170 , 3 ) ; 70cdf0e10cSrcweir Size = MAP_APPFONT ( 84 , 8 ) ; 71cdf0e10cSrcweir Left = TRUE ; 72cdf0e10cSrcweir Text [ en-US ] = "Format" ; 73cdf0e10cSrcweir }; 74cdf0e10cSrcweir ListBox LB_VARFORMAT 75cdf0e10cSrcweir { 76cdf0e10cSrcweir HelpID = "sw:ListBox:TP_FLD_VAR:LB_VARFORMAT"; 77cdf0e10cSrcweir Border = TRUE ; 78cdf0e10cSrcweir Pos = MAP_APPFONT ( 170 , 14 ) ; 79cdf0e10cSrcweir Size = MAP_APPFONT ( 84 , 123 ) ; 80cdf0e10cSrcweir TabStop = TRUE ; 81cdf0e10cSrcweir DropDown = FALSE ; 82cdf0e10cSrcweir }; 83cdf0e10cSrcweir ListBox LB_VARNUMFORMAT 84cdf0e10cSrcweir { 85cdf0e10cSrcweir HelpID = "sw:ListBox:TP_FLD_VAR:LB_VARNUMFORMAT"; 86cdf0e10cSrcweir Border = TRUE ; 87cdf0e10cSrcweir Pos = MAP_APPFONT ( 170 , 14 ) ; 88cdf0e10cSrcweir Size = MAP_APPFONT ( 84 , 123 ) ; 89cdf0e10cSrcweir TabStop = TRUE ; 90cdf0e10cSrcweir DropDown = FALSE ; 91cdf0e10cSrcweir }; 92cdf0e10cSrcweir CheckBox CB_VARINVISIBLE 93cdf0e10cSrcweir { 94cdf0e10cSrcweir HelpID = "sw:CheckBox:TP_FLD_VAR:CB_VARINVISIBLE"; 95cdf0e10cSrcweir Pos = MAP_APPFONT ( 170 , 141 ) ; 96cdf0e10cSrcweir Size = MAP_APPFONT ( 84 , 10 ) ; 97cdf0e10cSrcweir Text [ en-US ] = "Invisi~ble" ; 98cdf0e10cSrcweir TabStop = TRUE ; 99cdf0e10cSrcweir }; 100cdf0e10cSrcweir FixedText FT_VARCHAPTERHEADER 101cdf0e10cSrcweir { 102cdf0e10cSrcweir Pos = MAP_APPFONT ( 170 , 112 ) ; 103cdf0e10cSrcweir Size = MAP_APPFONT ( 84 , 8 ) ; 104cdf0e10cSrcweir Hide = TRUE ; 105cdf0e10cSrcweir Text [ en-US ] = "Numbering by chapter" ; 106cdf0e10cSrcweir }; 107cdf0e10cSrcweir FixedText FT_VARCHAPTERLEVEL 108cdf0e10cSrcweir { 109cdf0e10cSrcweir Pos = MAP_APPFONT ( 175 , 125 ) ; 110cdf0e10cSrcweir Size = MAP_APPFONT ( 30 , 8 ) ; 111cdf0e10cSrcweir Hide = TRUE ; 112cdf0e10cSrcweir Text [ en-US ] = "~Level" ; 113cdf0e10cSrcweir }; 114cdf0e10cSrcweir ListBox LB_VARCHAPTERLEVEL 115cdf0e10cSrcweir { 116cdf0e10cSrcweir HelpID = "sw:ListBox:TP_FLD_VAR:LB_VARCHAPTERLEVEL"; 117cdf0e10cSrcweir Border = TRUE ; 118cdf0e10cSrcweir Hide = TRUE ; 119cdf0e10cSrcweir Pos = MAP_APPFONT ( 208 , 123 ) ; 120cdf0e10cSrcweir Size = MAP_APPFONT ( 46 , 76 ) ; 121cdf0e10cSrcweir TabStop = TRUE ; 122cdf0e10cSrcweir DropDown = TRUE ; 123cdf0e10cSrcweir StringList [ en-US ] = 124cdf0e10cSrcweir { 125cdf0e10cSrcweir < "None" ; > ; 126cdf0e10cSrcweir }; 127cdf0e10cSrcweir }; 128cdf0e10cSrcweir FixedText FT_VARSEPARATOR 129cdf0e10cSrcweir { 130cdf0e10cSrcweir Pos = MAP_APPFONT ( 175 , 140 ) ; 131cdf0e10cSrcweir Size = MAP_APPFONT ( 30 , 10 ) ; 132cdf0e10cSrcweir Hide = TRUE ; 133cdf0e10cSrcweir Text [ en-US ] = "~Separator" ; 134cdf0e10cSrcweir }; 135cdf0e10cSrcweir Edit ED_VARSEPARATOR 136cdf0e10cSrcweir { 137cdf0e10cSrcweir HelpID = "sw:Edit:TP_FLD_VAR:ED_VARSEPARATOR"; 138cdf0e10cSrcweir Pos = MAP_APPFONT ( 208 , 138 ) ; 139cdf0e10cSrcweir Size = MAP_APPFONT ( 46 , 12 ) ; 140cdf0e10cSrcweir Border = TRUE ; 141cdf0e10cSrcweir Hide = TRUE ; 142cdf0e10cSrcweir MaxTextLength = 1 ; 143cdf0e10cSrcweir TEXT = "." ; 144cdf0e10cSrcweir }; 145cdf0e10cSrcweir FixedText FT_VARNAME 146cdf0e10cSrcweir { 147cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 155 ) ; 148cdf0e10cSrcweir Size = MAP_APPFONT ( 76 , 8 ) ; 149cdf0e10cSrcweir Left = TRUE ; 150cdf0e10cSrcweir Text [ en-US ] = "Na~me" ; 151cdf0e10cSrcweir }; 152cdf0e10cSrcweir Edit ED_VARNAME 153cdf0e10cSrcweir { 154cdf0e10cSrcweir HelpID = "sw:Edit:TP_FLD_VAR:ED_VARNAME"; 155cdf0e10cSrcweir Border = TRUE ; 156cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 166 ) ; 157cdf0e10cSrcweir Size = MAP_APPFONT ( 76 , 12 ) ; 158cdf0e10cSrcweir TabStop = TRUE ; 159cdf0e10cSrcweir Left = TRUE ; 160cdf0e10cSrcweir }; 161cdf0e10cSrcweir FixedText FT_VARVALUE 162cdf0e10cSrcweir { 163cdf0e10cSrcweir Pos = MAP_APPFONT ( 88 , 155 ) ; 164cdf0e10cSrcweir Size = MAP_APPFONT ( 76 , 8 ) ; 165cdf0e10cSrcweir Text [ en-US ] = "~Value" ; 166cdf0e10cSrcweir Left = TRUE ; 167cdf0e10cSrcweir }; 168cdf0e10cSrcweir Edit ED_VARVALUE 169cdf0e10cSrcweir { 170cdf0e10cSrcweir HelpID = "sw:Edit:TP_FLD_VAR:ED_VARVALUE"; 171cdf0e10cSrcweir Border = TRUE ; 172cdf0e10cSrcweir Pos = MAP_APPFONT ( 88 , 166 ) ; 173cdf0e10cSrcweir Size = MAP_APPFONT ( 76 , 12 ) ; 174cdf0e10cSrcweir TabStop = TRUE ; 175cdf0e10cSrcweir Left = TRUE ; 176cdf0e10cSrcweir }; 177cdf0e10cSrcweir ToolBox TBX_VARNEWDEL 178cdf0e10cSrcweir { 179cdf0e10cSrcweir Pos = MAP_APPFONT ( 167 , 167 ) ; 180cdf0e10cSrcweir SVLook = TRUE ; 181cdf0e10cSrcweir Border = FALSE ; 182cdf0e10cSrcweir ItemList = 183cdf0e10cSrcweir { 184cdf0e10cSrcweir ToolBoxItem 185cdf0e10cSrcweir { 186cdf0e10cSrcweir Identifier = BT_VARAPPLY ; 187cdf0e10cSrcweir HelpID = HID_FLDVAR_APPLY ; 188cdf0e10cSrcweir ItemImage = Image 189cdf0e10cSrcweir { 190cdf0e10cSrcweir ImageBitmap = Bitmap{ File = "sc20558.bmp" ;}; 191cdf0e10cSrcweir MaskColor = IMAGE_MASK_COLOR ; 192cdf0e10cSrcweir }; 193cdf0e10cSrcweir Text [ en-US ] = "Apply" ; 194cdf0e10cSrcweir }; 195cdf0e10cSrcweir ToolBoxItem 196cdf0e10cSrcweir { 197cdf0e10cSrcweir Identifier = BT_VARDELETE ; 198cdf0e10cSrcweir HelpID = HID_FLDVAR_DELETE ; 199cdf0e10cSrcweir ItemImage = Image 200cdf0e10cSrcweir { 201cdf0e10cSrcweir ImageBitmap = Bitmap{ File = "sc20557.bmp" ;}; 202cdf0e10cSrcweir MaskColor = IMAGE_MASK_COLOR ; 203cdf0e10cSrcweir }; 204cdf0e10cSrcweir Text [ en-US ] = "Delete" ; 205cdf0e10cSrcweir }; 206cdf0e10cSrcweir }; 207cdf0e10cSrcweir }; 208cdf0e10cSrcweir Text [ en-US ] = "Variables" ; 209cdf0e10cSrcweir}; 210cdf0e10cSrcweir 211cdf0e10cSrcweir 212cdf0e10cSrcweir 213cdf0e10cSrcweir 214cdf0e10cSrcweir 215cdf0e10cSrcweir 216cdf0e10cSrcweir 217cdf0e10cSrcweir 218cdf0e10cSrcweir 219cdf0e10cSrcweir 220cdf0e10cSrcweir 221cdf0e10cSrcweir 222cdf0e10cSrcweir 223cdf0e10cSrcweir 224cdf0e10cSrcweir 225cdf0e10cSrcweir 226cdf0e10cSrcweir 227cdf0e10cSrcweir 228cdf0e10cSrcweir 229cdf0e10cSrcweir 230cdf0e10cSrcweir 231cdf0e10cSrcweir 232cdf0e10cSrcweir 233cdf0e10cSrcweir 234cdf0e10cSrcweir 235cdf0e10cSrcweir 236cdf0e10cSrcweir 237cdf0e10cSrcweir 238cdf0e10cSrcweir 239cdf0e10cSrcweir 240cdf0e10cSrcweir 241cdf0e10cSrcweir 242