Class Entities
java.lang.Object
com.gitlab.pdftk_java.com.lowagie.text.Entities
This class contains entities that can be used in an entity tag.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
map
This is a map that contains all possible id values of the entity tag.
-
-
Constructor Details
-
Entities
public Entities()
-
-
Method Details
-
get
Gets a chunk with a symbol character.- Parameters:
e
- a symbol value (see Entities class: alfa is greek alfa,...)font
- the font if the symbol isn't found (otherwise Font.SYMBIL)- Returns:
- a Chunk
-
getCorrespondingSymbol
Looks for the corresponding symbol in the font Symbol.- Parameters:
c
- the original ASCII-char- Returns:
- the corresponding symbol in font Symbol
-
isTag
Checks if a given tag corresponds with this object.- Parameters:
tag
- the given tag- Returns:
- true if the tag corresponds
-