In Libreoffice Draw when using File → Export and choosing an image format, notably when using EPS to preserve the vector character of the figure, there is a checkbox "selection" which causes the exported image to be cropped automatically to the contents of the image.
I want to use the vector grapgics primarily with PDFLaTeX and would therefore prefer to export directly to PDF. However, when exporting to pdf by either File → Export or File → Export as PDF no cropping is performed, regardless of settings.
Is there some viable workaround to get an auto-cropped PDF directly from Draw?
My current unsatisfying workarounds are
- exporting as EPS and leaving PDF conversion to the pdftoeps latex package. Downside: Unnecessary file clutter.
- manually changing page size. Downside: I don't know a method to automatically crop the page. Also this solution is not appropriate when having multiple sheets with figures of different size.