Package | Description |
---|---|
org.docx4j.fonts | |
org.docx4j.openpackaging.parts.WordprocessingML |
Modifier and Type | Field and Description |
---|---|
protected ConcurrentHashMap<String,PhysicalFont> |
Mapper.boldForms |
protected ConcurrentHashMap<String,PhysicalFont> |
Mapper.boldItalicForms |
protected static Map<String,PhysicalFont> |
Mapper.fontMappings |
protected ConcurrentHashMap<String,PhysicalFont> |
Mapper.italicForms |
protected ConcurrentHashMap<String,PhysicalFont> |
Mapper.regularForms |
Modifier and Type | Method and Description |
---|---|
static PhysicalFont |
PhysicalFonts.get(String key)
Get a PhysicalFont
by case-insensitive name.
|
PhysicalFont |
Mapper.get(String key)
Get a PhysicalFont from FontMappings,
by case-insensitive name.
|
static PhysicalFont |
PhysicalFonts.getBoldForm(PhysicalFont pf) |
PhysicalFont |
Mapper.getBoldForm(String fontNameAsInFontTablePart,
PhysicalFont pf) |
static PhysicalFont |
PhysicalFonts.getBoldItalicForm(PhysicalFont pf) |
PhysicalFont |
Mapper.getBoldItalicForm(String fontNameAsInFontTablePart,
PhysicalFont pf) |
static PhysicalFont |
PhysicalFonts.getItalicForm(PhysicalFont pf) |
PhysicalFont |
Mapper.getItalicForm(String fontNameAsInFontTablePart,
PhysicalFont pf) |
PhysicalFont |
Mapper.getRegularForm(String fontNameAsInFontTablePart) |
Modifier and Type | Method and Description |
---|---|
Map<String,PhysicalFont> |
Mapper.getFontMappings()
Deprecated.
|
static List<PhysicalFont> |
PhysicalFonts.getPhysicalFont(String nameAsInFontTablePart,
URL fontUrl)
Get a physical font's EmbedFontInfo object.
|
static Map<String,PhysicalFont> |
PhysicalFonts.getPhysicalFonts()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static PhysicalFont |
PhysicalFonts.getBoldForm(PhysicalFont pf) |
PhysicalFont |
Mapper.getBoldForm(String fontNameAsInFontTablePart,
PhysicalFont pf) |
static PhysicalFont |
PhysicalFonts.getBoldItalicForm(PhysicalFont pf) |
PhysicalFont |
Mapper.getBoldItalicForm(String fontNameAsInFontTablePart,
PhysicalFont pf) |
static PhysicalFont |
PhysicalFonts.getItalicForm(PhysicalFont pf) |
PhysicalFont |
Mapper.getItalicForm(String fontNameAsInFontTablePart,
PhysicalFont pf) |
static boolean |
GlyphCheck.hasChar(PhysicalFont physicalFont,
char c) |
static void |
PhysicalFonts.put(String key,
PhysicalFont pf)
Put a PhysicalFont
by case-insensitive name.
|
void |
Mapper.put(String key,
PhysicalFont pf)
Put a PhysicalFont into FontMappings,
by case-insensitive name.
|
void |
Mapper.registerBoldForm(String fontNameAsInFontTablePart,
PhysicalFont pfBold) |
void |
Mapper.registerBoldItalicForm(String fontNameAsInFontTablePart,
PhysicalFont pfBoldItalic) |
void |
Mapper.registerItalicForm(String fontNameAsInFontTablePart,
PhysicalFont pfItalic) |
void |
Mapper.registerRegularForm(String fontNameAsInFontTablePart,
PhysicalFont pfRegular) |
Modifier and Type | Method and Description |
---|---|
PhysicalFont |
ObfuscatedFontPart.deObfuscate(String fontNameAsInTablePart,
String fontFileName,
String fontKey,
String filenamePrefix)
deObfuscate this font, and save it using fontName
|
Copyright © 2007-2019. All Rights Reserved.