Share via


MainDocumentPart Members (Microsoft.Office.DocumentFormat.OpenXml.Packaging)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

MainDocumentPart

The following tables list the members exposed by the MainDocumentPart type.

Protected Constructors

  Name Description
Protected method MainDocumentPart Construtor of MainDocumentPart

Top

Protected Fields

  Name Description
Protected field Static RelationshipTypeConstant The fixed value of the RelationshipType
Protected field Static TargetNameConstant The fixed value of the TargetName
Protected field Static TargetPathConstant The fixed value of the TargetPath

Top

Public Properties

(see also Protected Properties )

  Name Description
Public property AlternativeFormatImportParts Gets the AlternativeFormatImportParts of the MainDocumentPart
Public property ChartParts Gets the ChartParts of the MainDocumentPart
Public property ContentType  Content type (MIME type) of the content data in the part. (inherited from OpenXmlPart)
Public property CustomXmlParts Gets the CustomXmlParts of the MainDocumentPart
Public property DiagramColorsParts Gets the DiagramColorsParts of the MainDocumentPart
Public property DiagramDataParts Gets the DiagramDataParts of the MainDocumentPart
Public property DiagramLayoutDefinitionParts  
Public property DiagramStyleParts Gets the DiagramStyleParts of the MainDocumentPart
Public property DocumentSettingsPart Gets the DocumentSettingsPart of the MainDocumentPart
Public property EmbeddedControlPersistenceParts  
Public property EmbeddedObjectParts Gets the EmbeddedObjectParts of the MainDocumentPart
Public property EmbeddedPackageParts Gets the EmbeddedPackageParts of the MainDocumentPart
Public property EndnotesPart Gets the EndnotesPart of the MainDocumentPart
Public property ExternalRelationships  (inherited from OpenXmlPartContainer)
Public property FontTablePart Gets the FontTablePart of the MainDocumentPart
Public property FooterParts Gets the FooterParts of the MainDocumentPart
Public property FootnotesPart Gets the FootnotesPart of the MainDocumentPart
Public property GlossaryDocumentPart Gets the GlossaryDocumentPart of the MainDocumentPart
Public property HeaderParts Gets the HeaderParts of the MainDocumentPart
Public property ImageParts Gets the ImageParts of the MainDocumentPart
Public property NumberingDefinitionsPart Gets the NumberingDefinitionsPart of the MainDocumentPart
Public property OpenXmlPackage  The OpenXmlPackage contains this part. (inherited from OpenXmlPart)
Public property Parts  Enum all parts which are relationship targets of this part. (inherited from OpenXmlPartContainer)
Public property RelationshipType Overridden. Gets the RelationshipType
Public property StyleDefinitionsPart Gets the StyleDefinitionsPart of the MainDocumentPart
Public property ThemePart Gets the ThemePart of the MainDocumentPart
Public property ThumbnailPart Gets the ThumbnailPart of the MainDocumentPart
Public property Uri  The internal part path in the package. (inherited from OpenXmlPart)
Public property VideoParts Gets the VideoParts of the MainDocumentPart
Public property WebSettingsPart Gets the WebSettingsPart of the MainDocumentPart
Public property WordprocessingCommentsPart  
Public property WordprocessingPrinterSettingsParts Gets the WordprocessingPrinterSettingsParts of the MainDocumentPart

Top

Protected Properties

  Name Description
Protected property TargetFileExtension  (inherited from OpenXmlPart)
Protected property TargetName Overridden. Gets the TargetName
Protected property TargetPath Overridden. Gets the TargetPath

Top

Public Methods

(see also Protected Methods )

  Name Description
Public method AddAlternativeFormatImportPart Overloaded.  
Public method AddAnnotation  (inherited from OpenXmlPartContainer)
Public method AddEmbeddedControlPersistencePart Overloaded.  
Public method AddEmbeddedObjectPart Add a EmbeddedObjectPart to the MainDocumentPart
Public method AddEmbeddedPackagePart Add a EmbeddedPackagePart to the MainDocumentPart
Public method AddExtendedPart  Overloaded. (inherited from OpenXmlPartContainer)
Public method AddExternalRelationship  Overloaded. (inherited from OpenXmlPartContainer)
Public method AddImagePart Overloaded.  
Public method AddNewPart  Overloaded. (inherited from OpenXmlPartContainer)
Public method AddPart  Overloaded. (inherited from OpenXmlPartContainer)
Public method AddThumbnailPart Overloaded.  
Public method AddVideoPart Overloaded.  
Public method Annotation  Overloaded. (inherited from OpenXmlPartContainer)
Public method Annotations  Overloaded. (inherited from OpenXmlPartContainer)
Public method DeleteExternalRelationship  (inherited from OpenXmlPartContainer)
Public method DeletePart  Overloaded. (inherited from OpenXmlPartContainer)
Public method DeleteParts  (inherited from OpenXmlPartContainer)
Public method Equals  Overloaded. (inherited from Object)
Public method FeedData  (inherited from OpenXmlPart)
Public method GetHashCode  (inherited from Object)
Public method GetIdOfPart  (inherited from OpenXmlPartContainer)
Public method GetParentParts  (inherited from OpenXmlPart)
Public method GetPartById  (inherited from OpenXmlPartContainer)
Public method GetPartsCountOfType  (inherited from OpenXmlPartContainer)
Public method GetPartsOfType  Overloaded. (inherited from OpenXmlPartContainer)
Public method GetStream  Overloaded. Returns the part content data stream. (inherited from OpenXmlPart)
Public method GetType  (inherited from Object)
Public method Static ReferenceEquals  (inherited from Object)
Public method RemoveAnnotations  Overloaded. (inherited from OpenXmlPartContainer)
Public method ToString  (inherited from Object)
Public method ValidateXml  (inherited from OpenXmlPart)

Top

Protected Methods

  Name Description
Protected method Finalize  (inherited from Object)
Protected method MemberwiseClone  (inherited from Object)
Protected method ThrowIfObjectDisposed  Test whether the object is already disposed. (inherited from OpenXmlPart)

Top

See Also

Reference

MainDocumentPart Class
Microsoft.Office.DocumentFormat.OpenXml.Packaging Namespace