Interface SaDocInfo.ElementInfo

All Superinterfaces:
Serializable
Enclosing interface:
SaDocInfo

public static interface SaDocInfo.ElementInfo extends Serializable
Represents an element of a document's structure.
  • Method Details

    • getNumber

      int getNumber()
      Returns:
      Number of the element
    • getFileName

      @Deprecated String getFileName()
      Deprecated.
      Since 7.1 SP1 use getName() or getFullName() instead
      Returns:
      Element filename
    • getFullName

      String getFullName()
      Returns the full name of the element as it was stored in the archive (with page-numbers for multi-page-tiffs but without path).
      Returns:
      full name of the element
    • getName

      String getName()
      Returns only the name of the element. For multi-page tiffs, the page number will be removed.
      Returns:
      Element name
    • getType

      Returns:
      Element type
    • isSelected

      boolean isSelected()
      Returns:
      True, if selected
    • getVariableData

      Properties getVariableData()
      Returns:
      element variable data
    • getSize

      long getSize()
      Returns:
      element's size
    • withVariables

      SaDocInfo.ElementInfo withVariables(Properties variables)
      This method creates a new ElementInfo with the same values except for the variables which are the ones given.
      Parameters:
      variables - the new variables
      Returns:
      a new ElementInfo with the same values except for the variables which are the ones given
    • getPageCount

      int getPageCount()
      Returns:
      the number of pages
    • getFrameCount

      int getFrameCount()
      Returns:
      the number of frames
    • getDocUid

      String getDocUid()
      Returns:
      the uid of the document
    • getLinkUid

      String getLinkUid()
      Returns:
      the uid of the linked document if the document is a link.
    • getStructureLevel

      int getStructureLevel()
      Returns:
      the element's level in the structure hierarchy. 0 indicates unstructured document.