Apache FOP is a document rendering engine that implements the W3C XSL-FO 1.1 Specification.
Questions tagged [apache-fop]
1304 questions
0
votes
1 answer
java apache fop special character on MAC OSX
i want to create a PDF File via Apache FOP on my MAC that includes spacial characters.
if the XML File contains special characters like "ä","ö"."ü" or"ß"
the characters will shown false like "Ã#".
If i write some special characters manually in the…

user2942606
- 43
- 1
- 2
- 7
0
votes
1 answer
Autofit columns XSLT FO to PDF - Altova StyleVision
I created a XLST-FO transformation with Altova StyleVision. The HTML output looks really fine, but if I transform my XML to PDF via Apache FOP 1.1, the (nested) table columns don't autofit like they did when using the HTML output, but have all the…

RoodRallec
- 57
- 1
- 1
- 7
0
votes
1 answer
How to properly allow page break in fop xml?
I am using FOP 1.1 in order to generate pdf file from xml documents. FOP documentation is here http://xmlgraphics.apache.org/fop/
The pdf document is generated fine. However, I keep on getting this SEVERE warning message. I have no clue how to fix…

Hello Universe
- 3,248
- 7
- 50
- 86
0
votes
1 answer
Java application can't run external jar (FOP) properly, when fop data are larger
I have problem with running FOP from Java program.
I use Java 1.8_25.
Run commands:
String[] cmd4 = {"java", "-jar", rootDir+"build"+ FileSeparator +"fop.jar", "-c", rootDir+"lib" + FileSeparator + "conf" + FileSeparator + "myfop.xconf",…

d3im
- 323
- 2
- 4
- 18
0
votes
2 answers
ApacheFOP Tomcat/OSGI error: java.lang.IllegalArgumentException: Unknown function: gatherContextInfo - when creating PDF with image
I'm using ApacheFOP 1.0 to produce a PDF document in a Tomcat hosted OSGI bundle, when I run my code outside the bundle as a standalone application (on the same server) it works. But the same code running on tomcat fails with the…

IainS
- 139
- 1
- 4
- 9
0
votes
1 answer
XSL-FO tabs characters still collapsing
I'm trying to put some tabulations between some elements in this XSL-FO stylesheet. The problem is that even if I set white-space-collapse to false and white-space-treatment to preserve they still collapse into a single space.
I'm using XSL-FO…

MuGiK
- 351
- 4
- 13
0
votes
1 answer
JAXB generated TableCell class from FOP schema - no way to add Block
I have used XJC to convert the unofficial FOP schema to Java objects
http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/foschema/fop.xsd?view=co
When writing an XML document that adheres to the schema, I can add an element inside an…

Black
- 5,023
- 6
- 63
- 92
0
votes
1 answer
Apache FOP XML input to Plain Text Output
I am working on a project, part of it is to produce a PDF file using Apache FOP, and also produce a plain text output based on the same data as the PDF. Currently I store the data in XMLDOM, which I pass to Apache FOP to produce the PDF, I am…

Dennis Hepworth
- 11
- 4
0
votes
1 answer
UTF-8 fonts in maven-pdf-plugin
Is there any way to attach custom fonts to Maven proejct that has documentation generated with maven-pdf-plugin? My project has a documentation written in LaTeX and I wanted to integrate with with Maven build. The problem is that I see completely no…

Rafał Wrzeszcz
- 1,996
- 4
- 23
- 45
0
votes
2 answers
Is it possible to determine a key's position in a list in an XSL-FO stylesheet?
I've got a list of objects that I'm referencing by a , and I'm trying to figure out the order of the referred-to objects within an (or similar block).
I have the following XML:
Please…

Andrew Rueckert
- 4,858
- 1
- 33
- 44
0
votes
0 answers
Encountering the Error java.lang.IllegalArgumentException: URI scheme is not "file" when using trunk version of FOP to transform to PDF
I am executing the below code by using the trunk version of FOP.jar,Xml-commons.jar,batik.jar using the following code:
package com.test.fop.renderer;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import…

Pramod D R
- 23
- 1
- 8
0
votes
1 answer
XSL::Apache FOP java server connection
Got a project with Apache FOP, have to make a server based application which will use Apache FOP and pick XML+XSLT files, convert it to XSL:FO and then output an PDF file.
Everything works fine until it comes to XSL:FO=>PDF, Im getting a error in…

Jacob
- 1
- 3
0
votes
0 answers
Linking embedded Svg in Xsl-Fo Pdf
I'm playing with Xml--xslt-->xsl-fo-->pdf and I'm finding a way to include reference inside sub-block of svg image to have the possibility to link to them from other part of the document.
Actually I'm using Saxon to trasform the xml to xsl-fo and…

profires
- 13
- 2
0
votes
1 answer
Can current FOP 1.1 version render overlay pdf
i try since some days to make an pdf overlay of an existing file with XSL-FO
here is my code:

gigo1980
- 3
- 2
0
votes
1 answer
Getting java heap space error during XML+XSLFO to PDF generation using JAVA with FOP1.1 jar
XML+XSLFO to PDF using JAVA with FOP1.1
Allocated JVM space for this process is -Xmx2048M.
if the number of lines in XML(CALLS tags) >27000 and splitting the data into 2 columns(left and right sides), unable to process the PDF conversion because of…

p.lokeshreddy
- 45
- 4