Questions tagged [apache-fop]

Apache FOP is a document rendering engine that implements the W3C XSL-FO 1.1 Specification.

1304 questions
0
votes
1 answer

apache fop embedded font bold

I use an embedded font in an apache fop 1.0 environment: my text The configfile looks like this:
tyler
  • 193
  • 1
  • 3
  • 11
0
votes
1 answer

XSL-FO tags not supported in Java

I'm trying to edit an XSL-FO document to be processed in Java via Apache FOP. Are there any tags that might not be supported or that have become depreciated? I didn't write the original XSL-FO. It was originally a WordML document that I…
Zibbobz
  • 725
  • 1
  • 15
  • 41
0
votes
1 answer

How to use apache fop with extensions (f.e. barcode4j) in java applet

I want to have a barcode (Code128) generated during the xsl fop translation. As it is said in the apache fop documentation (and barcode4j docs), if you want to use extension, put it on the classpath. This works fine for a desktop app and an applet…
0
votes
1 answer

FOP trimming spaces and tabs inside strings

I'm using fop libraries v1.1 to produce a pdf, and I noted that fop by default collapse white-spaces inside strings. For example a block like: Sample Text Render as Sample text eliminating whitespaces. I…
avalori
  • 427
  • 2
  • 5
  • 17
0
votes
1 answer

XSL + Apache FOP: Adding content on the remainder of empty space on a paragraph

I'm making a PDF generator with Apache FOP and one of the main requirement is to fill the remaining empty space of a paragraph with a series of dashes like this: This is a paragraph on a page that will be converted to PDF but the remaining space…
lolski
  • 16,231
  • 7
  • 34
  • 49
0
votes
1 answer

No Such method error during transformation to pdf in Java

I have a problem while transforming the xslt to pdf in java, i am following the same process posted in this link "Java Transformation to PDF". Error: ` Caused by: java.lang.NoSuchMethodError:…
Java Learner
  • 311
  • 2
  • 10
  • 26
0
votes
0 answers

Remove unused blank space in tables-XSLT/XSL-FO

I have table created in PDF using Apache FOP. But the text in the table cells (Table Headers and contents) has blank/white spaces surrounding the text and thus consuming lots of space. The PDF has limitation of 120 characters and thus unable to…
user2183430
  • 15
  • 2
  • 4
0
votes
1 answer

Remove whitespace/blank spaces in table columns XSL-FO

The link has a table in a PDF generated using Apache-FOP. I am unable to remove the blank spaces/empty spaces in the table column headers and column values. The PDF has limitation of 120 characters and thus unable to display all the text. The…
user2183430
  • 15
  • 2
  • 4
0
votes
1 answer

Apache Camel FOP Component Not Propagating Headers

The FOP component doesn't appear to be propagating headers. In the route below, headers are available to the XSLT component and it does pass them through the other side. But after fop, they're all gone. Is this a bug?. Can someone suggest a…
Steve
  • 69
  • 1
  • 7
0
votes
1 answer

XSL-FO using empty tables cells and leaders

I'm using table columns with leaders (dotted line) to create a visual connection between content in different cells. E.g: Text in col one..........Text in col two I use an "spacer" column to keep a space between text in different cells and the…
0
votes
1 answer

WMF file format in XSLFO

I am trying to convert Docx to Pdf with the document.xml file from the docx using Apache FOP. I am facing problem to embed the wmf equation files in PDF, it showing the following error: WARNING: Glyph "?" (0x2264, lessequal) not available in font…
VSe
  • 919
  • 2
  • 13
  • 29
0
votes
1 answer

Apache FOP ClassNotFoundException/ClassCircularityError On Weblogic11g

I'm using Apache FOP 1.1 within EJB3 and Spring 3.0.6 web application. The code: FopFactory fopFactory = FopFactory.newInstance(); resides in my class, (which is being called from a Spring MVC converter). I get java.lang.ClassNotFoundException…
Benchik
  • 2,057
  • 5
  • 26
  • 44
0
votes
1 answer

Apache-FOP - howto format number retrieved with

I am currently trying to use Apache-FOP for generating Invoices. Using and I am able to create Subtotals for every page. I want to format this number properly:
bjoernhaeuser
  • 407
  • 5
  • 11
0
votes
1 answer

Chaining Saxon XsltTransformer output into FOP

I need to pipe the output of several XSL transformations into a FopFactory object, but I can't figure out how to code this. I have the piping working, but the last step is a mystery. DOMResult xmlRequest = new…
0
votes
1 answer

How to get array length in XSL?

I need to show table, if array have elements, and some another block, if array is empty? I have only for-each now. My array has "items" name. I…
nkuhta
  • 10,388
  • 12
  • 41
  • 54