Hi,
There is bug while converting rtf contents to PDF, Need your help to resolve:
We tried with following approach to convert rtf to pdf but the final PDF shows blank page, this is happening almost with all the rtf files:
- Create new CreateDocx()
- Add plain text to docx using $docx->addText($docItem->streamData);
- Add RTF file using method $docx->addRTF(array('pathRTF' => $current_file));
- Then save to docx file
- Then transform docx to pdf using $docx->transformDocx($file,$result,$this->outputFolder);
Please find attached sample rtf files.
We can’t directly convert RTF TO PDF as we want to add some plain text as start of page and then rtf contents.
Regards,
Suyog Kale