Class PDTableAttributeObject

    • Constructor Detail

      • PDTableAttributeObject

        public PDTableAttributeObject()
        Default constructor.
      • PDTableAttributeObject

        public PDTableAttributeObject​(COSDictionary dictionary)
        Creates a new Table attribute object with a given dictionary.
        Parameters:
        dictionary - the dictionary
    • Method Detail

      • getRowSpan

        public int getRowSpan()
        Gets the number of rows in the enclosing table that shall be spanned by the cell (RowSpan). The default value is 1.
        Returns:
        the row span
      • setRowSpan

        public void setRowSpan​(int rowSpan)
        Sets the number of rows in the enclosing table that shall be spanned by the cell (RowSpan).
        Parameters:
        rowSpan - the row span
      • getColSpan

        public int getColSpan()
        Gets the number of columns in the enclosing table that shall be spanned by the cell (ColSpan). The default value is 1.
        Returns:
        the column span
      • setColSpan

        public void setColSpan​(int colSpan)
        Sets the number of columns in the enclosing table that shall be spanned by the cell (ColSpan).
        Parameters:
        colSpan - the column span
      • getHeaders

        public java.lang.String[] getHeaders()
        Gets the headers (Headers). An array of byte strings, where each string shall be the element identifier (see the PDStructureElement.getElementIdentifier()) for a TH structure element that shall be used as a header associated with this cell.
        Returns:
        the headers.
      • setHeaders

        public void setHeaders​(java.lang.String[] headers)
        Sets the headers (Headers). An array of byte strings, where each string shall be the element identifier (see the PDStructureElement.getElementIdentifier()) for a TH structure element that shall be used as a header associated with this cell.
        Parameters:
        headers - the headers
      • getScope

        public java.lang.String getScope()
        Gets the scope (Scope). It shall reflect whether the header cell applies to the rest of the cells in the row that contains it, the column that contains it, or both the row and the column that contain it.
        Returns:
        the scope
      • setScope

        public void setScope​(java.lang.String scope)
        Sets the scope (Scope). It shall reflect whether the header cell applies to the rest of the cells in the row that contains it, the column that contains it, or both the row and the column that contain it. The value shall be one of the following:
        Parameters:
        scope - the scope
      • getSummary

        public java.lang.String getSummary()
        Gets the summary of the table’s purpose and structure.
        Returns:
        the summary
      • setSummary

        public void setSummary​(java.lang.String summary)
        Sets the summary of the table’s purpose and structure.
        Parameters:
        summary - the summary