Element
Inheritance: java.lang.Object, com.aspose.pdf.tagged.logicalstructure.elements.Element
public abstract class Element extends Object
Represents a base class for element in logical structure.
Methods
| Method | Description |
|---|---|
| appendChild | Append {@code /Aspose.Pdf.LogicalStructure.Element} to collection of children. |
| appendChild | Append {@code /Aspose.Pdf.LogicalStructure.Element} to collection of children. |
| clearChilds | Clear all childs. |
| findElements | Find Elements of a given type |
| findElements | Find Elements of a given type |
| getChildElements | Gets children collection of {@code Element} objects. |
| getElementEngine | Get parent element. |
| getParentElement | Gets parent collection of {@code Element} objects. |
| getTaggedContent | |
| getTrailer | Internal method |
| insertChild | Insert {@code /Aspose.Pdf.LogicalStructure.Element} to collection of children at specified index. |
| insertChild | Insert {@code /Aspose.Pdf.LogicalStructure.Element} to collection of children at specified index. |
| preSave | |
| removeChild | Remove child at. |
| setParentElement | |
| tag | Bind a structure element to the Annotation. |
| tag | Bind a structure element to the Artifact. |
| tag | Bind a structure element to the content stream BDC operator. |
| tag | Bind a structure element to the content stream XForm. |
| tag | Bind a structure element to the XImage. |
| toString | Returns a string that represents the current object. |
appendChild
Append {@code /Aspose.Pdf.LogicalStructure.Element} to collection of children.
appendChild
Append {@code /Aspose.Pdf.LogicalStructure.Element} to collection of children.
clearChilds
public final void clearChilds()
Clear all childs.
findElements
Find Elements of a given type
findElements
Find Elements of a given type
getChildElements
public final ElementList getChildElements()
Gets children collection of {@code Element} objects.
Returns: Value: Children collection of {@code Element} objects.
getElementEngine
public final ElementPdfEngine getElementEngine()
Get parent element.
Returns: Value: Parent element.
getParentElement
public final Element getParentElement()
Gets parent collection of {@code Element} objects.
Returns: Value: Parent collection of {@code Element} objects.
getTaggedContent
public final ITaggedContent getTaggedContent()
getTrailer
public final com.aspose.pdf.engine.data.ITrailerable getTrailer()
Internal method
Returns: Internal element
insertChild
Insert {@code /Aspose.Pdf.LogicalStructure.Element} to collection of children at specified index.
insertChild
Insert {@code /Aspose.Pdf.LogicalStructure.Element} to collection of children at specified index.
preSave
public void preSave()
removeChild
public final void removeChild(int index)
Remove child at.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| index | Child element index. |
setParentElement
tag
Bind a structure element to the Annotation.
tag
Bind a structure element to the Artifact.
tag
Bind a structure element to the content stream BDC operator.
tag
Bind a structure element to the content stream XForm.
tag
Bind a structure element to the XImage.
toString
public String toString()
Returns a string that represents the current object.
Returns: String that represents the current object.