com.alphasystem.docx4j.builder.wml.CTSdtEndPrBuilder Maven / Gradle / Ivy
package com.alphasystem.docx4j.builder.wml;
import java.util.List;
import com.alphasystem.docx4j.builder.OpenXmlBuilder;
import org.docx4j.wml.CTSdtEndPr;
import org.docx4j.wml.RPr;
/**
* Fluent API builder for org.docx4j.wml.CTSdtEndPr
.
*
*/
public class CTSdtEndPrBuilder
extends OpenXmlBuilder
{
/**
* Initialize the underlying object.
*
*/
public CTSdtEndPrBuilder() {
this(null);
}
/**
* Initialize the builder with given object.
*
* @param object
* the given object
*/
public CTSdtEndPrBuilder(CTSdtEndPr object) {
super(object);
}
/**
* Copies values fom src
into target
. Values of target
will be overridden by the values from src
.
*
* @param src
* source object
* @param target
* target object
*/
public CTSdtEndPrBuilder(CTSdtEndPr src, CTSdtEndPr target) {
this(target);
if (src!= null) {
List rPr = src.getRPr();
for (RPr o: rPr) {
addRPr(new RPrBuilder(o, null).getObject());
}
}
}
protected CTSdtEndPr createObject() {
return WmlBuilderFactory.OBJECT_FACTORY.createCTSdtEndPr();
}
public CTSdtEndPrBuilder addRPr(RPr... value) {
addContent(object.getRPr(), value);
return this;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy