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_TABLESELECTION 29cdf0e10cSrcweir{ 30cdf0e10cSrcweir HelpID = "extensions:TabPage:RID_PAGE_TABLESELECTION"; 31cdf0e10cSrcweir SVLook = TRUE ; 32cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ; 33cdf0e10cSrcweir Text [ en-US ] = "Data"; 34cdf0e10cSrcweir 35cdf0e10cSrcweir FixedLine FL_DATA 36cdf0e10cSrcweir { 37cdf0e10cSrcweir Pos = MAP_APPFONT ( 4 , 3 ) ; 38cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_SIZE_X - 8 , 8 ) ; 39cdf0e10cSrcweir Text [ en-US ] = "Data"; 40cdf0e10cSrcweir }; 41cdf0e10cSrcweir FixedText FT_EXPLANATION 42cdf0e10cSrcweir { 43cdf0e10cSrcweir Pos = MAP_APPFONT ( 7 , 15 ) ; 44cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10 , WINDOW_SIZE_Y - 21 ) ; 45cdf0e10cSrcweir WordBreak = TRUE; 46cdf0e10cSrcweir Group = TRUE; 47cdf0e10cSrcweir 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."; 48cdf0e10cSrcweir }; 49cdf0e10cSrcweir FixedText FT_DATASOURCE 50cdf0e10cSrcweir { 51cdf0e10cSrcweir Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3 , 15 ) ; 52cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10 , 8) ; 53cdf0e10cSrcweir Group = TRUE; 54cdf0e10cSrcweir Text [ en-US ] = "~Data source:"; 55cdf0e10cSrcweir }; 56cdf0e10cSrcweir ListBox LB_DATASOURCE 57cdf0e10cSrcweir { 58cdf0e10cSrcweir HelpID = "extensions:ListBox:RID_PAGE_TABLESELECTION:LB_DATASOURCE"; 59cdf0e10cSrcweir Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3 , 26 ) ; 60cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 27 , 14 ) ; 61cdf0e10cSrcweir SVLook = TRUE ; 62cdf0e10cSrcweir Border = TRUE ; 63cdf0e10cSrcweir DropDown = TRUE ; 64cdf0e10cSrcweir AutoHScroll = TRUE ; 65cdf0e10cSrcweir }; 66cdf0e10cSrcweir 67cdf0e10cSrcweir PushButton PB_FORMDATASOURCE 68cdf0e10cSrcweir { 69cdf0e10cSrcweir HelpID = "extensions:PushButton:RID_PAGE_TABLESELECTION:PB_FORMDATASOURCE"; 70cdf0e10cSrcweir Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3 + WINDOW_HALF_SIZE_X - 24 , 25 ) ; 71cdf0e10cSrcweir Size = MAP_APPFONT ( 14 , 14 ) ; 72cdf0e10cSrcweir Text [ en-US ] = "~..."; 73cdf0e10cSrcweir }; 74cdf0e10cSrcweir 75cdf0e10cSrcweir FixedText FT_TABLE 76cdf0e10cSrcweir { 77cdf0e10cSrcweir Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3, 46 ) ; 78cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 14 , 8) ; 79cdf0e10cSrcweir Group = TRUE; 80cdf0e10cSrcweir Text [ en-US ] = "~Table / Query:"; 81cdf0e10cSrcweir }; 82cdf0e10cSrcweir ListBox LB_TABLE 83cdf0e10cSrcweir { 84cdf0e10cSrcweir HelpID = "extensions:ListBox:RID_PAGE_TABLESELECTION:LB_TABLE"; 85cdf0e10cSrcweir Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3, 57 ) ; 86cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10 , WINDOW_SIZE_Y - 6 - 57 ) ; 87cdf0e10cSrcweir SVLook = TRUE ; 88cdf0e10cSrcweir Border = TRUE ; 89cdf0e10cSrcweir Sort = TRUE; 90cdf0e10cSrcweir AutoHScroll = TRUE ; 91cdf0e10cSrcweir }; 92cdf0e10cSrcweir 93cdf0e10cSrcweir Image IMG_TABLE 94cdf0e10cSrcweir { 95cdf0e10cSrcweir ImageBitmap = Bitmap { File = "sx03188.bmp"; }; 96cdf0e10cSrcweir MaskColor = Color { Red = 0xFFFF; Green = 0x0; Blue = 0xFFFF; }; 97cdf0e10cSrcweir }; 98cdf0e10cSrcweir 99cdf0e10cSrcweir Image IMG_TABLE_HC 100cdf0e10cSrcweir { 101cdf0e10cSrcweir ImageBitmap = Bitmap { File = "sxh03188.bmp"; }; 102cdf0e10cSrcweir MaskColor = Color { Red = 0xFFFF; Green = 0x0; Blue = 0xFFFF; }; 103cdf0e10cSrcweir }; 104cdf0e10cSrcweir 105cdf0e10cSrcweir Image IMG_QUERY 106cdf0e10cSrcweir { 107cdf0e10cSrcweir ImageBitmap = Bitmap { File = "sx03202.bmp"; }; 108cdf0e10cSrcweir MaskColor = Color { Red = 0xFFFF; Green = 0x0; Blue = 0xFFFF; }; 109cdf0e10cSrcweir }; 110cdf0e10cSrcweir 111cdf0e10cSrcweir Image IMG_QUERY_HC 112cdf0e10cSrcweir { 113cdf0e10cSrcweir ImageBitmap = Bitmap { File = "sxh03202.bmp"; }; 114cdf0e10cSrcweir MaskColor = Color { Red = 0xFFFF; Green = 0x0; Blue = 0xFFFF; }; 115cdf0e10cSrcweir }; 116cdf0e10cSrcweir 117cdf0e10cSrcweir}; 118cdf0e10cSrcweir 119cdf0e10cSrcweirTabPage RID_PAGE_OPTION_DBFIELD 120cdf0e10cSrcweir{ 121cdf0e10cSrcweir HelpID = "extensions:TabPage:RID_PAGE_OPTION_DBFIELD"; 122cdf0e10cSrcweir SVLook = TRUE ; 123cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ; 124cdf0e10cSrcweir Text [ en-US ] = "Database Field"; 125cdf0e10cSrcweir 126cdf0e10cSrcweir FixedLine FL_DATABASEFIELD_EXPL 127cdf0e10cSrcweir { 128cdf0e10cSrcweir Pos = MAP_APPFONT ( 4 , 3 ) ; 129cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_SIZE_X - 8 , 8 ) ; 130cdf0e10cSrcweir }; 131cdf0e10cSrcweir FixedText FT_DATABASEFIELD_EXPL 132cdf0e10cSrcweir { 133cdf0e10cSrcweir Pos = MAP_APPFONT ( 7 , 15 ) ; 134cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_SIZE_X - 14, 16 ) ; 135cdf0e10cSrcweir WordBreak = TRUE; 136cdf0e10cSrcweir }; 137cdf0e10cSrcweir FixedText FT_DATABASEFIELD_QUEST 138cdf0e10cSrcweir { 139cdf0e10cSrcweir Pos = MAP_APPFONT ( 7 , 34 ) ; 140cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_SIZE_X - 14, 16 ) ; 141cdf0e10cSrcweir WordBreak = TRUE; 142cdf0e10cSrcweir Text [ en-US ] = "Do you want to save the value in a database field?"; 143cdf0e10cSrcweir }; 144cdf0e10cSrcweir RadioButton RB_STOREINFIELD_YES 145cdf0e10cSrcweir { 146cdf0e10cSrcweir HelpID = "extensions:RadioButton:RID_PAGE_OPTION_DBFIELD:RB_STOREINFIELD_YES"; 147cdf0e10cSrcweir Pos = MAP_APPFONT ( 7 , 53 ) ; 148cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 20, 10 ) ; 149cdf0e10cSrcweir Group = TRUE; 150cdf0e10cSrcweir TabStop = TRUE; 151cdf0e10cSrcweir Text [ en-US ] = "~Yes, I want to save it in the following database field:"; 152cdf0e10cSrcweir }; 153cdf0e10cSrcweir ListBox LB_STOREINFIELD 154cdf0e10cSrcweir { 155cdf0e10cSrcweir HelpID = "extensions:ListBox:RID_PAGE_OPTION_DBFIELD:LB_STOREINFIELD"; 156cdf0e10cSrcweir Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 23, 51 ) ; 157cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 30, 14 ) ; 158cdf0e10cSrcweir TabStop = TRUE; 159cdf0e10cSrcweir SVLook = TRUE ; 160cdf0e10cSrcweir Border = TRUE ; 161cdf0e10cSrcweir DropDown = TRUE; 162cdf0e10cSrcweir AutoHScroll = TRUE ; 163cdf0e10cSrcweir }; 164cdf0e10cSrcweir RadioButton RB_STOREINFIELD_NO 165cdf0e10cSrcweir { 166cdf0e10cSrcweir HelpID = "extensions:RadioButton:RID_PAGE_OPTION_DBFIELD:RB_STOREINFIELD_NO"; 167cdf0e10cSrcweir Pos = MAP_APPFONT ( 7 , 68 ) ; 168cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_SIZE_X - 14, 10 ) ; 169cdf0e10cSrcweir TabStop = FALSE; 170cdf0e10cSrcweir Text [ en-US ] = "~No, I only want to save the value in the form."; 171cdf0e10cSrcweir }; 172cdf0e10cSrcweir}; 173cdf0e10cSrcweir 174cdf0e10cSrcweirTabPage RID_PAGE_FORM_DATASOURCE_STATUS 175cdf0e10cSrcweir{ 176cdf0e10cSrcweir HelpID = "extensions:TabPage:RID_PAGE_FORM_DATASOURCE_STATUS"; 177cdf0e10cSrcweir FixedLine FL_FORMSETINGS 178cdf0e10cSrcweir { 179cdf0e10cSrcweir Pos = MAP_APPFONT ( 4 , 3 ) ; 180cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_SIZE_X - 8 , 8 ) ; 181cdf0e10cSrcweir Text [ en-US ] = "Form"; 182cdf0e10cSrcweir }; 183cdf0e10cSrcweir FixedText FT_FORMDATASOURCELABEL 184cdf0e10cSrcweir { 185cdf0e10cSrcweir Pos = MAP_APPFONT ( 7 , 15 ) ; 186cdf0e10cSrcweir Size = MAP_APPFONT ( 60 , 8 ) ; 187cdf0e10cSrcweir Text [ en-US ] = "Data source"; 188cdf0e10cSrcweir }; 189cdf0e10cSrcweir FixedText FT_FORMDATASOURCE 190cdf0e10cSrcweir { 191cdf0e10cSrcweir Pos = MAP_APPFONT ( 7 + 60 + 3 , 15 ) ; 192cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_SIZE_X / 2 - 80 - 3 , 19 ) ; 193cdf0e10cSrcweir WordBreak = TRUE; 194cdf0e10cSrcweir }; 195cdf0e10cSrcweir 196cdf0e10cSrcweir FixedText FT_FORMCONTENTTYPELABEL 197cdf0e10cSrcweir { 198cdf0e10cSrcweir Pos = MAP_APPFONT ( WINDOW_SIZE_X / 2 + 3, 15 ) ; 199cdf0e10cSrcweir Size = MAP_APPFONT ( 60 , 8 ) ; 200cdf0e10cSrcweir Text [ en-US ] = "Content type"; 201cdf0e10cSrcweir }; 202cdf0e10cSrcweir FixedText FT_FORMCONTENTTYPE 203cdf0e10cSrcweir { 204cdf0e10cSrcweir Pos = MAP_APPFONT ( WINDOW_SIZE_X / 2 + 3 + 60 , 15 ) ; 205cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_SIZE_X - ( WINDOW_SIZE_X / 2 + 3 + 60 ) - 7 , 8 ) ; 206cdf0e10cSrcweir }; 207cdf0e10cSrcweir 208cdf0e10cSrcweir FixedText FT_FORMTABLELABEL 209cdf0e10cSrcweir { 210cdf0e10cSrcweir Pos = MAP_APPFONT ( WINDOW_SIZE_X / 2 + 3, 26 ) ; 211cdf0e10cSrcweir Size = MAP_APPFONT ( 60 , 8 ) ; 212cdf0e10cSrcweir Text [ en-US ] = "Content"; 213cdf0e10cSrcweir }; 214cdf0e10cSrcweir FixedText FT_FORMTABLE 215cdf0e10cSrcweir { 216cdf0e10cSrcweir Pos = MAP_APPFONT ( WINDOW_SIZE_X / 2 + 3 + 60 , 26 ) ; 217cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_SIZE_X - ( WINDOW_SIZE_X / 2 + 3 + 60 ) - 7 , 8 ) ; 218cdf0e10cSrcweir }; 219cdf0e10cSrcweir}; 220cdf0e10cSrcweir 221cdf0e10cSrcweirString RID_STR_TYPE_TABLE 222cdf0e10cSrcweir{ 223cdf0e10cSrcweir Text [ en-US ] = "Table"; 224cdf0e10cSrcweir}; 225cdf0e10cSrcweir 226cdf0e10cSrcweirString RID_STR_TYPE_QUERY 227cdf0e10cSrcweir{ 228cdf0e10cSrcweir Text [ en-US ] = "Query"; 229cdf0e10cSrcweir}; 230cdf0e10cSrcweir 231cdf0e10cSrcweirString RID_STR_TYPE_COMMAND 232cdf0e10cSrcweir{ 233cdf0e10cSrcweir Text [ en-US ] = "SQL command"; 234cdf0e10cSrcweir}; 235cdf0e10cSrcweir 236