Package org.foray.fotree.fo.prop

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


     * issues.
     * @return The border-separation (IPD) property.
     */
    public int getBorderSeparationIPD(final FObj fobj,
            final FoContext context) {
        PdBorderSeparation property = (PdBorderSeparation)
                getProperty(FoProperty.BORDER_SEPARATION);
        if (property == null) {
            final PdBorderSpacing borderSpacing = (PdBorderSpacing) getProperty(
                    FoProperty.BORDER_SPACING);
            property = borderSpacing.getBorderSeparation();
        }
        if (property != null) {
            return property.getValue(context, RelativeAxis.INLINE_PROGRESSION,
                    fobj);
        }
        return PdBorderSeparation.getValueNoInstance(context,
                RelativeAxis.INLINE_PROGRESSION, fobj);
    }
View Full Code Here


     * issues.
     * @return The border-separation (BPD) property.
     */
    public int getBorderSeparationBPD(final FObj fobj,
            final FoContext context) {
        PdBorderSeparation property = (PdBorderSeparation)
                getProperty(FoProperty.BORDER_SEPARATION);
        if (property == null) {
            final PdBorderSpacing borderSpacing = (PdBorderSpacing) getProperty(
                    FoProperty.BORDER_SPACING);
            property = borderSpacing.getBorderSeparation();
        }
        if (property != null) {
            return property.getValue(context, RelativeAxis.BLOCK_PROGRESSION,
                    fobj);
        }
        return PdBorderSeparation.getValueNoInstance(context,
                RelativeAxis.BLOCK_PROGRESSION, fobj);
    }
View Full Code Here

        case BORDER_RIGHT_WIDTH: {
            return new PdBorderRightWidth(fobj, propertyFullName,
                    attributeValue);
        }
        case BORDER_SEPARATION: {
            return new PdBorderSeparation(fobj, propertyFullName,
                    attributeValue);
        }
        case BORDER_SPACING: {
            return new PdBorderSpacing(fobj, propertyFullName,
                    attributeValue);
View Full Code Here

TOP

Related Classes of org.foray.fotree.fo.prop.PdBorderSeparation

Copyright © 2018 www.massapicom. 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.