Export to HTML/HTML5

Stimulsoft Reports.NET discussion
Post Reply
oolener
Posts: 2
Joined: Wed Oct 15, 2014 12:00 pm

Export to HTML/HTML5

Post 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
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Export to HTML/HTML5

Post 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.
oolener
Posts: 2
Joined: Wed Oct 15, 2014 12:00 pm

Re: Export to HTML/HTML5

Post 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
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Export to HTML/HTML5

Post 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.
Post Reply