include/editeng/svxenum.hxx       |    1 +
 include/vcl/GraphicAttributes.hxx |    1 +
 include/vcl/fntstyle.hxx          |    1 +
 sw/inc/formatlinebreak.hxx        |    2 +-
 4 files changed, 4 insertions(+), 1 deletion(-)

New commits:
commit 5fd5e1b828287c0f2e0c848e8ef8fba1141c7155
Author:     Mike Kaganski <[email protected]>
AuthorDate: Mon Jun 9 12:50:38 2025 +0200
Commit:     Mike Kaganski <[email protected]>
CommitDate: Mon Jun 9 15:02:09 2025 +0200

    Document some core enums that correspond to externally visible data
    
    Their values can't be changed arbitrarily
    
    Change-Id: I8ca9f5bce2aa52967cee1ebdc468266045cb07a2
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/186290
    Tested-by: Jenkins
    Reviewed-by: Mike Kaganski <[email protected]>

diff --git a/include/editeng/svxenum.hxx b/include/editeng/svxenum.hxx
index 48c3ed48eac1..219ddc52a29a 100644
--- a/include/editeng/svxenum.hxx
+++ b/include/editeng/svxenum.hxx
@@ -84,6 +84,7 @@ enum class SvxAdjust
     LAST = End
 };
 
+// The values are stored to e.g. autoformat table
 enum class SvxBreak
 {
     NONE,
diff --git a/include/vcl/GraphicAttributes.hxx 
b/include/vcl/GraphicAttributes.hxx
index 442158cda2e9..c46c67df5740 100644
--- a/include/vcl/GraphicAttributes.hxx
+++ b/include/vcl/GraphicAttributes.hxx
@@ -23,6 +23,7 @@
 #include <vcl/dllapi.h>
 #include <vcl/bitmap.hxx>
 
+// Represents css::drawing::ColorMode
 enum class GraphicDrawMode
 {
     Standard = 0,
diff --git a/include/vcl/fntstyle.hxx b/include/vcl/fntstyle.hxx
index 03814c2621fd..5c80ef83eadb 100644
--- a/include/vcl/fntstyle.hxx
+++ b/include/vcl/fntstyle.hxx
@@ -23,6 +23,7 @@
 #include <sal/types.h>
 #include <o3tl/typed_flags_set.hxx>
 
+// Corresponds to css::text::FontRelief
 enum class FontRelief { NONE, Embossed, Engraved, 
FontRelief_FORCE_EQUAL_SIZE=SAL_MAX_ENUM };
 
 enum class FontKerning
diff --git a/sw/inc/formatlinebreak.hxx b/sw/inc/formatlinebreak.hxx
index 7eff6c8f1008..3d7cf17d19a0 100644
--- a/sw/inc/formatlinebreak.hxx
+++ b/sw/inc/formatlinebreak.hxx
@@ -31,7 +31,7 @@ class SwTextLineBreak;
 class SwXLineBreak;
 class SwXTextRange;
 
-/// Defines the location of a line break text wrapping restart.
+/// Defines the location of a line break text wrapping restart; corresponds to 
RTF's \lbrN.
 enum class SwLineBreakClear
 {
     NONE,

Reply via email to