/** * Constructs a RtfTable based on a Table for a RtfDocument. * * @param doc The RtfDocument this RtfTable belongs to * @param table The Table that this RtfTable wraps */ public RtfTable(RtfDocument doc, Table table) { super(doc); table.complete(); importTable(table); }
/** * Constructs a PatchRtfTable based on a Table for a RtfDocument. * * @param doc * The RtfDocument this PatchRtfTable belongs to * @param table * The Table that this PatchRtfTable wraps */ public PatchRtfTable( RtfDocument doc, Table table ) { super( doc ); table.complete(); importTable( table ); }
/** * Constructs a RtfTable based on a Table for a RtfDocument. * * @param doc The RtfDocument this RtfTable belongs to * @param table The Table that this RtfTable wraps */ public RtfTable(RtfDocument doc, Table table) { super(doc); table.complete(); importTable(table); }
/** * Updates the table row additions in the underlying table object and deletes all table rows, * in order to preserve memory and detect future row additions. * <p><b>Pre-requisite</b>: the object must have been built with the parameter <code>supportUpdateRowAdditions</code> equals to true. */ void updateRowAdditions() { table.complete(); updateRowAdditionsInternal(); table.deleteAllRows(); }
/** * Updates the table row additions in the underlying table object and deletes all table rows, * in order to preserve memory and detect future row additions. * <p><b>Pre-requisite</b>: the object must have been built with the parameter <code>supportUpdateRowAdditions</code> equals to true. */ void updateRowAdditions() { table.complete(); updateRowAdditionsInternal(); table.deleteAllRows(); }
/** * Updates the table row additions in the underlying table object and deletes all table rows, * in order to preserve memory and detect future row additions. * <p><b>Pre-requisite</b>: the object must have been built with the parameter <code>supportUpdateRowAdditions</code> equals to true. */ void updateRowAdditions() { table.complete(); updateRowAdditionsInternal(); table.deleteAllRows(); }
if (aLocation == null) throw new NullPointerException("insertTable - point has null-value"); mTableInserted = true; aTable.complete();
if (aLocation == null) throw new NullPointerException(MessageLocalization.getComposedMessage("inserttable.point.has.null.value")); mTableInserted = true; aTable.complete();
if (aLocation == null) throw new NullPointerException(MessageLocalization.getComposedMessage("inserttable.point.has.null.value")); mTableInserted = true; aTable.complete();
/** * Constructs a <CODE>PdfTable</CODE>-object. * * @param table a <CODE>Table</CODE> * @param left the left border on the page * @param right the right border on the page * @param top the start position of the top of the table * @since a parameter of this method has been removed in iText 2.0.8 */ PdfTable(Table table, float left, float right, float top) { // constructs a Rectangle (the bottom value will be changed afterwards) super(left, top, right, top); this.table = table; table.complete(); // copying the attributes from class Table cloneNonPositionParameters(table); this.columns = table.getColumns(); positions = table.getWidths(left, right - left); // initialization of some parameters setLeft(positions[0]); setRight(positions[positions.length - 1]); headercells = new ArrayList(); cells = new ArrayList(); updateRowAdditionsInternal(); }
/** * Constructs a <CODE>PdfTable</CODE>-object. * * @param table a <CODE>Table</CODE> * @param left the left border on the page * @param right the right border on the page * @param top the start position of the top of the table * @since a parameter of this method has been removed in iText 2.0.8 */ PdfTable(Table table, float left, float right, float top) { // constructs a Rectangle (the bottom value will be changed afterwards) super(left, top, right, top); this.table = table; table.complete(); // copying the attributes from class Table cloneNonPositionParameters(table); this.columns = table.getColumns(); positions = table.getWidths(left, right - left); // initialization of some parameters setLeft(positions[0]); setRight(positions[positions.length - 1]); headercells = new ArrayList(); cells = new ArrayList(); updateRowAdditionsInternal(); }
/** * Constructs a <CODE>PdfTable</CODE>-object. * * @param table a <CODE>Table</CODE> * @param left the left border on the page * @param right the right border on the page * @param top the start position of the top of the table * @since a parameter of this method has been removed in iText 2.0.8 */ PdfTable(Table table, float left, float right, float top) { // constructs a Rectangle (the bottom value will be changed afterwards) super(left, top, right, top); this.table = table; table.complete(); // copying the attributes from class Table cloneNonPositionParameters(table); this.columns = table.getColumns(); positions = table.getWidths(left, right - left); // initialization of some parameters setLeft(positions[0]); setRight(positions[positions.length - 1]); headercells = new ArrayList(); cells = new ArrayList(); updateRowAdditionsInternal(); }
complete(); PdfPTable pdfptable = new PdfPTable(widths); pdfptable.setComplete(complete);
complete(); PdfPTable pdfptable = new PdfPTable(widths); pdfptable.setComplete(complete);
complete(); PdfPTable pdfptable = new PdfPTable(widths); pdfptable.setComplete(complete);