java.lang.Object

public final class FontTablePart
extends JaxbXmlPart<Fonts>
  • Constructor Details

  • Method Details

    • init

      public void init()
    • unmarshalDefaultFonts

      public java.lang.Object unmarshalDefaultFonts() throws javax.xml.bind.JAXBException
      Unmarshal a default font table, useful when creating this part from scratch.
      Returns:
      the newly created root object of the java content tree
      Throws:
      javax.xml.bind.JAXBException - If any unexpected errors occur while unmarshalling
    • processEmbeddings

      public void processEmbeddings()
    • processEmbeddings

      public void processEmbeddings​(Mapper fontMapper)
    • deleteEmbeddedFontTempFiles

      public void deleteEmbeddedFontTempFiles()
      Temporary embedded fonts should be deleted on exit, but for a long running app that may not be adequate, in which case you'll want to invoke this method when you have finished with a WordML pkg. You can get this part from your MainDocumentPart, using getFontTablePart()
    • main

      public static void main​(java.lang.String[] args) throws java.lang.Exception
      Throws:
      java.lang.Exception