xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bonekrusher <djs...@yahoo.com>
Subject Re: option to output graphice
Date Fri, 04 Apr 2008 13:56:56 GMT


This is what I do. In your Stylesheet you can add a parameter which can be
passed from your app.


<xsl:param name="output-graphics"/>

Then in your stylesheet graphic template:

				<xsl:when test="$output-graphics = 'true'">
							<fo:external-graphic scaling="uniform" content-width="scale-to-fit"
								<xsl:call-template name="check-updated" />
								<xsl:attribute name="src">
									<xsl:value-of select="@href" />
					<fo:inline font-style="italic" font-size="6">&lt;GRAPHICS

hogie503 wrote:
> Hi,
> I am using the embeded examples in a Netbean IDE to render XML to PDF. is
> there a way to have two check boxes to give me the options to output, or
> do not output  graphics and or foldouts in the PDF.
> Thanks.

View this message in context: http://www.nabble.com/option-to-output-graphice-tp16467549p16491540.html
Sent from the FOP - Users mailing list archive at Nabble.com.

To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org

View raw message