MainDocumentPart Properties

Include Protected Members
Include Inherited Members

The MainDocumentPart type exposes the following members.

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 CustomizationPart Gets the CustomizationPart of the MainDocumentPart.
Public property CustomXmlParts Gets the CustomXmlParts of the MainDocumentPart.
Public property DataPartReferenceRelationships Enumerates all DataPartReferenceRelationship relationships. (Inherited from OpenXmlPartContainer.)
Public property DiagramColorsParts Gets the DiagramColorsParts of the MainDocumentPart.
Public property DiagramDataParts Gets the DiagramDataParts of the MainDocumentPart.
Public property DiagramLayoutDefinitionParts Gets the DiagramLayoutDefinitionParts of the MainDocumentPart.
Public property DiagramPersistLayoutParts Gets the DiagramPersistLayoutParts of the MainDocumentPart.
Public property DiagramStyleParts Gets the DiagramStyleParts of the MainDocumentPart.
Public property Document Gets/Sets the root element of this part.
Public property DocumentSettingsPart Gets the DocumentSettingsPart of the MainDocumentPart.
Public property EmbeddedControlPersistenceParts Gets the EmbeddedControlPersistenceParts of the MainDocumentPart.
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 Enumerates all external relationships. Hyperlink relationships are not included, use HyperlinkRelationship property to enumerate hyperlink relationships. (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 HyperlinkRelationships Enumerates all hyperlink relationships. (Inherited from OpenXmlPartContainer.)
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 Enumerates all parts which are relationship targets of this part. (Inherited from OpenXmlPartContainer.)
Public property RelationshipType Gets the RelationshipType. (Overrides OpenXmlPart.RelationshipType.)
Public property RootElement (Inherited from OpenXmlPart.)
Public property StyleDefinitionsPart Gets the StyleDefinitionsPart of the MainDocumentPart.
Public property StylesWithEffectsPart Gets the StylesWithEffectsPart of the MainDocumentPart., only available in Office2010
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 VbaProjectPart Gets the VbaProjectPart of the MainDocumentPart.
Public property WebSettingsPart Gets the WebSettingsPart of the MainDocumentPart.
Public property WordprocessingCommentsPart Gets the WordprocessingCommentsPart of the MainDocumentPart.
Public property WordprocessingPrinterSettingsParts Gets the WordprocessingPrinterSettingsParts of the MainDocumentPart.

Top

See Also

Reference

MainDocumentPart Class

DocumentFormat.OpenXml.Packaging Namespace