com.spire.doc
Class DocumentContainer
java.lang.Object
com.spire.doc.OwnerHolder
com.spire.doc.documents.xml.DocumentSerializable
com.spire.doc.DocumentObject
com.spire.doc.DocumentBase
com.spire.doc.DocumentContainer
- All Implemented Interfaces:
- IDocumentObject, IDocumentSerializable
- Direct Known Subclasses:
- Body, Document, Section
public abstract class DocumentContainer
- extends DocumentBase
Methods inherited from class com.spire.doc.DocumentObject |
deepClone, getChildObjects, getDocumentObjectType, getFirstChild, getLastChild, getNextSibling, getNextWidgetSibling, getOwner, getPreviousSibling, getPreviousWidgetSibling, isComposite, prependChild, toString |
DocumentContainer
public DocumentContainer(Document doc,
DocumentObject owner)
getCount
public int getCount()
- Gets count of child object.
- Returns:
getIndex
public int getIndex(IDocumentObject entity)
- Returns the zero-based index of the specified entity.
- Parameters:
entity
- the document object.
- Returns: