[Bug 160682] HTML "page style" is not a page style - move this functionality elsewhere

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Apr 16 11:56:22 UTC 2024


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

--- Comment #2 from Cor Nouws <cno at nouenoff.nl> ---
Hi Eyal,
(In reply to Eyal Rozenberg from comment #0)
> Writer's Styles sidebar has, among its items available by default, an "HTML"
> entry.
> 
> It turns out that the settings of the page style are used as the Default
> Page Style when creating a new "HTML document" (via File > New > HTML
> document).
> 
> This is problematic in multiple senses:
> 
> 1. In a non-HTML-document, the default list page styles should not include a
> style (or "pseudo-style") which is not relevant to the current document.
Still it allows the user to do start a new Writer doc, and change to a HTML
version.

> It
> must only include styles which may possibly be used in the current document
> (and since it's the default list of items - styles which are likely to be
> used in the document). 
(Ambiguous - but prolly more on this later)

> 2. It is unreasonable, that the way to control the default page style in
> documents of a certain kind would be to open a new document of a different
> kind and edit one of the page styles.
I don't see why that would be needed.

> 3. Converse of (2.) - when editing an HTML document, we _can't_ edit the
> HTML page style.
After starting a new HTML document, one can just edit the page style..?

> 4. The default page style of a document is typically taken from the default
> page style of its template (and there's a default template if we haven't
> specified one explicitly). Why should this be different for HTML documents?
Do not disagree to that.

> 5. It is currently possible for the HTML page style, with its use mentioned
> above, to be applied various places in non-HTML document? That's a total
> mess! Gives me a headache just to think about it.
Indeed that is not what it is meant for ;)

> 6. This is inconsistent with other special kinds of documents which can be
> created using File > New, e.g. labels and business cards. Why should they
> not also get a "Labels" page style?
Still there may be good reasons for the difference.

> 7. And a final side-note: HTML documents do actually have page styles:
> 
> https://developer.mozilla.org/en-US/docs/Web/CSS/@page
> 
> and page breaks:
> 
> https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_fragmentation
> 
> but the first six points are reason enough to get rid of this "page style".
I do not object per see. What is the solution you suggest to use in stead?
Thanks,
Cor

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Libreoffice-ux-advise mailing list