Crystal Reports 2008 支持哪些 HTML 标记

What HTML tags are supported in Crystal Reports 2008(Crystal Reports 2008 支持哪些 HTML 标记)
本文介绍了Crystal Reports 2008 支持哪些 HTML 标记的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

问题描述

我知道通过右键单击 Crystal Reports 中的某些文本字段,您可以告诉 Crystal 将该报表呈现为 HTML(请参见下面的屏幕截图).我想知道这些字段中可用的可能标签是什么以及有哪些 CSS/样式功能.谢谢!

I know by right clicking some text fields in Crystal Reports you can tell Crystal to render that report as HTML (See screenshots below). I'm wondering what the possible tags available in those fields is and what CSS/styling capabilities there are. Thanks!

右键单击一个字段并选择格式化字段"

Right click a field and select "Format Field"

单击段落标签和文本解释组合框.

Click the Paragraph Tag and the Text Interpretation combo box.

推荐答案

我在 一个论坛找到了这个发布.不确定它的有效性,但它似乎是合法的.

I found this in a forum post. Not sure about it's validity, but it seems legit.

Crystal Reports 似乎只支持一小部分 HTML 标记和属性.

It appears that Crystal Reports only supports a small subset of HTML tags and attributes.

支持的标签有:

  • html
  • 正文
  • div(导致断句)
  • tr(仅导致断句;不保留表格的列结构)
  • 跨度
  • 字体
  • p(导致断句)
  • br(导致段落中断)
  • h1(导致段落中断,使字体加粗和两倍默认大小)
  • h2(导致段落中断,使字体加粗和默认大小的 1.5 倍)
  • h3(导致段落中断,使字体加粗和默认大小为 9/8)
  • h4(导致段落中断,使字体变粗)
  • h5(导致段落中断,使字体加粗和默认大小为 5/6)
  • h6(导致段落中断,使字体变为粗体和 5/8 默认大小)
  • 中心
  • big(将字体大小增加 2 磅)
  • small(如果是 8 磅或更大,则将字体大小减小 2 磅)
  • b
  • s
  • 罢工
  • u
  • html
  • body
  • div (causes a paragraph break)
  • tr (causes only a paragraph break; does not preserve column structure of a table)
  • span
  • font
  • p (causes a paragraph break)
  • br (causes a paragraph break)
  • h1 (causes a paragraph break, makes the font bold & twice default size)
  • h2 (causes a paragraph break, makes the font bold & 1.5 times default size)
  • h3 (causes a paragraph break, makes the font bold & 9/8 default size)
  • h4 (causes a paragraph break, makes the font bold)
  • h5 (causes a paragraph break, makes the font bold & 5/6 default size)
  • h6 (causes a paragraph break, makes the font bold & 5/8 default size)
  • center
  • big (increases font size by 2 points)
  • small (decreases font size by 2 points if it's 8 points or larger)
  • b
  • i
  • s
  • strike
  • u

支持的属性有:

  • 对齐
  • 人脸
  • 尺寸
  • 颜色
  • 风格
  • 字体系列
  • 字体大小
  • 字体样式
  • 字体粗细

不确定 CSS.我敢肯定,除了您在此处看到的内容之外,您无法进行任何样式设置.

Not sure about CSS. I'm pretty sure you can't do any styling beyond what you see here.

这篇关于Crystal Reports 2008 支持哪些 HTML 标记的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

相关文档推荐

quot;Each child in an array should have a unique key propquot; only on first time render of page(“数组中的每个孩子都应该有一个唯一的 key prop仅在第一次呈现页面时)
How do I make a TextGeometry multiline? How do I put it inside a square so it wraps like html text does inside a div?(如何制作 TextGeometry 多线?如何将它放在一个正方形内,以便它像 html 文本一样包裹在 div 内?) - IT屋-程序员软件开发技术分享社
Scale background image to fit ie8 window(缩放背景图像以适合 ie8 窗口)
Safari 5.1 breaks CSS table cell spacing(Safari 5.1 打破 CSS 表格单元格间距)
Put in bold part of description in metatag Drupal module(将描述的粗体部分放在元标记 Drupal 模块中)
Is it possible to compile Coffeescript code in script tags in html files?(是否可以在 html 文件的脚本标签中编译 Coffeescript 代码?)