summaryrefslogtreecommitdiff
path: root/xmloff/source/forms/propertyimport.hxx
diff options
context:
space:
mode:
authorFrank Schönheit <fs@openoffice.org>2002-11-01 11:34:08 +0000
committerFrank Schönheit <fs@openoffice.org>2002-11-01 11:34:08 +0000
commit32606bc87ecf2bc004eaf8984ca85af59a675fac (patch)
tree37b52caa85ce10d3d18858d284804281d6027bad /xmloff/source/forms/propertyimport.hxx
parent46936e223a9f8a221895d8bce880b4d268c97a91 (diff)
#102407# (on behalf of BerryJia@openoffice.org) introduced property-is-void attribute for writing generic property values which are void, but not default
Diffstat (limited to 'xmloff/source/forms/propertyimport.hxx')
-rw-r--r--xmloff/source/forms/propertyimport.hxx17
1 files changed, 14 insertions, 3 deletions
diff --git a/xmloff/source/forms/propertyimport.hxx b/xmloff/source/forms/propertyimport.hxx
index 1149d9fc24ec..c8c4ba1f28e0 100644
--- a/xmloff/source/forms/propertyimport.hxx
+++ b/xmloff/source/forms/propertyimport.hxx
@@ -2,9 +2,9 @@
*
* $RCSfile: propertyimport.hxx,v $
*
- * $Revision: 1.9 $
+ * $Revision: 1.10 $
*
- * last change: $Author: fs $ $Date: 2002-10-25 13:19:34 $
+ * last change: $Author: fs $ $Date: 2002-11-01 12:31:51 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -255,13 +255,21 @@ namespace xmloff
class OAccumulateCharacters : public SvXMLImportContext
{
protected:
- ::rtl::OUString m_sCharacters;
+ ::rtl::OUString m_sCharacters;
+ sal_Bool m_bPropertyIsVoid; //added by BerryJia for Bug102407
+
public:
OAccumulateCharacters(SvXMLImport& _rImport, sal_uInt16 _nPrefix, const ::rtl::OUString& _rName);
+ virtual void StartElement(
+ const ::com::sun::star::uno::Reference< ::com::sun::star::xml::sax::XAttributeList >& _rxAttrList);
+
// SvXMLImportContext overridables
virtual void Characters(const ::rtl::OUString& _rChars);
+ //added by BerryJia for Bug102407
+ sal_Bool isVoid();
+
::rtl::OUString getCharacters() const { return m_sCharacters; }
};
SV_IMPL_REF( OAccumulateCharacters )
@@ -275,6 +283,9 @@ namespace xmloff
/*************************************************************************
* history:
* $Log: not supported by cvs2svn $
+ * Revision 1.9 2002/10/25 13:19:34 fs
+ * #104402# importing grid column styles now
+ *
* Revision 1.8 2001/03/29 09:44:19 fs
* enableTrackAttributes to prevent the (expensive) attribute tracking
*