diff options
author | Frank Schönheit <fs@openoffice.org> | 2001-03-23 09:54:56 +0000 |
---|---|---|
committer | Frank Schönheit <fs@openoffice.org> | 2001-03-23 09:54:56 +0000 |
commit | 5c00371f9ea158844cf4328a2d0c63c76948e500 (patch) | |
tree | a56d92a81c328f1ea4d3400306a9e58758fe7c3a /dbaccess/source/ui/inc/dlgsave.hxx | |
parent | new DnD implementations - no DnD tables/queries in the explorer pane (diff) | |
download | core-5c00371f9ea158844cf4328a2d0c63c76948e500.tar.gz core-5c00371f9ea158844cf4328a2d0c63c76948e500.zip |
slightly extended the functionallity (additional description field (optional), title other than the default (optional, too))
Diffstat (limited to 'dbaccess/source/ui/inc/dlgsave.hxx')
-rw-r--r-- | dbaccess/source/ui/inc/dlgsave.hxx | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/dbaccess/source/ui/inc/dlgsave.hxx b/dbaccess/source/ui/inc/dlgsave.hxx index b12a4af2c607..0cf81bcbc0f1 100644 --- a/dbaccess/source/ui/inc/dlgsave.hxx +++ b/dbaccess/source/ui/inc/dlgsave.hxx @@ -2,9 +2,9 @@ * * $RCSfile: dlgsave.hxx,v $ * - * $Revision: 1.3 $ + * $Revision: 1.4 $ * - * last change: $Author: oj $ $Date: 2001-03-02 14:38:24 $ + * last change: $Author: fs $ $Date: 2001-03-23 10:54:56 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -83,11 +83,19 @@ #include <vcl/msgbox.hxx> #endif +#define SAD_DEFAULT 0x0000 +#define SAD_OVERWRITE 0x0001 +#define SAD_ADDITIONAL_DESCRIPTION 0x0002 + +#define SAD_TITLE_STORE_AS 0x0000 +#define SAD_TITLE_PASTE_AS 0x0100 + namespace dbaui { class OSaveAsDlg : public ModalDialog { private: + FixedText m_aDescription; FixedText m_aCatalogLbl; Edit m_aCatalog; FixedText m_aSchemaLbl; @@ -105,7 +113,7 @@ namespace dbaui ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess> m_xNames; ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XDatabaseMetaData> m_xMetaData; sal_Int32 m_nType; - sal_Bool m_bOverWrite; + sal_Int32 m_nFlags; public: @@ -113,7 +121,7 @@ namespace dbaui const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess>& _rxNames, const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XDatabaseMetaData>& _rxMetaData, const String& rDefault, - sal_Bool _bOverWrite = sal_False); + sal_Int32 _nFlags = SAD_DEFAULT | SAD_TITLE_STORE_AS); String getName() const { return m_aName; } String getCatalog() const { return m_aCatalog.IsVisible() ? m_aCatalog.GetText() : String(); } |