Sells, Fred wrote:

I need to put horizontal lines on my PDF so the user can write more stuff on
the printout.

I tried using a background image.  It looked good but doubled the size of my
PDF.  Seemed like fop was generating multiple copies of image. Our users
have low-end computers and printers and a 30 page document is taking 30
minutes to print.  I think this may also be a W95 :( sysconfig issues, but
that's not an area I'm knowledgable in.

I removed the image and tried drawing horizontal lines in the region-before.
This worked, but the lines show through blocks in the body, even if I set
the background-color of the block in the body.

has anyone overcome this problem?

Have you tried fo:leader?

Here's a FAQ about leaders:

http://xml.apache.org/fop/faq.html#leader-expansion

I found examples like the following in the examples/ directory:

<fo:leader leader-pattern="rule"
                   rule-thickness="1.0pt"
                   leader-length="6cm"
                   space-before.optimum="12pt"
                   space-after.optimum="12pt"
                   start-indent="1.5cm"
                   end-indent="2cm"
                   background-color="blue"
                   color="#000000"/>

fop-0.20.5/examples/fo/basic/leader.fo

Hope this helps!

Web Maestro Clay


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



Reply via email to