[Libreoffice-bugs] [Bug 144608] Cannot use paragraph alignment in text box together with text anchor

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Sep 21 14:58:28 UTC 2021


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

--- Comment #8 from sergio.callegari at gmail.com ---
> The paragraph alignment is totally independent from "text anchor", as you would expect.
> When you set the anchor to left, you still get right-aligned paragraph right-aligned,
> and left-aligned ones left-aligned.

> What changes is the width of the "page". And that's normal, because the "full width" gets
> unchecked (it's only available for middle alignment), and that checkbox means "use the
> control's width as the width for layouting the text".

This clarifies a bit. But I still have a few items that do not look completely
consistent to me:

The usage of "full width" remains strange to me, possibly due to lacking
documentation.

- I have always assumed that the role of the anchor was to determine how the
text box should automatically alter its size when there is a need to do so
(namely what should remain fixed when the size is automatically altered). Is
this correct?

- I have always expected paragraphs to be laid out in the text box as they are
in the regular page considering the size of the text box and aligning the
individual paragraphs left, center, right or justified as set in the paragraph
properties. I now understand that when you do not have the "full width" tick
set the individual paragraphs are laidd out using their own natural width as
the "page" size. Why is this needed? Is there a case where you need the full
width unselected? That is something that you would not be able to do with the
mere paragraph alignment controls?

- Why do you say you need the full width switch off for the left and right
anchoring? This makes it impossible to achieve something like what I have just
described in an example. You have a text box with some predefined width and you
put them close to the right border of the page. In this box you want left
alignment. But you may also want right anchoring, so that if one puts in the
box more text that it can fit, rather than putting the text off the page, the
box can expand to the left.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210921/e4e9f636/attachment.htm>


More information about the Libreoffice-bugs mailing list