Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
24a00c43
Kaydet (Commit)
24a00c43
authored
Şub 04, 2014
tarafından
Caolán McNamara
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
convert database save as dialog to .ui
Change-Id: Ifc8d43930ecbd3ccd67147cd891260555976dc0d
üst
c234d4c2
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
338 additions
and
341 deletions
+338
-341
AllLangResTarget_dbu.mk
dbaccess/AllLangResTarget_dbu.mk
+0
-1
UIConfig_dbaccess.mk
dbaccess/UIConfig_dbaccess.mk
+1
-0
dbaccess_helpid.hrc
dbaccess/inc/dbaccess_helpid.hrc
+0
-3
app.src
dbaccess/source/ui/app/app.src
+25
-0
SqlNameEdit.cxx
dbaccess/source/ui/control/SqlNameEdit.cxx
+12
-0
dlgsave.cxx
dbaccess/source/ui/dlg/dlgsave.cxx
+92
-159
dlgsave.hrc
dbaccess/source/ui/dlg/dlgsave.hrc
+0
-46
dlgsave.src
dbaccess/source/ui/dlg/dlgsave.src
+0
-131
dbu_resource.hrc
dbaccess/source/ui/inc/dbu_resource.hrc
+5
-1
savedialog.ui
dbaccess/uiconfig/ui/savedialog.ui
+195
-0
libreoffice-catalog.xml.in
extras/source/glade/libreoffice-catalog.xml.in
+8
-0
No files found.
dbaccess/AllLangResTarget_dbu.mk
Dosyayı görüntüle @
24a00c43
...
@@ -46,7 +46,6 @@ $(eval $(call gb_SrsTarget_add_files,dbaccess/dbu,\
...
@@ -46,7 +46,6 @@ $(eval $(call gb_SrsTarget_add_files,dbaccess/dbu,\
dbaccess/source/ui/dlg/dbadmin.src \
dbaccess/source/ui/dlg/dbadmin.src \
dbaccess/source/ui/dlg/dbfindex.src \
dbaccess/source/ui/dlg/dbfindex.src \
dbaccess/source/ui/dlg/directsql.src \
dbaccess/source/ui/dlg/directsql.src \
dbaccess/source/ui/dlg/dlgsave.src \
dbaccess/source/ui/dlg/dsselect.src \
dbaccess/source/ui/dlg/dsselect.src \
dbaccess/source/ui/dlg/indexdialog.src \
dbaccess/source/ui/dlg/indexdialog.src \
dbaccess/source/ui/dlg/paramdialog.src \
dbaccess/source/ui/dlg/paramdialog.src \
...
...
dbaccess/UIConfig_dbaccess.mk
Dosyayı görüntüle @
24a00c43
...
@@ -22,6 +22,7 @@ $(eval $(call gb_UIConfig_add_uifiles,dbaccess, \
...
@@ -22,6 +22,7 @@ $(eval $(call gb_UIConfig_add_uifiles,dbaccess, \
dbaccess/uiconfig/ui/queryfilterdialog \
dbaccess/uiconfig/ui/queryfilterdialog \
dbaccess/uiconfig/ui/querypropertiesdialog \
dbaccess/uiconfig/ui/querypropertiesdialog \
dbaccess/uiconfig/ui/rowheightdialog \
dbaccess/uiconfig/ui/rowheightdialog \
dbaccess/uiconfig/ui/savedialog \
dbaccess/uiconfig/ui/specialsettingspage \
dbaccess/uiconfig/ui/specialsettingspage \
dbaccess/uiconfig/ui/sortdialog \
dbaccess/uiconfig/ui/sortdialog \
dbaccess/uiconfig/ui/tablesfilterdialog \
dbaccess/uiconfig/ui/tablesfilterdialog \
...
...
dbaccess/inc/dbaccess_helpid.hrc
Dosyayı görüntüle @
24a00c43
...
@@ -78,7 +78,6 @@
...
@@ -78,7 +78,6 @@
#define HID_DLG_ERROR "DBACCESS_HID_DLG_ERROR"
#define HID_DLG_ERROR "DBACCESS_HID_DLG_ERROR"
#define HID_DLG_TEXT "DBACCESS_HID_DLG_TEXT"
#define HID_DLG_TEXT "DBACCESS_HID_DLG_TEXT"
#define UID_SQLERROR_BUTTONMORE "DBACCESS_UID_SQLERROR_BUTTONMORE"
#define UID_SQLERROR_BUTTONMORE "DBACCESS_UID_SQLERROR_BUTTONMORE"
#define HID_DLG_SAVE_AS "DBACCESS_HID_DLG_SAVE_AS"
#define HID_BROWSER_QUERY_EDIT "DBACCESS_HID_BROWSER_QUERY_EDIT"
#define HID_BROWSER_QUERY_EDIT "DBACCESS_HID_BROWSER_QUERY_EDIT"
#define HID_BROWSER_QUERY_DELETE "DBACCESS_HID_BROWSER_QUERY_DELETE"
#define HID_BROWSER_QUERY_DELETE "DBACCESS_HID_BROWSER_QUERY_DELETE"
...
@@ -247,8 +246,6 @@
...
@@ -247,8 +246,6 @@
#define HID_DSADMIN_USESSL_LDAP "DBACCESS_HID_DSADMIN_USESSL_LDAP"
#define HID_DSADMIN_USESSL_LDAP "DBACCESS_HID_DSADMIN_USESSL_LDAP"
#define HID_BROWSER_QUERY_WIZARD "DBACCESS_HID_BROWSER_QUERY_WIZARD"
#define HID_BROWSER_QUERY_WIZARD "DBACCESS_HID_BROWSER_QUERY_WIZARD"
#define HID_DLG_RENAME "DBACCESS_HID_DLG_RENAME"
#define HID_DSADMIN_PAGE_MYSQL_JDBC "DBACCESS_HID_DSADMIN_PAGE_MYSQL_JDBC"
#define HID_DSADMIN_PAGE_MYSQL_JDBC "DBACCESS_HID_DSADMIN_PAGE_MYSQL_JDBC"
#define HID_DSADMIN_DBASE_PATH "DBACCESS_HID_DSADMIN_DBASE_PATH"
#define HID_DSADMIN_DBASE_PATH "DBACCESS_HID_DSADMIN_DBASE_PATH"
...
...
dbaccess/source/ui/app/app.src
Dosyayı görüntüle @
24a00c43
...
@@ -471,4 +471,29 @@ String STR_PAGETITLE_CONNECTION
...
@@ -471,4 +471,29 @@ String STR_PAGETITLE_CONNECTION
Text [ en-US ] = "Connection settings" ;
Text [ en-US ] = "Connection settings" ;
};
};
String STR_TBL_LABEL
{
Text [ en-US ] = "~Table Name" ;
};
String STR_VW_LABEL
{
Text [ en-US ] = "~Name of table view" ;
};
String STR_QRY_LABEL
{
Text [ en-US ] = "~Query name" ;
};
String STR_TITLE_RENAME
{
Text [ en-US ] = "Rename to";
};
String STR_TITLE_PASTE_AS
{
Text [ en-US ] = "Insert as";
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
dbaccess/source/ui/control/SqlNameEdit.cxx
Dosyayı görüntüle @
24a00c43
...
@@ -18,6 +18,8 @@
...
@@ -18,6 +18,8 @@
*/
*/
#include "SqlNameEdit.hxx"
#include "SqlNameEdit.hxx"
#include <vcl/builder.hxx>
namespace
dbaui
namespace
dbaui
{
{
sal_Bool
isCharOk
(
sal_Unicode
_cChar
,
sal_Bool
_bFirstChar
,
sal_Bool
_bUpperCase
,
const
OUString
&
_sAllowedChars
)
sal_Bool
isCharOk
(
sal_Unicode
_cChar
,
sal_Bool
_bFirstChar
,
sal_Bool
_bUpperCase
,
const
OUString
&
_sAllowedChars
)
...
@@ -79,4 +81,14 @@ namespace dbaui
...
@@ -79,4 +81,14 @@ namespace dbaui
}
}
}
}
extern
"C"
SAL_DLLPUBLIC_EXPORT
Window
*
SAL_CALL
makeOSQLNameEdit
(
Window
*
pParent
,
VclBuilder
::
stringmap
&
)
{
return
new
dbaui
::
OSQLNameEdit
(
pParent
);
}
extern
"C"
SAL_DLLPUBLIC_EXPORT
Window
*
SAL_CALL
makeOSQLNameComboBox
(
Window
*
pParent
,
VclBuilder
::
stringmap
&
)
{
return
new
dbaui
::
OSQLNameComboBox
(
pParent
);
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
dbaccess/source/ui/dlg/dlgsave.cxx
Dosyayı görüntüle @
24a00c43
...
@@ -18,7 +18,6 @@
...
@@ -18,7 +18,6 @@
*/
*/
#include "dlgsave.hxx"
#include "dlgsave.hxx"
#include "dlgsave.hrc"
#include <vcl/msgbox.hxx>
#include <vcl/msgbox.hxx>
#include "dbu_dlg.hrc"
#include "dbu_dlg.hrc"
#include <com/sun/star/sdb/CommandType.hpp>
#include <com/sun/star/sdb/CommandType.hpp>
...
@@ -49,16 +48,14 @@ namespace dbaui
...
@@ -49,16 +48,14 @@ namespace dbaui
class
OSaveAsDlgImpl
class
OSaveAsDlgImpl
{
{
public
:
public
:
FixedText
m_aDescription
;
FixedText
*
m_pDescription
;
FixedText
m_aCatalogLbl
;
FixedText
*
m_pCatalogLbl
;
OSQLNameComboBox
m_aCatalog
;
OSQLNameComboBox
*
m_pCatalog
;
FixedText
m_aSchemaLbl
;
FixedText
*
m_pSchemaLbl
;
OSQLNameComboBox
m_aSchema
;
OSQLNameComboBox
*
m_pSchema
;
FixedText
m_aLabel
;
FixedText
*
m_pLabel
;
OSQLNameEdit
m_aTitle
;
OSQLNameEdit
*
m_pTitle
;
OKButton
m_aPB_OK
;
OKButton
*
m_pPB_OK
;
CancelButton
m_aPB_CANCEL
;
HelpButton
m_aPB_HELP
;
OUString
m_aQryLabel
;
OUString
m_aQryLabel
;
OUString
m_sTblLabel
;
OUString
m_sTblLabel
;
OUString
m_aName
;
OUString
m_aName
;
...
@@ -69,12 +66,12 @@ public:
...
@@ -69,12 +66,12 @@ public:
sal_Int32
m_nType
;
sal_Int32
m_nType
;
sal_Int32
m_nFlags
;
sal_Int32
m_nFlags
;
OSaveAsDlgImpl
(
Window
*
pParent
,
const
sal_Int32
&
_rType
,
OSaveAsDlgImpl
(
OSaveAsDlg
*
pParent
,
const
sal_Int32
&
_rType
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
sdbc
::
XConnection
>&
_xConnection
,
const
::
com
::
sun
::
star
::
uno
::
Reference
<
::
com
::
sun
::
star
::
sdbc
::
XConnection
>&
_xConnection
,
const
OUString
&
rDefault
,
const
OUString
&
rDefault
,
const
IObjectNameCheck
&
_rObjectNameCheck
,
const
IObjectNameCheck
&
_rObjectNameCheck
,
sal_Int32
_nFlags
);
sal_Int32
_nFlags
);
OSaveAsDlgImpl
(
Window
*
pParent
,
OSaveAsDlgImpl
(
OSaveAsDlg
*
pParent
,
const
OUString
&
rDefault
,
const
OUString
&
rDefault
,
const
IObjectNameCheck
&
_rObjectNameCheck
,
const
IObjectNameCheck
&
_rObjectNameCheck
,
sal_Int32
_nFlags
);
sal_Int32
_nFlags
);
...
@@ -82,67 +79,65 @@ public:
...
@@ -82,67 +79,65 @@ public:
}
// dbaui
}
// dbaui
OSaveAsDlgImpl
::
OSaveAsDlgImpl
(
Window
*
_
pParent
,
OSaveAsDlgImpl
::
OSaveAsDlgImpl
(
OSaveAsDlg
*
pParent
,
const
sal_Int32
&
_rType
,
const
sal_Int32
&
_rType
,
const
Reference
<
XConnection
>&
_xConnection
,
const
Reference
<
XConnection
>&
_xConnection
,
const
OUString
&
rDefault
,
const
OUString
&
rDefault
,
const
IObjectNameCheck
&
_rObjectNameCheck
,
const
IObjectNameCheck
&
_rObjectNameCheck
,
sal_Int32
_nFlags
)
sal_Int32
_nFlags
)
:
m_aDescription
(
_pParent
,
ModuleRes
(
FT_DESCRIPTION
))
:
m_aQryLabel
(
ModuleRes
(
STR_QRY_LABEL
))
,
m_aCatalogLbl
(
_pParent
,
ModuleRes
(
FT_CATALOG
))
,
m_sTblLabel
(
ModuleRes
(
STR_TBL_LABEL
))
,
m_aCatalog
(
_pParent
,
ModuleRes
(
ET_CATALOG
),
OUString
())
,
m_aName
(
rDefault
)
,
m_aSchemaLbl
(
_pParent
,
ModuleRes
(
FT_SCHEMA
))
,
m_rObjectNameCheck
(
_rObjectNameCheck
)
,
m_aSchema
(
_pParent
,
ModuleRes
(
ET_SCHEMA
),
OUString
())
,
m_nType
(
_rType
)
,
m_aLabel
(
_pParent
,
ModuleRes
(
FT_TITLE
))
,
m_nFlags
(
_nFlags
)
,
m_aTitle
(
_pParent
,
ModuleRes
(
ET_TITLE
),
OUString
())
,
m_aPB_OK
(
_pParent
,
ModuleRes
(
PB_OK
)
)
,
m_aPB_CANCEL
(
_pParent
,
ModuleRes
(
PB_CANCEL
))
,
m_aPB_HELP
(
_pParent
,
ModuleRes
(
PB_HELP
))
,
m_aQryLabel
(
ModuleRes
(
STR_QRY_LABEL
))
,
m_sTblLabel
(
ModuleRes
(
STR_TBL_LABEL
))
,
m_aName
(
rDefault
)
,
m_rObjectNameCheck
(
_rObjectNameCheck
)
,
m_nType
(
_rType
)
,
m_nFlags
(
_nFlags
)
{
{
pParent
->
get
(
m_pDescription
,
"descriptionft"
);
pParent
->
get
(
m_pCatalogLbl
,
"catalogft"
);
pParent
->
get
(
m_pCatalog
,
"catalog"
);
pParent
->
get
(
m_pSchemaLbl
,
"schemaft"
);
pParent
->
get
(
m_pSchema
,
"schema"
);
pParent
->
get
(
m_pLabel
,
"titleft"
);
pParent
->
get
(
m_pTitle
,
"title"
);
pParent
->
get
(
m_pPB_OK
,
"ok"
);
if
(
_xConnection
.
is
()
)
if
(
_xConnection
.
is
()
)
m_xMetaData
=
_xConnection
->
getMetaData
();
m_xMetaData
=
_xConnection
->
getMetaData
();
if
(
m_xMetaData
.
is
()
)
if
(
m_xMetaData
.
is
()
)
{
{
OUString
sExtraNameChars
(
m_xMetaData
->
getExtraNameCharacters
()
);
OUString
sExtraNameChars
(
m_xMetaData
->
getExtraNameCharacters
()
);
m_
aCatalog
.
setAllowedChars
(
sExtraNameChars
);
m_
pCatalog
->
setAllowedChars
(
sExtraNameChars
);
m_
aSchema
.
setAllowedChars
(
sExtraNameChars
);
m_
pSchema
->
setAllowedChars
(
sExtraNameChars
);
m_
aTitle
.
setAllowedChars
(
sExtraNameChars
);
m_
pTitle
->
setAllowedChars
(
sExtraNameChars
);
}
}
m_
aCatalog
.
SetDropDownLineCount
(
10
);
m_
pCatalog
->
SetDropDownLineCount
(
10
);
m_
aSchema
.
SetDropDownLineCount
(
10
);
m_
pSchema
->
SetDropDownLineCount
(
10
);
}
}
OSaveAsDlgImpl
::
OSaveAsDlgImpl
(
Window
*
_
pParent
,
OSaveAsDlgImpl
::
OSaveAsDlgImpl
(
OSaveAsDlg
*
pParent
,
const
OUString
&
rDefault
,
const
OUString
&
rDefault
,
const
IObjectNameCheck
&
_rObjectNameCheck
,
const
IObjectNameCheck
&
_rObjectNameCheck
,
sal_Int32
_nFlags
)
sal_Int32
_nFlags
)
:
m_aDescription
(
_pParent
,
ModuleRes
(
FT_DESCRIPTION
))
:
m_aQryLabel
(
ModuleRes
(
STR_QRY_LABEL
))
,
m_aCatalogLbl
(
_pParent
,
ModuleRes
(
FT_CATALOG
))
,
m_sTblLabel
(
ModuleRes
(
STR_TBL_LABEL
))
,
m_aCatalog
(
_pParent
,
ModuleRes
(
ET_CATALOG
))
,
m_aName
(
rDefault
)
,
m_aSchemaLbl
(
_pParent
,
ModuleRes
(
FT_SCHEMA
))
,
m_rObjectNameCheck
(
_rObjectNameCheck
)
,
m_aSchema
(
_pParent
,
ModuleRes
(
ET_SCHEMA
))
,
m_nType
(
CommandType
::
COMMAND
)
,
m_aLabel
(
_pParent
,
ModuleRes
(
FT_TITLE
))
,
m_nFlags
(
_nFlags
)
,
m_aTitle
(
_pParent
,
ModuleRes
(
ET_TITLE
))
,
m_aPB_OK
(
_pParent
,
ModuleRes
(
PB_OK
)
)
,
m_aPB_CANCEL
(
_pParent
,
ModuleRes
(
PB_CANCEL
))
,
m_aPB_HELP
(
_pParent
,
ModuleRes
(
PB_HELP
))
,
m_aQryLabel
(
ModuleRes
(
STR_QRY_LABEL
))
,
m_sTblLabel
(
ModuleRes
(
STR_TBL_LABEL
))
,
m_aName
(
rDefault
)
,
m_rObjectNameCheck
(
_rObjectNameCheck
)
,
m_nType
(
CommandType
::
COMMAND
)
,
m_nFlags
(
_nFlags
)
{
{
m_aCatalog
.
SetDropDownLineCount
(
10
);
pParent
->
get
(
m_pDescription
,
"descriptionft"
);
m_aSchema
.
SetDropDownLineCount
(
10
);
pParent
->
get
(
m_pCatalogLbl
,
"catalogft"
);
pParent
->
get
(
m_pCatalog
,
"catalog"
);
pParent
->
get
(
m_pSchemaLbl
,
"schemaft"
);
pParent
->
get
(
m_pSchema
,
"schema"
);
pParent
->
get
(
m_pLabel
,
"titleft"
);
pParent
->
get
(
m_pTitle
,
"title"
);
pParent
->
get
(
m_pPB_OK
,
"ok"
);
m_pCatalog
->
SetDropDownLineCount
(
10
);
m_pSchema
->
SetDropDownLineCount
(
10
);
}
}
using
namespace
::
com
::
sun
::
star
::
lang
;
using
namespace
::
com
::
sun
::
star
::
lang
;
...
@@ -188,8 +183,8 @@ OSaveAsDlg::OSaveAsDlg( Window * pParent,
...
@@ -188,8 +183,8 @@ OSaveAsDlg::OSaveAsDlg( Window * pParent,
const
OUString
&
rDefault
,
const
OUString
&
rDefault
,
const
IObjectNameCheck
&
_rObjectNameCheck
,
const
IObjectNameCheck
&
_rObjectNameCheck
,
sal_Int32
_nFlags
)
sal_Int32
_nFlags
)
:
ModalDialog
(
pParent
,
ModuleRes
(
DLG_SAVE_AS
)
)
:
ModalDialog
(
pParent
,
"SaveDialog"
,
"dbaccess/ui/savedialog.ui"
)
,
m_xContext
(
_rxContext
)
,
m_xContext
(
_rxContext
)
{
{
m_pImpl
=
new
OSaveAsDlgImpl
(
this
,
_rType
,
_xConnection
,
rDefault
,
_rObjectNameCheck
,
_nFlags
);
m_pImpl
=
new
OSaveAsDlgImpl
(
this
,
_rType
,
_xConnection
,
rDefault
,
_rObjectNameCheck
,
_nFlags
);
...
@@ -202,41 +197,27 @@ OSaveAsDlg::OSaveAsDlg( Window * pParent,
...
@@ -202,41 +197,27 @@ OSaveAsDlg::OSaveAsDlg( Window * pParent,
case
CommandType
:
:
TABLE
:
case
CommandType
:
:
TABLE
:
OSL_ENSURE
(
m_pImpl
->
m_xMetaData
.
is
(),
"OSaveAsDlg::OSaveAsDlg: no meta data for entering table names: this will crash!"
);
OSL_ENSURE
(
m_pImpl
->
m_xMetaData
.
is
(),
"OSaveAsDlg::OSaveAsDlg: no meta data for entering table names: this will crash!"
);
{
{
m_pImpl
->
m_aLabel
.
SetText
(
m_pImpl
->
m_sTblLabel
);
m_pImpl
->
m_pLabel
->
SetText
(
m_pImpl
->
m_sTblLabel
);
Point
aPos
(
m_pImpl
->
m_aPB_OK
.
GetPosPixel
());
if
(
m_pImpl
->
m_xMetaData
.
is
()
&&
!
m_pImpl
->
m_xMetaData
->
supportsCatalogsInTableDefinitions
())
if
(
m_pImpl
->
m_xMetaData
.
is
()
&&
!
m_pImpl
->
m_xMetaData
->
supportsCatalogsInTableDefinitions
())
{
{
m_pImpl
->
m_aCatalogLbl
.
Hide
();
m_pImpl
->
m_pCatalogLbl
->
Hide
();
m_pImpl
->
m_aCatalog
.
Hide
();
m_pImpl
->
m_pCatalog
->
Hide
();
aPos
=
m_pImpl
->
m_aLabel
.
GetPosPixel
();
m_pImpl
->
m_aLabel
.
SetPosPixel
(
m_pImpl
->
m_aSchemaLbl
.
GetPosPixel
());
m_pImpl
->
m_aTitle
.
SetPosPixel
(
m_pImpl
->
m_aSchema
.
GetPosPixel
());
m_pImpl
->
m_aSchemaLbl
.
SetPosPixel
(
m_pImpl
->
m_aCatalogLbl
.
GetPosPixel
());
m_pImpl
->
m_aSchema
.
SetPosPixel
(
m_pImpl
->
m_aCatalog
.
GetPosPixel
());
}
}
else
else
{
{
// now fill the catalogs
// now fill the catalogs
lcl_fillComboList
(
m_pImpl
->
m_a
Catalog
,
_xConnection
,
lcl_fillComboList
(
*
m_pImpl
->
m_p
Catalog
,
_xConnection
,
&
XDatabaseMetaData
::
getCatalogs
,
_xConnection
->
getCatalog
()
);
&
XDatabaseMetaData
::
getCatalogs
,
_xConnection
->
getCatalog
()
);
}
}
if
(
!
m_pImpl
->
m_xMetaData
->
supportsSchemasInTableDefinitions
())
if
(
!
m_pImpl
->
m_xMetaData
->
supportsSchemasInTableDefinitions
())
{
{
m_pImpl
->
m_aSchemaLbl
.
Hide
();
m_pImpl
->
m_pSchemaLbl
->
Hide
();
m_pImpl
->
m_aSchema
.
Hide
();
m_pImpl
->
m_pSchema
->
Hide
();
aPos
=
m_pImpl
->
m_aLabel
.
GetPosPixel
();
m_pImpl
->
m_aLabel
.
SetPosPixel
(
m_pImpl
->
m_aSchemaLbl
.
GetPosPixel
());
m_pImpl
->
m_aTitle
.
SetPosPixel
(
m_pImpl
->
m_aSchema
.
GetPosPixel
());
}
}
else
else
{
{
lcl_fillComboList
(
m_pImpl
->
m_a
Schema
,
_xConnection
,
lcl_fillComboList
(
*
m_pImpl
->
m_p
Schema
,
_xConnection
,
&
XDatabaseMetaData
::
getSchemas
,
m_pImpl
->
m_xMetaData
->
getUserName
()
);
&
XDatabaseMetaData
::
getSchemas
,
m_pImpl
->
m_xMetaData
->
getUserName
()
);
}
}
...
@@ -251,42 +232,33 @@ OSaveAsDlg::OSaveAsDlg( Window * pParent,
...
@@ -251,42 +232,33 @@ OSaveAsDlg::OSaveAsDlg( Window * pParent,
sTable
,
sTable
,
::
dbtools
::
eInDataManipulation
);
::
dbtools
::
eInDataManipulation
);
sal_uInt16
nPos
=
m_pImpl
->
m_
aCatalog
.
GetEntryPos
(
OUString
(
sCatalog
));
sal_uInt16
nPos
=
m_pImpl
->
m_
pCatalog
->
GetEntryPos
(
OUString
(
sCatalog
));
if
(
nPos
!=
COMBOBOX_ENTRY_NOTFOUND
)
if
(
nPos
!=
COMBOBOX_ENTRY_NOTFOUND
)
m_pImpl
->
m_
aCatalog
.
SelectEntryPos
(
nPos
);
m_pImpl
->
m_
pCatalog
->
SelectEntryPos
(
nPos
);
if
(
!
sSchema
.
isEmpty
()
)
if
(
!
sSchema
.
isEmpty
()
)
{
{
nPos
=
m_pImpl
->
m_
aSchema
.
GetEntryPos
(
OUString
(
sSchema
));
nPos
=
m_pImpl
->
m_
pSchema
->
GetEntryPos
(
OUString
(
sSchema
));
if
(
nPos
!=
COMBOBOX_ENTRY_NOTFOUND
)
if
(
nPos
!=
COMBOBOX_ENTRY_NOTFOUND
)
m_pImpl
->
m_
aSchema
.
SelectEntryPos
(
nPos
);
m_pImpl
->
m_
pSchema
->
SelectEntryPos
(
nPos
);
}
}
m_pImpl
->
m_
aTitle
.
SetText
(
sTable
);
m_pImpl
->
m_
pTitle
->
SetText
(
sTable
);
}
}
else
else
m_pImpl
->
m_aTitle
.
SetText
(
m_pImpl
->
m_aName
);
m_pImpl
->
m_pTitle
->
SetText
(
m_pImpl
->
m_aName
);
m_pImpl
->
m_aTitle
.
SetSelection
(
Selection
(
SELECTION_MIN
,
SELECTION_MAX
)
);
m_pImpl
->
m_pTitle
->
SetSelection
(
Selection
(
SELECTION_MIN
,
SELECTION_MAX
)
);
m_pImpl
->
m_aPB_OK
.
SetPosPixel
(
Point
(
m_pImpl
->
m_aPB_OK
.
GetPosPixel
().
X
(),
aPos
.
Y
()));
m_pImpl
->
m_aPB_CANCEL
.
SetPosPixel
(
Point
(
m_pImpl
->
m_aPB_CANCEL
.
GetPosPixel
().
X
(),
aPos
.
Y
()));
m_pImpl
->
m_aPB_HELP
.
SetPosPixel
(
Point
(
m_pImpl
->
m_aPB_HELP
.
GetPosPixel
().
X
(),
aPos
.
Y
()));
sal_Int32
nLength
=
m_pImpl
->
m_xMetaData
.
is
()
?
m_pImpl
->
m_xMetaData
->
getMaxTableNameLength
()
:
0
;
sal_Int32
nLength
=
m_pImpl
->
m_xMetaData
.
is
()
?
m_pImpl
->
m_xMetaData
->
getMaxTableNameLength
()
:
0
;
nLength
=
nLength
?
nLength
:
EDIT_NOLIMIT
;
nLength
=
nLength
?
nLength
:
EDIT_NOLIMIT
;
m_pImpl
->
m_
aTitle
.
SetMaxTextLen
(
nLength
);
m_pImpl
->
m_
pTitle
->
SetMaxTextLen
(
nLength
);
m_pImpl
->
m_
aSchema
.
SetMaxTextLen
(
nLength
);
m_pImpl
->
m_
pSchema
->
SetMaxTextLen
(
nLength
);
m_pImpl
->
m_
aCatalog
.
SetMaxTextLen
(
nLength
);
m_pImpl
->
m_
pCatalog
->
SetMaxTextLen
(
nLength
);
sal_Bool
bCheck
=
_xConnection
.
is
()
&&
isSQL92CheckEnabled
(
_xConnection
);
sal_Bool
bCheck
=
_xConnection
.
is
()
&&
isSQL92CheckEnabled
(
_xConnection
);
m_pImpl
->
m_aTitle
.
setCheck
(
bCheck
);
// enable non valid sql chars as well
m_pImpl
->
m_pTitle
->
setCheck
(
bCheck
);
// enable non valid sql chars as well
m_pImpl
->
m_aSchema
.
setCheck
(
bCheck
);
// enable non valid sql chars as well
m_pImpl
->
m_pSchema
->
setCheck
(
bCheck
);
// enable non valid sql chars as well
m_pImpl
->
m_aCatalog
.
setCheck
(
bCheck
);
// enable non valid sql chars as well
m_pImpl
->
m_pCatalog
->
setCheck
(
bCheck
);
// enable non valid sql chars as well
Size
aSize
=
GetSizePixel
();
aSize
.
Height
()
=
aPos
.
Y
()
+
m_pImpl
->
m_aPB_OK
.
GetSizePixel
().
Height
()
+
m_pImpl
->
m_aTitle
.
GetSizePixel
().
Height
()
/
2
;
SetSizePixel
(
aSize
);
}
}
break
;
break
;
...
@@ -303,8 +275,8 @@ OSaveAsDlg::OSaveAsDlg( Window * pParent,
...
@@ -303,8 +275,8 @@ OSaveAsDlg::OSaveAsDlg( Window * pParent,
const
OUString
&
_sLabel
,
const
OUString
&
_sLabel
,
const
IObjectNameCheck
&
_rObjectNameCheck
,
const
IObjectNameCheck
&
_rObjectNameCheck
,
sal_Int32
_nFlags
)
sal_Int32
_nFlags
)
:
ModalDialog
(
pParent
,
ModuleRes
(
DLG_SAVE_AS
)
)
:
ModalDialog
(
pParent
,
"SaveDialog"
,
"dbaccess/ui/savedialog.ui"
)
,
m_xContext
(
_rxContext
)
,
m_xContext
(
_rxContext
)
{
{
m_pImpl
=
new
OSaveAsDlgImpl
(
this
,
rDefault
,
_rObjectNameCheck
,
_nFlags
);
m_pImpl
=
new
OSaveAsDlgImpl
(
this
,
rDefault
,
_rObjectNameCheck
,
_nFlags
);
implInitOnlyTitle
(
_sLabel
);
implInitOnlyTitle
(
_sLabel
);
...
@@ -318,9 +290,9 @@ OSaveAsDlg::~OSaveAsDlg()
...
@@ -318,9 +290,9 @@ OSaveAsDlg::~OSaveAsDlg()
IMPL_LINK
(
OSaveAsDlg
,
ButtonClickHdl
,
Button
*
,
pButton
)
IMPL_LINK
(
OSaveAsDlg
,
ButtonClickHdl
,
Button
*
,
pButton
)
{
{
if
(
pButton
==
&
m_pImpl
->
m_a
PB_OK
)
if
(
pButton
==
m_pImpl
->
m_p
PB_OK
)
{
{
m_pImpl
->
m_aName
=
m_pImpl
->
m_
aTitle
.
GetText
();
m_pImpl
->
m_aName
=
m_pImpl
->
m_
pTitle
->
GetText
();
OUString
sNameToCheck
(
m_pImpl
->
m_aName
);
OUString
sNameToCheck
(
m_pImpl
->
m_aName
);
...
@@ -341,41 +313,28 @@ IMPL_LINK(OSaveAsDlg, ButtonClickHdl, Button *, pButton)
...
@@ -341,41 +313,28 @@ IMPL_LINK(OSaveAsDlg, ButtonClickHdl, Button *, pButton)
EndDialog
(
RET_OK
);
EndDialog
(
RET_OK
);
showError
(
aNameError
,
this
,
m_xContext
);
showError
(
aNameError
,
this
,
m_xContext
);
m_pImpl
->
m_
aTitle
.
GrabFocus
();
m_pImpl
->
m_
pTitle
->
GrabFocus
();
}
}
return
0
;
return
0
;
}
}
IMPL_LINK
(
OSaveAsDlg
,
EditModifyHdl
,
Edit
*
,
pEdit
)
IMPL_LINK
(
OSaveAsDlg
,
EditModifyHdl
,
Edit
*
,
pEdit
)
{
{
if
(
pEdit
==
&
m_pImpl
->
m_a
Title
)
if
(
pEdit
==
m_pImpl
->
m_p
Title
)
m_pImpl
->
m_
aPB_OK
.
Enable
(
!
m_pImpl
->
m_aTitle
.
GetText
().
isEmpty
());
m_pImpl
->
m_
pPB_OK
->
Enable
(
!
m_pImpl
->
m_pTitle
->
GetText
().
isEmpty
());
return
0
;
return
0
;
}
}
void
OSaveAsDlg
::
implInitOnlyTitle
(
const
OUString
&
_rLabel
)
void
OSaveAsDlg
::
implInitOnlyTitle
(
const
OUString
&
_rLabel
)
{
{
m_pImpl
->
m_aLabel
.
SetText
(
_rLabel
);
m_pImpl
->
m_pLabel
->
SetText
(
_rLabel
);
m_pImpl
->
m_aCatalogLbl
.
Hide
();
m_pImpl
->
m_pCatalogLbl
->
Hide
();
m_pImpl
->
m_aCatalog
.
Hide
();
m_pImpl
->
m_pCatalog
->
Hide
();
m_pImpl
->
m_aSchemaLbl
.
Hide
();
m_pImpl
->
m_pSchemaLbl
->
Hide
();
m_pImpl
->
m_aSchema
.
Hide
();
m_pImpl
->
m_pSchema
->
Hide
();
Point
aPos
(
m_pImpl
->
m_aSchemaLbl
.
GetPosPixel
());
m_pImpl
->
m_pTitle
->
SetText
(
m_pImpl
->
m_aName
);
m_pImpl
->
m_aLabel
.
SetPosPixel
(
m_pImpl
->
m_aCatalogLbl
.
GetPosPixel
());
m_pImpl
->
m_pTitle
->
setCheck
(
sal_False
);
// enable non valid sql chars as well
m_pImpl
->
m_aTitle
.
SetPosPixel
(
m_pImpl
->
m_aCatalog
.
GetPosPixel
());
m_pImpl
->
m_aPB_OK
.
SetPosPixel
(
Point
(
m_pImpl
->
m_aPB_OK
.
GetPosPixel
().
X
(),
aPos
.
Y
()));
m_pImpl
->
m_aPB_CANCEL
.
SetPosPixel
(
Point
(
m_pImpl
->
m_aPB_CANCEL
.
GetPosPixel
().
X
(),
aPos
.
Y
()));
m_pImpl
->
m_aPB_HELP
.
SetPosPixel
(
Point
(
m_pImpl
->
m_aPB_HELP
.
GetPosPixel
().
X
(),
aPos
.
Y
()));
sal_Int32
nNewHeight
=
aPos
.
Y
()
+
m_pImpl
->
m_aPB_OK
.
GetSizePixel
().
Height
()
+
m_pImpl
->
m_aTitle
.
GetSizePixel
().
Height
()
/
2
;
SetSizePixel
(
Size
(
GetSizePixel
().
Width
(),
nNewHeight
));
m_pImpl
->
m_aTitle
.
SetText
(
m_pImpl
->
m_aName
);
m_pImpl
->
m_aTitle
.
setCheck
(
sal_False
);
// enable non valid sql chars as well
}
}
void
OSaveAsDlg
::
implInit
()
void
OSaveAsDlg
::
implInit
()
...
@@ -383,47 +342,21 @@ void OSaveAsDlg::implInit()
...
@@ -383,47 +342,21 @@ void OSaveAsDlg::implInit()
if
(
0
==
(
m_pImpl
->
m_nFlags
&
SAD_ADDITIONAL_DESCRIPTION
)
)
if
(
0
==
(
m_pImpl
->
m_nFlags
&
SAD_ADDITIONAL_DESCRIPTION
)
)
{
{
// hide the description window
// hide the description window
m_pImpl
->
m_aDescription
.
Hide
();
m_pImpl
->
m_pDescription
->
Hide
();
// the number of pixels we have to move the other controls
sal_Int32
nMoveUp
=
m_pImpl
->
m_aCatalog
.
GetPosPixel
().
Y
()
-
m_pImpl
->
m_aDescription
.
GetPosPixel
().
Y
();
// loop to all controls and move them ...
for
(
Window
*
pChildControl
=
GetWindow
(
WINDOW_FIRSTCHILD
);
pChildControl
;
pChildControl
=
pChildControl
->
GetWindow
(
WINDOW_NEXT
)
)
{
if
(
&
m_pImpl
->
m_aDescription
!=
pChildControl
)
{
Point
aPos
=
pChildControl
->
GetPosPixel
();
aPos
.
Y
()
-=
nMoveUp
;
pChildControl
->
SetPosPixel
(
aPos
);
}
}
// change our own size accordingly
Size
aSize
=
GetSizePixel
();
aSize
.
Height
()
-=
nMoveUp
;
SetSizePixel
(
aSize
);
}
}
if
(
SAD_TITLE_PASTE_AS
==
(
m_pImpl
->
m_nFlags
&
SAD_TITLE_PASTE_AS
)
)
if
(
SAD_TITLE_PASTE_AS
==
(
m_pImpl
->
m_nFlags
&
SAD_TITLE_PASTE_AS
)
)
SetText
(
ModuleRes
(
STR_TITLE_PASTE_AS
)
);
SetText
(
ModuleRes
(
STR_TITLE_PASTE_AS
)
);
else
if
(
SAD_TITLE_RENAME
==
(
m_pImpl
->
m_nFlags
&
SAD_TITLE_RENAME
)
)
else
if
(
SAD_TITLE_RENAME
==
(
m_pImpl
->
m_nFlags
&
SAD_TITLE_RENAME
)
)
{
SetText
(
ModuleRes
(
STR_TITLE_RENAME
)
);
SetText
(
ModuleRes
(
STR_TITLE_RENAME
)
);
m_pImpl
->
m_aTitle
.
SetHelpId
(
HID_DLG_RENAME
);
}
m_pImpl
->
m_aPB_OK
.
SetClickHdl
(
LINK
(
this
,
OSaveAsDlg
,
ButtonClickHdl
));
m_pImpl
->
m_pPB_OK
->
SetClickHdl
(
LINK
(
this
,
OSaveAsDlg
,
ButtonClickHdl
));
m_pImpl
->
m_aTitle
.
SetModifyHdl
(
LINK
(
this
,
OSaveAsDlg
,
EditModifyHdl
));
m_pImpl
->
m_pTitle
->
SetModifyHdl
(
LINK
(
this
,
OSaveAsDlg
,
EditModifyHdl
));
m_pImpl
->
m_aTitle
.
GrabFocus
();
m_pImpl
->
m_pTitle
->
GrabFocus
();
FreeResource
();
}
}
OUString
OSaveAsDlg
::
getName
()
const
{
return
m_pImpl
->
m_aName
;
}
OUString
OSaveAsDlg
::
getName
()
const
{
return
m_pImpl
->
m_aName
;
}
OUString
OSaveAsDlg
::
getCatalog
()
const
{
return
m_pImpl
->
m_
aCatalog
.
IsVisible
()
?
m_pImpl
->
m_aCatalog
.
GetText
()
:
OUString
();
}
OUString
OSaveAsDlg
::
getCatalog
()
const
{
return
m_pImpl
->
m_
pCatalog
->
IsVisible
()
?
m_pImpl
->
m_pCatalog
->
GetText
()
:
OUString
();
}
OUString
OSaveAsDlg
::
getSchema
()
const
{
return
m_pImpl
->
m_
aSchema
.
IsVisible
()
?
m_pImpl
->
m_aSchema
.
GetText
()
:
OUString
();
}
OUString
OSaveAsDlg
::
getSchema
()
const
{
return
m_pImpl
->
m_
pSchema
->
IsVisible
()
?
m_pImpl
->
m_pSchema
->
GetText
()
:
OUString
();
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
dbaccess/source/ui/dlg/dlgsave.hrc
deleted
100644 → 0
Dosyayı görüntüle @
c234d4c2
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 .
*/
#ifndef DBAUI_DLGSAVE_HRC
#define DBAUI_DLGSAVE_HRC
// defines ------------------------------------------------------------------
#define PB_OK 1
#define PB_CANCEL 1
#define PB_HELP 1
#define ET_CATALOG 1
#define ET_SCHEMA 2
#define ET_TITLE 3
#define FT_DESCRIPTION 1
#define FT_CATALOG 2
#define FT_SCHEMA 3
#define FT_TITLE 4
#define STR_TBL_LABEL 1
#define STR_VW_LABEL 2
#define STR_QRY_LABEL 3
#define STR_TITLE_RENAME 4
#define STR_TITLE_PASTE_AS 6
#endif // DBAUI_DLGSAVE_HRC
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
dbaccess/source/ui/dlg/dlgsave.src
deleted
100644 → 0
Dosyayı görüntüle @
c234d4c2
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*
* This file incorporates work covered by the following license notice:
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright
* ownership. The ASF licenses this file to you under the Apache
* License, Version 2.0 (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.apache.org/licenses/LICENSE-2.0 .
*/
#include "dlgsave.hrc"
#include "dbu_dlg.hrc"
#include "dbaccess_helpid.hrc"
ModalDialog DLG_SAVE_AS
{
OutputSize = TRUE ;
SVLook = TRUE ;
HelpId = HID_DLG_SAVE_AS ;
Size = MAP_APPFONT ( 174 , 75 ) ;
Moveable = TRUE ;
Closeable = TRUE ;
Text [ en-US ] = "Save As" ;
FixedText FT_DESCRIPTION
{
Pos = MAP_APPFONT ( 6 , 6 ) ;
Size = MAP_APPFONT ( 174 - 12 , 16 ) ;
WordBreak=TRUE;
Text [ en-US ] = "Please enter a name for the object to be created:";
};
FixedText FT_CATALOG
{
Pos = MAP_APPFONT ( 6 , 26 ) ;
Size = MAP_APPFONT ( 70 , 10 ) ;
Text [ en-US ] = "~Catalog";
};
ComboBox ET_CATALOG
{
HelpID = "dbaccess:ComboBox:DLG_SAVE_AS:ET_CATALOG";
Border = TRUE ;
Pos = MAP_APPFONT ( 77 , 25 ) ;
Size = MAP_APPFONT ( 89 , 12 ) ;
SVLook = TRUE ;
TabStop = TRUE ;
DropDown = TRUE ;
AutoHScroll = TRUE ;
};
FixedText FT_SCHEMA
{
Pos = MAP_APPFONT ( 6 , 43 ) ;
Size = MAP_APPFONT ( 70 , 10 ) ;
Text [ en-US ] = "~Schema";
};
ComboBox ET_SCHEMA
{
HelpID = "dbaccess:ComboBox:DLG_SAVE_AS:ET_SCHEMA";
Border = TRUE ;
Pos = MAP_APPFONT ( 77 , 42 ) ;
Size = MAP_APPFONT ( 89 , 12 ) ;
SVLook = TRUE ;
TabStop = TRUE ;
DropDown = TRUE ;
AutoHScroll = TRUE ;
};
FixedText FT_TITLE
{
Pos = MAP_APPFONT ( 6 , 60 ) ;
Size = MAP_APPFONT ( 70 , 10 ) ;
};
Edit ET_TITLE
{
HelpID = "dbaccess:Edit:DLG_SAVE_AS:ET_TITLE";
Border = TRUE ;
Pos = MAP_APPFONT ( 77 , 59 ) ;
Size = MAP_APPFONT ( 89 , 12 ) ;
TabStop = TRUE ;
};
OKButton PB_OK
{
Pos = MAP_APPFONT ( 6 , 77 ) ;
Size = MAP_APPFONT ( 50 , 14 ) ;
TabStop = TRUE ;
DefButton = TRUE ;
};
CancelButton PB_CANCEL
{
Pos = MAP_APPFONT ( 62 , 77 ) ;
Size = MAP_APPFONT ( 50 , 14 ) ;
TabStop = TRUE ;
};
HelpButton PB_HELP
{
Pos = MAP_APPFONT ( 118 , 77 ) ;
Size = MAP_APPFONT ( 50 , 14 ) ;
TabStop = TRUE ;
};
// String Resourcen ------------------------------------------------------------------
String STR_TBL_LABEL
{
Text [ en-US ] = "~Table Name" ;
};
String STR_VW_LABEL
{
Text [ en-US ] = "~Name of table view" ;
};
String STR_QRY_LABEL
{
Text [ en-US ] = "~Query name" ;
};
String STR_TITLE_RENAME
{
Text [ en-US ] = "Rename to";
};
String STR_TITLE_PASTE_AS
{
Text [ en-US ] = "Insert as";
};
};
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
dbaccess/source/ui/inc/dbu_resource.hrc
Dosyayı görüntüle @
24a00c43
...
@@ -81,7 +81,6 @@
...
@@ -81,7 +81,6 @@
#define DLG_DATASOURCE_SELECTION RID_DIALOG_START + 4
#define DLG_DATASOURCE_SELECTION RID_DIALOG_START + 4
#define DLG_PARAMETERS RID_DIALOG_START + 5
#define DLG_PARAMETERS RID_DIALOG_START + 5
#define DLG_SAVE_AS RID_DIALOG_START + 11
#define DLG_JOIN_TABADD RID_DIALOG_START + 14
#define DLG_JOIN_TABADD RID_DIALOG_START + 14
#define DLG_QRY_JOIN RID_DIALOG_START + 15
#define DLG_QRY_JOIN RID_DIALOG_START + 15
#define WIZ_RTFCOPYTABLE RID_DIALOG_START + 16
#define WIZ_RTFCOPYTABLE RID_DIALOG_START + 16
...
@@ -267,6 +266,11 @@
...
@@ -267,6 +266,11 @@
#define STR_PAGETITLE_ADVANCED RID_STR_GEN_START + 39
#define STR_PAGETITLE_ADVANCED RID_STR_GEN_START + 39
#define RID_STR_EXTENSION_NOT_PRESENT RID_STR_GEN_START + 40
#define RID_STR_EXTENSION_NOT_PRESENT RID_STR_GEN_START + 40
#define STR_PAGETITLE_CONNECTION RID_STR_GEN_START + 41
#define STR_PAGETITLE_CONNECTION RID_STR_GEN_START + 41
#define STR_TBL_LABEL RID_STR_GEN_START + 42
#define STR_VW_LABEL RID_STR_GEN_START + 43
#define STR_QRY_LABEL RID_STR_GEN_START + 44
#define STR_TITLE_RENAME RID_STR_GEN_START + 45
#define STR_TITLE_PASTE_AS RID_STR_GEN_START + 46
//========================================================================
//========================================================================
// untyped resources
// untyped resources
...
...
dbaccess/uiconfig/ui/savedialog.ui
0 → 100644
Dosyayı görüntüle @
24a00c43
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.16.0 on Tue Feb 4 11:57:25 2014 -->
<interface>
<!-- interface-requires LibreOffice 1.0 -->
<!-- interface-requires gtk+ 3.0 -->
<object
class=
"GtkDialog"
id=
"SaveDialog"
>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"border_width"
>
6
</property>
<property
name=
"title"
translatable=
"yes"
>
Save As
</property>
<property
name=
"type_hint"
>
dialog
</property>
<child
internal-child=
"vbox"
>
<object
class=
"GtkBox"
id=
"dialog-vbox1"
>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"orientation"
>
vertical
</property>
<property
name=
"spacing"
>
12
</property>
<child
internal-child=
"action_area"
>
<object
class=
"GtkButtonBox"
id=
"dialog-action_area1"
>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"layout_style"
>
end
</property>
<child>
<object
class=
"GtkButton"
id=
"ok"
>
<property
name=
"label"
>
gtk-ok
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"can_default"
>
True
</property>
<property
name=
"has_default"
>
True
</property>
<property
name=
"receives_default"
>
True
</property>
<property
name=
"use_stock"
>
True
</property>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
0
</property>
</packing>
</child>
<child>
<object
class=
"GtkButton"
id=
"cancel"
>
<property
name=
"label"
>
gtk-cancel
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"receives_default"
>
True
</property>
<property
name=
"use_stock"
>
True
</property>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"GtkButton"
id=
"help"
>
<property
name=
"label"
>
gtk-help
</property>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"receives_default"
>
True
</property>
<property
name=
"use_stock"
>
True
</property>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
2
</property>
</packing>
</child>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"pack_type"
>
end
</property>
<property
name=
"position"
>
0
</property>
</packing>
</child>
<child>
<object
class=
"GtkGrid"
id=
"grid1"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"row_spacing"
>
6
</property>
<property
name=
"column_spacing"
>
12
</property>
<child>
<object
class=
"GtkLabel"
id=
"descriptionft"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"label"
translatable=
"yes"
>
Please enter a name for the object to be created:
</property>
<property
name=
"wrap"
>
True
</property>
<property
name=
"max_width_chars"
>
52
</property>
</object>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"top_attach"
>
0
</property>
<property
name=
"width"
>
2
</property>
<property
name=
"height"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"GtkLabel"
id=
"catalogft"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"label"
translatable=
"yes"
>
_Catalog
</property>
<property
name=
"use_underline"
>
True
</property>
<property
name=
"mnemonic_widget"
>
catalog
</property>
</object>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"top_attach"
>
1
</property>
<property
name=
"width"
>
1
</property>
<property
name=
"height"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"GtkLabel"
id=
"schemaft"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"label"
translatable=
"yes"
>
_Schema
</property>
<property
name=
"use_underline"
>
True
</property>
<property
name=
"mnemonic_widget"
>
schema
</property>
</object>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"top_attach"
>
2
</property>
<property
name=
"width"
>
1
</property>
<property
name=
"height"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"dbulo-OSQLNameComboBox"
id=
"schema"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"hexpand"
>
True
</property>
</object>
<packing>
<property
name=
"left_attach"
>
1
</property>
<property
name=
"top_attach"
>
2
</property>
<property
name=
"width"
>
1
</property>
<property
name=
"height"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"GtkLabel"
id=
"titleft"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"xalign"
>
0
</property>
<property
name=
"use_underline"
>
True
</property>
<property
name=
"mnemonic_widget"
>
title
</property>
</object>
<packing>
<property
name=
"left_attach"
>
0
</property>
<property
name=
"top_attach"
>
3
</property>
<property
name=
"width"
>
1
</property>
<property
name=
"height"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"dbulo-OSQLNameEdit"
id=
"title"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
True
</property>
<property
name=
"hexpand"
>
True
</property>
</object>
<packing>
<property
name=
"left_attach"
>
1
</property>
<property
name=
"top_attach"
>
3
</property>
<property
name=
"width"
>
1
</property>
<property
name=
"height"
>
1
</property>
</packing>
</child>
<child>
<object
class=
"dbulo-OSQLNameComboBox"
id=
"catalog"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"can_focus"
>
False
</property>
<property
name=
"hexpand"
>
True
</property>
</object>
<packing>
<property
name=
"left_attach"
>
1
</property>
<property
name=
"top_attach"
>
1
</property>
<property
name=
"width"
>
1
</property>
<property
name=
"height"
>
1
</property>
</packing>
</child>
</object>
<packing>
<property
name=
"expand"
>
False
</property>
<property
name=
"fill"
>
True
</property>
<property
name=
"position"
>
1
</property>
</packing>
</child>
</object>
</child>
<action-widgets>
<action-widget
response=
"0"
>
ok
</action-widget>
<action-widget
response=
"0"
>
cancel
</action-widget>
<action-widget
response=
"0"
>
help
</action-widget>
</action-widgets>
</object>
</interface>
extras/source/glade/libreoffice-catalog.xml.in
Dosyayı görüntüle @
24a00c43
...
@@ -33,6 +33,9 @@
...
@@ -33,6 +33,9 @@
<glade-widget-class
title=
"Hyphen Edit"
name=
"cuilo-HyphenEdit"
<glade-widget-class
title=
"Hyphen Edit"
name=
"cuilo-HyphenEdit"
generic-name=
"ReplaceEdit"
parent=
"GtkEntry"
generic-name=
"ReplaceEdit"
parent=
"GtkEntry"
icon-name=
"widget-gtk-textentry"
/>
icon-name=
"widget-gtk-textentry"
/>
<glade-widget-class
title=
"OSQL NameEdit"
name=
"dbulo-OSQLNameEdit"
generic-name=
"OSQLNameEdit"
parent=
"GtkEntry"
icon-name=
"widget-gtk-textentry"
/>
<glade-widget-class
title=
"VclComboBoxText"
name=
"VclComboBoxText"
<glade-widget-class
title=
"VclComboBoxText"
name=
"VclComboBoxText"
generic-name=
"ComboBoxText"
parent=
"GtkComboBoxText"
generic-name=
"ComboBoxText"
parent=
"GtkComboBoxText"
...
@@ -214,6 +217,11 @@
...
@@ -214,6 +217,11 @@
<glade-widget-class
title=
"Limit ListBox"
name=
"dbulo-LimitBox"
<glade-widget-class
title=
"Limit ListBox"
name=
"dbulo-LimitBox"
generic-name=
"LimitBox"
parent=
"GtkComboBox"
generic-name=
"LimitBox"
parent=
"GtkComboBox"
icon-name=
"widget-gtk-combobox"
/>
icon-name=
"widget-gtk-combobox"
/>
<glade-widget-class
title=
"OSQL NameComboBox"
name=
"dbulo-OSQLNameComboBox"
generic-name=
"OSQLNameComboBox"
parent=
"GtkComboBox"
icon-name=
"widget-gtk-combobox"
/>
<glade-widget-class
title=
"Font Preview"
name=
"svxlo-SvxFontPrevWindow"
<glade-widget-class
title=
"Font Preview"
name=
"svxlo-SvxFontPrevWindow"
generic-name=
"Font Preview Window"
parent=
"GtkDrawingArea"
generic-name=
"Font Preview Window"
parent=
"GtkDrawingArea"
icon-name=
"widget-gtk-drawingarea"
>
icon-name=
"widget-gtk-drawingarea"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment