org.apache.fop.svg
Class PDFImageElementBridge
SVGImageElementBridge
org.apache.fop.svg.PDFImageElementBridge
public class PDFImageElementBridge
extends SVGImageElementBridge
Bridge class for the <image> element when jpeg images.
protected GraphicsNode | createImageGraphicsNode(BridgeContext ctx, Element imageElement, ParsedURL purl) - Create the raster image node.
|
protected GraphicsNode | superCreateGraphicsNode(BridgeContext ctx, Element imageElement, ParsedURL purl)
|
PDFImageElementBridge
public PDFImageElementBridge()
Constructs a new bridge for the <image> element.
createImageGraphicsNode
protected GraphicsNode createImageGraphicsNode(BridgeContext ctx,
Element imageElement,
ParsedURL purl)
Create the raster image node.
THis checks if it is a jpeg file and creates a jpeg node
so the jpeg can be inserted directly into the pdf document.
ctx
- the bridge contextimageElement
- the svg element for the imagepurl
- the parsed url for the image resource
superCreateGraphicsNode
protected GraphicsNode superCreateGraphicsNode(BridgeContext ctx,
Element imageElement,
ParsedURL purl)
org.apache.batik.bridge.SVGImageElementBridge
Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.