The unoconv was the first possible solution I found. It can convert between formats that supported by OpenOffice. The command line usage is simple, just define the ouput format as the following
$ unoconv -f ods originalfile.html
and the unoconv gives the output file with assigned format (originalfile.ods in this example). However, when I tried to open the converted ods file with OO Calc, nothing happened, the OO Calc didn't open anything and showed only empty content.
Luckily, another simpler solution has been there. Just utilize the import function provided by OO Calc itself to import the html table, then everything goes smoothly. You can find the function in ``Insert/Link to External Data'' and it comes up a dialog for choosing your file.
---
Ref:
OpenOffice Calc Tips: Webquery : Importing HTML tables
No comments:
Post a Comment