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:
What Is fop.jar in fop-2.7-bin.zip
What Is fop.jar? I got it from the fop-2.7-bin.zip.
✍: FYIcenter.com
fop.jar in fop-2.7-bin.zip is the JAR file for FOP 2.7, which is a print formatter driven by XSL formatting objects (XSL-FO). You can obtain fop.jar from the build folder of the fop-2.7-bin.zip file.
Below is the information about the fop.jar (2.2) file:
JAR File Size and Download Location:
JAR name: fop.jar, fop-2.7.jar Target JDK version: 1.7 File name: fop.jar File size: 4442817 bytes Release date: 20-Jan-2022 Download: Apache FOP Website
Java source code files for fop.jar:
⏎ org/apache/fop/render/afp/extensions/AFPPageOverlayElement.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /* $Id: AFPPageOverlayElement.java 1895653 2021-12-07 08:18:20Z ssteiner $ */ package org.apache.fop.render.afp.extensions; import org.xml.sax.Attributes; import org.xml.sax.Locator; import org.apache.xmlgraphics.util.UnitConv; import org.apache.fop.afp.AFPPaintingState; import org.apache.fop.afp.AFPUnitConverter; import org.apache.fop.apps.FOPException; import org.apache.fop.fo.Constants; import org.apache.fop.fo.FONode; import org.apache.fop.fo.PropertyList; import org.apache.fop.fo.extensions.ExtensionAttachment; /** * This class extends the org.apache.fop.render.afp.extensions.AbstractAFPExtensionObject class. * This object will be used to map the page overlay object in AFPElementMapping. * <p> */ public class AFPPageOverlayElement extends AbstractAFPExtensionObject { protected static final String ATT_X = "x"; protected static final String ATT_Y = "y"; /** * Constructs an AFP object (called by Maker). * * @param parent the parent formatting object * @param name the name of the afp element */ public AFPPageOverlayElement(FONode parent, String name) { super(parent, name); } private AFPPageOverlay getPageSetupAttachment() { return (AFPPageOverlay)getExtensionAttachment(); } /** {@inheritDoc} */ public void startOfNode() throws FOPException { super.startOfNode(); if (AFPElementMapping.INCLUDE_PAGE_OVERLAY.equals(getLocalName())) { if (parent.getNameId() != Constants.FO_SIMPLE_PAGE_MASTER && parent.getNameId() != Constants.FO_PAGE_SEQUENCE) { invalidChildError(getLocator(), parent.getName(), getNamespaceURI(), getName(), "rule.childOfPageSequenceOrSPM"); } } else { if (parent.getNameId() != Constants.FO_SIMPLE_PAGE_MASTER) { invalidChildError(getLocator(), parent.getName(), getNamespaceURI(), getName(), "rule.childOfSPM"); } } } /** {@inheritDoc} */ public void processNode(String elementName, Locator locator, Attributes attlist, PropertyList propertyList) throws FOPException { super.processNode(elementName, locator, attlist, propertyList); AFPPageOverlay pageOverlay = getPageSetupAttachment(); if (AFPElementMapping.INCLUDE_PAGE_OVERLAY.equals(elementName)) { // convert user specific units to mpts and set the coordinates for the page overlay AFPPaintingState paintingState = new AFPPaintingState(); AFPUnitConverter unitConverter = new AFPUnitConverter(paintingState); int x = (int)unitConverter.mpt2units(UnitConv.convert(attlist.getValue(ATT_X))); int y = (int)unitConverter.mpt2units(UnitConv.convert(attlist.getValue(ATT_Y))); pageOverlay.setX(x); pageOverlay.setY(y); } } /** {@inheritDoc} */ protected ExtensionAttachment instantiateExtensionAttachment() { return new AFPPageOverlay(); } }
⏎ org/apache/fop/render/afp/extensions/AFPPageOverlayElement.java
Or download all of them as a single archive file:
File name: fop-2.7-src.zip File size: 3401312 bytes Release date: 2022-01-20 Download
⇒ "fop" Command in fop-2.7-bin.zip
2016-07-07, 36733👍, 0💬
Popular Posts:
JDK 11 jdk.dynalink.jmod is the JMOD file for JDK 11 Dynamic Linking module. JDK 11 Dynamic Linking ...
XML Serializer, Release 2.7.1, allows you to write out XML, HTML etc. as a stream of characters from...
JSP(tm) Standard Tag Library 1.1 implementation - Jakarta Taglibs hosts the Standard Taglib 1.1, an ...
The Digester package lets you configure an XML -> Java object mapping module, which triggers certain...
Xalan-Java, Version 2.7.1, is an XSLT processor for transforming XML documents into HTML, text, or o...