summaryrefslogtreecommitdiff
path: root/schema
diff options
context:
space:
mode:
authorSzabolcs Toth <toth.szabolcs@nisz.hu>2020-10-15 16:13:08 +0200
committerLászló Németh <nemeth@numbertext.org>2020-10-29 17:52:48 +0100
commitbc9049851fd7e914fd695bcfb3c9a94a19634ce0 (patch)
tree2bc56c13a71ff0e8125b569c2a290a6474fa5cac /schema
parentec7feef1bcd055098e49e55df3737148e62b75cb (diff)
tdf#137627 sw top page border orientation: add ODF
Map between RelOrientation::PAGE_PRINT_AREA_TOP and loext:vertical-rel="page-content-top". Follow-up of commit 1c593e1916c9164c7db71da2017cfc26972f8e9f (tdf#133045 sw: add shape alignment to the top page border). See also commit 65b7873aab5deec7157328047e869a6385e0a74a (sw from-bottom relative orientation: add ODF filter). Change-Id: I9bff7a9507152262dda7d126fa3e7e1bee6a8276 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104554 Tested-by: Jenkins Tested-by: László Németh <nemeth@numbertext.org> Reviewed-by: László Németh <nemeth@numbertext.org>
Diffstat (limited to 'schema')
-rw-r--r--schema/libreoffice/OpenDocument-schema-v1.3+libreoffice.rng2
1 files changed, 2 insertions, 0 deletions
diff --git a/schema/libreoffice/OpenDocument-schema-v1.3+libreoffice.rng b/schema/libreoffice/OpenDocument-schema-v1.3+libreoffice.rng
index 9167044ca87e..0c0b41ef4ca9 100644
--- a/schema/libreoffice/OpenDocument-schema-v1.3+libreoffice.rng
+++ b/schema/libreoffice/OpenDocument-schema-v1.3+libreoffice.rng
@@ -2291,11 +2291,13 @@ 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>
<rng:attribute name="loext:vertical-rel">
<rng:choice>
+ <rng:value>page-content-top</rng:value>
<rng:value>page-content-bottom</rng:value>
</rng:choice>
</rng:attribute>