com.dynamicpdf.api.WordInput Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dynamicpdf-api Show documentation
Show all versions of dynamicpdf-api Show documentation
A Java Client API that uses the DynamicPDF Cloud API to create, merge, split, form fill, stamp, secure/encrypt PDF documents.
The newest version!
package com.dynamicpdf.api;
import java.util.ArrayList;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
/**
* Represents a Word input.
*/
public class WordInput extends ConverterInput {
private List textReplace;
/**
* Initializes a new instance of the WordInput
class.
* @param resource The resource of type WordResource
.
* @param size The page size of the output PDF.
* @param orientation The page orientation of the output PDF.
* @param margins The page margins of the output PDF.
*/
public WordInput(WordResource resource, PageSize size, PageOrientation orientation, Float margins) {
super(resource, size, orientation, margins);
}
/**
* Initializes a new instance of the WordInput
class.
* @param resource The resource of type WordResource
.
* @param size The page size of the output PDF.
* @param orientation The page orientation of the output PDF.
*/
public WordInput(WordResource resource, PageSize size, PageOrientation orientation) {
super(resource, size, orientation);
}
/**
* Initializes a new instance of the WordInput
class.
* @param resource The resource of type WordResource
.
* @param size The page size of the output PDF.
*/
public WordInput(WordResource resource, PageSize size) {
super(resource, size);
}
/**
* Initializes a new instance of the WordInput
class.
* @param resource The resource of type WordResource
.
*/
public WordInput(WordResource resource) {
super(resource);
}
/**
* Gets the TextReplace
object List.
* @return The TextReplace
object List.
*/
public List getTextReplace() {
if (this.textReplace == null) {
this.textReplace = new ArrayList();
}
return textReplace;
}
/**
* Sets the TextReplace
object List.
* @param value The TextReplace
object List.
*/
public void setTextReplace(List value) {
textReplace = value;
}
@JsonInclude
@JsonProperty("type")
InputType getType() {
return InputType.WORD;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy