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/fonts/type1/PFBData.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: PFBData.java 1597112 2014-05-23 15:05:19Z rmeyer $ */ package org.apache.fop.fonts.type1; import java.io.IOException; import java.io.OutputStream; /** * Class that represents the contents of a PFB file. * * @see PFBParser */ public class PFBData { /** * Raw format, no special file structure */ public static final int PFB_RAW = 0; /** * PC format */ public static final int PFB_PC = 1; /** * MAC Format (unsupported, yet) */ public static final int PFB_MAC = 2; private int pfbFormat; //One of the PFB_* constants private byte[] headerSegment; private byte[] encryptedSegment; private byte[] trailerSegment; /** * Sets the PFB format the font was loaded with. * @param format one of the PFB_* constants */ public void setPFBFormat(int format) { switch (format) { case PFB_RAW: case PFB_PC: this.pfbFormat = format; break; case PFB_MAC: throw new UnsupportedOperationException("Mac format is not yet implemented"); default: throw new IllegalArgumentException("Invalid value for PFB format: " + format); } } /** * Returns the format the font was loaded with. * @return int one of the PFB_* constants */ public int getPFBFormat() { return this.pfbFormat; } /** * Sets the header segment of the font file. * @param headerSeg the header segment */ public void setHeaderSegment(byte[] headerSeg) { this.headerSegment = headerSeg; } /** * Gets the header segment of the font file * @return Header segment as a byte array */ public byte[] getHeaderSegment() { return this.headerSegment.clone(); } /** * Sets the encrypted segment of the font file. * @param encryptedSeg the encrypted segment */ public void setEncryptedSegment(byte[] encryptedSeg) { this.encryptedSegment = encryptedSeg; } /** * Gets the encrypted segment of the font file * @return The encrypted segment as a byte array */ public byte[] getEncryptedSegment() { return this.encryptedSegment.clone(); } /** * Sets the trailer segment of the font file. * @param trailerSeg the trailer segment */ public void setTrailerSegment(byte[] trailerSeg) { this.trailerSegment = trailerSeg; } /** * Gets the trailer segment of the font file * @return The trailer segment as a byte array */ public byte[] getTrailerSegment() { return this.trailerSegment.clone(); } /** * Returns the full length of the raw font file. * @return int the raw file length */ public int getLength() { return getLength1() + getLength2() + getLength3(); } /** * Returns the Length1 (length of the header segment). * @return int Length1 */ public int getLength1() { return this.headerSegment.length; } /** * Returns the Length2 (length of the encrypted segment). * @return int Length2 */ public int getLength2() { return this.encryptedSegment.length; } /** * Returns the Length3 (length of the trailer segment). * @return int Length3 */ public int getLength3() { return this.trailerSegment.length; } /** * Writes the PFB file in raw format to an OutputStream. * @param out the OutputStream to write to * @throws IOException In case of an I/O problem */ public void outputAllParts(OutputStream out) throws IOException { out.write(this.headerSegment); out.write(this.encryptedSegment); out.write(this.trailerSegment); } /** * {@inheritDoc} */ public String toString() { return "PFB: format=" + getPFBFormat() + " len1=" + getLength1() + " len2=" + getLength2() + " len3=" + getLength3(); } }
⏎ org/apache/fop/fonts/type1/PFBData.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, 24435👍, 0💬
Popular Posts:
Jakarta Regexp is a 100% Pure Java Regular Expression package that was graciously donated to the Apa...
Apache BCEL Source Code Files are inside the Apache BCEL source package file like bcel-6.5.0-src.zip...
Where to find answers to frequently asked questions on Download and Installing of Older Versions? He...
JDOM provides a solution for using XML from Java that is as simple as Java itself. There is no compe...
What Is HttpComponents httpcore-4.2.2.jar? HttpComponents httpcore-4.2.2.jar is the JAR file for Apa...