Questions tagged [apache-fop]

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

1304 questions
0
votes
0 answers

Apache Fop: Galssfish 3.1.2 fails to render pictures

I'm trying to add a picture to my pdf-file withe the fo:external-graphic-tag: On my local System everyting works fine, but when i want to run it on the Server-System it says…
bethlis
  • 55
  • 1
  • 3
  • 15
0
votes
0 answers

SVG to PDF: PDFTranscoder convert only part of file

I use this code for convert SVG to PDF: import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import org.apache.batik.transcoder.Transcoder; import…
user1058043
  • 71
  • 1
  • 1
  • 7
0
votes
1 answer

XSL-FO with 3d objects models

I want to generated a pdf using XSL-FO file. Adobe now has the capability to embed 3d objects inside PDF documents. http://blogs.adobe.com/tcs/2011/01/framemaker/interactive-3d-models-in-documents.html Now I just want to creat a PDF file from FOP…
prime
  • 769
  • 1
  • 13
  • 27
0
votes
3 answers

XSLT - Own/Custom Tags (for Styling)

i want to specify own Tags like: for my XSL Files because i have many redundant Blocks for styling: ... So what i want is to take this element and put it in…
ExCluSiv3
  • 13
  • 4
0
votes
1 answer

apache fop: remove empty table columns

I'm trying to generate a table, where columns are added or removed dynamically, depeindig on user input. Problem is, that the empty columns are still visible (see the Picture) My current approach is using xsl:if. (see the code snippet)
bethlis
  • 55
  • 1
  • 3
  • 15
0
votes
2 answers

strange pdf generator issue

Is there a problem with xml tags that have a dash in them?? I am trying to generate a pdf from and xsl and an xml.. I have the following for example: toyotoa green In my xsl I have something…
Ayrad
  • 3,996
  • 8
  • 45
  • 86
0
votes
1 answer

Apache fop: generates blank pdf-output

I'm trying to generate a PDF using Apache Fop and Java, but the produced Pdf is always a blank page. It's all nested in a Web-Application, the Sever is glassfish. Does someone hav a suggestion? Here's my xsl:
bethlis
  • 55
  • 1
  • 3
  • 15
0
votes
3 answers

xsl checking variable doesn't seem to work

when I output the value of the node directly for example: I get the correct string outputted in pdf "true".. but if I set the value of isEnabled directly to a variable and then try to do…
Ayrad
  • 3,996
  • 8
  • 45
  • 86
0
votes
1 answer

Apache-FOP XSL-FO how do I display the table footer on last page only

I have a data table with a table footer (using the tag). The table footer displays the total of the numeric values in one of one the columns (this is a pre-calculated total in the XML, it is not calculated in the XSL stylesheet). …
0
votes
0 answers

Table-cell with content that flows over two pages with row span > 1

(with a renderer based upon FOP 1.0) I am trying to let a cell flow happily onto two pages while it is also set to span several rows this is a heavily simplified code extract:
Æthelred
  • 13
  • 5
0
votes
1 answer

Different Page Size in a single PDF file using Apache FOP

I am trying to generate pdf using Apache FOP. Is this possible to create both A3 and A4 size pages in a Single pdf file. Apparently FOP using below setting from xconf and applying to all the pages. A working example will help. Thanks.
Shishir Pandey
  • 293
  • 2
  • 9
0
votes
0 answers

Sophisticated FOP examples?

I'm reviewing PDF generation tools available for Java and haven't found much of the examples. The best for FOP so far was the documentation linked in this question. For the iText the best I had found are the Advanced Aquarist magazine samples for…
Andrey Chaschev
  • 16,160
  • 5
  • 51
  • 68
0
votes
1 answer

In XSL how to you make a block take up a whole page?

In xsl / fop how do you make a block take up exactly the whole page ? Is there something like height = 100%? I want the first page of my pdf to contain a block with dynamic summary that can be a couple of lines only so I don't want the rest of the…
Ayrad
  • 3,996
  • 8
  • 45
  • 86
0
votes
2 answers

xml to pdf corrupted on war using struts

I'm developing a web application that should create PDF files and show them on the browser. I'm using Struts, Fop and a Tomcat Server to do that. On my local machine everything works fine but after I create a WAR file to put on a tomcat server the…
tviana
  • 407
  • 4
  • 20
0
votes
1 answer

How can I embed a base14 font in a pdf

I'm using FOP 0.94 I might be able to upgrade to FOP 0.95. Is it possible to embed base14 fonts? If so, how? I have tried putting this in the fop.xconf: Times-Roman That…