Converting PDF to RTF

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
emf2718
Forum Newbie
Posts: 1
Joined: Tue Jan 20, 2009 4:39 pm

Converting PDF to RTF

Post by emf2718 »

I'm working on a site that generates PDF's from user-supplied data. The PDF generation works fine; however they want the ability to export to RTF. Ideally, I'd just write a class to generate an RTF from the data. Unfortunately, the docs have very stringent requirements like font size, complex margins, etc. so I would like to be able to convert the PDF to an RTF. It took a long time just to get the PDF margins right, I don't want to re-do it all again.

Anyway is there some PHP code to convert PDF to RTF, probably with an intermediate step in between like HTML or PS?
Post Reply