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

Michael Stahl <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Whiteboard|BSA bibisected40            |BSA bibisected40 odf
         Resolution|---                         |FIXED
           Assignee|[email protected] |[email protected]
                   |desktop.org                 |
                 CC|                            |[email protected],
                   |                            |[email protected],
                   |                            |[email protected]
           See Also|                            |https://bugzilla.novell.com
                   |                            |/show_bug.cgi?id=757419
            Summary|FILEOPEN: Negative indents  |FILEOPEN: Draw/Impress text
                   |in styles not loaded        |shapes: Negative indents in
                   |properly                    |styles not loaded properly
          Component|Libreoffice                 |Drawing

--- Comment #24 from Michael Stahl <[email protected]> ---
looks like this was explicitly disabled by:

commit 0f8f92a5b6fcba1fef456539bb929819a9162a85
Author:     Muthu Subramanian <[email protected]>
AuthorDate: Fri Jun 15 17:20:20 2012 +0530

    n757419: Hidden/Non-wrapping text.

    Negative values for left-margin plays havoc with the
    text in this case.

bugdoc has:

    <style:style style:name="test1" style:family="graphic"
style:parent-style-name="title1">
      <style:paragraph-properties fo:margin-left="5.08cm" fo:margin-right="0cm"
fo:text-indent="-5.08cm"/>
    </style:style>

from the ODF spec version 1.2:

20.218 fo:text-indent
The fo:text-indent attribute specifies a positive or negative indent for the
first line of a paragraph. See ยง7.15.11 of [XSL]. The attribute value is a
length. If the attribute is contained in a common style, the attribute value
may be also a percentage that refers to the corresponding text indent of a
parent style.


=> negative first-line indent is explicitly allowed by ODF, and disabling it is
not an option to fix whatever problem may occur on other documents.

guess the only option is to revert the above commit.

fixed on master.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to