Changing the object created by imported docx
Jacobo Aragunde Pérez
jaragunde at igalia.com
Wed Oct 16 09:53:36 CEST 2013
Hi again,
I think we can conclude some things from your feedback:
* The most future-proof solution would be replacing all uses of
Writer-kind images with Draw-kind ones, and add to the latter some
missing features present in the former [1]. This is an old discussion
coming from OO days [2], there's even an analysis of this task at [3].
* We could leave 0º, 90º, 180º and 270º rotated images as they are now
(Writer-kind bitmaps), because they are working properly both at import
and export.
* It would be acceptable to use Draw-kind images to import
freely-rotated pictures coming from docx documents. To export them
properly, the bug #65836 [4] should be fixed.
Thanks to you all. Conversations at this list are always insightful :)
[1] http://wiki.openoffice.org/wiki/User:Regina/ComparisonWriterDrawPicture
[2] https://issues.apache.org/ooo/show_bug.cgi?id=3545#c105
[3]
http://wiki.openoffice.org/wiki/Writer/Unification_of_Graphic_Objects_and_Embedded_Objects
[4] https://bugs.freedesktop.org/show_bug.cgi?id=65836
Regards,
--
Jacobo Aragunde
Software Engineer at Igalia
El 15/10/13 09:44, Jacobo Aragunde Pérez escribió:
> Morning :)
>
> I've been thinking on potential solutions to #70457 [1]. It's related
> with rotation information lost when importing a docx that contains some
> bitmap.
>
> Writer bitmaps are only allowed to be rotated in 90º steps, but in Word
> they can be rotated to any angle. When importing a document containing a
> 45º bitmap the rotation is lost, and it keeps lost when the document is
> saved back.
>
> I wonder if importing embedded bitmaps coming from docx as Draw objects
> would be an acceptable solution for this bug (Draw objects allow to be
> rotated to any arbitrary position).
>
> Such a change should be discussed first, imho. What do you think?
>
> Thanks in advance for your time.
>
> [1] https://bugs.freedesktop.org/show_bug.cgi?id=70457
>
More information about the LibreOffice
mailing list