IKVM and Licensing

I have been looking into IKVMing Apache's FOP project to use with our .NET app. It's a commercial product, and looking into licensing, IKVM runs into some sticky areas because of its use of GNU...

Access file in WebContent folder from a servlet

I'm trying to generate a PDF document using FOP. The pdf generation code is kept in a servlet and the xsl is in a specific folder in the WebContent folder. How can I access this xsl file by giving...

How to get the next letter of the alphabet in Javascript?

I am build an autocomplete that searches off of a CouchDB View. I need to be able to take the final character of the input string, and replace the last character with the next letter of the...

AbstractMethodError on org.apache.xalan.processor.TransformerFactoryImpl

With the following code: private Document transformDoc(Source source) throws TransformerException, IOException { TransformerFactory factory = TransformerFactory.newInstance(); ...

How to embed external pdf/txt file into another using XSL-FO?

Is it possible to embed an external PDF or TEXT document into a master PDF by using XSL-FO/XSLT? I have xslt stylesheet to produce PDF documents. But, the input XML contains inlined TEXT or Base64...

Compare these products for PDF generation with Java given requirements inside: iText, Apache PDFBox or FOP?

There were questions on that but not recently and technology must have gone ahead since then. Requirements: generating pdf documents based on predefined template (I can use either pdf forms or...

FOP warning:line 1 of a paragraph overflows the available area by more than 50 points

Just to make sure I would like to share my understanding of FOP vre 1.0 with you, FOP uses a automated line breaking algorithm i.e when data overflows the width of a table cell,FOP looks for white...

java writing file error: java.io.FileNotFoundException: Invalid file path

I have a question about writing csv file on the current project in eclipse public static void Write_Result(String Amount_Time_Dalta) throws IOException{ File file; FileOutputStream fop =...

Insert an image in FOP / XSL-FO

I want so use an image in the header of my XSL-FO File: <fo:static-content flow-name="xsl-region-before"> <fo:block text-align="center" line-height="40pt" start-indent = "10.0cm"> ...

PHP Direct Print In Client System

I want to print receipts directly (of course silently) to respective dot matrix printers attached to the client systems in a local wamp hosted application. Although I was successful in this by...

SVG to PDF using Apache FOP

I have 3 SVG Files that I want to convert into a single PDF. I'm trying to do this with Apache FOP, but i am thus far unsuccessful. My idea was to simply write all 3 SVG files one after another...

Java EE + Wildfly 9: Use directory outside the deployed app for upload

I'm developing web application and need to make upload of files possible for users. The upload folder is outside of web application - in openstack data folder (set in standalone.xml) - example: ...

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...

Heap memory gets full and throw : java.lang.OutOfMemoryError: Java Heap Space

The following code of servlet receives huge JSON string every minute and near about after 2 hours I always got the OutOfMemoryError: Java Heap Space public class GetScanAlertServlet extends...

Apache FOP Displaying ### instead of Arabic

I am new to Apache-FOP. I use this to generate PDF documet from a XML input. I have created XSL for my input XML and getting ### values instead of Arabic text. Can any one please point out the...

How to send email with a file attachment using aws ses and java?

I have checked all over aws documentation but didn't find any example or text,which can guide about "How to send email with a file attachment using aws ses(simple email service) and java ?" I need...

Shell Script File(.sh) does not run from c# core on linux

I am trying to run ".sh" file from c# core application.But it doesn't seem to be running properly.Here is my scenario. I am working on .Net core project which is hosted on Linux environment.We are...

Can Apache FOP be used to convert an arbitary HTML to PDF?

I have tried to use Apache FOP to convert HTML to PDF. ( HTML -->XHTML--> XSL-FO --> PDF). I used the xhtml2fo.xsl from Antenna House for the xhtml --> XSL-FO conversion. It works for simple html...

openhtmltopdf / flying saucer: many links in huge PDF are not clickable (PDF annotations not set)

I generate huge catalogs (~ 1500 pages) as HTML and convert is via Jsoup to and openhtmltopdf (which uses flying saucer) to PDF. In the resulting PDF many links are not clickable, and I can't find...

Embedded FOP: How to change PDF version programmatically?

I'm using embedded FOP 2.2 in our Java application. It works fine and generates PDF 1.4. I want to upgrade to PDF 1.5, 1.6. or 1.7. I know that I can do it in the configuration file (1.5) but due...

Indic font support in Apache FOP

While using Apache FOP 2.2 from my Java application to print Hindi strings in PDF by using mangal.ttf, some Hindi characters are not displayed correctly. I am Using JDK 1.8 and spring MVC. I tried...

Setting secure processing in TransformerFactory leads to Problems in XSL

I am generating a PDF document with XML file as input using Apache FOP 2.4. To prevent XXE-Attacks I need to set the secure processing feature (FEATURE_SECURE_PROCESSING) in...

Thick border line issue in XSL FO Table - PDF Creation Using Apache FOP

i am trying to hide fo:table row or column lines based on the requirement from web application, so i used to set border-style="none" to fo:table-column or fo:table-row based on the need, but when...

Loc filter and exclude null values

1. vat.loc[(vat['Sum of VAT'].isin([np.nan, 0])) & 2. (vat['Comment'] == "Transactions 0DKK") & 3. (vat['Type'].isin(['Bill', 'Bill Credit'])) & 4. (vat['Maximum of Linked...

FOP Arabic letter spacing

I am generating multi-lingual PDF using Apache FOP 2.5, including Latin, Cyrillic and Arabic characters. I managed to include the proper fonts, and I was able to deal with the right-to-left...

Overlay a PS file on top of PDF file

I found similar question that was answered https://stackoverflow.com/questions/9820646/overlay-two-postscript-files-command-line-approach, However, that solution does not work for me and my...

The package javax.xml.transform is accesible from more than one module

I'm trying to generate a PDF file from XML using Apache FOP, but there is a list of errors that appears when I import the needed packages. - The package javax.xml.transform.stream is...

Code for probability calibration for classification

I am trying to create a class for calibrating a classifier. I have been reading resources on probability calibration and I am a bit confused on which dataset should we calibrate the classifier. I...

Can't read data correctly with BinaryReader from WebRequest

Hy! I'm developing a C# SOAP service to communicate with one of our governmental services. They also use SOAP for communication, but now they introduced two new endpoints that handle requests very...

Log4j Commons Logging Bridge ignored

Our web app runs in a tomcat 9 container and uses Log4j 2.13.3 as logging system. The web app includes org.apache.xmlgraphics:fop 2.3, which uses apache commons-logging (version 1.2 in our setup...