MainDocumentPart Members
Include Protected Members
Include Inherited Members
Defines the MainDocumentPart.
The MainDocumentPart type exposes the following members.
Constructors
Name | Description | |
---|---|---|
MainDocumentPart | Construtor of MainDocumentPart |
Top
Properties
Name | Description | |
---|---|---|
AlternativeFormatImportParts | Gets the AlternativeFormatImportParts of the MainDocumentPart. | |
ChartParts | Gets the ChartParts of the MainDocumentPart. | |
ContentType | content type (MIME type) of the content data in the part. (Inherited from OpenXmlPart.) | |
CustomizationPart | Gets the CustomizationPart of the MainDocumentPart. | |
CustomXmlParts | Gets the CustomXmlParts of the MainDocumentPart. | |
DataPartReferenceRelationships | Enumerates all DataPartReferenceRelationship relationships. (Inherited from OpenXmlPartContainer.) | |
DiagramColorsParts | Gets the DiagramColorsParts of the MainDocumentPart. | |
DiagramDataParts | Gets the DiagramDataParts of the MainDocumentPart. | |
DiagramLayoutDefinitionParts | Gets the DiagramLayoutDefinitionParts of the MainDocumentPart. | |
DiagramPersistLayoutParts | Gets the DiagramPersistLayoutParts of the MainDocumentPart. | |
DiagramStyleParts | Gets the DiagramStyleParts of the MainDocumentPart. | |
Document | Gets/Sets the root element of this part. | |
DocumentSettingsPart | Gets the DocumentSettingsPart of the MainDocumentPart. | |
EmbeddedControlPersistenceParts | Gets the EmbeddedControlPersistenceParts of the MainDocumentPart. | |
EmbeddedObjectParts | Gets the EmbeddedObjectParts of the MainDocumentPart. | |
EmbeddedPackageParts | Gets the EmbeddedPackageParts of the MainDocumentPart. | |
EndnotesPart | Gets the EndnotesPart of the MainDocumentPart. | |
ExternalRelationships | Enumerates all external relationships. Hyperlink relationships are not included, use HyperlinkRelationship property to enumerate hyperlink relationships. (Inherited from OpenXmlPartContainer.) | |
FontTablePart | Gets the FontTablePart of the MainDocumentPart. | |
FooterParts | Gets the FooterParts of the MainDocumentPart. | |
FootnotesPart | Gets the FootnotesPart of the MainDocumentPart. | |
GlossaryDocumentPart | Gets the GlossaryDocumentPart of the MainDocumentPart. | |
HeaderParts | Gets the HeaderParts of the MainDocumentPart. | |
HyperlinkRelationships | Enumerates all hyperlink relationships. (Inherited from OpenXmlPartContainer.) | |
ImageParts | Gets the ImageParts of the MainDocumentPart. | |
NumberingDefinitionsPart | Gets the NumberingDefinitionsPart of the MainDocumentPart. | |
OpenXmlPackage | The OpenXmlPackage contains this part (Inherited from OpenXmlPart.) | |
Parts | Enumerates all parts which are relationship targets of this part. (Inherited from OpenXmlPartContainer.) | |
RelationshipType | Gets the RelationshipType. (Overrides OpenXmlPart.RelationshipType.) | |
RootElement | (Inherited from OpenXmlPart.) | |
StyleDefinitionsPart | Gets the StyleDefinitionsPart of the MainDocumentPart. | |
StylesWithEffectsPart | Gets the StylesWithEffectsPart of the MainDocumentPart., only available in Office2010 | |
ThemePart | Gets the ThemePart of the MainDocumentPart. | |
ThumbnailPart | Gets the ThumbnailPart of the MainDocumentPart. | |
Uri | The internal part path in the package (Inherited from OpenXmlPart.) | |
VbaProjectPart | Gets the VbaProjectPart of the MainDocumentPart. | |
WebSettingsPart | Gets the WebSettingsPart of the MainDocumentPart. | |
WordprocessingCommentsPart | Gets the WordprocessingCommentsPart of the MainDocumentPart. | |
WordprocessingPrinterSettingsParts | Gets the WordprocessingPrinterSettingsParts of the MainDocumentPart. |
Top
Methods
Name | Description | |
---|---|---|
AddAlternativeFormatImportPart(String) | Adds a AlternativeFormatImportPart to the MainDocumentPart. | |
AddAlternativeFormatImportPart(AlternativeFormatImportPartType) | Adds a AlternativeFormatImportPart to the MainDocumentPart. | |
AddAlternativeFormatImportPart(String, String) | Adds a AlternativeFormatImportPart to the MainDocumentPart. | |
AddAlternativeFormatImportPart(AlternativeFormatImportPartType, String) | Adds a AlternativeFormatImportPart to the MainDocumentPart. | |
AddAnnotation | Adds an object to the annotation list of this PartContainer (Inherited from OpenXmlPartContainer.) | |
AddCustomXmlPart(String) | Adds a CustomXmlPart to the MainDocumentPart. | |
AddCustomXmlPart(CustomXmlPartType) | Adds a CustomXmlPart to the MainDocumentPart. | |
AddCustomXmlPart(String, String) | Adds a CustomXmlPart to the MainDocumentPart. | |
AddCustomXmlPart(CustomXmlPartType, String) | Adds a CustomXmlPart to the MainDocumentPart. | |
AddEmbeddedControlPersistencePart(String) | Adds a EmbeddedControlPersistencePart to the MainDocumentPart. | |
AddEmbeddedControlPersistencePart(EmbeddedControlPersistencePartType) | Adds a EmbeddedControlPersistencePart to the MainDocumentPart. | |
AddEmbeddedControlPersistencePart(String, String) | Adds a EmbeddedControlPersistencePart to the MainDocumentPart. | |
AddEmbeddedControlPersistencePart(EmbeddedControlPersistencePartType, String) | Adds a EmbeddedControlPersistencePart to the MainDocumentPart. | |
AddEmbeddedObjectPart | Adds a EmbeddedObjectPart to the MainDocumentPart. | |
AddEmbeddedPackagePart | Adds a EmbeddedPackagePart to the MainDocumentPart. | |
AddExtendedPart(String, String, String) | Adds an extended part ( Application specific part ) (Inherited from OpenXmlPartContainer.) | |
AddExtendedPart(String, String, String, String) | Adds an extended part ( Application specific part ) (Inherited from OpenXmlPartContainer.) | |
AddExternalRelationship(String, Uri) | Adds external relationship. Do not add hyperlink relationships through this method. Use AddHyperlinkRelationship() instead. (Inherited from OpenXmlPartContainer.) | |
AddExternalRelationship(String, Uri, String) | Adds external relationship. Do not add hyperlink relationships through this method. Use AddHyperlinkRelationship() instead. (Inherited from OpenXmlPartContainer.) | |
AddHyperlinkRelationship(Uri, Boolean) | Adds a new hyperlink relationship. (Inherited from OpenXmlPartContainer.) | |
AddHyperlinkRelationship(Uri, Boolean, String) | Adds a new hyperlink relationship. (Inherited from OpenXmlPartContainer.) | |
AddImagePart(String) | Adds a ImagePart to the MainDocumentPart. | |
AddImagePart(ImagePartType) | Adds a ImagePart to the MainDocumentPart. | |
AddImagePart(String, String) | Adds a ImagePart to the MainDocumentPart. | |
AddImagePart(ImagePartType, String) | Adds a ImagePart to the MainDocumentPart. | |
AddNewPart<T>() | Adds a new part of type T (Inherited from OpenXmlPartContainer.) | |
AddNewPart<T>(String) | Adds a new part of type T (Inherited from OpenXmlPartContainer.) | |
AddNewPart<T>(String, String) | Adds a new part of type T. (Inherited from OpenXmlPartContainer.) | |
AddPart<T>(T) | Adds the part to the document. Must use the returned part to opertate the part added to the doucment (Inherited from OpenXmlPartContainer.) | |
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 (Inherited from OpenXmlPartContainer.) | |
AddThumbnailPart(String) | Adds a ThumbnailPart to the MainDocumentPart. | |
AddThumbnailPart(ThumbnailPartType) | Adds a ThumbnailPart to the MainDocumentPart. | |
AddThumbnailPart(String, String) | Adds a ThumbnailPart to the MainDocumentPart. | |
AddThumbnailPart(ThumbnailPartType, String) | Adds a ThumbnailPart to the MainDocumentPart. | |
AddVideoReferenceRelationship(MediaDataPart) | Adds a new VideoReferenceRelationship to the specified MediaDataPart. | |
AddVideoReferenceRelationship(MediaDataPart, String) | Adds a new VideoReferenceRelationship to the specified MediaDataPart. | |
Annotation(Type) | Get the first annotation object of the specified type from this PartContainer (Inherited from OpenXmlPartContainer.) | |
Annotation<T>() | Get the first annotation object of the specified type from this PartContainer (Inherited from OpenXmlPartContainer.) | |
Annotations(Type) | Gets a collection of annotations of the specified type for this PartContainer (Inherited from OpenXmlPartContainer.) | |
Annotations<T>() | Gets a collection of annotations of the specified type for this PartContainer (Inherited from OpenXmlPartContainer.) | |
ChangeIdOfPart | Changes the relationship ID of the part. (Inherited from OpenXmlPartContainer.) | |
CreateRelationshipToPart(OpenXmlPart) | Adds relationship for the specified part to this part. (Inherited from OpenXmlPartContainer.) | |
CreateRelationshipToPart(OpenXmlPart, String) | Adds relationship for the specified part to this part. (Inherited from OpenXmlPartContainer.) | |
DeleteExternalRelationship(String) | Deletes the sepcified ExternalRelationship. (Inherited from OpenXmlPartContainer.) | |
DeleteExternalRelationship(ExternalRelationship) | Deletes the specified external relationship. (Inherited from OpenXmlPartContainer.) | |
DeletePart(String) | Deletes the specified child part from this part. (Inherited from OpenXmlPartContainer.) | |
DeletePart(OpenXmlPart) | Deletes a specified part in the package root layer. (Inherited from OpenXmlPartContainer.) | |
DeleteParts<T> | Deletes all the parts which in the passed in collection from the document. (Inherited from OpenXmlPartContainer.) | |
DeleteReferenceRelationship(String) | Deletes the sepcified reference relationship. (Inherited from OpenXmlPartContainer.) | |
DeleteReferenceRelationship(ReferenceRelationship) | Deletes the specified reference relationship. (Inherited from OpenXmlPartContainer.) | |
Equals | (Inherited from Object.) | |
FeedData | Feed data into the part stream. The stream of the part will be truncated at first. (Inherited from OpenXmlPart.) | |
Finalize | (Inherited from Object.) | |
GetExternalRelationship | Gets the sepcified ExternalRelationship. (Inherited from OpenXmlPartContainer.) | |
GetHashCode | (Inherited from Object.) | |
GetIdOfPart | Gets the relationship ID of the part. (Inherited from OpenXmlPartContainer.) | |
GetParentParts | Enum all parents that reference this part anywhere in the document. (Inherited from OpenXmlPart.) | |
GetPartById | Gets the child part through the relationship ID. (Inherited from OpenXmlPartContainer.) | |
GetPartsCountOfType<T> | Gets the count of all parts in type T. (Inherited from OpenXmlPartContainer.) | |
GetPartsOfType<T>() | Enumerates all the children parts of the specified type "T" of this part. (Inherited from OpenXmlPartContainer.) | |
GetPartsOfType<T>(ICollection<T>) | Gets all the children parts of the specified type "T" into "partCollection" of this part. (Inherited from OpenXmlPartContainer.) | |
GetReferenceRelationship | Gets the sepcified ReferenceRelationship. (Inherited from OpenXmlPartContainer.) | |
GetStream() | Returns the part content data stream. (Inherited from OpenXmlPart.) | |
GetStream(FileMode) | Returns the content stream opened in a specified I/O FileMode. (Inherited from OpenXmlPart.) | |
GetStream(FileMode, FileAccess) | Returns the part content stream opened with a specified FileMode and FileAccess. (Inherited from OpenXmlPart.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
RemoveAnnotations(Type) | Removes the annotations of the specified type from this PartContainer (Inherited from OpenXmlPartContainer.) | |
RemoveAnnotations<T>() | Removes the annotations of the specified type from this PartContainer (Inherited from OpenXmlPartContainer.) | |
ThrowIfObjectDisposed | Test whether the object is already disposed. (Inherited from OpenXmlPart.) | |
ToString | (Inherited from Object.) | |
ValidateXml(String, ValidationEventHandler) | Obsolete. Validate the xml content of the part according the specified schema. (Inherited from OpenXmlPart.) | |
ValidateXml(XmlSchemaSet, ValidationEventHandler) | Obsolete. Validate the xml content of the part according the specified schema. (Inherited from OpenXmlPart.) |
Top