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

            Bug ID: 160682
           Summary: HTML "page style" is not a page style - move this
                    functionality elsewhere
           Product: LibreOffice
           Version: Inherited From OOo
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: eyalr...@gmx.com

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. 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). 

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.

3. Converse of (2.) - when editing an HTML document, we _can't_ edit the HTML
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?

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.

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?

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".

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

Reply via email to