Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| fop 1.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.fop.svg
Class AbstractFOPTranscoder.FOPTranscoderUserAgent

    java.lang.Object
      org.apache.batik.bridge.UserAgentAdapter
          org.apache.batik.transcoder.SVGAbstractTranscoder.SVGAbstractTranscoderUserAgent
              org.apache.fop.svg.AbstractFOPTranscoder.FOPTranscoderUserAgent

All Implemented Interfaces:
  org.apache.batik.bridge.UserAgent

Enclosing class:
  AbstractFOPTranscoder

protected class AbstractFOPTranscoder.FOPTranscoderUserAgent
extends org.apache.batik.transcoder.SVGAbstractTranscoder.SVGAbstractTranscoderUserAgent

A user agent implementation for FOP's Transcoders.

Field Summary

Fields inherited from class org.apache.batik.transcoder.SVGAbstractTranscoder.SVGAbstractTranscoderUserAgent
`scripts`

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

Methods inherited from class org.apache.batik.transcoder.SVGAbstractTranscoder.SVGAbstractTranscoderUserAgent
`computeAllowedScripts, getAlternateStyleSheet, getDefaultFontFamily, getLanguages, getScriptSecurity, getTransform, getUserStyleSheetURI, getViewportSize, getXMLParserClassName, isXMLParserValidating, setTransform`

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

### AbstractFOPTranscoder.FOPTranscoderUserAgent

    protected AbstractFOPTranscoder.FOPTranscoderUserAgent()

Method Detail

### displayError

    public void displayError(java.lang.String message)

  Displays the specified error message using the `ErrorHandler`.

  Parameters:
    `message` - the message to display

### displayError

    public void displayError(java.lang.Exception e)

  Displays the specified error using the `ErrorHandler`.

  Parameters:
    `e` - the exception to display

### displayMessage

    public void displayMessage(java.lang.String message)

  Displays the specified message using the `ErrorHandler`.

  Parameters:
    `message` - the message to display

### getPixelUnitToMillimeter

    public float getPixelUnitToMillimeter()

  Returns the pixel to millimeter conversion factor specified in the `TranscodingHints` or 0.3528 if any.

  Returns:
    the pixel unit to millimeter factor

### getMedia

    public java.lang.String getMedia()

  Get the media for this transcoder. Which is always print.

  Returns:
    PDF media is "print"

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| fop 1.0
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright 1999-2010 The Apache Software Foundation. All Rights Reserved.