PDFTableColumn

public class PDFTableColumn
extension PDFTableColumn: PDFTableMergable

Reference to a single column of cells in a PDFTable

  • References to the cells in the column

    Declaration

    Swift

    public private(set) var cells: [PDFTableCell] { get }
  • Access and modifier for a specific cell in a given row

    Declaration

    Swift

    public subscript(row: Int) -> PDFTableCell { get set }
  • Access content of all cells in column 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 content: [PDFTableContentable?] { get set }
  • Setter method to change the content of all cells in the column

    Note

    This method can not be used to get contents, because the type can only be a single value.

    Declaration

    Swift

    public var allCellsContent: PDFTableContent? { get set }
  • Access content of all cells in column 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 cells in the column

    Note

    This method can not be used to get styles, because the type can only be a single value.

    Declaration

    Swift

    public var allCellsStyle: PDFTableCellStyle? { get set }
  • Access content of all cells in column 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 alignment: [PDFTableCellAlignment] { get set }
  • Setter method to change the content of all cells in the column

    Note

    This method can not be used to get values, because the type can only be a single value.

    Declaration

    Swift

    public var allCellsAlignment: PDFTableCellAlignment { get set }

PDFTableMergable

  • 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 column will be used.

    Declaration

    Swift

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

    Parameters

    cell

    Cell to use after merge, may be nil