Package org.foray.fotree.fo.prop

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


        case WHITE_SPACE_COLLAPSE: {
            return new PdWhiteSpaceCollapse(fobj, propertyFullName,
                    attributeValue);
        }
        case WHITE_SPACE_TREATMENT: {
            return new PdWhiteSpaceTreatment(fobj, propertyFullName,
                    attributeValue);
        }
        case WIDOWS: {
            return new PdWidows(fobj, propertyFullName, attributeValue);
        }
View Full Code Here


     * issues.
     * @return The white-space-treatment property.
     */
    public FoValue traitWhiteSpaceTreatment(final FObj fobj,
            final FoContext context) {
        final PdWhiteSpaceTreatment property =
                (PdWhiteSpaceTreatment) getProperty(
                        FoProperty.WHITE_SPACE_TREATMENT);
        if (property != null) {
            return property.getValue(context, fobj);
        }
        // Try the shorthand
        final PdWhiteSpace whiteSpace = (PdWhiteSpace) getProperty(
                FoProperty.WHITE_SPACE);
        if (whiteSpace != null) {
View Full Code Here

TOP

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

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.