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/datatypes/LengthBase.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: LengthBase.java 1303891 2012-03-22 17:04:12Z vhennebert $ */ package org.apache.fop.datatypes; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.fop.fo.Constants; import org.apache.fop.fo.FObj; import org.apache.fop.fo.PropertyList; import org.apache.fop.fo.expr.PropertyException; import org.apache.fop.util.CompareUtil; /** * Models a length which can be used as a factor in a percentage length * calculation */ public class LengthBase implements PercentBase { // Standard kinds of percent-based length /** constant for a custom percent-based length */ public static final int CUSTOM_BASE = 0; /** constant for a font-size percent-based length */ public static final int FONTSIZE = 1; /** constant for an inh font-size percent-based length */ public static final int INH_FONTSIZE = 2; /** constant for a containing box percent-based length */ public static final int PARENT_AREA_WIDTH = 3; /** constant for a containing refarea percent-based length */ public static final int CONTAINING_REFAREA_WIDTH = 4; /** constant for a containing block percent-based length */ public static final int CONTAINING_BLOCK_WIDTH = 5; /** constant for a containing block percent-based length */ public static final int CONTAINING_BLOCK_HEIGHT = 6; /** constant for a image intrinsic percent-based length */ public static final int IMAGE_INTRINSIC_WIDTH = 7; /** constant for a image intrinsic percent-based length */ public static final int IMAGE_INTRINSIC_HEIGHT = 8; /** constant for a image background position horizontal percent-based length */ public static final int IMAGE_BACKGROUND_POSITION_HORIZONTAL = 9; /** constant for a image background position vertical percent-based length */ public static final int IMAGE_BACKGROUND_POSITION_VERTICAL = 10; /** constant for a table-unit-based length */ public static final int TABLE_UNITS = 11; /** constant for a alignment adjust percent-based length */ public static final int ALIGNMENT_ADJUST = 12; /** * logging instance */ protected static final Log log = LogFactory.getLog(LengthBase.class); /** * The FO for which this property is to be calculated. */ protected /* final */ FObj fobj; /** * One of the defined types of LengthBase */ private /* final */ int baseType; /** For percentages based on other length properties */ private Length baseLength; /** * Constructor * @param plist property list for this * @param baseType a constant defining the type of teh percent base * @throws PropertyException In case an problem occurs while evaluating values */ public LengthBase(PropertyList plist, int baseType) throws PropertyException { this.fobj = plist.getFObj(); this.baseType = baseType; switch (baseType) { case FONTSIZE: this.baseLength = plist.get(Constants.PR_FONT_SIZE).getLength(); break; case INH_FONTSIZE: this.baseLength = plist.getInherited(Constants.PR_FONT_SIZE).getLength(); break; default: // TODO: pacify CheckStyle // throw new RuntimeException(); break; } } /** * @return the dimension of this object (always 1) */ public int getDimension() { return 1; } /** * @return the base value of this object (always 1.0) */ public double getBaseValue() { return 1.0; } /** * {@inheritDoc} */ public int getBaseLength(PercentBaseContext context) throws PropertyException { int baseLen = 0; if (context != null) { if (baseType == FONTSIZE || baseType == INH_FONTSIZE) { return baseLength.getValue(context); } baseLen = context.getBaseLength(baseType, fobj); } else { log.error("getBaseLength called without context"); } return baseLen; } /** {@inheritDoc} */ public String toString() { return super.toString() + "[fo=" + fobj + "," + "baseType=" + baseType + "," + "baseLength=" + baseLength + "]"; } /**@return the base length as a {@link Length} */ public Length getBaseLength() { return baseLength; } @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + CompareUtil.getHashCode(baseLength); result = prime * result + baseType; result = prime * result + CompareUtil.getHashCode(fobj); return result; } @Override public boolean equals(Object obj) { if (this == obj) { return true; } if (!(obj instanceof LengthBase)) { return false; } LengthBase other = (LengthBase) obj; return CompareUtil.equal(baseLength, other.baseLength) && baseType == other.baseType && CompareUtil.equal(fobj, other.fobj); } }
⏎ org/apache/fop/datatypes/LengthBase.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, 71674👍, 0💬
Popular Posts:
JDK 11 jdk.compiler.jmod is the JMOD file for JDK 11 Compiler tool, which can be invoked by the "jav...
JDOM provides a solution for using XML from Java that is as simple as Java itself. There is no compe...
How to perform XML Schema validation with dom\Writer.java provided in the Apache Xerces package? You...
JasperReports, the world's most popular open source business intelligence and reporting engine and J...
Swingx is the SwingLabs Swing Component Extensions. JAR File Size and Download Location: File name: ...