Excellent thanks J.
-Original Message-
From: J.Pietschmann [mailto:[EMAIL PROTECTED]
Sent: 02 May 2002 21:39
To: [EMAIL PROTECTED]
Subject: Re: Trying to resolve memory exception through correct use of
pag e se quencing
John Bourke wrote:
J. below is my layout-master-set followed by
Guys is there a way to stop cells in a table wrapping the text to the next
line and simply cutting the data if it's longer than the cell width? I would
think there may be some kind of attribute to do this?
***
This email and
You can do that whith the attribute wrap-option set to no-wrap like this
:
fo:table-cell
fo:block wrap-option=no-wrap
/fo:block
fo:table-cell
- Original Message -
From: John Bourke [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, May 03, 2002 10:45 AM
Subject:
Thanks Stephane I really appreciate that!
-Original Message-
From: Stéphane REYNIER [mailto:[EMAIL PROTECTED]
Sent: 03 May 2002 10:16
To: [EMAIL PROTECTED]
Subject: Re: How do I stop table cell wrapping?
You can do that whith the attribute wrap-option set to no-wrap like this
:
Hi!
In my case, the following code worked:
import java.io.*;
import java.util.*;
import org.xml.sax.InputSource;
import org.xml.sax.XMLReader;
import org.apache.fop.apps.Driver;
import org.apache.fop.apps.Version;
import org.apache.fop.apps.InputHandler;
import
[..]
Driver driver = new Driver();
driver.setRenderer(Driver.RENDER_PDF);
InputHandler inputHandler = new XSLTInputHandler(xmlFile, xslFile);
XMLReader parser = inputHandler.getParser();
/ changes start here /
FileOutputStream fos = FileOutputStream( outFile );
Hi,
Is there is any best practice for coding the XSL:FO,
that is always
1. use xsl:template
2. check whether the element exist or not even for
mandatory elements.
My xsl is of 578 lines,Suddenly i felt that my code
is not object oriented beacuse no where i have used
xsl:template.
Hello Balaji,
I think if you don't use any xsl:template match=..., then the processing
speed would be fastest, since the XSLT has nothing much to do just to write
out what you have.
If it is good practice is another story...
Greetings,
Patrick
Dipl. Inform. Patrick Chaumette
T-Systems ITS GmbH
Balaji,
xsl:template mainly helps you split up your processing in handy parts
that may even be reused instead of copy-pasted. Copy-Paste is often A
Bad Thing (TM). That's probably one of the top ten best practices in
every computer language.
Processing speed is always one thing. Maintainability
Ralf Steppacher wrote:
OK, I got rid of all the d-o-e.
But the basic-links still are not present in the pdf generated by the
embedded FOP but are if the .fo document is dumped to a file and then
rendered using FOP from commandline.
Can you post a trimmed down version of your source XML
and the
John Bourke wrote:
Guys is there a way to stop cells in a table wrapping the text to the next
line and simply cutting the data if it's longer than the cell width? I would
think there may be some kind of attribute to do this?
You probably want to use the overflow=clip property too,
unfortunately,
Balaji Loganathan wrote:
Hi,
Is there is any best practice for coding the XSL:FO,
that is always
1. use xsl:template
2. check whether the element exist or not even for
mandatory elements.
My xsl is of 578 lines,Suddenly i felt that my code
is not object oriented beacuse no where i
I seem to recall that the fo:block wrap-option=wrap | no-wrap attribute
works in cells.
-Original Message-
From: J.Pietschmann [mailto:[EMAIL PROTECTED]
Sent: Friday, May 03, 2002 4:12 PM
To: [EMAIL PROTECTED]
Subject: Re: How do I stop table cell wrapping?
John Bourke wrote:
Ralf Steppacher wrote:
I wonder how I can procude legal empty pages (and then suppress them)?
Forced blank pages are mainly created by page count
constraints, for example a break-before=odd-page
will insert a page break, and if the new page has
an even page number, a blank page is inserted, and
Now I get the whole picture
thanks,
-Original Message-
From: J.Pietschmann [mailto:[EMAIL PROTECTED]
Sent: Friday, May 03, 2002 5:20 PM
To: [EMAIL PROTECTED]
Subject: Re: How do I stop table cell wrapping?
Matthew L. Avizinis wrote:
I seem to recall that the fo:block
15 matches
Mail list logo