All Classes and Interfaces
Class
Description
An abstract implementation of an
OutputDevice
.An anonymous block box as defined in the CSS spec.
This is an ArrayList backed DisplayListContainer for when we expect to get page instructions for all pages
such as collecting the root box.
In XML, an application may or may not know how to find the ID and/or class
and/or attribute defaults of an element.
REsolves an AWT font instance from a list of CSS font families and characteristics.
Baseclass for all RendererBuilders (PDF and Java2D), has all common settings
This class is an internal implementation detail.
This is internal, please don't use directly.
This is internal, please don't use directly.
Use cases for fonts.
An interface to provide text reordering services.
Simple class to hold a visual ordering text run.
A block box as defined in the CSS spec.
What type of direct child content this block box contains.
Utility class for laying block content.
This class represents a block formatting context as defined in the CSS spec.
This class is responsible for creating the box tree from the DOM.
A class to collect boxes which intersect a given clip region.
A utility class that scans the text of a single inline box, looking for the
next break point.
PageProcessor to render everything to buffered images
A set of properties that apply to a single Element, derived from all matched
properties following the rules for CSS cascade, inheritance, importance,
specificity and sequence.
Holds a set of
PropertyDeclaration
s for
each unique CSS property name.A class that contains a single border side of a collapsed cell.
This class encapsulates all information related to a particular border side
along with an overall precedence (e.g.
Instances of this class are effective columns in the table grid.
Part of a Selector
represents unsupported (or invalid) css, never matches
Stores runtime configuration information for application parameters that may
vary on restarting.
Interface for objects which implement a function which creates content
(e.g.
Content function which returns its argument if on a cut off page, else the empty string.
Partially implements leaders as specified here:
http://www.w3.org/TR/2007/WD-css3-gcpm-20070504/#leaders
Partially implements target counter as specified here:
http://www.w3.org/TR/2007/WD-css3-gcpm-20070504/#cross-references
A CSSName is a Singleton representing a single CSS property name, like
border-width.
Default, do-nothing implementation of a
DocumentListener
; implements all methods in DocumentListener
but the methods do nothing.Default FSObjectDrawer factory, which allows to register drawer for specified
content type
A spliterator that can be used to create a stream of descendant boxes in
breadth first order.
Marker interface for objects that can be added
to a display list.
Implementations of this listener interface receive notifications about
various document and layout events.
Simple enumerated constants for downscaling (scaling to smaller image size)--since we have various options
for what algorithm to use.
Represents the outer box to be used for evaluating positioning of internal
boxes
A bean containing the distances that floated content takes up as measured
from the left and right content edge of the containing block.
A bean containing additional information used by floated boxes.
A bean containing the result of laying out a floated block.
A class that manages all floated boxes in a given block formatting context.
The footnote manager which is only created if footnotes are detected in
the document.
Note: Classes implementing this interface should be thread safe as we document the cache being useable accross threads.
FSCatalog loads an XML catalog file to read mappings of public IDs for
XML schemas/dtds, to resolve those mappings to a local store for the schemas.
A SAX ContentHandler that reads an XML catalog file and builds a Map of
public IDs to local URIs.
A simple default cache implementation, mainly for testing.
Marker interface for all derived values.
Allows to modify the HTML document DOM after it has been parsed
A SAX EntityResolver for common entity references and DTDs in X/HTML
processing.
A stop point which does not yet have a length.
Handle the drawing of <object> tags
Factory for ObjectDrawers, i.e.
Represents a stream.
Represents a very simple stream/reader client for any protocol.
Represents a text breaker, such as those on line break opportunities.
Transforms text, such as making it title case.
A bean which contains all the information necessary to invoke a
ContentFunction
.Deprecated.
Deprecated.
Use
FSStreamFactory
instead.Booch utility class for working with ident values in CSS.
An IdentValue represents a string that you can assign to a CSS property,
where the string is one of several enumerated values.
Parser for image maps on elements.
An ImageReplacedElement is a
ReplacedElement
that contains a Image
.Static utility methods for working with images.
AWT-style one-step scaling, using area averaging
Fast but decent scaling
Step-wise downscaling
Old AWT-style scaling, poor quality
A class which represents a portion of an inline element.
This class is responsible for flowing inline content into lines.
A bean which tracks various charactistics of an inline box.
A
Box
which contains the portion of an inline element layed out on a
single line.An interface which indicates that a box is able to paint itself in an
inline context.
A lightweight object which contains a chunk of text from an inline element.
Holds an invalid property declaration (ie.
REsolves an AWT font instance from a list of CSS font families and characteristics.
Build a Java2D renderer for a given HTML.
This class is internal to this library, please do not use or override it!
This class is an internal implementation detail.
Renders to a Graphics2D instance.
An
XRLogger
interface that uses java.util.logging
.All positioned content as well as content with an overflow value other
than visible creates a layer.
This class tracks state which changes over the course of a layout run.
A bean which captures all state necessary to lay out an arbitrary box.
Contains utility methods to layout floated and absolute content.
This class is a scanner generated by
JFlex 1.4.1
on 31.10.07 20:58 from the specification file
C:/eclipseWorkspaceQT/xhtmlrenderer/src/java/org/xhtmlrenderer/css/parser/Lexer.flex
A line box contains a single line of text (or other inline content).
A bean which serves as a way for the layout code to pass information to the
line breaking code and for the line breaking code to pass instructions back
to the layout code.
A note on this class: What we really want is a FontMetrics2D object (i.e.
A utility class to paint list markers (all types).
Utility class for working with java.logging Logger classes
This is a map based DisplayListContainer for when we expect to only get some pages, such
as collecting a fixed element for a single page.
A dummy box representing one side of the margin area of a page.
A bean containing information necessary to draw a list marker.
NaiveUserAgent is a simple implementation of
UserAgentCallback
which places no restrictions on what
XML, CSS or images are loaded.Provides knowledge specific to a certain document type, like resolving
style-sheets
Handles a general XML document
An adapter around awt.Font to GVTFont.
A display list item that indicates the output device needs
to clip at this point.
A display list item that indicates the output device needs to expand
the clip at this point.
Render something on a Graphics2D on the OutputDevice.
The joys of lambda style programming in Java 6! Provides a method to add a box to a shadow page
if it is determined to sit on a particular shadow page.
The PageSupplier is called whenever a (new) page (or shadow-page) is needed.
With this you can control page-creation (or maybe you want to supply already existing pages).
With this you can control page-creation (or maybe you want to supply already existing pages).
A bean which every box uses to provide its aggregate bounds (which may be
larger than the bounds of the box itself when there is overhanging content)
and its outer margin corner (which is used to calculate the size of the
canvas).
This class aims to split text into paragraphs where they can be passed to the
BidiSplitter.
A fake paragraqph only supports manual BIDI classification.
A paragraph object collects the text of one paragraph.
Can be either a structure element or a content item.
This class handles all font resolving for the PDF generation.
Loads a Type0 font on demand
A
FontDescription
can exist in multiple states.Deprecated.
Use fast link manager instead.
All Elements which can have a shaped image map implement this
FSObjectDrawer Element for PDFBox
The per document container for form and form control state.
Callback listener for PDF creation.
Implementation of
Subclass this if you need special font loading rules (like using a font-cache, ...).
FSSupplier
that supplies a PDFont
.Subclass this if you need special font loading rules (like using a font-cache, ...).
List of caches available.
Various level of PDF/A conformance:
PDF/A-1, PDF/A-2 and PDF/A-3
This class is internal.
The porition of a
BlockFormattingContext
which is saved with a box
which defines a BFC.Represents a single property declared in a CSS rule set.
Represents a set of CSS properties that together define
some rectangular area, and per-side thickness.
Supplies information about the context in which rendering will take place
A replaced element is an XML element in the document being rendered whose visual output is delegated.
A row in the table grid.
POJO used when calling
ImageUtil.getScaledInstance(ScalingOptions,java.awt.image.BufferedImage)
.A Selector is really a chain of CSS selectors that all need to be valid for
the selector to match.
The SharedContext stores pseudo global variables.
Returns text unchanged.
An instance which works together with a w3c DOM tree
A ObjectDrawer Factory which registers some default builtin drawers.
All objects appearing the layout tree must implement this interface.
A representation of a CSS style sheet.
A Factory class for Cascading Style Sheets.
A Factory class for Cascading Style Sheets.
A reference to a stylesheet.
A managed list of
CalculatedStyle
objects.This is a partial list of common SVG properties that are not present in
the HTML renderer of this project.
A specialization of
AutoTableLayout
used for laying out the
tables used to approximate the margin box layout algorithm from CSS3
GCPM.An object representing an element with
display: table-column
or
display: table-column-group
.A best effort implementation of title casing.
Because OpenHTMLtoPDF is designed to run in a single thread at all times for one invocation,
we can use a ThreadLocal to store pseudo global variables.
Static helper methods to create transforms, either in document coordinates or page coordinates.
BreakIterator implementation that improves line breaking for URLs.
To be implemented by any user agent using the panel.
Utility class for working with
CSSValue
instances.This class performs the real work of vertically positioning inline boxes
within a line (i.e.
A dummy box representing the viewport
Lets us specify a url where the type, method, etc
is documented.
Handles xhtml but only css styling is honored,
no presentational html attributes (see css 2.1 spec, 6.4.4)
Handles xhtml documents, including presentational html attributes (see css 2.1 spec, 6.4.4).
Utility class for using the java.util.logging package.
An interface whose implementations log Flying Saucer log messages.
General runtime exception used in XHTMLRenderer.
A java.util.logging.Formatter class that writes a bare-bones log messages,
with no origin class name and no date/time.
FSStream
instead.