Package org.verapdf.gf.model.impl.sa
Class GFSATextChunk
java.lang.Object
org.verapdf.model.GenericModelObject
org.verapdf.gf.model.impl.sa.GFSAChunk
org.verapdf.gf.model.impl.sa.GFSATextChunk
- All Implemented Interfaces:
Object
,SAChunk
,SATextChunk
- Author:
- Maxim Plushchov
-
Field Summary
FieldsFields inherited from class org.verapdf.model.GenericModelObject
contextDependent
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncontrast ratiotrue, if this text chunk has background different from common backgroundtrue, if this text chunk has style different from common styletrue, if this text chunk is underlinedtrue, if this text chunk consists of white spacesampersand separated list of all parent elements standard types of this text chunk in the structure hierarchytext sizetext weightMethods inherited from class org.verapdf.model.GenericModelObject
getID, getLinkedObjects, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependent
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.verapdf.model.baselayer.Object
getID, getLinkedObjects, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependent
-
Field Details
-
TEXT_CHUNK_TYPE
- See Also:
-
-
Constructor Details
-
GFSATextChunk
-
-
Method Details
-
getTextChunk
-
gettextSize
Description copied from interface:SATextChunk
text size- Specified by:
gettextSize
in interfaceSATextChunk
-
getcontrastRatio
Description copied from interface:SATextChunk
contrast ratio- Specified by:
getcontrastRatio
in interfaceSATextChunk
-
gettextWeight
Description copied from interface:SATextChunk
text weight- Specified by:
gettextWeight
in interfaceSATextChunk
-
getContext
- Specified by:
getContext
in interfaceObject
- Overrides:
getContext
in classGenericModelObject
- Returns:
- context of the current object
-
getExtraContext
- Specified by:
getExtraContext
in interfaceObject
- Overrides:
getExtraContext
in classGenericModelObject
- Returns:
- extra context of the current object
-
gethasSpecialStyle
Description copied from interface:SATextChunk
true, if this text chunk has style different from common style- Specified by:
gethasSpecialStyle
in interfaceSATextChunk
-
gethasSpecialBackground
Description copied from interface:SATextChunk
true, if this text chunk has background different from common background- Specified by:
gethasSpecialBackground
in interfaceSATextChunk
-
getisUnderlined
Description copied from interface:SATextChunk
true, if this text chunk is underlined- Specified by:
getisUnderlined
in interfaceSATextChunk
-
getparentsStandardTypes
Description copied from interface:SATextChunk
ampersand separated list of all parent elements standard types of this text chunk in the structure hierarchy- Specified by:
getparentsStandardTypes
in interfaceSATextChunk
-
getisWhiteSpaceChunk
Description copied from interface:SATextChunk
true, if this text chunk consists of white spaces- Specified by:
getisWhiteSpaceChunk
in interfaceSATextChunk
-