Bug 108718 - "After text" indent from paragraph style is disregarded when a numbering style is set for the paragraph
Summary: "After text" indent from paragraph style is disregarded when a numbering styl...
Status: RESOLVED DUPLICATE of bug 83532
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
Depends on:
Blocks: Bullet-Number-Outline-Lists Writer-Styles-Paragraph
  Show dependency treegraph
Reported: 2017-06-23 14:16 UTC by Aron Budea
Modified: 2017-12-06 16:17 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:

Sample document (9.20 KB, application/vnd.oasis.opendocument.text)
2017-06-23 14:16 UTC, Aron Budea
Combining list indent with paragraph indent (46.45 KB, application/vnd.oasis.opendocument.text)
2017-06-29 15:46 UTC, Regina Henschel
combining list indent with paragraph right indent (52.32 KB, application/vnd.oasis.opendocument.text)
2017-06-29 15:55 UTC, Regina Henschel

Note You need to log in before you can comment on or make changes to this bug.
Description Aron Budea 2017-06-23 14:16:04 UTC
Created attachment 134229 [details]
Sample document

In the attached document I modified Heading 1 to have a distinctly large After text indent, and duplicated a paragraph. In one of the paragraphs I set a numbering style. You wouldn't normally set it for just one, it's only for comparison (though interestingly I can't set outline numbering for the paragraph style).

I can see the values from the numbering style's Position tab completely overriding the Indents from the paragraph style, which I can kind of understand for "Before text" / "First line", but "After text" doesn't need to be overwritten, as nothing influences it from the numbering style.

Is that right, or something else should also be considered here?

Observed using LO 5.4beta2 & 3.3.0 / Windows 7.
Comment 1 Regina Henschel 2017-06-28 18:03:09 UTC
I see the problem too for simple paragraphs. If the right indent is defined in the style, then it is not shown. But if you define the right indent as direct formatting of the paragraph, then it works.

A fix needs to consider RTL scripts.
Comment 2 Regina Henschel 2017-06-29 15:46:30 UTC
Created attachment 134388 [details]
Combining list indent with paragraph indent

Examples, where fo:margin-left or fo:text-indent exists. These examples work as specified. Link to the spec is inside the document.
Comment 3 Regina Henschel 2017-06-29 15:55:03 UTC
Created attachment 134389 [details]
combining list indent with paragraph right indent

The current UI does not allow to not set fo:margin-left and fo:text-indent, in case you set fo:margin-right. Therefore I have removed fo:margin-left and fo:text-indent manually in the fodt-file.

The specification gives precedence of the paragraph settings over the label alignment of the list, if fo:margin-left or fo:text-indent exists on the paragraph. That is not the case here, because I have removed them. Expected behavior is, that the label alignment of the list is used, because the fo:margin-right attribute does not interfere with the list label position.

Observed behavior is, that LibreOffice uses the implementation default of 0cm for fo:margin-left and for fo:text-indent.
Comment 4 Regina Henschel 2017-12-06 16:17:54 UTC
The problem has already been reported.

*** This bug has been marked as a duplicate of bug 83532 ***