|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.spire.pdf.PdfConvertOptions
public class PdfConvertOptions
The class can be used to set some options when do convert operation.
| Constructor Summary | |
|---|---|
PdfConvertOptions()
|
|
| Method Summary | |
|---|---|
int |
getExportTextMinWidth()
|
boolean |
getFindTextByAbsolutePosition()
|
boolean |
getPdfToDocEmbedChineseFont()
Indicates whether chinese font is embedded.default true. |
boolean |
isDocMergePath()
|
void |
isDocMergePath(boolean isDocMergePath)
|
void |
setExportTextMinWidth(int exportTextMinWidth)
set Export text min width,default is 150,1000 means whole font size width. |
void |
setFindTextByAbsolutePosition(boolean findTextByPosition)
|
void |
setOutputToOneSvg(boolean outputToOneSvg)
Set pdf to svg convert options. |
void |
setPdfToDocEmbedChineseFont(boolean embedChineseFont)
Indicates whether chinese font is embedded.default true. |
void |
setPdfToHtmlOptions(boolean useEmbeddedSvg)
Set pdf to html convert options. |
void |
setPdfToHtmlOptions(boolean useEmbeddedSvg,
boolean useEmbeddedImg)
Set pdf to html convert options. |
void |
setPdfToHtmlOptions(boolean useEmbeddedSvg,
boolean useEmbeddedImg,
int maxPageOneFile)
Set pdf to html convert options. |
void |
setPdfToSvgOptions(float widthPixel,
float heightPixel)
Set pdf to svg options. |
void |
setPdfToXpsOptions(boolean usePsMode)
Set pdf to xps convert options. |
| Constructor Detail |
|---|
public PdfConvertOptions()
| Method Detail |
|---|
public void setPdfToXpsOptions(boolean usePsMode)
usePsMode - public boolean isDocMergePath()
public void isDocMergePath(boolean isDocMergePath)
public void setPdfToDocEmbedChineseFont(boolean embedChineseFont)
embedChineseFont - public boolean getPdfToDocEmbedChineseFont()
public void setPdfToHtmlOptions(boolean useEmbeddedSvg)
useEmbeddedSvg - Indicates whether to use the embedded svg in html file.
public void setPdfToHtmlOptions(boolean useEmbeddedSvg,
boolean useEmbeddedImg)
useEmbeddedSvg - Indicates whether to use the embedded svg in html file.useEmbeddedImg - Indicates whether to embed image data in html file, works only when useEmbeddedSvg is set to false.
public void setPdfToHtmlOptions(boolean useEmbeddedSvg,
boolean useEmbeddedImg,
int maxPageOneFile)
useEmbeddedSvg - Indicates whether to use the embedded svg in html file.useEmbeddedImg - Indicates whether to embed image data in html file, works only when useEmbeddedSvg is set to false.maxPageOneFile - Indicates the count of page contents in one html file, works only when useEmbeddedSvg is set to false.public void setOutputToOneSvg(boolean outputToOneSvg)
outputToOneSvg - Indicates whether to output to one svg file,default false.
public void setPdfToSvgOptions(float widthPixel,
float heightPixel)
widthPixel - The output svg's width in pixel unit, -1f means no change.heightPixel - The output svg's height in pixel unit, -1f means no change.public int getExportTextMinWidth()
public void setExportTextMinWidth(int exportTextMinWidth)
exportTextMinWidth - public boolean getFindTextByAbsolutePosition()
public void setFindTextByAbsolutePosition(boolean findTextByPosition)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||