summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKurt Zenker <kz@openoffice.org>2008-06-25 13:30:14 +0000
committerKurt Zenker <kz@openoffice.org>2008-06-25 13:30:14 +0000
commitf054526a65caf3671811affbbc07965b615a62b6 (patch)
treed96ca50ec0417f30472d5d2a984a5368e347d90f
parent3a26e0fbaf77ce12345b0b51458fac26bdf0cd94 (diff)
INTEGRATION: CWS xformsdocmodify (1.5.24); FILE MERGED
2008/06/02 21:44:12 fs 1.5.24.1: #i90243# implement a ExternalData property which controls whether changes in the model data should mark the embedding document as modified
-rw-r--r--forms/source/xforms/binding.hxx7
-rw-r--r--forms/source/xforms/model.hxx7
2 files changed, 10 insertions, 4 deletions
diff --git a/forms/source/xforms/binding.hxx b/forms/source/xforms/binding.hxx
index 6174391bd8ec..a830ee2bd982 100644
--- a/forms/source/xforms/binding.hxx
+++ b/forms/source/xforms/binding.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: binding.hxx,v $
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
* This file is part of OpenOffice.org.
*
@@ -239,8 +239,9 @@ public:
// read-only properties that map MIPs to control data source properties
- bool getReadOnly() const; // MIP readonly
- bool getRelevant() const; // MIP relevant
+ bool getReadOnly() const; // MIP readonly
+ bool getRelevant() const; // MIP relevant
+ bool getExternalData() const; // mapped from model's ExternalData property
// missing binding properties:
diff --git a/forms/source/xforms/model.hxx b/forms/source/xforms/model.hxx
index 40ecf084b2cf..5dc19c7aadf3 100644
--- a/forms/source/xforms/model.hxx
+++ b/forms/source/xforms/model.hxx
@@ -7,7 +7,7 @@
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: model.hxx,v $
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
* This file is part of OpenOffice.org.
*
@@ -138,6 +138,7 @@ private:
MIPs_t maMIPs; /// map nodes to their MIPs
bool mbInitialized; /// has model been initialized ?
+ bool mbExternalData; /// is the data of this model to be considered an ingegral part of the document?
void initializePropertySet();
@@ -171,6 +172,10 @@ public:
XNameContainer_t getNamespaces() const;
void setNamespaces( const XNameContainer_t& );
+ // get/set the ExternalData property
+ bool getExternalData() const;
+ void setExternalData( bool _bData );
+
#if OSL_DEBUG_LEVEL > 1
void dbg_assertInvariant() const;