https://bugs.freedesktop.org/show_bug.cgi?id=78989
Priority: medium
Bug ID: 78989
Assignee: [email protected]
Summary: LO in --headless mode cannot create odt documents from
template
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: [email protected]
Hardware: x86-64 (AMD64)
Status: UNCONFIRMED
Version: 4.0.4.2 release
Component: Libreoffice
Product: LibreOffice
Impossible to create a document.odt starting from a given template.ott using
the shell script libreoffice with the --headless option
Steps to reproduce:
1. With LO, make a simple template.ott, even a blank one
2. Open a terminal and execute one of the following three commands
2.1. $ libreoffice --headless /path/to/template.ott
2.2. $ libreoffice --headless -n /path/to/template.ott
2.3. $ libreoffice --headless --convert-to odt /path/to/template.ott
3. Execute
$ file ~/template.odt
Current behavior:
2.1. the command hangs
2.2. the command hangs
2.3. you get the message
convert /home/user/template.ott -> /home/user/template.odt using OpenDocument
Text Flat XML
3. you get
template.odt: XML document text
that is, you have got a .fodt document (a plain xml) despite the .odt suffix
Expected behavior:
one would get an OpenDocument Text, that is a zipped archive
This expected behaviour would conform to the LO headless conversion to ods from
a template.ots: it creates an OpenDocument Spreadsheet, not an XML document
text
Regards
Raimondo Giammanco
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs