Download it now!
Bug 115375 - Table cells exported to EPUB with erroneous inline styles
Summary: Table cells exported to EPUB with erroneous inline styles
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
6.1.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: EPUB-Export
  Show dependency treegraph
 
Reported: 2018-02-01 14:32 UTC by Daniel Glazman
Modified: 2019-11-02 15:10 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
ODT test file (104.49 KB, application/vnd.oasis.opendocument.text)
2018-02-01 14:32 UTC, Daniel Glazman
Details
Screenshot of direct epub export opened in iBooks (305.15 KB, image/png)
2018-02-13 09:07 UTC, Alex Thurgood
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Glazman 2018-02-01 14:32:05 UTC
Created attachment 139497 [details]
ODT test file

Tested with Version: 6.1.0.0.alpha0+
Build ID: 3171066a959b52cd483bb22a0d1046e633f092f6

Steps to reproduce:

  1. launch LibreOffice
  2. open the attached test document
  3. File > Export As... > Export directly as EPUB
  4. unzip the *.epub you just saved
  5. open file OEBPS/sections/section002.xhtml in a web browser
  4. notice the text in the table cells is overlined
  5. open file OEBPS/styles/stylesheet.css
  6. notice the |.span2| style rule has
     6.a. a 'font-effect: outline' declaration while this is not a CSS
          property...
     6.b. a 'text-decoration: overline' declaration that does not match the
          original styles of table cells
Comment 1 Daniel Glazman 2018-02-01 14:43:18 UTC
Please note |.span2| style rule also has 'text-shadow: 1px 1px 1px #666666' while the original text does not seem to be shadowed at all...
Comment 2 Alex Thurgood 2018-02-13 09:05:23 UTC
I can confirm the overline problem just by opening the Epub file in Apple's own iBook reader app (whether or not that is a suitable reference implementation is another matter, about which I know nothing).

For some weird reason, the table is also split. I imagine that this relates to the .span2 style rule that you mention. 


Confirming with 

Version: 6.1.0.0.alpha0+
Build ID: acd16c7e29c1619986d4d8b3b520da089ba34660
CPU threads: 4; OS: Mac OS X 10.13.3; UI render: default; 
Locale: fr-FR (fr_FR.UTF-8); Calc: group
Comment 3 Alex Thurgood 2018-02-13 09:07:31 UTC
Created attachment 139856 [details]
Screenshot of direct epub export opened in iBooks

I am enclosing a screenshot of the directly exported epub made from the sample ODT file, and opened in iBooks
Comment 4 eisa01 2018-06-16 17:33:44 UTC
Still present, and also happens on Windows, so setting OS to all

Version: 6.2.0.0.alpha0+
Build ID: b292a27698e85fd9d60c03613c3b0c67835c4dc1
CPU threads: 2; OS: Mac OS X 10.12.6; UI render: default; 
TinderBox: MacOSX-x86_64@49-TDF, Branch:master, Time: 2018-06-06_23:25:55
Locale: en-US (en_US.UTF-8); Calc: group threaded
Comment 5 QA Administrators 2019-08-19 06:57:11 UTC Comment hidden (obsolete)
Comment 6 eisa01 2019-11-02 15:10:29 UTC
This is still present

October 23 Nighly