info.informatica.report.pdf
Class PdfImageBlock

java.lang.Object
  extended by info.informatica.report.block.AbstractBlock
      extended by info.informatica.report.block.DynamicBlock
          extended by info.informatica.report.block.ImageBlock
              extended by info.informatica.report.pdf.PdfImageBlock
All Implemented Interfaces:
BinaryBlock, Block, NativeWrapper, StaticBlock

public class PdfImageBlock
extends ImageBlock
implements StaticBlock, NativeWrapper

PDF image.

The following properties are supported:

Author:
amengual at informatica dot info

Constructor Summary
PdfImageBlock(ImageBlock block, Document pdf)
           
 
Method Summary
 Object getRenderedObject()
          Get the native rendered object.
 void initRender(ReportWriter writer)
          Initialize the wrapper for rendering the block.
 void print(ReportWriter rw)
           
 
Methods inherited from class info.informatica.report.block.ImageBlock
getFilename, getHeight, getPath, getTitle, getWidth, init, setFilename
 
Methods inherited from class info.informatica.report.block.DynamicBlock
filterChildReportElement, getNestedBlocks, hasNested
 
Methods inherited from class info.informatica.report.block.AbstractBlock
filterChildXHTMLElement, getCondition, getPeerElement, getReportDataSpec, getTransformParameters, isHidden, printSample, setCondition, setReportDataSpec
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PdfImageBlock

public PdfImageBlock(ImageBlock block,
                     Document pdf)
Method Detail

initRender

public void initRender(ReportWriter writer)
                throws info.informatica.doc.RenderingException
Description copied from interface: NativeWrapper
Initialize the wrapper for rendering the block.

Specified by:
initRender in interface NativeWrapper
Parameters:
writer - the report writer.
Throws:
info.informatica.doc.RenderingException - if any problem happened.

print

public void print(ReportWriter rw)
           throws info.informatica.doc.RenderingException
Specified by:
print in interface StaticBlock
Throws:
info.informatica.doc.RenderingException

getRenderedObject

public Object getRenderedObject()
Description copied from interface: NativeWrapper
Get the native rendered object.

Specified by:
getRenderedObject in interface NativeWrapper
Returns:
the rendered object, or null if the block has not been rendered yet.