|
|||||||||
| 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 | ||||||||