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" 27cdf0e10cSrcweirTabPage TP_FLD_DB 28cdf0e10cSrcweir{ 29cdf0e10cSrcweir HelpID = HID_FLD_DB ; 30cdf0e10cSrcweir SVLook = TRUE ; 31cdf0e10cSrcweir Hide = TRUE ; 32cdf0e10cSrcweir Size = MAP_APPFONT ( 260 , 185 ) ; 33cdf0e10cSrcweir FixedText FT_DBTYPE 34cdf0e10cSrcweir { 35cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 3 ) ; 36cdf0e10cSrcweir Size = MAP_APPFONT ( 76 , 8 ) ; 37cdf0e10cSrcweir Text [ en-US ] = "~Type" ; 38cdf0e10cSrcweir Left = TRUE ; 39cdf0e10cSrcweir }; 40cdf0e10cSrcweir ListBox LB_DBTYPE 41cdf0e10cSrcweir { 42cdf0e10cSrcweir HelpID = "sw:ListBox:TP_FLD_DB:LB_DBTYPE"; 43cdf0e10cSrcweir Border = TRUE ; 44cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 14 ) ; 45cdf0e10cSrcweir Size = MAP_APPFONT ( 76 , 104 ) ; 46cdf0e10cSrcweir TabStop = TRUE ; 47cdf0e10cSrcweir Sort = TRUE ; 48cdf0e10cSrcweir AutoHScroll = TRUE ; 49cdf0e10cSrcweir /* StringList = 50cdf0e10cSrcweir { 51cdf0e10cSrcweir < "Beliebiger Datensatz" ; > ; 52cdf0e10cSrcweir < "Datensatznummer" ; > ; 53cdf0e10cSrcweir < "N�chster Datensatz" ; > ; 54cdf0e10cSrcweir < "Serienbrieffeld" ; > ; 55cdf0e10cSrcweir < "Datenbankname" ; > ; 56cdf0e10cSrcweir };*/ 57cdf0e10cSrcweir }; 58cdf0e10cSrcweir FixedText FT_DBCONDITION 59cdf0e10cSrcweir { 60cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 126 ) ; 61cdf0e10cSrcweir Size = MAP_APPFONT ( 76 , 8 ) ; 62cdf0e10cSrcweir Text [ en-US ] = "~Condition" ; 63cdf0e10cSrcweir Left = TRUE ; 64cdf0e10cSrcweir }; 65cdf0e10cSrcweir Edit ED_DBCONDITION 66cdf0e10cSrcweir { 67cdf0e10cSrcweir HelpID = "sw:Edit:TP_FLD_DB:ED_DBCONDITION"; 68cdf0e10cSrcweir Border = TRUE ; 69cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 137 ) ; 70cdf0e10cSrcweir Size = MAP_APPFONT ( 76 , 12 ) ; 71cdf0e10cSrcweir TabStop = TRUE ; 72cdf0e10cSrcweir Left = TRUE ; 73cdf0e10cSrcweir }; 74cdf0e10cSrcweir FixedText FT_DBSETNUMBER 75cdf0e10cSrcweir { 76cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 156 ) ; 77cdf0e10cSrcweir Size = MAP_APPFONT ( 76 , 8 ) ; 78cdf0e10cSrcweir Text [ en-US ] = "Record number" ; 79cdf0e10cSrcweir Left = TRUE ; 80cdf0e10cSrcweir }; 81cdf0e10cSrcweir Edit ED_DBSETNUMBER 82cdf0e10cSrcweir { 83cdf0e10cSrcweir HelpID = "sw:Edit:TP_FLD_DB:ED_DBSETNUMBER"; 84cdf0e10cSrcweir Border = TRUE ; 85cdf0e10cSrcweir Pos = MAP_APPFONT ( 6 , 167 ) ; 86cdf0e10cSrcweir Size = MAP_APPFONT ( 76 , 12 ) ; 87cdf0e10cSrcweir TabStop = TRUE ; 88cdf0e10cSrcweir Left = TRUE ; 89cdf0e10cSrcweir }; 90cdf0e10cSrcweir FixedText FT_DBSELECTION 91cdf0e10cSrcweir { 92cdf0e10cSrcweir Pos = MAP_APPFONT ( 88 , 3 ) ; 93cdf0e10cSrcweir Size = MAP_APPFONT ( 166 , 8 ) ; 94cdf0e10cSrcweir Left = TRUE ; 95cdf0e10cSrcweir Text [ en-US ] = "Database s~election" ; 96cdf0e10cSrcweir }; 97cdf0e10cSrcweir Control TLB_DBLIST 98cdf0e10cSrcweir { 99cdf0e10cSrcweir Border = TRUE ; 100cdf0e10cSrcweir Pos = MAP_APPFONT ( 88 , 14 ) ; 101cdf0e10cSrcweir Size = MAP_APPFONT ( 160 , 104 ) ; 102cdf0e10cSrcweir TabStop = TRUE ; 103cdf0e10cSrcweir }; 104cdf0e10cSrcweir FixedText FT_ADDDB 105cdf0e10cSrcweir { 106cdf0e10cSrcweir Pos = MAP_APPFONT ( 88 , 123) ; 107cdf0e10cSrcweir Size = MAP_APPFONT ( 105 , 8 ) ; 108cdf0e10cSrcweir Text [ en-US ] = "Add database file" ; 109cdf0e10cSrcweir }; 110cdf0e10cSrcweir PushButton PB_ADDDB 111cdf0e10cSrcweir { 112cdf0e10cSrcweir HelpID = "sw:PushButton:TP_FLD_DB:PB_ADDDB"; 113cdf0e10cSrcweir Pos = MAP_APPFONT ( 198 , 121) ; 114cdf0e10cSrcweir Size = MAP_APPFONT ( 50 , 14 ) ; 115cdf0e10cSrcweir Text [ en-US ] = "Browse..." ; 116cdf0e10cSrcweir }; 117cdf0e10cSrcweir 118cdf0e10cSrcweir RadioButton RB_DBOWNFORMAT 119cdf0e10cSrcweir { 120cdf0e10cSrcweir HelpID = "sw:RadioButton:TP_FLD_DB:RB_DBOWNFORMAT"; 121cdf0e10cSrcweir Pos = MAP_APPFONT ( 94 , 153 ) ; 122cdf0e10cSrcweir Size = MAP_APPFONT ( 150 , 10 ) ; 123cdf0e10cSrcweir Check = TRUE ; 124cdf0e10cSrcweir Text [ en-US ] = "From database" ; 125cdf0e10cSrcweir }; 126cdf0e10cSrcweir RadioButton RB_DBFORMAT 127cdf0e10cSrcweir { 128cdf0e10cSrcweir HelpID = "sw:RadioButton:TP_FLD_DB:RB_DBFORMAT"; 129cdf0e10cSrcweir Pos = MAP_APPFONT ( 94 , 166 ) ; 130cdf0e10cSrcweir Size = MAP_APPFONT ( 100 , 10 ) ; 131cdf0e10cSrcweir Text [ en-US ] = "User-defined" ; 132cdf0e10cSrcweir }; 133cdf0e10cSrcweir ListBox LB_DBNUMFORMAT 134cdf0e10cSrcweir { 135cdf0e10cSrcweir HelpID = "sw:ListBox:TP_FLD_DB:LB_DBNUMFORMAT"; 136cdf0e10cSrcweir Border = TRUE ; 137cdf0e10cSrcweir Pos = MAP_APPFONT ( 195 , 164 ) ; 138cdf0e10cSrcweir Size = MAP_APPFONT ( 53 , 60 ) ; 139cdf0e10cSrcweir TabStop = TRUE ; 140cdf0e10cSrcweir AutoHScroll = TRUE ; 141cdf0e10cSrcweir DropDown = TRUE ; 142cdf0e10cSrcweir }; 143cdf0e10cSrcweir ListBox LB_DBFORMAT 144cdf0e10cSrcweir { 145cdf0e10cSrcweir HelpID = "sw:ListBox:TP_FLD_DB:LB_DBFORMAT"; 146cdf0e10cSrcweir Border = TRUE ; 147cdf0e10cSrcweir Pos = MAP_APPFONT ( 195 , 163 ) ; 148cdf0e10cSrcweir Size = MAP_APPFONT ( 53 , 60 ) ; 149cdf0e10cSrcweir TabStop = TRUE ; 150cdf0e10cSrcweir AutoHScroll = TRUE ; 151cdf0e10cSrcweir DropDown = TRUE ; 152cdf0e10cSrcweir Sort = FALSE ; 153cdf0e10cSrcweir Hide = TRUE ; 154cdf0e10cSrcweir }; 155cdf0e10cSrcweir FixedLine FL_DBFORMAT 156cdf0e10cSrcweir { 157cdf0e10cSrcweir Pos = MAP_APPFONT ( 88 , 141 ) ; 158cdf0e10cSrcweir Size = MAP_APPFONT ( 166 , 8 ) ; 159cdf0e10cSrcweir Text [ en-US ] = "Format" ; 160cdf0e10cSrcweir }; 161cdf0e10cSrcweir FixedLine FL_DBFORMAT_VERT 162cdf0e10cSrcweir { 163cdf0e10cSrcweir Pos = MAP_APPFONT ( 87 , 152 ) ; 164cdf0e10cSrcweir Size = MAP_APPFONT ( 4 , 28 ) ; 165cdf0e10cSrcweir Vert = TRUE; 166cdf0e10cSrcweir }; 167cdf0e10cSrcweir Text [ en-US ] = "Database" ; 168cdf0e10cSrcweir}; 169cdf0e10cSrcweir 170cdf0e10cSrcweir 171cdf0e10cSrcweir 172cdf0e10cSrcweir 173cdf0e10cSrcweir 174cdf0e10cSrcweir 175cdf0e10cSrcweir 176cdf0e10cSrcweir 177cdf0e10cSrcweir 178cdf0e10cSrcweir 179cdf0e10cSrcweir 180cdf0e10cSrcweir 181cdf0e10cSrcweir 182cdf0e10cSrcweir 183cdf0e10cSrcweir 184cdf0e10cSrcweir 185cdf0e10cSrcweir 186cdf0e10cSrcweir 187cdf0e10cSrcweir 188cdf0e10cSrcweir 189cdf0e10cSrcweir 190cdf0e10cSrcweir 191cdf0e10cSrcweir 192cdf0e10cSrcweir 193cdf0e10cSrcweir 194cdf0e10cSrcweir 195cdf0e10cSrcweir 196cdf0e10cSrcweir 197cdf0e10cSrcweir 198cdf0e10cSrcweir 199cdf0e10cSrcweir 200cdf0e10cSrcweir 201cdf0e10cSrcweir 202cdf0e10cSrcweir 203