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
Conferences Close Tree View
+ Stylus Studio Feature Requests (1192)
+ Stylus Studio Technical Forum (14621)
+ Website Feedback (249)
- XSLT Help and Discussion (7625)
-> + get the current position as pa... (2)
-> - unable to get Parameter from x... (1)
-> + get key value from xslt to jav... (2)
-> + Xpath insensitive search? (3)
-> + relative path 2 (10)
-> + sum and group attrs, list only... (3)
-> - Simple multiplication.... but ... (1)
-> + .NET issue (2)
-> + Grouping items (9)
-> + Group Move (4)
-> + Problem with DateTime manipula... (2)
-> + xls fo positioning in block (2)
-> + Filtering with XSLT not workin... (3)
-> + Petri net to BPEL model transf... (3)
-> + Selecting specific child eleme... (2)
-> + Grouping and summing ... (3)
-> - XSL-FO question: can't get ext... (2)
-> ->XSL-FO question: can't ge...
-> + for each with a parallel nodel... (3)
-> + unable to load schmea with tar... (5)
-> + Translating svg path data to x... (5)
-- Previous [1321-1340] [1341-1360] [1361-1380] Next
+ XQuery Help and Discussion (2017)
+ Stylus Studio FAQs (159)
+ Stylus Studio Code Samples & Utilities (364)
+ Stylus Studio Announcements (113)
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.

   
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.