Hi,
I am trying to upload a PDF file with Google Docs API. But I got error
saying it is a wrong format.
Here is a list of format from Google's DocumentsService class. And PDF
is on the list (although it is on the bottom : ) ).
GDocumentsAllowedTypes.Add("CSV", "text/csv");
GDocumentsAllowedTypes.Add("TAB", "text/tab-separated-
values");
GDocumentsAllowedTypes.Add("TSV", "text/tab-separated-
values");
GDocumentsAllowedTypes.Add("TXT", "text/plain");
GDocumentsAllowedTypes.Add("HTML", "text/html");
GDocumentsAllowedTypes.Add("HTM", "text/html");
GDocumentsAllowedTypes.Add("DOC", "application/msword");
GDocumentsAllowedTypes.Add("ODS", "application/x-
vnd.oasis.opendocument.spreadsheet");
GDocumentsAllowedTypes.Add("ODT", "application/
vnd.oasis.opendocument.text");
GDocumentsAllowedTypes.Add("RTF", "application/rtf");
GDocumentsAllowedTypes.Add("SXW", "application/
vnd.sun.xml.writer");
GDocumentsAllowedTypes.Add("XLS", "application/vnd.ms-
excel");
GDocumentsAllowedTypes.Add("PPT", "application/vnd.ms-
powerpoint");
GDocumentsAllowedTypes.Add("PPS", "application/vnd.ms-
powerpoint");
GDocumentsAllowedTypes.Add("PDF", "application/pdf");
Which format does Google Docs support?
Thanks,
Jack
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google Docs Data APIs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-Docs-Data-APIs?hl=en
-~----------~----~----~----~------~----~------~--~---