180fe9c7bSAndrew Rist/************************************************************** 2cdf0e10cSrcweir * 380fe9c7bSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 480fe9c7bSAndrew Rist * or more contributor license agreements. See the NOTICE file 580fe9c7bSAndrew Rist * distributed with this work for additional information 680fe9c7bSAndrew Rist * regarding copyright ownership. The ASF licenses this file 780fe9c7bSAndrew Rist * to you under the Apache License, Version 2.0 (the 880fe9c7bSAndrew Rist * "License"); you may not use this file except in compliance 980fe9c7bSAndrew Rist * with the License. You may obtain a copy of the License at 10cdf0e10cSrcweir * 1180fe9c7bSAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12cdf0e10cSrcweir * 1380fe9c7bSAndrew Rist * Unless required by applicable law or agreed to in writing, 1480fe9c7bSAndrew Rist * software distributed under the License is distributed on an 1580fe9c7bSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 1680fe9c7bSAndrew Rist * KIND, either express or implied. See the License for the 1780fe9c7bSAndrew Rist * specific language governing permissions and limitations 1880fe9c7bSAndrew Rist * under the License. 19cdf0e10cSrcweir * 2080fe9c7bSAndrew Rist *************************************************************/ 2180fe9c7bSAndrew Rist 22cdf0e10cSrcweir#ifndef _EXTENSIONS_DBP_DBPRESID_HRC_ 23cdf0e10cSrcweir#include "dbpresid.hrc" 24cdf0e10cSrcweir#endif 25cdf0e10cSrcweir 26cdf0e10cSrcweirTabPage RID_PAGE_TABLESELECTION 27cdf0e10cSrcweir{ 28cdf0e10cSrcweir HelpID = "extensions:TabPage:RID_PAGE_TABLESELECTION" ; 29cdf0e10cSrcweir SVLook = TRUE ; 30cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_SIZE_X, WINDOW_SIZE_Y ) ; 31cdf0e10cSrcweir Text [ en-US ] = "Data" ; 32cdf0e10cSrcweir 33cdf0e10cSrcweir FixedLine FL_DATA 34cdf0e10cSrcweir { 35cdf0e10cSrcweir Pos = MAP_APPFONT ( 4, 3 ) ; 36cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_SIZE_X - 8, 8 ) ; 37cdf0e10cSrcweir Text [ en-US ] = "Data" ; 38cdf0e10cSrcweir }; 39cdf0e10cSrcweir FixedText FT_EXPLANATION 40cdf0e10cSrcweir { 41cdf0e10cSrcweir Pos = MAP_APPFONT ( 7, 15 ) ; 42cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10, WINDOW_SIZE_Y - 21 ) ; 43cdf0e10cSrcweir WordBreak = TRUE ; 44cdf0e10cSrcweir Group = TRUE ; 45cdf0e10cSrcweir Text [ en-US ] = "Currently, the form the control belongs to is not (or not completely) bound to a data source.\n\nPlease choose a data source and a table.\n\n\nPlease note that the settings made on this page will take effect immediately upon leaving the page." ; 46cdf0e10cSrcweir }; 47cdf0e10cSrcweir FixedText FT_DATASOURCE 48cdf0e10cSrcweir { 49cdf0e10cSrcweir Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3, 15 ) ; 50cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10, 8) ; 51cdf0e10cSrcweir Group = TRUE ; 52cdf0e10cSrcweir Text [ en-US ] = "~Data source:" ; 53cdf0e10cSrcweir }; 54cdf0e10cSrcweir ListBox LB_DATASOURCE 55cdf0e10cSrcweir { 56cdf0e10cSrcweir HelpID = "extensions:ListBox:RID_PAGE_TABLESELECTION:LB_DATASOURCE" ; 57cdf0e10cSrcweir Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3, 26 ) ; 58cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 27, 14 ) ; 59cdf0e10cSrcweir SVLook = TRUE ; 60cdf0e10cSrcweir Border = TRUE ; 61cdf0e10cSrcweir DropDown = TRUE ; 62cdf0e10cSrcweir AutoHScroll = TRUE ; 63cdf0e10cSrcweir }; 64cdf0e10cSrcweir 65cdf0e10cSrcweir PushButton PB_FORMDATASOURCE 66cdf0e10cSrcweir { 67cdf0e10cSrcweir HelpID = "extensions:PushButton:RID_PAGE_TABLESELECTION:PB_FORMDATASOURCE" ; 68cdf0e10cSrcweir Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3 + WINDOW_HALF_SIZE_X - 24, 25 ) ; 69cdf0e10cSrcweir Size = MAP_APPFONT ( 14, 14 ) ; 70*a80e2a64Smseidel Text = "~..." ; 71cdf0e10cSrcweir }; 72cdf0e10cSrcweir 73cdf0e10cSrcweir FixedText FT_TABLE 74cdf0e10cSrcweir { 75cdf0e10cSrcweir Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3, 46 ) ; 76cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 14, 8) ; 77cdf0e10cSrcweir Group = TRUE ; 78cdf0e10cSrcweir Text [ en-US ] = "~Table / Query:" ; 79cdf0e10cSrcweir }; 80cdf0e10cSrcweir ListBox LB_TABLE 81cdf0e10cSrcweir { 82cdf0e10cSrcweir HelpID = "extensions:ListBox:RID_PAGE_TABLESELECTION:LB_TABLE" ; 83cdf0e10cSrcweir Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3, 57 ) ; 84cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10, WINDOW_SIZE_Y - 6 - 57 ) ; 85cdf0e10cSrcweir SVLook = TRUE ; 86cdf0e10cSrcweir Border = TRUE ; 87cdf0e10cSrcweir Sort = TRUE ; 88cdf0e10cSrcweir AutoHScroll = TRUE ; 89cdf0e10cSrcweir }; 90cdf0e10cSrcweir 91cdf0e10cSrcweir Image IMG_TABLE 92cdf0e10cSrcweir { 9334fcb55bSmseidel ImageBitmap = Bitmap {File = "sx03188.png" ;} ; 94cdf0e10cSrcweir }; 95cdf0e10cSrcweir 96cdf0e10cSrcweir Image IMG_TABLE_HC 97cdf0e10cSrcweir { 9834fcb55bSmseidel ImageBitmap = Bitmap {File = "sxh03188.png" ;} ; 99cdf0e10cSrcweir }; 100cdf0e10cSrcweir 101cdf0e10cSrcweir Image IMG_QUERY 102cdf0e10cSrcweir { 10334fcb55bSmseidel ImageBitmap = Bitmap {File = "sx03202.png" ;} ; 104cdf0e10cSrcweir }; 105cdf0e10cSrcweir 106cdf0e10cSrcweir Image IMG_QUERY_HC 107cdf0e10cSrcweir { 10834fcb55bSmseidel ImageBitmap = Bitmap {File = "sxh03202.png" ;} ; 109cdf0e10cSrcweir }; 110cdf0e10cSrcweir 111cdf0e10cSrcweir}; 112cdf0e10cSrcweir 113cdf0e10cSrcweirTabPage RID_PAGE_OPTION_DBFIELD 114cdf0e10cSrcweir{ 115cdf0e10cSrcweir HelpID = "extensions:TabPage:RID_PAGE_OPTION_DBFIELD" ; 116cdf0e10cSrcweir SVLook = TRUE ; 117cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_SIZE_X, WINDOW_SIZE_Y ) ; 118cdf0e10cSrcweir Text [ en-US ] = "Database Field" ; 119cdf0e10cSrcweir 120cdf0e10cSrcweir FixedLine FL_DATABASEFIELD_EXPL 121cdf0e10cSrcweir { 122cdf0e10cSrcweir Pos = MAP_APPFONT ( 4, 3 ) ; 123cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_SIZE_X - 8, 8 ) ; 124cdf0e10cSrcweir }; 125cdf0e10cSrcweir FixedText FT_DATABASEFIELD_EXPL 126cdf0e10cSrcweir { 127cdf0e10cSrcweir Pos = MAP_APPFONT ( 7, 15 ) ; 128cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_SIZE_X - 14, 16 ) ; 129cdf0e10cSrcweir WordBreak = TRUE; 130cdf0e10cSrcweir }; 131cdf0e10cSrcweir FixedText FT_DATABASEFIELD_QUEST 132cdf0e10cSrcweir { 133cdf0e10cSrcweir Pos = MAP_APPFONT ( 7, 34 ) ; 134cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_SIZE_X - 14, 16 ) ; 135cdf0e10cSrcweir WordBreak = TRUE ; 136cdf0e10cSrcweir Text [ en-US ] = "Do you want to save the value in a database field?" ; 137cdf0e10cSrcweir }; 138cdf0e10cSrcweir RadioButton RB_STOREINFIELD_YES 139cdf0e10cSrcweir { 140cdf0e10cSrcweir HelpID = "extensions:RadioButton:RID_PAGE_OPTION_DBFIELD:RB_STOREINFIELD_YES" ; 141cdf0e10cSrcweir Pos = MAP_APPFONT ( 7, 53 ) ; 142cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 20, 10 ) ; 143cdf0e10cSrcweir Group = TRUE ; 144cdf0e10cSrcweir TabStop = TRUE ; 145cdf0e10cSrcweir Text [ en-US ] = "~Yes, I want to save it in the following database field:" ; 146cdf0e10cSrcweir }; 147cdf0e10cSrcweir ListBox LB_STOREINFIELD 148cdf0e10cSrcweir { 149cdf0e10cSrcweir HelpID = "extensions:ListBox:RID_PAGE_OPTION_DBFIELD:LB_STOREINFIELD" ; 150cdf0e10cSrcweir Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 23, 51 ) ; 151cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 30, 14 ) ; 152cdf0e10cSrcweir TabStop = TRUE ; 153cdf0e10cSrcweir SVLook = TRUE ; 154cdf0e10cSrcweir Border = TRUE ; 155cdf0e10cSrcweir DropDown = TRUE ; 156cdf0e10cSrcweir AutoHScroll = TRUE ; 157cdf0e10cSrcweir }; 158cdf0e10cSrcweir RadioButton RB_STOREINFIELD_NO 159cdf0e10cSrcweir { 160cdf0e10cSrcweir HelpID = "extensions:RadioButton:RID_PAGE_OPTION_DBFIELD:RB_STOREINFIELD_NO" ; 161cdf0e10cSrcweir Pos = MAP_APPFONT ( 7, 68 ) ; 162cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_SIZE_X - 14, 10 ) ; 163cdf0e10cSrcweir TabStop = FALSE ; 164cdf0e10cSrcweir Text [ en-US ] = "~No, I only want to save the value in the form." ; 165cdf0e10cSrcweir }; 166cdf0e10cSrcweir}; 167cdf0e10cSrcweir 168cdf0e10cSrcweirTabPage RID_PAGE_FORM_DATASOURCE_STATUS 169cdf0e10cSrcweir{ 170cdf0e10cSrcweir HelpID = "extensions:TabPage:RID_PAGE_FORM_DATASOURCE_STATUS" ; 171cdf0e10cSrcweir FixedLine FL_FORMSETINGS 172cdf0e10cSrcweir { 173cdf0e10cSrcweir Pos = MAP_APPFONT ( 4, 3 ) ; 174cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_SIZE_X - 8, 8 ) ; 175cdf0e10cSrcweir Text [ en-US ] = "Form" ; 176cdf0e10cSrcweir }; 177cdf0e10cSrcweir FixedText FT_FORMDATASOURCELABEL 178cdf0e10cSrcweir { 179cdf0e10cSrcweir Pos = MAP_APPFONT ( 7, 15 ) ; 180cdf0e10cSrcweir Size = MAP_APPFONT ( 60, 8 ) ; 181cdf0e10cSrcweir Text [ en-US ] = "Data source" ; 182cdf0e10cSrcweir }; 183cdf0e10cSrcweir FixedText FT_FORMDATASOURCE 184cdf0e10cSrcweir { 185cdf0e10cSrcweir Pos = MAP_APPFONT ( 7 + 60 + 3, 15 ) ; 186cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_SIZE_X / 2 - 80 - 3, 19 ) ; 187cdf0e10cSrcweir WordBreak = TRUE ; 188cdf0e10cSrcweir }; 189cdf0e10cSrcweir 190cdf0e10cSrcweir FixedText FT_FORMCONTENTTYPELABEL 191cdf0e10cSrcweir { 192cdf0e10cSrcweir Pos = MAP_APPFONT ( WINDOW_SIZE_X / 2 + 3, 15 ) ; 193cdf0e10cSrcweir Size = MAP_APPFONT ( 60, 8 ) ; 194cdf0e10cSrcweir Text [ en-US ] = "Content type" ; 195cdf0e10cSrcweir }; 196cdf0e10cSrcweir FixedText FT_FORMCONTENTTYPE 197cdf0e10cSrcweir { 198cdf0e10cSrcweir Pos = MAP_APPFONT ( WINDOW_SIZE_X / 2 + 3 + 60, 15 ) ; 199cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_SIZE_X - ( WINDOW_SIZE_X / 2 + 3 + 60 ) - 7, 8 ) ; 200cdf0e10cSrcweir }; 201cdf0e10cSrcweir 202cdf0e10cSrcweir FixedText FT_FORMTABLELABEL 203cdf0e10cSrcweir { 204cdf0e10cSrcweir Pos = MAP_APPFONT ( WINDOW_SIZE_X / 2 + 3, 26 ) ; 205cdf0e10cSrcweir Size = MAP_APPFONT ( 60, 8 ) ; 206cdf0e10cSrcweir Text [ en-US ] = "Content" ; 207cdf0e10cSrcweir }; 208cdf0e10cSrcweir FixedText FT_FORMTABLE 209cdf0e10cSrcweir { 210cdf0e10cSrcweir Pos = MAP_APPFONT ( WINDOW_SIZE_X / 2 + 3 + 60, 26 ) ; 211cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_SIZE_X - ( WINDOW_SIZE_X / 2 + 3 + 60 ) - 7, 8 ) ; 212cdf0e10cSrcweir }; 213cdf0e10cSrcweir}; 214cdf0e10cSrcweir 215cdf0e10cSrcweirString RID_STR_TYPE_TABLE 216cdf0e10cSrcweir{ 217cdf0e10cSrcweir Text [ en-US ] = "Table" ; 218cdf0e10cSrcweir}; 219cdf0e10cSrcweir 220cdf0e10cSrcweirString RID_STR_TYPE_QUERY 221cdf0e10cSrcweir{ 222cdf0e10cSrcweir Text [ en-US ] = "Query" ; 223cdf0e10cSrcweir}; 224cdf0e10cSrcweir 225cdf0e10cSrcweirString RID_STR_TYPE_COMMAND 226cdf0e10cSrcweir{ 227cdf0e10cSrcweir Text [ en-US ] = "SQL command" ; 228cdf0e10cSrcweir}; 229cdf0e10cSrcweir 2300508b79bSmseidel// ********************************************************************** EOF 231