public class PDFViewCtrl.Selection
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAsHtml()
Get the selected text as html.
|
java.lang.String |
getAsUnicode()
Get the selected text as unicode string
|
int |
getPageNum()
Get the page number containing the selected text
|
double[] |
getQuads()
Returns the list of tight bounding quads in the current text
selection.
|
public int getPageNum()
public double[] getQuads()
public java.lang.String getAsUnicode()
public java.lang.String getAsHtml()
Note: this function can be used to implement clipboard copy and paste that preserves text formatting.