Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (102)
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 (322)
Collections:
Other Resources:
Run blockcontainer.fo Example in FOP
How to run the "blockcontainer.fo" example in FOP to generated a PDF file?
✍: FYIcenter.com
FOP comes with an example XSL-FO file, blockcontainer.fo,
which shows how to the fo:block-container object to create an area with a different writing mode or a
different reference orientation.
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\blockcontainer.fo \temp\blockcontainer.pdf ... org.apache.fop.events.LoggingEventListener processEvent WARNING: Font "Symbol,normal,700" not found. Substituting with "Symbol,normal,400". ... org.apache.fop.events.LoggingEventListener processEvent WARNING: Font "ZapfDingbats,normal,700" not found. Substituting with "ZapfDingbats,normal,400". ... org.apache.fop.events.LoggingEventListener processEvent WARNING: Content overflows the viewport of an fo:block-container in block-progression direction by 43200 millipoints. (See position 103:68) ... org.apache.fop.events.LoggingEventListener processEvent WARNING: Content overflows the viewport of an fo:block-container in block-progression direction by 72000 millipoints. (See position 119:69) ... org.apache.fop.events.LoggingEventListener processEvent INFO: Rendered page #1. ... INFO: Rendered page #2.
The output PDF file is located at \temp\blockcontainer.pdf.
Open it with a PDF viewer, you will see something like this:
2016-07-02, ∼5057🔥, 0💬
Popular Posts:
JDK 17 jdk.internal.vm.ci.jmod is the JMOD file for JDK 17 Internal VM CI module. JDK 17 Internal VM...
XOM™ is a new XML object model. It is an open source (LGPL), tree-based API for processing XML with ...
What Is poi-5.2.3.jar? poi-5.2.3.jar is one of the JAR files for Apache POI 5.2.3, which provides an...
HttpComponents Core Source Code Files are provided in the source package file, httpcomponents-core-5...
What Is jaxb-api-2.1.6.jar? Java Architecture for XML Binding (JAXB) is a Java API that allows Java ...