Examples of useGeneric()


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

                PR_BORDER_START_STYLE);
        addPropertyMaker("border-top-style", m);

        // border-top-width
        bwm  = new BorderWidthPropertyMaker(PR_BORDER_TOP_WIDTH);
        bwm.useGeneric(genericBorderWidth);
        bwm.setBorderStyleId(PR_BORDER_TOP_STYLE);
        bwm.addShorthand(s_generics[PR_BORDER_TOP]);
        bwm.addShorthand(s_generics[PR_BORDER_WIDTH]);
        bwm.addShorthand(s_generics[PR_BORDER]);
        corr = new CorrespondingPropertyMaker(bwm);
View Full Code Here

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

                PR_BORDER_END_STYLE);
        addPropertyMaker("border-bottom-style", m);

        // border-bottom-width
        bwm  = new BorderWidthPropertyMaker(PR_BORDER_BOTTOM_WIDTH);
        bwm.useGeneric(genericBorderWidth);
        bwm.setBorderStyleId(PR_BORDER_BOTTOM_STYLE);
        bwm.addShorthand(s_generics[PR_BORDER_BOTTOM]);
        bwm.addShorthand(s_generics[PR_BORDER_WIDTH]);
        bwm.addShorthand(s_generics[PR_BORDER]);
        corr = new CorrespondingPropertyMaker(bwm);
View Full Code Here

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

                PR_BORDER_AFTER_STYLE);
        addPropertyMaker("border-left-style", m);

        // border-left-width
        bwm  = new BorderWidthPropertyMaker(PR_BORDER_LEFT_WIDTH);
        bwm.useGeneric(genericBorderWidth);
        bwm.setBorderStyleId(PR_BORDER_LEFT_STYLE);
        bwm.addShorthand(s_generics[PR_BORDER_LEFT]);
        bwm.addShorthand(s_generics[PR_BORDER_WIDTH]);
        bwm.addShorthand(s_generics[PR_BORDER]);
        corr = new CorrespondingPropertyMaker(bwm);
View Full Code Here

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

                PR_BORDER_BEFORE_STYLE);
        addPropertyMaker("border-right-style", m);

        // border-right-width
        bwm  = new BorderWidthPropertyMaker(PR_BORDER_RIGHT_WIDTH);
        bwm.useGeneric(genericBorderWidth);
        bwm.setBorderStyleId(PR_BORDER_RIGHT_STYLE);
        bwm.addShorthand(s_generics[PR_BORDER_RIGHT]);
        bwm.addShorthand(s_generics[PR_BORDER_WIDTH]);
        bwm.addShorthand(s_generics[PR_BORDER]);
        corr = new CorrespondingPropertyMaker(bwm);
View Full Code Here

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

        l.setDefault("auto");
        addPropertyMaker("page-width", l);

        // precedence
        m  = new EnumProperty.Maker(PR_PRECEDENCE);
        m.useGeneric(genericBoolean);
        m.setInherited(false);
        m.setDefault("false");
        addPropertyMaker("precedence", m);

        // region-name
View Full Code Here

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

        m.setDefault("");
        addPropertyMaker("ref-id", m);

        // score-spaces
        m  = new EnumProperty.Maker(PR_SCORE_SPACES);
        m.useGeneric(genericBoolean);
        m.setInherited(true);
        m.setDefault("true");
        addPropertyMaker("score-spaces", m);

        // src
View Full Code Here

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

    private void createColorProperties() {
        PropertyMaker m;

        // color
        m  = new ColorProperty.Maker(PR_COLOR);
        m.useGeneric(genericColor);
        m.setInherited(true);
        m.setDefault("black");
        addPropertyMaker("color", m);

        // color-profile-name
View Full Code Here

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

    private void createKeepsAndBreaksProperties() {
        PropertyMaker m;

        // break-after
        m  = new EnumProperty.Maker(PR_BREAK_AFTER);
        m.useGeneric(genericBreak);
        m.addShorthand(s_generics[PR_PAGE_BREAK_AFTER]);
        addPropertyMaker("break-after", m);

        // break-before
        m  = new EnumProperty.Maker(PR_BREAK_BEFORE);
View Full Code Here

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

        m.addShorthand(s_generics[PR_PAGE_BREAK_AFTER]);
        addPropertyMaker("break-after", m);

        // break-before
        m  = new EnumProperty.Maker(PR_BREAK_BEFORE);
        m.useGeneric(genericBreak);
        m.addShorthand(s_generics[PR_PAGE_BREAK_BEFORE]);
        addPropertyMaker("break-before", m);

        // keep-together
        m  = new KeepProperty.Maker(PR_KEEP_TOGETHER);
View Full Code Here

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

        m.addShorthand(s_generics[PR_PAGE_BREAK_BEFORE]);
        addPropertyMaker("break-before", m);

        // keep-together
        m  = new KeepProperty.Maker(PR_KEEP_TOGETHER);
        m.useGeneric(genericKeep);
        m.setInherited(false);
        m.setDefault("auto");
        m.addShorthand(s_generics[PR_PAGE_BREAK_INSIDE]);
        addPropertyMaker("keep-together", 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.