https://bugs.documentfoundation.org/show_bug.cgi?id=119539

Julien Nabet <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected],
                   |                            |[email protected]

--- Comment #31 from Julien Nabet <[email protected]> ---
I gave a first try with https://gerrit.libreoffice.org/c/core/+/207575

For the record, epub export is dealt in writerperfect module.
Since it's an odt, it's more specifically in writerperfect/source/writer and
writerperfect/source/writer/exp

this part uses 2 libs: librevenge + libepubgen (which itself also uses
librevenge!)

Here's what I got with the patch on gerrit:
1) epub 3 export from LO
<metadata>
  <dc:identifier
id="unique-identifier">a300b952-14fc-4f1f-a4dc-1ec8a557c34f</dc:identifier>
  <dc:title>Unknown Title</dc:title>
  <dc:creator>Unknown Author</dc:creator>
  <dc:language>en</dc:language>
  <meta content="cover0001" name="cover"/>
  <meta property="dcterms:modified">0000-00-00T00:00:00Z</meta>
  <meta content="LibreOfficeDev/27.2.0.0.alpha0$Linux_X86_64
LibreOffice_project/a9033ae59bcd2bb8596287e17d6d5a8cf27a13a8
(libepubgen/0.1.1)" name="generator"/>
</metadata>
<manifest>
  <item href="styles/stylesheet.css" id="stylesheet.css"
media-type="text/css"/>
  <item href="toc.ncx" id="toc.ncx" media-type="application/x-dtbncx+xml"/>
  <item href="images/cover0001.jpg" id="cover0001" media-type="image/jpeg"
properties="cover-image"/>
  <item href="toc.xhtml" id="toc.xhtml" media-type="application/xhtml+xml"
properties="nav"/>
  <item href="sections/section0001.xhtml" id="section0001"
media-type="application/xhtml+xml"/>
</manifest>

and on Linux (Gnome env), Gnome sees the cover page and Foliate too.

2) epub 2 export from LO
<metadata>
  <dc:identifier
id="unique-identifier">9ca0900b-e186-436b-9113-2bc09a70d8c9</dc:identifier>
  <dc:title>Unknown Title</dc:title>
  <dc:creator>Unknown Author</dc:creator>
  <dc:language>en</dc:language>
  <meta content="cover0001" name="cover"/>
</metadata>
<manifest>
  <item href="styles/stylesheet.css" id="stylesheet.css"
media-type="text/css"/>
  <item href="toc.ncx" id="toc.ncx" media-type="application/x-dtbncx+xml"/>
  <item href="sections/section0001.xhtml" id="section0001"
media-type="application/xhtml+xml"/>
</manifest>

Neither Gnome nor Foliate displays the cover page.

The <item href="images/cover0001.jpg" id="cover0001" media-type="image/jpeg"
properties="cover-image"/> part is only made from version 3 in libepubgen lib.


Miklos/David: thought you might be interested in this one since it concerns
libepubgen.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to