Class PdfSaveOptions.FontSource

java.lang.Object
com.independentsoft.office.pdf.PdfSaveOptions.FontSource
Enclosing class:
PdfSaveOptions

public static class PdfSaveOptions.FontSource extends Object
A registered font source.
  • Constructor Details

    • FontSource

      public FontSource()
  • Method Details

    • getFamily

      public String getFamily()
      Gets the font family name.
      Returns:
      the family name
    • isBold

      public boolean isBold()
      Gets whether this is the bold variant.
      Returns:
      true if bold
    • isItalic

      public boolean isItalic()
      Gets whether this is the italic variant.
      Returns:
      true if italic
    • getFilePath

      public String getFilePath()
      Gets the file path or null when registered from bytes.
      Returns:
      the file path
    • getData

      public byte[] getData()
      Gets the font data or null when registered from a file path.
      Returns:
      the font data