Examples of PdInitialPageNumber


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

        case INDICATE_DESTINATION: {
            return new PdIndicateDestination(fobj, propertyFullName,
                    attributeValue);
        }
        case INITIAL_PAGE_NUMBER: {
            return new PdInitialPageNumber(fobj, propertyFullName,
                    attributeValue);
        }
        case INLINE_PROGRESSION_DIMENSION: {
            return new PdInlineProgressionDimension(fobj, propertyFullName,
                    attributeValue);
View Full Code Here

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

     * page-sequence.
     * @return The initial-page-number property.
     */
    public int getInitialPageNumber(final FObj fobj,
            final int lastPageNumberUsed) {
        final PdInitialPageNumber property = (PdInitialPageNumber) getProperty(
                        FoProperty.INITIAL_PAGE_NUMBER);
        if (property != null) {
            /* Null context is OK here as this trait is not dependent on
             * context. */
            final FoContext context = null;
            return property.getValue(context, fobj, lastPageNumberUsed);
        }
        return PdInitialPageNumber.getValueNoInstance(lastPageNumberUsed);
    }
View Full Code Here

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

     * Returns the raw initial-page-number property.
     * @param fobj The FObj to which the property belongs.
     * @return The raw initial-page-number property.
     */
    public FoValue getRawInitialPageNumber(final FObj fobj) {
        final PdInitialPageNumber property =
                (PdInitialPageNumber) getProperty(
                        FoProperty.INITIAL_PAGE_NUMBER);
        if (property != null) {
            return property.getRawValue(fobj);
        }
        return PdInitialPageNumber.getRawValueNoInstance();
    }
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.