How to generate pdf from a libreoffice calc sheet fitting the page width?

南楼画角 提交于 2020-05-09 19:30:13

问题


Using LibreOffice 4.1.2.3 in Ubuntu 13.10 I am desperately trying to export the content of a sheet (4 columns) into a pdf (portrait), so all 4 columns fit on a page. A page nicely explains all the settings - but they do not have any effect!

I select all the range I want to export to a pdf (the 4 columns previously mentioned), click File -> Export as PDF, and no matter what I change (e.g. zoom to 7%), the generated pdf contains two pages: One page with the first three columns, and another page with the fourth column.

This is quite cumbersome and ridiculous, and any help is appreciated to solve this problem.


回答1:


Maybe the LibreOffice Help is misleading here. Those settings (Fit width etc) just affect how to display the resulting PDF. If you want to scale the output to make it fit to a certain number of pages, you will have to modify the page styles's properties: Menu Format -> Page... -> Sheet Tab.

Fit Width

Here, you have three options:

  • Reduce / enlarge printout: set a fixed scaling factor (e.g. 50 %);
  • Fit print range(s) to width / heigth: set either the maximum width or maximum heigth in pages, scaling will be proportionally in every case;
  • Fit print range(s) on number of pages: set the maximum page number.

In your case, just select the third option and set the page number to 1:

Fit to page number




回答2:


I had the same settings as in tohuwawohu's answer, though page still ended too early after column EF, no matter of Scale, Page width or margin settings. Then I discovered Format -> Print Ranges -> Edit menu with custom range - .

Changing to last column solved my problem. HTH somebody.



来源:https://stackoverflow.com/questions/19940236/how-to-generate-pdf-from-a-libreoffice-calc-sheet-fitting-the-page-width

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!