Subject: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.