| Properties' Summary | 
::com::sun::star::util::Color 
BackgroundColor | 
specifies the background color(RGB) of the control.
   | 
short 
Border | 
specifies the border style of the control. 
 
   | 
long 
BorderColor | 
[ OPTIONAL ] 
specifies the color of the border, if present
   | 
long 
Date | 
specifies the date displayed in the control.
   | 
short 
DateFormat | 
specifies the format of the displayed date.
 
   | 
long 
DateMax | 
specifies the maximum date that can be entered.
   | 
long 
DateMin | 
specifies the minimum date that can be entered.
   | 
boolean 
DateShowCentury | 
specifies, if the date century is displayed.
   | 
boolean 
Dropdown | 
specifies, if the control has a dropdown button.
   | 
boolean 
Enabled | 
determines whether the control is enabled or disabled.
   | 
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.
   | 
boolean 
HideInactiveSelection | 
[ OPTIONAL ] 
specifies whether the selection in the control should be hidden when
 the control is not active (focused).
   | 
boolean 
Printable | 
specifies that the control will be printed with the document.
   | 
boolean 
ReadOnly | 
specifies that the content of the control cannot be modified by the user.
   | 
boolean 
Repeat | 
[ OPTIONAL ] 
specifies whether the mouse should show repeating behaviour, i.e.
 repeatedly trigger an action when keeping pressed.
   | 
long 
RepeatDelay | 
[ OPTIONAL ] 
specifies the mouse repeat delay, in milliseconds.
   | 
boolean 
Spin | 
specifies that the control has a spin button.
   | 
boolean 
StrictFormat | 
specifies that the date is checked during the user input.
   | 
boolean 
Tabstop | 
specifies that the control can be reached with the TAB key.
   | 
string 
Text | 
[ OPTIONAL ] 
specifies the text displayed in the control.
   | 
::com::sun::star::util::Color 
TextColor | 
specifies the text color (RGB) of the control.
   | 
::com::sun::star::util::Color 
TextLineColor | 
specifies the text line color (RGB) of the control.
   | 
short 
WritingMode | 
[ OPTIONAL ] 
denotes the writing mode used in the control, as specified in the
 ::com::sun::star::text::WritingMode2 constants group.
   | 
short 
MouseWheelBehavior | 
[ OPTIONAL ] 
defines how the mouse wheel can be used to scroll through the control's content.
   | 
::com::sun::star::style::VerticalAlignment 
VerticalAlign | 
[ OPTIONAL ] 
specifies the vertical alignment of the text in the control.
   | 
| Properties' Details | 
BackgroundColor
::com::sun::star::util::Color BackgroundColor; 
- Description
 
- specifies the background color(RGB) of the control.
 
 
 
 | 
 
 
 | 
Border
short Border; 
- Description
 
- specifies the border style of the control. 
 
 
 
 0: No border
 1: 3D border
 2: simple border
  
  
 
 | 
 
 
 | 
BorderColor
long BorderColor; 
- Usage Restrictions
 
- optional
 
- Description
 
- specifies the color of the border, if present
 
 
Not every border style (see Border) may support coloring.
 For instance, usually a border with 3D effect will ignore the BorderColor setting. 
  
- Since 
 
- OOo 2.0 
 
 
 | 
 
 
 | 
Date
long Date; 
- Description
 
- specifies the date displayed in the control.
 
 
The date must be specified in the format YYYYMMDD. 
  
 
 | 
 
 
 | 
DateFormat
short DateFormat; 
- Description
 
- specifies the format of the displayed date.
 
 
 
 0: system short
 1: system short YY
 2: system short YYYY
 3: system long
 4: short DDMMYY
 5: short MMDDYY
 6: short YYMMDD
 7: short DDMMYYYY
 8: short MMDDYYYY
 9: short YYYYMMDD
 10: short YYMMDD DIN5008
 11: short YYYYMMDD DIN5008
  
  
 
 | 
 
 
 | 
DateMax
long DateMax; 
- Description
 
- specifies the maximum date that can be entered.
 
 
 
 | 
 
 
 | 
DateMin
long DateMin; 
- Description
 
