org.apache.fop.svg
Class PDFTranscoder.ImageTranscoderUserAgent

java.lang.Object
  extended byorg.apache.batik.bridge.UserAgentAdapter
      extended byorg.apache.fop.svg.PDFTranscoder.ImageTranscoderUserAgent
All Implemented Interfaces:
UserAgent
Enclosing class:
PDFTranscoder

protected class PDFTranscoder.ImageTranscoderUserAgent
extends UserAgentAdapter

A user agent implementation for ImageTranscoder.


Field Summary
 
Fields inherited from class org.apache.batik.bridge.UserAgentAdapter
extensions, FEATURES
 
Constructor Summary
protected PDFTranscoder.ImageTranscoderUserAgent()
           
 
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.
 java.lang.String getLanguages()
          Returns the user language specified in the TranscodingHints or "en" (english) if any.
 java.lang.String getMedia()
           
 float getPixelToMM()
          Returns the pixel to millimeter conversion factor specified in the TranscodingHints or 0.3528 if any.
 java.lang.String getUserStyleSheetURI()
          Returns the user stylesheet specified in the TranscodingHints or null if any.
 java.awt.geom.Dimension2D getViewportSize()
          Returns the default size of this user agent (400x400).
 java.lang.String getXMLParserClassName()
          Returns the XML parser to use from the TranscodingHints.
 boolean isXMLParserValidating()
           
 
Methods inherited from class org.apache.batik.bridge.UserAgentAdapter
addStdFeatures, checkLoadExternalResource, checkLoadScript, getAlternateStyleSheet, getBolderFontWeight, getClientAreaLocationOnScreen, getDefaultFontFamily, getEventDispatcher, getExternalResourceSecurity, getLighterFontWeight, getMediumFontSize, getPixelUnitToMillimeter, getScriptSecurity, getStandardBolderFontWeight, getStandardLighterFontWeight, getTransform, handleElement, hasFeature, openLink, registerExtension, runThread, setSVGCursor, setTransform, 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

PDFTranscoder.ImageTranscoderUserAgent

protected PDFTranscoder.ImageTranscoderUserAgent()
Method Detail

isXMLParserValidating

public boolean isXMLParserValidating()

getViewportSize

public java.awt.geom.Dimension2D getViewportSize()
Returns the default size of this user agent (400x400).


displayError

public void displayError(java.lang.String message)
Displays the specified error message using the ErrorHandler.


displayError

public void displayError(java.lang.Exception e)
Displays the specified error using the ErrorHandler.


displayMessage

public void displayMessage(java.lang.String message)
Displays the specified message using the ErrorHandler.


getPixelToMM

public float getPixelToMM()
Returns the pixel to millimeter conversion factor specified in the TranscodingHints or 0.3528 if any.


getLanguages

public java.lang.String getLanguages()
Returns the user language specified in the TranscodingHints or "en" (english) if any.


getMedia

public java.lang.String getMedia()

getUserStyleSheetURI

public java.lang.String getUserStyleSheetURI()
Returns the user stylesheet specified in the TranscodingHints or null if any.


getXMLParserClassName

public java.lang.String getXMLParserClassName()
Returns the XML parser to use from the TranscodingHints.



Copyright © 1999-2003 Apache Software Foundation. All Rights Reserved.