summaryrefslogtreecommitdiff
path: root/offapi/com/sun/star/style
diff options
context:
space:
mode:
Diffstat (limited to 'offapi/com/sun/star/style')
-rw-r--r--offapi/com/sun/star/style/PageProperties.idl55
-rw-r--r--offapi/com/sun/star/style/ParagraphProperties.idl20
2 files changed, 60 insertions, 15 deletions
diff --git a/offapi/com/sun/star/style/PageProperties.idl b/offapi/com/sun/star/style/PageProperties.idl
index 7ae84806e1ba..627aa09cb952 100644
--- a/offapi/com/sun/star/style/PageProperties.idl
+++ b/offapi/com/sun/star/style/PageProperties.idl
@@ -29,10 +29,9 @@
#include <com/sun/star/text/XTextColumns.idl>
#include <com/sun/star/container/XNameContainer.idl>
#include <com/sun/star/text/WritingMode2.idl>
+#include <com/sun/star/graphic/XGraphic.idl>
-
- module com { module sun { module star { module style {
-
+module com { module sun { module star { module style {
/** describes the style of pages.
*/
@@ -42,14 +41,24 @@ published service PageProperties
*/
[property] com::sun::star::util::Color BackColor;
- /**
- */
- //[property] BackGraphic;
-
/** contains the URL of the background graphic.
+
+ @deprecated as of LibreOffice 6.1 - use BackGraphic instead
+
+ Note the new behaviour since it this was deprecated:
+ This property can only be set and only external URLs are
+ supported (no more vnd.sun.star.GraphicObject scheme). When an
+ URL is set, then it will load the graphic and set the BackGraphic
+ property.
*/
[property] string BackGraphicURL;
+ /** contains the graphic of the background.
+
+ @since LibreOffice 6.1
+ */
+ [property] com::sun::star::graphic::XGraphic BackGraphic;
+
/** contains the filter name of the background graphic.
*/
[property] string BackGraphicFilter;
@@ -169,14 +178,24 @@ published service PageProperties
*/
[property, maybevoid] com::sun::star::util::Color HeaderBackColor;
- /**
- */
- //[property, maybevoid] HeaderBackGraphic;
-
/** contains the URL of the background graphic of the header.
+
+ @deprecated as of LibreOffice 6.1 - use HeaderBackGraphic instead
+
+ Note the new behaviour since it this was deprecated:
+ This property can only be set and only external URLs are
+ supported (no more vnd.sun.star.GraphicObject scheme). When an
+ URL is set, then it will load the graphic and set the HeaderBackGraphic
+ property.
*/
[property, maybevoid] string HeaderBackGraphicURL;
+ /** contains the graphic of the background of the header.
+
+ @since LibreOffice 6.1
+ */
+ [property, maybevoid] com::sun::star::graphic::XGraphic HeaderBackGraphic;
+
/** contains the filter name of the background graphic of the header.
*/
[property, maybevoid] string HeaderBackGraphicFilter;
@@ -279,9 +298,23 @@ published service PageProperties
[property, maybevoid] com::sun::star::util::Color FooterBackColor;
/** contains the URL of the background graphic in the footer.
+
+ @deprecated as of LibreOffice 6.1 - use FooterBackGraphic
+
+ Note the new behaviour since it this was deprecated:
+ This property can only be set and only external URLs are
+ supported (no more vnd.sun.star.GraphicObject scheme). When an
+ URL is set, then it will load the graphic and set the FooterBackGraphic
+ property.
*/
[property, maybevoid] string FooterBackGraphicURL;
+ /** contains the graphic of the background of the footer.
+
+ @since LibreOffice 6.1
+ */
+ [property, maybevoid] com::sun::star::graphic::XGraphic FooterBackGraphic;
+
/** contains the filter name of the background graphic in the footer.
*/
[property, maybevoid] string FooterBackGraphicFilter;
diff --git a/offapi/com/sun/star/style/ParagraphProperties.idl b/offapi/com/sun/star/style/ParagraphProperties.idl
index 2794265c7540..ba7f8b634c80 100644
--- a/offapi/com/sun/star/style/ParagraphProperties.idl
+++ b/offapi/com/sun/star/style/ParagraphProperties.idl
@@ -31,10 +31,9 @@
#include <com/sun/star/style/BreakType.idl>
#include <com/sun/star/container/XNameContainer.idl>
#include <com/sun/star/beans/PropertyValue.idl>
+#include <com/sun/star/graphic/XGraphic.idl>
-
- module com { module sun { module star { module style {
-
+module com { module sun { module star { module style {
/** describes the style of paragraphs.
*/
@@ -63,10 +62,17 @@ published service ParagraphProperties
/** contains the value of a link for the background graphic of a paragraph.
+
+ @deprecated as of LibreOffice 6.1 - use ParaBackGraphic instead
+
+ Note the new behaviour since it this was deprecated:
+ This property can only be set and only external URLs are
+ supported (no more vnd.sun.star.GraphicObject scheme). When an
+ URL is set, then it will load the graphic and set the ParaBackGraphic
+ property.
*/
[optional, property] string ParaBackGraphicURL;
-
/** contains the name of the graphic filter for the background graphic of a paragraph.
*/
[optional, property] string ParaBackGraphicFilter;
@@ -379,6 +385,12 @@ published service ParagraphProperties
<p>Values [1..10] indicates that the paragraph belongs to the corresponding outline level.</p>
*/
[optional, property] short OutlineLevel;
+
+ /** contains the graphic for the background of a paragraph.
+
+ @since LibreOffice 6.1
+ */
+ [optional, property] com::sun::star::graphic::XGraphic ParaBackGraphic;
};