Export (0) Print
Expand All

OpenXmlPartContainer members

Defines the base class for OpenXmlPackage and OpenXmlPart.

The OpenXmlPartContainer type exposes the following members.

  Name Description
Protected method OpenXmlPartContainer Initializes OpenXmlPartContainer.
Top

  Name Description
Public property DataPartReferenceRelationships Enumerates all DataPartReferenceRelationship relationships.
Public property ExternalRelationships Enumerates all external relationships. Hyperlink relationships are not included, use HyperlinkRelationship property to enumerate hyperlink relationships.
Public property HyperlinkRelationships Enumerates all hyperlink relationships.
Public property Parts Enumerates all parts which are relationship targets of this part.
Top

  Name Description
Public method AddAnnotation Adds an object to the annotation list of this PartContainer.
Public method AddExtendedPart(String, String, String) Adds an extended part ( Application specific part ).
Public method AddExtendedPart(String, String, String, String) Adds an extended part ( Application specific part ).
Public method AddExternalRelationship(String, Uri) Adds an external relationship. Do not add hyperlink relationships through this method. Use AddHyperlinkRelationship() instead.
Public method AddExternalRelationship(String, Uri, String) Adds an external relationship. Do not add hyperlink relationships through this method. Use AddHyperlinkRelationship() instead.
Public method AddHyperlinkRelationship(Uri, Boolean) Adds a new hyperlink relationship.
Public method AddHyperlinkRelationship(Uri, Boolean, String) Adds a new hyperlink relationship.
Public method AddNewPart<T>() Adds a new part of type T.
Public method AddNewPart<T>(String) Adds a new part of type T.
Public method AddNewPart<T>(String, String) Adds a new part of type T.
Public method AddPart<T>(T) Adds the part to the document. Must use the returned part to operate on the part added to the document.
Public method AddPart<T>(T, String) Adds the part to the document with a given relationship identifier (ID). Must use the returned part to operate on the part added to the document
Public method Annotation(Type) Get the first annotation object of the specified type from this PartContainer.
Public method Annotation<T>() Get the first annotation object of the specified type from this PartContainer.
Public method Annotations(Type) Gets a collection of annotations of the specified type for this PartContainer.
Public method Annotations<T>() Gets a collection of annotations of the specified type for this PartContainer.
Public method ChangeIdOfPart Changes the relationship ID of the part.
Public method CreateRelationshipToPart(OpenXmlPart) Adds a relationship for the specified part to this part.
Public method CreateRelationshipToPart(OpenXmlPart, String) Adds a relationship for the specified part to this part.
Public method DeleteExternalRelationship(String) Deletes the specified ExternalRelationship.
Public method DeleteExternalRelationship(ExternalRelationship) Deletes the specified external relationship.
Public method DeletePart(String) Deletes the specified child part from this part.
Public method DeletePart(OpenXmlPart) Deletes a specified part in the package root layer.
Public method DeleteParts<T> Deletes all the parts which are in the passed in collection from the document.
Public method DeleteReferenceRelationship(String) Deletes the specified reference relationship.
Public method DeleteReferenceRelationship(ReferenceRelationship) Deletes the specified reference relationship.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetExternalRelationship Gets the specified ExternalRelationship.
Public method GetHashCode (Inherited from Object.)
Public method GetIdOfPart Gets the relationship ID of the part.
Public method GetPartById Gets the child part through the relationship ID.
Public method GetPartsCountOfType<T> Gets the count of all parts of type T.
Public method GetPartsOfType<T>() Enumerates all the children parts of the specified type "T" of this part.
Public method GetPartsOfType<T>(ICollection<T>) Gets all the children parts of the specified type "T" into "partCollection" of this part.
Public method GetReferenceRelationship Gets the specified ReferenceRelationship.
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method RemoveAnnotations(Type) Removes the annotations of the specified type from this PartContainer.
Public method RemoveAnnotations<T>() Removes the annotations of the specified type from this PartContainer.
Protected method ThrowIfObjectDisposed Test whether the object is already disposed.
Public method ToString (Inherited from Object.)
Top

Community Additions

Show:
© 2014 Microsoft