"Scale to fit" in xlsx

Integration questions/issues
Post Reply
Posts: 1
Joined: Sun May 05, 2019 12:22 pm

"Scale to fit" in xlsx

Post by nikoloza » Sun May 05, 2019 12:48 pm

I'm playing with document server and Conversion API and encountered a problem with xlsx files that have "Scale to fit" set (Width=1, Height=1 in my case). It seems that API doesn't look at this setting and two pages are exported to the PDF file (See attached screenshot).

The desktop version handles same file correctly and result is exactly one page.

Here're the curl request and response:

Code: Select all

curl -k --header "Content-Type: application/json" --header "Accept: application/json"   --request POST   --data '{ "async": false, "filetype": "xlsx", "key": "Khirz6TTTdRd9", "outputtype": "pdf", "title": "file.xlsx", "url": "http://example.com/file.xlsx" }'   https://localhost:5443/ConvertService.ashx


The DocumentServer was dowloaded from univention's website that shows version #
The desktop version is:

Any comments/ideas are welcome!

AcroRd32_2019-05-05_16-29-59.png (210.87 KiB) Viewed 451 times

Posts: 354
Joined: Thu Apr 12, 2018 10:00 am

Re: "Scale to fit" in xlsx

Post by Carl » Mon May 06, 2019 6:35 am


Current Document Server version is 5.2.8. Please update it and let me know if the issue persists.

Post Reply