XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Jerry JanofskySubject: XSL-FO question: can't get external graphic to always fill page body
Author: Jerry Janofsky
Date: 31 Aug 2006 12:42 PM
I am using "fo:external-graphic" to insert an external pdf page into a page body. It is possible for the page body to be smaller then the pdf actual size. Therefore, I want to force the PDF to be scaled to fit the page body. However, I am unable to do this automatically. I tried several combinations of properties including scaling="uniform", but it doesn't work. I can only get the graphic to shrink if I specify the height to be less then 100%, but I don't want to explicitly have to do this. I am using the XEP FO processor. Below is an example that doesn't work if the page body is too small.

Jerry J


<fo:flow flow-name="xsl-region-body" end-indent="0pt" start-indent="0pt">
<fo:block>
<fo:external-graphic scaling-method="auto" scaling="uniform" src="url(http://localhost/files/mypdf.pdf)"/>
</fo:block>
</fo:flow>

Posttop
Tony LavinioSubject: XSL-FO question: can't get external graphic to always fill page body
Author: Tony Lavinio
Date: 11 Sep 2006 09:02 AM
You probably want to ask this on a Render XEP support forum; we
bundle their product, but they are the experts at supporting it.

 
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.