Tables

public struct Tables : Codable, Equatable

The contents of the tables extracted from a document.

  • The numeric location of the identified element in the document, represented with two integers labeled begin and end.

    Declaration

    Swift

    public var location: Location?
  • The textual contents of the current table from the input document without associated markup content.

    Declaration

    Swift

    public var text: String?
  • The table’s section title, if identified.

    Declaration

    Swift

    public var sectionTitle: SectionTitle?
  • If identified, the title or caption of the current table of the form Table x.: .... Empty when no title is identified. When exposed, the title is also excluded from the contexts array of the same table.

    Declaration

    Swift

    public var title: TableTitle?
  • An array of table-level cells that apply as headers to all the other cells in the current table.

    Declaration

    Swift

    public var tableHeaders: [TableHeaders]?
  • An array of row-level cells, each applicable as a header to other cells in the same row as itself, of the current table.

    Declaration

    Swift

    public var rowHeaders: [RowHeaders]?
  • An array of column-level cells, each applicable as a header to other cells in the same column as itself, of the current table.

    Declaration

    Swift

    public var columnHeaders: [ColumnHeaders]?
  • An array of cells that are neither table header nor column header nor row header cells, of the current table with corresponding row and column header associations.

    Declaration

    Swift

    public var bodyCells: [BodyCells]?
  • An array of objects that list text that is related to the table contents and that precedes or follows the current table.

    Declaration

    Swift

    public var contexts: [Contexts]?
  • An array of key-value pairs identified in the current table.

    Declaration

    Swift

    public var keyValuePairs: [KeyValuePair]?