Reporting Services 中目录的填充点
有人有一种巧妙的方法可以在 RS 的目录页面中添加填充点吗?
如果使用比例字体,这不会成为问题。
例如
Monkey.........5
House..........1
Tree...........11
Underpants.....2
显然上面的例子很糟糕,因为字体是成比例的
Does anyone have a slick way of adding filler dots to a table of contents page in RS?
This would not be a problem were it using proportional fonts.
e.g.
Monkey.........5
House..........1
Tree...........11
Underpants.....2
Obviously the example above sucks as the font is proportional
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您可以使用 PlaceHolder 来完成此操作。
Dots
(或其他)作为标签。=StrDup(600, ".")
不要注意屏幕截图中的页码。我知道他们错了。
You can do this using a PlaceHolder.
Dots
(or whatever) for the Label.=StrDup(600, ".")
Pay no attention to the page numbers in the screen shot. I know they are wrong.
我不确定这是否有帮助,但由于您可以控制目录,而不是将其构建为单个字段,因此您是否可以选择将其设置为包含三列(标题、点,页码)?
虽然这会给你标题和点的开头之间留出空白,但这至少意味着填充的长度是一致的。
在这种情况下,您也可以将点生成为表格单元格内的图案线,而不是使用重复的字符。
I'm not sure whether this is helpful or not, but since you have control over the TOC, rather than building it as a single field, do you have the option to set it up as a table with three columns (the title, the dots, the page number)?
Whilst this would give you white-space between the title and the start of the dots, it would at least mean that the padding would be of a consistent length.
In this scenario, you could alternatively generate the dots as a patterned line inside the table cell, rather than with repeated characters.
这在 SQL Server Reporting Services 2008 中似乎不可能。
This does not appear to be possible in SQL Server Reporting Services 2008.