public class FontSubstitutionInfo
extends java.lang.Object
This structure represents the information about the font replacement when it will be rendered.
Presentation pres = new Presentation("pres.pptx"); try { for (FontSubstitutionInfo fontSubstitution : pres.getFontsManager().getSubstitutions()) { System.out.println(fontSubstitution.getOriginalFontName() + " -> " + fontSubstitution.getSubstitutedFontName()); } } finally { if (pres != null) pres.dispose(); }
| Constructor and Description |
|---|
FontSubstitutionInfo(java.lang.String originFontName,
java.lang.String substFontName)
Creates an instance of
FontSubstitutionInfo class. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getOriginalFontName()
Indicates source font name in presentation.
|
java.lang.String |
getSubstitutedFontName()
Indicates the replacement font name for the original font.
|
public FontSubstitutionInfo(java.lang.String originFontName,
java.lang.String substFontName)
Creates an instance of FontSubstitutionInfo class.
originFontName - Source font name in presentation StringsubstFontName - Replacement font name for the original font Stringpublic final java.lang.String getOriginalFontName()
Indicates source font name in presentation.
Read-only String
public final java.lang.String getSubstitutedFontName()
Indicates the replacement font name for the original font.
Read-only String
Copyright © 2004-2025 Aspose Pty Ltd. All Rights Reserved.