Class TextAlignmentProp
java.lang.Object
org.apache.poi.hslf.model.textproperties.TextProp
org.apache.poi.hslf.model.textproperties.TextAlignmentProp
- All Implemented Interfaces:
org.apache.poi.common.Duplicatable
,GenericRecord
Definition for the text alignment property.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
For horizontal text, centered.static final int
Distribute space between characters.static final int
For horizontal text, flush left and right.static final int
Kashida justify low.static final int
For horizontal text, left aligned.static final int
For horizontal text, right aligned.static final int
Thai distribution justification. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncopy()
Clone, eg when you want to actually make use of one of these.Methods inherited from class org.apache.poi.hslf.model.textproperties.TextProp
equals, getMask, getName, getSize, getValue, getWriteMask, hashCode, setValue, toString
Methods inherited from interface org.apache.poi.common.usermodel.GenericRecord
getGenericChildren, getGenericRecordType
-
Field Details
-
LEFT
public static final int LEFTFor horizontal text, left aligned. For vertical text, top aligned.- See Also:
-
CENTER
public static final int CENTERFor horizontal text, centered. For vertical text, middle aligned.- See Also:
-
RIGHT
public static final int RIGHTFor horizontal text, right aligned. For vertical text, bottom aligned.- See Also:
-
JUSTIFY
public static final int JUSTIFYFor horizontal text, flush left and right. For vertical text, flush top and bottom.- See Also:
-
DISTRIBUTED
public static final int DISTRIBUTEDDistribute space between characters.- See Also:
-
THAIDISTRIBUTED
public static final int THAIDISTRIBUTEDThai distribution justification.- See Also:
-
JUSTIFYLOW
public static final int JUSTIFYLOWKashida justify low.- See Also:
-
-
Constructor Details
-
TextAlignmentProp
public TextAlignmentProp() -
TextAlignmentProp
-
-
Method Details
-
getTextAlign
-
getGenericProperties
- Specified by:
getGenericProperties
in interfaceGenericRecord
- Overrides:
getGenericProperties
in classTextProp
-
copy
Description copied from class:TextProp
Clone, eg when you want to actually make use of one of these.
-