summaryrefslogtreecommitdiff
path: root/schema
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.com>2022-03-11 12:29:30 +0100
committerMiklos Vajna <vmiklos@collabora.com>2022-03-29 14:22:45 +0200
commit9ac75ca18463203b0f0b70bf9dd35985636ebaf0 (patch)
treee6cf78c77a105347eac415d4bad45c2b6a471366 /schema
parent0e496d1f0d3fe884f28ddfe86a1b8462bab2fb56 (diff)
sw clearing breaks: add ODF export
Write the clearing break as: <text:line-break loext:clear="..."/> (cherry picked from commit 07c2b73d16425fb6d3ea8ab9ec15c87e9548acda) Conflicts: xmloff/qa/unit/text.cxx Change-Id: Ieb517b825f2ee162bb70a453a3756ec870fa8aac Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132259 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'schema')
-rw-r--r--schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng17
1 files changed, 17 insertions, 0 deletions
diff --git a/schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng b/schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng
index 3919ba47f04f..0d64385a7e67 100644
--- a/schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng
+++ b/schema/libreoffice/OpenDocument-v1.3+libreoffice-schema.rng
@@ -2581,6 +2581,23 @@ xmlns:loext="urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.
</rng:element>
</rng:define>
+ <!-- TODO no proposal for clearing breaks -->
+ <rng:define name="paragraph-content" combine="choice">
+ <rng:element name="text:line-break">
+ <rng:optional>
+ <!-- default value: none -->
+ <rng:attribute name="loext:clear">
+ <rng:choice>
+ <rng:value>none</rng:value>
+ <rng:value>left</rng:value>
+ <rng:value>right</rng:value>
+ <rng:value>all</rng:value>
+ </rng:choice>
+ </rng:attribute>
+ </rng:optional>
+ </rng:element>
+ </rng:define>
+
<!-- TODO no proposal -->
<rng:define name="animation-element" combine="choice">
<rng:choice>