Examples of PdBorderSeparation


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

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

     * 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

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

        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
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.