From 2a76ccd24030e16ad284349ca75187e1a96f38e0 Mon Sep 17 00:00:00 2001 From: Svante Schubert Date: Wed, 26 Apr 2023 18:42:03 +0200 Subject: [PATCH] Adding several feature updates & a preliminary fix for frames (to be tested with spec) --- .../tools/odf2html/export/common/body.xsl | 2 +- .../common/styles/style_mapping_css.xsl | 2 +- .../tools/odf2html/export/xhtml/body.xsl | 85 +++++++++++++------ 3 files changed, 60 insertions(+), 29 deletions(-) diff --git a/src/test/resources/odf1.4/tools/odf2html/export/common/body.xsl b/src/test/resources/odf1.4/tools/odf2html/export/common/body.xsl index 9b10e561..4e381df3 100644 --- a/src/test/resources/odf1.4/tools/odf2html/export/common/body.xsl +++ b/src/test/resources/odf1.4/tools/odf2html/export/common/body.xsl @@ -81,7 +81,7 @@ - + diff --git a/src/test/resources/odf1.4/tools/odf2html/export/common/styles/style_mapping_css.xsl b/src/test/resources/odf1.4/tools/odf2html/export/common/styles/style_mapping_css.xsl index c81cc9a1..06e22d7e 100644 --- a/src/test/resources/odf1.4/tools/odf2html/export/common/styles/style_mapping_css.xsl +++ b/src/test/resources/odf1.4/tools/odf2html/export/common/styles/style_mapping_css.xsl @@ -23,7 +23,7 @@ - + background-color: ; diff --git a/src/test/resources/odf1.4/tools/odf2html/export/xhtml/body.xsl b/src/test/resources/odf1.4/tools/odf2html/export/xhtml/body.xsl index 973881fa..f9aa46c2 100644 --- a/src/test/resources/odf1.4/tools/odf2html/export/xhtml/body.xsl +++ b/src/test/resources/odf1.4/tools/odf2html/export/xhtml/body.xsl @@ -139,15 +139,21 @@ + - + max-width: - + + ; + + + max-height: + ; @@ -254,20 +260,20 @@ Next 'div' was a 'draw:text-box'. - - - - + + + + - + - + - - - + + + @@ -366,7 +372,7 @@ - + @@ -437,7 +443,7 @@ - + @@ -795,7 +801,7 @@ ; - @@ -808,7 +814,6 @@ - @@ -953,7 +958,6 @@ - @@ -1031,6 +1035,7 @@ + @@ -1071,18 +1077,28 @@ padding:0; - - - float:left; position:relative; left: - - cm; - - + + + + float:left; position:relative; left: + + cm; + + + top: + + cm; + + + + position:absolute; left: + + cm; top: - + cm; - - + + @@ -2816,7 +2832,22 @@ - + + + + + + + + + + + + + + + +