Top Fields Constructors Methods
org.apache.pdfbox.preflight.font.container

public Class Type0Container

extends FontContainer<PDFont>
Class Inheritance
Imports
java.io.IOException, java.util.List, org.apache.pdfbox.pdmodel.font.PDFont, org.apache.pdfbox.preflight.ValidationResult.ValidationError

Field Summary

Modifier and TypeField and Description
private FontContainer<?>
Inherited from org.apache.pdfbox.preflight.font.container.FontContainer:
embeddedFonterrorBufferfont

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public List<ValidationResult.ValidationError>
public boolean
hasGlyph(int
character code
code
)

Implements abstract org.apache.pdfbox.preflight.font.container.FontContainer.hasGlyph.

Checks if the embedded font contains a glyph for the given character code.

public boolean
public boolean
public void
setDelegateFontContainer(FontContainer<?> delegateFontContainer)

Inherited from org.apache.pdfbox.preflight.font.container.FontContainer:
checkGlyphWidtherrorsAleadyMergedmarkAsInvalidmarkAsValidnotEmbeddedpushpushsetErrorsAlreadyMerged

Field Detail

delegateFontContainerback to summary
private FontContainer<?> delegateFontContainer

Constructor Detail

Type0Containerback to summary
public Type0Container(PDFont font)

Method Detail

getAllErrorsback to summary
public List<ValidationResult.ValidationError> getAllErrors()

Overrides org.apache.pdfbox.preflight.font.container.FontContainer.getAllErrors.

Annotations
@Override
hasGlyphback to summary
public boolean hasGlyph(int code) throws IOException

Implements abstract org.apache.pdfbox.preflight.font.container.FontContainer.hasGlyph.

Doc from org.apache.pdfbox.preflight.font.container.FontContainer.hasGlyph.

Checks if the embedded font contains a glyph for the given character code.

Parameters
code:int

character code

Annotations
@Override
isEmbeddedFontback to summary
public boolean isEmbeddedFont()

Overrides org.apache.pdfbox.preflight.font.container.FontContainer.isEmbeddedFont.

Annotations
@Override
isValidback to summary
public boolean isValid()

Overrides org.apache.pdfbox.preflight.font.container.FontContainer.isValid.

Annotations
@Override
setDelegateFontContainerback to summary
public void setDelegateFontContainer(FontContainer<?> delegateFontContainer)