What HTML Tags are supported?

Stimulsoft Reports.NET discussion
Post Reply
Haraldf
Posts: 24
Joined: Thu Dec 05, 2013 8:21 pm

What HTML Tags are supported?

Post by Haraldf »

Hello,

we consider using FCKEditor/CKEditor (http://ckeditor.com/) for
a ASP.Net MVC based application.

We want your users to edit text in a Word-ish way - including
RTF style look&feel. CKEditor can even include application internal
references to images.

I have three questions on Stimulsoft Reports.Net:

1) What HTML Tags are supported?

This is a sample form the CKEditor demo:

Code: Select all

<h1><img alt="Saturn V carrying Apollo 11" class="right" src="http://b.cksource.com/a/1/img/sample.jpg" /> Apollo 11</h1>

<p><strong>Apollo 11</strong> was the spaceflight that landed the first humans, Americans <a href="http://en.wikipedia.org/wiki/Neil_Armstrong">Neil Armstrong</a> and <a href="http://en.wikipedia.org/wiki/Buzz_Aldrin">Buzz Aldrin</a>, on the Moon on July 20, 1969, at 20:18 UTC. Armstrong became the first to step onto the lunar surface 6 hours later on July 21 at 02:56 UTC.</p>
2) For the reporting we'd really like to avoid URL calls e.g. for the images.

Is it possible to use inline img tags like it is used for CSS spriting?

Example:

Code: Select all

<img src="data:image/gif;base64,R0lGODlhmwDFAPcAAAAAAAEBAQICAgM...">
3) Would it be better to somehow transfer the HTML stuff in a RTF format?

Thx a lot!
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: What HTML Tags are supported?

Post by HighAley »

Hello.
Haraldf wrote:1) What HTML Tags are supported?
Please, read the HTML Tags section of the Stimulsoft User Manual.
Haraldf wrote:2) For the reporting we'd really like to avoid URL calls e.g. for the images.

Is it possible to use inline img tags like it is used for CSS spriting?
We don't support img tag.
Haraldf wrote:3) Would it be better to somehow transfer the HTML stuff in a RTF format?
.Net Framework doesn't allow to make such transfer. But you could try to use next method http://potturi.wordpress.com/2010/03/01 ... d-interop/

Thank you.
Haraldf
Posts: 24
Joined: Thu Dec 05, 2013 8:21 pm

Re: What HTML Tags are supported?

Post by Haraldf »

Hi Aleksey,

thank you for your answer.

So we go the (X)HTML -> RTF way, because of the <IMG> tag.

I just found a M$ example for using a Word-less way:

http://code.msdn.microsoft.com/Converti ... d-aaa02a6e

I'll keep you posted if this works for the CKEditor, because
it's a rather common HTML based editor
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: What HTML Tags are supported?

Post by Alex K. »

Hello,

Ok. Let us know if you need any additional help.
Also your example for WPF technolody.

Thank you.
Haraldf
Posts: 24
Joined: Thu Dec 05, 2013 8:21 pm

Re: What HTML Tags are supported?

Post by Haraldf »

Hi Aleksey,

I got the WPF example working.

The rendering to RTF works fine, however there is no
support for images.

That would require downloading the images via http/s,
so MS didn't implement this.

I found another commercial library. This works fine,
but it doesn't handle img-ish styke attributes
like "float:left" correctly.

I didn't found out if this is a RTF issue or a library
issue. ... so i am just having fun ;)

I'll keep on posting, if i have solutions.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: What HTML Tags are supported?

Post by HighAley »

Hello.

Thank you for keeping us informed.
Please, get in touch with any news.

Thank you.
Post Reply