[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

XSL-FO column width

Subject: XSL-FO column width
From: "Kevin Brown" <kevin@xxxxxxxxxxx>
Date: Tue, 5 Feb 2008 23:37:18 -0800
 XSL-FO column width
Alex:

Either something is wrong with the FO processor you are using OR more likely
you believe that the paper you are printing from Adobe Reader using your
printer represents "reality" without interpreting all the variables. 

If I process this exact structure in an FO document using RenderX XEP and
print from Adobe Reader to my printer and ...

1) I ensure that my document size matches my paper size available in the
printer, and
2) I ensure that Adobe Reader is set to not scale the print document to fit
the paper

The document printed has two columns, one exactly 2in and one exactly 3in. 

Do not think that your problem is the result of the program that produced
the file when you have introduced other variables such as paper size
considerations and Adobe Reader to print scaling.

The columns produced within a PDF file by XEP are exactly the widths
specified if you use this structure in your FO.

You do not need to do anything to add a third column or anything of the
like. The problem likely exists with your specified paper size dimensions
and/or Adobe reader scaling the document to fit the paper size.

Kevin Brown
RenderX, Inc.

***********************************
Date: Tue, 5 Feb 2008 18:29:00 -0600
To: <xsl-list@xxxxxxxxxxxxxxxxxxxxxx>
From: "Jay Bryant" <jay@xxxxxxxxxxxx>
Subject: Re:  XSL-FO column width
Message-ID: <89B891655F3A4BFD9D5D302F73EBED80@JayPC>

Hi, Alex,

Make sure that you have enough columns (and space within the columns) to 
fill the area available to the table. Suppose you have 8.5in wide paper and 
1in margins on both sides. In that case (assuming no other objects are in 
that space), the table has 6.5in it can use. So, to fill the space and get 
two columns exactly 2in and 3in wide, you'd create three columns of 2in, 
3in, and 1.5in. Then you'd set the borders and background colors of the 
cells in the third column to white (or whatever your paper color might be).

I can't guarantee this trick will fix your problem, but it fixed a similar 
problem for me about 15 months ago.

HTH

Jay Bryant
Bryant Communication Services
http://www.bryantcs.com/

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.