Class PreparationContextGlobal

java.lang.Object
com.helger.pdflayout.render.PreparationContextGlobal

@NotThreadSafe public final class PreparationContextGlobal extends Object
The current global context for preparing an element. This object must be the same for all prepared elements. It keeps all loaded fonts so that they are not included more than once.
Author:
Philip Helger
  • Constructor Details

    • PreparationContextGlobal

      public PreparationContextGlobal(@Nonnull org.apache.pdfbox.pdmodel.PDDocument aDoc)
      Constructor
      Parameters:
      aDoc - The PDDocument worked upon
  • Method Details