public DecorationSize getLineTailWidth(){ AbstractEscherOptRecord opt = getEscherOptRecord(); EscherSimpleProperty prop = getEscherProperty(opt, EscherProperties.LINESTYLE__LINEENDARROWWIDTH); return (prop == null) ? null : DecorationSize.fromNativeId(prop.getPropertyValue()); }
public DecorationSize getLineHeadLength(){ AbstractEscherOptRecord opt = getEscherOptRecord(); EscherSimpleProperty prop = getEscherProperty(opt, EscherProperties.LINESTYLE__LINESTARTARROWLENGTH); return (prop == null) ? null : DecorationSize.fromNativeId(prop.getPropertyValue()); }
public DecorationSize getLineHeadWidth(){ AbstractEscherOptRecord opt = getEscherOptRecord(); EscherSimpleProperty prop = getEscherProperty(opt, EscherProperties.LINESTYLE__LINESTARTARROWWIDTH); return (prop == null) ? null : DecorationSize.fromNativeId(prop.getPropertyValue()); }
public static DecorationSize fromOoxmlId(int ooxmlId) { for (DecorationSize ds : values()) { if (ds.ooxmlId == ooxmlId) return ds; } return null; } }
/** * @return the line end decoration length */ @SuppressWarnings("WeakerAccess") public DecorationSize getLineTailLength() { CTLineProperties ln = getLn(this, false); DecorationSize ds = DecorationSize.MEDIUM; if (ln != null && ln.isSetTailEnd() && ln.getTailEnd().isSetLen()) { ds = DecorationSize.fromOoxmlId(ln.getTailEnd().getLen().intValue()); } return ds; }
/** * @return the line end decoration length */ @SuppressWarnings("WeakerAccess") public DecorationSize getLineHeadLength() { CTLineProperties ln = getLn(this, false); DecorationSize ds = DecorationSize.MEDIUM; if (ln != null && ln.isSetHeadEnd() && ln.getHeadEnd().isSetLen()) { ds = DecorationSize.fromOoxmlId(ln.getHeadEnd().getLen().intValue()); } return ds; }
/** * @return the line end decoration width */ @SuppressWarnings("WeakerAccess") public DecorationSize getLineTailWidth() { CTLineProperties ln = getLn(this, false); DecorationSize ds = DecorationSize.MEDIUM; if (ln != null && ln.isSetTailEnd() && ln.getTailEnd().isSetW()) { ds = DecorationSize.fromOoxmlId(ln.getTailEnd().getW().intValue()); } return ds; }
/** * @return the line end decoration width */ @SuppressWarnings("WeakerAccess") public DecorationSize getLineHeadWidth() { CTLineProperties ln = getLn(this, false); DecorationSize ds = DecorationSize.MEDIUM; if (ln != null && ln.isSetHeadEnd() && ln.getHeadEnd().isSetW()) { ds = DecorationSize.fromOoxmlId(ln.getHeadEnd().getW().intValue()); } return ds; }
public static DecorationSize fromNativeId(int nativeId) { for (DecorationSize ld : values()) { if (ld.nativeId == nativeId) return ld; } return null; }
public DecorationSize getLineTailLength(){ AbstractEscherOptRecord opt = getEscherOptRecord(); EscherSimpleProperty prop = getEscherProperty(opt, EscherProperties.LINESTYLE__LINEENDARROWLENGTH); return (prop == null) ? null : DecorationSize.fromNativeId(prop.getPropertyValue()); }
/** * @return the line end decoration length */ @SuppressWarnings("WeakerAccess") public DecorationSize getLineTailLength() { CTLineProperties ln = getLn(this, false); DecorationSize ds = DecorationSize.MEDIUM; if (ln != null && ln.isSetTailEnd() && ln.getTailEnd().isSetLen()) { ds = DecorationSize.fromOoxmlId(ln.getTailEnd().getLen().intValue()); } return ds; }
public static DecorationSize fromOoxmlId(int ooxmlId) { for (DecorationSize ds : values()) { if (ds.ooxmlId == ooxmlId) return ds; } return null; } }
/** * @return the line end decoration width */ @SuppressWarnings("WeakerAccess") public DecorationSize getLineHeadWidth() { CTLineProperties ln = getLn(this, false); DecorationSize ds = DecorationSize.MEDIUM; if (ln != null && ln.isSetHeadEnd() && ln.getHeadEnd().isSetW()) { ds = DecorationSize.fromOoxmlId(ln.getHeadEnd().getW().intValue()); } return ds; }
/** * @return the line end decoration width */ @SuppressWarnings("WeakerAccess") public DecorationSize getLineTailWidth() { CTLineProperties ln = getLn(this, false); DecorationSize ds = DecorationSize.MEDIUM; if (ln != null && ln.isSetTailEnd() && ln.getTailEnd().isSetW()) { ds = DecorationSize.fromOoxmlId(ln.getTailEnd().getW().intValue()); } return ds; }
/** * @return the line end decoration length */ @SuppressWarnings("WeakerAccess") public DecorationSize getLineHeadLength() { CTLineProperties ln = getLn(this, false); DecorationSize ds = DecorationSize.MEDIUM; if (ln != null && ln.isSetHeadEnd() && ln.getHeadEnd().isSetLen()) { ds = DecorationSize.fromOoxmlId(ln.getHeadEnd().getLen().intValue()); } return ds; }
public static DecorationSize fromNativeId(int nativeId) { for (DecorationSize ld : values()) { if (ld.nativeId == nativeId) return ld; } return null; }