Examples of addKeyword()


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

        m.setInherited(true);
        m.setDefault("lr-tb");
        m.addEnum("lr-tb", getEnumProperty(EN_LR_TB, "LR_TB"));
        m.addEnum("rl-tb", getEnumProperty(EN_RL_TB, "RL_TB"));
        m.addEnum("tb-rl", getEnumProperty(EN_TB_RL, "TB_RL"));
        m.addKeyword("lr", "lr-tb");
        m.addKeyword("rl", "rl-tb");
        m.addKeyword("tb", "tb-rl");
        addPropertyMaker("writing-mode", m);
    }
View Full Code Here

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

        m.setDefault("lr-tb");
        m.addEnum("lr-tb", getEnumProperty(EN_LR_TB, "LR_TB"));
        m.addEnum("rl-tb", getEnumProperty(EN_RL_TB, "RL_TB"));
        m.addEnum("tb-rl", getEnumProperty(EN_TB_RL, "TB_RL"));
        m.addKeyword("lr", "lr-tb");
        m.addKeyword("rl", "rl-tb");
        m.addKeyword("tb", "tb-rl");
        addPropertyMaker("writing-mode", m);
    }

    private void createMiscProperties() {
View Full Code Here

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

        m.addEnum("lr-tb", getEnumProperty(EN_LR_TB, "LR_TB"));
        m.addEnum("rl-tb", getEnumProperty(EN_RL_TB, "RL_TB"));
        m.addEnum("tb-rl", getEnumProperty(EN_TB_RL, "TB_RL"));
        m.addKeyword("lr", "lr-tb");
        m.addKeyword("rl", "rl-tb");
        m.addKeyword("tb", "tb-rl");
        addPropertyMaker("writing-mode", m);
    }

    private void createMiscProperties() {
        PropertyMaker m;
View Full Code Here

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

        addPropertyMaker("background", m);

        // background-position
        m  = new ListProperty.Maker(PR_BACKGROUND_POSITION);
        m.setInherited(false);
        m.addKeyword("left", "0% 50%");
        m.addKeyword("right", "100% 50%");
        m.addKeyword("center", "50% 50%");
        m.addKeyword("top", "50% 0%");
        m.addKeyword("bottom", "50% 100%");
        m.setDefault("0% 0%");
View Full Code Here

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

        // background-position
        m  = new ListProperty.Maker(PR_BACKGROUND_POSITION);
        m.setInherited(false);
        m.addKeyword("left", "0% 50%");
        m.addKeyword("right", "100% 50%");
        m.addKeyword("center", "50% 50%");
        m.addKeyword("top", "50% 0%");
        m.addKeyword("bottom", "50% 100%");
        m.setDefault("0% 0%");
        m.setDatatypeParser(new BackgroundPositionShorthandParser());
View Full Code Here

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

        // background-position
        m  = new ListProperty.Maker(PR_BACKGROUND_POSITION);
        m.setInherited(false);
        m.addKeyword("left", "0% 50%");
        m.addKeyword("right", "100% 50%");
        m.addKeyword("center", "50% 50%");
        m.addKeyword("top", "50% 0%");
        m.addKeyword("bottom", "50% 100%");
        m.setDefault("0% 0%");
        m.setDatatypeParser(new BackgroundPositionShorthandParser());
        addPropertyMaker("background-position", m);
View Full Code Here

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

        m  = new ListProperty.Maker(PR_BACKGROUND_POSITION);
        m.setInherited(false);
        m.addKeyword("left", "0% 50%");
        m.addKeyword("right", "100% 50%");
        m.addKeyword("center", "50% 50%");
        m.addKeyword("top", "50% 0%");
        m.addKeyword("bottom", "50% 100%");
        m.setDefault("0% 0%");
        m.setDatatypeParser(new BackgroundPositionShorthandParser());
        addPropertyMaker("background-position", m);
View Full Code Here

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

        m.setInherited(false);
        m.addKeyword("left", "0% 50%");
        m.addKeyword("right", "100% 50%");
        m.addKeyword("center", "50% 50%");
        m.addKeyword("top", "50% 0%");
        m.addKeyword("bottom", "50% 100%");
        m.setDefault("0% 0%");
        m.setDatatypeParser(new BackgroundPositionShorthandParser());
        addPropertyMaker("background-position", m);

        // border
View Full Code Here

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

        // line-height
        m  = new LineHeightPropertyMaker(PR_LINE_HEIGHT);
        m.useGeneric(genericSpace);
        m.setInherited(true);
        m.addKeyword("normal", "1.2");
        m.setPercentBase(LengthBase.FONTSIZE);
        m.setDefault("normal", true);
        m.addShorthand(s_generics[PR_FONT]);
        addPropertyMaker("line-height", m);
View Full Code Here

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

        // background-position-horizontal
        m  = new LengthProperty.Maker(PR_BACKGROUND_POSITION_HORIZONTAL);
        m.setInherited(false);
        m.setDefault("0%");
        m.addKeyword("left", "0%");
        m.addKeyword("center", "50%");
        m.addKeyword("right", "100%");
        m.setPercentBase(LengthBase.IMAGE_BACKGROUND_POSITION_HORIZONTAL);
        m.addShorthand(s_generics[PR_BACKGROUND_POSITION]);
        addPropertyMaker("background-position-horizontal", 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.