Properties' Details |
ShowRowHeader
boolean ShowRowHeader;
- Description
- Specifies whether the grid control should display a special header column.
The default value is false
|
|
RowHeaderWidth
long RowHeaderWidth;
- Description
- specifies the width of the row header column, if applicable.
The width is specified in application font units - see ::com::sun::star::util::MeasureUnit.
The value given here is ignored if ShowRowHeader is false.
|
|
ShowColumnHeader
boolean ShowColumnHeader;
- Description
- Specifies whether the grid control should display a title row.
The default value is true
|
|
ColumnHeaderHeight
[ maybevoid ] long ColumnHeaderHeight;
- Description
- specifies the height of the column header row, if applicable.
The height is specified in application font units - see ::com::sun::star::util::MeasureUnit.
The value given here is ignored if ShowColumnHeader is false.
If the property is void, the grid control shall automatically determine a height which conveniently allows,
according to the used font, to display one line of text.
|
|
RowHeight
[ maybevoid ] long RowHeight;
- Description
- Specifies the height of rows in the grid control.
The height is specified in application font units - see ::com::sun::star::util::MeasureUnit.
|
|
ColumnModel
|
GridDataModel
XGridDataModel GridDataModel;
- Description
- Specifies the XGridDataModel that is providing the hierarchical data.
You can implement your own instance of XGridDataModel or use
the DefaultGridDataModel.
The data model is in the ownership of the grid model: When you set a new data model, or dispose
the grid model, then the (old) data model is disposed, too.
The default for this property is an empty instance of the DefaultGridDataModel.
|
|
HScroll
boolean HScroll;
- Description
- Specifies the vertical scrollbar mode.
The default value is false
|
|
VScroll
boolean VScroll;
- Description
- Specifies the horizontal scrollbar mode.
The default value is false
|
|
Tabstop
boolean Tabstop;
- Description
- Specifies that the control can be reached with the TAB key.
|
|
SelectionModel
::com::sun::star::view::SelectionType SelectionModel;
- Description
- Specifies the selection mode that is enabled for this grid control.
The default value is ::com::sun::star::view::SelectionType::SINGLE
|
|
UseGridLines
boolean UseGridLines;
- Description
- controls whether or not to paint horizontal and vertical lines between the grid cells.
- See also
- GridLineColor
|
|
GridLineColor
[ maybevoid ] ::com::sun::star::util::Color GridLineColor;
- Description
- specifies the color to be used when drawing lines between cells
If this property has a value of void, the grid control renderer will use some default color,
depending on the control's style settings.
- See also
- UseGridLines
|
|
HeaderBackgroundColor
[ maybevoid ] ::com::sun::star::util::Color HeaderBackgroundColor;
- Description
- specifies the color to be used when drawing the background of row or column headers
If this property has a value of void, the grid control renderer will use some default color,
depending on the control's style settings.
|
|
HeaderTextColor
[ maybevoid ] ::com::sun::star::util::Color HeaderTextColor;
- Description
- specifies the color to be used when drawing the text within row or column headers
If this property has a value of void, the grid control renderer will use some default color,
depending on the control's style settings.
|
|
ActiveSelectionBackgroundColor
[ maybevoid ] ::com::sun::star::util::Color ActiveSelectionBackgroundColor;
- Description
- specifies the color to be used when drawing the background of selected cells, while the control has the focus.
If this property has a value of void, the grid control renderer will use some default color,
depending on the control's style settings.
|
|
InactiveSelectionBackgroundColor
[ maybevoid ] ::com::sun::star::util::Color InactiveSelectionBackgroundColor;
- Description
- specifies the color to be used when drawing the background of selected cells, while the control does not have
the focus.
If this property has a value of void, the grid control renderer will use some default color,
depending on the control's style settings.
|
|
ActiveSelectionTextColor
[ maybevoid ] ::com::sun::star::util::Color ActiveSelectionTextColor;
- Description
- specifies the color to be used when drawing the text of selected cells, while the control has the focus.
If this property has a value of void, the grid control renderer will use some default color,
depending on the control's style settings.
|
|
InactiveSelectionTextColor
[ maybevoid ] ::com::sun::star::util::Color InactiveSelectionTextColor;
- Description
- specifies the color to be used when drawing the text of selected cells, while the control does not have
the focus.
If this property has a value of void, the grid control renderer will use some default color,
depending on the control's style settings.
|
|
RowBackgroundColors
[ maybevoid ] sequence< ::com::sun::star::util::Color > RowBackgroundColors;
- Description
- 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 has a value of void, rows will be painted
in alternating background colors, every second row having a background color derived from the control's
selection color.
|
|
VerticalAlign
::com::sun::star::style::VerticalAlignment VerticalAlign;
- Description
- specifies the vertical alignment of the content in the control.
|
|
FontDescriptor
::com::sun::star::awt::FontDescriptor FontDescriptor;
- Description
- specifies the font attributes of the text in the control.
|
|
TextColor
[ maybevoid ] ::com::sun::star::util::Color TextColor;
- Description
- specifies the color to be used when drawing cell texts
If this property has a value of void, the grid control renderer will use some default color,
depending on the control's style settings.
|
|
TextLineColor
[ maybevoid ] ::com::sun::star::util::Color TextLineColor;
- Description
- specifies the color to be used when drawing text lines (underlining and strikethrough)
If this property has a value of void, the grid control renderer will use some default color,
depending on the control's style settings.
|
|
FontEmphasisMark
short FontEmphasisMark;
- Description
- specifies the ::com::sun::star::text::FontEmphasis
value of the text in the control.
|
|
FontRelief
short FontRelief;
- Description
- specifies the ::com::sun::star::text::FontRelief
value of the text in the control.
|
|
HelpText
string HelpText;
- Description
- specifies the help text of the control.
|
|
HelpURL
string HelpURL;
- Description
- specifies the help URL of the control.
|
|
Copyright © 2013, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.