sw/inc/fmtautofmt.hxx |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 6ee0f9f02f7255339e18ab9e6189b2200bb71e6e
Author:     Miklos Vajna <vmik...@collabora.com>
AuthorDate: Mon Sep 4 21:00:34 2023 +0200
Commit:     Miklos Vajna <vmik...@collabora.com>
CommitDate: Tue Sep 5 08:28:01 2023 +0200

    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 <vmik...@collabora.com>

diff --git a/sw/inc/fmtautofmt.hxx b/sw/inc/fmtautofmt.hxx
index f4ac2fae7035..1523389083bd 100644
--- a/sw/inc/fmtautofmt.hxx
+++ b/sw/inc/fmtautofmt.hxx
@@ -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;

Reply via email to