I have a problem with google doc viewer for display xls file get from my server.
Currently when i try to display my xls file get from my server in my android app with a webview, i have a grey page with no preview available(I can download the xls from my server with the url).
Sorry, I could not share link but It's like xxxx.com/123/DownloadExcel_GET?paraOne=%s¶Two=%s¶Three=%s.
But when i try with xls exemple file in internet like http://lecompagnon.info/demos/demoxl3.xls , i don't have this problem. The xls is display succesfully.
Same it's working if i try with a googleDrive url like 'drive.google.com/file/t/myfile/view?usp=sharing'.
The only difference with the exemple file in internet and my file from my server, is the time to start the download. With the exemple file is instant, but with my xls i have to wait more than 10sec to start the download.
I think google doc viewer return no preview available, because for him 10sec to get the file is too long and he return a time out. But it's a supposition..
I found nothing about this problem, only this topic Google Document Viewer shows 'No Preview Available' .
Remote access to hyper-v manager software. Here is my code :
editI add more information.The grey page with no preview available not always showing, sometimes my xls file is display successfully the first time.
If i have the grey page, i can refresh, and after one or two refresh, the file is display. The refresh just call again the url in the webview
The file is dynamically create and generated from the serveur, this is why for download or get the file i must wait 10 sec.
Do Google doc viewer have a timeout if the time to get the file to display is too long ?
Community♦
SlaschSlasch
16011 gold badge44 silver badges1515 bronze badges
Is this question similar to what you get asked at work? Learn more about asking and sharing private information with your coworkers using Stack Overflow for Teams.
Browse other questions tagged androidexcelgoogle-docsgoogle-docs-apigoogle-document-viewer or ask your own question.
Both Microsoft Office and Google Docs are widely used software for creating spreadsheets and documents. Both the software has its own pros and cons, and the choice between the two software is mostly depended on your type of work and usage. Microsoft Office files like Word and Excel sheets are widely used because of its powerful formatting tools and advanced formatting features which are quintessential to create professional documents.
While the Microsoft Office requires you to be an Office 365 subscriber, Google Docs and Google Sheets, on the other hand, are available to use for absolutely free of cost. Although the word processing ability of Google docs is not feature-rich like Microsoft Office, Google Docs is excellent when it comes to availability which provides you with the ability to edit documents online, while you are away from the desktop. Moreover, unlike Office files, Google docs can open any other file formats.
If you are looking out to import Microsoft Office files into Google’s productivity suite, then you are in the right place. It is possible to convert Microsoft Office files like Word documents, Excel sheets, and PowerPoint into Google docs, Google sheets and Google slides respectively using Google Drive.
The very advantage of Google Drive is that it allows you to upload any type of files in the Google Docs. This is extremely useful if you are using web-based Operating system which does not support Windows software. In such a case, Google Drive can be used to open Office files like Excel, Word, and PowerPoint. Moreover, with the help of Google Drive, you can edit Office files in a cloud as and when required. In this article, we explain how to convert Microsoft Office files like Microsoft Word in Google Docs, a PowerPoint presentation in Google Slides and Excel files in Google Sheets.
Convert Microsoft Office files to Google Docs
There are three ways you can do this.
1] Open Google Drive and click New option on the left side of the page.
Choose File Upload from the drop-down menu.
Now choose document if you want to convert Microsoft Word to Google Docs or select a spreadsheet to convert Microsoft Excel to Google spreadsheet or select presentation to convert PowerPoint to slides.
Allow the Microsoft file to upload to Google Drive. Distant worlds universe ship design.
Once the upload is complete, open the file to get a file preview.
In the preview window, click OpenWith and select Google file type from the drop-down menu to import Office file to Google suite.
Once the import is complete, you can edit the file and save it as either .xlsx or .docx or .pptx file format.
2] Open Google Drive and click on the Settingsicon on the right side of the page.
Click Settings from the menu and select the box with option Convert uploaded files to Google Docs editor format. Enabling this option will automatically convert all the Office files you upload to Google Drive into Google file format.
Go to Google Drive and click New option on the left side the page.
Choose File Upload from the drop-down menu.
Now choose office files that you want to convert to Google Docs.
Select the uploaded office files from the list and click Open.
Allow Google drive to convert office files into Google file format. Note the drive converts Microsoft Word to Google Docs, Microsft Excel to Google spreadsheet and converts PowerPoint to Google Slides.
Now navigate to My Drive. All the converted files will appear under File.
3] If you have installed AODocs Smartbar extension in Chrome browser for using AODocs features in Google Drive follow the below steps to convert Office files into Google files.
Google Docs No Preview Available
Launch Google Drive and open AODocs library.
Choose the Microsoft file from the list of files which you want to convert into Google files.
Click More actions and click Convert to Google Docs.
In the pop-up window, choose the destination folder where you want to save the converted files. You can either choose My Drive or The current folder.
Select the option Delete the original file if you don’t want to keep a copy of the original file.
Click Convert.
The Google drive will save the converted files at the selected destination folder.
That’s all.
TIP: Download this tool to quickly find & fix Windows errors automatically
Related Posts:
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |