Freigeben über


StylesPart-Member

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

Defines StylesPart. The StylesPart served as the base class of StylesWithEffectsPart and StyleDefinitionsPart.

Vom StylesPart-Typ werden die folgenden Member offengelegt.

Konstruktoren

  Name Beschreibung
Geschützte Methode StylesPart

Nach oben

Eigenschaften

  Name Beschreibung
Öffentliche Eigenschaft ContentType content type (MIME type) of the content data in the part. (Geerbt von OpenXmlPart.)
Öffentliche Eigenschaft DataPartReferenceRelationships Enumerates all DataPartReferenceRelationship relationships. (Geerbt von OpenXmlPartContainer.)
Öffentliche Eigenschaft ExternalRelationships Enumerates all external relationships. Hyperlink relationships are not included, use HyperlinkRelationship property to enumerate hyperlink relationships. (Geerbt von OpenXmlPartContainer.)
Öffentliche Eigenschaft HyperlinkRelationships Enumerates all hyperlink relationships. (Geerbt von OpenXmlPartContainer.)
Ö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 The relationship type of the part. (Geerbt von OpenXmlPart.)
Öffentliche Eigenschaft RootElement (Geerbt von OpenXmlPart.)
Öffentliche Eigenschaft Styles Gets/Sets the root element of this part.
Öffentliche Eigenschaft Uri The internal part path in the package (Geerbt von OpenXmlPart.)

Nach oben

Methoden

  Name Beschreibung
Öffentliche Methode AddAnnotation Adds an object to the annotation list of this PartContainer (Geerbt von OpenXmlPartContainer.)
Ö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 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 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

StylesPart Klasse

DocumentFormat.OpenXml.Packaging-Namespace