Uses of Interface
com.snowtide.pdf.layout.TextUnit
-
Packages that use TextUnit Package Description com.snowtide.pdf This package contains a variety of core abstractions representing PDFDocument
s and theirPage
s, as well as various PDFxStream interfaces and implementations thereof that simply many PDF data extraction use cases.com.snowtide.pdf.layout This package contains interfaces and classes that PDFxStream uses to represent the document model implicitly defined by the content rendered by eachPage
in a PDFDocument
.pdfts.examples The source code for all classes in this package are included in every PDFxStream distribution, provided to demonstrate how various interfaces and extension points can be utilized to satisfy specialized PDF data extraction requirements. -
-
Uses of TextUnit in com.snowtide.pdf
Methods in com.snowtide.pdf that return types with arguments of type TextUnit Modifier and Type Method Description Collection<TextUnit>
Page. getCharacters()
Returns a collection ofTextUnit
s on this page.Methods in com.snowtide.pdf with parameters of type TextUnit Modifier and Type Method Description void
OutputHandler. textUnit(TextUnit tu)
Invoked when a run of characters is to be outputted, as represented by the givenTextUnit
instance.void
OutputTarget. textUnit(TextUnit tu)
Default implementation that writes the character run specified by the givenTextUnit
instance to theAppendable
held by thisOutputTarget
.void
RegionOutputTarget. textUnit(TextUnit tu)
void
SelectionOutputTarget. textUnit(TextUnit ch)
void
VisualOutputTarget. textUnit(TextUnit tu)
-
Uses of TextUnit in com.snowtide.pdf.layout
Methods in com.snowtide.pdf.layout that return TextUnit Modifier and Type Method Description TextUnit
Line. getTextUnit(int idx)
Returns theTextUnit
at the specified index.TextUnit
Line. remove(int idx)
Removes theTextUnit
at the specified index, and returns it.Methods in com.snowtide.pdf.layout that return types with arguments of type TextUnit Modifier and Type Method Description List<TextUnit>
Line. getTextUnits()
Returns a List view of theTextUnit
s held by this Line.Methods in com.snowtide.pdf.layout with parameters of type TextUnit Modifier and Type Method Description boolean
TextUnit.Predicate. test(TextUnit ch)
Return true if the given character should be included in the page being extracted. -
Uses of TextUnit in pdfts.examples
Methods in pdfts.examples with parameters of type TextUnit Modifier and Type Method Description void
GoogleHTMLOutputHandler. textUnit(TextUnit tu)
void
XMLOutputTarget. textUnit(TextUnit tu)
-