summaryrefslogtreecommitdiff
path: root/xmloff/source/forms/propertyexport.hxx
diff options
context:
space:
mode:
authorLionel Elie Mamane <lionel@mamane.lu>2013-06-27 17:14:16 +0200
committerLionel Elie Mamane <lionel@mamane.lu>2013-06-27 18:53:00 +0200
commitf237f1a616d973397511575c1eb033731d6007f7 (patch)
tree6938f60f32a0e092e16ddfb7fabd13104fe86bd8 /xmloff/source/forms/propertyexport.hxx
parent4e7ab6e525d7ad4078786796267c2fa37d7f7ca8 (diff)
fdo#66171 ListBox correctly save empty or zero BoundColumn
Change-Id: I05fa923f962191081ea3318837d3e181c183b466
Diffstat (limited to 'xmloff/source/forms/propertyexport.hxx')
-rw-r--r--xmloff/source/forms/propertyexport.hxx11
1 files changed, 8 insertions, 3 deletions
diff --git a/xmloff/source/forms/propertyexport.hxx b/xmloff/source/forms/propertyexport.hxx
index a5567538af47..ffc7f7cc5b80 100644
--- a/xmloff/source/forms/propertyexport.hxx
+++ b/xmloff/source/forms/propertyexport.hxx
@@ -160,14 +160,19 @@ namespace xmloff
@param _pPropertyName
the name of the property to ask the control for
@param _nDefault
- the default of the attribute. If the current property value equals this default, no
- attribute is added.
+ the default of the attribute. See force parameter.
+ @param force
+ if true and the property is not set or does not contain a sal_Int16,
+ then _nDefault is written out.
+ if false and the current property value equals _nDefault,
+ then no attribute is added.
*/
void exportInt16PropertyAttribute(
const sal_uInt16 _nNamespaceKey,
const sal_Char* _pAttributeName,
const OUString& _rPropertyName,
- const sal_Int16 _nDefault);
+ const sal_Int16 _nDefault,
+ const bool force = false);
/** add an attribute which is represented by a sal_Int32 property to the export context