Class Keywords
java.lang.Object
com.independentsoft.office.word.fields.Field
com.independentsoft.office.word.fields.Keywords
- All Implemented Interfaces:
IContentElement,IRunContent
The Class Keywords.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()getValue()Gets the value.booleanisCaps()Checks if is caps.booleanChecks if is first cap.booleanisLower()Checks if is lower.booleanisUpper()Checks if is upper.voidsetCaps(boolean isCaps)Sets the caps.voidsetFirstCap(boolean isFirstCap)Sets the first cap.voidsetLower(boolean isLower)Sets the lower.voidsetUpper(boolean isUpper)Sets the upper.voidSets the value.toString()Methods inherited from class com.independentsoft.office.word.fields.Field
getContentElements, getFieldCodes, parse
-
Constructor Details
-
Keywords
public Keywords()Instantiates a new keywords.
-
-
Method Details
-
clone
- Specified by:
clonein interfaceIContentElement- Specified by:
clonein interfaceIRunContent- Specified by:
clonein classField
-
toString
-
getValue
Gets the value.- Returns:
- the value
-
setValue
Sets the value.- Parameters:
value- the new value
-
isCaps
public boolean isCaps()Checks if is caps.- Returns:
- true, if is caps
-
setCaps
public void setCaps(boolean isCaps)Sets the caps.- Parameters:
isCaps- the new caps
-
isFirstCap
public boolean isFirstCap()Checks if is first cap.- Returns:
- true, if is first cap
-
setFirstCap
public void setFirstCap(boolean isFirstCap)Sets the first cap.- Parameters:
isFirstCap- the new first cap
-
isLower
public boolean isLower()Checks if is lower.- Returns:
- true, if is lower
-
setLower
public void setLower(boolean isLower)Sets the lower.- Parameters:
isLower- the new lower
-
isUpper
public boolean isUpper()Checks if is upper.- Returns:
- true, if is upper
-
setUpper
public void setUpper(boolean isUpper)Sets the upper.- Parameters:
isUpper- the new upper
-