public class TextToPDFSettings extends Object
Constructor and Description |
---|
TextToPDFSettings()
Constructs a default TextToPDFSettings object.
|
Modifier and Type | Method and Description |
---|---|
String |
getBgndFile()
Gets the background file.
|
String |
getCharset()
Gets the character set that will be used when reading the text input.
|
Font |
getFont()
Gets the font to use when converting text to PDF.
|
double |
getMarginBottom()
Gets the bottom margin value to use when converting text to PDF, units are in points at 72 DPI.
|
double |
getMarginLeft()
Gets the left margin value to use when converting text to PDF, units are in points at 72 DPI.
|
double |
getMarginRight()
Gets the right margin value to use when converting text to PDF, units are in points at 72 DPI.
|
double |
getMarginTop()
Gets the top margin value to use when converting text to PDF, units are in points at 72 DPI.
|
Character |
getPageBreakChar()
Gets the page break character to use when converting text to PDF.
|
double |
getPageHeight()
Gets the page height value to use when converting text to PDF, units are in points at 72 DPI.
|
double |
getPageWidth()
Gets the page width value to use when converting text to PDF, units are in points at 72 DPI.
|
boolean |
isUseBackground()
Gets the value of use background tag.
|
void |
setBgndFile(String bgndFile)
Sets the background file for the PDF file.
|
void |
setCharset(String charsetName)
Sets the character set used when reading the input text file.
|
void |
setFont(Font font)
Sets the font for the PDF file.
|
void |
setMarginBottom(double marginBottom)
Sets the bottom margin for the PDF file, units are in points at 72 DPI.
|
void |
setMarginLeft(double marginLeft)
Sets the left margin for the PDF file, units are in points at 72 DPI.
|
void |
setMarginRight(double marginRight)
Sets the right margin for the PDF file, units are in points at 72 DPI.
|
void |
setMarginTop(double marginTop)
Sets the top margin for the PDF file, units are in points at 72 DPI.
|
void |
setPageBreakChar(Character pageBreakChar)
Sets the page break character in the text file.
|
void |
setPageHeight(double pageHeight)
Sets the page height for the PDF file, units are in points at 72 DPI.
|
void |
setPageWidth(double pageWidth)
Sets the page width for the PDF document, units are in points at 72 DPI.
|
void |
setUseBackground(boolean useBackground)
Sets the use background tag for the PDF file.
|
public TextToPDFSettings()
public double getPageWidth()
public void setPageWidth(double pageWidth)
public double getPageHeight()
public void setPageHeight(double pageHeight)
public double getMarginTop()
public void setMarginTop(double marginTop)
public double getMarginBottom()
public void setMarginBottom(double marginBottom)
public double getMarginLeft()
public void setMarginLeft(double marginLeft)
public double getMarginRight()
public void setMarginRight(double marginRight)
public boolean isUseBackground()
public void setUseBackground(boolean useBackground)
public String getBgndFile()
public void setBgndFile(String bgndFile)
public Font getFont()
public void setFont(Font font)
public Character getPageBreakChar()
public void setPageBreakChar(Character pageBreakChar)
public void setCharset(String charsetName)
charsetName
- The name of the character set used to read the text content.public String getCharset()