Questions tagged [apache-fop]

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

1304 questions
0
votes
2 answers

Apache Camel FOP component config file location

I'd like to configure Apache Camel FOP component to use configuration file (as described here). It seems Camel is looking for the file in server base path, because I got exception: Caused by: java.io.FileNotFoundException:…
nikagra
  • 835
  • 2
  • 9
  • 23
0
votes
1 answer

Way to convert jPedal pdf to PDFDocumentGraphics2D

I use the PdfDecoder class from jPedal to attempting to convert/paint a pdf file to a PDFDocumentGraphics2D object. The PDFDocumentGraphics2D is an extension of javas AWT Graphics class, and part of Apache FOP (http://xmlgraphics.apache.org/fop/).…
0
votes
1 answer

Apache FOP umlaut spacing issue

I am using Apache FOP version 0.95. I am facing a spacing issue in the ps file : (Empf\344nger) [5.464 8.464 5.592 3.376 14.216 5.696 5.592 5.312 3.976] The word 'Empfänger' is being printed as 'Empfä nger'. Is there a fix for this?
0
votes
1 answer

ApacheFOP - Error "org.apache.xerces.jaxp.SAXParserFactoryImpl not found in java.lang.ClassLoader$1{urls=[], parent=null}"

I am working on a project that uses a .NET wrapper on Altova Stylevision/ Apache FOP to create a PDF using a WCF web service. It worked under .net 3.5, but upgrading to .net 4, I get the following error: javax.xml.transform.TransformerException :…
JsAndDotNet
  • 16,260
  • 18
  • 100
  • 123
0
votes
1 answer

apache fop can't get pdf with proper bytes written to

I am trying to generate a pdf download file. I have the following code to generate pdf from xml and xsl-fo. Can anyone point me what I am missing in my code. When I open the pdf, it says corrupted and if I open that file using notepad++ all is see…
user525146
  • 3,918
  • 14
  • 60
  • 103
0
votes
3 answers

What is wrong with my xsl-fo code

I am trying to generate a pdf using apache-fop from the following command. C:\fop-1.0-bin\fop-1.0>fop -xml sample1.xml -xsl xsl-fo.xsl -pdf sample2.pdf My xml looks like this
user525146
  • 3,918
  • 14
  • 60
  • 103
0
votes
0 answers

Apache FOP - Table top and bottom borders missing pagebreak inside table

I am using Apache FOP to generate a PDF from a XLS FO document. I have created a test XLS FO document that contains a table with collapsed borders that with several tall rows. One of the rows starts on one page and ends on the next and this works as…
Thomas
  • 187
  • 2
  • 11
0
votes
2 answers

Appropriate report merging technology for creating page from two formatted sources

Consider a report page consisting of header, detail-top, detail-bottom and footer. I have a service which will run an "App". This App will produce what will ultimately appear in the detail-bottom portion of the report. It will store its output in a…
Scott Kellish
  • 159
  • 2
  • 6
0
votes
1 answer

FOP different body on last page

I want my FOP to generate a pdf with a different body section for the last page. I tried to implement this behaviour like this:
0
votes
1 answer

Apache FOP For PDF Overprinting

I have the following scenario: I have a PDF document with no form fields. However, the PDF document is something of a form letter, with various sections that need to be "overprinted" at exact points. Can this be done with FOP and a custom XSLT…
Jason
  • 3,943
  • 12
  • 64
  • 104
0
votes
1 answer

Remove redundant tag styling code XSLT

I am transforming my XML document into PDF document thru Apache-FOP project, So far so good. Except, I am having which is not easy to configure later on. My code snippet is like this,
TeaCupApp
  • 11,316
  • 18
  • 70
  • 150
0
votes
2 answers

Apache-FOP: gap between columns

I need to put a "gap" between columns of a table in Apache-FOP:
Randomize
  • 8,651
  • 18
  • 78
  • 133
0
votes
1 answer

Fixing the location of a word in a line in PDF with FOP

I am trying to implement FOP to output a PDF using XML and XSLT files. My problem is the following I need to fix the position of words in a line (but not through using tables) for example: I have the following xml:
GingerHead
  • 8,130
  • 15
  • 59
  • 93
0
votes
1 answer

Append full PDF file to FOP PDF

I have an xml file already being created and rendered as a PDF sent over a servlet: TraxInputHandler input = new TraxInputHandler( new File(XML_LOCATION+xmlFile+".xml"), new File(XSLT_LOCATION) ); ByteArrayOutputStream out = new…
Explosion Pills
  • 188,624
  • 52
  • 326
  • 405
0
votes
1 answer

How can I create a PCL document with Apache FOP 1.0 from an XML with Japanese characters?

I know this should be an easy thing, but when I try to generate a PCL document from an XML (via XSL), the Japanese characters show up really pixellated. Apache FOP 1.0 Java 1.6.0_27 I've set up a userconfig.xml like so for pdf and this works…