You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Scott Moore <sc...@netdecide.com> on 2002/01/25 22:31:14 UTC

Images in region-start

I'm trying to place an image (JPEG) on the left side of my page that runs the whole length of the page inside the xsl-region-start.  But, for the life of me the best it will ever do is approx. 3/4 of the length of the page (8.5inx11in).

I've tried everything, including resizing the image until I'm about to scream.  It doesn't make any difference.  Even if I stretch the image vertically, but not horizontally, it still is exactly the same height in the PDF!  I've tried using the width attribute, but it doesn't seem to increase the height, no matter if I shrink or expand the width.  The height attribute seems worthless.  By placing the "space-before" attribute on the block enclosing the image, I can move the image up or down the page, but I can never get the image to fill the whole page.

This is in FOP 0.30.3rc.  Has anyone successfully ran an image along the whole left side of a page?  What's the secret??  Thanks for any help!

Scott

Re: Images in region-start

Posted by Scott Moore <sc...@netdecide.com>.
content-height seems to be ignored.  No matter what I set it to, the image stays the same height.
  ----- Original Message ----- 
  From: Carmelo Montanez 
  To: fop-user@xml.apache.org 
  Sent: Friday, January 25, 2002 4:40 PM
  Subject: Re: Images in region-start


  Hi Scott:

  Have you tried the "content-height"  and "content-width" properties?

  Carmelo
    ----- Original Message ----- 
    From: Scott Moore 
    To: FOP User 
    Sent: Friday, January 25, 2002 4:31 PM
    Subject: Images in region-start


    I'm trying to place an image (JPEG) on the left side of my page that runs the whole length of the page inside the xsl-region-start.  But, for the life of me the best it will ever do is approx. 3/4 of the length of the page (8.5inx11in).

    I've tried everything, including resizing the image until I'm about to scream.  It doesn't make any difference.  Even if I stretch the image vertically, but not horizontally, it still is exactly the same height in the PDF!  I've tried using the width attribute, but it doesn't seem to increase the height, no matter if I shrink or expand the width.  The height attribute seems worthless.  By placing the "space-before" attribute on the block enclosing the image, I can move the image up or down the page, but I can never get the image to fill the whole page.

    This is in FOP 0.30.3rc.  Has anyone successfully ran an image along the whole left side of a page?  What's the secret??  Thanks for any help!

    Scott

Re: Images in region-start

Posted by Carmelo Montanez <ca...@nist.gov>.
Hi Scott:

Have you tried the "content-height"  and "content-width" properties?

Carmelo
  ----- Original Message ----- 
  From: Scott Moore 
  To: FOP User 
  Sent: Friday, January 25, 2002 4:31 PM
  Subject: Images in region-start


  I'm trying to place an image (JPEG) on the left side of my page that runs the whole length of the page inside the xsl-region-start.  But, for the life of me the best it will ever do is approx. 3/4 of the length of the page (8.5inx11in).

  I've tried everything, including resizing the image until I'm about to scream.  It doesn't make any difference.  Even if I stretch the image vertically, but not horizontally, it still is exactly the same height in the PDF!  I've tried using the width attribute, but it doesn't seem to increase the height, no matter if I shrink or expand the width.  The height attribute seems worthless.  By placing the "space-before" attribute on the block enclosing the image, I can move the image up or down the page, but I can never get the image to fill the whole page.

  This is in FOP 0.30.3rc.  Has anyone successfully ran an image along the whole left side of a page?  What's the secret??  Thanks for any help!

  Scott