Uses of Class
com.snowtide.pdf.layout.Direction
-
Packages that use Direction 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
. -
-
Uses of Direction in com.snowtide.pdf
Methods in com.snowtide.pdf that return Direction Modifier and Type Method Description Direction
Page. guessDirection()
Returns the "base"Direction
of this page, determined via a heuristic that surveys the entire page's contents.Methods in com.snowtide.pdf with parameters of type Direction Modifier and Type Method Description BlockParent
Page. getTextContent(Direction baseDir)
Returns a BlockParent instance that contains all Block instances held by this Page, which in turn hold all text content for this Page.void
OutputSource. pipe(OutputHandler handler, Direction bd)
Extracts all available text from thisOutputSource
, sending all PDF text events to the givenOutputHandler
, with the specifiedDirection
.void
PDFTextStream. pipe(OutputHandler handler, Direction bd)
Deprecated.Constructors in com.snowtide.pdf with parameters of type Direction Constructor Description RegionOutputTarget(boolean useVisualTarget, Direction bd)
Creates a new RegionOutputTarget. -
Uses of Direction in com.snowtide.pdf.layout
Methods in com.snowtide.pdf.layout that return Direction Modifier and Type Method Description Direction
Word. direction()
Returns the direction of the text flow within thisWord
.Direction
Block. guessDirection()
Returns theDirection
of this block (in aggregate of all of its lines and child blocks, if any), determined via a heuristic that surveys all included text content.static Direction
Direction. valueOf(String name)
Returns the enum constant of this type with the specified name.static Direction[]
Direction. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in com.snowtide.pdf.layout with parameters of type Direction Modifier and Type Method Description List<Span>
Line. spans(Direction basedir)
Returns a list ofSpan
s identified within this line of text.
-