diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2021-02-03 15:36:03 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2021-02-03 16:55:51 +0100 |
commit | 11e91719ef362e38b3b92e525763a5a89f4eeecb (patch) | |
tree | b2252a8188b9a173b6fac38ee453dedb99eb9c62 /schema | |
parent | acfd369ebbd59d64290a846f49815592b6b95b30 (diff) |
tdf#91920 sw page gutter margin: add ODF filter
Note that the context filter is not set, since fo:margin affects left
margin, but should not affect the gutter margin.
Also put the new entry at the end, but before the header and footer
sections, so the attribute is written to the correct XML element.
Change-Id: I3588d4e76cd713efed168eb93b9456bba96727fe
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/110375
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'schema')
-rw-r--r-- | schema/libreoffice/OpenDocument-schema-v1.3+libreoffice.rng | 12 |
1 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 0c0b41ef4ca9..89913cbf7e63 100644 --- a/schema/libreoffice/OpenDocument-schema-v1.3+libreoffice.rng +++ b/schema/libreoffice/OpenDocument-schema-v1.3+libreoffice.rng @@ -2291,7 +2291,6 @@ xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1. </rng:optional> </rng:define> - <!-- TODO: no proposal for loext:vertical-rel="page-content-top" --> <!-- https://issues.oasis-open.org/browse/OFFICE-4073 --> <rng:define name="common-vertical-rel-attlist" combine="interleave"> <rng:optional> @@ -2304,6 +2303,17 @@ xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1. </rng:optional> </rng:define> + <!-- TODO: no proposal for loext:margin-gutter="..." --> + <rng:define name="style-page-layout-properties-attlist" combine="interleave"> + <rng:optional> + <rng:attribute name="loext:margin-gutter"> + <rng:choice> + <rng:ref name="length"/> + </rng:choice> + </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> |