[PATCH 17/17] XHTML export: remove 'odfLiEnd'

2014-08-15 Thread andrew-libreoffice . org
From: Andrew Sayers Inserting space to work around an IE6/7 bug does more harm than good nowadays. --- filter/source/xslt/odf2xhtml/export/xhtml/body.xsl | 6 -- filter/source/xslt/odf2xhtml/export/xhtml/header.xsl | 5 - 2 files changed, 11 deletions(-) diff --git filter/source/xslt/

[PATCH 09/17] XHTML export: Add markup and styles for page-breaks

2014-08-14 Thread andrew-libreoffice . org
From: Andrew Sayers --- filter/source/xslt/odf2xhtml/export/common/body.xsl | 2 +- .../xslt/odf2xhtml/export/common/styles/style_mapping_css.xsl | 6 ++ filter/source/xslt/odf2xhtml/export/xhtml/body.xsl | 6 ++ 3 files changed, 13 insertions(+), 1

[PATCH 11/17] XHTML export: Mildly sanitise bullet points

2014-08-14 Thread andrew-libreoffice . org
From: Andrew Sayers --- filter/source/xslt/odf2xhtml/export/xhtml/body.xsl | 14 +++--- filter/source/xslt/odf2xhtml/export/xhtml/header.xsl | 2 ++ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git filter/source/xslt/odf2xhtml/export/xhtml/body.xsl filter/source/xslt/odf2

[PATCH 15/17] XHTML export: hide unhelpful comments

2014-08-14 Thread andrew-libreoffice . org
From: Andrew Sayers --- filter/source/xslt/odf2xhtml/export/xhtml/body.xsl | 26 +++--- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git filter/source/xslt/odf2xhtml/export/xhtml/body.xsl filter/source/xslt/odf2xhtml/export/xhtml/body.xsl index 1126f8e..60b5808 1006

[PATCH 04/17] XHML Export: break incredibly long line

2014-08-14 Thread andrew-libreoffice . org
From: Andrew Sayers `git send-email` requires the `--no-validate` option to send patches with lines that break RFC 2281's 998 character line-length limit. Breaking the line up removes a hurdle for future developers. --- As this patch is being sent by e-mail, obviously there's a chance some progr

[PATCH 02/17] XHTML export: improve comments

2014-08-14 Thread andrew-libreoffice . org
From: Andrew Sayers --- .../export/common/styles/style_collector.xsl | 2 +- filter/source/xslt/odf2xhtml/export/xhtml/body.xsl | 45 +++--- .../source/xslt/odf2xhtml/export/xhtml/table.xsl | 4 +- 3 files changed, 25 insertions(+), 26 deletions(-) diff --git filter/s

[PATCH 05/17] XHTML export: convert DOS newlines to Unix newlines

2014-08-14 Thread andrew-libreoffice . org
From: Andrew Sayers --- .../source/xslt/odf2xhtml/export/common/body.xsl | 798 ++--- .../export/common/styles/style_mapping_css.xsl | 666 - 2 files changed, 732 insertions(+), 732 deletions(-) diff --git filter/source/xslt/odf2xhtml/export/common/body.xsl

[PATCH 01/17] XSLT: Better error messages in measure_conversion.xsl

2014-08-14 Thread andrew-libreoffice . org
From: Andrew Sayers --- Hi LibreOffice, Earlier this year I needed to do some work with HTML document export. This patchset represents the sundry improvements I made along the way. The code has been stable for a while now, so I've rebased it and sent it in. I don't expect to make any more cha

[PATCH 08/17] XHTML export: Change the non-existent "h" tag to a "div" tag

2014-08-14 Thread andrew-libreoffice . org
From: Andrew Sayers --- filter/source/xslt/odf2xhtml/export/xhtml/body.xsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git filter/source/xslt/odf2xhtml/export/xhtml/body.xsl filter/source/xslt/odf2xhtml/export/xhtml/body.xsl index d4d5ee7..fdc4e19 100644 --- filter/source/xslt

[PATCH 07/17] XHTML export: Use zero-width spaces instead of non-breaking spaces

2014-08-14 Thread andrew-libreoffice . org
From: Andrew Sayers The XHTML writer sometimes needs to force an element to have height. Using non-breaking spaces in underlined paragraphs shows an ugly underline, so we use zero-width spaces instead. --- filter/source/xslt/odf2xhtml/export/xhtml/body.xsl | 22 +++--- .../source

[PATCH 16/17] XHTML export: less-ugly createTabIndent implementation

2014-08-14 Thread andrew-libreoffice . org
From: Andrew Sayers "createTabIndent" used to position spans absolutely, so a paragraph with nothing but indented s would be set to zero height. A document that uses tabs on adjacent paragraphs will therefore see all the text on top of each other. Padding gets much closer to the document's inte

[PATCH 10/17] XHTML export: Don't print redundant styles

2014-08-14 Thread andrew-libreoffice . org
From: Andrew Sayers --- filter/source/xslt/odf2xhtml/export/xhtml/header.xsl | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git filter/source/xslt/odf2xhtml/export/xhtml/header.xsl filter/source/xslt/odf2xhtml/export/xhtml/header.xsl index 6af404c..98ee59b 100644 --- filter

[PATCH 14/17] XHTML export: avoid useless attempts to convert measures

2014-08-14 Thread andrew-libreoffice . org
From: Andrew Sayers --- .../odf2xhtml/export/common/styles/style_mapping_css.xsl | 11 --- filter/source/xslt/odf2xhtml/export/xhtml/body.xsl | 16 ++-- 2 files changed, 18 insertions(+), 9 deletions(-) diff --git filter/source/xslt/odf2xhtml/export/common/styles/styl

[PATCH 06/17] XHTML export: Specify the font-family for bullet points

2014-08-14 Thread andrew-libreoffice . org
From: Andrew Sayers --- filter/source/xslt/odf2xhtml/export/xhtml/body.xsl | 10 ++ 1 file changed, 10 insertions(+) diff --git filter/source/xslt/odf2xhtml/export/xhtml/body.xsl filter/source/xslt/odf2xhtml/export/xhtml/body.xsl index 6f3e980..fc018c4 100644 --- filter/source/xslt/odf

[PATCH 13/17] XHTML export: silence an unhelpful warning

2014-08-14 Thread andrew-libreoffice . org
From: Andrew Sayers --- filter/source/xslt/odf2xhtml/export/common/body.xsl | 2 +- filter/source/xslt/odf2xhtml/export/xhtml/body.xsl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git filter/source/xslt/odf2xhtml/export/common/body.xsl filter/source/xslt/odf2xhtml/export/

[PATCH 12/17] XHTML export: strip whitespace in binary data

2014-08-14 Thread andrew-libreoffice . org
From: Andrew Sayers Fixes output in xsltproc --- filter/source/xslt/odf2xhtml/export/common/body.xsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git filter/source/xslt/odf2xhtml/export/common/body.xsl filter/source/xslt/odf2xhtml/export/common/body.xsl index cfb464f..5aed262 1

[PATCH 03/17] XHTML export: remove trailing space

2014-08-14 Thread andrew-libreoffice . org
From: Andrew Sayers --- .../source/xslt/odf2xhtml/export/common/body.xsl | 68 +++--- .../export/common/styles/style_mapping_css.xsl | 6 +- 2 files changed, 37 insertions(+), 37 deletions(-) diff --git filter/source/xslt/odf2xhtml/export/common/body.xsl filter/source/xs