Login   Register  
PHP Classes
elePHPant
Icontem

Rtf Class Not quite working

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      RTF Parse class  >  All threads  >  Rtf Class Not quite working  >  (Un) Subscribe thread alerts  
Subject:Rtf Class Not quite working
Summary:It cuts out some words
Messages:1
Author:Reinaldo Crespo
Date:2007-11-28 20:32:22
 

  1. Rtf Class Not quite working   Reply   Report abuse  
Picture of Reinaldo Crespo
Reinaldo Crespo
2007-11-28 20:32:22
Below the original RTF contents:

{\rtf1\ansi\ansicpg1252\deff0\deflang3082{\fonttbl{\f0\fnil\fcharset0 ARIAL;}}
\viewkind4\uc1\pard\f0\fs20 DIAGNOSIS:\par
\par
SKIN BIOPSY:\par
\par
BASAL CELL CARCINOMA; MARGINS FREE. \par
\par
\par
88305\par
173.9\par
}


the rtf to xml class yields this single line:
DIAGNOSIS:SKIN, BIOPSY:BASAL CELL CARCINOMA

Notice how it is cutting off "MARGINS FREE." from the original sentence as well as the 88305 and 173.9 lines. Futhermore, it is ignoring the \par paragraph break symbols.

Can anyone help with this?

thank you.


Reinaldo