Package | Description |
---|---|
com.lowagie.text | |
com.lowagie.text.html | |
com.lowagie.text.pdf | |
com.lowagie.text.pdf.codec.wmf | |
com.lowagie.text.xml |
Modifier and Type | Method and Description |
---|---|
BaseFont |
Font.getBaseFont()
Gets the
BaseFont inside this object. |
BaseFont |
Font.getCalculatedBaseFont(boolean specialEncoding)
Gets the
BaseFont this class represents. |
Constructor and Description |
---|
Font(BaseFont bf)
Constructs a Font.
|
Font(BaseFont bf,
float size)
Constructs a Font.
|
Font(BaseFont bf,
float size,
int style)
Constructs a Font.
|
Font(BaseFont bf,
float size,
int style,
Color color)
Constructs a Font.
|
Constructor and Description |
---|
SAXmyHtmlHandler(DocListener document,
BaseFont bf)
Constructs a new SAXiTextHandler that will translate all the events
triggered by the parser to actions on the
Document -object. |
SAXmyHtmlHandler(DocListener document,
HtmlTagMap htmlTags,
BaseFont bf) |
Modifier and Type | Class and Description |
---|---|
class |
CMapAwareDocumentFont
Implementation of DocumentFont used while parsing PDF streams.
|
class |
DocumentFont |
class |
Type3Font
A class to support Type3 fonts.
|
Modifier and Type | Field and Description |
---|---|
protected BaseFont |
PdfChunk.baseFont |
protected BaseFont |
BaseField.font |
protected BaseFont |
Barcode.font
The text font.
|
Modifier and Type | Field and Description |
---|---|
protected LinkedHashMap<BaseFont,com.lowagie.text.pdf.FontDetails> |
PdfWriter.documentFonts
The fonts of this document
|
protected static ConcurrentHashMap<String,BaseFont> |
BaseFont.fontCache
cache for the fonts already used.
|
Modifier and Type | Method and Description |
---|---|
BaseFont |
FontMapper.awtToPdf(Font font)
Returns a BaseFont which can be used to represent the given AWT Font
|
BaseFont |
DefaultFontMapper.awtToPdf(Font font)
Returns a BaseFont which can be used to represent the given AWT Font
|
BaseFont |
AsianFontMapper.awtToPdf(Font font) |
static BaseFont |
BaseFont.createFont()
Creates a new font.
|
static BaseFont |
BaseFont.createFont(PRIndirectReference fontRef)
Creates a font based on an existing document font.
|
static BaseFont |
BaseFont.createFont(String name,
String encoding,
boolean embedded)
Creates a new font.
|
static BaseFont |
BaseFont.createFont(String name,
String encoding,
boolean embedded,
boolean forceRead)
Creates a new font.
|
static BaseFont |
BaseFont.createFont(String name,
String encoding,
boolean embedded,
boolean cached,
byte[] ttfAfm,
byte[] pfb)
Creates a new font.
|
static BaseFont |
BaseFont.createFont(String name,
String encoding,
boolean embedded,
boolean cached,
byte[] ttfAfm,
byte[] pfb,
boolean noThrow)
Creates a new font.
|
static BaseFont |
BaseFont.createFont(String name,
String encoding,
boolean embedded,
boolean cached,
byte[] ttfAfm,
byte[] pfb,
boolean noThrow,
boolean forceRead)
Creates a new font.
|
BaseFont |
TextField.getExtensionFont()
Gets the extensionFont.
|
BaseFont |
BaseField.getFont()
Gets the text font.
|
BaseFont |
Barcode.getFont()
Gets the text font.
|
protected BaseFont |
BaseField.getRealFont() |
Modifier and Type | Method and Description |
---|---|
List<BaseFont> |
AcroFields.getAllSubstitutionFonts()
Gets the list of substitution fonts.
|
List<BaseFont> |
TextField.getSubstitutionFontList()
Gets the list of substitution fonts.
|
Modifier and Type | Method and Description |
---|---|
PdfFormField |
PdfAcroForm.addComboBox(String name,
String[][] options,
String defaultValue,
boolean editable,
BaseFont font,
float fontSize,
float llx,
float lly,
float urx,
float ury) |
PdfFormField |
PdfAcroForm.addComboBox(String name,
String[] options,
String defaultValue,
boolean editable,
BaseFont font,
float fontSize,
float llx,
float lly,
float urx,
float ury) |
PdfFormField |
PdfAcroForm.addHtmlPostButton(String name,
String caption,
String value,
String url,
BaseFont font,
float fontSize,
float llx,
float lly,
float urx,
float ury) |
PdfFormField |
PdfAcroForm.addMultiLineTextField(String name,
String text,
BaseFont font,
float fontSize,
float llx,
float lly,
float urx,
float ury) |
PdfFormField |
PdfAcroForm.addResetButton(String name,
String caption,
String value,
BaseFont font,
float fontSize,
float llx,
float lly,
float urx,
float ury) |
PdfFormField |
PdfAcroForm.addSelectList(String name,
String[][] options,
String defaultValue,
BaseFont font,
float fontSize,
float llx,
float lly,
float urx,
float ury) |
PdfFormField |
PdfAcroForm.addSelectList(String name,
String[] options,
String defaultValue,
BaseFont font,
float fontSize,
float llx,
float lly,
float urx,
float ury) |
PdfFormField |
PdfAcroForm.addSingleLinePasswordField(String name,
String text,
BaseFont font,
float fontSize,
float llx,
float lly,
float urx,
float ury) |
PdfFormField |
PdfAcroForm.addSingleLineTextField(String name,
String text,
BaseFont font,
float fontSize,
float llx,
float lly,
float urx,
float ury) |
void |
AcroFields.addSubstitutionFont(BaseFont font)
Adds a substitution font to the list.
|
protected static ArrayList |
BaseField.breakLines(ArrayList breaks,
BaseFont font,
float fontSize,
float width)
Deprecated.
|
protected static List<String> |
BaseField.breakLines(List<String> breaks,
BaseFont font,
float fontSize,
float width) |
static byte[] |
FopGlyphProcessor.convertToBytesWithGlyphs(BaseFont font,
String text,
String fileName,
Map<Integer,int[]> longTag,
String language) |
void |
PdfContentByte.drawButton(float llx,
float lly,
float urx,
float ury,
String text,
BaseFont bf,
float size)
Draws a button.
|
void |
PdfAcroForm.drawButton(PdfFormField button,
String caption,
BaseFont font,
float fontSize,
float llx,
float lly,
float urx,
float ury) |
void |
PdfAcroForm.drawMultiLineOfText(PdfFormField field,
String text,
BaseFont font,
float fontSize,
float llx,
float lly,
float urx,
float ury) |
void |
PdfAcroForm.drawSingleLineOfText(PdfFormField field,
String text,
BaseFont font,
float fontSize,
float llx,
float lly,
float urx,
float ury) |
String |
HyphenationEvent.getHyphenatedWordPre(String word,
BaseFont font,
float fontSize,
float remainingWidth)
Hyphenates a word and returns the first part of it.
|
String |
HyphenationAuto.getHyphenatedWordPre(String word,
BaseFont font,
float fontSize,
float remainingWidth)
Hyphenates a word and returns the first part of it.
|
static PdfTextArray |
PdfContentByte.getKernArray(String text,
BaseFont font)
Constructs a kern array for a text in a certain font
|
Font |
FontMapper.pdfToAwt(BaseFont font,
int size)
Returns an AWT Font which can be used to represent the given BaseFont
|
Font |
DefaultFontMapper.pdfToAwt(BaseFont font,
int size)
Returns an AWT Font which can be used to represent the given BaseFont
|
void |
TextField.setExtensionFont(BaseFont extensionFont)
Sets the extensionFont.
|
void |
BaseField.setFont(BaseFont font)
Sets the text font.
|
void |
Barcode.setFont(BaseFont font)
Sets the text font.
|
void |
PdfImportedPage.setFontAndSize(BaseFont bf,
float size)
Always throws an error.
|
void |
PdfContentByte.setFontAndSize(BaseFont bf,
float size)
Set the font and the size for the subsequent text writing.
|
void |
PdfAppearance.setFontAndSize(BaseFont bf,
float size)
Set the font and the size for the subsequent text writing.
|
Modifier and Type | Method and Description |
---|---|
void |
AcroFields.setAllSubstitutionFonts(List<BaseFont> substitutionFonts)
Sets a list of substitution fonts.
|
void |
TextField.setSubstitutionFontList(List<BaseFont> substitutionFonts)
Sets a list of substitution fonts.
|
void |
TextField.setSubstitutionFonts(List<BaseFont> substitutionFonts)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
BaseFont |
MetaFont.getFont() |
Modifier and Type | Method and Description |
---|---|
void |
SAXiTextHandler.setBaseFont(BaseFont bf)
Sets the font that has to be used.
|
Constructor and Description |
---|
SAXiTextHandler(DocListener document,
Map<String,T> myTags,
BaseFont bf) |
Copyright © 2020. All rights reserved.