You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Carlos Araya <el...@valinor.sjsu.edu> on 2000/06/16 00:57:24 UTC
XSL-FO questions
Hello,
I have a couple quick questions about FO.
1. How can you generate Linebreaks? I've tried putting each object in its
own <fo:block> element, but that still gives me the elements in one single
line when viewing the resulting PDF file.
2. Can you use <fo:block> to set up per-element margins? Is it valid in
XSL-FO to say <fo:block margin-top="1in" margin-bottom="1in">? I've tried
it and it works with some attributes, but not others.
An example PDF file, produced with Xalan as the XSLT processor and FOP as
the FOP producer is at
http://valinor.sjsu.edu/~elrond/xml-novel/fo-test/Story2.pdf
An HTML version that is closer to what I want can be viewed at
http://valinor.sjsu.edu/~elrond/xml-novel/Story2.xml
Thanks for any and all help
Carlos
--
Carlos E. Araya
WebCT Project Coordinator - New Media Specialist
Alquist Center for Instrucctional Development
San Jose State University
1 Washington Square
San Jose, Ca 95192-0026
email : araya@sjsu.edu (prefered) | Phone (408) 924 2859
elrond@valinor.sjsu.edu | Pager (408) 308 1793
Web : http://www.sjsu.edu/depts/alquist/ | Fax (408) 924 2437
http://valinor.sjsu.edu/~elrond/
finger elrond@valinor.sjsu.edu for PGP key
--
Note: you are currently using an unregistered evaluation copy of your
life. Register now for the full-featured version and cheat codes!
Re: XSL-FO questions
Posted by Jordan Naftolin <jo...@jtcsv.com>.
Carlos,
Try using something like the following:
<fo:block space-before.optimum="10pt" space-after.optimum="10pt">
This text will have space before it and after it
</fo:block>
Hope that helps.
Jordan
----- Original Message -----
From: "Carlos Araya" <el...@valinor.sjsu.edu>
To: "Fop-dev list" <fo...@xml.apache.org>
Sent: Thursday, June 15, 2000 3:57 PM
Subject: XSL-FO questions
> Hello,
>
> I have a couple quick questions about FO.
>
> 1. How can you generate Linebreaks? I've tried putting each object in its
> own <fo:block> element, but that still gives me the elements in one single
> line when viewing the resulting PDF file.
>
> 2. Can you use <fo:block> to set up per-element margins? Is it valid in
> XSL-FO to say <fo:block margin-top="1in" margin-bottom="1in">? I've tried
> it and it works with some attributes, but not others.
>
> An example PDF file, produced with Xalan as the XSLT processor and FOP as
> the FOP producer is at
> http://valinor.sjsu.edu/~elrond/xml-novel/fo-test/Story2.pdf
>
> An HTML version that is closer to what I want can be viewed at
> http://valinor.sjsu.edu/~elrond/xml-novel/Story2.xml
>
> Thanks for any and all help
> Carlos
> --
> Carlos E. Araya
> WebCT Project Coordinator - New Media Specialist
> Alquist Center for Instrucctional Development
> San Jose State University
> 1 Washington Square
> San Jose, Ca 95192-0026
>
> email : araya@sjsu.edu (prefered) | Phone (408) 924 2859
> elrond@valinor.sjsu.edu | Pager (408) 308 1793
> Web : http://www.sjsu.edu/depts/alquist/ | Fax (408) 924 2437
> http://valinor.sjsu.edu/~elrond/
>
> finger elrond@valinor.sjsu.edu for PGP key
> --
> Note: you are currently using an unregistered evaluation copy of your
> life. Register now for the full-featured version and cheat codes!
>
>
>
>
>
>