Examples of PdTextAlign


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

     * @param context An object that knows how to resolve FO Tree context
     * issues.
     * @return The text-align property.
     */
    public FoValue getTextAlign(final FObj fobj, final FoContext context) {
        final PdTextAlign property = (PdTextAlign) getProperty(
                FoProperty.TEXT_ALIGN);
        if (property == null) {
            return PdTextAlign.getValueNoInstance(context, fobj);
        }
        return property.getValue(context, fobj);
    }
View Full Code Here

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

    /**
     * Returns the text-align String, if any.
     * @return The text-align String, or null if there is none.
     */
    public String getTextAlignString() {
        final PdTextAlign property = (PdTextAlign) getProperty(
                FoProperty.TEXT_ALIGN);
        if (property == null) {
            return null;
        }
        return property.getStringValue();
    }
View Full Code Here

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

        case TARGET_STYLESHEET: {
            return new PdTargetStylesheet(fobj, propertyFullName,
                    attributeValue);
        }
        case TEXT_ALIGN: {
            return new PdTextAlign(fobj, propertyFullName, attributeValue);
        }
        case TEXT_ALIGN_LAST: {
            return new PdTextAlignLast(fobj, propertyFullName, attributeValue);
        }
        case TEXT_ALTITUDE: {
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.