...
Code Block | ||||
---|---|---|---|---|
| ||||
loSession = xfrx("XFRX#INIT") lnRetVal = loSession.SetParams("output.html",,,,,,"HTMLPLAIN") If lnRetVal = 0 loSession.ProcessReport("report1") loSession.finalize() Endif |
By default, the output is a complete self-contained HTML file. You can also use the HTML_NOSTYLES option to process just the inner HTML, without CSS styles, head or body tags:
Code Block | ||||
---|---|---|---|---|
| ||||
loSession = xfrx("XFRX#INIT") lnRetVal = loSession.SetParams("output.html",,,,,,"HTMLPLAIN") If lnRetVal = 0 loSession.SetOtherParams("HTML_NOSTYLES", .T.) loSession.ProcessReport("report1") loSession.finalize() Endif |
Autoconvert EMF/TIFF to PNG
Because some html previewer doesn't support EMF or TIFF image, you can enable feature for converting EMF/TIFF to PNG. (XFRX 15.5)Code Block |
---|
loSession.SetOtherParams("CONVERTEMF_TIFFTOPNG",.T.) |
Inline images
Images data are in html output file since XFRX 15.8. If you want attain prior behavior, you can call method SetOtherParams().
Code Block |
---|
loSession.SetOtherParams("INLINEIMAGES",.F.) |