all groups > sql server reporting services > august 2005 >
You're in the

sql server reporting services

group:

Formatting within a Textbox possible??



Formatting within a Textbox possible?? Arkiliknam
8/17/2005 5:06:02 PM
sql server reporting services: Hi all.

Have been coming accross this same issue more and more. I am needed to take
in some HTML and print it in a TextBox so that we can render a PDF with
custom formatting.

Up until now, I've written some custom code that replaces known HTML tags
with ascii characters or line breaks, etc. But now I am required to recognize
the BOLD and ITALICS properties of fonts. As far as I know, its imposible to
set the format of text within a textbox (in line), without setting the entire
object's format. Is that correct?

The only thing I've come up with is the idea to create X amount of textboxes
that are split up and used to dynamically change formats of text. This sounds
like a huge thing to try and achieve, and I'm not sure it would even work.

Anyone have ideas, or work arounds? There is no ASCII within a fontset that
represtents the bold version that I could use?

Any idea if RS 2005 will support inline formatting like this?

Thanks,
Re: Formatting within a Textbox possible?? Wayne Snyder
8/18/2005 4:26:36 AM
The Program Manager for Reporting services has said this is high on the list
of needs for Reporting Services, but this did not make it into SQL 2005, but
will be in the following release...

--
Wayne Snyder, MCDBA, SQL Server MVP
Mariner, Charlotte, NC
www.mariner-usa.com
(Please respond only to the newsgroups.)

I support the Professional Association of SQL Server (PASS) and it's
community of SQL Server professionals.
www.sqlpass.org

[quoted text, click to view]

Re: Formatting within a Textbox possible?? DigitalVixen
8/18/2005 5:45:51 AM
Hi Wayne, thanks for the update, however do you know if it's possible or who
should be contacted in order to try to get this pushed up...possibly a
hotfix, this is something that is used in a number of reports if not all and
the workaround that was suggested above use to work prior to SP2 which
removes leading spaces therefore does not allow you to line up your "manually
formatted text" correctly. Any help in this matter is greatly appreciated.


[quoted text, click to view]
RE: Formatting within a Textbox possible?? Dave Sundell
9/9/2005 5:39:15 AM
Greetings. I have the same issue. Our developers came accross a utility that
they run within their .Net code that strips off the tags but that is not what
I need. For example, the results is one big paragraph after it strips off all
<br>, etc.... Is your custom code available for our use? Thanks.
Dave.Sundell@Fiserv.Com

[quoted text, click to view]
RE: Formatting within a Textbox possible?? Arkiliknam
9/11/2005 2:28:09 AM
all my custom code does is StringReplace on a set of predefined things... and
then strips all remaining html out.... nothing fancy

[quoted text, click to view]
RE: Formatting within a Textbox possible?? Dave Sundell
9/12/2005 4:50:04 AM
I started the same thing. I am currently working on the List tags.

Thanks.

[quoted text, click to view]
AddThis Social Bookmark Button