- specifies the minimum date that can be entered.
 
 
 
 | 
 
 
 | 
DateShowCentury
boolean DateShowCentury; 
- Description
 
- specifies, if the date century is displayed.
 
 
 
 | 
 
 
 | 
Dropdown
boolean Dropdown; 
- Description
 
- specifies, if the control has a dropdown button.
 
 
 
 | 
 
 
 | 
Enabled
boolean Enabled; 
- Description
 
- determines whether the control is enabled or disabled.
 
 
 
 | 
 
 
 | 
FontDescriptor
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.
 
 
 
 | 
 
 
 | 
HideInactiveSelection
boolean HideInactiveSelection; 
- Usage Restrictions
 
- optional
 
- Description
 
- specifies whether the selection in the control should be hidden when
 the control is not active (focused).
 
 
- Since 
 
- OOo 2.0 
 
 
 | 
 
 
 | 
Printable
boolean Printable; 
- Description
 
- specifies that the control will be printed with the document.
 
 
 
 | 
 
 
 | 
ReadOnly
boolean ReadOnly; 
- Description
 
- specifies that the content of the control cannot be modified by the user.
 
 
 
 | 
 
 
 | 
Repeat
boolean Repeat; 
- Usage Restrictions
 
- optional
 
- Description
 
- specifies whether the mouse should show repeating behaviour, i.e.
 repeatedly trigger an action when keeping pressed.
 
 
- Since 
 
- OOo 2.0 
 
 
 | 
 
 
 | 
RepeatDelay
long RepeatDelay; 
- Usage Restrictions
 
- optional
 
- Description
 
- specifies the mouse repeat delay, in milliseconds.
 
 
When the user presses a mouse in a control area where this triggers
 an action (such as spinning the value), then usual control implementations
 allow to repeatedly trigger this action, without the need to release the
 mouse button and to press it again. The delay between two such triggers
 is specified with this property. 
  
- Since 
 
- OOo 2.0 
 
 
 | 
 
 
 | 
Spin
boolean Spin; 
- Description
 
- specifies that the control has a spin button.
 
 
 
 | 
 
 
 | 
StrictFormat
boolean StrictFormat; 
- Description
 
- specifies that the date is checked during the user input.
 
 
 
 | 
 
 
 | 
Tabstop
boolean Tabstop; 
- Description
 
- specifies that the control can be reached with the TAB key.
 
 
 
 | 
 
 
 | 
Text
string Text; 
- Usage Restrictions
 
- optional
 
- Description
 
- specifies the text displayed in the control.
 
 
- Since 
 
- OOo 2.0  
 
 
 | 
 
 
 | 
TextColor
::com::sun::star::util::Color TextColor; 
- Description
 
- specifies the text color (RGB) of the control.
 
 
 
 | 
 
 
 | 
TextLineColor
::com::sun::star::util::Color TextLineColor; 
- Description
 
- specifies the text line color (RGB) of the control.
 
 
 
 | 
 
 
 | 
WritingMode
short WritingMode; 
- Usage Restrictions
 
- optional
 
- Description
 
- denotes the writing mode used in the control, as specified in the
 ::com::sun::star::text::WritingMode2 constants group.
 
 
Only ::com::sun::star::text::WritingMode2::LR_TB and
 ::com::sun::star::text::WritingMode2::RL_TB are supported at the moment. 
  
- Since 
 
- OOo 3.1 
 
 
 | 
 
 
 | 
MouseWheelBehavior
short MouseWheelBehavior; 
- Usage Restrictions
 
- optional
 
- Description
 
- defines how the mouse wheel can be used to scroll through the control's content.
 
 
Usually, the mouse wheel spins the numeric value displayed in the control. Using this property,
 and one of the MouseWheelBehavior constants, you can control under which circumstances
 this is possible. 
  
 
 | 
 
 
 | 
VerticalAlign
::com::sun::star::style::VerticalAlignment VerticalAlign; 
- Usage Restrictions
 
- optional
 
- Description
 
- specifies the vertical alignment of the text in the control.
 
 
- Since 
 
- OOo 3.3 
 
 
 | 
 
 
 | 
 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.