LibreOffice
LibreOffice 25.8 SDK API Reference
Loading...
Searching...
No Matches
com::sun::star::util::MeasureUnit Constant Group Referencepublished

These constants are used to specify a measure. More...

Variables

const short MM_100TH = 0
 all measures for this component are in 100th millimeter
const short MM_10TH = 1
 all measures for this component are in 10th millimeter
const short MM = 2
 all measures for this component are in millimeter
const short CM = 3
 all measures for this component are in centimeters
const short INCH_1000TH = 4
 all measures for this component are in 1000th inch
const short INCH_100TH = 5
 all measures for this component are in 100th inch
const short INCH_10TH = 6
 all measures for this component are in 10th inch
const short INCH = 7
 all measures for this component are in inch
const short POINT = 8
 all measures for this component are in points
const short TWIP = 9
 all measures for this component are in twips
const short M = 10
 all measures for this component are in meters
const short KM = 11
 all measures for this component are in kilometers
const short PICA = 12
 all measures for this component are in pica
const short FOOT = 13
 all measures for this component are in foot
const short MILE = 14
 all measures for this component are in miles
const short PERCENT = 15
 all measures for this component are in percentage
const short PIXEL = 16
 all measures for this component are in pixel
const short APPFONT = 17
 all measures for this component are in APPFONT
const short SYSFONT = 18
 all measures for this component are in SYSFONT
const short FONT_EM = 19
 all measures for this component are in em relative to the font
const short FONT_CJK_ADVANCE = 20
 all measures for this component are in ic, per the CSS definition

Detailed Description

These constants are used to specify a measure.

A component using these constants may not support all units.

Variable Documentation

◆ APPFONT

const short APPFONT = 17

all measures for this component are in APPFONT

◆ CM

const short CM = 3

all measures for this component are in centimeters

◆ FONT_CJK_ADVANCE

const short FONT_CJK_ADVANCE = 20

all measures for this component are in ic, per the CSS definition

Since
LibreOffice 25.2

◆ FONT_EM

const short FONT_EM = 19

all measures for this component are in em relative to the font

Since
LibreOffice 25.2

◆ FOOT

const short FOOT = 13

all measures for this component are in foot

◆ INCH

const short INCH = 7

all measures for this component are in inch

◆ INCH_1000TH

const short INCH_1000TH = 4

all measures for this component are in 1000th inch

◆ INCH_100TH

const short INCH_100TH = 5

all measures for this component are in 100th inch

◆ INCH_10TH

const short INCH_10TH = 6

all measures for this component are in 10th inch

◆ KM

const short KM = 11

all measures for this component are in kilometers

◆ M

const short M = 10

all measures for this component are in meters

◆ MILE

const short MILE = 14

all measures for this component are in miles

◆ MM

const short MM = 2

all measures for this component are in millimeter

◆ MM_100TH

const short MM_100TH = 0

all measures for this component are in 100th millimeter

◆ MM_10TH

const short MM_10TH = 1

all measures for this component are in 10th millimeter

◆ PERCENT

const short PERCENT = 15

all measures for this component are in percentage

◆ PICA

const short PICA = 12

all measures for this component are in pica

◆ PIXEL

const short PIXEL = 16

all measures for this component are in pixel

◆ POINT

const short POINT = 8

all measures for this component are in points

◆ SYSFONT

const short SYSFONT = 18

all measures for this component are in SYSFONT

◆ TWIP

const short TWIP = 9

all measures for this component are in twips