big blue has a stylesheet that does a ok job at it. It's probably a good starting point if you have clean xhtml
conversion guide
http://www-106.ibm.com/developerworks/library/x-xslfo2app/
stylesheet
http://www-106.ibm.com/developerworks/library/x-xslfo2app/xhtml-to-xslfo.xsl
JohnPT
"Ken
lvetica, Arial, sans".
Just some little things that may help a little.
...
...
...
Hope this helps,
JPT
|-+-->
| | fop-dev-return-18504-jthaemlitz=oreillyauto.com@XML|
|
JPT
|-+-->
| | fop-dev-return-18356-jthaemlitz=oreillyauto.com@XML|
| | .APACHE.ORG|
| | |
| | 12/
The user config options are static, so you can call this anywhere before you start you create your driver. You only have to call this once.
import org.apache.fop.apps.Options;
// Declare our FOP User Config file (this is where we get our fonts)
File userConfigFile = new File( "userconfig.xml" )
The newer version probably uses the Avalon logger. This will throw the ERROR message, but should not "break" the code. You'll have to search for that fix in the archives.
It sounds like your not getting the right data in your FO file. Try running your data through the stylesheet on the command
I created a convenience class called PdfRenderer. It cache's a stylesheet and then you can process files or streams throught it. You can also pass parameters to your stylesheet with a hashtable (probably should have been a Hashmap). Anyway, it's not perfect, but it works and the class file show
If your hinting at PDF Form generation, I'd be highly interested. I've seen posts in the past where you can pass direct pdf form streams in for fields, but this is kinda hectic. PDF Form functionality would be awesome.
JohnPT
[EMAIL PROTECTED]
08/15/02 03:04 AM
Please respond to fop-dev
fop-dev-return-15726-jthaemlitz=oreillyauto.com@XML.
APACHE.ORG
I found a bug that I haven't seen reported. It seems that if you try to
include a SVG file with an empty text element you get a null pointer
exception. This only occurs if you use userconfig.xml file and set
strokeSVGTextfalse
If you have an SVG with an empty text element (eg: ) you get a null
I'm also verry interested in how you accomplished this. Looks great.
JohnPT
fop-dev-return-14271-jthaemlitz=oreillyauto.co
fop-dev-return-14092-jthaemlitz=oreillyauto.com@XML.
APACHE.ORG To
You want
OR
which corresponds to your fo:simple-page-master's OR
fop-dev-return-13049-jthaemlitz=oreillyauto.co
the
effect of a background image. Only works on ONE PAGE DOCUMENTS though.
JohnPT
fop-dev-return-12894-jthaemlitz=oreillyauto.com@XML
a/VM
Hope that helps,
JohnPT
fop-dev-return-12827-
ev-return-12526-jthaemlitz=oreillyauto.com@XML.
APACHE.ORG To:
[
k.
JohnPT
fop-dev-return-12423-jthaemlitz=oreillyauto.com@XML.
APACHE.ORG To:
"Apache Maili
e).
So...many many thanks to the dev team.
JohnPT
fop-dev-return-12148-jthaemlitz=oreillyauto.com@XML.
. It's a pretty complex report with alternating colored lines, OMR
marks, OCR font markings and different layouts for the first page, second
page and then alternating odd/even pages. It's a good alternative for a
AS/400.
JohnPT
ev-return-12113-jthaemlitz=oreillyauto.com@XML.
APACHE.ORG To:
&qu
When I embed a font with FOP on my local maching (NT 4.0) Acrobat says the
font Encoding is "Windows". If I use the Adobe tool to embed the font the
Encoding type is "Built-in". The PDF with Encoding type "Built-in" prints
correctly from our Linux boxes without any extra configuration. The PDF
fop-dev-return-11702-jthaemlitz=oreillyauto.com@XML.
APACHE.ORG To:
[EMAIL PROTECTED
To:
[EMAIL PROTECTED]
fop-dev-return-11553-jthaemlitz=oreillyauto.com@XML. cc:
APACHE.ORG
Subject: Re: pri
this is a little off topic, if I could get pointed to some documetation
that would be great. Othewise if you have a solution or some knowledge to
pass on I'd appreciate it.
We have 800+ neoware boxes that we're sending FOP generated PDF's too. The
PDF's display the embedded font (Aachen) correc
();
...
handler.endDocument();
out.close();
fop-dev-return-11540-jthaemlitz=oreillyauto.com@XML.
rn
JohnPT
fop-dev-return-11511-jthaemlitz=oreillyauto.com@XML.
APACHE.ORG To:
"[EMAIL PROTECTED]&quo
You could try checking out XSLFAST (http://www.xslfast.com/) that Stephan's
been working on.
JohnPT
fop-dev-return-11458-jthae
control since you are fireing
SAX events from Java rather than XSLT. Then again that kind of stuff
should probably be done in an extension.
JohnPT
helps/works.
JohnPT
fop-dev-return-10926-jthaemlitz=oreillyauto.com@XML.
APACHE.ORG To:
driver.setLogger( log );
Thanks again,
JohnPT
fop-dev-return-10924-jthaemlitz=oreillyauto.com@XML.
APACHE.ORG
I'm trying to port my application from using FOP .18 to FOP .20. My
application used to get the handler (FOTreeBuilder) from the Driver, then
fire SAX events on it. In .20 I get a null pointer exception, I believe
this is because the InputStream never gets initialized. Is there a way to
make th
[EMAIL PROTECTED]
fop-dev-return-10875-jthaemlitz=oreillyauto.com@XML. cc:
APACHE.ORG
Subject:
wanting.
John
fop-dev-return-10770-jthaemlitz=oreillyauto.com@XML.
APACHE.ORG To:
&qu
found a break-before="page" in my code I had forgotten about.
JohnPT
- Forwarded by John Thaemlitz/OReilly on 10/05/01 01:54 PM -
John Thaemlitz
I'm trying to create subsection of a report that does not contain a index
page. I'm missing something pretty simple I think.
The first page shows the region before and region after but nothing in the
region body. Then the region body (a table) shows up correctly on page two
and on down the line
some type
(not a single-page-master-reference) in your page-sequence-master.
OTTOM
area)
(for English LEFT area)
(for English RIGHT area)
JohnPT
fop-dev-return-10563-jthaemlitz=oreillyauto.co
eturn-10521-jthaemlitz=oreillyauto.com@XML.
APACHE.ORG To:
"'[EMAIL PROTECTED]'
BMP's work.
JohnPT
fop-dev-return-10514-jthaemlitz=oreillyauto.com@XML.
APACHE.ORG To:
"'[E
s.
JohnPT
fop-dev-return-10469-jthaemlitz=oreillyauto.com@XML.
APACHE.ORG To:
[EMAIL
ot the OMR marks "working".
fop-dev-return-10324-jthaemlitz=oreillyauto.com@XML.
d the
same deal.
JohnPT
fop-dev-return-10181-jthaemlitz=oreillyauto.co
able
right off the bat.
Thanks,
JohnPT
fop-dev-return-10157-jthaemlitz=oreillyauto.com@XML.
I'm writing a DB reporting class that extends org.apache.fop.apps.Driver
and fires SAX events to the Drivers ContentHandler (FOTreeBuilder).
I have a method that produces the correct OMR mark with SAX events when the
page number is passed in as a parameter. The problem with this is that I
need t
43 matches
Mail list logo