Re: MS Word Formatted text in DB not displaying correctly on output
You may also need to link in the original style sheet. At 01:05 PM 11/10/2011, you wrote: hmmm...let me try that. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:348713 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
MS Word Formatted text in DB not displaying correctly on output
Hi All. I have a column that I am retrieving from a SQL 08 database that contains lots of word formatting. here is how the dump looks: ph2SUPPLIER: Scott Specialty Gases/h2 table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 style='mso-cellspacing:0in;mso-padding-alt:0in 0in 0in 0in' tr style='mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti-lastrow:yes' td width=120 valign=top style='width:1.25in;padding:0in 0in 0in 0in' p class=MsoNormalbspan style='font-size:10.0pt;font-family:Arial; color:black'SUPPLIER ADDRESS:/span/bspan style='font-size:9.0pt; font-family:Arial;color:black'o:p/o:p/span/p... My problem is when I put this in a CFOUTPUT tag, the styles, etc don't render. It looks exactly like it does when it comes out of the database. None of the formatting is displayed. Any suggestions? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:348569 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: MS Word Formatted text in DB not displaying correctly on output
I have a column that I am retrieving from a SQL 08 database that contains lots of word formatting. here is how the dump looks: ph2SUPPLIER: Scott Specialty Gases/h2 table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 style='mso-cellspacing:0in;mso-padding-alt:0in 0in 0in 0in' tr style='mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti- lastrow:yes' td width=120 valign=top style='width:1.25in;padding:0in 0in 0in 0in' p class=MsoNormalbspan style='font-size:10.0pt;font-family:Arial; color:black'SUPPLIER ADDRESS:/span/bspan style='font-size:9.0pt; font- family:Arial;color:black'o:p/o:p/span/p... My problem is when I put this in a CFOUTPUT tag, the styles, etc don't render. It looks exactly like it does when it comes out of the database. None of the formatting is displayed. Any suggestions? I suspect that you're storing HTML escape characters (lt; instead of , etc) in your database. If so, you'll need to unescape them. You can do this with Replace. I suspect there's a function on cflib.org that does this too. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:348570 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: MS Word Formatted text in DB not displaying correctly on output
I have a column that I am retrieving from a SQL 08 database that contains lots of word formatting. here is how the dump looks: ph2SUPPLIER: Scott Specialty Gases/h2 table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 style='mso-cellspacing:0in;mso-padding-alt:0in 0in 0in 0in' tr style='mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti- lastrow:yes' td width=120 valign=top style='width:1. 25in;padding:0in 0in 0in 0in' p class=MsoNormalbspan style='font-size:10.0pt;font-family:Arial; color:black'SUPPLIER ADDRESS:/span/bspan style='font-size:9.0pt; font- family:Arial;color:black'o:p/o:p/span/p... My problem is when I put this in a CFOUTPUT tag, the styles, etc don't render. It looks exactly like it does when it comes out of the database. None of the formatting is displayed. Any suggestions? I suspect that you're storing HTML escape characters (lt; instead of , etc) in your database. If so, you'll need to unescape them. You can do this with Replace. I suspect there's a function on cflib.org that does this too. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. Just looked in the DB and you suspected correctly. Looking into your suggestions now! Thanks :) ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:348571 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: MS Word Formatted text in DB not displaying correctly on output
You may also need to link in the original style sheet. At 01:05 PM 11/10/2011, you wrote: I have a column that I am retrieving from a SQL 08 database that contains lots of word formatting. here is how the dump looks: ph2SUPPLIER: Scott Specialty Gases/h2 table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 style='mso-cellspacing:0in;mso-padding-alt:0in 0in 0in 0in' tr style='mso-yfti-irow:0;mso-yfti-firstrow:yes;mso-yfti- lastrow:yes' td width=120 valign=top style='width:1. 25in;padding:0in 0in 0in 0in' p class=MsoNormalbspan style='font-size:10.0pt;font-family:Arial; color:black'SUPPLIER ADDRESS:/span/bspan style='font-size:9.0pt; font- family:Arial;color:black'o:p/o:p/span/p... My problem is when I put this in a CFOUTPUT tag, the styles, etc don't render. It looks exactly like it does when it comes out of the database. None of the formatting is displayed. Any suggestions? I suspect that you're storing HTML escape characters (lt; instead of , etc) in your database. If so, you'll need to unescape them. You can do this with Replace. I suspect there's a function on cflib.org that does this too. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. Just looked in the DB and you suspected correctly. Looking into your suggestions now! Thanks :) ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:348576 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
text in DB
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi everybody, i ahve a database which holds the text in paragraph format. and now when i try to retrieve the data from the DB i dont get the paragraph format. how can i solve this?? any ideas?? thanx in advance akbar -BEGIN PGP SIGNATURE- Version: PGPfreeware 6.5.3 for non-commercial use http://www.pgp.com iQA/AwUBOU68/vrEYraYB51OEQJZ4wCfdNVqksKlcUKlRjMJ4mYLDmrYNSwAnjju q6kyGXy7kL6XGIkIPGTXzqFB =WB2W -END PGP SIGNATURE- -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.
Re: text in DB
Hello Akbar, cfoutput query="yourquery" #Paragraphformat(yourtext)# /cfoutput should help;-)) Greetings Birgit Tuesday, June 20, 2000, 4:33:54 AM, you wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi everybody, i ahve a database which holds the text in paragraph format. and now when i try to retrieve the data from the DB i dont get the paragraph format. how can i solve this?? any ideas?? thanx in advance akbar -BEGIN PGP SIGNATURE- Version: PGPfreeware 6.5.3 for non-commercial use http://www.pgp.com iQA/AwUBOU68/vrEYraYB51OEQJZ4wCfdNVqksKlcUKlRjMJ4mYLDmrYNSwAnjju q6kyGXy7kL6XGIkIPGTXzqFB =WB2W -END PGP SIGNATURE- -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. -- Archives: http://www.eGroups.com/list/cf-talk To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=listsbody=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.