Examples of useGeneric()


Examples of org.apache.fop.fo.properties.PropertyMaker.useGeneric()

        corr.setRelative(true);
        addPropertyMaker("border-start-style", m);

        // border-start-width
        m  = new CondLengthProperty.Maker(PR_BORDER_START_WIDTH);
        m.useGeneric(genericCondBorderWidth);
        m.getSubpropMaker(CP_CONDITIONALITY).setDefault("discard");
        corr = new CorrespondingPropertyMaker(m);
        corr.setCorresponding(PR_BORDER_LEFT_WIDTH, PR_BORDER_RIGHT_WIDTH,
                PR_BORDER_TOP_WIDTH);
        corr.setRelative(true);
View Full Code Here

Examples of org.apache.fop.fo.properties.PropertyMaker.useGeneric()

        corr.setRelative(true);
        addPropertyMaker("border-start-width", m);

        // border-end-color
        m  = new ColorProperty.Maker(PR_BORDER_END_COLOR);
        m.useGeneric(genericColor);
        m.setInherited(false);
        m.setDefault("black");
        corr = new CorrespondingPropertyMaker(m);
        corr.setCorresponding(PR_BORDER_RIGHT_COLOR, PR_BORDER_LEFT_COLOR,
                PR_BORDER_BOTTOM_COLOR);
View Full Code Here

Examples of org.apache.fop.fo.properties.PropertyMaker.useGeneric()

        corr.setRelative(true);
        addPropertyMaker("border-end-color", m);

        // border-end-style
        m  = new EnumProperty.Maker(PR_BORDER_END_STYLE);
        m.useGeneric(genericBorderStyle);
        corr = new CorrespondingPropertyMaker(m);
        corr.setCorresponding(PR_BORDER_RIGHT_STYLE, PR_BORDER_LEFT_STYLE,
                PR_BORDER_BOTTOM_STYLE);
        corr.setRelative(true);
        addPropertyMaker("border-end-style", m);
View Full Code Here

Examples of org.apache.fop.fo.properties.PropertyMaker.useGeneric()

        corr.setRelative(true);
        addPropertyMaker("border-end-style", m);

        // border-end-width
        m  = new CondLengthProperty.Maker(PR_BORDER_END_WIDTH);
        m.useGeneric(genericCondBorderWidth);
        m.getSubpropMaker(CP_CONDITIONALITY).setDefault("discard");
        corr = new CorrespondingPropertyMaker(m);
        corr.setCorresponding(PR_BORDER_RIGHT_WIDTH, PR_BORDER_LEFT_WIDTH,
                PR_BORDER_BOTTOM_WIDTH);
        corr.setRelative(true);
View Full Code Here

Examples of org.apache.fop.fo.properties.PropertyMaker.useGeneric()

        corr.setRelative(true);
        addPropertyMaker("border-end-width", m);

        // border-top-color
        m  = new ColorProperty.Maker(PR_BORDER_TOP_COLOR);
        m.useGeneric(genericColor);
        m.setInherited(false);
        m.setDefault("black");
        m.addShorthand(s_generics[PR_BORDER_TOP]);
        m.addShorthand(s_generics[PR_BORDER_COLOR]);
        m.addShorthand(s_generics[PR_BORDER]);
View Full Code Here

Examples of org.apache.fop.fo.properties.PropertyMaker.useGeneric()

                PR_BORDER_START_COLOR);
        addPropertyMaker("border-top-color", m);

        // border-top-style
        m  = new EnumProperty.Maker(PR_BORDER_TOP_STYLE);
        m.useGeneric(genericBorderStyle);
        m.addShorthand(s_generics[PR_BORDER_TOP]);
        m.addShorthand(s_generics[PR_BORDER_STYLE]);
        m.addShorthand(s_generics[PR_BORDER]);
        corr = new CorrespondingPropertyMaker(m);
        corr.setCorresponding(PR_BORDER_BEFORE_STYLE, PR_BORDER_BEFORE_STYLE,
View Full Code Here

Examples of org.apache.fop.fo.properties.PropertyMaker.useGeneric()

                PR_BORDER_START_WIDTH);
        addPropertyMaker("border-top-width", bwm);

        // border-bottom-color
        m  = new ColorProperty.Maker(PR_BORDER_BOTTOM_COLOR);
        m.useGeneric(genericColor);
        m.setInherited(false);
        m.setDefault("black");
        m.addShorthand(s_generics[PR_BORDER_BOTTOM]);
        m.addShorthand(s_generics[PR_BORDER_COLOR]);
        m.addShorthand(s_generics[PR_BORDER]);
View Full Code Here

Examples of org.apache.fop.fo.properties.PropertyMaker.useGeneric()

                PR_BORDER_END_COLOR);
        addPropertyMaker("border-bottom-color", m);

        // border-bottom-style
        m  = new EnumProperty.Maker(PR_BORDER_BOTTOM_STYLE);
        m.useGeneric(genericBorderStyle);
        m.addShorthand(s_generics[PR_BORDER_BOTTOM]);
        m.addShorthand(s_generics[PR_BORDER_STYLE]);
        m.addShorthand(s_generics[PR_BORDER]);
        corr = new CorrespondingPropertyMaker(m);
        corr.setCorresponding(PR_BORDER_AFTER_STYLE, PR_BORDER_AFTER_STYLE,
View Full Code Here

Examples of org.apache.fop.fo.properties.PropertyMaker.useGeneric()

                PR_BORDER_END_WIDTH);
        addPropertyMaker("border-bottom-width", bwm);

        // border-left-color
        m  = new ColorProperty.Maker(PR_BORDER_LEFT_COLOR);
        m.useGeneric(genericColor);
        m.setInherited(false);
        m.setDefault("black");
        m.addShorthand(s_generics[PR_BORDER_LEFT]);
        m.addShorthand(s_generics[PR_BORDER_COLOR]);
        m.addShorthand(s_generics[PR_BORDER]);
View Full Code Here

Examples of org.apache.fop.fo.properties.PropertyMaker.useGeneric()

                PR_BORDER_AFTER_COLOR);
        addPropertyMaker("border-left-color", m);

        // border-left-style
        m  = new EnumProperty.Maker(PR_BORDER_LEFT_STYLE);
        m.useGeneric(genericBorderStyle);
        m.addShorthand(s_generics[PR_BORDER_LEFT]);
        m.addShorthand(s_generics[PR_BORDER_STYLE]);
        m.addShorthand(s_generics[PR_BORDER]);
        corr = new CorrespondingPropertyMaker(m);
        corr.setCorresponding(PR_BORDER_START_STYLE, PR_BORDER_END_STYLE,
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.