Bug 118771 - Export to epub should include headers and footers
Summary: Export to epub should include headers and footers
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.0.5.2 release
Hardware: x86-64 (AMD64) All
: medium enhancement
Assignee: Miklos Vajna
URL:
Whiteboard: target:6.2.0
Keywords:
Depends on:
Blocks: EPUB-Export
  Show dependency treegraph
 
Reported: 2018-07-15 10:53 UTC by larrybradley
Modified: 2018-10-22 14:14 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description larrybradley 2018-07-15 10:53:33 UTC
Description:
Exporting to pdf does not include footers. This feature is available when you export a Google doc to epub, would make life better if available in LO export to epub.

Steps to Reproduce:
1. Create Writer document with footers.
2.Export to epub format.

Actual Results:
Exported epub does not retain / include footers.

Expected Results:
Expect footers to be retained and in their proper place in epub created when exporting from LO.


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 6.0.5.2
Build ID: 54c8cbb85f300ac59db32fe8a675ff7683cd5a16
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk2; 
Locale: en-US (en_US.UTF-8); Calc: group
Comment 1 larrybradley 2018-07-15 10:56:08 UTC
Description should have said "epub," not "pdf."
Comment 2 Dieter 2018-07-15 13:16:20 UTC
I confirm it with

Version: 6.2.0.0.alpha0+ (x64)
Build ID: b0e291a7efcd3af2a72d0b622b1f1b84723f011f
CPU threads: 4; OS: Windows 10.0; UI render: GL; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-06-30_23:43:40
Locale: en-US (de_DE); Calc: CL

Same with header.
Comment 3 Miklos Vajna 2018-07-15 13:35:45 UTC
This already works if you set layout method to fixed. Reflowable content has no pages, so has no header or footer, either. Anything left to fix here?
Comment 4 Dieter 2018-07-15 18:34:24 UTC
(In reply to Miklos Vajna from comment #3)
> This already works if you set layout method to fixed. Reflowable content has
> no pages, so has no header or footer, either. Anything left to fix here?

Thank you for the information. But I think there is some more information needed within LO. At least within the documentation. What I would prefer is - if you choose "Export to EPB directly" a warning like "Your document contains header or footer. Please choose 'Export as EPUB' if you want to remain them"
Comment 5 LibreTraining 2018-07-16 22:36:20 UTC
Export Directly as EPUB bypasses the option dialog - not useful here.

Export as EPUB gives you an option to select a Version
 - EPUB 3.0
 - EPUB 2.0

The average user is not going to know what this means.
That 3.0 is fixed layout (like a PDF), and 
that 2.0 is reflowable without layout like headers and footers.

And there is nothing in the Help page for that dialog which explains anything.

So unless a user knows the EPUB standards/specifications they are operating blind.
Comment 6 Miklos Vajna 2018-07-17 08:47:08 UTC
Sorry, this is misleading. EPUB 3.0 supports both reflowable and fixed layout.

https://help.libreoffice.org/6.2/en-US/text/shared/01/ref_epub_export.html is relatively clear on this, see the "layout method" section. Is there anything that you would detail more there?
Comment 7 Dieter 2018-07-17 10:39:35 UTC
(In reply to Miklos Vajna from comment #6)
> Sorry, this is misleading. EPUB 3.0 supports both reflowable and fixed
> layout.
> 
> https://help.libreoffice.org/6.2/en-US/text/shared/01/ref_epub_export.html
> is relatively clear on this, see the "layout method" section. Is there
> anything that you would detail more there?

Current Documetation:

Layout method

Determines if a reflowable or a fixed layout EPUB will be generated.

    Reflowable: The content flows, or reflows, to fit the screen and to fit the needs of the user.

    Fixed: Gives greater control over presentation when a reflowable EPUB is not suitable for the content.


If there are certain cases (like header and footer), where reflowable EPUB is never suitable, this cases shoulds be mentioned here
Comment 8 Miklos Vajna 2018-07-17 10:44:36 UTC
OK, I'll take care of this.
Comment 9 Commit Notification 2018-07-19 14:29:24 UTC
Miklos Vajna committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/help/commit/?id=11a9f0c96e91153a458f8c7881c38fc7f728f2b4

tdf#118771 EPUB export: document that reflowable content has no page style
Comment 10 BogdanB 2018-10-22 14:14:15 UTC
Verified. Fixed.

Version: 6.2.0.0.alpha0+
Build ID: 3846561f79cf9065abd9ca83c9fbfbe7e52e28e2
CPU threads: 4; OS: Linux 4.15; UI render: GL; VCL: gtk3; 
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2018-10-21_02:45:54
Locale: en-US (ro_RO.UTF-8); Calc: threaded