Hello,
1. v10.0p_2015-07-21/Pro Deployment (built 2015-07-21)
2. Firefox 39.0
I want to export to PDF an HTMLPane which contains custom html content with iframes which have src attribute set to different URL. From what I saw in my tests, the .pdf file doesn't render iframe(from example <iframe src="..."></iframe>). There is a possibility to render this kind of html in .pdf?
I used the following code:
1. v10.0p_2015-07-21/Pro Deployment (built 2015-07-21)
2. Firefox 39.0
I want to export to PDF an HTMLPane which contains custom html content with iframes which have src attribute set to different URL. From what I saw in my tests, the .pdf file doesn't render iframe(from example <iframe src="..."></iframe>). There is a possibility to render this kind of html in .pdf?
I used the following code:
Code:
DSRequest requestProperties = new DSRequest();
requestProperties.setExportDisplay(ExportDisplay.DOWNLOAD);
ArrayList<Canvas> toPrintCanvases = new ArrayList<Canvas>();
for (String k : chartContent.keySet())
toPrintCanvases.add(chartContent.get(k).getHtmlPane());
RPCManager.exportContent(toPrintCanvases.toArray(new Canvas[toPrintCanvases.size()]));