Dear FOP experts:
I'm now building an application that generate report in PDF format. I'm
using FOP.
A requirement of report format is all report data must fit into a PDF page (A4
for example) in both vertical and horizontal sides.
This is my solutions: We calulate maximum
Hello!
I would like to improve
the code below
2 questions:
- java says to me that input.getParser()
input.getInputSource() are deprecated
what is necessary to use
in the place ?
- to gain
memory, are my files well closed?
---
XSLTInputHandler input = new
Simon Pepping wrote:
When I try to run the junit tests on the code checked out from CVS
HEAD, I get a failure because ant cannot create task or type of type:
junit. I do not know anything about junit. I had hoped this target
would run out of the box.
snip/
BUILD FAILED
BUILD FAILED
file:/fsd/source/xml-fop/build.xml:659: Could not create task or type of
type: junit.
Ant could not find the task or a class this task relies upon.
junit is version 3.8.1.
I get the same thing, but I also dont know how to solve it. Looking in
the build.xml doesnt reveal any
Stan Pinte wrote:
You may want to add the jar containing the junit task in the
JUNIT_HOME/lib directory.
Whats the name of the jar containing the junit ant task definition then?
Ive added the junit.jar, there is also a test.jar and a src.jar in my
junit directory (no lib sub dir though!)
The
On Wed, 10 Dec 2003 11:44:08 +, Chris Bowditch [EMAIL PROTECTED]
wrote:
Stan Pinte wrote:
You may want to add the jar containing the junit task in the
JUNIT_HOME/lib directory.
Whats the name of the jar containing the junit ant task definition then?
Ive added the junit.jar, there is also a
junit.jar is sufficient. The jar should be placed in %ANT_HOME%/lib. Use
JUnit 3.8.1 or later to be sure.
The JUnit task is included in Ant's optional.jar but only works if
junit.jar is present in %ANT_HOME%/lib.
Actually, I don't understand why the JUnit suport is recognized but the
test cases
Hello people,
I'm having trouble with a .fo file.
I'm able to convert it to PDF when using the command line,
but when I try to print it (using awt) thanks to embedded code, I have this
error :
[INFO,Default] [PrintDocument][setupFopAndRender] loading and printing
XSL-FO document
On Wed, 10 Dec 2003 14:28:23 +0100, Jeremias Maerki
[EMAIL PROTECTED] wrote:
junit.jar is sufficient. The jar should be placed in %ANT_HOME%/lib.
sorry for my mistake...
Use
JUnit 3.8.1 or later to be sure.
The JUnit task is included in Ant's optional.jar but only works if
junit.jar is present
Please use the JAXP standard instead of the
XSLTInputHandler wrapper. Look at the
ExampleXML2PDF.java in:
http://cvs.apache.org/viewcvs.cgi/xml-fop/examples/embedding/java/embedding/
Glen
--- Philippe PITHON [EMAIL PROTECTED] wrote:
Hello !
I would like to improve the code below
Hello!
I'm using fop 0.25
for quite complex design and output to pdf. i had some problems which i managed
to solve, but one remains :
in some files, fop
has problem with element fo:block-container and positioning it on X
axis. I mean - i have several fo:block-container elements with the
Return Receipt
Your problem with positioning of fo:block-container
document
:
I have been working on creating a three tier system that per client
requests gets data from a database, pumps this into a PDF via FOP
XSL/XML processing, then sends the resulting PDF back to the client for
display.
This project is reaching its end and creating a 3 or 4 page document
usually takes
On Wed, Dec 10, 2003 at 02:28:23PM +0100, Jeremias Maerki wrote:
junit.jar is sufficient. The jar should be placed in %ANT_HOME%/lib. Use
JUnit 3.8.1 or later to be sure.
The JUnit task is included in Ant's optional.jar but only works if
junit.jar is present in %ANT_HOME%/lib.
Actually, I
Looks like it. Please download the latest Ant release and install it
following Ant's installation instructions. Then use ant.bat/ant.sh to
build FOP and not build.bat. Ant can be found at http://ant.apache.org.
I've heard that best practice is not to bundle Ant with a project but to
make an Ant
Manuel Reyes wrote:
I have been working on creating a three tier system that per client
requests gets data from a database, pumps this into a PDF via FOP
XSL/XML processing, then sends the resulting PDF back to the client for
display.
This project is reaching its end and creating a 3 or 4 page
Bachork Michal wrote:
in some files, fop has problem with element fo:block-container and
positioning it on X axis. I mean - i have several fo:block-container
elements with the same value in left attribute and different values in top
attribute. One or more (smaller part of all) are rendered rather
[EMAIL PROTECTED] wrote:
I'm able to convert it to PDF when using the command line,
but when I try to print it (using awt) thanks to embedded code, I have this
error :
...
[INFO,Default] Using org.apache.crimson.parser.XMLReaderImpl as SAX2 Parser
...
[ERROR,Default]
On Wed, 2003-12-10 at 18:42, J.Pietschmann wrote:
Manuel Reyes wrote:
I have been working on creating a three tier system that per client
requests gets data from a database, pumps this into a PDF via FOP
XSL/XML processing, then sends the resulting PDF back to the client for
display.
19 matches
Mail list logo