All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.alphasystem.docx4j.builder.wml.CTSdtRowBuilder Maven / Gradle / Ivy

There is a newer version: 0.5.5
Show newest version

package com.alphasystem.docx4j.builder.wml;

import com.alphasystem.docx4j.builder.OpenXmlBuilder;
import org.docx4j.wml.CTSdtContentRow;
import org.docx4j.wml.CTSdtEndPr;
import org.docx4j.wml.CTSdtRow;
import org.docx4j.wml.SdtPr;


/**
 * Fluent API builder for org.docx4j.wml.CTSdtRow.
 * 
 */
public class CTSdtRowBuilder
    extends OpenXmlBuilder
{


    /**
     * Initialize the underlying object.
     * 
     */
    public CTSdtRowBuilder() {
        this(null);
    }

    /**
     * Initialize the builder with given object.
     * 
     * @param object
     *     the given object
     */
    public CTSdtRowBuilder(CTSdtRow object) {
        super(object);
    }

    protected CTSdtRow createObject() {
        return WmlBuilderFactory.OBJECT_FACTORY.createCTSdtRow();
    }

    public CTSdtRowBuilder withSdtPr(SdtPr value) {
        if (value!= null) {
            object.setSdtPr(value);
        }
        return this;
    }

    public CTSdtRowBuilder withSdtEndPr(CTSdtEndPr value) {
        if (value!= null) {
            object.setSdtEndPr(value);
        }
        return this;
    }

    public CTSdtRowBuilder withSdtContent(CTSdtContentRow value) {
        if (value!= null) {
            object.setSdtContent(value);
        }
        return this;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy