LibreOffice: com::sun::star::util::NumberFormat Constant Group Reference

LibreOffice LibreOffice 26.8 SDK API Reference

Loading...
Searching...
No Matches
com::sun::star::util::NumberFormat Constant Group Referencepublished

contains constants that are used to specify the type of a number format. More...

## Variables
const short | ALL = 0
| selects all number formats.
const short | DEFINED = 1
| selects only user-defined number formats.
const short | DATE = 2
| selects date formats.
const short | TIME = 4
| selects time formats.
const short | CURRENCY = 8
| selects currency formats.
const short | NUMBER = 16
| selects decimal number formats.
const short | SCIENTIFIC = 32
| selects scientific number formats.
const short | FRACTION = 64
| selects number formats for fractions.
const short | PERCENT = 128
| selects percentage number formats.
const short | TEXT = 256
| selects text number formats.
const short | DATETIME = 6
| selects number formats which contain date and time.
const short | LOGICAL = 1024
| selects boolean number formats.
const short | UNDEFINED = 2048
| is used as a return value if no format exists.
const short | EMPTY = 4096
const short | DURATION = 8196

## Detailed Description

contains constants that are used to specify the type of a number format.

## Variable Documentation

## ◆ ALL

const short ALL = 0

selects all number formats.

## ◆ CURRENCY

const short CURRENCY = 8

selects currency formats.

## ◆ DATE

const short DATE = 2

selects date formats.

## ◆ DATETIME

const short DATETIME = 6

selects number formats which contain date and time.

## ◆ DEFINED

const short DEFINED = 1

selects only user-defined number formats.

## ◆ DURATION

const short DURATION = 8196

## ◆ EMPTY

const short EMPTY = 4096

## ◆ FRACTION

const short FRACTION = 64

selects number formats for fractions.

## ◆ LOGICAL

const short LOGICAL = 1024

selects boolean number formats.

## ◆ NUMBER

const short NUMBER = 16

selects decimal number formats.

## ◆ PERCENT

const short PERCENT = 128

selects percentage number formats.

## ◆ SCIENTIFIC

const short SCIENTIFIC = 32

selects scientific number formats.

## ◆ TEXT

const short TEXT = 256

selects text number formats.

## ◆ TIME

const short TIME = 4

selects time formats.

## ◆ UNDEFINED

const short UNDEFINED = 2048

is used as a return value if no format exists.