PDA

View Full Version : Big text showing in PDF from flex input


NewFlexWorld
02-01-2010, 03:48 PM
Hi,
I have a problem printing data to PDF from SQL. I'm using Rich text editor as it allows the user to add bullets, bold etc... and I'm using font Family arial and font size 12 in my flex form. Now when the data goes into DB it saves all the html tags like following


Data coming from SQL is like
<TEXTFORMAT LEADING="2"><P ALIGN="LEFT"><FONT FACE="Arial" SIZE="12" COLOR="#0B333C" LETTERSPACING="0" KERNING="0">Here is some text</FONT></P></TEXTFORMAT>


I'm using in PrintPDF.cfm
<tr>
<td style="font-family:Arial, Helvetica, sans-serif;
font-size:12px; font-weight:bold;">Text</td>
<td>#qryText.Some_text# </td>
</tr>


Using this the PDF show big data returning from the SQL DB.
It overwrites all the styles that I have and will show big text

Please let me know if there is a way around this...

Any suggestions....


text as following:



Test Case here (This is what it is suppose to look)




Add Test Case Here, Add Test Case Here. This is a test case...(This is what is showing up)...