diff options
-rw-r--r-- | schema/libreoffice/OpenDocument-schema-v1.3+libreoffice.rng | 10 | ||||
-rw-r--r-- | xmloff/source/forms/elementexport.cxx | 2 |
2 files changed, 11 insertions, 1 deletions
diff --git a/schema/libreoffice/OpenDocument-schema-v1.3+libreoffice.rng b/schema/libreoffice/OpenDocument-schema-v1.3+libreoffice.rng index adae650eafc9..d59314e99771 100644 --- a/schema/libreoffice/OpenDocument-schema-v1.3+libreoffice.rng +++ b/schema/libreoffice/OpenDocument-schema-v1.3+libreoffice.rng @@ -2313,6 +2313,16 @@ xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1. </rng:optional> </rng:define> + <!-- TODO no proposal; see 7a5d79f2297a43d0a854e304b0792164272edfe0 --> + <!-- FIXME this is almost certainly incomplete: need to figure out which elements can have this and which named pattern can be extended with it to get exactly these elements --> + <rng:define name="form-checkbox-attlist" combine="interleave"> + <rng:optional> + <rng:attribute name="form:input-required"> + <rng:ref name="boolean"/> + </rng:attribute> + </rng:optional> + </rng:define> + <!-- just a test-case for user-defined attributes, move along, nothing to see here... --> <rng:define name="style-table-cell-properties-attlist" combine="interleave"> <rng:optional> diff --git a/xmloff/source/forms/elementexport.cxx b/xmloff/source/forms/elementexport.cxx index d0fee7480896..410192d84284 100644 --- a/xmloff/source/forms/elementexport.cxx +++ b/xmloff/source/forms/elementexport.cxx @@ -835,7 +835,7 @@ namespace xmloff OAttributeMetaData::getDatabaseAttributeNamespace(), OAttributeMetaData::getDatabaseAttributeName( DAFlags::InputRequired ), PROPERTY_INPUT_REQUIRED, - BoolAttrFlags::DefaultFalse + BoolAttrFlags::DefaultFalse | BoolAttrFlags::DefaultVoid ); RESET_BIT( nIncludeDatabase, DAFlags::InputRequired ); } |