:: com :: sun :: star :: awt :: grid ::

unpublished service UnoControlGridModel
Usage Restrictions
not published
Description
specifies the standard model of a UnoControlGridModel.
Since
OOo 3.3.0

Included Services - Summary
::com::sun::star::awt::UnoControlModel

specifies the standard model of an ::com::sun::star::awt::UnoControl.

Properties' Summary
boolean
ShowRowHeader
Specifies whether the grid control should display a special header column.  
boolean
ShowColumnHeader
Specifies whether the grid control should display a title row.  
XGridColumnModel
ColumnModel
Specifies the XGridColumnModel that is providing the column structure.  
XGridDataModel
DataModel
Specifies the XGridDataModel that is providing the hierarchical data.  
boolean
HScroll
Specifies the vertical scrollbar mode.  
boolean
VScroll
Specifies the horizontal scrollbar mode.  
boolean
Tabstop
Specifies that the control can be reached with the TAB key.  
::com::sun::star::view::SelectionType
SelectionModel
Specifies the selection mode that is enabled for this grid control.  
::com::sun::star::util::Color
RowBackgroundColor
Specifies the background color of rows. If color for even rows is set, then specifies the color of odd rows. Default value is white.  
::com::sun::star::util::Color
EvenRowBackgroundColor
Specifies the background color of even rows. Default value is white.  
::com::sun::star::util::Color
HeaderBackgroundColor
Specifies the background color of header. Default value is white.  
::com::sun::star::util::Color
TextColor
Specifies the text color. Default value is black.  
::com::sun::star::util::Color
LineColor
Specifies the line color. Default value is white.  
::com::sun::star::style::VerticalAlignment
VerticalAlign
specifies the vertical alignment of the content in the control.  
::com::sun::star::awt::FontDescriptor
FontDescriptor
specifies the font attributes of the text in the control.  
short
FontEmphasisMark
specifies the ::com::sun::star::text::FontEmphasis value of the text in the control.  
short
FontRelief
specifies the ::com::sun::star::text::FontRelief value of the text in the control.  
string
HelpText
specifies the help text of the control.  
string
HelpURL
specifies the help URL of the control.  
Included Services - Details
::com::sun::star::awt::UnoControlModel
Description
specifies the standard model of an ::com::sun::star::awt::UnoControl.
Properties' Details
ShowRowHeader
boolean ShowRowHeader;
Description
Specifies whether the grid control should display a special header column.

The default value is false

ShowColumnHeader
boolean ShowColumnHeader;
Description
Specifies whether the grid control should display a title row.

The default value is true

ColumnModel
XGridColumnModel ColumnModel;
Description
Specifies the XGridColumnModel that is providing the column structure.

You can implement your own instance of XGridColumnModel or use the DefaultGridColumnModel.

DataModel
XGridDataModel DataModel;
Description
Specifies the XGridDataModel that is providing the hierarchical data.

You can implement your own instance of XGridDataModel or use 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

RowBackgroundColor
::com::sun::star::util::Color RowBackgroundColor;
Description
Specifies the background color of rows. If color for even rows is set, then specifies the color of odd rows. Default value is white.
EvenRowBackgroundColor
::com::sun::star::util::Color EvenRowBackgroundColor;
Description
Specifies the background color of even rows. Default value is white.
HeaderBackgroundColor
::com::sun::star::util::Color HeaderBackgroundColor;
Description
Specifies the background color of header. Default value is white.
TextColor
::com::sun::star::util::Color TextColor;
Description
Specifies the text color. Default value is black.
LineColor
::com::sun::star::util::Color LineColor;
Description
Specifies the line color. Default value is white.
VerticalAlign
::com::sun::star::style::VerticalAlignment VerticalAlign;
Description
specifies the vertical alignment of the content in the control.
 TOP
 MIDDLE
 BOTTOM
 
FontDescriptor
::com::sun::star::awt::FontDescriptor FontDescriptor;
Description
specifies the font attributes of the text in the control.
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.

 
Top of Page