Overview | Module | Use | Devguide | Index

Constants | Constants' Details

:: com :: sun :: star :: sheet ::
constants group CellFlags
Description These constants select different types of cell contents. The values can be combined. They are used to insert, copy, or delete contents.

Constants
VALUE | selects constant numeric values that are not formatted as dates or times.
DATETIME | selects constant numeric values that have a date or time number format.
STRING | selects constant strings.
ANNOTATION | selects cell annotations.
FORMULA | selects formulas.
HARDATTR | selects all explicit formatting, but not the formatting which is applied implicitly through style sheets.
STYLES | selects cell styles.
OBJECTS | selects drawing objects.
EDITATTR | selects formatting within parts of the cell contents.

Constants' Details
VALUE
const long VALUE = 1; Description selects constant numeric values that are not formatted as dates or times.
DATETIME
const long DATETIME = 2; Description selects constant numeric values that have a date or time number format.
STRING
const long STRING = 4; Description selects constant strings.
ANNOTATION
const long ANNOTATION = 8; Description selects cell annotations.
FORMULA
const long FORMULA = 16; Description selects formulas.
HARDATTR
const long HARDATTR = 32; Description selects all explicit formatting, but not the formatting which is applied implicitly through style sheets.
STYLES
const long STYLES = 64; Description selects cell styles.
OBJECTS
const long OBJECTS = 128; Description selects drawing objects.
EDITATTR
const long EDITATTR = 256; Description selects formatting within parts of the cell contents.

Top of Page

Copyright © 2003 Sun Microsystems, Inc.