Text field with Allow Html Tags option shows nothing in OO

Jump to: Board index.NET FrameworkStimulsoft Reports.Net

Stimulsoft Reports.Net discussion

Text field with Allow Html Tags option shows nothing in OO

Post Tue Aug 08, 2017 9:24 am

Hello,

I add text box with option Allow Html tags, in MS Office it's works good, but in OpenOffice/LibreOffice empty blocks are shown.

It is possible to fix this?

Example here: https://github.com/alex-t0/StimulsoftTest, look AllowHtmlTags.mrt (very simple template).
In my github repo there is another example about page breaks, but it already asked here - here, i think that is same issue.
Attachments
AllowHtmlTags.mrt
(4.07 KiB) Downloaded 7 times
alex-t
 
Posts: 3
Joined: Tue Aug 08, 2017 8:57 am

Re: Text field with Allow Html Tags option shows nothing in

Post Wed Aug 09, 2017 1:14 am

Hi Alex,

For the OpenOffice export format, please check the approach that has been suggested here:
viewtopic.php?f=8&t=36133&start=10

For the page break in MSOffice Export, please modify your code as follows to disable the RemoveEmptySpaceAtBottom feature:
Code: Select all
var settings = new StiWord2007ExportSettings();
settings.RemoveEmptySpaceAtBottom = false;
report.ExportDocument(StiExportFormat.Word2007, stream, settings);


Thank you,
Edward
Edward
 
Posts: 2694
Joined: Fri Jun 09, 2006 4:02 am

Re: Text field with Allow Html Tags option shows nothing in

Post Thu Aug 10, 2017 9:00 am

Hi Edward!

With page-breaks problem solved.

But I'm not understand solution for Text components with allowed html tags, sorry :(
I need to change output format to StiExportFormat.Odt? If I do this, document looks good, but block rendered as picture, not as text.
I want to generate docx with text blocks that works in OO and MS Office both.
alex-t
 
Posts: 3
Joined: Tue Aug 08, 2017 8:57 am

Re: Text field with Allow Html Tags option shows nothing in

Post Fri Aug 11, 2017 12:33 pm

Hello.

This is a limitation of our export.
The export of HTML was not implemented.
If you need this feature, please, write a request to support@stimulsoft.com.

Thank you.
HighAley
 
Posts: 7460
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office


Return to Stimulsoft Reports.Net

Who is online

Users browsing this forum: Google [Bot] and 4 guests