159f668555
2007/08/27 10:50:38 fs 1.156.46.1: prepare #i80930#: outsourced all the advanced settings into dedicated pages (they were never needed by more than one instance of the CommonBehaviourPage)
774 lines
28 KiB
Text
774 lines
28 KiB
Text
/*************************************************************************
|
|
*
|
|
* OpenOffice.org - a multi-platform office productivity suite
|
|
*
|
|
* $RCSfile: dbadmin.src,v $
|
|
*
|
|
* $Revision: 1.157 $
|
|
*
|
|
* last change: $Author: hr $ $Date: 2007-11-01 15:11:01 $
|
|
*
|
|
* The Contents of this file are made available subject to
|
|
* the terms of GNU Lesser General Public License Version 2.1.
|
|
*
|
|
*
|
|
* GNU Lesser General Public License Version 2.1
|
|
* =============================================
|
|
* Copyright 2005 by Sun Microsystems, Inc.
|
|
* 901 San Antonio Road, Palo Alto, CA 94303, USA
|
|
*
|
|
* This library is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
* License version 2.1, as published by the Free Software Foundation.
|
|
*
|
|
* This library is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
* Lesser General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
* License along with this library; if not, write to the Free Software
|
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
|
* MA 02111-1307 USA
|
|
*
|
|
************************************************************************/
|
|
|
|
#ifndef _DBA_DBACCESS_HELPID_HRC_
|
|
#include "dbaccess_helpid.hrc"
|
|
#endif
|
|
#ifndef _DBAUI_AUTOCONTROLS_HRC_
|
|
#include "AutoControls.hrc"
|
|
#endif
|
|
#ifndef _DBU_DLG_HRC_
|
|
#include "dbu_dlg.hrc"
|
|
#endif
|
|
#ifndef _DBAUI_DBADMIN_HRC_
|
|
#include "dbadmin.hrc"
|
|
#endif
|
|
#ifndef DBACCESS_UI_BROWSER_ID_HXX
|
|
#include "browserids.hxx"
|
|
#endif
|
|
#ifndef DBAUI_ADABASPAGE_HRC
|
|
#include "AdabasPage.hrc"
|
|
#endif
|
|
|
|
//-------------------------------------------------------------------------
|
|
|
|
#define AUTO_USECATALOG(AUTO_Y) \
|
|
CheckBox CB_USECATALOG \
|
|
{ \
|
|
Pos = MAP_APPFONT ( 6 ,AUTO_Y) ; \
|
|
Size = MAP_APPFONT ( PAGE_X -12 , CHECKBOX_HEIGHT ) ; \
|
|
TabStop = TRUE ; \
|
|
HelpId = HID_DSADMIN_USECATALOG; \
|
|
Text[ en-US ] = "Use catalog for file-based databases"; \
|
|
};
|
|
|
|
//-------------------------------------------------------------------------
|
|
|
|
#define AUTO_CHARSET(AUTO_Y) \
|
|
FixedLine FL_DATACONVERT \
|
|
{ \
|
|
Pos = MAP_APPFONT ( 4 , AUTO_Y ) ; \
|
|
Size = MAP_APPFONT ( PAGE_X - 2*RELATED_CONTROLS , FIXEDTEXT_HEIGHT ) ; \
|
|
Text [ en-US ] = "Data conversion"; \
|
|
}; \
|
|
FixedText FT_CHARSET \
|
|
{ \
|
|
Pos = MAP_APPFONT ( 6 , AUTO_Y + RELATED_CONTROLS + FIXEDTEXT_HEIGHT ) ; \
|
|
Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ; \
|
|
Text [ en-US ] = "~Character set" ; \
|
|
}; \
|
|
ListBox LB_CHARSET \
|
|
{ \
|
|
Border = TRUE ; \
|
|
Pos = MAP_APPFONT ( EDIT_X , AUTO_Y + RELATED_CONTROLS + FIXEDTEXT_HEIGHT -1 ) ;\
|
|
Size = MAP_APPFONT ( 130 , 60 ) ; \
|
|
TabStop = TRUE ; \
|
|
HelpId = HID_DSADMIN_CHARSET; \
|
|
DropDown = TRUE ; \
|
|
CurPos = 0 ; \
|
|
};
|
|
|
|
//-------------------------------------------------------------------------
|
|
|
|
#define AUTO_SPECIAL_JDBC(AUTO_Y) \
|
|
FixedLine FL_SEPARATOR1 \
|
|
{ \
|
|
Pos = MAP_APPFONT ( 4 , AUTO_Y ) ; \
|
|
Size = MAP_APPFONT ( PAGE_X - 8 , FIXEDTEXT_HEIGHT ) ; \
|
|
Text[ en-US ] = "Connection Settings"; \
|
|
}; \
|
|
\
|
|
FixedText FT_HOSTNAME \
|
|
{ \
|
|
Pos = MAP_APPFONT ( 6 , AUTO_Y + RELATED_CONTROLS + FIXEDTEXT_HEIGHT) ; \
|
|
Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ; \
|
|
Text[ en-US ] = "~Host name"; \
|
|
}; \
|
|
Edit ET_HOSTNAME \
|
|
{ \
|
|
TabStop = TRUE ; \
|
|
Border = TRUE ; \
|
|
HelpId = HID_DSADMIN_HOSTNAME; \
|
|
Pos = MAP_APPFONT ( EDIT_X , AUTO_Y + RELATED_CONTROLS + FIXEDTEXT_HEIGHT -1 ) ; \
|
|
Size = MAP_APPFONT ( 97 , EDIT_HEIGHT ) ; \
|
|
}; \
|
|
\
|
|
FixedText FT_PORTNUMBER \
|
|
{ \
|
|
Pos = MAP_APPFONT ( 6 , AUTO_Y + UNRELATED_CONTROLS + RELATED_CONTROLS + 2*FIXEDTEXT_HEIGHT) ; \
|
|
Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ; \
|
|
Text[ en-US ] = "~Port number"; \
|
|
}; \
|
|
NumericField NF_PORTNUMBER \
|
|
{ \
|
|
TabStop = TRUE ; \
|
|
Border = TRUE ; \
|
|
HelpId = HID_DSADMIN_PORTNUMBER; \
|
|
Pos = MAP_APPFONT ( EDIT_X , AUTO_Y +UNRELATED_CONTROLS + RELATED_CONTROLS + 2*FIXEDTEXT_HEIGHT -1 ) ; \
|
|
Size = MAP_APPFONT ( 97 , EDIT_HEIGHT ) ; \
|
|
};
|
|
//-------------------------------------------------------------------------
|
|
|
|
TabDialog DLG_DATABASE_ADMINISTRATION
|
|
{
|
|
OutputSize = TRUE ;
|
|
SVLook = TRUE ;
|
|
Moveable = TRUE ;
|
|
Closeable = TRUE ;
|
|
Hide = TRUE;
|
|
HelpId = HID_DSADMIN_DIALOG;
|
|
|
|
TabControl 1
|
|
{
|
|
OutputSize = TRUE ;
|
|
HelpId = HID_DSADMIN_TABCONTROL;
|
|
SingleLine=TRUE;
|
|
};
|
|
|
|
//.........................................................................
|
|
String STR_PAGETITLE_GENERAL
|
|
{
|
|
Text [ en-US ] = "Advanced Properties" ;
|
|
};
|
|
String STR_PAGETITLE_ADVANCED
|
|
{
|
|
Text [ en-US ] = "Additional Settings" ;
|
|
};
|
|
String STR_PAGETITLE_CONNECTION
|
|
{
|
|
Text [ en-US ] = "Connection settings" ;
|
|
};
|
|
|
|
Text [ en-US ] = "Database properties" ;
|
|
};
|
|
|
|
// -----------------------------------------------------------------------------
|
|
|
|
ModalDialog DLG_DATABASE_TYPE_CHANGE
|
|
{
|
|
OutputSize = TRUE ;
|
|
Moveable = TRUE;
|
|
Closeable = TRUE ;
|
|
Hide = TRUE;
|
|
HelpId = HID_DSADMIN_TYPE_DIALOG;
|
|
|
|
TabControl 1
|
|
{
|
|
OutputSize = TRUE ;
|
|
HelpId = HID_DSADMIN_TABCONTROL;
|
|
SingleLine=TRUE;
|
|
};
|
|
Text [ en-US ] = "Database properties" ;
|
|
};
|
|
|
|
//-------------------------------------------------------------------------
|
|
|
|
TabPage PAGE_GENERAL
|
|
{
|
|
SVLook = TRUE ;
|
|
Size = MAP_APPFONT ( PAGE_X , PAGE_Y ) ;
|
|
Hide = TRUE;
|
|
HelpId = HID_DSADMIN_PAGE_GENERAL;
|
|
|
|
|
|
FixedText FT_GENERALHEADERTEXT
|
|
{
|
|
Pos = MAP_APPFONT ( START_X , 8 ) ;
|
|
Size = MAP_APPFONT ( (WIZARD_PAGE_X - START_X) - 12 , 2 * FIXEDTEXT_HEIGHT ) ;
|
|
Text [ en-US ] = "Welcome to the %PRODUCTNAME Database Wizard";
|
|
WordBreak = TRUE;
|
|
};
|
|
|
|
FixedText FT_GENERALHELPTEXT
|
|
{
|
|
Pos = MAP_APPFONT (START_X , 27 );
|
|
Size = MAP_APPFONT ( WIZARD_PAGE_X - START_X - 6, 5* FIXEDTEXT_HEIGHT ) ;
|
|
Text [ en-US ] = "Use the Database Wizard to create a new database, open an existing database file, or connect to a database stored on a server." ;
|
|
WordBreak = TRUE ;
|
|
};
|
|
|
|
FixedText FT_DATASOURCEHEADER
|
|
{
|
|
Pos = MAP_APPFONT ( START_X , 73 ) ;
|
|
Size = MAP_APPFONT ( WIZARD_PAGE_X - 12 , FIXEDTEXT_HEIGHT ) ;
|
|
Text [ en-US ] = "What do you want to do?";
|
|
};
|
|
|
|
RadioButton RB_CREATEDBDATABASE
|
|
{
|
|
HelpId = HID_PAGE_DBWIZARD_GENERAL_RB_CREATEDBDATABASE ;
|
|
Pos = MAP_APPFONT (START_X + 6 , 85 ) ;
|
|
Size = MAP_APPFONT ( 205 , 10 ) ;
|
|
Group = TRUE;
|
|
Text [ en-US ] = "Create a n~ew database" ;
|
|
};
|
|
|
|
RadioButton RB_OPENEXISTINGDOC
|
|
{
|
|
Pos = MAP_APPFONT (START_X + 6 , 97 );
|
|
Size = MAP_APPFONT ( 206 , 8 ) ;
|
|
Text [ en-US ] = "Open an existing database ~file" ;
|
|
};
|
|
|
|
FixedText FT_DOCLISTLABEL
|
|
{
|
|
Pos = MAP_APPFONT( START_X + INDENTED_X + INDENT_BELOW_RADIO, 110 );
|
|
Size = MAP_APPFONT( 120, 8 );
|
|
Text [ en-US ] = "Recently used";
|
|
};
|
|
|
|
ListBox LB_DOCUMENTLIST
|
|
{
|
|
Pos = MAP_APPFONT( START_X + INDENTED_X + INDENT_BELOW_RADIO, 121 );
|
|
Size = MAP_APPFONT( 120, 14 );
|
|
DropDown = TRUE;
|
|
Border = TRUE;
|
|
};
|
|
|
|
PushButton PB_OPENDOCUMENT
|
|
{
|
|
Pos = MAP_APPFONT( START_X + INDENTED_X + INDENT_BELOW_RADIO, 139 );
|
|
Size = MAP_APPFONT( 50, 16 );
|
|
OutputSize = TRUE;
|
|
TabStop = TRUE;
|
|
};
|
|
|
|
RadioButton RB_GETEXISTINGDATABASE
|
|
{
|
|
HelpId = HID_PAGE_DBWIZARD_GENERAL_RB_GETEXISTINGDATABASE;
|
|
Pos = MAP_APPFONT (START_X + 6 , 159 ) ;
|
|
Size = MAP_APPFONT ( 206 , 8 ) ;
|
|
Text [ en-US ] = "Connect to an e~xisting database" ;
|
|
};
|
|
|
|
FixedText FT_DATASOURCETYPE_PRE
|
|
{
|
|
Pos = MAP_APPFONT ( 6 , UNRELATED_CONTROLS ) ;
|
|
Size = MAP_APPFONT ( WIZARD_PAGE_X - 12 , 3*FIXEDTEXT_HEIGHT ) ;
|
|
WordBreak = TRUE;
|
|
Text [ en-US ] = "Select the type of database to which you want to establish a connection.";
|
|
};
|
|
|
|
FixedText FT_DATATYPE
|
|
{
|
|
Pos = MAP_APPFONT ( 6 , 2*UNRELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + RELATED_CONTROLS) ;
|
|
Size = MAP_APPFONT ( 80 , FIXEDTEXT_HEIGHT ) ;
|
|
Text [ en-US ] = "Database ~type ";
|
|
};
|
|
|
|
ListBox LB_DATATYPE
|
|
{
|
|
HelpId = HID_DSADMIN_DSTYPE;
|
|
Pos = MAP_APPFONT ( 90, 2*UNRELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + RELATED_CONTROLS -2 ) ;
|
|
Size = MAP_APPFONT ( 120, 120 ) ;
|
|
Border = TRUE ;
|
|
TabStop = TRUE ;
|
|
DropDown = TRUE ;
|
|
Sort = FALSE;
|
|
};
|
|
|
|
FixedText FT_DATATYPEAPPENDIX
|
|
{
|
|
Pos = MAP_APPFONT ( 90, 2*UNRELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + RELATED_CONTROLS -2 + 72) ;
|
|
Size = MAP_APPFONT ( 60, 8 );
|
|
Text [ en-US ] = "Database";
|
|
};
|
|
|
|
FixedText FT_DATASOURCETYPE_POST
|
|
{
|
|
Pos = MAP_APPFONT ( 6 , 4*UNRELATED_CONTROLS + 4*FIXEDTEXT_HEIGHT + RELATED_CONTROLS ) ;
|
|
Size = MAP_APPFONT ( WIZARD_PAGE_X - 12 , 5*FIXEDTEXT_HEIGHT ) ;
|
|
WordBreak = TRUE;
|
|
Text [ en-US ] = "On the following pages, you can make detailed settings for the connection.\n\nThe new settings you make will overwrite your existing settings.";
|
|
};
|
|
|
|
FixedText FT_SPECIAL_MESSAGE
|
|
{
|
|
Pos = MAP_APPFONT ( 6, 4*UNRELATED_CONTROLS + 9*FIXEDTEXT_HEIGHT + 2*RELATED_CONTROLS );
|
|
Size = MAP_APPFONT ( WIZARD_PAGE_X - 12, 3*FIXEDTEXT_HEIGHT );
|
|
WordBreak = TRUE;
|
|
HelpId = HID_DSADMIN_SPECIAL_MESSAGE;
|
|
};
|
|
|
|
String STR_MYSQLENTRY
|
|
{
|
|
Text [ en-US ] = "MySQL" ;
|
|
};
|
|
|
|
String STR_PARENTTITLE
|
|
{
|
|
Text [ en-US ] = "Data Source Properties: #" ;
|
|
};
|
|
String STR_COULDNOTLOAD_ODBCLIB
|
|
{
|
|
Text [ en-US ] = "Could not load the program library #lib# or it is corrupted. The ODBC data source selection is not available.";
|
|
};
|
|
String STR_UNSUPPORTED_DATASOURCE_TYPE
|
|
{
|
|
Text [ en-US ] = "This kind of data source is not supported on this platform.\nYou are allowed to change the settings, but you probably will not be able to connect to the database.";
|
|
};
|
|
Text [ en-US ] = "General" ;
|
|
};
|
|
|
|
//.........................................................................
|
|
|
|
TabPage PAGE_DBASE
|
|
{
|
|
SVLook = TRUE ;
|
|
Hide = TRUE;
|
|
Pos = MAP_APPFONT ( 0 , 0 ) ;
|
|
Size = MAP_APPFONT ( PAGE_X , PAGE_Y ) ;
|
|
HelpId = HID_DSADMIN_PAGE_DBASE;
|
|
|
|
AUTO_CHARSET( UNRELATED_CONTROLS)
|
|
|
|
FixedLine FL_SEPARATOR1
|
|
{
|
|
Pos = MAP_APPFONT ( 4 , 2*UNRELATED_CONTROLS + RELATED_CONTROLS + 2*FIXEDTEXT_HEIGHT) ;
|
|
Size = MAP_APPFONT ( PAGE_X - 8 , FIXEDTEXT_HEIGHT ) ;
|
|
Text[ en-US ] = "Optional settings";
|
|
};
|
|
|
|
CheckBox CB_SHOWDELETEDROWS
|
|
{
|
|
Pos = MAP_APPFONT ( 6 , 2*UNRELATED_CONTROLS + 2*RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT) ;
|
|
Size = MAP_APPFONT ( 200 , CHECKBOX_HEIGHT ) ;
|
|
TabStop = TRUE ;
|
|
HelpId = HID_DSADMIN_SHOWDELETED;
|
|
Text [ en-US ] = "Display deleted records as well" ;
|
|
};
|
|
|
|
FixedText FT_SPECIAL_MESSAGE
|
|
{
|
|
Hide = TRUE;
|
|
WordBreak = TRUE;
|
|
Pos = MAP_APPFONT ( 6 , 3*UNRELATED_CONTROLS + 2*RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + CHECKBOX_HEIGHT) ;
|
|
Size = MAP_APPFONT ( PAGE_X - 12 , 2*FIXEDTEXT_HEIGHT ) ;
|
|
Text [ en-US ] = "Note: When deleted, and thus inactive, records are displayed, you will not be able to delete records from the data source." ;
|
|
};
|
|
|
|
PushButton PB_INDICIES
|
|
{
|
|
Pos = MAP_APPFONT ( PAGE_X - BUTTON_WIDTH - UNRELATED_CONTROLS, PAGE_Y - BUTTON_HEIGHT - UNRELATED_CONTROLS) ;
|
|
Size = MAP_APPFONT ( BUTTON_WIDTH , BUTTON_HEIGHT ) ;
|
|
TabStop = TRUE ;
|
|
HelpId = HID_DSADMIN_DBASE_INDICIES;
|
|
Text [ en-US ] = "Indexes...";
|
|
};
|
|
};
|
|
|
|
//.........................................................................
|
|
|
|
TabPage PAGE_ADO
|
|
{
|
|
SVLook = TRUE ;
|
|
Pos = MAP_APPFONT ( 0 , 0 ) ;
|
|
Size = MAP_APPFONT ( PAGE_X , PAGE_Y ) ;
|
|
Hide = TRUE;
|
|
HelpId = HID_DSADMIN_PAGE_ADO;
|
|
AUTO_CHARSET(UNRELATED_CONTROLS)
|
|
};
|
|
|
|
//.........................................................................
|
|
|
|
TabPage PAGE_ODBC
|
|
{
|
|
SVLook = TRUE ;
|
|
Pos = MAP_APPFONT ( 0 , 0 ) ;
|
|
Size = MAP_APPFONT ( PAGE_X , PAGE_Y ) ;
|
|
Hide = TRUE;
|
|
HelpId = HID_DSADMIN_PAGE_ODBC;
|
|
|
|
AUTO_CHARSET( UNRELATED_CONTROLS)
|
|
FixedLine FL_SEPARATOR1
|
|
{
|
|
Pos = MAP_APPFONT ( 4 , 2*UNRELATED_CONTROLS + 2*FIXEDTEXT_HEIGHT + RELATED_CONTROLS ) ;
|
|
Size = MAP_APPFONT ( PAGE_X - 8 , FIXEDTEXT_HEIGHT ) ;
|
|
Text[ en-US ] = "Optional Settings";
|
|
};
|
|
|
|
FixedText FT_OPTIONS
|
|
{
|
|
Pos = MAP_APPFONT ( 6 , 2*UNRELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + 2*RELATED_CONTROLS) ;
|
|
Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
|
|
Text [ en-US ] = "ODBC ~options" ;
|
|
};
|
|
Edit ET_OPTIONS
|
|
{
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( EDIT_X , 2*UNRELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + 2*RELATED_CONTROLS -1 ) ;
|
|
Size = MAP_APPFONT ( 130 , EDIT_HEIGHT ) ;
|
|
TabStop = TRUE ;
|
|
HelpId = HID_DSADMIN_ODBC_OPTIONS;
|
|
};
|
|
|
|
AUTO_USECATALOG( 3*UNRELATED_CONTROLS + 4*FIXEDTEXT_HEIGHT + 2*RELATED_CONTROLS )
|
|
};
|
|
|
|
TabPage PAGE_ADABAS
|
|
{
|
|
SVLook = TRUE ;
|
|
Pos = MAP_APPFONT ( 0 , 0 ) ;
|
|
Size = MAP_APPFONT ( PAGE_X , PAGE_Y ) ;
|
|
Hide = TRUE;
|
|
HelpId = HID_DSADMIN_PAGE_ADABAS;
|
|
|
|
FixedLine FL_SEPARATOR1
|
|
{
|
|
Pos = MAP_APPFONT ( 4 , UNRELATED_CONTROLS ) ;
|
|
Size = MAP_APPFONT ( PAGE_X - 8 , FIXEDTEXT_HEIGHT ) ;
|
|
Text[ en-US ] = "Connection Settings";
|
|
};
|
|
|
|
FixedText FT_HOSTNAME
|
|
{
|
|
Pos = MAP_APPFONT ( 6 , UNRELATED_CONTROLS + RELATED_CONTROLS + FIXEDTEXT_HEIGHT) ;
|
|
Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
|
|
Text[ en-US ] = "~Host name";
|
|
};
|
|
Edit ET_HOSTNAME
|
|
{
|
|
TabStop = TRUE ;
|
|
Border = TRUE ;
|
|
|
|
Pos = MAP_APPFONT ( EDIT_X , UNRELATED_CONTROLS + RELATED_CONTROLS + FIXEDTEXT_HEIGHT-1 ) ;
|
|
Size = MAP_APPFONT ( 105 , EDIT_HEIGHT ) ;
|
|
};
|
|
|
|
FixedText FT_CACHE_SIZE
|
|
{
|
|
Pos = MAP_APPFONT ( 6 , 2*UNRELATED_CONTROLS + RELATED_CONTROLS + 2*FIXEDTEXT_HEIGHT ) ;
|
|
Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
|
|
Text[ en-US ] = "Data ~buffer size (MB)";
|
|
};
|
|
NumericField NF_CACHE_SIZE
|
|
{
|
|
Pos = MAP_APPFONT ( EDIT_X , 2*UNRELATED_CONTROLS + RELATED_CONTROLS + 2*FIXEDTEXT_HEIGHT -1 ) ;
|
|
Size = MAP_APPFONT ( 40 , EDIT_HEIGHT ) ;
|
|
Border = TRUE ;
|
|
TabStop = TRUE ;
|
|
Spin = TRUE ;
|
|
SpinSize = 1;
|
|
StrictFormat = TRUE;
|
|
};
|
|
|
|
FixedText FT_DATA_INCREMENT
|
|
{
|
|
Pos = MAP_APPFONT ( 6 , 3*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT ) ;
|
|
Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
|
|
Text[ en-US ] = "~Data increment (MB)";
|
|
};
|
|
NumericField NF_DATA_INCREMENT
|
|
{
|
|
Pos = MAP_APPFONT ( EDIT_X , 3*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT -1 ) ;
|
|
Size = MAP_APPFONT ( 40 , EDIT_HEIGHT ) ;
|
|
Border = TRUE ;
|
|
TabStop = TRUE ;
|
|
Spin = TRUE ;
|
|
SpinSize = 1;
|
|
StrictFormat = TRUE;
|
|
};
|
|
FixedLine FL_SEPARATOR2
|
|
{
|
|
Pos = MAP_APPFONT ( 6 , 4*UNRELATED_CONTROLS + RELATED_CONTROLS + 4*FIXEDTEXT_HEIGHT ) ;
|
|
Size = MAP_APPFONT ( 248 , FIXEDTEXT_HEIGHT ) ;
|
|
Text [ en-US ] = "Administration" ;
|
|
};
|
|
FixedText FT_CTRLUSERNAME
|
|
{
|
|
Pos = MAP_APPFONT ( 6 , 4*UNRELATED_CONTROLS + 2*RELATED_CONTROLS + 5*FIXEDTEXT_HEIGHT ) ;
|
|
Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
|
|
Text [ en-US ] = "Control ~user name" ;
|
|
};
|
|
Edit ET_CTRLUSERNAME
|
|
{
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( EDIT_X , 4*UNRELATED_CONTROLS + 2*RELATED_CONTROLS + 5*FIXEDTEXT_HEIGHT-1 ) ;
|
|
Size = MAP_APPFONT ( 105 , EDIT_HEIGHT ) ;
|
|
TabStop = TRUE ;
|
|
};
|
|
FixedText FT_CTRLPASSWORD
|
|
{
|
|
Pos = MAP_APPFONT ( 6 , 5*UNRELATED_CONTROLS + 2*RELATED_CONTROLS + 6*FIXEDTEXT_HEIGHT ) ;
|
|
Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
|
|
Text [ en-US ] = "Control ~password" ;
|
|
};
|
|
Edit ET_CTRLPASSWORD
|
|
{
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( EDIT_X , 5*UNRELATED_CONTROLS + 2*RELATED_CONTROLS + 6*FIXEDTEXT_HEIGHT-1 ) ;
|
|
Size = MAP_APPFONT ( 105 , EDIT_HEIGHT) ;
|
|
TabStop = TRUE ;
|
|
PassWord = TRUE ;
|
|
};
|
|
|
|
CheckBox CB_SHUTDB
|
|
{
|
|
Pos = MAP_APPFONT ( 6 , 6*UNRELATED_CONTROLS + 2*RELATED_CONTROLS + 7*FIXEDTEXT_HEIGHT ) ;
|
|
Size = MAP_APPFONT ( 248 , CHECKBOX_HEIGHT ) ;
|
|
Text[ en-US ] = "~Shut down service when closing %PRODUCTNAME";
|
|
};
|
|
|
|
PushButton PB_STAT
|
|
{
|
|
Pos = MAP_APPFONT ( PAGE_X - BUTTON_WIDTH - UNRELATED_CONTROLS, PAGE_Y - BUTTON_HEIGHT - UNRELATED_CONTROLS ) ;
|
|
Size = MAP_APPFONT ( BUTTON_WIDTH , BUTTON_HEIGHT ) ;
|
|
Text[ en-US ] = "E~xtended...";
|
|
};
|
|
|
|
AUTO_CHARSET( 7*UNRELATED_CONTROLS + 2*RELATED_CONTROLS + 7*FIXEDTEXT_HEIGHT + CHECKBOX_HEIGHT)
|
|
};
|
|
|
|
//.........................................................................
|
|
#define MYSQL_YDIST 53
|
|
#define MYSQL_FL_Y 8
|
|
#define MYSQL_DRIVERCLASS_Y 8
|
|
|
|
TabPage PAGE_MYSQL_ODBC
|
|
{
|
|
SVLook = TRUE ;
|
|
Pos = MAP_APPFONT ( 0 , 0 ) ;
|
|
Size = MAP_APPFONT ( PAGE_X , PAGE_Y ) ;
|
|
Hide = TRUE;
|
|
|
|
AUTO_CHARSET( UNRELATED_CONTROLS )
|
|
};
|
|
|
|
TabPage PAGE_MYSQL_JDBC
|
|
{
|
|
SVLook = TRUE ;
|
|
Pos = MAP_APPFONT ( 0 , 0 ) ;
|
|
Size = MAP_APPFONT ( PAGE_X , PAGE_Y ) ;
|
|
Hide = TRUE;
|
|
|
|
AUTO_SPECIAL_JDBC( UNRELATED_CONTROLS )
|
|
|
|
FixedText FT_JDBCDRIVERCLASS
|
|
{
|
|
Pos = MAP_APPFONT ( 6 , 3*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT) ;
|
|
Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
|
|
Text[ en-US ] = "MySQL JDBC d~river class";
|
|
};
|
|
Edit ET_JDBCDRIVERCLASS
|
|
{
|
|
Pos = MAP_APPFONT ( EDIT_X , 3*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT -1 ) ;
|
|
Size = MAP_APPFONT ( 97 , EDIT_HEIGHT ) ;
|
|
TabStop = TRUE ;
|
|
Border = TRUE ;
|
|
};
|
|
PushButton PB_TESTDRIVERCLASS
|
|
{
|
|
TabStop = TRUE ;
|
|
Pos = MAP_APPFONT ( PAGE_X - BUTTON_WIDTH - UNRELATED_CONTROLS , 3*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT -2) ;
|
|
Size = MAP_APPFONT ( BUTTON_WIDTH , BUTTON_HEIGHT ) ;
|
|
Text [ en-US ] = "Test class" ;
|
|
};
|
|
|
|
AUTO_CHARSET( 4*UNRELATED_CONTROLS + RELATED_CONTROLS + 4*FIXEDTEXT_HEIGHT )
|
|
};
|
|
|
|
TabPage PAGE_ORACLE_JDBC
|
|
{
|
|
SVLook = TRUE ;
|
|
Pos = MAP_APPFONT ( 0 , 0 ) ;
|
|
Size = MAP_APPFONT ( PAGE_X , PAGE_Y ) ;
|
|
Hide = TRUE;
|
|
|
|
AUTO_SPECIAL_JDBC( UNRELATED_CONTROLS )
|
|
|
|
FixedText FT_JDBCDRIVERCLASS
|
|
{
|
|
Pos = MAP_APPFONT ( 6 , 3*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT) ;
|
|
Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
|
|
Text[ en-US ] = "Oracle JDBC d~river class";
|
|
};
|
|
|
|
Edit ET_JDBCDRIVERCLASS
|
|
{
|
|
Pos = MAP_APPFONT ( EDIT_X , 3*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT -1 ) ;
|
|
Size = MAP_APPFONT ( 97 , EDIT_HEIGHT ) ;
|
|
TabStop = TRUE ;
|
|
Border = TRUE ;
|
|
};
|
|
|
|
PushButton PB_TESTDRIVERCLASS
|
|
{
|
|
TabStop = TRUE ;
|
|
Pos = MAP_APPFONT ( PAGE_X - BUTTON_WIDTH - UNRELATED_CONTROLS , 3*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT - 2) ;
|
|
Size = MAP_APPFONT ( BUTTON_WIDTH , BUTTON_HEIGHT ) ;
|
|
Text [ en-US ] = "Test class" ;
|
|
};
|
|
|
|
AUTO_CHARSET( 4*UNRELATED_CONTROLS + RELATED_CONTROLS + 4*FIXEDTEXT_HEIGHT )
|
|
};
|
|
|
|
//.........................................................................
|
|
|
|
TabPage PAGE_LDAP
|
|
{
|
|
SVLook = TRUE ;
|
|
Pos = MAP_APPFONT ( 0 , 0 ) ;
|
|
Size = MAP_APPFONT ( PAGE_X , PAGE_Y ) ;
|
|
Hide = TRUE;
|
|
HelpId = HID_DSADMIN_PAGE_LDAP;
|
|
|
|
FixedLine FL_SEPARATOR1
|
|
{
|
|
Pos = MAP_APPFONT ( 4 , UNRELATED_CONTROLS ) ;
|
|
Size = MAP_APPFONT ( PAGE_X - 8 , FIXEDTEXT_HEIGHT ) ;
|
|
Text[ en-US ] = "Connection Settings";
|
|
};
|
|
|
|
FixedText FT_BASEDN
|
|
{
|
|
Pos = MAP_APPFONT ( 6 , UNRELATED_CONTROLS + RELATED_CONTROLS + FIXEDTEXT_HEIGHT) ;
|
|
Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
|
|
Text[ en-US ] = "~Base DN";
|
|
};
|
|
Edit ET_BASEDN
|
|
{
|
|
TabStop = TRUE ;
|
|
Border = TRUE ;
|
|
HelpId = HID_DSADMIN_LDAP_BASEDN;
|
|
|
|
Pos = MAP_APPFONT ( EDIT_X , UNRELATED_CONTROLS + RELATED_CONTROLS + FIXEDTEXT_HEIGHT -1 ) ;
|
|
Size = MAP_APPFONT ( 105 , EDIT_HEIGHT ) ;
|
|
};
|
|
CheckBox CB_USESSL
|
|
{
|
|
Pos = MAP_APPFONT ( 6 , 2*UNRELATED_CONTROLS + RELATED_CONTROLS + 2*FIXEDTEXT_HEIGHT) ;
|
|
Size = MAP_APPFONT ( PAGE_X - 12 , CHECKBOX_HEIGHT ) ;
|
|
Text [ en-US ] = "Use secure connection(SSL)";
|
|
HelpId = HID_DSADMIN_USESSL_LDAP;
|
|
};
|
|
|
|
FixedText FT_PORTNUMBER
|
|
{
|
|
Pos = MAP_APPFONT ( 6 , 3*UNRELATED_CONTROLS + RELATED_CONTROLS + 2*FIXEDTEXT_HEIGHT + CHECKBOX_HEIGHT) ;
|
|
Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
|
|
Text[ en-US ] = "~Port number";
|
|
};
|
|
NumericField NF_PORTNUMBER
|
|
{
|
|
TabStop = TRUE ;
|
|
Border = TRUE ;
|
|
HelpId = HID_DSADMIN_LDAP_PORTNUMBER;
|
|
|
|
Pos = MAP_APPFONT ( EDIT_X , 3*UNRELATED_CONTROLS + RELATED_CONTROLS + 2*FIXEDTEXT_HEIGHT-1 + CHECKBOX_HEIGHT) ;
|
|
Size = MAP_APPFONT ( 105 , EDIT_HEIGHT ) ;
|
|
};
|
|
FixedText FT_LDAPROWCOUNT
|
|
{
|
|
Pos = MAP_APPFONT ( 6 , 4*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + CHECKBOX_HEIGHT ) ;
|
|
Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
|
|
Text[ en-US ] = "Maximum number of ~records";
|
|
};
|
|
NumericField NF_LDAPROWCOUNT
|
|
{
|
|
TabStop = TRUE ;
|
|
Border = TRUE ;
|
|
HelpId = HID_DSADMIN_LDAP_ROWCOUNT;
|
|
|
|
Pos = MAP_APPFONT ( EDIT_X , 4*UNRELATED_CONTROLS + RELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT -1 + CHECKBOX_HEIGHT) ;
|
|
Size = MAP_APPFONT ( 105 , EDIT_HEIGHT ) ;
|
|
};
|
|
};
|
|
|
|
|
|
//.........................................................................
|
|
|
|
TabPage PAGE_TEXT
|
|
{
|
|
SVLook = TRUE ;
|
|
Hide = TRUE;
|
|
Pos = MAP_APPFONT ( 0 , 0 ) ;
|
|
Size = MAP_APPFONT ( PAGE_X , PAGE_Y ) ;
|
|
HelpId = HID_DSADMIN_PAGE_TEXT;
|
|
|
|
AUTO_SEPARATORCONTROLGROUP(UNRELATED_CONTROLS, PAGE_X)
|
|
|
|
FixedLine FL_SEPARATOR1
|
|
{
|
|
Pos = MAP_APPFONT ( 4 , 124) ;
|
|
Size = MAP_APPFONT ( PAGE_X - 8 , FIXEDTEXT_HEIGHT ) ;
|
|
Text [ en-US ] = "File format";
|
|
};
|
|
|
|
AUTO_CHARSET(143)
|
|
|
|
};
|
|
//.........................................................................
|
|
TabPage PAGE_USERDRIVER
|
|
{
|
|
SVLook = TRUE ;
|
|
Pos = MAP_APPFONT ( 0 , 0 ) ;
|
|
Size = MAP_APPFONT ( PAGE_X , PAGE_Y ) ;
|
|
Hide = TRUE;
|
|
HelpId = HID_DSADMIN_PAGE_USERDRIVER;
|
|
|
|
FixedText FT_HOSTNAME
|
|
{
|
|
Pos = MAP_APPFONT ( 6 , UNRELATED_CONTROLS ) ;
|
|
Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
|
|
Text[ en-US ] = "~Hostname";
|
|
};
|
|
Edit ET_HOSTNAME
|
|
{
|
|
TabStop = TRUE ;
|
|
Border = TRUE ;
|
|
Pos = MAP_APPFONT ( EDIT_X , UNRELATED_CONTROLS -1 ) ;
|
|
Size = MAP_APPFONT ( 105 , EDIT_HEIGHT ) ;
|
|
};
|
|
|
|
FixedText FT_PORTNUMBER
|
|
{
|
|
Pos = MAP_APPFONT ( 6 , 2*UNRELATED_CONTROLS + FIXEDTEXT_HEIGHT) ;
|
|
Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
|
|
Text[ en-US ] = "~Port number";
|
|
};
|
|
|
|
NumericField NF_PORTNUMBER
|
|
{
|
|
TabStop = TRUE ;
|
|
Border = TRUE ;
|
|
|
|
Pos = MAP_APPFONT ( EDIT_X , 2*UNRELATED_CONTROLS + FIXEDTEXT_HEIGHT -1 ) ;
|
|
Size = MAP_APPFONT ( 105 , EDIT_HEIGHT ) ;
|
|
};
|
|
|
|
FixedText FT_OPTIONS
|
|
{
|
|
Pos = MAP_APPFONT ( 6 , 3*UNRELATED_CONTROLS + 2*FIXEDTEXT_HEIGHT ) ;
|
|
Size = MAP_APPFONT ( EDIT_X - 7 , FIXEDTEXT_HEIGHT ) ;
|
|
Text [ en-US ] = "~Driver settings" ;
|
|
};
|
|
Edit ET_OPTIONS
|
|
{
|
|
Border = TRUE ;
|
|
TabStop = TRUE ;
|
|
};
|
|
AUTO_CHARSET( 4*UNRELATED_CONTROLS + 3*FIXEDTEXT_HEIGHT + RELATED_CONTROLS)
|
|
};
|
|
|