| Package | Description | 
|---|---|
| org.apache.pdfbox.pdmodel | The PDModel package represents a high level API for creating and manipulating PDF documents. | 
| org.apache.pdfbox.pdmodel.edit | The PDModel edit package will be used to store classes for creating page content. | 
| 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.text | The PDModel text package deals with text states, operations, and parameters within the PDF document. | 
| org.apache.pdfbox.util | This package contains utility classes that are used by the PDFBox project. | 
| Modifier and Type | Method and Description | 
|---|---|
| Map<String,PDFont> | PDResources. getFonts()This will get the map of fonts. | 
| Map<String,PDFont> | PDResources. getFonts(Map<String,PDFont> fontCache)Deprecated. 
 due to some side effects font caching is no longer supported, use  PDResources.getFonts()instead | 
| Modifier and Type | Method and Description | 
|---|---|
| String | PDResources. addFont(PDFont font)Adds the given font to the resources of the current page. | 
| String | PDResources. addFont(PDFont font,
       String fontKey)Adds the given font to the resources of the current page using the given font key. | 
| Modifier and Type | Method and Description | 
|---|---|
| Map<String,PDFont> | PDResources. getFonts(Map<String,PDFont> fontCache)Deprecated. 
 due to some side effects font caching is no longer supported, use  PDResources.getFonts()instead | 
| void | PDResources. setFonts(Map<String,PDFont> fontsValue)This will set the map of fonts. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | PDPageContentStream. setFont(PDFont font,
       float fontSize)Set the font to draw text with. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | PDCIDFontThis is implementation for the CIDFontType0/CIDFontType2 Fonts. | 
| class  | PDCIDFontType0FontThis is implementation of the CIDFontType0 Font. | 
| class  | PDCIDFontType2FontThis is implementation of the CIDFontType2 Font. | 
| class  | PDMMType1FontThis is implementation of the Multiple Master Type1 Font. | 
| class  | PDSimpleFontThis class contains implementation details of the simple pdf fonts. | 
| class  | PDTrueTypeFontThis is the TrueType implementation of fonts. | 
| class  | PDType0FontThis is implementation of the Type0 Font. | 
| class  | PDType1AfmPfbFontThis is implementation of the Type1 Font with a afm and a pfb file. | 
| class  | PDType1CFontThis class represents a CFF/Type2 Font (aka Type1C Font). | 
| class  | PDType1FontThis is implementation of the Type1 Font. | 
| class  | PDType3FontThis is implementation of the Type3 Font. | 
| Modifier and Type | Method and Description | 
|---|---|
| static PDFont | PDFontFactory. createDefaultFont()Create a default font | 
| static PDFont | PDFontFactory. createFont(COSDictionary dic)This will create the correct font based on information in the dictionary. | 
| static PDFont | PDFontFactory. createFont(COSDictionary dic,
          Map fontCache)Deprecated. 
 due to some side effects font caching is no longer supported, 
 use  PDFontFactory.createFont(COSDictionary)instead | 
| PDFont | PDType0Font. getDescendantFont()Provides the descendant font. | 
| 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 | Method and Description | 
|---|---|
| PDFont | TextPosition. getFont()This will get the font for the text being drawn. | 
| Modifier and Type | Method and Description | 
|---|---|
| Map<String,PDFont> | PDFStreamEngine. getFonts() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | PDFStreamEngine. setFonts(Map<String,PDFont> value) | 
| Constructor and Description | 
|---|
| TextPosition(int pageRotation,
            float pageWidthValue,
            float pageHeightValue,
            Matrix textPositionSt,
            float endXValue,
            float endYValue,
            float maxFontH,
            float individualWidth,
            float spaceWidth,
            String string,
            int[] codePoints,
            PDFont currentFont,
            float fontSizeValue,
            int fontSizeInPt)Constructor. | 
| TextPosition(int pageRotation,
            float pageWidthValue,
            float pageHeightValue,
            Matrix textPositionSt,
            float endXValue,
            float endYValue,
            float maxFontH,
            float individualWidth,
            float spaceWidth,
            String string,
            PDFont currentFont,
            float fontSizeValue,
            int fontSizeInPt) | 
| TextPosition(int pageRotation,
            float pageWidthValue,
            float pageHeightValue,
            Matrix textPositionSt,
            Matrix textPositionEnd,
            float maxFontH,
            float individualWidth,
            float spaceWidth,
            String string,
            PDFont currentFont,
            float fontSizeValue,
            int fontSizeInPt) | 
| TextPosition(PDPage page,
            Matrix textPositionSt,
            Matrix textPositionEnd,
            float maxFontH,
            float[] individualWidths,
            float spaceWidth,
            String string,
            PDFont currentFont,
            float fontSizeValue,
            int fontSizeInPt,
            float ws)Constructor. | 
Copyright © 2002–2016 The Apache Software Foundation. All rights reserved.