I already have a URIResolver implemented to resolve the something such as
xsl:include href=pagesetup.xsl /
which is what the Javadoc says it's used for:
http://download.oracle.com/docs/cd/E17409_01/javase/6/docs/api/javax/xml/transform/URIResolver.html
Unfortunately, the
@xmlgraphics.apache.org
Hi,
since the jar with our images was on the classpath we could reference
the image directly:
fo:external-graphic src=urn:some_logo.gif/
- urn: was the trigger for us in our resource resolver...
Regards,
ToM
2010/7/22 Bernard Giannetti thebernmeis...@hotmail.com:
I already
@xmlgraphics.apache.org
Hi,
since the jar with our images was on the classpath we could reference
the image directly:
fo:external-graphic src=urn:some_logo.gif/
- urn: was the trigger for us in our resource resolver...
Regards,
ToM
2010/7/22 Bernard Giannetti thebernmeis...@hotmail.com:
I
Hi,
I've noticed there's a lot of 3rd party JAR files bundled with FOP 1.0, notably:
avalon-framework-4.2.0.jar
batik-all-1.7.jar
commons-io-1.3.1.jar
commons-logging-1.0.4.jar
serializer-2.7.0.jar
xalan-2.7.0.jar
xercesImpl-2.7.1.jar
xml-apis-1.3.04.jar
xml-apis-ext-1.3.04.jar
Hi,
I have a dynamically generated SVG image (using Batik included with the FOP
distribution) and I want to pass the SVG (say as a bytearrayoutputstream) into
the render process. The render process is typical:
bufferedOutputStream = new BufferedOutputStream( new FileOutputStream(
Hi,
Having trouble capturing all logging from a FOP render. I am using log4j and
have configured it using the XML file (see the end of this post).
Normally I find that all logging goes to my log file and console as per the
logging level I set.
However I found by accident I had mistyped an
Something which happened to me (unrelated to rotating text) but I noticed a
difference between the PDF viewing engines of Adobe and Ubuntu's Document
Viewer.
There is some bug in the way the underlying library (used by Document Viewer)
does rendering - I cannot remember the specifics but the
Hi,
I'm wondering if it's possible to interrupt/cancel/abort a render once it has
been started. I'm embedding FOP into a Java desktop application in a similar
way which is described here:
Hi Phillip,
I have written a desktop application which, on start up, refreshes a cache of
fonts (using FOP code) and subsequently allows the user to refresh that cache
by hitting a button (again, calls the same FOP code).
See attached.
When the application starts up I call
Hi Phill,
The PropertiesManager is a class of mine which basically extends
java.util.Properties and essentially reads/writes a hash table of key/value
pairs. I store in the properties a list of the font names and their respective
font files (as discovered via FOP). For me on Ubuntu 12.04 I
Hi Phill,
I make a call to FOP itself to find the fonts - see FOPManager::InitialiseFonts
in the code from my first reply. The magic line is
SortedMap?,? fontFamilies = new FontListGenerator().listFonts( ms_fopFactory,
org.apache.xmlgraphics.util.MimeConstants.MIME_PDF, fontEventListener );
Hi,
I'm making a call to org.apache.fop.tools.fontlist.FontListGenerator.listFonts(
... ) to get a list of font names for my desktop application. To get the font
names, I take the keys from the returned fontFamilies SortedMap; the actual
data is junked.
I hadn't realised just how much memory
(apologies for the double post...somehow my email got tagged to the end of an
unrelated post)
Hi,
I'm making a call to org.apache.fop.tools.fontlist.FontListGenerator.listFonts(
... ) to get a list of font names for my desktop application. To get the font
names, I take the keys from the
the list of
fonts in your system?
On 7/30/13 5:42 PM, Bernard Giannetti wrote:
(apologies for the double post...somehow
my email got tagged to the end of an unrelated post
using FOP in your Desktop app
(meaning you feed and FO file and output one of the supported
formats) or you just want to use some classes to get the list of
fonts in your system?
On 7/30/13 5:42 PM, Bernard Giannetti wrote:
(apologies
The config file or the cache file?
My config file has no fonts listed for PDF:
renderer mime=application/pdf filterListvalueflate/value
/filterList
fontsauto-detect/ /fonts/renderer
Date: Wed, 31 Jul 2013 04:26:33 -0700
From: djs...@yahoo.com
To: fop-users@xmlgraphics.apache.org
I'm reading org.apache.fop.fonts.FontCache now...red-faced and fingers crossed!
From: thebernmeis...@hotmail.com
To: fop-users@xmlgraphics.apache.org
Subject: RE: Getting a list of font names without the memory hit...
Date: Wed, 31 Jul 2013 21:29:59 +1000
The config file or the cache file?
Now I'm chasing my tail...looking at FontCache has gotten me back to
FontInfo.getFonts()!
Any other ideas please?!
From: thebernmeis...@hotmail.com
To: fop-users@xmlgraphics.apache.org
Subject: RE: Getting a list of font names without the memory hit...
Date: Wed, 31 Jul 2013 21:33:14 +1000
Thanks Chris - simplest solution is often the best:
String fonts[] =
GraphicsEnvironment.getLocalGraphicsEnvironment().getAvailableFontFamilyNames();
Getting a list of fonts this way does NOT appear to impact memory at all...so
much better!
I don't have the use-cache tag in my config file, so
Hi,
I have a Java desktop application, using embedded FOP to create PDFs from a
data XML file and an XSLT file. I wanted to see how much memory is being used,
given the point about memory usage, page numbers and page totals
(http://xmlgraphics.apache.org/fop/1.1/running.html#memory).
My PDF
Thanks Robert - I found https://code.google.com/a/eclipselabs.org/p/jvmmonitor/
which I managed to get running in a few minutes and has pretty realtime graphs!
Good enough to get started :-)
From: rme...@hotmail.co.uk
To: fop-users@xmlgraphics.apache.org
Subject: RE: Memory usage and page
Having now done a few runs using JVM Monitor on both Ubuntu 32 bit and 64 bit,
I've found that the heap memory is slightly less when page numbers with totals
are used compared to no page numbers at all. Slightly less, but really nothing
worth howling about.
From the FOP section on Memory
Hi,
I'm using FOP, embedded in a desktop application, to create PDFs from a single
data XML file using an XSLT file.
Say the data XML file is a list of items, for example:
items itemapple /item itemorange /item itemwater
melon /item.../items
I want to be able to tell the XSLT
,
and it is absolutely the most spam-free environment you can
imagine.http://www.tek-tips.com/threadminder.cfm?pid=426 Tom MorrisonHill
Country Software From: Bernard Giannetti [mailto:thebernmeis...@hotmail.com]
Sent: Sunday, September 29, 2013 1:23 AM
To: fop-users@xmlgraphics.apache.org
FYI, I posted a question (and solution) at
http://www.tek-tips.com/viewthread.cfm?qid=1719206.
From: thebernmeis...@hotmail.com
To: fop-users@xmlgraphics.apache.org
Subject: Processing selected nodes...
Date: Sun, 29 Sep 2013 16:23:24 +1000
Hi,
I'm using FOP, embedded in a desktop
Hi Luis,
I went to the page you provided (ImageLoaderRawPNG) and noticed in the config
for application/pdf
xmlHandler mime=text/svg+xml/
I searched for xmlhandler and cannot find any reference to this tag (other than
the page you gave).
I'm generating PDFs using embedded FOP (which include a
Hi Anastasya,
After a bit of Googling I found these...
http://stackoverflow.com/questions/7159747/xsl-fo-creating-dynamic-table-of-contents
http://stackoverflow.com/questions/7284236/xsl-fo-how-to-generate-table-of-contents
27 matches
Mail list logo