|
fop 2.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.batik.bridge.UserAgentAdapter
org.apache.fop.svg.AbstractFOPTranscoder.FOPTranscoderUserAgent
protected class AbstractFOPTranscoder.FOPTranscoderUserAgent
A user agent implementation for FOP's Transcoders.
Field Summary |
---|
Fields inherited from class org.apache.batik.bridge.UserAgentAdapter |
---|
ctx, extensions, FEATURES |
Constructor Summary | |
---|---|
protected |
AbstractFOPTranscoder.FOPTranscoderUserAgent()
|
Method Summary | |
---|---|
void |
displayError(java.lang.Exception e)
Displays the specified error using the ErrorHandler . |
void |
displayError(java.lang.String message)
Displays the specified error message using the ErrorHandler . |
void |
displayMessage(java.lang.String message)
Displays the specified message using the ErrorHandler . |
org.apache.batik.bridge.FontFamilyResolver |
getFontFamilyResolver()
|
java.lang.String |
getMedia()
Get the media for this transcoder. |
float |
getPixelUnitToMillimeter()
Returns the pixel to millimeter conversion factor specified in the TranscodingHints or 0.3528 if any. |
void |
setFontFamilyResolver(FOPFontFamilyResolver resolver)
|
Methods inherited from class org.apache.batik.bridge.UserAgentAdapter |
---|
addStdFeatures, checkLoadExternalResource, checkLoadScript, deselectAll, getBolderFontWeight, getBrokenLinkDocument, getClientAreaLocationOnScreen, getEventDispatcher, getExternalResourceSecurity, getLighterFontWeight, getMediumFontSize, getPixelToMM, getStandardBolderFontWeight, getStandardLighterFontWeight, handleElement, hasFeature, loadDocument, openLink, registerExtension, runThread, setBridgeContext, setSVGCursor, setTextSelection, showAlert, showConfirm, showPrompt, showPrompt, supportExtension |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected AbstractFOPTranscoder.FOPTranscoderUserAgent()
Method Detail |
---|
public void displayError(java.lang.String message)
ErrorHandler
.
message
- the message to displaypublic void displayError(java.lang.Exception e)
ErrorHandler
.
displayError
in interface org.apache.batik.bridge.UserAgent
e
- the exception to displaypublic void displayMessage(java.lang.String message)
ErrorHandler
.
displayMessage
in interface org.apache.batik.bridge.UserAgent
message
- the message to displaypublic float getPixelUnitToMillimeter()
TranscodingHints
or 0.3528 if any.
getPixelUnitToMillimeter
in interface org.apache.batik.bridge.UserAgent
public java.lang.String getMedia()
getMedia
in interface org.apache.batik.bridge.UserAgent
public void setFontFamilyResolver(FOPFontFamilyResolver resolver)
public org.apache.batik.bridge.FontFamilyResolver getFontFamilyResolver()
getFontFamilyResolver
in interface org.apache.batik.bridge.UserAgent
getFontFamilyResolver
in class org.apache.batik.bridge.UserAgentAdapter
|
fop 2.2 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |