html table 2 LO table

Started by michaa7, 2013/06/02, 14:31:41

Previous topic - Next topic

michaa7

Is there a way / does anyone know how to "convert" a table inside an html doc (of whick I have save the source code) to a LO table (writer or calc)? I deleted all content *outside* the table, so now the sourcecode consists only in table definition and table content.

Easy question, but is there a (easy) solution?
Ok, you can't code, but you still might be able to write a bug report for Debian's sake

absolut

view your html document in a browser,
mark the table with the mouse, copy, paste into LO writer.

are you OK with the results?

michaa7

absolutely not. This is why I asked.

c&p from the browser copies only the content of the tables, but not the table itself which makes the result useless because it's unreadble. There is no order through colums and rows anymore.

I know there is a way to export/import html tables to office, but I forgot how to, which programms I used :-(.
Ok, you can't code, but you still might be able to write a bug report for Debian's sake

absolut

well, i had no problems importing simple tables from e.g. http://www.w3schools.com/html/html_tables.asp to LibreOffice Writer by just using copy&paste... hm... "works here"™. maybe your table is much more complicated?


there is another alternative you could try... it's inside of LibreOffice Calc:

Insert -> Link to external Data -> select your HTML file -> hit ENTER -> wait till LO parses the file and then select "HTML_Table" to import.

michaa7

Quote from: "absolut"...
Insert -> Link to external Data -> select your HTML file -> hit ENTER -> wait till LO parses the file and then select "HTML_Table" to import.

This was really helpfull, thanks!
Ok, you can't code, but you still might be able to write a bug report for Debian's sake