PDFTableSection

public class PDFTableSection

Reference to a range of cells in a PDFTable

  • References to cells in the PDFTable

    Declaration

    Swift

    public let cells: [[PDFTableCell]]
  • Access content 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 content: [[PDFTableContent?]] { get set }
  • Setter method to change the content of all rows to the same

    Note

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

    Declaration

    Swift

    public var allRowsContent: [PDFTableContent?] { 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 per column.

    Declaration

    Swift

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

    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 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 cells in the row

    Note

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

    Declaration

    Swift

    public var allRowsStyle: [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 per column

    Declaration

    Swift

    public var allColumnsStyle: [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 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 }
  • Setter method to change the style of all cells in the rows

    Note

    This method can not be used to get alignment, because the type can only be a single value per row

    Declaration

    Swift

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

    Note

    This method can not be used to get alignment, because the type can only be a single value per column

    Declaration

    Swift

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

    Note

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

    Declaration

    Swift

    public var allCellsAlignment: PDFTableCellAlignment { get set }
  • nodoc

    Declaration

    Swift

    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 and the first column will be used.

    Declaration

    Swift

    func merge(with cell: PDFTableCell? = nil)

    Parameters

    cell

    Cell to use after merge, may be nil