WordProcessingInspectionPackage Class |
Namespace: GroupDocs.Metadata.Formats.Document
The WordProcessingInspectionPackage type exposes the following members.
Name | Description | |
---|---|---|
![]() | Comments |
Gets an array of the user comments.
|
![]() | Count |
Gets the number of metadata properties.
(Inherited from MetadataPackage.) |
![]() | DigitalSignatures |
Gets an array of digital signatures presented in the document.
|
![]() | Fields |
Gets an array of document fields.
|
![]() | HiddenText |
Gets an array of hidden text fragments extracted from the document.
|
![]() | Item |
Gets the MetadataProperty with the specified name.
(Inherited from MetadataPackage.) |
![]() | Keys |
Gets a collection of the metadata property names.
(Inherited from MetadataPackage.) |
![]() | KnowPropertyDescriptors | Obsolete.
Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine.
(Inherited from MetadataPackage.) |
![]() | MetadataType |
Gets the metadata type.
(Inherited from MetadataPackage.) |
![]() | PropertyDescriptors |
Gets a collection of descriptors that contain information about properties accessible through the GroupDocs.Metadata search engine.
(Inherited from MetadataPackage.) |
![]() | Revisions |
Gets an array of digital signatures presented in the document.
|
Name | Description | |
---|---|---|
![]() | AcceptAllRevisions |
Accepts all detected revisions in the document.
|
![]() | AddProperties |
Adds known metadata properties satisfying the specified predicate.
The operation is recursive so it affects all nested packages as well.
(Inherited from MetadataPackage.) |
![]() | ClearComments |
Removes all detected user comments from the document.
|
![]() | ClearFields |
Removes all detected fields from the document.
|
![]() | ClearHiddenText |
Removes all hidden text fragments from the document.
|
![]() | Contains |
Determines whether the package contains a metadata property with the specified name.
(Inherited from MetadataPackage.) |
![]() | Equals | (Inherited from Object.) |
![]() | FindProperties |
Finds the metadata properties satisfying the specified predicate.
The search is recursive so it affects all nested packages as well.
(Inherited from MetadataPackage.) |
![]() | GetEnumerator |
Returns an enumerator that iterates through the collection.
(Inherited from MetadataPackage.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | RejectAllRevisions |
Rejects all detected revisions in the document.
|
![]() | RemoveProperties |
Removes metadata properties satisfying the specified predicate.
(Overrides MetadataPackageRemoveProperties(FuncMetadataProperty, Boolean).) |
![]() | Sanitize |
Removes writable metadata properties from the package.
The operation is recursive so it affects all nested packages as well.
(Overrides MetadataPackageSanitize.) |
![]() | SetProperties |
Sets known metadata properties satisfying the specified predicate.
The operation is recursive so it affects all nested packages as well.
This method is a combination of AddProperties(FuncMetadataProperty, Boolean, PropertyValue) and UpdateProperties(FuncMetadataProperty, Boolean, PropertyValue).
If an existing property satisfies the predicate its value is updated.
If there is a known property missing in the package that satisfies the predicate it is added to the package.
(Inherited from MetadataPackage.) |
![]() | ToString | (Inherited from Object.) |
![]() | UpdateProperties |
Updates known metadata properties satisfying the specified predicate.
The operation is recursive so it affects all nested packages as well.
(Inherited from MetadataPackage.) |
using (Metadata metadata = new Metadata(Constants.InputDoc)) { var root = metadata.GetRootPackage<WordProcessingRootPackage>(); root.InspectionPackage.ClearComments(); root.InspectionPackage.AcceptAllRevisions(); root.InspectionPackage.ClearFields(); root.InspectionPackage.ClearHiddenText(); metadata.Save(Constants.OutputDoc); }