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

MethodDescription
appendChildAppend {@code /Aspose.Pdf.LogicalStructure.Element} to collection of children.
appendChildAppend {@code /Aspose.Pdf.LogicalStructure.Element} to collection of children.
clearChildsClear all childs.
findElementsFind Elements of a given type
findElementsFind Elements of a given type
getChildElementsGets children collection of {@code Element} objects.
getElementEngineGet parent element.
getParentElementGets parent collection of {@code Element} objects.
getTaggedContent
getTrailerInternal method
insertChildInsert {@code /Aspose.Pdf.LogicalStructure.Element} to collection of children at specified index.
insertChildInsert {@code /Aspose.Pdf.LogicalStructure.Element} to collection of children at specified index.
preSave
removeChildRemove child at.
setParentElement
tagBind a structure element to the Annotation.
tagBind a structure element to the Artifact.
tagBind a structure element to the content stream BDC operator.
tagBind a structure element to the content stream XForm.
tagBind a structure element to the XImage.
toStringReturns 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:

ParameterTypeDescription
indexChild 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.