in reply to Re: fix ODT files with line breaks looking poor
in thread fix ODT files with line breaks looking poor

I'll give this some thought.

For your suggestion on using XML::Twig unfortunately it would not be that simple as I discovered the <text:line-break> can occur in perhaps various parent/enclosing tags; if I pursue this, I'll have to see if XML::Twig will tell me the parent/enclosing tag during the <text:line-break> handler...

I see that there is a module OpenOffice::OODoc which uses XML::Twig, however the last release is from 2010.

I'll give XML::XSLT a quick look also.

Thanks for a quick reply

  • Comment on Re^2: fix ODT files with line breaks looking poor