sw: document SwFormatAutoFormat

It can be a bit confusing that char formats go via an autostyle, while
para formats go into the attribute set of the text node directly.

Change-Id: Ie1138e91268974b1290c5754af5901cc360d4f8c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/156550
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
This commit is contained in:
Miklos Vajna 2023-09-04 21:00:34 +02:00
parent d016642988
commit 6ee0f9f02f

View file

@ -23,6 +23,10 @@
#include <svl/poolitem.hxx>
#include <memory>
/// Has a shared reference to an "auto-style", i.e. a not named collection of character formats. It
/// is owned by an SwTextAttrEnd, which is then stored in the SwpHints of an SwTextNode.
///
/// This is the primary way how direct character formats are stored inside a paragraph.
class SW_DLLPUBLIC SwFormatAutoFormat final : public SfxPoolItem
{
std::shared_ptr<SfxItemSet> mpHandle;