| Package | Description |
|---|---|
| de.citec.scie.pdf.structure |
| Modifier and Type | Class and Description |
|---|---|
class |
Document
This represents a parsed document which is defined as a sequence of pages.
|
class |
LineSegment
The LineSegment class implements the AbstractLineSegmentSegment interface and
adds (static) utility functions that help to compare to lines.
|
class |
Page
This represents one Page of a document, consisting of a (syntactically
meaningful) sequence of TextBlock instances (e.g. columns in a two-column
formatted Text).
|
class |
Paragraph
This represents a paragraph of text that is defined as a sequence of Text
objects that syntactically were grouped in a paragraph.
|
class |
Text
This is a wrapper class for text itself with additional information about the
style of the text.
|
class |
TextBlock
This represents a syntatic block of Text, which can be a column on a page, a
header or something similar.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
LineSegment.boundariesEqual(AbstractLineSegment l)
Returns true if the boundaries of the two line segments are equal.
|
static boolean |
LineSegment.boundariesEqual(AbstractLineSegment l1,
AbstractLineSegment l2)
Returns true if the boundaries of the two line segments are equal.
|
static LineSegment |
LineSegment.intersection(AbstractLineSegment l1,
AbstractLineSegment l2)
Returns a new line which is the union of the two lines.
|
static boolean |
LineSegment.isValid(AbstractLineSegment line)
Returns true if the given line is valid (its begin is smaller or equal to
its end).
|
static int |
LineSegment.length(AbstractLineSegment line)
Returns the length of the line segment.
|
static LineSegment |
LineSegment.normalize(AbstractLineSegment line)
Normalizes the line segment by swapping begin and end if they are in the
wrong order.
|
static int[] |
LineSegment.normalizedBounds(AbstractLineSegment line)
Returns the boundaries of the normalized line as a two-element array --
normalization means that begin and end are swapped if end is larger than
begin.
|
boolean |
LineSegment.overlaps(AbstractLineSegment l)
Returns true if the boundaries of the two line segments overlap.
|
static boolean |
LineSegment.overlaps(AbstractLineSegment l1,
AbstractLineSegment l2)
Returns true if the boundaries of the two line segments overlap.
|
static LineSegment |
LineSegment.union(AbstractLineSegment l1,
AbstractLineSegment l2)
Returns a new line which is the union of the two lines.
|
Copyright © 2014. All rights reserved.