| Summary: | Horizontal line uno command | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Yousuf Philips (jay) (retired) <philipz85> |
| Component: | Writer | Assignee: | Not Assigned <libreoffice-bugs> |
| Status: | NEW --- | ||
| Severity: | enhancement | CC: | heiko.tietze, jluth, michael.stahl, rb.henschel |
| Priority: | medium | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: | https://bugs.documentfoundation.org/show_bug.cgi?id=45884 | ||
| Whiteboard: | |||
| Crash report or crash signature: | Regression By: | ||
| Bug Depends on: | |||
| Bug Blocks: | 86899, 108237, 114478 | ||
|
Description
Yousuf Philips (jay) (retired)
2017-12-14 00:52:50 UTC
Do you expect a drawing object, a line with zero height, anchored at the paragraph, not interactive or at least secured against unintentional movements, probably adding space itself? The border solution is always perfectly placed and sized, easy to modify by users, and also autotext'ed when entering ----------------. Regina: Does ODF have a horizontal line object equivalent to OOXML's horizontal line (bug 97648), which unfortunately we are currently converting into a drawing object that wont adapt to changes in the page's size/margins. ODF has no special element for a horizontal line. The horizontal line is a picture-element with a rectangle as content anchored as character in Word. So the import as rectangular shape is correct. LibreOffice misses the implementation of the here needed attribute "style:rel-width" of the <style:graphic-properties> element. http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#property-style_rel-width_element-style_graphic-properties Bug 45884 is related. (In reply to Regina Henschel from comment #3) > ODF has no special element for a horizontal line. > > The horizontal line is a picture-element with a rectangle as content > anchored as character in Word. Well for correct interopability with OOXML and other document formats, ODF will need something to identify the difference between a shape and a horizontal line, like how OOXML has it. OOXML uses the o:hr, o:hrstd, o:hrnoshade, o:hrpct, o:hralign attributes of the <v:rect> tag to represent this difference. http://www.datypic.com/sc/ooxml/e-v_rect.html > So the import as rectangular shape is correct. I believe it is incorrect to import it as a rectangular shape with a fill color and an undefined border line, but instead it should be imported as a defined line shape, but with the ability to extend its height similar to a rectangle shape. This will allow correct interopability with other document formats where you can define the line style, which isnt possible with a rectangular shape. |