Package | Description |
---|---|
org.apache.pdfbox.contentstream |
This package contains provides classes for working with content streams.
|
org.apache.pdfbox.examples.rendering | |
org.apache.pdfbox.examples.util |
The packages in this package will show how to use the PDFBox util API.
|
org.apache.pdfbox.pdmodel |
The PDModel package represents a high level API for creating and manipulating PDF documents.
|
org.apache.pdfbox.pdmodel.font |
Classes to deal with font functionality in a PDF Document.
|
org.apache.pdfbox.pdmodel.graphics |
The PDModel graphics package deals with graphics states, operations, and parameters within the PDF document.
|
org.apache.pdfbox.pdmodel.graphics.state |
This package deals with graphics states within the PDF document.
|
org.apache.pdfbox.preflight.font | |
org.apache.pdfbox.preflight.font.container | |
org.apache.pdfbox.preflight.process.reflect | |
org.apache.pdfbox.rendering | |
org.apache.pdfbox.text | |
org.apache.pdfbox.tools |
Modifier and Type | Method and Description |
---|---|
protected void |
PDFStreamEngine.showFontGlyph(Matrix textRenderingMatrix,
PDFont font,
int code,
String unicode,
Vector displacement)
Called when a glyph is to be processed.This method is intended for overriding in subclasses,
the default implementation does nothing.
|
protected void |
PDFStreamEngine.showGlyph(Matrix textRenderingMatrix,
PDFont font,
int code,
String unicode,
Vector displacement)
Called when a glyph is to be processed.This method is intended for overriding in subclasses,
the default implementation does nothing.
|
Modifier and Type | Method and Description |
---|---|
protected void |
CustomGraphicsStreamEngine.showGlyph(Matrix textRenderingMatrix,
PDFont font,
int code,
String unicode,
Vector displacement)
Overridden from PDFStreamEngine.
|
Modifier and Type | Method and Description |
---|---|
protected void |
DrawPrintTextLocations.showGlyph(Matrix textRenderingMatrix,
PDFont font,
int code,
String unicode,
Vector displacement) |
Modifier and Type | Method and Description |
---|---|
PDFont |
PDResources.getFont(COSName name)
Returns the font resource with the given name, or null if none exists.
|
PDFont |
ResourceCache.getFont(COSObject indirect)
Returns the font resource for the given indirect object, if it is in the cache.
|
PDFont |
DefaultResourceCache.getFont(COSObject indirect) |
Modifier and Type | Method and Description |
---|---|
COSName |
PDResources.add(PDFont font)
Adds the given font to the resources of the current page and returns the name for the
new resources.
|
void |
PDResources.put(COSName name,
PDFont font)
Sets the font resource with the given name.
|
void |
ResourceCache.put(COSObject indirect,
PDFont font)
Puts the given indirect font resource in the cache.
|
void |
DefaultResourceCache.put(COSObject indirect,
PDFont font) |
void |
PDPageContentStream.setFont(PDFont font,
float fontSize)
Set the font and font size to draw text with.
|
Modifier and Type | Class and Description |
---|---|
class |
PDMMType1Font
Type 1 Multiple Master Font.
|
class |
PDSimpleFont
A simple font.
|
class |
PDTrueTypeFont
TrueType font.
|
class |
PDType0Font
A Composite (Type 0) font.
|
class |
PDType1CFont
Type 1-equivalent CFF font.
|
class |
PDType1Font
A PostScript Type 1 Font.
|
class |
PDType3Font
A PostScript Type 3 Font.
|
Modifier and Type | Method and Description |
---|---|
static PDFont |
PDFontFactory.createDefaultFont()
Create a default font.
|
static PDFont |
PDFontFactory.createFont(COSDictionary dictionary)
Creates a new PDFont instance with the appropriate subclass.
|
Modifier and Type | Method and Description |
---|---|
PDFont |
PDFontSetting.getFont()
This will get the font for this font setting.
|
Modifier and Type | Method and Description |
---|---|
void |
PDFontSetting.setFont(PDFont font)
This will set the font for this font setting.
|
Modifier and Type | Method and Description |
---|---|
PDFont |
PDTextState.getFont()
Get the value of the font.
|
Modifier and Type | Method and Description |
---|---|
void |
PDTextState.setFont(PDFont value)
Set the value of the font.
|
Modifier and Type | Field and Description |
---|---|
protected PDFont |
Type0FontValidator.font |
Modifier and Type | Method and Description |
---|---|
List<Float> |
Type3FontValidator.getWidths(PDFont font) |
Constructor and Description |
---|
Type0FontValidator(PreflightContext context,
PDFont font) |
Constructor and Description |
---|
Type0Container(PDFont font) |
Modifier and Type | Method and Description |
---|---|
protected FontValidator<? extends FontContainer<? extends PDFont>> |
FontValidationProcess.getFontValidator(PreflightContext context,
PDFont font)
Create the right "Validator" object for the given font type
|
Modifier and Type | Method and Description |
---|---|
protected FontValidator<? extends FontContainer<? extends PDFont>> |
FontValidationProcess.getFontValidator(PreflightContext context,
PDFont font)
Create the right "Validator" object for the given font type
|
Modifier and Type | Method and Description |
---|---|
protected void |
PageDrawer.showFontGlyph(Matrix textRenderingMatrix,
PDFont font,
int code,
String unicode,
Vector displacement) |
Modifier and Type | Method and Description |
---|---|
PDFont |
TextPosition.getFont()
This will get the font for the text being drawn.
|
Constructor and Description |
---|
TextPosition(int pageRotation,
float pageWidth,
float pageHeight,
Matrix textMatrix,
float endX,
float endY,
float maxHeight,
float individualWidth,
float spaceWidth,
String unicode,
int[] charCodes,
PDFont font,
float fontSize,
int fontSizeInPt)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
PDFont |
TextToPDF.getFont() |
Modifier and Type | Method and Description |
---|---|
void |
TextToPDF.setFont(PDFont aFont) |
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.