Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: util ::

constants group MeasureUnit
Description
These constants are used to specify a measure.

A component using these constants may not support all units.


Constants
MM_100TH all measures for this component are in 100th millimeter  
MM_10TH all measures for this component are in 10th millimeter  
MM all measures for this component are in millimeter  
CM all measures for this component are in centimeters  
INCH_1000TH all measures for this component are in 1000th inch  
INCH_100TH all measures for this component are in 100th inch  
INCH_10TH all measures for this component are in 10th inch  
INCH all measures for this component are in inch  
POINT all measures for this component are in points  
TWIP all measures for this component are in twips  
M all measures for this component are in meters  
KM all measures for this component are in kilometers  
PICA all measures for this component are in pica  
FOOT all measures for this component are in foot  
MILE all measures for this component are in miles  
PERCENT all measures for this component are in percentage  
PIXEL all measures for this component are in pixel  
APPFONT all measures for this component are in APPFONT  
SYSFONT all measures for this component are in SYSFONT  
Constants' Details
MM_100TH
const short MM_100TH = 0;
Description
all measures for this component are in 100th millimeter
MM_10TH
const short MM_10TH = 1;
Description
all measures for this component are in 10th millimeter
MM
const short MM = 2;
Description
all measures for this component are in millimeter
CM
const short CM = 3;
Description
all measures for this component are in centimeters
INCH_1000TH
const short INCH_1000TH = 4;
Description
all measures for this component are in 1000th inch
INCH_100TH
const short INCH_100TH = 5;
Description
all measures for this component are in 100th inch
INCH_10TH
const short INCH_10TH = 6;
Description
all measures for this component are in 10th inch
INCH
const short INCH = 7;
Description
all measures for this component are in inch
POINT
const short POINT = 8;
Description
all measures for this component are in points
TWIP
const short TWIP = 9;
Description
all measures for this component are in twips
M
const short M = 10;
Description
all measures for this component are in meters
KM
const short KM = 11;
Description
all measures for this component are in kilometers
PICA
const short PICA = 12;
Description
all measures for this component are in pica
FOOT
const short FOOT = 13;
Description
all measures for this component are in foot
MILE
const short MILE = 14;
Description
all measures for this component are in miles
PERCENT
const short PERCENT = 15;
Description
all measures for this component are in percentage
PIXEL
const short PIXEL = 16;
Description
all measures for this component are in pixel
APPFONT
const short APPFONT = 17;
Description
all measures for this component are in APPFONT
SYSFONT
const short SYSFONT = 18;
Description
all measures for this component are in SYSFONT
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.