LibreOffice
LibreOffice 6.2 SDK API Reference
Public Member Functions | List of all members
XNumericField Interface Referencepublished

gives access to the value and formatting of a numeric field. More...

import"XNumericField.idl";

Inheritance diagram for XNumericField:
XInterface UnoControlNumericField NumericField

Public Member Functions

void setValue ([in] double Value)
 sets the value which is displayed in the numeric field. More...
 
double getValue ()
 returns the value which is currently displayed in the numeric field. More...
 
void setMin ([in] double Value)
 sets the minimum value that can be entered by the user. More...
 
double getMin ()
 returns the currently set minimum value that can be entered by the user. More...
 
void setMax ([in] double Value)
 sets the maximum value that can be entered by the user. More...
 
double getMax ()
 returns the currently set maximum value that can be entered by the user. More...
 
void setFirst ([in] double Value)
 sets the first value to be set on POS1 key. More...
 
double getFirst ()
 returns the currently set first value which is set on POS1 key. More...
 
void setLast ([in] double Value)
 sets the last value to be set on END key. More...
 
double getLast ()
 returns the currently set last value which is set on END key. More...
 
void setSpinSize ([in] double Value)
 sets the increment value for the spin button. More...
 
double getSpinSize ()
 returns the currently set increment value for the spin button. More...
 
void setDecimalDigits ([in] short nDigits)
 sets the number of decimals. More...
 
short getDecimalDigits ()
 returns the currently set number of decimals. More...
 
void setStrictFormat ([in] boolean bStrict)
 determines if the format is checked during user input. More...
 
boolean isStrictFormat ()
 returns whether the format is currently checked during user input. More...
 
- Public Member Functions inherited from XInterface
any queryInterface ([in] type aType)
 queries for a new interface to an existing UNO object. More...
 
void acquire ()
 increases the reference counter by one. More...
 
void release ()
 decreases the reference counter by one. More...
 

Detailed Description

gives access to the value and formatting of a numeric field.

Member Function Documentation

short getDecimalDigits ( )

returns the currently set number of decimals.

double getFirst ( )

returns the currently set first value which is set on POS1 key.

double getLast ( )

returns the currently set last value which is set on END key.

double getMax ( )

returns the currently set maximum value that can be entered by the user.

double getMin ( )

returns the currently set minimum value that can be entered by the user.

double getSpinSize ( )

returns the currently set increment value for the spin button.

double getValue ( )

returns the value which is currently displayed in the numeric field.

boolean isStrictFormat ( )

returns whether the format is currently checked during user input.

void setDecimalDigits ( [in] short  nDigits)

sets the number of decimals.

void setFirst ( [in] double  Value)

sets the first value to be set on POS1 key.

void setLast ( [in] double  Value)

sets the last value to be set on END key.

void setMax ( [in] double  Value)

sets the maximum value that can be entered by the user.

void setMin ( [in] double  Value)

sets the minimum value that can be entered by the user.

void setSpinSize ( [in] double  Value)

sets the increment value for the spin button.

void setStrictFormat ( [in] boolean  bStrict)

determines if the format is checked during user input.

void setValue ( [in] double  Value)

sets the value which is displayed in the numeric field.


The documentation for this interface was generated from the following file: