Skip to main content

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

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 Format Dictionary Key Destination Format Dictionary 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