Apache FOP is a document rendering engine that implements the W3C XSL-FO 1.1 Specification.
Questions tagged [apache-fop]
1304 questions
7
votes
1 answer
FOP doesn't show cyrillic characters
I need help to display Cyrillic characters with FOP in Java.
I created the xml of the content and the xsl file what will format the newly PDF.
Both of them are using UTF-8 character encoding.
But in the result file I see only "#" charactersinstead…

mlorika
- 125
- 2
- 7
7
votes
1 answer
xls-fo fop 0.94 Using the keep-together with wrap-option="wrap"
In xls-fo fop 0.94 Using the keep-together along with with wrap-option="wrap" ignores the wrap option ? Is there a way to make them both work?
…

Thunder
- 10,366
- 25
- 84
- 114
7
votes
4 answers
How to set global font-family in Apache FOP?
This is what I've used before:
Text
How can I specify that "Tahoma" is the font-family for the entire document?
I am looking for an equivalent of CSS's
body {
font-family: "Tahoma";
}

Luce Ian
- 237
- 1
- 3
- 9
7
votes
1 answer
Underline block element with different font sizes without an interrupted line
I am trying to underline an block element that contains text. The block has an font-size attribute and the text within the block is surrounded by an inline element which has a different font-size attribute.
Is there any way to ensure, that the line…

M.E.
- 536
- 2
- 9
- 19
7
votes
3 answers
Wrap within table-cell with long word in FOP
I have a table in FOP and it is working nicely until I get a very long word. The word then overwrites the cell ending in the table. I tried the wrap-option="wrap" within the table-cell and/or the block of the cell but it doesn't work
**Total…

Thevagabond
- 323
- 2
- 9
- 34
7
votes
1 answer
XSL FO Docbook content left margin
I'm using Docbook 5 (docbook-xsl-ns), generating PDF with Apache FOP and I would like to move all text to the left.
How can I do it?
Source XML is:
Usage
mvn archetype:generate…

Xdg
- 1,735
- 2
- 27
- 42
7
votes
1 answer
Use XSL FO file to layout PDF using iText
I have a requirement of converting graphics(Java2D objects) and some tables into PDF.
I also need the PDF to be interactive. Keeping these requirements in mind I came to a conclusion that I should use iText for this purpose.
Now I also need to…

themanwhosoldtheworld
- 560
- 4
- 23
7
votes
1 answer
Apache FOP: Displaying UTF-8 Characters in PDF (without embed?)
I'm trying to use FOP to export a PDF with UTF-8 characters, preferably without needing to embed the font.
The following code:

Tyler D
- 141
- 1
- 6
7
votes
5 answers
class not found FOP
Hi so i am trying to use FOP to turn an xml file into pdf and i keep on running into errors, right now i have the error
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/xmlgraphics/io/ResourceResolver
at…

user1731812
- 71
- 1
- 1
- 4
6
votes
4 answers
I can't change my Font Family using Apache FOP
I am trying to use fop Quick Start Guide to print a simple PDF file from a simple XML file and it works fine. but when I change Frank to امیررضا (change name to other encoding) I get #### in my printed PDF. I search through…

Am1rr3zA
- 7,115
- 18
- 83
- 125
6
votes
2 answers
Good alternative to FOP?
I'm currently using FOP to generate PDF from an XML file.
But I am facing two big issues :
First: FOP cannot manage OpenType Font files
Second: fo:float is not implemented yet
So it's impossible for me to produce the PDF I want with FOP.
I need…

Ricky Bobby
- 7,490
- 7
- 46
- 63
6
votes
0 answers
Automatic page break inside table cells in Latex
I've a question about long tables in Latex.
How is it possible to automatically break text content inside a long table cell.
I read lot of articles and examples and tried it (e.g. longtable)
But I still can not believe that there should be no…

Frank Z.
- 61
- 1
6
votes
1 answer
FOP batik NoClassDefFoundError: org/apache/batik/bridge/UserAgent
I do not use maven, or pom or anything. I just have simple test class for testing and I just try to make XSL-FO to PDF conversion and I get this error.
The code is simple:
package testing;
import java.io.BufferedOutputStream;
import…

zelenooq
- 137
- 1
- 1
- 10
6
votes
1 answer
"java.lang.UnsatisfiedLinkError: no awt in java.library.path" in running JWS Swing app
We are sometimes getting this strange error from clients (automatically, no user report was filled until now), and none of us can make sense of it. A user starts our Swing Java-Web-Start "fat client" on a Win7 machine, eventually use some action…

Sebastien Diot
- 7,183
- 6
- 43
- 85
6
votes
2 answers
Apache FOP the method newInstance(FopFactoryConfig) in the type FopFactory is not applicable for the arguments ()
I am getting the following error:
Exception in thread "main" java.lang.Error: Unresolved compilation problem: The method newInstance(FopFactoryConfig) in the type FopFactory is not applicable for the arguments ()
at…

Paula Verónica Restrepo
- 63
- 1
- 1
- 3