public void setSpacingAfter(int spaces) {
CTSpacing spacing = getCTSpacing(true);
if (spacing != null) {
- BigInteger bi = new BigInteger("" + spaces);
+ BigInteger bi = new BigInteger(Integer.toString(spaces));
spacing.setAfter(bi);
}
*/
public void setSpacingAfterLines(int spaces) {
CTSpacing spacing = getCTSpacing(true);
- BigInteger bi = new BigInteger("" + spaces);
+ BigInteger bi = new BigInteger(Integer.toString(spaces));
spacing.setAfterLines(bi);
}
*/
public void setSpacingBefore(int spaces) {
CTSpacing spacing = getCTSpacing(true);
- BigInteger bi = new BigInteger("" + spaces);
+ BigInteger bi = new BigInteger(Integer.toString(spaces));
spacing.setBefore(bi);
}
*/
public void setSpacingBeforeLines(int spaces) {
CTSpacing spacing = getCTSpacing(true);
- BigInteger bi = new BigInteger("" + spaces);
+ BigInteger bi = new BigInteger(Integer.toString(spaces));
spacing.setBeforeLines(bi);
}
*/
public void setIndentationLeft(int indentation) {
CTInd indent = getCTInd(true);
- BigInteger bi = new BigInteger("" + indentation);
+ BigInteger bi = new BigInteger(Integer.toString(indentation));
indent.setLeft(bi);
}
*/
public void setIndentationRight(int indentation) {
CTInd indent = getCTInd(true);
- BigInteger bi = new BigInteger("" + indentation);
+ BigInteger bi = new BigInteger(Integer.toString(indentation));
indent.setRight(bi);
}
public void setIndentationHanging(int indentation) {
CTInd indent = getCTInd(true);
- BigInteger bi = new BigInteger("" + indentation);
+ BigInteger bi = new BigInteger(Integer.toString(indentation));
indent.setHanging(bi);
}
*/
public void setIndentationFirstLine(int indentation) {
CTInd indent = getCTInd(true);
- BigInteger bi = new BigInteger("" + indentation);
+ BigInteger bi = new BigInteger(Integer.toString(indentation));
indent.setFirstLine(bi);
}
*/
@Override
public void setFontSize(int size) {
- BigInteger bint = new BigInteger("" + size);
+ BigInteger bint = new BigInteger(Integer.toString(size));
CTRPr pr = run.isSetRPr() ? run.getRPr() : run.addNewRPr();
CTHpsMeasure ctSize = pr.isSetSz() ? pr.getSz() : pr.addNewSz();
ctSize.setVal(bint.multiply(new BigInteger("2")));
* values will lower it.
*/
public void setTextPosition(int val) {
- BigInteger bint = new BigInteger("" + val);
+ BigInteger bint = new BigInteger(Integer.toString(val));
CTRPr pr = run.isSetRPr() ? run.getRPr() : run.addNewRPr();
CTSignedHpsMeasure position = pr.isSetPosition() ? pr.getPosition() : pr.addNewPosition();
position.setVal(bint);