Document Parser Interface Overview
Applies to: SharePoint Foundation 2010
For a custom document parser to perform document property promotion and demotion in Microsoft SharePoint Foundation, it must implement the following COM interfaces. These interfaces enable the document parser to be invoked by SharePoint Foundation and to send and receive document properties when invoked.
-
Enables a COM object to act as a custom document parser in SharePoint Foundation. Includes the methods that SharePoint Foundation uses to invoke the document parser.
-
Enables a COM object to act as a custom document parser in SharePoint Foundation. Derived from ISPDocumentParser. Includes an enhanced method for extracting a thumbnail image of a document.
-
Used to implement a property bag object that can transmit document properties between a custom document parser and SharePoint Foundation. Includes methods that enable the document parser to access the content type and document library schemas for the specified document.
-
Provides methods for reading and writing values in a property bag object as binary data.
IEnumParserProperties Interface
Used to implement a document property collection. Includes methods the document parser can use to enumerate through the document property collection.
-
Used to implement a single document property. Includes methods for the document parser to get and set the document property value and data type.
For more information about how SharePoint Foundation invokes document parsers, and how those parsers promote and demote document metadata, see Document Property Promotion and Demotion.