When using “File > Export” and saving as an EPS, PNG or other image format with the “selection” checkbox ticked, the exported image will automatically be cropped to the size of the selection.
I am however creating images for use in PDF-Latex and would therefore prefer to export as an PDF image. However, when exporting as PDF, the “selection” checkbox changes its behaviour and while the output contains only the selection, it will not be cropped. In order to obtain a cropped PDF image, workarounds have to be employed such as manually changing the page size to fit the image, exporting as EPS and converting to PDF, or cropping the PDF with a third-party tool. While viable, such workarounds remain undesirable. Especially the EPS option, which combined with the “epstopdf” latex package seems convenient at first, fails due to the lack of support for some features in the EPS format (e.g. transparency).
Before filing a bug report / feature request I wanted to make sure that I’m not just missing an option to optain the intended behaviour.
For illustration:
ODG File PDF Export Wanted Export
+--------------+ +--------------+ +-----+
| | | | |IMAGE|
| | | | |//\\/|
| | | | +-----+
| IMAGE | | IMAGE |
| //\\/ | | //\\/ |
| | | |
| | | |
| | | |
+--------------+ +--------------+
Libreoffice version: 4.4.0.3 (Windows 8 64 bit)