In an application I’m working on, I have to save an excel file to pdf. This pdf generation works fine, besides the fact that the layout of the generated pdf is different from the original excel file.
I attached the excel file, a generated pdf file and the source code I’m using to create the pdf.
One of the layout issues can be seen on the table headers (compare the ‘Carrier1’ worksheet with the output pdf). The cells displaying the names of the months are too small in the output pdf, while everything is shown correctly in the template excel.
How can I fix this, so the generated pdf is layouted exactly the same as the excel sheet?
Stijn Van Assche.