Class PDFDebugger

java.lang.Object
org.loboevolution.pdfview.PDFDebugger

public class PDFDebugger extends Object

PDFDebugger class.

  • Field Details

    • DEBUG_DCTDECODE_DATA

      public static final String DEBUG_DCTDECODE_DATA
      Constant DEBUG_DCTDECODE_DATA="debugdctdecode"
      See Also:
    • DEBUG_TEXT

      public static final boolean DEBUG_TEXT
      Constant DEBUG_TEXT=false
      See Also:
    • DEBUG_IMAGES

      public static final boolean DEBUG_IMAGES
      Constant DEBUG_IMAGES=false
      See Also:
    • DEBUG_OPERATORS

      public static final boolean DEBUG_OPERATORS
      Constant DEBUG_OPERATORS=false
      See Also:
    • DEBUG_PATH

      public static final boolean DEBUG_PATH
      Constant DEBUG_PATH=false
      See Also:
    • DEBUG_STOP_AT_INDEX

      public static final int DEBUG_STOP_AT_INDEX
      Constant DEBUG_STOP_AT_INDEX=0
      See Also:
    • DISABLE_TEXT

      public static final boolean DISABLE_TEXT
      Constant DISABLE_TEXT=false
      See Also:
    • DISABLE_IMAGES

      public static final boolean DISABLE_IMAGES
      Constant DISABLE_IMAGES=false
      See Also:
    • DISABLE_PATH_STROKE

      public static final boolean DISABLE_PATH_STROKE
      Constant DISABLE_PATH_STROKE=false
      See Also:
    • DISABLE_PATH_FILL

      public static final boolean DISABLE_PATH_FILL
      Constant DISABLE_PATH_FILL=false
      See Also:
    • DISABLE_PATH_STROKE_FILL

      public static final boolean DISABLE_PATH_STROKE_FILL
      Constant DISABLE_PATH_STROKE_FILL=false
      See Also:
    • DISABLE_CLIP

      public static final boolean DISABLE_CLIP
      Constant DISABLE_CLIP=false
      See Also:
    • DISABLE_FORMS

      public static final boolean DISABLE_FORMS
      Constant DISABLE_FORMS=false
      See Also:
    • DISABLE_SHADER

      public static final boolean DISABLE_SHADER
      Constant DISABLE_SHADER=false
      See Also:
    • SHOW_TEXT_REGIONS

      public static final boolean SHOW_TEXT_REGIONS
      Constant SHOW_TEXT_REGIONS=false
      See Also:
    • SHOW_TEXT_ANCHOR

      public static final boolean SHOW_TEXT_ANCHOR
      Constant SHOW_TEXT_ANCHOR=false
      See Also:
    • DISABLE_THUMBNAILS

      public static final boolean DISABLE_THUMBNAILS
      Constant DISABLE_THUMBNAILS=false
      See Also:
    • DRAW_DELAY

      public static final long DRAW_DELAY
      Constant DRAW_DELAY=0
      See Also:
    • debuglevel

      public static int debuglevel
      Constant debuglevel=4000
  • Constructor Details

    • PDFDebugger

      public PDFDebugger()
  • Method Details

    • debugImage

      public static void debugImage(BufferedImage image, String name)

      debugImage.

      Parameters:
      image - a BufferedImage object.
      name - a String object.
    • debug

      public static void debug(String msg, int level)

      debug.

      Parameters:
      msg - a String object.
      level - a Integer object.
    • debug

      public static void debug(String msg)

      debug.

      Parameters:
      msg - a String object.
    • escape

      public static String escape(String msg)

      escape.

      Parameters:
      msg - a String object.
      Returns:
      a String object.
    • setDebugLevel

      public static void setDebugLevel(int level)

      setDebugLevel.

      Parameters:
      level - a Integer object.
    • dumpStream

      public static String dumpStream(byte[] stream)

      dumpStream.

      Parameters:
      stream - an array of
      invalid reference
      byte
      objects.
      Returns:
      a String object.
    • logPath

      public static void logPath(GeneralPath path, String operation)

      logPath.

      Parameters:
      path - a GeneralPath object.
      operation - a String object.
    • dump

      public static void dump(PDFObject obj) throws IOException

      dump.

      Parameters:
      obj - a PDFObject object.
      Throws:
      IOException - if any.