There are some Styles within LibO that will be used by LibO itself. For example the envelope function use the paragraph style >>Addressee<<. I would recommend to define that the system used styles will get the value style:hidden="true" so they are not visible in the styles sidebar as long as they are not in use. for example you can hopen a new writer file and Template Manager -> Default Template the style sidebars are different, cause Default Template has some styles selected as hidden by default.
Created attachment 165914 [details] left: Default Template from Template manager, right: New writer file
maybe some code pointers: grep for RES_POOLCOLL_JAKETADRESS in sw/ sw/source/core/doc/DocumentStylePoolManager.cxx:974
Addressee maybe, and I can imagine also Complimentray Close, Endnote, Footnote, Frame Contents, Horizontal line, Sender, Signature. But wouldn't do for headings, captions, and all other PS. OTOH, what do we gain from hiding a few styles?
Maybe hidden on the default 'Hierarchical' listing, but not ALWAYS hidden. Standard template provided styles, and custom styles, for current document still require manipulation. E.g. I want to change the font and pitch of my envelope addressee. If possible to isolate depending on the listbox type--sure, hide for Hierarchical but we still will have the 'All Styles' listing to consider. If they can't be isolated for listbox handling then a clear => WF
If an hidden style is in used, the style is visible. So no problem. When use an envelope document, the styles are visible.
dupe of bug 69551?
(In reply to andreas_k from comment #5) > When use an envelope document, the styles are visible. Stuart's use case is to modify PS before using it, meaning you format the layout of the letter first and write afterwards. Your assumption of "internal styles" is different. And since we don't distinguish between hierarchical and list view I think Roman's suggestion is a good compromise. *** This bug has been marked as a duplicate of bug 69551 ***
As we now have the nice Style Inspector I found out that: - Addressee - Sender have the same settings. - Complimentary Close - Signature have the same settings. My question is can we group at least stlyes with the same settings? So there want be any styles hidden, but the tree list is a bit smaler? Or we make an Envelope group where this 4 styles are grouped by. At Heading, Index, Caption, ... we do the same we group styles.
(In reply to andreas_k from comment #8) > My question is can we group at least stlyes with the same settings? It has been discussed in bug 121369 and I don't find a comment against a style "Letter" holding these four styles. Samuel, concerns regarding Signature under Letter? For code pointers see the solution in the mentioned ticket.