Class GFPDType3Font
- java.lang.Object
-
- org.verapdf.model.GenericModelObject
-
- org.verapdf.gf.model.impl.pd.GFPDObject
-
- org.verapdf.gf.model.impl.pd.GFPDResource
-
- org.verapdf.gf.model.impl.pd.font.GFPDFont
-
- org.verapdf.gf.model.impl.pd.font.GFPDSimpleFont
-
- org.verapdf.gf.model.impl.pd.font.GFPDType3Font
-
- All Implemented Interfaces:
Object
,PDFont
,PDObject
,PDResource
,PDSimpleFont
,PDType3Font
public class GFPDType3Font extends GFPDSimpleFont implements PDType3Font
Represents Type3 font dictionary.- Author:
- Sergey Shemyakov
-
-
Field Summary
Fields Modifier and Type Field Description static String
CHAR_STRINGS
static String
TYPE3_FONT_TYPE
-
Fields inherited from class org.verapdf.gf.model.impl.pd.font.GFPDFont
BASE_FONT, FONT_FILE, fontProgramParsed, renderingMode
-
Fields inherited from class org.verapdf.gf.model.impl.pd.GFPDResource
RESOURCE_TYPE
-
Fields inherited from class org.verapdf.gf.model.impl.pd.GFPDObject
contentStream, document, id, MAX_NUMBER_OF_ELEMENTS, pdcMap, pdFont, simpleCOSObject, simplePDObject
-
Fields inherited from class org.verapdf.model.GenericModelObject
contextDependent
-
-
Constructor Summary
Constructors Constructor Description GFPDType3Font(PDType3Font font, RenderingMode renderingMode, PDResourcesHandler resources, GraphicState inheritedGraphicState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,PDContentStream>
getCharProcStreams()
Boolean
getisStandard()
true if the font is one of the 14 standard fonts defined in PDF 1.4 ReferenceList<? extends Object>
getLinkedObjects(String link)
-
Methods inherited from class org.verapdf.gf.model.impl.pd.font.GFPDSimpleFont
getcontainsDifferences, getEncoding, getFirstChar, getLastChar, getWidths_size
-
Methods inherited from class org.verapdf.gf.model.impl.pd.font.GFPDFont
getEncodingMapping, getfontFileSubtype, getfontName, getisItalic, getisSymbolic, getrenderingMode, getSubtype, getType, isFontProgramParsed
-
Methods inherited from class org.verapdf.gf.model.impl.pd.GFPDResource
getisInherited
-
Methods inherited from class org.verapdf.gf.model.impl.pd.GFPDObject
getentries, getID
-
Methods inherited from class org.verapdf.model.GenericModelObject
getContext, getExtraContext, 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
getContext, getExtraContext, getID, getLinks, getObjectType, getProperties, getSuperTypes, isContextDependent
-
Methods inherited from interface org.verapdf.model.pdlayer.PDFont
getfontFileSubtype, getfontName, getisItalic, getisSymbolic, getrenderingMode, getSubtype, getType
-
Methods inherited from interface org.verapdf.model.pdlayer.PDObject
getentries
-
Methods inherited from interface org.verapdf.model.pdlayer.PDResource
getisInherited
-
Methods inherited from interface org.verapdf.model.pdlayer.PDSimpleFont
getcontainsDifferences, getEncoding, getFirstChar, getLastChar, getWidths_size
-
-
-
-
Field Detail
-
TYPE3_FONT_TYPE
public static final String TYPE3_FONT_TYPE
- See Also:
- Constant Field Values
-
CHAR_STRINGS
public static final String CHAR_STRINGS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
GFPDType3Font
public GFPDType3Font(PDType3Font font, RenderingMode renderingMode, PDResourcesHandler resources, GraphicState inheritedGraphicState)
-
-
Method Detail
-
getisStandard
public Boolean getisStandard()
true if the font is one of the 14 standard fonts defined in PDF 1.4 Reference- Specified by:
getisStandard
in interfacePDSimpleFont
- Specified by:
getisStandard
in classGFPDSimpleFont
- Returns:
- true if the font is one of the 14 standard fonts defined in PDF 1.4 Reference.
-
getLinkedObjects
public List<? extends Object> getLinkedObjects(String link)
- Specified by:
getLinkedObjects
in interfaceObject
- Overrides:
getLinkedObjects
in classGFPDFont
- Parameters:
link
- - the name of a link- Returns:
- List of objects with the given link
-
getCharProcStreams
public Map<String,PDContentStream> getCharProcStreams()
-
-