Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
Run images.fo Example in FOP
How to run the "images.fo" example in FOP to generated a PDF file?
✍: FYIcenter.com
FOP comes with an example XSL-FO file, images.fo,
which shows how to embed GIF and JPEG images into the XSL-FO file using external-graphic.
You can use the "fop" command to convert it into a PDF file:
fyicenter> cd \local\fop-2.x\fop fyicenter> fop examples\fo\basic\images.fo \temp\images.pdf ...org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #1. ...org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #2. ...org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #3. ...org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #4. ...org.apache.fop.events.LoggingEventListener processEvent WARNING: The contents of fo:external-graphic line 1 exceed the available area in the inline-progression direction by 200 millipoints. (See position 150:160) ...org.apache.fop.events.LoggingEventListener processEvent WARNING: The contents of fo:external-graphic line 1 exceed the available area in the inline-progression direction by 200 millipoints. (See position 158:182) ...org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #5.
The output PDF file is located at \temp\images.pdf.
Open it with a PDF viewer, you will see something like this:
⇒ Run pdfoutline.fo Example in FOP
2016-06-30, 3107🔥, 0💬
Popular Posts:
How to download and install JDK (Java Development Kit) 5? If you want to write Java applications, yo...
JRE 8 rt.jar is the JAR file for JRE 8 RT (Runtime) libraries. JRE (Java Runtime) 8 is the runtime e...
How to download and install mysql-connector-j-8.0.31 .zip?Connector/J Java library is a JDBC Driver ...
JDK 11 jdk.rmic.jmod is the JMOD file for JDK 11 RMI (Remote Method Invocation) Compiler Tool tool, ...
A stream buffer is a stream-based representation of an XML infoset in Java. Stream buffers are desig...