public class ExcelImageHandler extends Object
Constructor and Description |
---|
ExcelImageHandler(ResourceManager resourceManager,
ExcelPrinterBase printerBase) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.poi.ss.usermodel.ClientAnchor |
computeClientAnchor(SlimSheetLayout currentLayout,
TableRectangle rectangle,
StrictBounds cb) |
protected org.apache.poi.ss.usermodel.ClientAnchor |
computeExcel2003ClientAnchor(SlimSheetLayout currentLayout,
TableRectangle rectangle,
StrictBounds cb) |
protected org.apache.poi.ss.usermodel.ClientAnchor |
computeExcel97ClientAnchor(SlimSheetLayout currentLayout,
TableRectangle rectangle,
StrictBounds cb) |
void |
createImageCell(StyleSheet layoutContext,
ImageContainer image,
SlimSheetLayout currentLayout,
TableRectangle rectangle,
StrictBounds cellBounds)
Produces the content for image or drawable cells.
|
public ExcelImageHandler(ResourceManager resourceManager, ExcelPrinterBase printerBase)
public void createImageCell(StyleSheet layoutContext, ImageContainer image, SlimSheetLayout currentLayout, TableRectangle rectangle, StrictBounds cellBounds)
layoutContext
- the stylesheet of the render node that produced the image.image
- the image objectcurrentLayout
- the current sheet layout containing all row and column breaksrectangle
- the current cell in grid-coordinatescellBounds
- the bounds of the cell.protected org.apache.poi.ss.usermodel.ClientAnchor computeClientAnchor(SlimSheetLayout currentLayout, TableRectangle rectangle, StrictBounds cb)
protected org.apache.poi.ss.usermodel.ClientAnchor computeExcel97ClientAnchor(SlimSheetLayout currentLayout, TableRectangle rectangle, StrictBounds cb)
protected org.apache.poi.ss.usermodel.ClientAnchor computeExcel2003ClientAnchor(SlimSheetLayout currentLayout, TableRectangle rectangle, StrictBounds cb)
Copyright © 2002–2017 Pentaho Corporation. All rights reserved.