org.eclipse.birt.report.engine.layout.pdf.emitter
Class ImageLayout
java.lang.Object
Layout
org.eclipse.birt.report.engine.layout.pdf.emitter.ImageLayout
public class ImageLayout
- extends Layout
Constructor Summary |
ImageLayout(LayoutEngineContext context,
ContainerLayout parentContext,
IContent content)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_WIDHT
protected static final int DEFAULT_WIDHT
- See Also:
- Constant Field Values
DEFAULT_HEIGHT
protected static final int DEFAULT_HEIGHT
- See Also:
- Constant Field Values
image
protected IImageContent image
root
protected ContainerArea root
ImageLayout
public ImageLayout(LayoutEngineContext context,
ContainerLayout parentContext,
IContent content)
getIntrinsicDimension
protected Dimension getIntrinsicDimension(IImageContent content)
throws com.lowagie.text.BadElementException,
java.net.MalformedURLException,
java.io.IOException
- get intrinsic dimension of image in pixels. Now only support png, bmp,
jpg, gif.
- Parameters:
in
-
- Returns:
-
- Throws:
java.io.IOException
java.net.MalformedURLException
com.lowagie.text.BadElementException
getSpecifiedDimension
protected Dimension getSpecifiedDimension(IImageContent content,
int pWidth,
boolean scale)
layout
public void layout()
init
protected void init()
closeLayout
protected void closeLayout()
initialize
protected void initialize()
Copyright © 2008 Actuate Corp. All rights reserved.