How to export a Google Spreadsheet as EXCEL? - google-sheets-api

I want to export the content in a Google Spreadsheet as a .xlsx file. What should I do?
Is it possible to do with command-line? (like nodejs)
Thanks,

Download google spreadsheet
excel/pdf/HTML/csv etc
Use "Google drive API" - code:
Download a Google Docs Spreadsheet as HTML
You can download as anything that is offered by the Spreadsheet menu.
I suspect OAuth2 is required.

Related

hyperlink section google sheet download pdf

I have a google sheet document with a link to another sheet (of the same sheet). I do that with action scritp and it works.
The problem is when I want to download the sheet with the link as a PDF file. When I have that file downloaded, the link doesn't work. The pdf file says that is unable to open it.
Thank you for any help.
try to use the third party software like
Foxit Reader,
PDF-XChange Editor. ...
STDU Viewer. ...

Export Google Sheet to PDF Programmatically with Custom Parameters

How do you export an entire Google Sheet to PDF in Landscape with fit to width, grid lines, page numbers, and spreadsheet name but not sheet name?
How about exporting the same as above but only 1 specific sheet in the spreadsheet or specific range within a sheet?
I can do all this through the GUI when exporting from a Google Sheet but no documented way via API.
I have found various sources showing how to do this via URL but have been unable to find any documentation by Google. The parameters used are not consist between sources and have been unable to figure out all the parameters available through the GUI.
How were the parameters determined? Is this documented by Google? Is this possible via API?
URL exporting sources:
https://issuetracker.google.com/issues/36761058#c25
Google Apps Script - Add landscape parameter to PDF email attachment

Adding word control to asp page?

Is it possible to add a Microsoft Office Word control to an aspx page? I want to be able to modify a load and modify a word document from a web page... I'm just not sure if this is possible?
I know there are AJAX controls out there that allow you to perform something somewhat similar, but I would like to use a Microsoft product if possible.
I am using Visual Studio 2010 and VB.NET to try and accomplish this.
You can use RadEditor for ASP.NET AJAX in your ASPX pages to import DOCX or RTF files, edit their contents in your browser and save them to DOCX,RFT or PDF format. The following examples show how to do that:
Import and Export to DOCX
Import and Export to RTF
Use Ms Word vía ActiveX in ASP.NET it's a bad bad idea. It's possible, but currently, this way is not supported by Microsoft, in fact (http://support.microsoft.com/default.aspx/kb/257757).
You will have troubles with performance, scalabity, user's word versions.... And you will have a lot out-controlled winword.exe processes, and so on.
For this reasons, I use a Silverlight Rich Edit Control, from Devxpress. I had a license already, so I didn't try other solutions, like Telerik's Richtextbox, or Google Docs.
Embed editable MS Word document on web page
Edit: I remembered that another way it's using WebDav. I mean, force to client MS Word to open a word doc in a WebDav location. Maybe you can consider it.
How to create a HTML link which forces MS Word to edit document on webdav server
This is the addin for IE:
http://www.microsoft.com/es-es/download/details.aspx?id=15123
Yes, from the reference i got, it look possible.
Follow this link : Click Here

Change Line Height of Google Doc through Google Drive API

I cannot figure out how to change the document formatting options through the Google Drive API. Is this not supported? As of now I am uploading a file but Google is making the line height 1.15, but I want it to be Single (or 1).
Google Drive doesn't provide fine-grained controls to alter Google Docs, Sheets, etc. You can import files in other formats and convert them to Google formats, but you can't manipulate individual properties of the resulting files, including line height.

How can I open, edit and save an MS-Word document programmatically?

I want to make a word editor for IOS in which I can open MS-Word documents and edit them like in MS Office and after that I can save the document. Can anyone help? I couldn't find any helping code. I tried to find the SDK forms-office but that is not available. I have tried google sdk for text documents which is DrEdit https://github.com/googledrive/dredit
Open Office can read and write MS-Word Documents, and their code is open. Probably hard to find the right passages, but better that reverse engineering the format yourself.
The code is here:
http://openoffice.apache.org/downloads.html
You can try with ThatPDF . Its basically for annotation of PDF but you can customise it for word documents. Here is the Github link for the open source project.