Examples of useGeneric()


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

                PR_BORDER_AFTER_WIDTH);
        addPropertyMaker("border-left-width", bwm);

        // border-right-color
        m  = new ColorProperty.Maker(PR_BORDER_RIGHT_COLOR);
        m.useGeneric(genericColor);
        m.setInherited(false);
        m.setDefault("black");
        m.addShorthand(s_generics[PR_BORDER_RIGHT]);
        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_BEFORE_COLOR);
        addPropertyMaker("border-right-color", m);

        // border-right-style
        m  = new EnumProperty.Maker(PR_BORDER_RIGHT_STYLE);
        m.useGeneric(genericBorderStyle);
        m.addShorthand(s_generics[PR_BORDER_RIGHT]);
        m.addShorthand(s_generics[PR_BORDER_STYLE]);
        m.addShorthand(s_generics[PR_BORDER]);
        corr = new CorrespondingPropertyMaker(m);
        corr.setCorresponding(PR_BORDER_END_STYLE, PR_BORDER_START_STYLE,
View Full Code Here

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

                PR_BORDER_BEFORE_WIDTH);
        addPropertyMaker("border-right-width", bwm);

        // padding-before
        m  = new CondLengthProperty.Maker(PR_PADDING_BEFORE);
        m.useGeneric(genericCondPadding);
        m.getSubpropMaker(CP_CONDITIONALITY).setDefault("discard");
        corr = new CorrespondingPropertyMaker(m);
        corr.setCorresponding(PR_PADDING_TOP, PR_PADDING_TOP,
                PR_PADDING_RIGHT);
        corr.setRelative(true);
View Full Code Here

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

        corr.setRelative(true);
        addPropertyMaker("padding-before", m);

        // padding-after
        m  = new CondLengthProperty.Maker(PR_PADDING_AFTER);
        m.useGeneric(genericCondPadding);
        m.getSubpropMaker(CP_CONDITIONALITY).setDefault("discard");
        corr = new CorrespondingPropertyMaker(m);
        corr.setCorresponding(PR_PADDING_BOTTOM, PR_PADDING_BOTTOM,
                PR_PADDING_LEFT);
        corr.setRelative(true);
View Full Code Here

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

        corr.setRelative(true);
        addPropertyMaker("padding-after", m);

        // padding-start
        m  = new CondLengthProperty.Maker(PR_PADDING_START);
        m.useGeneric(genericCondPadding);
        m.getSubpropMaker(CP_CONDITIONALITY).setDefault("discard");
        corr = new CorrespondingPropertyMaker(m);
        corr.setCorresponding(PR_PADDING_LEFT, PR_PADDING_RIGHT,
                PR_PADDING_TOP);
        corr.setRelative(true);
View Full Code Here

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

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

        // padding-end
        m  = new CondLengthProperty.Maker(PR_PADDING_END);
        m.useGeneric(genericCondPadding);
        m.getSubpropMaker(CP_CONDITIONALITY).setDefault("discard");
        corr = new CorrespondingPropertyMaker(m);
        corr.setCorresponding(PR_PADDING_RIGHT, PR_PADDING_LEFT,
                PR_PADDING_BOTTOM);
        corr.setRelative(true);
View Full Code Here

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

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

        // padding-top
        m  = new LengthProperty.Maker(PR_PADDING_TOP);
        m.useGeneric(genericPadding);
        corr = new CorrespondingPropertyMaker(m);
        corr.setCorresponding(PR_PADDING_BEFORE, PR_PADDING_BEFORE,
                PR_PADDING_START);
        addPropertyMaker("padding-top", m);
View Full Code Here

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

                PR_PADDING_START);
        addPropertyMaker("padding-top", m);

        // padding-bottom
        m  = new LengthProperty.Maker(PR_PADDING_BOTTOM);
        m.useGeneric(genericPadding);
        corr = new CorrespondingPropertyMaker(m);
        corr.setCorresponding(PR_PADDING_AFTER, PR_PADDING_AFTER,
                PR_PADDING_END);
        addPropertyMaker("padding-bottom", m);
View Full Code Here

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

                PR_PADDING_END);
        addPropertyMaker("padding-bottom", m);

        // padding-left
        m  = new LengthProperty.Maker(PR_PADDING_LEFT);
        m.useGeneric(genericPadding);
        corr = new CorrespondingPropertyMaker(m);
        corr.setCorresponding(PR_PADDING_START, PR_PADDING_END,
                PR_PADDING_AFTER);
        addPropertyMaker("padding-left", m);
View Full Code Here

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

                PR_PADDING_AFTER);
        addPropertyMaker("padding-left", m);

        // padding-right
        m  = new LengthProperty.Maker(PR_PADDING_RIGHT);
        m.useGeneric(genericPadding);
        corr = new CorrespondingPropertyMaker(m);
        corr.setCorresponding(PR_PADDING_END, PR_PADDING_START,
                PR_PADDING_BEFORE);
        addPropertyMaker("padding-right", m);
    }
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.