Class CMapFile


  • public class CMapFile
    extends Object
    Class represents CMap file embedded into COSStream.
    Author:
    Sergey Shemyakov
    • Constructor Detail

      • CMapFile

        public CMapFile​(COSStream parentStream)
        Constructor from COSStream containing CMap.
        Parameters:
        parentStream - is CMap stream.
    • Method Detail

      • getDictWMode

        public int getDictWMode()
        Returns:
        the value of the WMode entry in the parent CMap dictionary.
      • getWMode

        public int getWMode()
        Returns:
        the value of the WMode entry in the embedded CMap file.
        Throws:
        IOException - if problem with parsing CMap file occurs.
      • getMaxCID

        public int getMaxCID()