Class HSLFTabStop
java.lang.Object
org.apache.poi.hslf.model.textproperties.HSLFTabStop
- All Implemented Interfaces:
org.apache.poi.common.Duplicatable
,GenericRecord
,TabStop
@Internal
public class HSLFTabStop
extends Object
implements TabStop, org.apache.poi.common.Duplicatable, GenericRecord
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.poi.sl.usermodel.TabStop
TabStop.TabStopType
-
Constructor Summary
ConstructorsConstructorDescriptionHSLFTabStop
(int position, TabStop.TabStopType type) HSLFTabStop
(HSLFTabStop other) -
Method Summary
Modifier and TypeMethodDescriptioncopy()
boolean
int
double
Gets the position in points relative to the left side of the paragraph.getType()
int
hashCode()
void
setPosition
(int position) void
setPositionInPoints
(double points) Sets the position in points relative to the left side of the paragraphvoid
setType
(TabStop.TabStopType type) toString()
Methods inherited from interface org.apache.poi.common.usermodel.GenericRecord
getGenericChildren, getGenericRecordType
-
Constructor Details
-
HSLFTabStop
-
HSLFTabStop
-
-
Method Details
-
getPosition
public int getPosition() -
setPosition
public void setPosition(int position) -
getPositionInPoints
public double getPositionInPoints()Description copied from interface:TabStop
Gets the position in points relative to the left side of the paragraph.- Specified by:
getPositionInPoints
in interfaceTabStop
- Returns:
- position in points
-
setPositionInPoints
public void setPositionInPoints(double points) Description copied from interface:TabStop
Sets the position in points relative to the left side of the paragraph- Specified by:
setPositionInPoints
in interfaceTabStop
- Parameters:
points
- position in points
-
getType
-
setType
-
copy
- Specified by:
copy
in interfaceorg.apache.poi.common.Duplicatable
-
hashCode
public int hashCode() -
equals
-
toString
-
getGenericProperties
- Specified by:
getGenericProperties
in interfaceGenericRecord
-