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, isContextDependentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:SATextChunktext size- Specified by:
gettextSizein interfaceSATextChunk
-
getcontrastRatio
Description copied from interface:SATextChunkcontrast ratio- Specified by:
getcontrastRatioin interfaceSATextChunk
-
gettextWeight
Description copied from interface:SATextChunktext weight- Specified by:
gettextWeightin interfaceSATextChunk
-
getContext
- Specified by:
getContextin interfaceObject- Overrides:
getContextin classGenericModelObject- Returns:
- context of the current object
-
getExtraContext
- Specified by:
getExtraContextin interfaceObject- Overrides:
getExtraContextin classGenericModelObject- Returns:
- extra context of the current object
-
gethasSpecialStyle
Description copied from interface:SATextChunktrue, if this text chunk has style different from common style- Specified by:
gethasSpecialStylein interfaceSATextChunk
-
gethasSpecialBackground
Description copied from interface:SATextChunktrue, if this text chunk has background different from common background- Specified by:
gethasSpecialBackgroundin interfaceSATextChunk
-
getisUnderlined
Description copied from interface:SATextChunktrue, if this text chunk is underlined- Specified by:
getisUnderlinedin interfaceSATextChunk
-
getparentsStandardTypes
Description copied from interface:SATextChunkampersand separated list of all parent elements standard types of this text chunk in the structure hierarchy- Specified by:
getparentsStandardTypesin interfaceSATextChunk
-
getisWhiteSpaceChunk
Description copied from interface:SATextChunktrue, if this text chunk consists of white spaces- Specified by:
getisWhiteSpaceChunkin interfaceSATextChunk
-