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

org.wickedsource.docxstamper.DocxStamperConfiguration Maven / Gradle / Ivy

There is a newer version: 1.2.2
Show newest version
package org.wickedsource.docxstamper;

/**
 * Provides configuration parameters for DocxStamper.
 */
public class DocxStamperConfiguration {

    private String lineBreakPlaceholder;

    public String getLineBreakPlaceholder() {
        return lineBreakPlaceholder;
    }

    /**
     * The String provided as lineBreakPlaceholder will be replaces with a line break
     * when stamping a document. If no lineBreakPlaceholder is provided, no replacement
     * will take place.
     *
     * @param lineBreakPlaceholder the String that should be replaced with line breaks during stamping.
     * @return the configuration object for chaining.
     */
    public DocxStamperConfiguration setLineBreakPlaceholder(String lineBreakPlaceholder) {
        this.lineBreakPlaceholder = lineBreakPlaceholder;
        return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy