From 5d8f1bb5404eb3534e1c84538d14a590591bd23f Mon Sep 17 00:00:00 2001 From: Colomban Wendling Date: Thu, 13 Sep 2018 10:26:12 +0200 Subject: [PATCH] Add support for text:h wrapping draw:frame --- strip-frames.xsl | 42 ++++++++++++++++++++++++++++-------------- 1 file changed, 28 insertions(+), 14 deletions(-) diff --git a/strip-frames.xsl b/strip-frames.xsl index 8e39c3f..c849e7e 100644 --- a/strip-frames.xsl +++ b/strip-frames.xsl @@ -24,7 +24,8 @@ - + @@ -56,8 +57,9 @@ - - Removed outer text:p + + Removed outer @@ -84,17 +86,29 @@ - - Re-added text:p wrapping element - - - - + + Re-added wrapping element + + + + + + + + + + - + draw:frame draw:text-box @@ -107,9 +121,9 @@ - - Unsupported input with a draw:frame not inside a text:p (but a ) but with draw:text-box children - Unsupported input with a draw:frame not inside a text:p (but a ) but with draw:text-box children + + Unsupported input with a draw:frame not inside a text:p or text:h (but a ) but with draw:text-box children + Unsupported input with a draw:frame not inside a text:p or text:h (but a ) but with draw:text-box children -- GitLab