I´m trying to use https://github.com/henck/rtf-html-php/issues which seems to be a very nice rtf to html conversor written purely in PHP
But I´m having an issue with rtf document which has inside some text and very simple tables. When I try to convert document, tables simply dissapear, but rest of text conversions are done perfectly (styles, paragrafs, and so on).
As far as I have seen on developer site, seems that this issue it´s only happening to me, as far as no other people using this php library, has no issue with tables on rtf to html document conversion.
I´ve wrote on github issues developer page, but I had no response with it.
has some one any idea about table issues, using this library?
Thank you so much in advanced
I´d tried to change mbstring settings on php.ini, I´d used different rtf documents, and of course I´d tried to change RtfHtml enconding to ansi, utf-8, and so on...but I´m getting same result.
Conversion is being doing using example code that it´s inclued on developer page, which is:
$fo //path to rtf file
$reader = new RtfReader();
$formatter = new RtfHtml();
$rtf = file_get_contents($fo);
$cb = $reader->Parse($rtf)
$formatter->Format($reader->root);
$converted=$formatter->Format($reader->root);
echo $converted;