Examples of PdColumnWidth


Examples of org.foray.fotree.fo.prop.PdColumnWidth

     * @param context An object that knows how to resolve FO Tree context
     * issues.
     * @return The <em>nominal</em> width.
     */
    public int getColumnWidth(final FObj fobj, final FoContext context) {
        final PdColumnWidth property = (PdColumnWidth) getProperty(
                FoProperty.COLUMN_WIDTH);
        if (property == null) {
            return PdColumnWidth.getValueNoInstance();
        }
        return property.getValue(context, fobj);
    }
View Full Code Here

Examples of org.foray.fotree.fo.prop.PdColumnWidth

    /**
     * Returns the column-width property.
     * @return The column-width property.
     */
    public double getColumnWidthTableUnits() {
        final PdColumnWidth property = (PdColumnWidth) getProperty(
                FoProperty.COLUMN_WIDTH);
        if (property == null) {
            return PdColumnWidth.getValueNoInstance();
        }
        return property.getValueProportional();
    }
View Full Code Here

Examples of org.foray.fotree.fo.prop.PdColumnWidth

        }
        case COLUMN_NUMBER: {
            return new PdColumnNumber(fobj, propertyFullName, attributeValue);
        }
        case COLUMN_WIDTH: {
            return new PdColumnWidth(fobj, propertyFullName, attributeValue);
        }
        case CONTENT_HEIGHT: {
            return new PdContentHeight(fobj, propertyFullName, attributeValue);
        }
        case CONTENT_TYPE: {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.