Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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 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