OpenXmlPartContainer Members
Include Protected Members
Include Inherited Members
Defines OpenXmlPartContainer - base class for OpenXmlPackage and OpenXmlPart.
The OpenXmlPartContainer type exposes the following members.
Constructors
Name | Description | |
---|---|---|
OpenXmlPartContainer | Initializes OpenXmlPartContainer. |
Top
Properties
Name | Description | |
---|---|---|
DataPartReferenceRelationships | Enumerates all DataPartReferenceRelationship relationships. | |
ExternalRelationships | Enumerates all external relationships. Hyperlink relationships are not included, use HyperlinkRelationship property to enumerate hyperlink relationships. | |
HyperlinkRelationships | Enumerates all hyperlink relationships. | |
Parts | Enumerates all parts which are relationship targets of this part. |
Top
Methods
Name | Description | |
---|---|---|
AddAnnotation | Adds an object to the annotation list of this PartContainer | |
AddExtendedPart(String, String, String) | Adds an extended part ( Application specific part ) | |
AddExtendedPart(String, String, String, String) | Adds an extended part ( Application specific part ) | |
AddExternalRelationship(String, Uri) | Adds external relationship. Do not add hyperlink relationships through this method. Use AddHyperlinkRelationship() instead. | |
AddExternalRelationship(String, Uri, String) | Adds external relationship. Do not add hyperlink relationships through this method. Use AddHyperlinkRelationship() instead. | |
AddHyperlinkRelationship(Uri, Boolean) | Adds a new hyperlink relationship. | |
AddHyperlinkRelationship(Uri, Boolean, String) | Adds a new hyperlink relationship. | |
AddNewPart<T>() | Adds a new part of type T | |
AddNewPart<T>(String) | Adds a new part of type T | |
AddNewPart<T>(String, String) | Adds a new part of type T. | |
AddPart<T>(T) | Adds the part to the document. Must use the returned part to opertate the part added to the doucment | |
AddPart<T>(T, String) | Adds the part to the document with a given relationship identifier (ID). Must use the returned part to opertate the part added to the doucment | |
Annotation(Type) | Get the first annotation object of the specified type from this PartContainer | |
Annotation<T>() | Get the first annotation object of the specified type from this PartContainer | |
Annotations(Type) | Gets a collection of annotations of the specified type for this PartContainer | |
Annotations<T>() | Gets a collection of annotations of the specified type for this PartContainer | |
ChangeIdOfPart | Changes the relationship ID of the part. | |
CreateRelationshipToPart(OpenXmlPart) | Adds relationship for the specified part to this part. | |
CreateRelationshipToPart(OpenXmlPart, String) | Adds relationship for the specified part to this part. | |
DeleteExternalRelationship(String) | Deletes the sepcified ExternalRelationship. | |
DeleteExternalRelationship(ExternalRelationship) | Deletes the specified external relationship. | |
DeletePart(String) | Deletes the specified child part from this part. | |
DeletePart(OpenXmlPart) | Deletes a specified part in the package root layer. | |
DeleteParts<T> | Deletes all the parts which in the passed in collection from the document. | |
DeleteReferenceRelationship(String) | Deletes the sepcified reference relationship. | |
DeleteReferenceRelationship(ReferenceRelationship) | Deletes the specified reference relationship. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetExternalRelationship | Gets the sepcified ExternalRelationship. | |
GetHashCode | (Inherited from Object.) | |
GetIdOfPart | Gets the relationship ID of the part. | |
GetPartById | Gets the child part through the relationship ID. | |
GetPartsCountOfType<T> | Gets the count of all parts in type T. | |
GetPartsOfType<T>() | Enumerates all the children parts of the specified type "T" of this part. | |
GetPartsOfType<T>(ICollection<T>) | Gets all the children parts of the specified type "T" into "partCollection" of this part. | |
GetReferenceRelationship | Gets the sepcified ReferenceRelationship. | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
RemoveAnnotations(Type) | Removes the annotations of the specified type from this PartContainer | |
RemoveAnnotations<T>() | Removes the annotations of the specified type from this PartContainer | |
ThrowIfObjectDisposed | Test whether the object is already disposed. | |
ToString | (Inherited from Object.) |
Top