All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.openhtmltopdf.render.FlowingColumnBox Maven / Gradle / Ivy

Go to download

Open HTML to PDF is a CSS 2.1 renderer written in Java. This artifact contains the core rendering and layout code.

The newest version!
package com.openhtmltopdf.render;

public class FlowingColumnBox extends BlockBox {
    private final Box parent;
    private int _colWidth;

    public FlowingColumnBox(Box parent) {
        this.parent = parent;
    }

    @Override
    public int getWidth() {
        return this._colWidth;
    }

    @Override
    public int getContentWidth() {
        return this._colWidth;
    }

    @Override
    public Box getParent() {
        return parent;
    }

    public void setColumnWidth(int columnWidth) {
        this._colWidth = columnWidth;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy