diff --git a/offapi/com/sun/star/awt/grid/UnoControlGridModel.idl b/offapi/com/sun/star/awt/grid/UnoControlGridModel.idl index c4f4e3a08f09..a348d4b3e23c 100644 --- a/offapi/com/sun/star/awt/grid/UnoControlGridModel.idl +++ b/offapi/com/sun/star/awt/grid/UnoControlGridModel.idl @@ -130,26 +130,48 @@ service UnoControlGridModel */ [property] ::com::sun::star::view::SelectionType SelectionModel; - /** Specifies the background color of rows. If color for even rows is set, then specifies - the color of odd rows. Default value is white. - */ - [property] ::com::sun::star::util::Color RowBackgroundColor; + /** controls whether or not to paint horizontal and vertical lines between the grid cells. - /** Specifies the background color of even rows. Default value is white. + @see LineColor */ - [property] ::com::sun::star::util::Color EvenRowBackgroundColor; + [property] boolean UseGridLines; - /** Specifies the background color of header. Default value is white. - */ - [property] ::com::sun::star::util::Color HeaderBackgroundColor; + /** specifies the color to be used when drawing lines between cells - /** Specifies the text color. Default value is black. - */ - [property] ::com::sun::star::util::Color TextColor; +

If this property has a value of , the grid control renderer will use some default color, + depending on the system's style settings.

- /** Specifies the line color. Default value is white. + @see UseGridLines */ - [property] ::com::sun::star::util::Color LineColor; + [property, maybevoid] ::com::sun::star::util::Color GridLineColor; + + /** specifies the color to be used when drawing the background of row or column headers + +

If this property has a value of , the grid control renderer will use some default color, + depending on the system's style settings.

+ */ + [property, maybevoid] ::com::sun::star::util::Color HeaderBackgroundColor; + + /** specifies the color to be used when drawing the text within row or column headers + +

If this property has a value of , the grid control renderer will use some default color, + depending on the system's style settings.

+ */ + [property, maybevoid] ::com::sun::star::util::Color HeaderTextColor; + + /** specifies the colors to be used as background for data rows. + +

If this sequence is non-empty, the data rows will be rendered with alternating background colors: Assuming + the sequence has n elements, each row will use the background color as specified by its number's + remainder modulo n.

+ +

If this sequence is empty, all rows will use the same background color as the control as whole.

+ +

If this property does not exist at a particular implementation, or is , rows will be painted + in alternating background colors, every second row having a background color derived from the control's + selection color.

+ */ + [property, maybevoid] sequence< ::com::sun::star::util::Color > RowBackgroundColors; /** specifies the vertical alignment of the content in the control. @@ -165,6 +187,20 @@ service UnoControlGridModel */ [property] com::sun::star::awt::FontDescriptor FontDescriptor; + /** specifies the color to be used when drawing cell texts + +

If this property has a value of , the grid control renderer will use some default color, + depending on the system's style settings.

+ */ + [property, maybevoid] ::com::sun::star::util::Color TextColor; + + /** specifies the color to be used when drawing text lines (underlining and strikethrough) + +

If this property has a value of , the grid control renderer will use some default color, + depending on the system's style settings.

+ */ + [property, maybevoid] com::sun::star::util::Color TextLineColor; + /** specifies the FontEmphasis value of the text in the control. */