From 30faedfa35f6fbcd2c02f872903bc5d0ac36103a Mon Sep 17 00:00:00 2001 From: Ilmari Lauhakangas Date: Mon, 19 Aug 2024 14:44:50 +0300 Subject: [PATCH] tdf#161347 Harmonise API docs for UserDefinedAttributes a bit Change-Id: I85ce6e42d292b85ca0a54652dd733b14137afe9d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/172033 Tested-by: Jenkins Tested-by: Ilmari Lauhakangas Reviewed-by: Ilmari Lauhakangas --- offapi/com/sun/star/drawing/GenericDrawPage.idl | 2 +- offapi/com/sun/star/frame/XFrame2.idl | 2 ++ offapi/com/sun/star/style/PageProperties.idl | 6 ++---- offapi/com/sun/star/table/CellProperties.idl | 4 +++- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/offapi/com/sun/star/drawing/GenericDrawPage.idl b/offapi/com/sun/star/drawing/GenericDrawPage.idl index 90fde7602fc3..ee46bd26cdbd 100644 --- a/offapi/com/sun/star/drawing/GenericDrawPage.idl +++ b/offapi/com/sun/star/drawing/GenericDrawPage.idl @@ -113,7 +113,7 @@ published service GenericDrawPage They will be saved to and restored from automatic styles inside xml files. @see com::sun::star::xml::AttributeContainer - */ + */ [optional, property] com::sun::star::container::XNameContainer UserDefinedAttributes; diff --git a/offapi/com/sun/star/frame/XFrame2.idl b/offapi/com/sun/star/frame/XFrame2.idl index d1a143623d02..8ab0e8f3267a 100644 --- a/offapi/com/sun/star/frame/XFrame2.idl +++ b/offapi/com/sun/star/frame/XFrame2.idl @@ -26,6 +26,8 @@ module com { module sun { module star { module frame { published interface XFrame2 { /** contains user defined attributes. + + @see com::sun::star::xml::AttributeContainer */ [attribute, readonly] com::sun::star::container::XNameContainer UserDefinedAttributes; diff --git a/offapi/com/sun/star/style/PageProperties.idl b/offapi/com/sun/star/style/PageProperties.idl index ea66bdc4e20f..80586ac79725 100644 --- a/offapi/com/sun/star/style/PageProperties.idl +++ b/offapi/com/sun/star/style/PageProperties.idl @@ -146,11 +146,9 @@ published service PageProperties */ [optional , property] com::sun::star::text::XTextColumns TextColumns; - /** contains user defined attributes. + /** contains user defined attributes. -

This com::sun::star::container::XNameContainer - supports the service - com::sun::star::xml::AttributeContainer.

+ @see com::sun::star::xml::AttributeContainer */ [property] com::sun::star::container::XNameContainer UserDefinedAttributes; diff --git a/offapi/com/sun/star/table/CellProperties.idl b/offapi/com/sun/star/table/CellProperties.idl index 0c1c33e9fa7f..ed00fcf496cf 100644 --- a/offapi/com/sun/star/table/CellProperties.idl +++ b/offapi/com/sun/star/table/CellProperties.idl @@ -166,7 +166,9 @@ published service CellProperties

This property is used i.e. by the XML filters to load and restore unknown attributes.

- */ + + @see com::sun::star::xml::AttributeContainer + */ [optional, property] com::sun::star::container::XNameContainer UserDefinedAttributes;