public interface TextProperties
Text
,
Subreport
,
FieldElement
Modifier and Type | Field and Description |
---|---|
static int |
GLYPH_DEFAULT
This is the default glyph orientation, that is, the glyphs are to point towards the source of the block progression.
|
static int |
GLYPH_DOWN
The glyphs are to always point downwards, regardless of text or block progression.
|
static int |
GLYPH_LEFT
The glyphs are to always point to the left, regardless of text or block progression.
|
static int |
GLYPH_RIGHT
The glyphs are to always point to the right, regardless of text or block progression.
|
static int |
GLYPH_UP
The glyphs are to always point upwards, regardless of text or block progression.
|
static int |
ROTATE_0
Do not rotate element.
|
static int |
ROTATE_180
Rotate to 180 degrees counter-clockwise.
|
static int |
ROTATE_270
Rotate to 270 degrees counter-clockwise.
|
static int |
ROTATE_90
Rotate to 90 degrees counter-clockwise.
|
Modifier and Type | Method and Description |
---|---|
int |
getGlyphOrientation()
Returns the glyph orientation.
|
FormulaField |
getGlyphOrientationFormula()
Returns the formula whose return value determines the glyph orientation.
|
int |
getTextRotation()
Returns the value of the property 'text rotation'.
|
FormulaField |
getTextRotationFormula()
Returns the formula whose return value determines the property 'text rotation'.
|
void |
setGlyphOrientation(int orientation)
Sets the orientation of the glyphs.
|
void |
setGlyphOrientationFormula(FormulaField formula)
Sets the formula whose return value determines the glyph orientation.
|
void |
setTextRotation(int rotation)
Sets the value of the property 'text rotation'.
|
void |
setTextRotationFormula(FormulaField formula)
Sets the formula whose return value determines the property 'text rotation'.
|
static final int ROTATE_0
static final int ROTATE_90
static final int ROTATE_180
static final int ROTATE_270
static final int GLYPH_DEFAULT
setGlyphOrientation(int)
,
Constant Field Valuesstatic final int GLYPH_RIGHT
setGlyphOrientation(int)
,
Constant Field Valuesstatic final int GLYPH_LEFT
setGlyphOrientation(int)
,
Constant Field Valuesstatic final int GLYPH_DOWN
setGlyphOrientation(int)
,
Constant Field Valuesstatic final int GLYPH_UP
setGlyphOrientation(int)
,
Constant Field Valuesvoid setGlyphOrientation(int orientation) throws java.lang.IllegalArgumentException
orientation
- Orientation to be set for the glyphs (i.e. the rotation of every individual character of the line of text)java.lang.IllegalArgumentException
- if the orientation parameter is not allowedgetGlyphOrientation()
,
GLYPH_DEFAULT
,
GLYPH_UP
,
GLYPH_DOWN
,
GLYPH_RIGHT
,
GLYPH_LEFT
int getGlyphOrientation()
setGlyphOrientation(int)
,
GLYPH_DEFAULT
,
GLYPH_UP
,
GLYPH_DOWN
,
GLYPH_RIGHT
,
GLYPH_LEFT
void setTextRotation(int rotation)
rotation
- The new value of the property 'text rotation'. Rotation is done counter-clockwise.ROTATE_0
,
ROTATE_90
,
ROTATE_180
,
ROTATE_270
int getTextRotation()
ROTATE_0
,
ROTATE_90
,
ROTATE_180
,
ROTATE_270
FormulaField getTextRotationFormula()
getTextRotation()
,
setTextRotation(int)
void setTextRotationFormula(FormulaField formula)
formula
- formula whose return value determines the property 'text rotation'.getTextRotation()
,
setTextRotation(int)
FormulaField getGlyphOrientationFormula()
void setGlyphOrientationFormula(FormulaField formula)
formula
- the formula whose return value determines the glyph orientationCopyright © 1999-2020 by i-net software GmbH