I want to export a pdf of a LibrOffice Calc table, but would like that the pdf output has the same size as my table. Imagine I only have text in cells A2:B4. How can I make sure that the pdf output is a tiny pdf that only contains those cells, instead of being of dimension A4, or letter etc?
Obviously, I could do this manually, going to Format -> Page and selecting the width and height this is only contains my tiny table, but that this very cumbersome! Is there any automatic method?
I used Format -> Print Range -> Define, and looked also at How to scale a long LibreOffice Calc sheet to fit on two pages when exporting to PDF? and how-to-generate-pdf-from-a-libreoffice-calc-sheet-fitting-the-page-width but they don't seem to be doing what I want, instead fitting the cells to the document size!?
Thanks!