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()
boolean
hasGlyph(int code)
Checks if the embedded font contains a glyph for the given character code.boolean
isEmbeddedFont()
boolean
isValid()
void
setDelegateFontContainer(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:
getAllErrors
in classFontContainer<PDFont>
-
isValid
public boolean isValid()
- Overrides:
isValid
in classFontContainer<PDFont>
-
isEmbeddedFont
public boolean isEmbeddedFont()
- Overrides:
isEmbeddedFont
in classFontContainer<PDFont>
-
hasGlyph
public boolean hasGlyph(int code) throws java.io.IOException
Description copied from class:FontContainer
Checks if the embedded font contains a glyph for the given character code.- Specified by:
hasGlyph
in classFontContainer<PDFont>
- Parameters:
code
- character code- Throws:
java.io.IOException
-
-