I think you want "height' and "width" NOT "content-height" and
"content-width" on your external-graphic.  Make your static-content
region-before real big for testing (extent="2in"), then trim it down.  If
the image doesn't fit in the static region it will be blank.

I bet the static region is working when it's not showing, you just need to
make the region larger because your graphic height and width are not
sizeing correctly.  I found I had to leave a buffer zone.

Other Thoughts: make sure your using a repeatable-page-master of some type
(not a single-page-master-reference) in your page-sequence-master.



                                                                                       
                                                        
                    fop-dev-return-10566-jthaemlitz=oreillyauto.com@XML.               
                                                        
                    APACHE.ORG                                                 To:     
[EMAIL PROTECTED]                                  
                                                                               cc:     
                                                        
                    09/26/01 02:50 PM                                          
Subject:     Re: image on every pdf page                        
                    Please respond to fop-dev                                          
                                                        
                                                                                       
                                                        
                                                                                       
                                                        




My code is listed below...the image does not show up in the pdf


<fo:static-content flow-name="xsl-region-before">
    <fo:block>
        <fo:external-graphic src="http://localhost:8100/somepic.gif";
            content-height="3cm"
            content-width="8cm"/>
    </fo:block>
</fo:static-content>


If i take out the static -content tag the picture shows up one page

[EMAIL PROTECTED] wrote:

> You need to set up the static content areas (you probably already have
> region-before and region-after in your simple-page-master).  You'll want
to
> put in one of the following in your page-sequence depending on where you
> want it to show up.
>
> <static-content flow-name="xsl-region-before">     (for English TOP area)
> <static-content flow-name="xsl-region-after">      (for English BOTTOM
> area)
> <static-content flow-name="xsl-region-start">      (for English LEFT
area)
> <static-content flow-name="xsl-region-end">   (for English RIGHT area)
>
> JohnPT
>
>
>                     fop-dev-return-10563-jthaemlitz=oreillyauto.com@XML.
>                     APACHE.ORG
To:     [EMAIL PROTECTED]
>
cc:
>                     09/26/01 01:05 PM
Subject:     image on every pdf page
>                     Please respond to fop-dev
>
>
>
> I have images working ..
>
> <fo:block>
>        <fo:external-graphic src="http://localhost:8100/somepic.gif
>         content-height="3cm"
>         content-width="8cm"/>
>   </fo:block>
>
> Is there a way so that this image is always on a page when a page break
> occurs in the pdf file.(kindda like page numbers..)
>
> thanks
> Amit
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]










---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to