Freigeben über


MainDocumentPart-Member

Geschützte Member einschließen
Geerbte Member einschließen

Defines the MainDocumentPart.

Vom MainDocumentPart-Typ werden die folgenden Member offengelegt.

Konstruktoren

  Name Beschreibung
Geschützte Methode MainDocumentPart Construtor of MainDocumentPart

Nach oben

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft AlternativeFormatImportParts Gets the AlternativeFormatImportParts of the MainDocumentPart.
Öffentliche Eigenschaft ChartParts Gets the ChartParts of the MainDocumentPart.
Öffentliche Eigenschaft ContentType content type (MIME type) of the content data in the part. (Geerbt von OpenXmlPart.)
Öffentliche Eigenschaft CustomizationPart Gets the CustomizationPart of the MainDocumentPart.
Öffentliche Eigenschaft CustomXmlParts Gets the CustomXmlParts of the MainDocumentPart.
Öffentliche Eigenschaft DataPartReferenceRelationships Enumerates all DataPartReferenceRelationship relationships. (Geerbt von OpenXmlPartContainer.)
Öffentliche Eigenschaft DiagramColorsParts Gets the DiagramColorsParts of the MainDocumentPart.
Öffentliche Eigenschaft DiagramDataParts Gets the DiagramDataParts of the MainDocumentPart.
Öffentliche Eigenschaft DiagramLayoutDefinitionParts Gets the DiagramLayoutDefinitionParts of the MainDocumentPart.
Öffentliche Eigenschaft DiagramPersistLayoutParts Gets the DiagramPersistLayoutParts of the MainDocumentPart.
Öffentliche Eigenschaft DiagramStyleParts Gets the DiagramStyleParts of the MainDocumentPart.
Öffentliche Eigenschaft Document Gets/Sets the root element of this part.
Öffentliche Eigenschaft DocumentSettingsPart Gets the DocumentSettingsPart of the MainDocumentPart.
Öffentliche Eigenschaft EmbeddedControlPersistenceParts Gets the EmbeddedControlPersistenceParts of the MainDocumentPart.
Öffentliche Eigenschaft EmbeddedObjectParts Gets the EmbeddedObjectParts of the MainDocumentPart.
Öffentliche Eigenschaft EmbeddedPackageParts Gets the EmbeddedPackageParts of the MainDocumentPart.
Öffentliche Eigenschaft EndnotesPart Gets the EndnotesPart of the MainDocumentPart.
Öffentliche Eigenschaft ExternalRelationships Enumerates all external relationships. Hyperlink relationships are not included, use HyperlinkRelationship property to enumerate hyperlink relationships. (Geerbt von OpenXmlPartContainer.)
Öffentliche Eigenschaft FontTablePart Gets the FontTablePart of the MainDocumentPart.
Öffentliche Eigenschaft FooterParts Gets the FooterParts of the MainDocumentPart.
Öffentliche Eigenschaft FootnotesPart Gets the FootnotesPart of the MainDocumentPart.
Öffentliche Eigenschaft GlossaryDocumentPart Gets the GlossaryDocumentPart of the MainDocumentPart.
Öffentliche Eigenschaft HeaderParts Gets the HeaderParts of the MainDocumentPart.
Öffentliche Eigenschaft HyperlinkRelationships Enumerates all hyperlink relationships. (Geerbt von OpenXmlPartContainer.)
Öffentliche Eigenschaft ImageParts Gets the ImageParts of the MainDocumentPart.
Öffentliche Eigenschaft NumberingDefinitionsPart Gets the NumberingDefinitionsPart of the MainDocumentPart.
Öffentliche Eigenschaft OpenXmlPackage The OpenXmlPackage contains this part (Geerbt von OpenXmlPart.)
Öffentliche Eigenschaft Parts Enumerates all parts which are relationship targets of this part. (Geerbt von OpenXmlPartContainer.)
Öffentliche Eigenschaft RelationshipType Gets the RelationshipType. (Setzt OpenXmlPart.RelationshipType außer Kraft.)
Öffentliche Eigenschaft RootElement (Geerbt von OpenXmlPart.)
Öffentliche Eigenschaft StyleDefinitionsPart Gets the StyleDefinitionsPart of the MainDocumentPart.
Öffentliche Eigenschaft StylesWithEffectsPart Gets the StylesWithEffectsPart of the MainDocumentPart., only available in Office2010
Öffentliche Eigenschaft ThemePart Gets the ThemePart of the MainDocumentPart.
Öffentliche Eigenschaft ThumbnailPart Gets the ThumbnailPart of the MainDocumentPart.
Öffentliche Eigenschaft Uri The internal part path in the package (Geerbt von OpenXmlPart.)
Öffentliche Eigenschaft VbaProjectPart Gets the VbaProjectPart of the MainDocumentPart.
Öffentliche Eigenschaft WebSettingsPart Gets the WebSettingsPart of the MainDocumentPart.
Öffentliche Eigenschaft WordprocessingCommentsPart Gets the WordprocessingCommentsPart of the MainDocumentPart.
Öffentliche Eigenschaft WordprocessingPrinterSettingsParts Gets the WordprocessingPrinterSettingsParts of the MainDocumentPart.

