- From: Scott Moore <Scott.Moore@netDecide.com>
- Date: Fri, 7 Sep 2001 10:28:16 -0400
- To: "'www-xsl-fo@w3.org'" <www-xsl-fo@w3.org>
I'm using FOP 0.20.1 and I have a graphic that I'm placing on the title page of my PDF file. But, I'm having a couple of problems getting it the right size and to be right justified. Here's an approximation of how I want the page to look: ----------------------------- | | | Title | | | | ********* | | * * | | * Image * | | * * | | ********* | | | ----------------------------- First, the image is shrunk to about half it's normal size. I've tried setting content-height and content-width to various values, but nothing works. Plus, no matter what I try, the image is always left justified. Even placing padding-left on the block element doesn't work. Below is the actual fo file. Any help would be greatly appreciated! Thanks, Scott <?xml version="1.0" encoding="iso-8859-1"?> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format"> <fo:layout-master-set> <fo:simple-page-master master-name="first-page" font-family="Times"> <fo:region-body margin-bottom="1in" margin-left="1in" margin-right="1in" margin-top="1.5in"/> </fo:simple-page-master> </fo:layout-master-set> <fo:page-sequence master-name="first-page"> <fo:flow flow-name="xsl-region-body"> <fo:block font-size="20pt" color="white" background-color="black" text-align="end" font-weight="bold"> Company Name </fo:block> <fo:block padding-top=".2in" text-align="end" color="purple" font-size="14pt"> Title </fo:block> <fo:block text-align="end" padding-top="1.5in"> <fo:external-graphic src="testimage.jpg" content-height="auto" content-width="auto"/> </fo:block> </fo:flow> </fo:page-sequence> </fo:root>
Received on Friday, 7 September 2001 10:32:41 UTC