Bug 167618 - Missing support for non-oriented (non-"right"-nor-"left") pages
Summary: Missing support for non-oriented (non-"right"-nor-"left") pages
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
26.2.0.0 alpha0+ master
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Styles-Page ODF Writer-Styles-Page-Odd-Even
  Show dependency treegraph
 
Reported: 2025-07-21 10:24 UTC by Eyal Rozenberg
Modified: 2025-08-12 20:05 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eyal Rozenberg 2025-07-21 10:24:28 UTC
Suppose I'm writing a document. This document is to be used either in a PDF, where individual pages are viewed sequentially, not facing each other or away from each other; or it is to be printed, the pages will be stacked one before the next, and read one page at a time, without the pages facing each other, nor laid out in some horizontal direction. Let's assume for the sake of this example that, when printed, only one side of each sheet will be used.

This is not a rare use case - it is quite a common one.

So, in the page style(s) I use in this document, what kind of page layout do I want?

Let's consider our options (as of 26.2 nightlies these days):

* "Right and Left" - Nope, my pages are neither "Right" nor "Left". And WTF is "Right and Left" anyway? Is the same page supposed to be both "Right" and "Left" at the same time? Do they altertnate? ... with both readings - don't want this. Now, the preview shows just a single page, as opposed to other options, which show pairs of pages, so this is fishy. Let's get back to this option later on.
* "Mirrored" - I don't want to mirror anything. Also, the preview shows me two pages, and my document won't be used with pairs of pages being side-by-side. So, no.
* "Only Right" - I said I want neither "Right" nor "Left", as my pages don't have a "Right" nor a "Left" orientation. Plus, the preview shows me two pages, on two sheets, and my document won't be used with pairs of sheets being side-by-side. 
* "Only Left" - Same point as for "Only Right"

... and that's it! No other options :-(


Now, one might say: "Well, just think of Right and Left as neither-right-nor-left". I could live with that, in which case this would be a UI labeling issue. But - that's not actually the case. Here are some indications:

* Follow the instruction in Bug 117231 comment 58, but Octavio Alvarez. You'll see that when forcing a page number on a new page, Writer might force a blank page between them - as it assumes that alternating pages must have odd and even numbers respectively, i.e. pages are always paired up somehow. 
* I still see a "Gutter" setting, which is only relevant when you have a spine, and thus your page is either left-of-spine or right-of-spine (or top or bottom, but let's not get into that).
* If you navigate to the Header or Footer tab for your page style, you'll see a toggle for "same content for left and right pages"; this should be either grayed out or removed, if there _are_ no "Left" pages or "Right" pages (whatever that means).

Finally, the wording in the ODF spec also suggests that there are still "Left" and "Right" pages in your document when you choose "Left-and-Right" (a.k.a. style:page-usage="all"). So this is also a problem at the ODF level
Comment 1 Heiko Tietze 2025-08-05 13:36:20 UTC
You describe two scenarios, why don't you just switch the styles/templates?

(In reply to Eyal Rozenberg from comment #0)
> So this is also a problem at the ODF level
What do you expect from UX?
Comment 2 Regina Henschel 2025-08-12 10:41:16 UTC
@Eyal: Do you request the following? Give the user a page style, that does not assume a book layout. That includes that no blank pages are inserted automatically, and that the gutter option is disabled.
Comment 3 Eyal Rozenberg 2025-08-12 19:47:45 UTC
(In reply to Heiko Tietze from comment #1)
> You describe two scenarios

In terms of creating and editing the document - it is a single scenario: A document whose individual pages are not oriented, are never viewed facing each other, nor turned around away from each other, nor arranged horizontally in any order etc. I gave two uses of such documents.

> why don't you just switch the styles/templates?

I'm talking about the level of a _single_ page style. I need my page style to reflect the fact that the pages with that style are non-oriented. So, there is no switching to be done.

But - perhaps I did not understand your suggestion.
Comment 4 Eyal Rozenberg 2025-08-12 20:05:58 UTC
(In reply to Regina Henschel from comment #2)
> @Eyal: Do you request the following? Give the user a page style, that does
> not assume a book layout. That includes that no blank pages are inserted
> automatically, and that the gutter option is disabled.

Not exactly. The main request is adding a new possible value for style:page-usage, that is currently missing. The four values currently available all indicate an orientation via the "edge for binding" logic (ODF 1.4 Schema, Table 16); the new value would not indicate a binding edge, regardless of writing mode. And like you said, will not result in blank pages being inserted and will not have a gutter / gutter disabled.

With that available, an extra page style for the default set might make sense.