|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.icepdf.core.pobjects.graphics.text.PageText
public class PageText
Page text represents the root element of a page's text hierarchy which looks something like this.
| Constructor Summary | |
|---|---|
PageText()
|
|
| Method Summary | |
|---|---|
protected void |
addGlyph(GlyphText sprite)
|
void |
addGlyph(GlyphText glyphText,
java.util.LinkedList<OptionalContents> oCGs)
|
protected void |
addOptionalPageLines(OptionalContents optionalContent,
GlyphText sprite)
|
void |
addPageLines(java.util.ArrayList<LineText> pageLines)
Adds the specified pageLines to the array of pageLines. |
void |
applyXObjectTransform(java.awt.geom.AffineTransform transform)
Utility method to normalize text created in a Xform content stream and is only called from the contentParser when parsing 'Do' token. |
void |
clearHighlighted()
|
void |
clearSelected()
|
void |
deselectAll()
|
java.util.ArrayList<LineText> |
getPageLines()
Creates a copy of the pageLines array and appends any optional content text that is marked as visible. |
java.lang.StringBuilder |
getSelected()
|
protected void |
newLine()
|
void |
newLine(java.util.LinkedList<OptionalContents> oCGs)
|
void |
selectAll()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PageText()
| Method Detail |
|---|
public void newLine(java.util.LinkedList<OptionalContents> oCGs)
protected void newLine()
protected void addGlyph(GlyphText sprite)
public java.util.ArrayList<LineText> getPageLines()
public void addPageLines(java.util.ArrayList<LineText> pageLines)
pageLines - page lines to add.
public void addGlyph(GlyphText glyphText,
java.util.LinkedList<OptionalContents> oCGs)
protected void addOptionalPageLines(OptionalContents optionalContent,
GlyphText sprite)
public void applyXObjectTransform(java.awt.geom.AffineTransform transform)
transform - do matrix tranformpublic void clearSelected()
clearSelected in interface TextSelectpublic void clearHighlighted()
clearHighlighted in interface TextSelectpublic java.lang.StringBuilder getSelected()
getSelected in interface TextSelectpublic void selectAll()
selectAll in interface TextSelectpublic void deselectAll()
public java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||