public class PDFEncoderSettings extends EncoderSettings
Constructor and Description |
---|
PDFEncoderSettings() |
Modifier and Type | Method and Description |
---|---|
void |
addNewFontEncounteredListener(NewFontEncounteredListener newFontEncounteredListener)
Sets the specified user-class instance that to be notified when a new font
is encountered.
|
FontEmbedType |
getFontEmbedType()
Returns how fonts are embedded.
|
String |
getMIMEType()
Returns output format.
|
NewFontEncounteredListener[] |
getNewFontEncounteredListeners()
Returns user-class instances that need to be notified when a new font is
encountered.
|
PDFPortfolioSettings |
getPortfolioSettings()
Returns PDF portfolio-creation settings.
|
String[] |
getSupportedMIMETypes()
Returns supported MIME types.
|
boolean |
isFontEmbedOverrideRestriction()
Returns whether font-embedding restrictions have been set to be ignored.
|
NewFontEncounteredListener |
removeNewFontEncounteredListener(NewFontEncounteredListener newFontEncounteredListener)
Removes specified instance from the list of user-class instances that need
to be notified when a new font is encountered.
|
void |
setFontEmbedOverrideRestriction(boolean fontEmbedOverrideRestriction)
Specifies whether font-embedding restrictions should be ignored.
|
void |
setFontEmbedType(FontEmbedType fontEmbedType)
Specifies how fonts needs to be embedded by default.
|
get
public String[] getSupportedMIMETypes()
EncoderSettings
getSupportedMIMETypes
in class EncoderSettings
public String getMIMEType()
EncoderSettings
getMIMEType
in class EncoderSettings
public FontEmbedType getFontEmbedType()
public void setFontEmbedType(FontEmbedType fontEmbedType)
fontEmbedType
- how fonts need to be embeddedpublic void addNewFontEncounteredListener(NewFontEncounteredListener newFontEncounteredListener)
newFontEncounteredListener
- user-class instance that to be notifiedpublic NewFontEncounteredListener removeNewFontEncounteredListener(NewFontEncounteredListener newFontEncounteredListener)
newFontEncounteredListener
- user-class instance that no longer needs to be notifiedpublic NewFontEncounteredListener[] getNewFontEncounteredListeners()
public boolean isFontEmbedOverrideRestriction()
public void setFontEmbedOverrideRestriction(boolean fontEmbedOverrideRestriction)
fontEmbedOverrideRestriction
- true if it can be ignored; false if otherwisepublic PDFPortfolioSettings getPortfolioSettings()