# Package org.apache.fop.svg

Classes that add SVG support to FOP and SVG->PDF conversion for Batik.

See: Description

- Interface Summary
  Interface | Description
  --- | ---
  FOPTextHandler | an fop extension to text handler
  NativeImageHandler | native image handler
  PDFGraphics2D.TransparencyIgnoredEventListener | May be used to give proper feedback to the user when a particular PDF profile is being used that disallows transparency.
  SVGEventProducer | Event producer interface for SVG-related events.

- Class Summary
  Class | Description
  --- | ---
  AbstractFOPBridgeContext | A FOP base implementation of a Batik BridgeContext.
  AbstractFOPImageElementBridge | Bridge class for the <image> element when jpeg images.
  AbstractFOPImageElementBridge.Graphics2DNode | A node that holds a Graphics2D image.
  AbstractFOPTextElementBridge | Bridge class for the <text> element.
  AbstractFOPTextPainter | Renders the attributed character iterator of a `TextNode`.
  AbstractFOPTranscoder | This is the common base class of all of FOP's transcoders.
  ACIUtils | Utilities for java.text.AttributedCharacterIterator.
  FOPSAXSVGDocumentFactory | This is a special subclass to allow setting a special EntityResolver.
  FOPTextHandlerAdapter | The `FOPTextHandlerAdapter` class is an adapter class to permit use of FOPTextHandler without incurring deprecation warnings caused by the underlying org.apache.xmlgraphics.java2d.TextHandler.drawString(String...) method.
  GraphicsConfiguration | Adapter to allow subclassing java.awt.GraphicsConfiguration without compilation errors.
  NativeTextPainter | Abstract base class for text painters that use specialized text commands native to an output format to render text.
  PDFAElementBridge | Bridge class for the <a> element.
  PDFANode | A graphics node that represents an image described as a graphics node.
  PDFBatikFlowTextElementBridge | Element Bridge for Batik's flow text extension, so those texts can be painted using PDF primitives.
  PDFBridgeContext | BridgeContext which registers the custom bridges for PDF output.
  PDFContext | Context class which holds state information which should remain in sync over multiple instances of PDFDocumentGraphics2D.
  PDFDocumentGraphics2D | This class is a wrapper for the `PDFGraphics2D` that is used to create a full document around the PDF rendering from `PDFGraphics2D`.
  PDFDocumentGraphics2DConfigurator | Configurator class for PDFDocumentGraphics2D.
  PDFFlowExtTextPainter | Text Painter for Batik's flow text extension.
  PDFFlowTextPainter | Text Painter for SVG 1.2 (flow) text.
  PDFGraphics2D | PDF Graphics 2D.
  PDFImageElementBridge | PDF Image Element Bridge class for the <image> element when jpeg images.
  PDFSVGFlowRootElementBridge | Element Bridge for SVG 1.2 flow text, so those texts can be painted using PDF primitives.
  PDFTextElementBridge | Bridge class for the <text> element.
  PDFTextUtil | Utility class for generating PDF text objects.
  PDFTranscoder | This class enables to transcode an input to a PDF document.
  SimpleSVGUserAgent | A simple SVG user agent.
  SVGEventProducer.Provider | Provider class for the event producer.
  SVGUserAgent | The SVG user agent.
  SVGUtilities | Some utilities for creating svg DOM documents and elements.

## Package org.apache.fop.svg Description

Classes that add SVG support to FOP and SVG->PDF conversion for Batik.

This package contains classes for drawing to PDF using a Graphics2D implementation.

The classes: PDFAElementBridge, PDFANode, PDFImageElementBridge, PDFTextElementBridge and PDFTextPainter are used in conjunction with batik to draw the SVG into the PDF document.

The PDFTranscoder is a transcoder for use with batik to convert from SVG to a single page PDF document.

SVGElement, SVGElementMapping and SVGObj are used by FOP for handling embedded SVG or external SVG graphics.

The PDFGraphics2D does all the work to draw into a PDF document and the PDFDocumentGraphics2D is used when drawing into a single document.

SVGUtilities contains some useful svg element creation methods.

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