Back to Devexpress

TdxCloudStorageGoogleDriveProvider.DefaultExtensionToMIMETypeDictionary Property

vcl-dxcloudstoragegoogledriveprovider-dot-tdxcloudstoragegoogledriveprovider-ed3b9dca.md

latest2.4 KB
Original Source

TdxCloudStorageGoogleDriveProvider.DefaultExtensionToMIMETypeDictionary Property

Provides access to the dictionary populated with filename extensions and the corresponding multipurpose internet mail extension (MIME) content types of Google Document formats.

Declaration

delphi
class property DefaultExtensionToMIMETypeDictionary: TdxStringsDictionary read;

Property Value

Type
TdxStringsDictionary

Remarks

The DefaultMIMETypeToExtensionDictionary and DefaultExtensionToMIMETypeDictionary class properties define how the Google Drive provider converts MIME content types to filename extensions and vice versa.

The DefaultExtensionToMIMETypeDictionary dictionary is automatically populated on loading the dxCloudStorageGoogleDriveProvider unit with the following key – value pairs:

Source FormatDictionary KeyDestination FormatDictionary Value
DOCX (Office Open XML Document)‘application/vnd.google-apps.document’Google Docs‘.docx’
XLSX (Office Open XML Workbook)‘application/vnd.google-apps.spreadsheet’Google Sheets‘.xlsx’
PDF (Portable Document Format)‘application/pdf’PDF (Portable Document Format)‘.pdf’

See Also

TdxCloudStorageGoogleDriveProvider.DefaultMIMETypeExportTypeDictionary

TdxCloudStorageProvider.RegistryExtensionToMIMEType

TdxCloudStorageGoogleDriveProvider Class

TdxCloudStorageGoogleDriveProvider Members

dxCloudStorageGoogleDriveProvider Unit