Class RtfCtrlWordData
java.lang.Object
com.lowagie.text.rtf.parser.ctrlwords.RtfCtrlWordData
- All Implemented Interfaces:
Cloneable
The control word and parameter information as parsed by the parser.
Contains the control word,
Flag indicating if there is a parameter.
The parameter value as a string.
Flag indicating the parameter is positive or negative.
- Since:
- 2.0.8
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe control word found by the parserint
boolean
Flag indicating if this keyword has a parameter.boolean
Flag indicating if parameter is positive or negative.boolean
Flag indicating if this object has been modified.boolean
Flag indicating a new groupThe parameter for the control word. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
prefix
-
suffix
-
ctrlWord
The control word found by the parser -
hasParam
public boolean hasParamFlag indicating if this keyword has a parameter. -
param
The parameter for the control word. -
isNeg
public boolean isNegFlag indicating if parameter is positive or negative. -
newGroup
public boolean newGroupFlag indicating a new group -
modified
public boolean modifiedFlag indicating if this object has been modified. -
ctrlWordType
public int ctrlWordType -
specialHandler
-
-
Constructor Details
-
RtfCtrlWordData
public RtfCtrlWordData()
-
-
Method Details
-
intValue
public int intValue()Return the parameter value as an integer (int) value.- Returns:
- Returns the parameter value as an int vlaue.
-
toInteger
Return the parameter value as an Integer object.- Returns:
- Returns the parameter value as an Integer object.
-
longValue
public long longValue()Return the parameter value as a long value- Returns:
- Returns the parameter value as a long value
-
toLong
Return the parameter value as a Long object- Returns:
- Returns the parameter value as a Long object.
-
toString
-
clone
- Overrides:
clone
in classObject
- Throws:
CloneNotSupportedException
-