[Libreoffice-bugs] [Bug 133818] Footnote separator direction should inherit from page style

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Jun 9 13:13:30 UTC 2020


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

--- Comment #6 from Eyal Rozenberg <eyalroz at technion.ac.il> ---
(In reply to Mike Kaganski from comment #5)
> > But:
> > 
> > 1. That's what we have in Calc.
> 
> I don't see that. Trying to change page style direction does not change text
> direction for me.

Then you're not looking at content which would be effected by this. If I have a
cell with the words שלום, hello, להתראות (in that order, separated by spaces) -
in an LTR Calc sheet I see the להתראות as the leftmost word and שלום as the
rightmost; in an RTL Calc page - it's the opposite.

> Additionally: in Calc, you have page belonging to Sheet;

Ah, yes. I meant "Sheet", not page, about calc.

> and cells also belonging to sheet, and text belonging to cells, so the
> structure of dependencies is very different.

Fair enough.

> Because you e.g. have a RTL style which defines an LTR "Next style" on its
> organizer. You have some paragraphs on the first (RTL) page. You decide to
> add some content above the last paragraph; and you type new paragraphs above
> until the last paragraph can't fit on page 1 anymore -> it goes to page 2,
> which has an LTR style -> sudden change of *paragraph* direction.

Oh, sudden in that sense. Ok, although - if you set your page to have an
explicit RTL/LTR style rather than "inherit", then maybe you expect this. But
again, fair enough, I've withdrawn my suggestion about paragraphs.

> > A page style is a property of a paragraph? No, it isn't. If you change the
> > page style, the margins and size change on the page. Paragraphs don't affect
> > that.
> 
> You are wrong. It's paragraph settings that define which page style they
> use.

That's not possible even in principle, because if two pages on the same
paragraphs have conflicting page styles, you can't render the page.

> See Paragraph (style)->Text Flow->Breaks->Insert->Page->With page
> style.

That's something different - when a paragraph gets its own associated page.
Usually a paragraph doesn't have such an associated page.

> Pages in Writer are artifacts of layouting, not primary objects.

If that were completely true, pages could not have had styles.

> They
> are created as needed to place the actual content; and content defines which
> page styles to use for its placement (it might be "don't care, use whatever
> was set before", or "start a new page for me with this exact style").

You're misrepresenting the situation. The "start a page" is not a page style
setting, it's something different.


> So is your proposal to add a footnote separator direction choice like
> "follow page text direction"? I would agree (as a low-priority enhancement,
> since currently existing option allows all kinds of formatting, although
> implementing that would require one tweaking less).

Yes, but not exactly. Right now, the footnote direction (if we can call it
that) inherits, by default, the document direction - or some other object I am
not aware of. But - I'm guessing this inheritence is only used once, at
generation time, because afterwards you can only set it to "left" or "right". I
suggest that:

1. Footnote separators have an "inherit" option (like paragraphs), visible in
the footnote separator direction selection listbox.
2. The superordinate object for purposes of this inheritance be the page in
which the footnote separator appears.
3. The inherit option be the default.

-- 
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/20200609/d9a0af2e/attachment.htm>


More information about the Libreoffice-bugs mailing list