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 Muralidhar Kulkarni <mu...@igiindia.com> on 2010/08/13 16:17:37 UTC

fop region-body border and padding issue

<fo:region-body> in the XSL-FO is having border and padding attributes
with same value. Because of this I am getting the validation exception
while transforming the XSL-FO file to get the pdf document. If I set
strict validation to false on fopFactory object, then I will get pdf
without proper alignment. Please suggest how to get rid of this issue.

 

Thanks,

 

 
Muralidhar Kulkarni
Senior Software Engineer 
371 Hoes Lane
Piscataway NJ, 08854
www.igihealth.com <http://www.igihealth.com/>  

732-271-0600 X1616
muralidhar.k@igiindia.com 

 


Re: fop region-body border and padding issue

Posted by Peter Hancock <pe...@gmail.com>.
Hi Muralidhar,

Since the region-body statically positioned relative to the page (as
determined by margins of simple-page-master), then perhaps you can achieve
your desired layout by just combining the effective padding into the margins
of region-before?

Pete

On Fri, Aug 13, 2010 at 3:17 PM, Muralidhar Kulkarni <
muralidhar.k@igiindia.com> wrote:

>  <fo:region-body> in the XSL-FO is having border and padding attributes
> with same value. Because of this I am getting the validation exception while
> transforming the XSL-FO file to get the pdf document. If I set strict
> validation to false on fopFactory object, then I will get pdf without proper
> alignment. Please suggest how to get rid of this issue.
>
>
>
> Thanks,
>
>
>
> [image: IGI Health]
> Muralidhar Kulkarni
> Senior Software Engineer
> 371 Hoes Lane
> Piscataway NJ, 08854
> www.igihealth.com
>
> 732-271-0600 X1616
> muralidhar.k@igiindia.com
>
>
>