PDFTableRows

public class PDFTableRows
extension PDFTableRows: PDFTableMergable

References to multiple rows of a PDFTable

  • List of row references

    Declaration

    Swift

    public let rows: [PDFTableRow]
  • Access content of all cells in all rows or sets the content of a subsection of cells.

    If the bounds of the section is exceeded, when setting new values, an assertion error will be thrown.

    Declaration

    Swift

    public var content: [[PDFTableContentable?]] { get set }
  • Setter method to change the content of all rows to the same

    Declaration

    Swift

    public var allRowsContent: [PDFTableContent?] { get set }
  • Setter method to change the content of all cells in the row

    Declaration

    Swift

    public var allCellsContent: PDFTableContent? { get set }
  • Access style of all cells in section or sets a content of a subsection of cells.

    If the bounds of the section is exceeded, when setting new values, an assertion error will be thrown.

    Declaration

    Swift

    public var style: [[PDFTableCellStyle?]] { get set }
  • Setter method to change the style of all rows to the same

    Declaration

    Swift

    public var allRowsStyle: [PDFTableCellStyle?] { get set }
  • Setter method to change the style of all cells in the row

    Declaration

    Swift

    public var allCellsStyle: PDFTableCellStyle? { get set }
  • Access alignment of all cells in section or sets a content of a subsection of cells.

    If the bounds of the section is exceeded, when setting values, an assertion error will be thrown.

    Declaration

    Swift

    public var alignment: [[PDFTableCellAlignment]] { get set }
  • Sets the same alignment for each row

    If the bounds of the section is exceeded, an assertion error will be thrown.

    Declaration

    Swift

    public var allRowsAlignment: [PDFTableCellAlignment] { get set }
  • Setter method to change the style of all cells in the rows

    Declaration

    Swift

    public var allCellsAlignment: PDFTableCellAlignment { get set }
  • nodoc

    Declaration

    Swift

    public func merge()
  • Merges all cells by replacing them with the same reference.

    If no parameter cell is given, the first cell in the first row will be used.

    Declaration

    Swift

    public func merge(with cell: PDFTableCell? = nil)

    Parameters

    cell

    Cell to use after merge, may be nil