How do you remove all empty tables from an odt document at once?

asked 2020-01-21 13:07:15 +0100

lbrtchx gravatar image

updated 2020-01-21 13:10:02 +0100

At times when you paste a web page on an odt document, all kinds of empty tables artefacts appear. I would like to get rid of all of them at once. I am OK with opening the the text XML source document and parse, remove all empty tables, but I think there should be an option to so such a thing from within libreoffice's GUI. lbrtchx

edit retag flag offensive close merge delete

Comments

There surely is no such tool accessible from the GUI.
If you want advice how to do such a thing by user code, you should attach an example of a odt file spoiled n the way you are complaining about.
What looks like a table row may often be a section or something else. This askbot page e.g. when pasted ino a Writer document is containing exactly one (nonempty) table but lots of elements looking like table rows. ...

Lupp gravatar imageLupp ( 2020-01-21 13:17:44 +0100 )edit