simoncpu Random thoughts of simoncpu. You may view my old blog here.

Generating RTF

Comments: 0     Stars : 0

I'm making a web-based payroll system right now.  Since we need to generate print-outs of the data, I opted to format it using Microsoft's proprietary (?!) Rich Text Format (RTF).  I didn't choose PDF because it's a bit complicated, and because we are on a tight deadline (was it a correct decision?).  I have no formal training on this whatsoever, so I had to rely on samples to deduce some of the rules that make up this document language.

The text that MSWord generates is so horrible.  I had to examine lengthy sequences such as this:

"... \brdrs\brdrw15\brdrcf1 \cltxlrtb\clftsWidth3\clwWidth1204\clshdrawnil \cellx9748\clvertalt\clbrdrt\brdrs\brdrw15\brdrcf1..."

This is fun! :)


Back to entries      Comment on this entry



Comment on this entry

Name:

E-Mail:

Homepage:



Security code (as shown above):

Click here to log in to comment

Enter comment:

   

Back to entries