https://bugs.documentfoundation.org/show_bug.cgi?id=145092

            Bug ID: 145092
           Summary: Remove option "Word justify" from FontWork toolbar
           Product: LibreOffice
           Version: Inherited From OOo
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: [email protected]
          Reporter: [email protected]

This is a spin off to bug 37808.

Reason for removing: The item "Word Justify" produces expectation, which the
actual code cannot fulfill.

1. The code for item "Word Justify" sets the option "Full width", linked with
this setting in the "Text attributes"-dialog. That has nothing to do with
"justify".

2. The option "Full width" would distinguish for a center-anchored text block,
whether the text block size is determined by the content of the text block or
by the shape geometry. The current code does not evaluate the option "Full
width", but the size of the text block is determined by the custom-shape
attribute draw:text-path-scale. This attribute has no UI and no uno-command,
but can only be changed by a macro.

3. Individual paragraph alignments are ignored for the paragraphs in a text
block of a Fontwork shape. The paragraphs are always aligned in sync with the
text block anchor. Changing paragraph alignment is only possible via changing
the text block anchor.

4. Paragraphs in Fontwork shapes are not able to "justify". Paragraphs in
Fontwork shape have always only one line. It is not possible to have a word
wrap. So for "justify" always the rule for "last line" applies. But for
paragraph in shapes, there is no choice how the last line can behave. It is
always so as if the last line rule "start" is set. Other options are only
available for frames in Writer documents.

If at some time in the future a developer will change the behavior of Fontwork
shapes, such development will introduce appropriate tools for the UI.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to