Class Type0Container
- java.lang.Object
-
- org.apache.pdfbox.preflight.font.container.FontContainer<PDFont>
-
- org.apache.pdfbox.preflight.font.container.Type0Container
-
public class Type0Container extends FontContainer<PDFont>
-
-
Field Summary
Fields Modifier and Type Field Description private FontContainer<?>delegateFontContainer-
Fields inherited from class org.apache.pdfbox.preflight.font.container.FontContainer
embeddedFont, errorBuffer, font
-
-
Constructor Summary
Constructors Constructor Description Type0Container(PDFont font)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<ValidationResult.ValidationError>getAllErrors()booleanhasGlyph(int code)Checks if the embedded font contains a glyph for the given character code.booleanisEmbeddedFont()booleanisValid()voidsetDelegateFontContainer(FontContainer<?> delegateFontContainer)-
Methods inherited from class org.apache.pdfbox.preflight.font.container.FontContainer
checkGlyphWidth, errorsAleadyMerged, markAsInvalid, markAsValid, notEmbedded, push, push, setErrorsAlreadyMerged
-
-
-
-
Field Detail
-
delegateFontContainer
private FontContainer<?> delegateFontContainer
-
-
Constructor Detail
-
Type0Container
public Type0Container(PDFont font)
-
-
Method Detail
-
setDelegateFontContainer
public void setDelegateFontContainer(FontContainer<?> delegateFontContainer)
-
getAllErrors
public java.util.List<ValidationResult.ValidationError> getAllErrors()
- Overrides:
getAllErrorsin classFontContainer<PDFont>
-
isValid
public boolean isValid()
- Overrides:
isValidin classFontContainer<PDFont>
-
isEmbeddedFont
public boolean isEmbeddedFont()
- Overrides:
isEmbeddedFontin classFontContainer<PDFont>
-
hasGlyph
public boolean hasGlyph(int code) throws java.io.IOExceptionDescription copied from class:FontContainerChecks if the embedded font contains a glyph for the given character code.- Specified by:
hasGlyphin classFontContainer<PDFont>- Parameters:
code- character code- Throws:
java.io.IOException
-
-