protected class AbstractFOPTranscoder.FOPTranscoderUserAgent
extends org.apache.batik.bridge.UserAgentAdapter
Modifier | Constructor and Description |
---|---|
protected |
AbstractFOPTranscoder.FOPTranscoderUserAgent() |
Modifier and Type | Method and Description |
---|---|
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 . |
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. |
addStdFeatures, checkLoadExternalResource, checkLoadScript, deselectAll, getBolderFontWeight, getBrokenLinkDocument, getClientAreaLocationOnScreen, getEventDispatcher, getExternalResourceSecurity, getLighterFontWeight, getMediumFontSize, getPixelToMM, getStandardBolderFontWeight, getStandardLighterFontWeight, handleElement, hasFeature, openLink, registerExtension, runThread, setBridgeContext, setSVGCursor, setTextSelection, showAlert, showConfirm, showPrompt, showPrompt, supportExtension
protected AbstractFOPTranscoder.FOPTranscoderUserAgent()
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
Copyright 1999-2010 The Apache Software Foundation. All Rights Reserved.