- similar as in commit cee5c21e0c8c64c78e5d04ff4e300edfaac30404
Writer: iterate styles to show also favourite in the notebookbar
- make sidebar list similar
- use deterministic alogithm without number of default styles
depending on how much used styles are in the document
- do not sort entries to show in natural order
(we can try to introduce priority inside iterator)
- show all favourite, user defined and used styles
- helps to use defined template and follow style guidelines
as we see customstyles which are not yet used too
- both sidebar and notebookbar users see the same list
Change-Id: Iae81aeaf99a8f60f5ed14eb63960ee38f76bcaa1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196226
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/196276
Tested-by: Jenkins
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>