pdftable-ag凯发旗舰厅



com.spire.pdf.tables
class pdftable

java.lang.object
  extended by com.spire.pdf.graphics.pdfgraphicswidget
      extended by com.spire.pdf.graphics.pdflayoutwidget
          extended by com.spire.pdf.tables.pdftable

public class pdftable
extends pdflayoutwidget

represents fast table with few features.


field summary
 com.spire.ms.lang.event<beginrowlayouteventhandler> beginrowlayout
           
 com.spire.ms.lang.event<endcelllayouteventhandler> endcelllayout
           
 
fields inherited from class com.spire.pdf.graphics.pdflayoutwidget
beginpagelayout
 
constructor summary
pdftable()
           
 
method summary
 void draw(pdfcanvas graphics, java.awt.geom.point2d location, float width)
          draws an element on the graphics.
 void draw(pdfcanvas graphics, java.awt.geom.rectangle2d bounds)
          draws an element on the graphics.
 pdftablelayoutresult draw(pdfnewpage page, java.awt.geom.point2d location)
          draws the table starting from the specified page.
 pdftablelayoutresult draw(pdfnewpage page, java.awt.geom.point2d location, pdftablelayoutformat format)
          draws the table starting from the specified page.
 pdftablelayoutresult draw(pdfnewpage page, java.awt.geom.rectangle2d bounds)
          draws the table starting from the specified page.
 pdftablelayoutresult draw(pdfnewpage page, java.awt.geom.rectangle2d bounds, pdftablelayoutformat format)
          draws the table starting from the specified page.
 boolean getallowcrosspages()
          gets a value indicates whether can cross a page.
 pdfcolumncollection getcolumns()
          gets the columns.
 java.lang.string getdatamember()
          gets or sets the data member.
 java.lang.object getdatasource()
          gets or sets the data source.
 pdftabledatasourcetype getdatasourcetype()
          gets or sets the datasource type of the pdftable
 boolean getignoresorting()
          gets or sets a value indicating whether pdftable should ignore sorting in data table.
 pdfrowcollection getrows()
          gets the rows.
 pdftablestyle getstyle()
          gets or sets the properties.
 void setallowcrosspages(boolean value)
           
 void setdatasource(java.lang.object value)
           
 void setdatasourcetype(pdftabledatasourcetype value)
           
 void setignoresorting(boolean value)
           
 void setstyle(pdftablestyle value)
           
 
methods inherited from class com.spire.pdf.graphics.pdflayoutwidget
draw, draw, draw, draw, draw, draw
 
methods inherited from class com.spire.pdf.graphics.pdfgraphicswidget
draw, draw, draw
 
field detail

beginrowlayout

public com.spire.ms.lang.event<beginrowlayouteventhandler> beginrowlayout

endcelllayout

public com.spire.ms.lang.event<endcelllayouteventhandler> endcelllayout
constructor detail

pdftable

public pdftable()
method detail

getcolumns

public pdfcolumncollection getcolumns()
gets the columns.

getrows

public pdfrowcollection getrows()
gets the rows.

getdatasource

public java.lang.object getdatasource()
gets or sets the data source.

setdatasource

public void setdatasource(java.lang.object value)

getdatamember

public java.lang.string getdatamember()
gets or sets the data member.

getdatasourcetype

public pdftabledatasourcetype getdatasourcetype()
gets or sets the datasource type of the pdftable

setdatasourcetype

public void setdatasourcetype(pdftabledatasourcetype value)

getstyle

public pdftablestyle getstyle()
gets or sets the properties.

setstyle

public void setstyle(pdftablestyle value)

getignoresorting

public boolean getignoresorting()
gets or sets a value indicating whether pdftable should ignore sorting in data table.

setignoresorting

public void setignoresorting(boolean value)

getallowcrosspages

public boolean getallowcrosspages()
gets a value indicates whether can cross a page.

setallowcrosspages

public void setallowcrosspages(boolean value)

draw

public void draw(pdfcanvas graphics,
                 java.awt.geom.point2d location,
                 float width)
draws an element on the graphics.
parameters:
graphics - graphics context where the element should be printed.
location - the location of the element.
width - the width of the table.

draw

public void draw(pdfcanvas graphics,
                 java.awt.geom.rectangle2d bounds)
draws an element on the graphics.
parameters:
graphics - graphics context where the element should be printed.
bounds - the bounds.

draw

public pdftablelayoutresult draw(pdfnewpage page,
                                 java.awt.geom.point2d location)
draws the table starting from the specified page.
parameters:
page - the page.
location - the location.
returns:
the results of the lay outing.

draw

public pdftablelayoutresult draw(pdfnewpage page,
                                 java.awt.geom.point2d location,
                                 pdftablelayoutformat format)
draws the table starting from the specified page.
parameters:
page - the page.
location - the location.
format - the format.
returns:
the results of the lay outing.

draw

public pdftablelayoutresult draw(pdfnewpage page,
                                 java.awt.geom.rectangle2d bounds)
draws the table starting from the specified page.
parameters:
page - the page.
bounds - the bounds.
returns:
the results of the lay outing.

draw

public pdftablelayoutresult draw(pdfnewpage page,
                                 java.awt.geom.rectangle2d bounds,
                                 pdftablelayoutformat format)
draws the table starting from the specified page.
parameters:
page - the page.
bounds - the bounds.
format - the format.
returns:
the results of the lay outing.


网站地图