https://bugs.documentfoundation.org/show_bug.cgi?id=173207
Bug ID: 173207
Summary: Integration with Inkscape
Product: LibreOffice
Version: 26.2.4.2 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: enhancement
Priority: medium
Component: Draw
Assignee: [email protected]
Reporter: [email protected]
# Summary
Implement seamless interaction with Inkscape.
# Description
Any shape or group of shapes should be easily editable in Inkscape. When we
select something it should be saved in some temporarily file which one Inkscape
will be launched with as an argument to open it. After we make our edits in
this external editor we must read this temporarily file contents and replace
previously selected shapes with file content.
# Implementation notes
1) How to choose the right size for canvas for this temporary file? I suggest
take bounding box size surrounding all selected shapes and offset it a little
bit outside to have a little bit space around shapes (which should be centered
on canvas by default). Canvas size in the temporary file should never affect
the result which is pasted back to LibreOffice. Bounding box surrounding all
shape must.
2) What to do if shapes have effects? LibreOffice shape effects should be
translated to Inkscape ones. Glow can be represented as a blurred object
duplicate put under it. Soft edges like Blur in Inkscape. It worth noting that
as-is translation may be quite hard to implement not to lose any details. Given
that users should have an option to choose how LibreOffice converts effects to
Inkscape and back. For me it's easier for now to say that all path effects that
Inkscape provides must be applied (and thus removed on Inkscape closing).
Effects which can be translated must be, by default, unless specified
otherwise.
# Notes
I need to investigate odg and svg file structure to see how they store effects
effectively and provide more detailed comments.
--
You are receiving this mail because:
You are the assignee for the bug.