Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Excel to PDF Page Size issue #1871

Closed
Sarsewar opened this issue Apr 3, 2024 · 1 comment
Closed

Excel to PDF Page Size issue #1871

Sarsewar opened this issue Apr 3, 2024 · 1 comment

Comments

@Sarsewar
Copy link

Sarsewar commented Apr 3, 2024

Please find attached Demo_Excel.xlsx, which we are currently using to convert to PDF. The conversion process is being conducted directly on DocuSign. However, we've encountered issues regarding page size and scaling, as illustrated in the screenshots below. Despite attempting conversion through other online free platforms specializing in direct XLSX to PDF conversion, we've encountered the same issues. Notably, the same Excel file converts correctly using Microsoft's "Save As" or "Print" functionality.

We have explored various combinations in the worksheet's XML, including adjustments to pageSize, scale, fitToWidth, and fitToHeight, yet none have proven successful. We seek your insights into the possible reasons for these challenges.

fitToPage fitToWidth fitToHeight Scale
0 0 0 0
0 0 0 1
0 0 1 0
0 0 1 1
0 1 1 1
0 1 0 1
0 1 1 0
0 1 0 0
1 0 0 0
1 0 0 1
1 0 1 0

image

Your guidance in resolving this matter is greatly appreciated.

@xuri
Copy link
Member

xuri commented Apr 4, 2024

Thanks for your issue. Sorry, this problem is out of scope for this library. Maybe there are some compatibility issues in some conversion tools.

@Sarsewar Sarsewar closed this as completed Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants