1*cdf0e10cSrcweir/************************************************************************* 2*cdf0e10cSrcweir * 3*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4*cdf0e10cSrcweir * 5*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates. 6*cdf0e10cSrcweir * 7*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite 8*cdf0e10cSrcweir * 9*cdf0e10cSrcweir * This file is part of OpenOffice.org. 10*cdf0e10cSrcweir * 11*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify 12*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3 13*cdf0e10cSrcweir * only, as published by the Free Software Foundation. 14*cdf0e10cSrcweir * 15*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful, 16*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of 17*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details 19*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code). 20*cdf0e10cSrcweir * 21*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License 22*cdf0e10cSrcweir * version 3 along with OpenOffice.org. If not, see 23*cdf0e10cSrcweir * <http://www.openoffice.org/license.html> 24*cdf0e10cSrcweir * for a copy of the LGPLv3 License. 25*cdf0e10cSrcweir * 26*cdf0e10cSrcweir ************************************************************************/ 27*cdf0e10cSrcweir 28*cdf0e10cSrcweir#ifndef _EXTENSIONS_DBP_DBPRESID_HRC_ 29*cdf0e10cSrcweir#include "dbpresid.hrc" 30*cdf0e10cSrcweir#endif 31*cdf0e10cSrcweir 32*cdf0e10cSrcweirTabPage RID_PAGE_TABLESELECTION 33*cdf0e10cSrcweir{ 34*cdf0e10cSrcweir HelpID = "extensions:TabPage:RID_PAGE_TABLESELECTION"; 35*cdf0e10cSrcweir SVLook = TRUE ; 36*cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ; 37*cdf0e10cSrcweir Text [ en-US ] = "Data"; 38*cdf0e10cSrcweir 39*cdf0e10cSrcweir FixedLine FL_DATA 40*cdf0e10cSrcweir { 41*cdf0e10cSrcweir Pos = MAP_APPFONT ( 4 , 3 ) ; 42*cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_SIZE_X - 8 , 8 ) ; 43*cdf0e10cSrcweir Text [ en-US ] = "Data"; 44*cdf0e10cSrcweir }; 45*cdf0e10cSrcweir FixedText FT_EXPLANATION 46*cdf0e10cSrcweir { 47*cdf0e10cSrcweir Pos = MAP_APPFONT ( 7 , 15 ) ; 48*cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10 , WINDOW_SIZE_Y - 21 ) ; 49*cdf0e10cSrcweir WordBreak = TRUE; 50*cdf0e10cSrcweir Group = TRUE; 51*cdf0e10cSrcweir 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."; 52*cdf0e10cSrcweir }; 53*cdf0e10cSrcweir FixedText FT_DATASOURCE 54*cdf0e10cSrcweir { 55*cdf0e10cSrcweir Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3 , 15 ) ; 56*cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10 , 8) ; 57*cdf0e10cSrcweir Group = TRUE; 58*cdf0e10cSrcweir Text [ en-US ] = "~Data source:"; 59*cdf0e10cSrcweir }; 60*cdf0e10cSrcweir ListBox LB_DATASOURCE 61*cdf0e10cSrcweir { 62*cdf0e10cSrcweir HelpID = "extensions:ListBox:RID_PAGE_TABLESELECTION:LB_DATASOURCE"; 63*cdf0e10cSrcweir Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3 , 26 ) ; 64*cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 27 , 14 ) ; 65*cdf0e10cSrcweir SVLook = TRUE ; 66*cdf0e10cSrcweir Border = TRUE ; 67*cdf0e10cSrcweir DropDown = TRUE ; 68*cdf0e10cSrcweir AutoHScroll = TRUE ; 69*cdf0e10cSrcweir }; 70*cdf0e10cSrcweir 71*cdf0e10cSrcweir PushButton PB_FORMDATASOURCE 72*cdf0e10cSrcweir { 73*cdf0e10cSrcweir HelpID = "extensions:PushButton:RID_PAGE_TABLESELECTION:PB_FORMDATASOURCE"; 74*cdf0e10cSrcweir Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3 + WINDOW_HALF_SIZE_X - 24 , 25 ) ; 75*cdf0e10cSrcweir Size = MAP_APPFONT ( 14 , 14 ) ; 76*cdf0e10cSrcweir Text [ en-US ] = "~..."; 77*cdf0e10cSrcweir }; 78*cdf0e10cSrcweir 79*cdf0e10cSrcweir FixedText FT_TABLE 80*cdf0e10cSrcweir { 81*cdf0e10cSrcweir Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3, 46 ) ; 82*cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 14 , 8) ; 83*cdf0e10cSrcweir Group = TRUE; 84*cdf0e10cSrcweir Text [ en-US ] = "~Table / Query:"; 85*cdf0e10cSrcweir }; 86*cdf0e10cSrcweir ListBox LB_TABLE 87*cdf0e10cSrcweir { 88*cdf0e10cSrcweir HelpID = "extensions:ListBox:RID_PAGE_TABLESELECTION:LB_TABLE"; 89*cdf0e10cSrcweir Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 3, 57 ) ; 90*cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 10 , WINDOW_SIZE_Y - 6 - 57 ) ; 91*cdf0e10cSrcweir SVLook = TRUE ; 92*cdf0e10cSrcweir Border = TRUE ; 93*cdf0e10cSrcweir Sort = TRUE; 94*cdf0e10cSrcweir AutoHScroll = TRUE ; 95*cdf0e10cSrcweir }; 96*cdf0e10cSrcweir 97*cdf0e10cSrcweir Image IMG_TABLE 98*cdf0e10cSrcweir { 99*cdf0e10cSrcweir ImageBitmap = Bitmap { File = "sx03188.bmp"; }; 100*cdf0e10cSrcweir MaskColor = Color { Red = 0xFFFF; Green = 0x0; Blue = 0xFFFF; }; 101*cdf0e10cSrcweir }; 102*cdf0e10cSrcweir 103*cdf0e10cSrcweir Image IMG_TABLE_HC 104*cdf0e10cSrcweir { 105*cdf0e10cSrcweir ImageBitmap = Bitmap { File = "sxh03188.bmp"; }; 106*cdf0e10cSrcweir MaskColor = Color { Red = 0xFFFF; Green = 0x0; Blue = 0xFFFF; }; 107*cdf0e10cSrcweir }; 108*cdf0e10cSrcweir 109*cdf0e10cSrcweir Image IMG_QUERY 110*cdf0e10cSrcweir { 111*cdf0e10cSrcweir ImageBitmap = Bitmap { File = "sx03202.bmp"; }; 112*cdf0e10cSrcweir MaskColor = Color { Red = 0xFFFF; Green = 0x0; Blue = 0xFFFF; }; 113*cdf0e10cSrcweir }; 114*cdf0e10cSrcweir 115*cdf0e10cSrcweir Image IMG_QUERY_HC 116*cdf0e10cSrcweir { 117*cdf0e10cSrcweir ImageBitmap = Bitmap { File = "sxh03202.bmp"; }; 118*cdf0e10cSrcweir MaskColor = Color { Red = 0xFFFF; Green = 0x0; Blue = 0xFFFF; }; 119*cdf0e10cSrcweir }; 120*cdf0e10cSrcweir 121*cdf0e10cSrcweir}; 122*cdf0e10cSrcweir 123*cdf0e10cSrcweirTabPage RID_PAGE_OPTION_DBFIELD 124*cdf0e10cSrcweir{ 125*cdf0e10cSrcweir HelpID = "extensions:TabPage:RID_PAGE_OPTION_DBFIELD"; 126*cdf0e10cSrcweir SVLook = TRUE ; 127*cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_SIZE_X , WINDOW_SIZE_Y ) ; 128*cdf0e10cSrcweir Text [ en-US ] = "Database Field"; 129*cdf0e10cSrcweir 130*cdf0e10cSrcweir FixedLine FL_DATABASEFIELD_EXPL 131*cdf0e10cSrcweir { 132*cdf0e10cSrcweir Pos = MAP_APPFONT ( 4 , 3 ) ; 133*cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_SIZE_X - 8 , 8 ) ; 134*cdf0e10cSrcweir }; 135*cdf0e10cSrcweir FixedText FT_DATABASEFIELD_EXPL 136*cdf0e10cSrcweir { 137*cdf0e10cSrcweir Pos = MAP_APPFONT ( 7 , 15 ) ; 138*cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_SIZE_X - 14, 16 ) ; 139*cdf0e10cSrcweir WordBreak = TRUE; 140*cdf0e10cSrcweir }; 141*cdf0e10cSrcweir FixedText FT_DATABASEFIELD_QUEST 142*cdf0e10cSrcweir { 143*cdf0e10cSrcweir Pos = MAP_APPFONT ( 7 , 34 ) ; 144*cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_SIZE_X - 14, 16 ) ; 145*cdf0e10cSrcweir WordBreak = TRUE; 146*cdf0e10cSrcweir Text [ en-US ] = "Do you want to save the value in a database field?"; 147*cdf0e10cSrcweir }; 148*cdf0e10cSrcweir RadioButton RB_STOREINFIELD_YES 149*cdf0e10cSrcweir { 150*cdf0e10cSrcweir HelpID = "extensions:RadioButton:RID_PAGE_OPTION_DBFIELD:RB_STOREINFIELD_YES"; 151*cdf0e10cSrcweir Pos = MAP_APPFONT ( 7 , 53 ) ; 152*cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 20, 10 ) ; 153*cdf0e10cSrcweir Group = TRUE; 154*cdf0e10cSrcweir TabStop = TRUE; 155*cdf0e10cSrcweir Text [ en-US ] = "~Yes, I want to save it in the following database field:"; 156*cdf0e10cSrcweir }; 157*cdf0e10cSrcweir ListBox LB_STOREINFIELD 158*cdf0e10cSrcweir { 159*cdf0e10cSrcweir HelpID = "extensions:ListBox:RID_PAGE_OPTION_DBFIELD:LB_STOREINFIELD"; 160*cdf0e10cSrcweir Pos = MAP_APPFONT ( WINDOW_HALF_SIZE_X + 23, 51 ) ; 161*cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_HALF_SIZE_X - 30, 14 ) ; 162*cdf0e10cSrcweir TabStop = TRUE; 163*cdf0e10cSrcweir SVLook = TRUE ; 164*cdf0e10cSrcweir Border = TRUE ; 165*cdf0e10cSrcweir DropDown = TRUE; 166*cdf0e10cSrcweir AutoHScroll = TRUE ; 167*cdf0e10cSrcweir }; 168*cdf0e10cSrcweir RadioButton RB_STOREINFIELD_NO 169*cdf0e10cSrcweir { 170*cdf0e10cSrcweir HelpID = "extensions:RadioButton:RID_PAGE_OPTION_DBFIELD:RB_STOREINFIELD_NO"; 171*cdf0e10cSrcweir Pos = MAP_APPFONT ( 7 , 68 ) ; 172*cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_SIZE_X - 14, 10 ) ; 173*cdf0e10cSrcweir TabStop = FALSE; 174*cdf0e10cSrcweir Text [ en-US ] = "~No, I only want to save the value in the form."; 175*cdf0e10cSrcweir }; 176*cdf0e10cSrcweir}; 177*cdf0e10cSrcweir 178*cdf0e10cSrcweirTabPage RID_PAGE_FORM_DATASOURCE_STATUS 179*cdf0e10cSrcweir{ 180*cdf0e10cSrcweir HelpID = "extensions:TabPage:RID_PAGE_FORM_DATASOURCE_STATUS"; 181*cdf0e10cSrcweir FixedLine FL_FORMSETINGS 182*cdf0e10cSrcweir { 183*cdf0e10cSrcweir Pos = MAP_APPFONT ( 4 , 3 ) ; 184*cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_SIZE_X - 8 , 8 ) ; 185*cdf0e10cSrcweir Text [ en-US ] = "Form"; 186*cdf0e10cSrcweir }; 187*cdf0e10cSrcweir FixedText FT_FORMDATASOURCELABEL 188*cdf0e10cSrcweir { 189*cdf0e10cSrcweir Pos = MAP_APPFONT ( 7 , 15 ) ; 190*cdf0e10cSrcweir Size = MAP_APPFONT ( 60 , 8 ) ; 191*cdf0e10cSrcweir Text [ en-US ] = "Data source"; 192*cdf0e10cSrcweir }; 193*cdf0e10cSrcweir FixedText FT_FORMDATASOURCE 194*cdf0e10cSrcweir { 195*cdf0e10cSrcweir Pos = MAP_APPFONT ( 7 + 60 + 3 , 15 ) ; 196*cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_SIZE_X / 2 - 80 - 3 , 19 ) ; 197*cdf0e10cSrcweir WordBreak = TRUE; 198*cdf0e10cSrcweir }; 199*cdf0e10cSrcweir 200*cdf0e10cSrcweir FixedText FT_FORMCONTENTTYPELABEL 201*cdf0e10cSrcweir { 202*cdf0e10cSrcweir Pos = MAP_APPFONT ( WINDOW_SIZE_X / 2 + 3, 15 ) ; 203*cdf0e10cSrcweir Size = MAP_APPFONT ( 60 , 8 ) ; 204*cdf0e10cSrcweir Text [ en-US ] = "Content type"; 205*cdf0e10cSrcweir }; 206*cdf0e10cSrcweir FixedText FT_FORMCONTENTTYPE 207*cdf0e10cSrcweir { 208*cdf0e10cSrcweir Pos = MAP_APPFONT ( WINDOW_SIZE_X / 2 + 3 + 60 , 15 ) ; 209*cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_SIZE_X - ( WINDOW_SIZE_X / 2 + 3 + 60 ) - 7 , 8 ) ; 210*cdf0e10cSrcweir }; 211*cdf0e10cSrcweir 212*cdf0e10cSrcweir FixedText FT_FORMTABLELABEL 213*cdf0e10cSrcweir { 214*cdf0e10cSrcweir Pos = MAP_APPFONT ( WINDOW_SIZE_X / 2 + 3, 26 ) ; 215*cdf0e10cSrcweir Size = MAP_APPFONT ( 60 , 8 ) ; 216*cdf0e10cSrcweir Text [ en-US ] = "Content"; 217*cdf0e10cSrcweir }; 218*cdf0e10cSrcweir FixedText FT_FORMTABLE 219*cdf0e10cSrcweir { 220*cdf0e10cSrcweir Pos = MAP_APPFONT ( WINDOW_SIZE_X / 2 + 3 + 60 , 26 ) ; 221*cdf0e10cSrcweir Size = MAP_APPFONT ( WINDOW_SIZE_X - ( WINDOW_SIZE_X / 2 + 3 + 60 ) - 7 , 8 ) ; 222*cdf0e10cSrcweir }; 223*cdf0e10cSrcweir}; 224*cdf0e10cSrcweir 225*cdf0e10cSrcweirString RID_STR_TYPE_TABLE 226*cdf0e10cSrcweir{ 227*cdf0e10cSrcweir Text [ en-US ] = "Table"; 228*cdf0e10cSrcweir}; 229*cdf0e10cSrcweir 230*cdf0e10cSrcweirString RID_STR_TYPE_QUERY 231*cdf0e10cSrcweir{ 232*cdf0e10cSrcweir Text [ en-US ] = "Query"; 233*cdf0e10cSrcweir}; 234*cdf0e10cSrcweir 235*cdf0e10cSrcweirString RID_STR_TYPE_COMMAND 236*cdf0e10cSrcweir{ 237*cdf0e10cSrcweir Text [ en-US ] = "SQL command"; 238*cdf0e10cSrcweir}; 239*cdf0e10cSrcweir 240