Set image size relative to page size
Hi, I am generating pdf files using FOP. is used to include images. My requirement is to set the width and height of image relative to the page size. Thanks in Advance. ...
Hi, I am generating pdf files using FOP. is used to include images. My requirement is to set the width and height of image relative to the page size. Thanks in Advance. ...
I'm using FOP to generate PDF files. What's the best way to either include another PDF file in a PDF generated by FOP or to cook multiple PDF files together using PHP? ...
I'm using FOP to generate pdf files from xml sources. Some xml files have html in them like this: <element><value><strong>lorem ipsum</strong></value></element> Is it possible with xsl to keep the html formatted content in the generated pdf? ...
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? <fo:table-row border="1pt solid black" keep-together="always"> <fo:table-cell> <fo:block overflow="scroll" wrap-option="wrap"> This is a long text It is desired t...
Need to restart asterisk flash operator panel (fop) from the web after configure file (op_buttons.cfg) is altered. Web server runs under daemon user. Via root user restart works. ...
Given a PDF document, is it possible to generate a XSL-FO (FOP) template? Obviously, this would be a one-time thing - the generated template would just be a starting point for creating a proper template that pulls in the appropriate data. For me, the ideal tool for doing so would be a Java-based one and should be executable from the co...
I would like to know the difference and additional features in Antennahouse over Apache FOP. ...
I'm using Pandoc to convert Markdown to Docbook, doing stuff to it then rendering the Docbook to XSL-FO using Apache FOP. Unfortunately, Pandoc makes tables with table-layout="auto" and FOP only supports table-layout="fixed". Is there a XSL-FO renderer which does support table-layout="auto"? ...
I am writing some XML -> PDF generating templates in Apache FOP for an asp web app. I need to use Visual Studio for my development. Visual studio has great editing and auto complete for regular XSL, I was wondering if there is any way to add this functionality for FOP tags. At least is there a way to stop it from thinking the file is h...
How would I disable the logging output (usually sent to stderr) that FOP automatically generates when processing an FO file? I've tried putting a log4j.properties file in the classpath, changing the log-level for org.apache.fop but this hasn't worked. ...
I have created an AFP file using embedded FOP Trunk. Since FOP Trunk does not support the no-operation tag directly under root I need to modify the created file to add a NOP record as the first record in the file. How does one do this? ...
Hi I was working with apache fop and when the number of pages exceeds about 130 pages ,it could not generate the pdf .... Is there any limit to page number or the length of xml file... Exception in thread "main" java.lang.OutOfMemoryError: Java heap space at java.io.BufferedReader.(BufferedReader.java:80) ...
Hello friends I try to use fop engine programatically I search for an example and I find this class import java.io.File; import java.io.IOException; import java.io.OutputStream; import javax.xml.transform.Transformer; import javax.xml.transform.TransformerFactory; import javax.xml.transform.TransformerException; import javax.xml.transf...
Hello,I am trying to generate a PDF using Apache FOP and Java. I am using a valid xsl-fo file which I can create a pdf with using the command line FOP. My problem occurs when I try to run FOP using the Apache FOP Libraries. Running across a java/php bridge. The bride is properly configured and java / php communicate. On the java side ...
I have a sequence of pages with one flow that overflow in many pages. I need to have dual page number: one sequence that start from 1 in the firs page and increment by one till the last page and one that reset every "chapter" change. Chapter 1 Page(total) 1 Page(in chapter) 1 Page(total) 2 Page(in chapter) 2 Page(total) 3 Page(in ch...
I have the following code: <map title="Authoring Guide"> <topicref href="topics/front-matter.xml"/> <topichead navtitle="My TopicHead"> <topicref href="topics/who-should-use.xml"/> </topichead> ... When the PDF is generated using oXygen editor with the PDF Legacy plugin, the topichead element is completely ignored,...
Hi Guys, I have a similar issue.. I have HTML stored in DB clob. I am retrieving that and converting to XHTML using TIDY.jar. Once i got XHTML then using FOP i am converting to XSL-FO. Finally XSL-FO is rendering in PDF. Previously everything is working fine with Linux-WAS5-java1.4. Recently we migrated the apps to Linux-WAS6-Java1.5...
I tried to use the org.apache.fop.pdf package but not success. Appreciated if someone can give some working examples to: Create PDFDocument Add PDFPage to PDFDocument Add some text to PDFPage ...
I'm using FOP to generate PDF reports. The problem is I need the DIN-Regular font instead of the default Times New Roman. Can anybody tall me how to change the font? I'm using fop-0.94.boc.02 version. Thanks ...
I am using Apache FOP 0.95, and all I want to do is add 1 to the current page number. So, on page 12, I want to show 12 / 13. Then nothing on page 13, of course. Any ideas how I could do this, perhaps by manipulating <fo:page-number /> ? Thanks y'all! ...