offapi/com/sun/star/style/StyleFamily.idl |   12 ++++++++++++
 1 file changed, 12 insertions(+)

New commits:
commit c3974de96fb00ec4e5bddba8661c4b9ca1c1bdbd
Author:     Michael Stahl <michael.st...@allotropia.de>
AuthorDate: Wed Jun 18 11:02:16 2025 +0200
Commit:     Michael Stahl <michael.st...@allotropia.de>
CommitDate: Wed Jun 18 16:05:44 2025 +0200

    tdf#159549 offapi: clarify docs of css::style::StyleFamily
    
    Change-Id: I5391968e93bb28f0c5fc2c41673d4c6df344bfa6
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/186653
    Tested-by: Jenkins
    Reviewed-by: Michael Stahl <michael.st...@allotropia.de>

diff --git a/offapi/com/sun/star/style/StyleFamily.idl 
b/offapi/com/sun/star/style/StyleFamily.idl
index c14dec2720ef..5c9e67867635 100644
--- a/offapi/com/sun/star/style/StyleFamily.idl
+++ b/offapi/com/sun/star/style/StyleFamily.idl
@@ -31,6 +31,12 @@ published service StyleFamily
 
                 <p>The elements in this container support the service
                 Style and are accessed via an XStyle.
+
+                <p>Note that for built-in styles, only the built-in
+                programmatic names can be used; the localized names of
+                built-in styles (available via "DisplayName" property on
+                the style) are not supported (and are unstable across
+                releases anyway).
      */
     interface com::sun::star::container::XNameAccess;
 
@@ -39,6 +45,12 @@ published service StyleFamily
 
                 <p>The elements in this container support the service
                 Style and are accessed via an XStyle.
+
+                <p>Note that for built-in styles, only the built-in
+                programmatic names can be used; the localized names of
+                built-in styles (available via "DisplayName" property on
+                the style) are not supported (and are unstable across
+                releases anyway).
      */
     [optional] interface com::sun::star::container::XNameContainer;
     /** This optional interface makes it possible to access the style sheets

Reply via email to