Hi Vic.
Thank you very much! This will help me alot. Then there is only one
thing that I am still wondering about. The gridlines; are these also
possible to remove with a parameter in the query string?
I have another question also, which is a little on the side, but I am
still wondering about it.. Is it possible in spreadsheets to get page
numbers on the print out, like it is in the documents?
Thanx for your help!
/mtv
On Jan 12, 12:03 am, Vic Fryzel <
vicfry...@google.com> wrote:
> Hi mtv,
>
> Yes, there are :)
>
> These are undocumented and are unsupported. If these fail, you're out of
> luck.
>
> Page size:
> ?size=legal/letter/A4
>
> Which sheet to export (by number), e.g. 5. Not positional. If you delete
> Sheet1, the next sheet will be 2.
> ?gid=5
>
> Page layout:
> ?portrait=true/false
>
> Fit to page:
> ?fitw=true/false
>
> Repeat header or frozen rows:
> ?fzr=true/false
>
> Example:
https://spreadsheets.google.com/feeds/downloads/spreadsheets/Export?k...
>
> Thanks,
> -Vic
>
>
>
>
>
>
>
> On Thu, Jan 6, 2011 at 12:10 AM, /mtv <
m...@knowit.no> wrote:
> > Hello.
>
> > I am currently exporting spreadsheets created on the fly via the gdata java
> > api. I am able to update the spreadsheets fine, and export them to pdf.
>
> > After extensive searching I finally found the possibility to change the
> > orientation with the extra parameter of: portrait=true
> > So now my export url is: *
> >
https://spreadsheets.google.com/feeds/download/spreadsheets/Export?key=${key}&exportFormat=pdf&portrait=true<
https://spreadsheets.google.com/feeds/download/spreadsheets/Export?ke...>
> > *
> > *
> > *
> > My question is; *Is there other parameters I can issue to the export
> > service?*
> > I would really like to have the possibility to use all the parameters that
> > are available in the UI when manually downloading pdf exports. In other
> > words I would like to control; *paper size, repeating headers,* *gridlines
> > * and size ("Fit to width"/"Actual size").