[Libreoffice-ux-advise] [Bug 83325] EDITING: Enhancement: make measure units and grid a part of the file properties

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Sep 14 21:34:10 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=83325

--- Comment #3 from Owen Genat <owen.genat at gmail.com> ---
(In reply to comment #2)
> I disagree, changing the measurement unit does not change the values that
> are stored in metric units in the document. 

Hmmm. I see what you mean. Because ODF references the SVG specification a 2x2
cm rectangle drawn at offset 2 cm (x) and 2 cm (y) with default 1 cm margins
results in:

<draw:custom-shape draw:style-name="gr1" draw:text-style-name="P1"
draw:layer="layout" svg:width="2cm" svg:height="2cm" svg:x="3cm" svg:y="3cm">
  <text:p/>
  <draw:enhanced-geometry svg:viewBox="0 0 21600 21600" draw:type="rectangle"
draw:enhanced-path="M 0 0 L 21600 0 21600 21600 0 21600 0 0 Z N"/>
</draw:custom-shape>

That is a problem at the SVG specification level. There is provision in the SVG
specification to use User Units:

http://www.w3.org/TR/2003/REC-SVG11-20030114/coords.html#Units

... however that may require a large change to the manner in which measurement
units are currently handled in LO (and maybe ODF). Even then this feature of
SVG may not be sufficient.

It would be good if there was a way (for example) to create a scale drawing
using metric and send it to someone using imperial and have them see the same
thing. Currently scale drawing interoperability is difficult across locales
with differing measurement units.

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


More information about the Libreoffice-ux-advise mailing list