Bug 149518 - Enhancement request: Export to html (and all other 'save-to' formats)
Summary: Enhancement request: Export to html (and all other 'save-to' formats)
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: (X)HTML-Export
  Show dependency treegraph
 
Reported: 2022-06-10 16:38 UTC by Corné Beerse
Modified: 2023-10-13 05:19 UTC (History)
2 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 Corné Beerse 2022-06-10 16:38:05 UTC
Description:
Libre Office can save a document in various formats. While saving to an other format, the document itself is set to this new format.
Libre Office can export a document in several other formats. While exporting to the other format, the document itself is not altered.

With the above difference in mind, I'd like to be able to export to all the formats that can be used as 'save-as'. Hence, for a writer-document, while editing document.odt, I'd like to be able to export to html, just like save-as html with the major exeption that the document itself stays in the document.odt format.



Steps to Reproduce:
1. Open document.odt
2. fileExport has no html option
3. fileSave-as html alters the document due to incompatibilities.
4. fileSave-as doc is based on the html version.
If there is an fileExport option for the save-as file-types, the order to create these file-types should not result in different documents.


Actual Results:
It is accepted that after an save-as, the current document is altered to this new file-type with its differences to the origional.
It is just that I expected to be able to export to all the save-as formats that does not alter my origional.

Expected Results:
After an export-to or export-as, the current document is not altered to the new filetype, subsequent file handling like save or export-to have no 'unexpected' results.
If there is an fileExport option for the save-as file-types, the order to create these file-types should not result in different documents.



Reproducible: Always


User Profile Reset: No



Additional Info:
Once there is an export-to for a format like html, it can be extended like the export to epub or export to pdf to tweak the result. Like 'clean html' and/or create a document in a directory with one file per chapter (an html-book like the tool amaya creates).
Comment 1 Robert Großkopf 2022-06-11 06:18:27 UTC
I agree. Saving a document should be done with open document format, because this format will save all features of the document.

Saving as another format will change the document. It would be better to place this option also as "Export to".