Sometimes i copy/paste text from browser to LibreOffice, and page formatting|stylings from the browser page spoil the text looking ugly, like this, for example:
Sometimes those frames|images|tables can be selected with mouse and deleted, but sometimes not.
How to delete them completely? Vb or Python macro would be especially appreciated.
That's it. It turned out that ugly frames are just OLE Objects. Yet more often nonselectable in editor text area, they can be found in Navigator and manipulated with.
Select it with the Navigator (F5, or View > Navigator > OLE Objects). It will open a list of all the OLE objects, then you may click on the one you want to select.
Then double click to select some ObjectXXXX there,
it will get selected as green angles appear at it's borders.
press Right mouse Button > OLE Object > Delete.
And it's gone!
Notice little green borders:
I'm almost there with macro to remove them! And gonna publish it. Stay tuned)