Date: prev next · Thread: first prev next last
October 2019 Archives by date, by thread · List index


https://bugs.documentfoundation.org/show_bug.cgi?id=128270

--- Comment #5 from V Stuart Foote <vstuart.foote@utsa.edu> ---
(In reply to Gerry Garvey from comment #4)
Does this need a dialogue with user if they open an image file and LO needs
to create a new document? This could allow user to select how they wanted
the document to be created - page size (full page or fit to size), margins
(yes/no), populate document properties from image file meta-data (yes/no).

I'd prefer not to complicate things. Would think the default 'Open' import
filter  handling should consistently just result in a Draw canvas sized to the
image's bounds--a bounding box, or image size in pixels, or image size in
measurement units. Reduce it to reasonable units if too far oversize--but
handle the opening at the image's aspect ratio -- minimal or no margins to
canvas edge. We'd always 'Open' into Draw.

The 'Insert' import filter should, where appropriate, resize and shrink the
image keeping aspect ration so as to fit within margins of a document page. I
don't think we need resize and expand to image--but if simpler in the filter to
do so then fine.

I would think doing these adjustments for all image formats, the filters would
cover common worklows with the simplest refactoring of the filters.

Reconfigurations for 'Insert' filters, or OLE embedding workflows, would
support directly creating new a document page (i.e. other than Draw module)
from the incoming image.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.