Bug 46215 - Regression on the cmd : libreoffice -headless -convert-to html my_file.csv
Summary: Regression on the cmd : libreoffice -headless -convert-to html my_file.csv
Status: RESOLVED INVALID
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
3.5.0 release
Hardware: Other Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-17 01:03 UTC by dark_footix@yahoo.fr
Modified: 2012-03-01 07:05 UTC (History)
0 users

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 dark_footix@yahoo.fr 2012-02-17 01:03:45 UTC
LibreOffice 3.4.3 on ubuntu 11.04  ( with the previous version , it was ok )


So after the command 
 libreoffice -headless -convert-to html my_file.csv 

it creates an html file, but some balise are bad placed , 

there is some "!" and "/p>" every 10 lines and some item of the csv file are missing
Comment 1 dark_footix@yahoo.fr 2012-03-01 06:20:01 UTC
Reproduce with the LibreOffice 3.5 of the depot ubuntu 11.04

( I have a quadri-core , is it a problem ? )
Comment 2 dark_footix@yahoo.fr 2012-03-01 06:58:06 UTC
The issue seems to be linked to the linux command "cat"

The .csv file is converted in the html file, but the html body is coded on 1 long long line.

By doing a cat of the html file , there is some cut (with a return to the line) of the html file. It could explain artefact ( because if I open directly the html file in firefox , there is no pb )

Is there a method to indent not on 1 line the html file ?

or  

howto fix "cat" ?
Comment 3 dark_footix@yahoo.fr 2012-03-01 07:05:23 UTC
cat file | fmt  -> fix it

and cmd :

libreoffice --headless -convert-to html my_file.csv 
-headless depreciated