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/fo/properties/CommonTextDecoration.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: CommonTextDecoration.java 1761021 2016-09-16 11:40:57Z ssteiner $ */ package org.apache.fop.fo.properties; import java.awt.Color; import java.util.List; import org.apache.fop.apps.FOUserAgent; import org.apache.fop.fo.Constants; import org.apache.fop.fo.PropertyList; import org.apache.fop.fo.expr.PropertyException; /** * Stores all information concerning text-decoration. */ public class CommonTextDecoration { //using a bit-mask here private static final int UNDERLINE = 1; private static final int OVERLINE = 2; private static final int LINE_THROUGH = 4; private static final int BLINK = 8; private int decoration; private Color underColor; private Color overColor; private Color throughColor; /** * Creates a new CommonTextDecoration object with default values. */ public CommonTextDecoration() { } /** * Creates a CommonTextDecoration object from a property list. * @param pList the property list to build the object for * @return a CommonTextDecoration object or null if the obj would only have default values * @throws PropertyException if there's a problem while processing the property */ public static CommonTextDecoration createFromPropertyList(PropertyList pList) throws PropertyException { return calcTextDecoration(pList); } private static CommonTextDecoration calcTextDecoration(PropertyList pList) throws PropertyException { assert pList != null; CommonTextDecoration deco = null; PropertyList parentList = pList.getParentPropertyList(); if (parentList != null) { //Parent is checked first deco = calcTextDecoration(parentList); } //For rules, see XSL 1.0, chapters 5.5.6 and 7.16.4 Property textDecoProp = pList.getExplicit(Constants.PR_TEXT_DECORATION); if (textDecoProp != null) { List list = textDecoProp.getList(); for (Object aList : list) { Property prop = (Property) aList; int propEnum = prop.getEnum(); FOUserAgent ua = pList.getFObj() == null ? null : pList.getFObj().getUserAgent(); if (propEnum == Constants.EN_NONE) { if (deco != null) { deco.decoration = 0; } return deco; } else if (propEnum == Constants.EN_UNDERLINE) { if (deco == null) { deco = new CommonTextDecoration(); } deco.decoration |= UNDERLINE; deco.underColor = pList.get(Constants.PR_COLOR).getColor(ua); } else if (propEnum == Constants.EN_NO_UNDERLINE) { if (deco != null) { deco.decoration &= OVERLINE | LINE_THROUGH | BLINK; deco.underColor = pList.get(Constants.PR_COLOR).getColor(ua); } } else if (propEnum == Constants.EN_OVERLINE) { if (deco == null) { deco = new CommonTextDecoration(); } deco.decoration |= OVERLINE; deco.overColor = pList.get(Constants.PR_COLOR).getColor(ua); } else if (propEnum == Constants.EN_NO_OVERLINE) { if (deco != null) { deco.decoration &= UNDERLINE | LINE_THROUGH | BLINK; deco.overColor = pList.get(Constants.PR_COLOR).getColor(ua); } } else if (propEnum == Constants.EN_LINE_THROUGH) { if (deco == null) { deco = new CommonTextDecoration(); } deco.decoration |= LINE_THROUGH; deco.throughColor = pList.get(Constants.PR_COLOR).getColor(ua); } else if (propEnum == Constants.EN_NO_LINE_THROUGH) { if (deco != null) { deco.decoration &= UNDERLINE | OVERLINE | BLINK; deco.throughColor = pList.get(Constants.PR_COLOR).getColor(ua); } } else if (propEnum == Constants.EN_BLINK) { if (deco == null) { deco = new CommonTextDecoration(); } deco.decoration |= BLINK; } else if (propEnum == Constants.EN_NO_BLINK) { if (deco != null) { deco.decoration &= UNDERLINE | OVERLINE | LINE_THROUGH; } } else { throw new PropertyException("Illegal value encountered: " + prop.getString()); } } } return deco; } /** @return true if underline is active */ public boolean hasUnderline() { return (this.decoration & UNDERLINE) != 0; } /** @return true if overline is active */ public boolean hasOverline() { return (this.decoration & OVERLINE) != 0; } /** @return true if line-through is active */ public boolean hasLineThrough() { return (this.decoration & LINE_THROUGH) != 0; } /** @return true if blink is active */ public boolean isBlinking() { return (this.decoration & BLINK) != 0; } /** @return the color of the underline mark */ public Color getUnderlineColor() { return this.underColor; } /** @return the color of the overline mark */ public Color getOverlineColor() { return this.overColor; } /** @return the color of the line-through mark */ public Color getLineThroughColor() { return this.throughColor; } }
⏎ org/apache/fop/fo/properties/CommonTextDecoration.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, 36428👍, 0💬
Popular Posts:
JDK 11 jdk.jshell.jmod is the JMOD file for JDK 11 JShell tool, which can be invoked by the "jshell"...
What Is fop.jar? I got it from the fop-2.7-bin.zip. fop.jar in fop-2.7-bin.zip is the JAR file for F...
Apache BCEL Source Code Files are inside the Apache BCEL source package file like bcel-6.5.0-src.zip...
What Is ojdbc5.jar for Oracle 11g R1? ojdbc5.jar for Oracle 11g R1 is the JAR files of ojdbc.jar, JD...
commons-net.jar is the bytecode of Apache Commons Net library, which implements the client side of m...