Class PdfBoxUserAgent

    • Method Detail

      • readStream

        private byte[] readStream​(java.io.InputStream is)
                           throws java.io.IOException
        Throws:
        java.io.IOException
      • getImageResource

        public ImageResource getImageResource​(java.lang.String uriStr)
        Description copied from interface: UserAgentCallback
        Retrieves the Image at the given URI. This is a synchronous call.
        Parameters:
        uriStr - Location of the image
        Returns:
        An ImageResource for the content at the URI.
      • scaleToOutputResolution

        private void scaleToOutputResolution​(PdfBoxImage image)
      • setSharedContext

        public void setSharedContext​(SharedContext sharedContext)