Package com.saperion.intf
Interface SaDocInfo.ElementInfo
- All Superinterfaces:
Serializable
- Enclosing interface:
- SaDocInfo
Represents an element of a document's structure.
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.int
Returns the full name of the element as it was stored in the archive (with page-numbers for multi-page-tiffs but without path).getName()
Returns only the name of the element.int
int
long
getSize()
int
getType()
boolean
withVariables
(Properties variables) This method creates a new ElementInfo with the same values except for the variables which are the ones given.
-
Method Details
-
getNumber
int getNumber()- Returns:
- Number of the element
-
getFileName
Deprecated.Since 7.1 SP1 usegetName()
orgetFullName()
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
SaDocInfo.ElementType 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
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.
-
getName()
orgetFullName()
instead