public class PdfTable extends AbstractPdfBlock
margin, padding
限定符和类型 | 方法和说明 |
---|---|
void |
addPdfPTable(com.fr.third.v2.lowagie.text.pdf.PdfPTable ptable) |
void |
calculateHeight()
计算block元素内部高度
|
void |
draw(java.awt.Graphics2D g2d,
Style style)
绘制元素
|
float |
getHeight()
获取block元素高度
|
com.fr.third.v2.lowagie.text.pdf.PdfPTable |
getPdfPTable() |
java.lang.String |
toHtmlString(double startY,
double endY)
切割html元素
|
getMargin, getPadding, setMargin, setPadding
public PdfTable(float width, Style style, int resolution)
public com.fr.third.v2.lowagie.text.pdf.PdfPTable getPdfPTable()
public void addPdfPTable(com.fr.third.v2.lowagie.text.pdf.PdfPTable ptable)
public void draw(java.awt.Graphics2D g2d, Style style) throws java.lang.Exception
PdfBlock
g2d
- 绘制对象style
- 绘制样式java.lang.Exception
public float getHeight()
PdfBlock
public void calculateHeight()
PdfBlock
public java.lang.String toHtmlString(double startY, double endY)
PdfBlock
startY
- 切割起始位置endY
- 切割结束位置