Page 1 of 1

Export to HTML/HTML5

Posted: Wed Oct 15, 2014 12:15 pm
by oolener
Hello Support,

We have an issue while exporting a report as an html page. Tables, rows and cells have all a fix width an height.
Export-Sample: <div class="s47e028e2" style="left:165.35pt;top:21753.54pt;width:129.93pt;height:14.77pt;">xxxxxxxx</div>
The result of this, it ist not able to scale the report in the browser window. Minimize or maximize the browser has no impact of the report layout.

Is there a chance to change this export setting?

Greets
oolener

Re: Export to HTML/HTML5

Posted: Thu Oct 16, 2014 8:40 am
by HighAley
Hello.

Do you want to scale report with size of browser window?
Unfortunately, it's impossible to export such report due technological restrictions.

Thank you.

Re: Export to HTML/HTML5

Posted: Mon Oct 20, 2014 6:43 am
by oolener
Hello Aleksey,

thanks for the answer.
But why do you render fix sizes of the control to the exported html files?
If you use flow layout with "DIV" Tags it is possible to render a scaleable html page.

Is there a chance to catch an event in the HtmlExportService, or anywhere else, to customize the final html content?

Greets

Re: Export to HTML/HTML5

Posted: Tue Oct 21, 2014 12:26 pm
by HighAley
Hello.
oolener wrote:But why do you render fix sizes of the control to the exported html files?
If you use flow layout with "DIV" Tags it is possible to render a scaleable html page.
While scaling the HTML document you can break layout of the document so we should set the strict size of components.
oolener wrote:Is there a chance to catch an event in the HtmlExportService, or anywhere else, to customize the final html content?
You could use ExportDocument() method to export report into a stream and them do any changes with it.

Thank you.