LibreOffice
LibreOffice 24.2 SDK API Reference
Variables
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 More...
 
const short MM_10TH = 1
 all measures for this component are in 10th millimeter More...
 
const short MM = 2
 all measures for this component are in millimeter More...
 
const short CM = 3
 all measures for this component are in centimeters More...
 
const short INCH_1000TH = 4
 all measures for this component are in 1000th inch More...
 
const short INCH_100TH = 5
 all measures for this component are in 100th inch More...
 
const short INCH_10TH = 6
 all measures for this component are in 10th inch More...
 
const short INCH = 7
 all measures for this component are in inch More...
 
const short POINT = 8
 all measures for this component are in points More...
 
const short TWIP = 9
 all measures for this component are in twips More...
 
const short M = 10
 all measures for this component are in meters More...
 
const short KM = 11
 all measures for this component are in kilometers More...
 
const short PICA = 12
 all measures for this component are in pica More...
 
const short FOOT = 13
 all measures for this component are in foot More...
 
const short MILE = 14
 all measures for this component are in miles More...
 
const short PERCENT = 15
 all measures for this component are in percentage More...
 
const short PIXEL = 16
 all measures for this component are in pixel More...
 
const short APPFONT = 17
 all measures for this component are in APPFONT More...
 
const short SYSFONT = 18
 all measures for this component are in SYSFONT More...
 

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

◆ 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