Package | Description |
---|---|
com.aspose.pdf |
The
com.aspose.pdf is a root package for all classes of Aspose.PDF for Java library
which are either directly in it like Document or indirectly through several
subpackages. |
com.aspose.pdf.facades |
The
com.aspose.pdf.facades package provides classes originally came from
Aspose.Pdf.Kit. |
com.aspose.pdf.operators |
The
com.aspose.pdf.operators is a package for Operator implementations. |
com.aspose.pdf.tagged.logicalstructure.elements |
The
<b>com.aspose.pdf.tagged.logicalstructure.elements </b> is a namespace for PDF Logical Structure classes. |
com.aspose.pdf.text |
The
com.aspose.pdf.text package provides classes that allow to extract text,
add text, manipulate existing text of a document. |
Modifier and Type | Method and Description |
---|---|
static Font |
FontRepository.findFont(String fontName)
Searches and returns font with specified font name.
|
static Font |
FontRepository.findFont(String fontName,
boolean ignoreCase)
Searches and returns font with specified font name ignoring or honoring case sensitivity.
|
static Font |
FontRepository.findFont(String fontFamilyName,
int stl)
Searches and returns font with specified font name and font style.
|
static Font |
FontRepository.findFont(String fontFamilyName,
int stl,
boolean ignoreCase)
Searches and returns font with specified font name and font style ignoring or honoring case
sensitivity.
|
Font |
FontCollection.get_Item(int index)
Gets the font element at the specified index.
|
Font |
FontCollection.get_Item(String name)
Gets font from the collection by font name.
|
Font[] |
Document.IDocumentFontUtilities.getAllFonts()
Returns all fonts from document
|
static Font |
TextStamp.getDefaultFont()
Returns default font
|
Font |
DefaultAppearance.getFont()
Gets font specified as default for text.
|
Font |
TextFragmentState.getFont()
Gets font of the text, represented by the
TextFragment object
|
Font |
TextState.getFont()
Gets font of the text.
|
Font |
TextEditOptions.getReplacementFont()
Gets or sets font used for replacing if user font does not contain required character
|
static Font |
InternalHelper.newFont(com.aspose.fonts.IFont font) |
static Font |
InternalHelper.newFont(com.aspose.pdf.engine.data.ITrailerable trailerable,
com.aspose.pdf.engine.commondata.text.fonts.IPdfFont iPdfFont) |
static Font |
FontRepository.openFont(InputStream fontStream,
int fontType)
Opens font with specified font stream.
|
static Font |
FontRepository.openFont(String fontFilePath)
Opens font with specified font file path.
|
static Font |
FontRepository.openFont(String fontFilePath,
String metricsFilePath)
Opens font with specified font file path and metrics file path.
|
Modifier and Type | Method and Description |
---|---|
static com.aspose.pdf.engine.collections.HashDictionary<String,Font> |
InternalHelper.FontCollection_getHash(FontCollection fonts) |
com.aspose.pdf.engine.collections.HashDictionary<String,Font> |
FontCollection.getHash() |
static com.aspose.pdf.engine.collections.HashDictionary<String,Font> |
InternalHelper.getHash(FontCollection fonts) |
Iterator<Font> |
FontCollection.iterator()
Returns an enumerator for the entire collection.
|
Modifier and Type | Method and Description |
---|---|
void |
FontCollection.add(Font fragment)
Adds Font into collection.
|
void |
FontCollection.add(Font newFont,
String[] resName)
Adds new font to font resources and returns automatically assigned name of font resource.
|
void |
TextFragmentAbsorber.applyForAllFragments(Font font)
Applies font for all text fragments that were absorbed.
|
void |
TextFragmentAbsorber.applyForAllFragments(Font font,
float fontSize)
Applies font and size for all text fragments that were absorbed.
|
boolean |
FontCollection.contains(Font item)
Determines whether the collection contains a specific value.
|
void |
FontCollection.copyTo(Font[] array,
int index)
Copies the entire collection to a compatible one-dimensional Array, starting at the specified
index of the target array
|
boolean |
FontCollection.remove(Font item)
Deletes specified item from collection.
|
void |
TextFragmentState.setFont(Font value)
Sets font of the text, represented by the
TextFragment object
|
void |
TextState.setFont(Font value)
Gets font of the text.
|
void |
TextState.setFontSuppressedUpdate(Font value)
Gets font of the text wish suppressed update.
|
void |
TextEditOptions.setReplacementFont(Font value)
Gets or sets font used for replacing if user font does not contain required character
|
Constructor and Description |
---|
DefaultAppearance(Font font,
double fontSize,
Color textColor)
Constructor of DefaultAppearance.
|
Modifier and Type | Method and Description |
---|---|
Font |
FormattedText.getFont()
Gets font
|
Constructor and Description |
---|
ShowText(String text,
Font font) |
Modifier and Type | Method and Description |
---|---|
Font |
StructureTextState.getFont()
Gets or sets the font of text.
|
Modifier and Type | Method and Description |
---|---|
void |
StructureTextState.setFont(Font value)
Gets or sets the font of text.
|
Modifier and Type | Method and Description |
---|---|
Font |
SystemFontsSubstitution.getDefaultFont()
Gets or sets default substitution font.
|
Modifier and Type | Method and Description |
---|---|
void |
SystemFontsSubstitution.setDefaultFont(Font value)
Gets or sets default substitution font.
|
boolean |
CustomFontSubstitutionBase.trySubstitute(CustomFontSubstitutionBase.OriginalFontSpecification originalFontSpecification,
Font[] substitutionFont)
Substitutes original font with another font.
|