org.eclipse.birt.report.engine.layout.pdf.emitter
Class ImageLayout
java.lang.Object
org.eclipse.birt.report.engine.layout.pdf.emitter.Layout
org.eclipse.birt.report.engine.layout.pdf.emitter.ImageLayout
public class ImageLayout
- extends org.eclipse.birt.report.engine.layout.pdf.emitter.Layout
Fields inherited from class org.eclipse.birt.report.engine.layout.pdf.emitter.Layout |
content, context, logger, parent, specifiedHeight, specifiedWidth |
Constructor Summary |
ImageLayout(org.eclipse.birt.report.engine.layout.pdf.emitter.LayoutEngineContext context,
org.eclipse.birt.report.engine.layout.pdf.emitter.ContainerLayout parentContext,
IContent content)
|
Methods inherited from class org.eclipse.birt.report.engine.layout.pdf.emitter.Layout |
calculateSpecifiedHeight, calculateSpecifiedWidth, getDimensionValue, getDimensionValue, getDimensionValue, getDimensionValue, getDimensionValue, getParent, getTableLayoutManager, removeMargin, resolveBoxConflict, validateBoxProperty, validateBoxProperty, visitContent |
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 org.eclipse.birt.report.engine.layout.area.impl.ContainerArea root
ImageLayout
public ImageLayout(org.eclipse.birt.report.engine.layout.pdf.emitter.LayoutEngineContext context,
org.eclipse.birt.report.engine.layout.pdf.emitter.ContainerLayout parentContext,
IContent content)
getIntrinsicDimension
protected org.eclipse.birt.report.engine.content.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 org.eclipse.birt.report.engine.content.Dimension getSpecifiedDimension(IImageContent content,
int pWidth,
boolean scale)
layout
public void layout()
- Specified by:
layout
in class org.eclipse.birt.report.engine.layout.pdf.emitter.Layout
init
protected void init()
closeLayout
protected void closeLayout()
- Specified by:
closeLayout
in class org.eclipse.birt.report.engine.layout.pdf.emitter.Layout
initialize
protected void initialize()
- Specified by:
initialize
in class org.eclipse.birt.report.engine.layout.pdf.emitter.Layout
Copyright © 2008 Actuate Corp. All rights reserved.