Página 1 de 1

Se pueden incluir tablas en código HTML?

Publicado: Mar May 30, 2017 6:43 pm
por Carlos Ortiz
no encontré mucha información al respecto y con las pruebas que hice no responde (solo permite lo basico de los HTML, es asi?)
gracias!

Re: Se pueden incluir tablas en código HTML?

Publicado: Jue Jul 06, 2017 4:05 pm
por bingen
Sería la leche poder meterle Html directo en una página y que se imprimiera tal cual, pero me temo que no, yo también lo estuve mirando y no hallé la manera, el soporte de Html es muy báscico, negritas y poco más....

HTML-tags in the "Text" object

Yes, this object does understand some simplest HTML tags. Tags can be located inside the text of an object. Tags are disabled by default; to enable them, either select the "Allow HTML tags" item in the object context menu, or enable the "AllowHTMLTags" property in the object inspector. Here is the list of supported tags:

<b> - bold text
<i> - text in italic
<u> - underlined text
<sub> - subscript
<sup> - superscript
<font color> - font color

As one may notice, not too many tags are supported, but it is rather enough for the majority of applications. It is impossible to modify font size and name; otherwise the textrendering unit in FastReport must be appreciably complicated.

The following examples demonstrate how these tags can be used.

text <b>bold text</b> <i>text in italic</i> <b><i>bold and in italic</b></i>
E = mc<sup>2</sup>
A<sub>1</sub> = B<sup>2</sup>
this is a usual text, <font color=red>and this is a red one</font>
this is a usual text, <font color="#FF8030">and this is an orange one</font>