1*80fe9c7bSAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 3*80fe9c7bSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*80fe9c7bSAndrew Rist * or more contributor license agreements. See the NOTICE file 5*80fe9c7bSAndrew Rist * distributed with this work for additional information 6*80fe9c7bSAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*80fe9c7bSAndrew Rist * to you under the Apache License, Version 2.0 (the 8*80fe9c7bSAndrew Rist * "License"); you may not use this file except in compliance 9*80fe9c7bSAndrew Rist * with the License. You may obtain a copy of the License at 10cdf0e10cSrcweir * 11*80fe9c7bSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12cdf0e10cSrcweir * 13*80fe9c7bSAndrew Rist * Unless required by applicable law or agreed to in writing, 14*80fe9c7bSAndrew Rist * software distributed under the License is distributed on an 15*80fe9c7bSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*80fe9c7bSAndrew Rist * KIND, either express or implied. See the License for the 17*80fe9c7bSAndrew Rist * specific language governing permissions and limitations 18*80fe9c7bSAndrew Rist * under the License. 19cdf0e10cSrcweir * 20*80fe9c7bSAndrew Rist *************************************************************/ 21*80fe9c7bSAndrew Rist 22*80fe9c7bSAndrew Rist 23cdf0e10cSrcweir 24cdf0e10cSrcweir#ifndef _EXTENSIONS_DBP_DBPRESID_HRC_ 25cdf0e10cSrcweir#include "dbpresid.hrc" 26cdf0e10cSrcweir#endif 27cdf0e10cSrcweir 28cdf0e10cSrcweirTabPage RID_PAGE_LCW_CONTENTSELECTION_TABLE 29cdf0e10cSrcweir{ 30cdf0e10cSrcweir HelpID = "extensions:TabPage:RID_PAGE_LCW_CONTENTSELECTION_TABLE"; 31cdf0e10cSrcweir SVLook = TRUE ; 32cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ; 33cdf0e10cSrcweir 34cdf0e10cSrcweir Text [ en-US ] = "Table Selection"; 35cdf0e10cSrcweir 36cdf0e10cSrcweir FixedLine FL_FRAME 37cdf0e10cSrcweir { 38cdf0e10cSrcweir Pos = MAP_APPFONT ( 4 , 40 ) ; 39cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_SIZE_X - 8 , 8 ) ; 40cdf0e10cSrcweir Text [ en-US ] = "Control"; 41cdf0e10cSrcweir }; 42cdf0e10cSrcweir 43cdf0e10cSrcweir FixedText FT_SELECTTABLE_LABEL 44cdf0e10cSrcweir { 45cdf0e10cSrcweir Pos = MAP_APPFONT ( 7 , 52 ) ; 46cdf0e10cSrcweir Size = MAP_APPFONT ( 120, WINDOW_SIZE_Y - 21 ) ; 47cdf0e10cSrcweir WordBreak = TRUE; 48cdf0e10cSrcweir Group = TRUE; 49cdf0e10cSrcweir Text [ en-US ] = "On the right side, you see all the tables from the data source of the form.\n\n\nChoose the table from which the data should be used as basis for the list content:"; 50cdf0e10cSrcweir }; 51cdf0e10cSrcweir ListBox LB_SELECTTABLE 52cdf0e10cSrcweir { 53cdf0e10cSrcweir HelpID = "extensions:ListBox:RID_PAGE_LCW_CONTENTSELECTION_TABLE:LB_SELECTTABLE"; 54cdf0e10cSrcweir Pos = MAP_APPFONT ( 130 , 52 ) ; 55cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_SIZE_X - 130 - 7, WINDOW_SIZE_Y - 52 - 6 ) ; 56cdf0e10cSrcweir SVLook = TRUE ; 57cdf0e10cSrcweir Border = TRUE ; 58cdf0e10cSrcweir AutoHScroll = TRUE ; 59cdf0e10cSrcweir Sort = FALSE; 60cdf0e10cSrcweir DropDown = FALSE; 61cdf0e10cSrcweir }; 62cdf0e10cSrcweir}; 63cdf0e10cSrcweir 64cdf0e10cSrcweirTabPage RID_PAGE_LCW_CONTENTSELECTION_FIELD 65cdf0e10cSrcweir{ 66cdf0e10cSrcweir HelpID = "extensions:TabPage:RID_PAGE_LCW_CONTENTSELECTION_FIELD"; 67cdf0e10cSrcweir SVLook = TRUE ; 68cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ; 69cdf0e10cSrcweir 70cdf0e10cSrcweir Text [ en-US ] = "Field Selection"; 71cdf0e10cSrcweir 72cdf0e10cSrcweir FixedLine FL_FRAME 73cdf0e10cSrcweir { 74cdf0e10cSrcweir Pos = MAP_APPFONT ( 4 , 3 ) ; 75cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_SIZE_X - 8 , 8 ) ; 76cdf0e10cSrcweir }; 77cdf0e10cSrcweir 78cdf0e10cSrcweir FixedText FT_TABLEFIELDS 79cdf0e10cSrcweir { 80cdf0e10cSrcweir Pos = MAP_APPFONT ( 7 , 15 ) ; 81cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 3, 8 ) ; 82cdf0e10cSrcweir WordBreak = TRUE; 83cdf0e10cSrcweir Group = TRUE; 84cdf0e10cSrcweir Text [ en-US ] = "Existing fields"; 85cdf0e10cSrcweir }; 86cdf0e10cSrcweir ListBox LB_SELECTFIELD 87cdf0e10cSrcweir { 88cdf0e10cSrcweir HelpID = "extensions:ListBox:RID_PAGE_LCW_CONTENTSELECTION_FIELD:LB_SELECTFIELD"; 89cdf0e10cSrcweir Pos = MAP_APPFONT ( 7 , 26 ) ; 90cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10, WINDOW_SIZE_Y - 32 ) ; 91cdf0e10cSrcweir SVLook = TRUE ; 92cdf0e10cSrcweir Border = TRUE ; 93cdf0e10cSrcweir AutoHScroll = TRUE ; 94cdf0e10cSrcweir Sort = FALSE; 95cdf0e10cSrcweir DropDown = FALSE; 96cdf0e10cSrcweir }; 97cdf0e10cSrcweir FixedText FT_DISPLAYEDFIELD 98cdf0e10cSrcweir { 99cdf0e10cSrcweir Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3 , 15 ) ; 100cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10, 8 ) ; 101cdf0e10cSrcweir Text [ en-US ] = "Display field"; 102cdf0e10cSrcweir }; 103cdf0e10cSrcweir Edit ET_DISPLAYEDFIELD 104cdf0e10cSrcweir { 105cdf0e10cSrcweir HelpID = "extensions:Edit:RID_PAGE_LCW_CONTENTSELECTION_FIELD:ET_DISPLAYEDFIELD"; 106cdf0e10cSrcweir Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3 , 26 ) ; 107cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10, 12 ) ; 108cdf0e10cSrcweir SVLook = TRUE ; 109cdf0e10cSrcweir Border = TRUE ; 110cdf0e10cSrcweir ReadOnly = TRUE; 111cdf0e10cSrcweir }; 112cdf0e10cSrcweir FixedText FT_CONTENTFIELD_INFO 113cdf0e10cSrcweir { 114cdf0e10cSrcweir Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3 , 45 ) ; 115cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10, WINDOW_SIZE_Y - 51 ) ; 116cdf0e10cSrcweir WordBreak = TRUE; 117cdf0e10cSrcweir }; 118cdf0e10cSrcweir String STR_FIELDINFO_COMBOBOX 119cdf0e10cSrcweir { 120cdf0e10cSrcweir Text [ en-US ] = "The contents of the field selected will be shown in the combo box list."; 121cdf0e10cSrcweir }; 122cdf0e10cSrcweir 123cdf0e10cSrcweir String STR_FIELDINFO_LISTBOX 124cdf0e10cSrcweir { 125cdf0e10cSrcweir Text [ en-US ] = "The contents of the selected field will be shown in the list box if the linked fields are identical."; 126cdf0e10cSrcweir }; 127cdf0e10cSrcweir}; 128cdf0e10cSrcweir 129cdf0e10cSrcweirTabPage RID_PAGE_LCW_FIELDLINK 130cdf0e10cSrcweir{ 131cdf0e10cSrcweir HelpID = "extensions:TabPage:RID_PAGE_LCW_FIELDLINK"; 132cdf0e10cSrcweir SVLook = TRUE ; 133cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ; 134cdf0e10cSrcweir 135cdf0e10cSrcweir Text [ en-US ] = "Field Link"; 136cdf0e10cSrcweir 137cdf0e10cSrcweir FixedText FT_FIELDLINK_DESC 138cdf0e10cSrcweir { 139cdf0e10cSrcweir Pos = MAP_APPFONT ( 7 , 6 ) ; 140cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_SIZE_X - 14 , 16 ) ; 141cdf0e10cSrcweir WordBreak = TRUE; 142cdf0e10cSrcweir Text [ en-US ] = "This is where you select fields with matching contents so that the value from the display field will be shown."; 143cdf0e10cSrcweir }; 144cdf0e10cSrcweir FixedLine FL_FRAME 145cdf0e10cSrcweir { 146cdf0e10cSrcweir Pos = MAP_APPFONT ( 4 , 25 ) ; 147cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_SIZE_X - 8 , 8 ) ; 148cdf0e10cSrcweir }; 149cdf0e10cSrcweir FixedText FT_VALUELISTFIELD 150cdf0e10cSrcweir { 151cdf0e10cSrcweir Pos = MAP_APPFONT ( 7 , 37 ) ; 152cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10, 8 ) ; 153cdf0e10cSrcweir Group = TRUE; 154cdf0e10cSrcweir Text [ en-US ] = "Field from the ~Value Table"; 155cdf0e10cSrcweir }; 156cdf0e10cSrcweir ComboBox CMB_VALUELISTFIELD 157cdf0e10cSrcweir { 158cdf0e10cSrcweir HelpID = "extensions:ComboBox:RID_PAGE_LCW_FIELDLINK:CMB_VALUELISTFIELD"; 159cdf0e10cSrcweir Pos = MAP_APPFONT ( 7 , 48 ) ; 160cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10, WINDOW_SIZE_Y - 54 ) ; 161cdf0e10cSrcweir SVLook = TRUE ; 162cdf0e10cSrcweir Border = TRUE ; 163cdf0e10cSrcweir DropDown = FALSE; 164cdf0e10cSrcweir Sort = FALSE; 165cdf0e10cSrcweir AutoHScroll = TRUE; 166cdf0e10cSrcweir }; 167cdf0e10cSrcweir FixedText FT_TABLEFIELD 168cdf0e10cSrcweir { 169cdf0e10cSrcweir Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3 , 37 ) ; 170cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10, 8 ) ; 171cdf0e10cSrcweir Group = TRUE; 172cdf0e10cSrcweir Text [ en-US ] = "Field from the ~List Table"; 173cdf0e10cSrcweir }; 174cdf0e10cSrcweir ComboBox CMB_TABLEFIELD 175cdf0e10cSrcweir { 176cdf0e10cSrcweir HelpID = "extensions:ComboBox:RID_PAGE_LCW_FIELDLINK:CMB_TABLEFIELD"; 177cdf0e10cSrcweir Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3 , 48 ) ; 178cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10, WINDOW_SIZE_Y - 54 ) ; 179cdf0e10cSrcweir SVLook = TRUE ; 180cdf0e10cSrcweir Border = TRUE ; 181cdf0e10cSrcweir DropDown = FALSE; 182cdf0e10cSrcweir Sort = FALSE; 183cdf0e10cSrcweir AutoHScroll = TRUE; 184cdf0e10cSrcweir }; 185cdf0e10cSrcweir}; 186cdf0e10cSrcweir 187cdf0e10cSrcweirString RID_STR_COMBOWIZ_DBFIELD 188cdf0e10cSrcweir{ 189cdf0e10cSrcweir Text [ en-US ] = "You can either save the value of the combo box in a database field or use it for display purposes."; 190cdf0e10cSrcweir}; 191cdf0e10cSrcweir 192cdf0e10cSrcweir 193cdf0e10cSrcweir 194cdf0e10cSrcweir 195cdf0e10cSrcweir 196cdf0e10cSrcweir 197cdf0e10cSrcweir 198cdf0e10cSrcweir 199cdf0e10cSrcweir 200cdf0e10cSrcweir 201cdf0e10cSrcweir 202cdf0e10cSrcweir 203cdf0e10cSrcweir 204cdf0e10cSrcweir 205cdf0e10cSrcweir 206cdf0e10cSrcweir 207cdf0e10cSrcweir 208