/** * * @return the spacing between characters within a text run, * If this attribute is omitted then returns <code>null</code>. */ public Double getCharacterSpacing() { return findDefinedProperty(props -> props.isSetSpc(), props -> props.getSpc()) .map(spacing -> 0.01 * spacing) .orElse(null); }
@Override public boolean fetch(CTTextCharacterProperties props){ if (props != null && props.isSetSpc()) { setValue(props.getSpc()*0.01); return true; } return false; } };
/** * * @return the spacing between characters within a text run, * If this attribute is omitted then a value of 0 or no adjustment is assumed. */ public double getCharacterSpacing(){ CTTextCharacterProperties rPr = getRPr(); if(rPr.isSetSpc()){ return rPr.getSpc()*0.01; } return 0; }
/** * * @return the spacing between characters within a text run, * If this attribute is omitted then returns <code>null</code>. */ public Double getCharacterSpacing() { return findDefinedProperty(props -> props.isSetSpc(), props -> props.getSpc()) .map(spacing -> 0.01 * spacing) .orElse(null); }
/** * * @return the spacing between characters within a text run, * If this attribute is omitted then a value of 0 or no adjustment is assumed. */ public double getCharacterSpacing(){ CTTextCharacterProperties rPr = getRPr(); if(rPr.isSetSpc()){ return rPr.getSpc()*0.01; } return 0; }
@Override public boolean fetch(CTTextCharacterProperties props){ if (props != null && props.isSetSpc()) { setValue(props.getSpc()*0.01); return true; } return false; } };
public boolean fetch(CTTextCharacterProperties props){ if(props.isSetSpc()){ setValue(props.getSpc()*0.01); return true; } return false; } };