Examples of CTTableCellProperties


Examples of org.openxmlformats.schemas.drawingml.x2006.main.CTTableCellProperties

        pr.setMarL(Units.toEMU(margin));
    }
   
    @Override
    public void setMarginRight(double margin){
        CTTableCellProperties pr = getXmlObject().getTcPr();
        if(pr == null) pr = getXmlObject().addNewTcPr();

        pr.setMarR(Units.toEMU(margin));
    }
View Full Code Here

Examples of org.openxmlformats.schemas.drawingml.x2006.main.CTTableCellProperties

        pr.setMarR(Units.toEMU(margin));
    }

    @Override
    public void setMarginTop(double margin){
        CTTableCellProperties pr = getXmlObject().getTcPr();
        if(pr == null) pr = getXmlObject().addNewTcPr();

        pr.setMarT(Units.toEMU(margin));
    }
View Full Code Here

Examples of org.openxmlformats.schemas.drawingml.x2006.main.CTTableCellProperties

        pr.setMarT(Units.toEMU(margin));
    }

    @Override
    public void setMarginBottom(double margin){
        CTTableCellProperties pr = getXmlObject().getTcPr();
        if(pr == null) pr = getXmlObject().addNewTcPr();

        pr.setMarB(Units.toEMU(margin));
    }
View Full Code Here

Examples of org.openxmlformats.schemas.drawingml.x2006.main.CTTableCellProperties

        pr.setMarB(Units.toEMU(margin));
    }

    public void setBorderLeft(double width){
        CTTableCellProperties pr = getXmlObject().getTcPr();

        CTLineProperties ln = pr.isSetLnL() ? pr.getLnL() : pr.addNewLnL();
        ln.setW(Units.toEMU(width));
    }
View Full Code Here

Examples of org.openxmlformats.schemas.drawingml.x2006.main.CTTableCellProperties

        CTLineProperties ln = pr.isSetLnL() ? pr.getLnL() : pr.addNewLnL();
        ln.setW(Units.toEMU(width));
    }

    public double getBorderLeft(){
        CTTableCellProperties pr = getXmlObject().getTcPr();

        CTLineProperties ln = pr.getLnL();
        return ln == null || !ln.isSetW() ? defaultBorderWidth : Units.toPoints(ln.getW());
    }
View Full Code Here

Examples of org.openxmlformats.schemas.drawingml.x2006.main.CTTableCellProperties

        CTLineProperties ln = pr.getLnL();
        return ln == null || !ln.isSetW() ? defaultBorderWidth : Units.toPoints(ln.getW());
    }

    public void setBorderLeftColor(Color color){
        CTTableCellProperties pr = getXmlObject().getTcPr();
        CTLineProperties ln = pr.isSetLnL() ? pr.getLnL() : pr.addNewLnL();
        setLineColor(ln, color);
    }
View Full Code Here

Examples of org.openxmlformats.schemas.drawingml.x2006.main.CTTableCellProperties

    public Color getBorderLeftColor(){
        return getLineColor(getXmlObject().getTcPr().getLnL());
    }

    public void setBorderRight(double width){
        CTTableCellProperties pr = getXmlObject().getTcPr();

        CTLineProperties ln = pr.isSetLnR() ? pr.getLnR() : pr.addNewLnR();
        ln.setW(Units.toEMU(width));
    }
View Full Code Here

Examples of org.openxmlformats.schemas.drawingml.x2006.main.CTTableCellProperties

        CTLineProperties ln = pr.isSetLnR() ? pr.getLnR() : pr.addNewLnR();
        ln.setW(Units.toEMU(width));
    }

    public double getBorderRight(){
        CTTableCellProperties pr = getXmlObject().getTcPr();

        CTLineProperties ln = pr.getLnR();
        return ln == null || !ln.isSetW() ? defaultBorderWidth : Units.toPoints(ln.getW());
    }
View Full Code Here

Examples of org.openxmlformats.schemas.drawingml.x2006.main.CTTableCellProperties

        CTLineProperties ln = pr.getLnR();
        return ln == null || !ln.isSetW() ? defaultBorderWidth : Units.toPoints(ln.getW());
    }

    public void setBorderRightColor(Color color){
        CTTableCellProperties pr = getXmlObject().getTcPr();
        CTLineProperties ln = pr.isSetLnR() ? pr.getLnR() : pr.addNewLnR();
        setLineColor(ln, color);
    }
View Full Code Here

Examples of org.openxmlformats.schemas.drawingml.x2006.main.CTTableCellProperties

    public Color getBorderRightColor(){
        return getLineColor(getXmlObject().getTcPr().getLnR());
    }

    public void setBorderTop(double width){
        CTTableCellProperties pr = getXmlObject().getTcPr();

        CTLineProperties ln = pr.isSetLnT() ? pr.getLnT() : pr.addNewLnT();
        ln.setW(Units.toEMU(width));
    }
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.