Showing posts with label pdf. Show all posts
Showing posts with label pdf. Show all posts

Thursday, March 22, 2012

detecting renderer .

basically i only want a document map when rendering to PDF
however if there are any labels, then the HTML will show the
documentmap, SO
i want to write expressions for hte grouping labels that show nothing
unless it is rendering to PDF, but how do you detect the renderer from
expression code?
KarlIt is not possible to detect the renderer from an expression inside the
report.
Just consider the cases where a report is rendered from an execution or a
history snapshot. In both cases the report does not get reprocessed, but
just rendered from the snapshot. Snapshots contain the processed report
items in an output format independent format. Hence, during executing
expressions the renderer can't be determined.
There are some ways to achieve what you want, but they all involve
additional work (e.g. write your own application which requests different
reports depending on output format)
-- Robert
This posting is provided "AS IS" with no warranties, and confers no rights.
"Karl Prosser" <klumsy@.xtra.co.nz> wrote in message
news:7156880c.0503031437.2d9032ab@.posting.google.com...
> basically i only want a document map when rendering to PDF
> however if there are any labels, then the HTML will show the
> documentmap, SO
> i want to write expressions for hte grouping labels that show nothing
> unless it is rendering to PDF, but how do you detect the renderer from
> expression code?
> Karl

Saturday, February 25, 2012

designing for both pdf and excel rendering

A report I designed looked perfect html and pdf but when exported to excel it chops off the last column when printed. Does the report grow when exported to excel? How can I fix this? If I change the margins it fixes on the excel side but then the page doesn't look right on the pdf side. Thank you in advance for any help.Microsoft any suggestions please.