summaryrefslogtreecommitdiff
path: root/xmloff/inc/txtfldi.hxx
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2004-08-02 13:10:41 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2004-08-02 13:10:41 +0000
commit49bc7c309bd7fd168cea0491015f218fe5e036b8 (patch)
tree0452fbee09c8e050d5be37458c52ad88fbcf3739 /xmloff/inc/txtfldi.hxx
parent76774da2c68f765d17c0200c34169fcb5384113f (diff)
INTEGRATION: CWS insight01 (1.23.32); FILE MERGED
2004/07/23 12:41:15 oj 1.23.32.4: RESYNC: (1.25-1.26); FILE MERGED 2004/06/21 09:03:08 dvo 1.23.32.3: #i25411# load/save connection-resource as XLink 2004/05/28 10:22:14 oj 1.23.32.2: RESYNC: (1.23-1.25); FILE MERGED 2004/05/19 12:00:29 dvo 1.23.32.1: #i25411# read/write database fields with database URLs or database resource strings
Diffstat (limited to 'xmloff/inc/txtfldi.hxx')
-rw-r--r--xmloff/inc/txtfldi.hxx17
1 files changed, 14 insertions, 3 deletions
diff --git a/xmloff/inc/txtfldi.hxx b/xmloff/inc/txtfldi.hxx
index 5a168ff61510..03aaf6e26389 100644
--- a/xmloff/inc/txtfldi.hxx
+++ b/xmloff/inc/txtfldi.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: txtfldi.hxx,v $
*
- * $Revision: 1.26 $
+ * $Revision: 1.27 $
*
- * last change: $Author: rt $ $Date: 2004-07-13 07:57:10 $
+ * last change: $Author: hr $ $Date: 2004-08-02 14:10:41 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -522,12 +522,14 @@ public:
/** superclass for database fields: handle database and table names */
class XMLDatabaseFieldImportContext : public XMLTextFieldImportContext
{
- const ::rtl::OUString sPropertyDatabaseName;
+ const ::rtl::OUString sPropertyDataBaseName;
+ const ::rtl::OUString sPropertyDataBaseURL;
const ::rtl::OUString sPropertyTableName;
const ::rtl::OUString sPropertyDataCommandType;
const ::rtl::OUString sPropertyIsVisible;
::rtl::OUString sDatabaseName;
+ ::rtl::OUString sDatabaseURL;
::rtl::OUString sTableName;
sal_Int32 nCommandType;
@@ -539,6 +541,8 @@ class XMLDatabaseFieldImportContext : public XMLTextFieldImportContext
protected:
sal_Bool bDatabaseOK;
+ sal_Bool bDatabaseNameOK;
+ sal_Bool bDatabaseURLOK;
sal_Bool bTableOK;
/// protected constructor: only for subclasses
@@ -561,6 +565,13 @@ TYPEINFO();
virtual void PrepareField(
const ::com::sun::star::uno::Reference<
::com::sun::star::beans::XPropertySet> & xPropertySet);
+
+ /// handle database-location children
+ virtual SvXMLImportContext *CreateChildContext(
+ sal_uInt16 nPrefix,
+ const ::rtl::OUString& rLocalName,
+ const ::com::sun::star::uno::Reference<
+ ::com::sun::star::xml::sax::XAttributeList> & xAttrList );
};
/** import database name fields (<text:database-name>) */