Re: [xep-support] Image fitting

From: Volodymyr Mykhailyk <Volodymyr.Mykhailyk@intelliarts.com>
Date: Tue May 30 2006 - 05:19:36 PDT
Hi David,
could you provide more info about this. How do you inserting this image into PDF (background of block, background of block-container, background of page, ...)? Maybe some XSL-FO source, screenshot, etc. I can't advice you, until I will be able to imagine (or see) the situation.
--BS
Dovid Zalkin wrote:
Hi Volodymyr. Thanx for the suggestion. The problem I found with making the image a background, is that only the parts of the image where there was text on the page showed up. In other words, if only half of the page had text, then only half of the image displayed. Is there any way around that?
Thanx,
David
 
----- Original Message -----
From: Volodymyr Mykhailyk
To: xep-support@renderx.com
Sent: Monday, May 29, 2006 12:40 PM
Subject: Re: [xep-support] Image fitting

Hi David,
it is probably caused with margins in layout masters. To insert graphic to fill the page (for example in front-matter, or opener page of chapter), we are usually inserting it from layout masters.
If you have some margin's in layout masters replace them with paddings, set margin to 0, and place your image as page background.
here is example:
    <fo:simple-page-master
        master-name="Chapter-first-page"
        page-width="7in"
        page-height="9in">
        <fo:region-body
            margin="0"
            background-image="url(path_to_image)"
            background-repeat="no-repeat"

            padding-left=".9in"
            padding-right="2.5in"
            padding-top=".8in"
            padding-bottom="1.25in"/>
        <fo:region-before extent=".75in"
            display-align="before"
            region-name="first-header"/>
        <fo:region-after extent=".8in"
            padding-left="1in"
            padding-right=".4in"
            padding-bottom=".8in"
            display-align="after"
            region-name="first-footer"/>
    </fo:simple-page-master>
If you want this image appear only from one side of page just create image (transparent or white) of page size and place your side image in it.
--BS
Dovid Zalkin wrote:
Hi. I have an image I am using as a sidebar at the beginning of each chapter of my document. I have a small problem: If I resize the graphic to be exactly the size of the page, it doesn't show up at all in the PDF. However, if it is small enough to appear, it doesn't fill up the whole height of the page; there is a small amount of whitespace at the top and bottom of the image in the PDF. My client wants the image to fill up the page completely. Any suggestions will be welcome.
Thank you,
 
David Zalkin
Technology Consultant
Tech-Tav Documentation Ltd.
+972 (0)57 313 8506

------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo@renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html

------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo@renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html Received on Tue May 30 05:43:08 2006

This archive was generated by hypermail 2.1.8 : Tue May 30 2006 - 05:43:12 PDT