Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@MasseR
Created October 31, 2012 12:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MasseR/3986869 to your computer and use it in GitHub Desktop.
Save MasseR/3986869 to your computer and use it in GitHub Desktop.
public void processStream(PDPage aPage,
PDResources resources,
COSStream cosStream)
throws java.io.IOException
protected void processTextPosition(TextPosition text)
A method provided as an event interface to allow a subclass to perform some specific functionality when text needs to be processed.
Parameters:
text - The text to be processed.
///
I need to invoke processStream method and override processTextPosition. The TextPosition has the information I need and afaik this is the only way to get the position out of the element. I'm intending to return something like ({:elem 'f' :x 15 :y 15})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment