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:


 * 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,
 * See the License for the specific language governing permissions and
 * limitations under the License.

/* $Id: FilledArea.java 1296496 2012-03-02 22:19:46Z gadams $ */

package org.apache.fop.area.inline;

import java.util.ArrayList;
import java.util.List;

 * Filled area.
 * This inline area contains some inline areas.
 * When the renderer gets the child areas to render
 * the inline areas are repeated to fill the ipd of
 * this inline parent.
 * This extends InlineParent so that the renderer will render
 * this as a normal inline parent.
public class FilledArea extends InlineParent {

    private static final long serialVersionUID = 8586584705587017474L;

    private int unitWidth;

    /** Create a new filled area. */
    public FilledArea() {

     * Set the offset of the descendant TextAreas,
     * instead of the offset of the FilledArea itself.
     * @param v the offset
    public void setBlockProgressionOffset(int v) {
        setChildOffset(inlines.listIterator(), v);

    private void setChildOffset(ListIterator childrenIterator, int v) {
        while (childrenIterator.hasNext()) {
            InlineArea child = (InlineArea) childrenIterator.next();
            if (child instanceof InlineParent) {
                setChildOffset(((InlineParent) child).getChildAreas().listIterator(), v);
            } else if (child instanceof InlineViewport) {
                // nothing
            } else {

     * Set the unit width for the areas to fill the full width.
     * @param width the unit width
    public void setUnitWidth(int width) {
        this.unitWidth = width;

     * Return the unit width for the areas to fill the full width.
     * @return the unit width
    public int getUnitWidth() {
        return this.unitWidth;

    /** {@inheritDoc} */
    public int getBPD() {
        int bpd = 0;
        for (InlineArea area : getChildAreas()) {
            if (bpd < area.getBPD()) {
                bpd = area.getBPD();
        return bpd;

     * Get the child areas for this filled area.
     * This copies the references of the inline areas so that
     * it fills the total width of the area a whole number of times
     * for the unit width.
     * @return the list of child areas copied to fill the width
    public List<InlineArea> getChildAreas() {
        int units = getIPD() / unitWidth;
        List<InlineArea> newList = new ArrayList<InlineArea>();
        for (int count = 0; count < units; count++) {
        return newList;

     * Recursively apply the variation factor to all descendant areas
     * @param variationFactor the variation factor that must be applied to adjustments
     * @param lineStretch     the total stretch of the line
     * @param lineShrink      the total shrink of the line
     * @return true if there is an UnresolvedArea descendant
    public boolean applyVariationFactor(double variationFactor,
                                        int lineStretch, int lineShrink) {
        setIPD(getIPD() + adjustingInfo.applyVariationFactor(variationFactor));
        return false;




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


"fop" Command in fop-2.7-bin.zip

What Is fop-2.7-bin.zip

Download and Installing of FOP 2.x

⇑⇑ FAQ for FOP (Formatting Object Processor)

2016-07-07, 4853👍, 0💬