use of org.docx4j.wml.CTSignedHpsMeasure in project docx4j-template by vindell.
the class Docx4j_工具类_S3_Test method addRPrtPositionStyle.
/**
* @Description: 设置文本位置
*/
public void addRPrtPositionStyle(RPr runProperties, int position) {
CTSignedHpsMeasure ctPosition = new CTSignedHpsMeasure();
ctPosition.setVal(BigInteger.valueOf(position));
runProperties.setPosition(ctPosition);
}
Aggregations