Focal Point
[CLOSED] Display HTML content on a report

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/7927081276

August 14, 2014, 12:36 PM
AmiSol
[CLOSED] Display HTML content on a report
I have a field in my SQL DB that contains HTML code. Is there a way to display the HTML content formatted on a report, instead of seeing the HTML tags (
 <a>, <span>, <div> 
)

Thanks

This message has been edited. Last edited by: AmiSol,


WebFOCUS 8.0.7
Windows, All Outputs
August 14, 2014, 01:05 PM
Alan B
If the output is HTML, then the tags will be seen as tags and display as HTML layout.
If the output is PDF, then certain tags can be used for formatting by using:
type=report, markup=on,$

in the stylesheet.


Alan.
WF 7.705/8.007
August 17, 2014, 05:34 PM
Waz
If all else fails, there is a little program called phantomjs, that can produce an image of a web page from an HTML file, and you could then just add the image to the report.

This message has been edited. Last edited by: Waz,


Waz...

Prod:WebFOCUS 7.6.10/8.1.04Upgrade:WebFOCUS 8.2.07OS:LinuxOutputs:HTML, PDF, Excel, PPT
In Focus since 1984
Pity the lost knowledge of an old programmer!

August 18, 2014, 04:27 PM
susannah
'markup=on'.... whooooo
that's uber cool, Alan...
now i'm looking forward to this upgrade...




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID