Apache FOP is a document rendering engine that implements the W3C XSL-FO 1.1 Specification.
Questions tagged [apache-fop]
1304 questions
0
votes
2 answers
ApacheFOP not utilising enough system resources
I have an AmazonEC2 instance with 4 cpus. I use it for creating PDF reports on it. The maximum number of user requests are 10 to 15 users in an hour. However, the report size is humongous, around 3000 to 5000 pages PDF files. It takes 70 minutes for…

TeaCupApp
- 11,316
- 18
- 70
- 150
0
votes
1 answer
Handling dynamic column numbler in xsl fo
How do I create table with dynamic number of columns with xsl fo. The number of columns varies with each input file but fixed for a single input file.
Here is a sample xml
3

Web-E
- 1,169
- 2
- 12
- 17
0
votes
1 answer
Using Maven to make pdfs from fo files
I'm having trouble finding out how I can make PDF files from a set of FO files using Maven. There appears to be a Maven FOP plugin but the documentation has no examples and no description of how to actually use the plugin. Googling for examples…

AlChuck
- 31
- 1
- 5
0
votes
1 answer
How to call an external java function in XSLT from xsl:apply-templates
Apparently, it is impossible to directly call an external function from xsl:apply-templates. I have an XML node containing html tag for example :
In my output, if…
- blablablaba

Jean-François Savard
- 20,626
- 7
- 49
- 76
0
votes
1 answer
Building a PDF within Java, Export to folder
I am using APACHE FOP (v. 1.0) and an XSL-FO template to build a PDF. What I want to do is export this PDF to an external file (eventually, a server file, but for now, just a folder on my desktop).
The XSL code I know is working fine, but the…

Zibbobz
- 725
- 1
- 15
- 41
0
votes
1 answer
read another node while traversing xml for PDF generation through page2fo.xsl
I am trying OOTB PDF rewriter component and able to generate a PDF for simple use-case however it is not working in some scenarios.
Scenario1:able to generate the PDF when the page has data stored in a single node.
Scenario2: unable to generate the…

apurvc
- 740
- 4
- 12
0
votes
2 answers
Float Entire Table Right - XSL-FO
Aligning pure text to the right side of a document is easy in XSL-FO. However, aligning an entire table to the right side of the document is proving to be quite difficult.
What I wish to do is something like this:
fo:table align=left
{Table…

Zibbobz
- 725
- 1
- 15
- 41
0
votes
1 answer
Escaped HTML in XML node via XSLT into XSL-FO
I have a document that has to be generated as PDF. I use Xalan and Apache FOP for processing an XML with XSLT into XSL-FO.
In my XML tree there is a node like this:
3+10*10^-6*l
<html…

Florian Ruh
- 110
- 8
0
votes
1 answer
how to add custom properties metadata to the pdf using apache fop
I am using apache FOP to create PDF files and need to add specific metadata to the PDF. In adobe reader it is called "custom properties" and it contains name and value.
I can add simple metadata like this:
out = new ByteArrayOutputStream();
fop =…

tremoor
- 1
- 1
0
votes
1 answer
Apache FOP and Oracle BI Publisher Template compatibility issue
I've created an XSL-FO template using Oracle BI Publisher Add-in for Microsoft Word and I would like to transform it using FOP, and export it to PDF file.
Transform action fails after spotting the first tag from the Oracle's namespace and the error…

rpozarickij
- 1,477
- 3
- 14
- 27
0
votes
3 answers
XSLT for sequence of child nodes in FOP
Using Apache FOP, I want to collect some info in a PDF file. The XML source has some child nodes a to e, let's say
some val
some other val
more val
even more val
a last val
I don't…

Florian Ruh
- 110
- 8
0
votes
2 answers
Using SVG in an XSL stylesheet
I am using Apache FOP to generate PDF's. My data is in a XML file and I use a XSL stylesheet to render it. I am having trouble using SVG in my stylesheet. I have create an SVG which is
0
votes
1 answer
Javax: ErrorListener not called when transforming a fo file into a pdf
I'm working on a Servlet which utilizes Apache FOP.
Input .fo files are converted to PDF files. Some input files references
external images; if these are not available, the transformer gives
messages like this:
07.07.2013 22:53:01…

Gisela
- 1,194
- 2
- 16
- 30
0
votes
2 answers
XSLFO overlay image
I'm using ApacheFOP to create a pdf which has multiple pages of content and a watermark (semi-transparent) on every page. I'm struggling quite a bit with XSLFO and got a proof of concept working using the list functionality - however I imagine there…

lots_of_questions
- 1,109
- 3
- 16
- 24
0
votes
1 answer
FOP How to get the dimensions of the body in each page of the PDF
I am using FOP to render XSL-FO into PDF. The XSL-FO will be supplied by a third party and it can render into multiple pages and the layout of each page can be different. By using FOP API, can i get the dimension of the body of the each page that is…

themanwhosoldtheworld
- 560
- 4
- 23