Nach oben

Methoden

  Name Beschreibung
Öffentliche Methode AddAlternativeFormatImportPart(String) Adds a AlternativeFormatImportPart to the MainDocumentPart.
Öffentliche Methode AddAlternativeFormatImportPart(AlternativeFormatImportPartType) Adds a AlternativeFormatImportPart to the MainDocumentPart.
Öffentliche Methode AddAlternativeFormatImportPart(String, String) Adds a AlternativeFormatImportPart to the MainDocumentPart.
Öffentliche Methode AddAlternativeFormatImportPart(AlternativeFormatImportPartType, String) Adds a AlternativeFormatImportPart to the MainDocumentPart.
Öffentliche Methode AddAnnotation Adds an object to the annotation list of this PartContainer (Geerbt von OpenXmlPartContainer.)
Öffentliche Methode AddCustomXmlPart(String) Adds a CustomXmlPart to the MainDocumentPart.
Öffentliche Methode AddCustomXmlPart(CustomXmlPartType) Adds a CustomXmlPart to the MainDocumentPart.
Öffentliche Methode AddCustomXmlPart(String, String) Adds a CustomXmlPart to the MainDocumentPart.
Öffentliche Methode AddCustomXmlPart(CustomXmlPartType, String) Adds a CustomXmlPart to the MainDocumentPart.
Öffentliche Methode AddEmbeddedControlPersistencePart(String) Adds a EmbeddedControlPersistencePart to the MainDocumentPart.
Öffentliche Methode AddEmbeddedControlPersistencePart(EmbeddedControlPersistencePartType) Adds a EmbeddedControlPersistencePart to the MainDocumentPart.
Öffentliche Methode AddEmbeddedControlPersistencePart(String, String) Adds a EmbeddedControlPersistencePart to the MainDocumentPart.
Öffentliche Methode AddEmbeddedControlPersistencePart(EmbeddedControlPersistencePartType, String) Adds a EmbeddedControlPersistencePart to the MainDocumentPart.
Öffentliche Methode AddEmbeddedObjectPart Adds a EmbeddedObjectPart to the MainDocumentPart.
Öffentliche Methode AddEmbeddedPackagePart Adds a EmbeddedPackagePart to the MainDocumentPart.
Öffentliche Methode AddExtendedPart(String, String, String) Adds an extended part ( Application specific part ) (Geerbt von OpenXmlPartContainer.)
Öffentliche Methode AddExtendedPart(String, String, String, String) Adds an extended part ( Application specific part ) (Geerbt von OpenXmlPartContainer.)
Öffentliche Methode AddExternalRelationship(String, Uri) Adds external relationship. Do not add hyperlink relationships through this method. Use AddHyperlinkRelationship() instead. (Geerbt von OpenXmlPartContainer.)
Öffentliche Methode AddExternalRelationship(String, Uri, String) Adds external relationship. Do not add hyperlink relationships through this method. Use AddHyperlinkRelationship() instead. (Geerbt von OpenXmlPartContainer.)
Öffentliche Methode AddHyperlinkRelationship(Uri, Boolean) Adds a new hyperlink relationship. (Geerbt von OpenXmlPartContainer.)
Öffentliche Methode AddHyperlinkRelationship(Uri, Boolean, String) Adds a new hyperlink relationship. (Geerbt von OpenXmlPartContainer.)
Öffentliche Methode AddImagePart(String) Adds a ImagePart to the MainDocumentPart.
Öffentliche Methode AddImagePart(ImagePartType) Adds a ImagePart to the MainDocumentPart.
Öffentliche Methode AddImagePart(String, String) Adds a ImagePart to the MainDocumentPart.
Öffentliche Methode AddImagePart(ImagePartType, String) Adds a ImagePart to the MainDocumentPart.
Öffentliche Methode AddNewPart<T>() Adds a new part of type T (Geerbt von OpenXmlPartContainer.)
Öffentliche Methode AddNewPart<T>(String) Adds a new part of type T (Geerbt von OpenXmlPartContainer.)
Öffentliche Methode AddNewPart<T>(String, String) Adds a new part of type T. (Geerbt von OpenXmlPartContainer.)
Öffentliche Methode AddPart<T>(T) Adds the part to the document. Must use the returned part to opertate the part added to the doucment (Geerbt von OpenXmlPartContainer.)
Öffentliche Methode 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 (Geerbt von OpenXmlPartContainer.)
Öffentliche Methode AddThumbnailPart(String) Adds a ThumbnailPart to the MainDocumentPart.
Öffentliche Methode AddThumbnailPart(ThumbnailPartType) Adds a ThumbnailPart to the MainDocumentPart.
Öffentliche Methode AddThumbnailPart(String, String) Adds a ThumbnailPart to the MainDocumentPart.
Öffentliche Methode AddThumbnailPart(ThumbnailPartType, String) Adds a ThumbnailPart to the MainDocumentPart.
Öffentliche Methode AddVideoReferenceRelationship(MediaDataPart) Adds a new VideoReferenceRelationship to the specified MediaDataPart.
Öffentliche Methode AddVideoReferenceRelationship(MediaDataPart, String) Adds a new VideoReferenceRelationship to the specified MediaDataPart.
Öffentliche Methode Annotation(Type) Get the first annotation object of the specified type from this PartContainer (Geerbt von OpenXmlPartContainer.)
Öffentliche Methode Annotation<T>() Get the first annotation object of the specified type from this PartContainer (Geerbt von OpenXmlPartContainer.)
Öffentliche Methode Annotations(Type) Gets a collection of annotations of the specified type for this PartContainer (Geerbt von OpenXmlPartContainer.)
Öffentliche Methode Annotations<T>() Gets a collection of annotations of the specified type for this PartContainer (Geerbt von OpenXmlPartContainer.)
Öffentliche Methode ChangeIdOfPart Changes the relationship ID of the part. (Geerbt von OpenXmlPartContainer.)
Öffentliche Methode CreateRelationshipToPart(OpenXmlPart) Adds relationship for the specified part to this part. (Geerbt von OpenXmlPartContainer.)
Öffentliche Methode CreateRelationshipToPart(OpenXmlPart, String) Adds relationship for the specified part to this part. (Geerbt von OpenXmlPartContainer.)
Öffentliche Methode DeleteExternalRelationship(String) Deletes the sepcified ExternalRelationship. (Geerbt von OpenXmlPartContainer.)
Öffentliche Methode DeleteExternalRelationship(ExternalRelationship) Deletes the specified external relationship. (Geerbt von OpenXmlPartContainer.)
Öffentliche Methode DeletePart(String) Deletes the specified child part from this part. (Geerbt von OpenXmlPartContainer.)
Öffentliche Methode DeletePart(OpenXmlPart) Deletes a specified part in the package root layer. (Geerbt von OpenXmlPartContainer.)
Öffentliche Methode DeleteParts<T> Deletes all the parts which in the passed in collection from the document. (Geerbt von OpenXmlPartContainer.)
Öffentliche Methode DeleteReferenceRelationship(String) Deletes the sepcified reference relationship. (Geerbt von OpenXmlPartContainer.)
Öffentliche Methode DeleteReferenceRelationship(ReferenceRelationship) Deletes the specified reference relationship. (Geerbt von OpenXmlPartContainer.)
Öffentliche Methode Equals (Geerbt von Object.)
Öffentliche Methode FeedData Feed data into the part stream. The stream of the part will be truncated at first. (Geerbt von OpenXmlPart.)
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode GetExternalRelationship Gets the sepcified ExternalRelationship. (Geerbt von OpenXmlPartContainer.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetIdOfPart Gets the relationship ID of the part. (Geerbt von OpenXmlPartContainer.)
Öffentliche Methode GetParentParts Enum all parents that reference this part anywhere in the document. (Geerbt von OpenXmlPart.)
Öffentliche Methode GetPartById Gets the child part through the relationship ID. (Geerbt von OpenXmlPartContainer.)
Öffentliche Methode GetPartsCountOfType<T> Gets the count of all parts in type T. (Geerbt von OpenXmlPartContainer.)
Öffentliche Methode GetPartsOfType<T>() Enumerates all the children parts of the specified type "T" of this part. (Geerbt von OpenXmlPartContainer.)
Öffentliche Methode GetPartsOfType<T>(ICollection<T>) Gets all the children parts of the specified type "T" into "partCollection" of this part. (Geerbt von OpenXmlPartContainer.)
Öffentliche Methode GetReferenceRelationship Gets the sepcified ReferenceRelationship. (Geerbt von OpenXmlPartContainer.)
Öffentliche Methode GetStream() Returns the part content data stream. (Geerbt von OpenXmlPart.)
Öffentliche Methode GetStream(FileMode) Returns the content stream opened in a specified I/O FileMode. (Geerbt von OpenXmlPart.)
Öffentliche Methode GetStream(FileMode, FileAccess) Returns the part content stream opened with a specified FileMode and FileAccess. (Geerbt von OpenXmlPart.)
Öffentliche Methode GetType (Geerbt von Object.)
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Öffentliche Methode RemoveAnnotations(Type) Removes the annotations of the specified type from this PartContainer (Geerbt von OpenXmlPartContainer.)
Öffentliche Methode RemoveAnnotations<T>() Removes the annotations of the specified type from this PartContainer (Geerbt von OpenXmlPartContainer.)
Geschützte Methode ThrowIfObjectDisposed Test whether the object is already disposed. (Geerbt von OpenXmlPart.)
Öffentliche Methode ToString (Geerbt von Object.)
Öffentliche Methode ValidateXml(String, ValidationEventHandler) Veraltet. Validate the xml content of the part according the specified schema. (Geerbt von OpenXmlPart.)
Öffentliche Methode ValidateXml(XmlSchemaSet, ValidationEventHandler) Veraltet. Validate the xml content of the part according the specified schema. (Geerbt von OpenXmlPart.)

Nach oben

Siehe auch

Referenz

MainDocumentPart Klasse

DocumentFormat.OpenXml.Packaging-Namespace