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/afp/modca/MapPageOverlay.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: MapPageOverlay.java 1761020 2016-09-16 11:17:35Z ssteiner $ */ package org.apache.fop.afp.modca; import java.io.IOException; import java.io.OutputStream; import java.io.UnsupportedEncodingException; import java.util.List; import org.apache.fop.afp.AFPConstants; import org.apache.fop.afp.util.BinaryUtils; /** * The Map Page Overlay structured field maps a Resource Local ID to the name of * a Begin Overlay structured field. A Map Page Overlay structured field may * contain from one to 254 repeating groups. */ public class MapPageOverlay extends AbstractAFPObject { private static final int MAX_SIZE = 253; /** * The collection of overlays (maximum of 254 stored as byte[]) */ private List overLays; /** * Constructor for the Map Page Overlay */ public MapPageOverlay() { } private List getOverlays() { if (overLays == null) { this.overLays = new java.util.ArrayList(); } return this.overLays; } /** * Add an overlay to to the map page overlay object. * * @param name * The name of the overlay. * @throws MaximumSizeExceededException if the maximum size is reached */ public void addOverlay(String name) throws MaximumSizeExceededException { if (getOverlays().size() > MAX_SIZE) { throw new MaximumSizeExceededException(); } if (name.length() != 8) { throw new IllegalArgumentException("The name of overlay " + name + " must be 8 characters"); } if (LOG.isDebugEnabled()) { LOG.debug("addOverlay():: adding overlay " + name); } try { byte[] data = name.getBytes(AFPConstants.EBCIDIC_ENCODING); getOverlays().add(data); } catch (UnsupportedEncodingException usee) { LOG.error("addOverlay():: UnsupportedEncodingException translating the name " + name); } } /** {@inheritDoc} */ public void writeToStream(OutputStream os) throws IOException { int oLayCount = getOverlays().size(); int recordlength = oLayCount * 18; byte[] data = new byte[recordlength + 9]; data[0] = 0x5A; // Set the total record length byte[] rl1 = BinaryUtils.convert(recordlength + 8, 2); //Ignore the // first byte in // the length data[1] = rl1[0]; data[2] = rl1[1]; // Structured field ID for a MPO data[3] = (byte) 0xD3; data[4] = Type.MAP; data[5] = Category.PAGE_OVERLAY; data[6] = 0x00; // Reserved data[7] = 0x00; // Reserved data[8] = 0x00; // Reserved int pos = 8; //For each overlay byte olayref = 0x00; for (int i = 0; i < oLayCount; i++) { olayref = (byte) (olayref + 1); data[++pos] = 0x00; data[++pos] = 0x12; //the length of repeating group data[++pos] = 0x0C; //Fully Qualified Name data[++pos] = 0x02; data[++pos] = (byte) 0x84; data[++pos] = 0x00; //now add the name byte[] name = (byte[]) overLays.get(i); for (byte aName : name) { data[++pos] = aName; } data[++pos] = 0x04; //Resource Local Identifier (RLI) data[++pos] = 0x24; data[++pos] = 0x02; //now add the unique id to the RLI data[++pos] = olayref; } os.write(data); } }
⏎ org/apache/fop/afp/modca/MapPageOverlay.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, 60929👍, 0💬
Popular Posts:
JDK 11 java.rmi.jmod is the JMOD file for JDK 11 RMI (Remote Method Invocation) module. JDK 11 RMI m...
JDK 11 jdk.charsets.jmod is the JMOD file for JDK 11 Charsets module. JDK 11 Charsets module compile...
commons-collections4-4.4 -sources.jaris the source JAR file for Apache Commons Collections 4.2, whic...
What Is poi-ooxml-3.5.jar? poi-ooxml-3.5.jar is one of the JAR files for Apache POI 3.5, which provi...
Jetty provides an HTTP server, HTTP client, and javax.servlet container. These components are open s...