Kaydet (Commit) ccd78741 authored tarafından Frank Schönheit's avatar Frank Schönheit

initial checkin

üst 13d20309
#*************************************************************************
#
# $RCSfile: makefile.mk,v $
#
# $Revision: 1.1 $
#
# last change: $Author: fs $ $Date: 2000-10-05 10:00:35 $
#
# The Contents of this file are made available subject to the terms of
# either of the following licenses
#
# - GNU Lesser General Public License Version 2.1
# - Sun Industry Standards Source License Version 1.1
#
# Sun Microsystems Inc., October, 2000
#
# GNU Lesser General Public License Version 2.1
# =============================================
# Copyright 2000 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
#
#
# Sun Industry Standards Source License Version 1.1
# =================================================
# The contents of this file are subject to the Sun Industry Standards
# Source License Version 1.1 (the "License"); You may not use this file
# except in compliance with the License. You may obtain a copy of the
# License at http://www.openoffice.org/license.html.
#
# Software provided under this License is provided on an "AS IS" basis,
# WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
# WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
# MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
# See the License for the specific provisions governing your rights and
# obligations concerning the Software.
#
# The Initial Developer of the Original Code is: Sun Microsystems, Inc..
#
# Copyright: 2000 by Sun Microsystems, Inc.
#
# All Rights Reserved.
#
# Contributor(s): _______________________________________
#
#
#
#*************************************************************************
PRJ=..$/..$/..
PRJINC=$(PRJ)$/source
PRJNAME=dbaccess
TARGET=uicontrols
ENABLE_EXCEPTIONS=TRUE
# --- Settings ----------------------------------
.INCLUDE : settings.mk
# --- Files -------------------------------------
# ... resource files ............................
SRCFILES = \
tabletree.src \
marktree.src
# ... object files ............................
SLOFILES= \
$(SLO)$/tabletree.obj \
$(SLO)$/marktree.obj \
$(SLO)$/curledit.obj
# --- Targets ----------------------------------
.INCLUDE : target.mk
/*************************************************************************
*
* $RCSfile: marktree.cxx,v $
*
* $Revision: 1.1 $
*
* last change: $Author: fs $ $Date: 2000-10-05 10:00:43 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
*
* - GNU Lesser General Public License Version 2.1
* - Sun Industry Standards Source License Version 1.1
*
* Sun Microsystems Inc., October, 2000
*
* GNU Lesser General Public License Version 2.1
* =============================================
* Copyright 2000 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
*
*
* Sun Industry Standards Source License Version 1.1
* =================================================
* The contents of this file are subject to the Sun Industry Standards
* Source License Version 1.1 (the "License"); You may not use this file
* except in compliance with the License. You may obtain a copy of the
* License at http://www.openoffice.org/license.html.
*
* Software provided under this License is provided on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
* WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
* MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
* See the License for the specific provisions governing your rights and
* obligations concerning the Software.
*
* The Initial Developer of the Original Code is: Sun Microsystems, Inc..
*
* Copyright: 2000 by Sun Microsystems, Inc.
*
* All Rights Reserved.
*
* Contributor(s): _______________________________________
*
*
************************************************************************/
#ifndef _DBAUI_MARKTREE_HXX_
#include "marktree.hxx"
#endif
#ifndef _DBAUI_MODULE_DBU_HXX_
#include "moduledbu.hxx"
#endif
#ifndef _DBU_RESOURCE_HRC_
#include "dbu_resource.hrc"
#endif
//.........................................................................
namespace dbaui
{
//.........................................................................
//========================================================================
//= OMarkableTreeListBox
//========================================================================
//------------------------------------------------------------------------
OMarkableTreeListBox::OMarkableTreeListBox( Window* pParent, WinBits nWinStyle ) : SvTreeListBox(pParent,nWinStyle)
{
SetNodeBitmaps( Bitmap(ModuleRes(BMP_PLUSBUTTON)),Bitmap(ModuleRes(BMP_MINUSBUTTON)));
InitButtonData();
}
//------------------------------------------------------------------------
OMarkableTreeListBox::OMarkableTreeListBox( Window* pParent, const ResId& rResId ) : SvTreeListBox(pParent,rResId)
{
SetNodeBitmaps( Bitmap(ModuleRes(BMP_PLUSBUTTON)),Bitmap(ModuleRes(BMP_MINUSBUTTON)));
InitButtonData();
}
//------------------------------------------------------------------------
OMarkableTreeListBox::~OMarkableTreeListBox()
{
delete m_pCheckButton;
}
//------------------------------------------------------------------------
void OMarkableTreeListBox::InitButtonData()
{
m_pCheckButton = new SvLBoxButtonData();
m_pCheckButton->aBmps[SV_BMP_UNCHECKED] = Bitmap( ResId( BMP_CHECKBUTTON_UNCHECKED ) );
m_pCheckButton->aBmps[SV_BMP_CHECKED] = Bitmap( ResId( BMP_CHECKBUTTON_CHECKED ) );
m_pCheckButton->aBmps[SV_BMP_HICHECKED] = Bitmap( ResId( BMP_CHECKBUTTON_HICHECKED ) );
m_pCheckButton->aBmps[SV_BMP_HIUNCHECKED] = Bitmap( ResId( BMP_CHECKBUTTON_UNCHECKED ) );
m_pCheckButton->aBmps[SV_BMP_TRISTATE] = Bitmap( ResId( BMP_CHECKBUTTON_TRISTATE ) );
m_pCheckButton->aBmps[SV_BMP_HITRISTATE] = Bitmap( ResId( BMP_CHECKBUTTON_HITRISTATE ) );
EnableCheckButton( m_pCheckButton );
}
//------------------------------------------------------------------------
void OMarkableTreeListBox::KeyInput( const KeyEvent& rKEvt )
{
// nur wenn space
if (rKEvt.GetKeyCode().GetCode() == KEY_SPACE && !rKEvt.GetKeyCode().IsShift() && !rKEvt.GetKeyCode().IsMod1())
{
SvLBoxEntry* pHdlEntry = GetHdlEntry();
if(pHdlEntry)
{
SvButtonState eState = GetCheckButtonState( pHdlEntry);
if(eState == SV_BUTTON_CHECKED)
SetCheckButtonState( pHdlEntry,SV_BUTTON_UNCHECKED);
else
SetCheckButtonState( pHdlEntry,SV_BUTTON_CHECKED);
CheckButtonHdl();
}
else
SvTreeListBox::KeyInput(rKEvt);
}
else
SvTreeListBox::KeyInput(rKEvt);
}
//------------------------------------------------------------------------
void OMarkableTreeListBox::CheckButtons()
{
// Plausibilit"atspr"ufung
SvButtonState eState;
SvLBoxEntry* pEntry = GetModel()->First();
while(pEntry)
{
if(!GetModel()->HasChilds(pEntry))
{
sal_uInt16 nCheck=0;
sal_uInt16 nCount=0;
SvLBoxEntry* pChildEntry = pEntry;
while(pChildEntry)
{
if(GetCheckButtonState(pChildEntry) == SV_BUTTON_CHECKED)
nCheck++;
nCount++;
pChildEntry = GetModel()->NextSibling(pChildEntry);
}
if(nCheck && nCount != nCheck)
eState = SV_BUTTON_TRISTATE;
else if(nCheck)
eState = SV_BUTTON_CHECKED;
else
eState = SV_BUTTON_UNCHECKED;
SvLBoxEntry* pSchema = GetModel()->GetParent(pEntry);
if(pSchema)
{
pEntry = GetModel()->NextSibling(pSchema);
SetCheckButtonState( pSchema,eState);
}
else
pEntry = NULL; // wenn kein Schema dann sind bereits alle pEntry's durchlaufen worden
}
else
pEntry = GetModel()->Next(pEntry);
}
SvLBoxEntry* pCatalog = GetModel()->First();
SvLBoxEntry* pSchema = NULL;
if(GetModel()->HasChilds(pCatalog) && GetModel()->HasChilds(pSchema = GetModel()->Next(pCatalog)))
{
sal_uInt16 nCheck =0;
sal_uInt16 nTri =0;
sal_uInt16 nCount =0;
while(pSchema)
{
if((eState = GetCheckButtonState(pSchema)) == SV_BUTTON_TRISTATE)
break;
if(eState == SV_BUTTON_CHECKED)
nCheck++;
nCount++;
pSchema = GetModel()->NextSibling(pSchema);
}
if(eState != SV_BUTTON_TRISTATE)
{
if(nCheck && nCount == nCheck)
eState = SV_BUTTON_CHECKED;
else if(nCheck)
eState = SV_BUTTON_TRISTATE;
else
eState = SV_BUTTON_UNCHECKED;
}
SetCheckButtonState( pCatalog,eState);
}
}
//------------------------------------------------------------------------
void OMarkableTreeListBox::CheckButtonHdl()
{
SvLBoxEntry* pHdlEntry = GetHdlEntry();
SvButtonState eState = GetCheckButtonState( pHdlEntry);
if(GetModel()->HasChilds(pHdlEntry)) // Falls Kinder, dann diese auch checken
{
SvLBoxEntry* pChildEntry = GetModel()->Next(pHdlEntry);
SvLBoxEntry* pSiblingEntry = GetModel()->NextSibling(pHdlEntry);
while(pChildEntry && pChildEntry != pSiblingEntry)
{
SetCheckButtonState( pChildEntry,eState);
pChildEntry = GetModel()->Next(pChildEntry);
}
}
SvLBoxEntry* pEntry = IsSelected(pHdlEntry) ? FirstSelected() : NULL;
while(pEntry)
{
SetCheckButtonState( pEntry,eState);
if(GetModel()->HasChilds(pEntry)) // Falls Kinder, dann diese auch checken
{
SvLBoxEntry* pChildEntry = GetModel()->Next(pEntry);
SvLBoxEntry* pSiblingEntry = GetModel()->NextSibling(pEntry);
while(pChildEntry && pChildEntry != pSiblingEntry)
{
SetCheckButtonState( pChildEntry,eState);
pChildEntry = GetModel()->Next(pChildEntry);
}
}
pEntry = NextSelected(pEntry);
}
CheckButtons();
}
//------------------------------------------------------------------------
SvLBoxEntry* OMarkableTreeListBox::GetEntryPosByName(const String& aName,SvLBoxEntry* pStart) const
{
SvLBoxEntry* pEntry = pStart ? GetModel()->FirstChild(pStart) : GetModel()->First();
while(pEntry && !GetEntryText(pEntry).Equals(aName))
pEntry = GetModel()->Next(pEntry);
return pEntry;
}
//.........................................................................
} // namespace dbaui
//.........................................................................
/*************************************************************************
* history:
* $Log: not supported by cvs2svn $
*
* Revision 1.0 28.09.00 13:22:30 fs
************************************************************************/
This diff is collapsed.
/*************************************************************************
*
* $RCSfile: tabletree.hrc,v $
*
* $Revision: 1.1 $
*
* last change: $Author: fs $ $Date: 2000-10-05 10:01:06 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
*
* - GNU Lesser General Public License Version 2.1
* - Sun Industry Standards Source License Version 1.1
*
* Sun Microsystems Inc., October, 2000
*
* GNU Lesser General Public License Version 2.1
* =============================================
* Copyright 2000 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
*
*
* Sun Industry Standards Source License Version 1.1
* =================================================
* The contents of this file are subject to the Sun Industry Standards
* Source License Version 1.1 (the "License"); You may not use this file
* except in compliance with the License. You may obtain a copy of the
* License at http://www.openoffice.org/license.html.
*
* Software provided under this License is provided on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
* WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
* MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
* See the License for the specific provisions governing your rights and
* obligations concerning the Software.
*
* The Initial Developer of the Original Code is: Sun Microsystems, Inc..
*
* Copyright: 2000 by Sun Microsystems, Inc.
*
* All Rights Reserved.
*
* Contributor(s): _______________________________________
*
*
************************************************************************/
#ifndef _DBAUI_TABLETREE_HRC_
#define _DBAUI_TABLETREE_HRC_
//------------------------------------------------------------------------
//- menu ids
#define MID_SORT_ASCENDING 1
#define MID_SORT_DECENDING 2
#endif // _DBAUI_TABLETREE_HRC_
/*************************************************************************
* history:
* $Log: not supported by cvs2svn $
*
* Revision 1.0 28.09.00 13:43:23 fs
************************************************************************/
/*************************************************************************
*
* $RCSfile: tabletree.src,v $
*
* $Revision: 1.1 $
*
* last change: $Author: fs $ $Date: 2000-10-05 10:01:18 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
*
* - GNU Lesser General Public License Version 2.1
* - Sun Industry Standards Source License Version 1.1
*
* Sun Microsystems Inc., October, 2000
*
* GNU Lesser General Public License Version 2.1
* =============================================
* Copyright 2000 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
*
*
* Sun Industry Standards Source License Version 1.1
* =================================================
* The contents of this file are subject to the Sun Industry Standards
* Source License Version 1.1 (the "License"); You may not use this file
* except in compliance with the License. You may obtain a copy of the
* License at http://www.openoffice.org/license.html.
*
* Software provided under this License is provided on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
* WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
* MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
* See the License for the specific provisions governing your rights and
* obligations concerning the Software.
*
* The Initial Developer of the Original Code is: Sun Microsystems, Inc..
*
* Copyright: 2000 by Sun Microsystems, Inc.
*
* All Rights Reserved.
*
* Contributor(s): _______________________________________
*
*
************************************************************************/
#ifndef _DBU_RESOURCE_HRC_
#include "dbu_resource.hrc"
#endif
#ifndef _DBAUI_TABLETREE_HRC_
#include "tabletree.hrc"
#endif
Image TABLE_TREE_ICON
{
ImageBitmap = Bitmap { File = "sx03188.bmp"; };
MaskColor = Color { Red = 0xFFFF; Green = 0x0; Blue = 0xFFFF; };
};
Image VIEW_TREE_ICON
{
ImageBitmap = Bitmap { File = "sx16670.bmp"; };
MaskColor = Color { Red = 0xFFFF; Green = 0x0; Blue = 0xFFFF; };
};
Image TABLEFOLDER_TREE_ICON
{
ImageBitmap = Bitmap { File = "sx03187.bmp"; };
MaskColor = Color { Red = 0xFFFF; Green = 0x0; Blue = 0xFFFF; };
};
Menu MENU_TABLETREE_POPUP
{
ItemList =
{
MenuItem
{
Identifier = MID_SORT_ASCENDING;
Text = "Aufsteigend Sortieren" ;
Text [ ENGLISH ] = "Functions" ;
Text[ english_us ] = "Sort Ascending";
Text[ portuguese ] = "Ordem ascendente";
Text[ russian ] = " ";
Text[ greek ] = " ";
Text[ dutch ] = "Oplopend sorteren";
Text[ french ] = "Tri croissant";
Text[ spanish ] = "Orden ascendente";
Text[ italian ] = "Disponi in ordine crescente";
Text[ danish ] = "Sorter stigende";
Text[ swedish ] = "Sortera stigande";
Text[ polish ] = "Sortuj rosnco";
Text[ portuguese_brazilian ] = "Functions";
Text[ japanese ] = "ɕבւ";
Text[ korean ] = " ";
Text[ chinese_simplified ] = "";
Text[ chinese_traditional ] = "VWƧ";
Text[ arabic ] = " ";
Text[ turkish ] = "Artan sralama";
Text[ language_user1 ] = " ";
};
MenuItem
{
Identifier = MID_SORT_DECENDING;
Text = "Absteigend Sortieren" ;
Text [ ENGLISH ] = "Functions" ;
Text[ english_us ] = "Sort Descending";
Text[ portuguese ] = "Ordem decrescente";
Text[ russian ] = " ";
Text[ greek ] = " ";
Text[ dutch ] = "Aflopend sorteren";
Text[ french ] = "Tri dcroissant";
Text[ spanish ] = "Orden descendente";
Text[ italian ] = "Disponi in ordine descrescente";
Text[ danish ] = "Sorter faldende";
Text[ swedish ] = "Sortera fallande";
Text[ polish ] = "Sortuj malejco";
Text[ portuguese_brazilian ] = "Functions";
Text[ japanese ] = "~ɕבւ";
Text[ korean ] = " ";
Text[ chinese_simplified ] = "";
Text[ chinese_traditional ] = "VUƧ";
Text[ arabic ] = " ";
Text[ turkish ] = "Azalan sralama";
Text[ language_user1 ] = " ";
};
};
};
String STR_COULDNOTCREATE_DRIVERMANAGER
{
Text = "Es konnte keine Verbindung zum SDBC-Treiber-Manager (#servicename#) hergestellt werden.";
Text [ english ] = "The connection to the SDBC driver manager (#servicename#) could not be established.";
Text [ english_us ] = "The connection to the SDBC driver manager (#servicename#) could not be established.";
};
String STR_NOREGISTEREDDRIVER
{
Text = "Es ist kein Treiber fr die URL #connurl# registriert!";
Text [ english ] = "There is no registered driver for the URL #connurl#";
Text [ english_us ] = "There is no registered driver for the URL #connurl#";
};
String STR_INVALIDREGISTEREDDRIVER
{
Text = "Der registrierte Treiber fr die URL #connurl# unterstuetzt ein notwendiges Interface (com.sun.star.sdbc.XDataDefinitionSupplier) nicht.";
Text [ english ] = "The driver registered for the URL #connurl# does not support a required interface (com.sun.star.sdbc.XDataDefinitionSupplier).";
Text [ english_us ] = "The driver registered for the URL #connurl# does not support a required interface (com.sun.star.sdbc.XDataDefinitionSupplier).";
};
String STR_COULDNOTCONNECT_PLEASECHECK
{
Text = "Es konnte keine Verbindung fr die URL #connurl# aufgebaut werden. Bitte ueberpruefen Sie die aktuellen Einstellungen.";
Text [ english ] = "A connection could not be established for URL #connurl#. Please check the current settings.";
Text [ english_us ] = "A connection could not be established for URL #connurl#. Please check the current settings.";
};
String STR_NOTABLEINFO
{
Text = "Die Verbindung wurde erfolgreich hergestellt, aber es konnten keine Informationen ber Tabellen in der Datenbank ermittelt werden.";
Text [ english ] = "A connection was established sucessfully, but no informations about tables and/or views could be gathered.";
Text [ english_us ] = "A connection was established sucessfully, but no informations about tables and/or views could be gathered.";
};
/*************************************************************************
* history:
* $Log: not supported by cvs2svn $
*
* Revision 1.0 28.09.00 13:36:13 fs
************************************************************************/
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
/*************************************************************************
*
* $RCSfile: dbadmin.hrc,v $
*
* $Revision: 1.1 $
*
* last change: $Author: fs $ $Date: 2000-10-05 10:04:46 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
*
* - GNU Lesser General Public License Version 2.1
* - Sun Industry Standards Source License Version 1.1
*
* Sun Microsystems Inc., October, 2000
*
* GNU Lesser General Public License Version 2.1
* =============================================
* Copyright 2000 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
*
*
* Sun Industry Standards Source License Version 1.1
* =================================================
* The contents of this file are subject to the Sun Industry Standards
* Source License Version 1.1 (the "License"); You may not use this file
* except in compliance with the License. You may obtain a copy of the
* License at http://www.openoffice.org/license.html.
*
* Software provided under this License is provided on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
* WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
* MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
* See the License for the specific provisions governing your rights and
* obligations concerning the Software.
*
* The Initial Developer of the Original Code is: Sun Microsystems, Inc..
*
* Copyright: 2000 by Sun Microsystems, Inc.
*
* All Rights Reserved.
*
* Contributor(s): _______________________________________
*
*
************************************************************************/
#ifndef _DBAUI_DBADMIN_HRC_
#define _DBAUI_DBADMIN_HRC_
//========================================================================
// control ids
#define FT_DATATYPE 1
#define FT_CONNECTURL 2
#define FT_SELECTOR_TITLE 3
#define FT_DATASOURCENAME 4
#define FT_USERNAME 5
#define FT_PASSWORD 6
#define FT_OPTIONS 7
#define FT_CHARSET 8
#define FT_JDBCDRIVERCLASS 9
#define FT_FIELDSEPARATOR 10
#define FT_TEXTSEPARATOR 11
#define FT_DECIMALSEPARATOR 12
#define FT_THOUSANDSSEPARATOR 13
#define FT_EXTENSION 14
#define FT_TABLESUBSCRIPTION 15
#define LB_DATATYPE 1
#define LB_DATASOURCES 2
#define LB_CHARSET 3
#define ET_CONNECTURL 1
#define ET_DATASOURCENAME 2
#define ET_USERNAME 3
#define ET_PASSWORD 4
#define ET_OPTIONS 5
#define ET_JDBCDRIVERCLASS 6
#define PB_BROWSECONNECTION 1
#define PB_INDICIES 2
#define PB_ADDALLTABLES 3
#define GB_CONNECTION 1
#define GB_DBASE_MAIN 2
#define CB_ASK_WHEN_EMPTY_PWD 1
#define CB_SHOWDELETEDROWS 2
#define CB_ALLOWLONGNAMES 3
#define CB_HEADER 4
#define FL_SEPARATOR1 1
#define CM_FIELDSEPARATOR 1
#define CM_TEXTSEPARATOR 2
#define CM_DECIMALSEPARATOR 3
#define CM_THOUSANDSSEPARATOR 4
#define CM_EXTENSION 5
#define WND_DATASOURCESELECTOR 1
#define WND_SELECTORBORDER 2
#define CTL_TABLESUBSCRIPTION 1
//========================================================================
// string ids (relative to other resources, that's why not necessarily unique)
#define STR_PAGETITLE_GENERAL 1
#define STR_PAGETITLE_DBASE 2
#define STR_PAGETITLE_JDBC 3
#define STR_PAGETITLE_ODBC 4
#define STR_PAGETITLE_ADABAS 5
#define STR_PAGETITLE_TEXT 6
#define STR_PAGETITLE_TABLESUBSCRIPTION 7
#define STR_FIELDSEPARATORLIST 8
#define STR_TEXTSEPARATORLIST 9
#define STR_DELIMITER_MISSING 10
#define STR_DELIMITER_MUST_DIFFER 11
#define STR_NO_WILDCARDS 12
#define STR_CHECK_ALL 13
#define STR_CHECK_NONE 14
#endif // _DBAUI_DBADMIN_HRC_
/*************************************************************************
* history:
* $Log: not supported by cvs2svn $
*
* Revision 1.0 20.09.00 11:42:05 fs
************************************************************************/
This diff is collapsed.
This diff is collapsed.
#ifndef _DBAUI_DBF_INDEXES_HRC_
#define _DBAUI_DBF_INDEXES_HRC_
#define CB_TABLES 1
#define FT_TABLES 1
#define FT_TABLEINDEXES 2
#define FT_ALLINDEXES 3
#define GB_INDEXES 1
#define LB_TABLEINDEXES 1
#define LB_FREEINDEXES 2
#define PB_OK 1
#define PB_CANCEL 1
#define PB_HELP 1
#define PB_ADD 1
#define PB_REMOVE 2
#define PB_ADDALL 3
#define PB_REMOVEALL 4
#endif //_DBAUI_DBF_INDEXES_HRC_
This diff is collapsed.
This diff is collapsed.
/*************************************************************************
*
* $RCSfile: dsitems.hxx,v $
*
* $Revision: 1.1 $
*
* last change: $Author: fs $ $Date: 2000-10-05 10:05:55 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
*
* - GNU Lesser General Public License Version 2.1
* - Sun Industry Standards Source License Version 1.1
*
* Sun Microsystems Inc., October, 2000
*
* GNU Lesser General Public License Version 2.1
* =============================================
* Copyright 2000 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
*
*
* Sun Industry Standards Source License Version 1.1
* =================================================
* The contents of this file are subject to the Sun Industry Standards
* Source License Version 1.1 (the "License"); You may not use this file
* except in compliance with the License. You may obtain a copy of the
* License at http://www.openoffice.org/license.html.
*
* Software provided under this License is provided on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
* WITHOUT LIMITATION, WARRANTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
* MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
* See the License for the specific provisions governing your rights and
* obligations concerning the Software.
*
* The Initial Developer of the Original Code is: Sun Microsystems, Inc..
*
* Copyright: 2000 by Sun Microsystems, Inc.
*
* All Rights Reserved.
*
* Contributor(s): _______________________________________
*
*
************************************************************************/
#ifndef _DBAUI_DATASOURCEITEMS_HXX_
#define _DBAUI_DATASOURCEITEMS_HXX_
//========================================================================
//= item ids for the data source administration dialog
#define DSID_NAME 1
#define DSID_CONNECTURL 2
#define DSID_TABLEFILTER 3
#define DSID_TYPECOLLECTION 4
#define DSID_INVALID_SELECTION 5
#define DSID_READONLY 6
#define DSID_USER 7
#define DSID_PASSWORD 8
#define DSID_ADDITIONALOPTIONS 9
#define DSID_CHARSET 10
#define DSID_ASKFOREMPTYPWD 11
#define DSID_SHOWDELETEDROWS 12
#define DSID_ALLOWLONGTABLENAMES 13
#define DSID_JDBCDRIVERCLASS 14
#define DSID_FIELDDELIMITER 15
#define DSID_TEXTDELIMITER 16
#define DSID_DECIMALDELIMITER 17
#define DSID_THOUSANDSDELIMITER 18
#define DSID_TEXTFILEEXTENSION 19
#define DSID_TEXTFILEHEADER 20
//========================================================================
//= item range. Adjust this if you introduce new items above
#define DSID_FIRST_ITEM_ID DSID_NAME
#define DSID_LAST_ITEM_ID DSID_TEXTFILEHEADER
#endif // _DBAUI_DATASOURCEITEMS_HXX_
/*************************************************************************
* history:
* $Log: not supported by cvs2svn $
*
* Revision 1.0 22.09.00 08:10:45 fs
************************************************************************/
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment