共用方式為


Document Converter

Applies to: SharePoint Foundation 2010

Each element manifest file that defines document converters must adhere to the Document Converter Definition Schema.

Following is a list of the elements in the Document Converter Definition Schema. Click the element name for detailed information about that element.

<Elements Element (Document Converter)>

   <DocumentConverter Element (Document Converter)>

Document Converter Definition Schema Example

The following example is the document converter definition file for a custom document converter that converts files of File Type A format to File Type B format.

<?xml version="1.0" encoding="utf-8" ?>
<Elements xmlns="https://schemas.microsoft.com/sharepoint/">
  <DocumentConverter ID="{3f8ae156-93dc-46de-bcb3-0a89416a20b3}"
    Name="FileTypeA to FileTypeB"
    App="FTA2FTB.exe"
    From="fta"
    To="ftb"
    ConverterUIPage="FTA2FTB.aspx"
    ConverterSpecificSettingsUI="FTA2FTBConfig.aspx"
    ConverterSettingsForContentType="FTA2FTBConfig.ascx"
  />
</Elements>

See Also

Reference

Elements Element (Document Converter)

DocumentConverter Element (Document Converter)

Concepts

Using Features in SharePoint Foundation