fop 0.94

org.apache.fop.image
Class EmfImage

java.lang.Object
  extended by org.apache.fop.image.AbstractFopImage
      extended by org.apache.fop.image.EmfImage
All Implemented Interfaces:
FopImage

public class EmfImage
extends AbstractFopImage

Enhanced metafile image. This supports loading a EMF image.

Author:
Peter Herweg
See Also:
AbstractFopImage, FopImage

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.fop.image.FopImage
FopImage.ImageInfo
 
Field Summary
 
Fields inherited from class org.apache.fop.image.AbstractFopImage
bitmaps, bitsPerPixel, colorSpace, dpiHorizontal, dpiVertical, height, imageInfo, inputStream, invertImage, isTransparent, loaded, log, raw, transparentColor, width
 
Fields inherited from interface org.apache.fop.image.FopImage
BITMAP, DIMENSIONS, ORIGINAL_DATA
 
Constructor Summary
EmfImage(FopImage.ImageInfo imgInfo)
          Create a bitmap image with the image data.
 
Method Summary
protected  boolean loadOriginalData()
          Load the original EMF data.
 
Methods inherited from class org.apache.fop.image.AbstractFopImage
getBitmaps, getBitmapsSize, getBitsPerPixel, getColorSpace, getHeight, getHorizontalResolution, getICCProfile, getIntrinsicAlignmentAdjust, getIntrinsicHeight, getIntrinsicWidth, getMimeType, getOriginalURI, getRessourceBytes, getRessourceBytesSize, getSoftMask, getTransparentColor, getVerticalResolution, getWidth, hasSoftMask, isInverted, isTransparent, load, loadBitmap, loadDefaultOriginalData, loadDimensions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmfImage

public EmfImage(FopImage.ImageInfo imgInfo)
Create a bitmap image with the image data.

Parameters:
imgInfo - the image information
Method Detail

loadOriginalData

protected boolean loadOriginalData()
Load the original EMF data. This loads the original EMF data and reads the color space, and icc profile if any.

Overrides:
loadOriginalData in class AbstractFopImage
Returns:
true if loaded false for any error

fop 0.94

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