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

Re: White Space and Printing

Subject: Re: White Space and Printing
From: "Nikolai Grigoriev" <grig@xxxxxxxxxxx>
Date: Sat, 8 Jul 2000 02:23:22 +0400
printing space in xsl
Ken,

> I have an XSL form that has a fold line in it, 3.25" down from the top margin.
> This is to keep the address separate from the text, so that it can be folded
> over, put in a window envelope, and mailed.
>
> Is there any sort of <fo:block> attribute where I can specify how far down the
> page said block will print?  I thought initially that space-before.optimum
would
> be it.

By space-before, you can only control the distance from the preceding block,
rather than from the top of page. To position a block exactly within the page,
you can do one of the following:

1) Define a page header 3.25" high, and write your address there. The top edge
of the body region (or, alternatively, the bottom edge of the header region)
acts as a fold line, and the rest of the text will flow below it:

<fo:simple-page-master>
    <fo:region-body margin="1in" margin-top="3.25in"
                   border-top="thin dashed gray" padding-top="6pt"/>
    <fo:region-before extent="3.25in" padding="6pt 1in"/>
</fo:simple-page-master>

2) Use an absolutely positioned block-container.

> I'm working from a Xerxes/Xalan parser setup.

You should better specify which XSL FO formatter you are using. There are too
many discrepancies between different formatters; and all of them support
different subsets of different XSL FO drafts. Neither Xerces nor Xalan support
XSL FO directly - i.e. they can only produce it, but have no means to view/print
it.

Regards,

Nikolai Grigoriev
RenderX






 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


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.