sw/inc/expfld.hxx |    4 ++++
 sw/inc/txtfld.hxx |    2 ++
 2 files changed, 6 insertions(+)

New commits:
commit a3fb8414219afb53b664c003f4ce1869a78b0faa
Author:     Miklos Vajna <[email protected]>
AuthorDate: Wed Nov 19 08:40:49 2025 +0100
Commit:     Caolán McNamara <[email protected]>
CommitDate: Wed Nov 19 11:50:19 2025 +0100

    sw: document SwInputField and SwTextInputField
    
    To make it more obvious how SwTextInputField owns an SwFormatField,
    which then further owns an SwInputField.
    
    Change-Id: I1b5e020e45a14eecff72b03ee63bb1ad1d55cfc4
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/194189
    Reviewed-by: Caolán McNamara <[email protected]>
    Tested-by: Jenkins CollaboraOffice <[email protected]>

diff --git a/sw/inc/expfld.hxx b/sw/inc/expfld.hxx
index e9880e6df610..07b506a6016f 100644
--- a/sw/inc/expfld.hxx
+++ b/sw/inc/expfld.hxx
@@ -284,6 +284,10 @@ public:
     SwDoc* GetDoc() const { return mpDoc; }
 };
 
+/// SwField subclass for input fields, which are editable in-place. Typically 
owned by an
+/// SwFormatField, which is then further owned by SwTextInputField to track 
its location.
+///
+/// Insert -> Field -> More Fields -> Functions -> Input field on the UI.
 class SW_DLLPUBLIC SwInputField final : public SwField
 {
     mutable OUString maContent;
diff --git a/sw/inc/txtfld.hxx b/sw/inc/txtfld.hxx
index a9a81ed397bd..d419e7ad4908 100644
--- a/sw/inc/txtfld.hxx
+++ b/sw/inc/txtfld.hxx
@@ -76,6 +76,8 @@ public:
 
 };
 
+/// SwTextAttr subclass that tracks the location of the wrapped SwFormatField, 
when the format
+/// field's field is an SwInputField.
 class SwTextInputField final
     : public SwTextAttrNesting
     , public SwTextField

Reply via email to