public Integer getWidth() { if (props.isSetW()) { return props.getW(); } else { return null; } }
@SuppressWarnings("WeakerAccess") public Double getBorderWidth(BorderEdge edge) { CTLineProperties ln = getCTLine(edge, false); return (ln == null || !ln.isSetW()) ? null : Units.toPoints(ln.getW()); }
@Override public boolean fetch(XSLFShape shape) { CTLineProperties ln = getLn(shape, false); if (ln != null) { if (ln.isSetNoFill()) { setValue(0.); return true; } if (ln.isSetW()) { setValue(Units.toPoints(ln.getW())); return true; } } return false; } };
if (defaultLn != null) { if (defaultLn.isSetW()) { lineWidth = Units.toPoints(defaultLn.getW());
public Integer getWidth() { if (props.isSetW()) { return props.getW(); } else { return null; } }
@SuppressWarnings("WeakerAccess") public Double getBorderWidth(BorderEdge edge) { CTLineProperties ln = getCTLine(edge, false); return (ln == null || !ln.isSetW()) ? null : Units.toPoints(ln.getW()); }
public double getBorderTop(){ CTTableCellProperties pr = getXmlObject().getTcPr(); CTLineProperties ln = pr.getLnT(); return ln == null || !ln.isSetW() ? defaultBorderWidth : Units.toPoints(ln.getW()); }
public double getBorderBottom(){ CTTableCellProperties pr = getXmlObject().getTcPr(); CTLineProperties ln = pr.getLnB(); return ln == null || !ln.isSetW() ? defaultBorderWidth : Units.toPoints(ln.getW()); }
public double getBorderLeft(){ CTTableCellProperties pr = getXmlObject().getTcPr(); CTLineProperties ln = pr.getLnL(); return ln == null || !ln.isSetW() ? defaultBorderWidth : Units.toPoints(ln.getW()); }
public double getBorderRight(){ CTTableCellProperties pr = getXmlObject().getTcPr(); CTLineProperties ln = pr.getLnR(); return ln == null || !ln.isSetW() ? defaultBorderWidth : Units.toPoints(ln.getW()); }
@Override public boolean fetch(XSLFShape shape) { CTLineProperties ln = getLn(shape, false); if (ln != null) { if (ln.isSetNoFill()) { setValue(0.); return true; } if (ln.isSetW()) { setValue(Units.toPoints(ln.getW())); return true; } } return false; } };
public boolean fetch(XSLFSimpleShape shape) { CTShapeProperties spPr = shape.getSpPr(); CTLineProperties ln = spPr.getLn(); if (ln != null) { if (ln.isSetNoFill()) { setValue(0.); return true; } if (ln.isSetW()) { setValue(Units.toPoints(ln.getW())); return true; } } return false; } };
CTLineProperties defaultLn = getDefaultLineProperties(); if (defaultLn != null) { if (defaultLn.isSetW()) lineWidth = Units.toPoints(defaultLn.getW());
if (defaultLn != null) { if (defaultLn.isSetW()) { lineWidth = Units.toPoints(defaultLn.getW());