All Classes and Interfaces
Class
Description
An abstract implementation of an
OutputDevice
.An anonymous block box as defined in the CSS spec.
In XML, an application may or may not know how to find the ID and/or class
and/or attribute defaults of an element.
A Swing
JPanel
that encloses the Flying Saucer renderer
for easy integration into Swing applications.Renders XML+CSS using SWT in a widget (a Composite).
A block box as defined in the CSS spec.
Utility class for laying block content.
This class represents a block formatting context as defined in the CSS spec.
User: patrick
Date: Oct 21, 2005
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.
Talkback interface between BrowserPanel and anyone interested in what is
happening to it.
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.Use this class if you need to load iTextAsian fonts in addition to default fonts loaded by
ITextRenderer
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.
Partially implements leaders as specified here:
...
Partially implements target counter as specified here:
...
This class wraps an input stream and detects if it contains certain content using "magic numbers".
Utility methods for data conversion
User: tobe
Date: 2005-jun-23
A CSSName is a Singleton representing a single CSS property name, like
border-width.
A CursorListener is used to modify the current cursor in response to mouse events over the current
document.
No-op implementation of a FormSubmissionListener; override the submit method in a subclass as needed.
Default, no-op implementation of an FSMouseListener.
No-op implementation of a
PDFCreationListener
.An DeferredImageReplacedElement is a
ReplacedElement
that contains a Image
which by default is simply a transparent image scaled to the size provided to the constructor.NaiveUserAgent is a simple implementation of
UserAgentCallback
which places no restrictions on what
XML, CSS or images are loaded, and reports visited links without any filtering.Implementations of this listener interface receive notifications about
various document and layout events.
works for a w3c DOM tree
Simple enumerated constants for downscaling (scaling to smaller image size)--since we have various options
for what algorithm to use.
User: beck
Date: 11/4/11
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.
User: tobe
Date: 2005-jun-23
Word wrapping capability
ReplacementElement for a FormControl.
FormSubmissionListener is used to receive callbacks when an XhtmlForm has its submit action called.
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.
Marker interface for all derived values.
A SAX EntityResolver for common entity references and DTDs in X/HTML
processing.
Writes out BufferedImages to some output stream, like a file.
An FSMouseListener is used to track mouse events on a subclass of
BasicPanel
.FSScrollPane
is a JScrollPane set up to support keyboard navigation of an XHTML/XML
document rendered with Flying Saucer.A bean which contains all the information necessary to invoke a
ContentFunction
.Action to generate a unit test diff file of the current document
in the browser
Graphics2DRenderer supports headless rendering of XHTML documents, and is useful
for rendering documents directly to images.
A HoverListener is used to respond to a mouse hovering over a Box in a
BasicPanel
.An IdentValue represents a string that you can assign to a CSS property,
where the string is one of several enumerated values.
Denotes a URI pointing to an image that needs to be loaded.
A thread-safe queue containing BackgroundImageLoaderItem, each of which represents one image (identified by a URI)
which needs to be loaded.
A background thread (daemon, low priority) which reads BackgroundImageLoaderItem from a BackgroundImageQueue
and loads the images into memory.
ImageRenderer supports rendering of XHTML documents to image formats, writing out the generated image to an output stream
or a file in a given image format.
An ImageReplacedElement is a
ReplacedElement
that contains a Image
.ReplacedElement for
<img>
tags.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 characteristics of an inline box.
A
Box
which contains the portion of an inline element laid 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.
This class is largely based on
PdfGraphics2D
.Renders an XML files, formatted with CSS, as an image.
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 LinkListener is used to respond to a user clicking Box elements in a
BasicPanel
,
in particular to handle anchors and navigation.A utility class to paint list markers (all types).
Utility class for working with java.logging Logger classes
A dummy box representing one side of the margin area of a page.
A bean containing information necessary to draw a list marker.
A MouseTracker is used to delegate mouse events to the
FSMouseListener
instances
associated with a BasicPanel
.An FSImage containing a java.awt.Image which can be replaced at runtime by calling setImage().
NaiveUserAgent is a simple implementation of
UserAgentCallback
which places no restrictions on what
XML, CSS or images are loaded, and reports visited links without any filtering.Naive user agent, copy of org.xhtmlrenderer.swing.NaiveUserAgent (but
modified for SWT, of course).
Provides knowledge specific to a certain document type, like resolving
style-sheets
Handles a general XML document
Processes text and replaces spaces by non-break spaces (Â )
on places designated by the language definition file.
Loads non-breaking points for a given language
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).
PanelManager is a UserAgentCallback responsible for the Browser's resource (XML, image, CSS) lookup.
Callback listener for PDF creation.
The portion of a
BlockFormattingContext
which is saved with a box
which defines a BFC.Read plain text file as if it was xml with a text-tag around it.
A renderer for an SWT Printer.
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
User: pdoubleya
Date: Apr 20, 2009
A replaced element is an XML element in the document being rendered whose visual output is delegated.
A row in the table grid.
ScalableXHTMLPanel extends
XHTMLPanel
to allow zoom on output.ScaleChangeEvent is used to notify interested parties that XHTMLPanel's scale factor has changed.
The listener that's notified when the scale in a XHTMLPanel has changed
Encapsulates a set of parameters related to scaling quality and output.
Renderer for ordinary items and headings in a List.
Helper class that makes headings inside a list unselectable
Provides a simple container for name/value data, such as that used
by the <option> elements in a <select> list.
A Selector is really a chain of CSS selectors that all need to be valid for
the selector to match.
The SharedContext is that which is kept between successive layout and render runs.
When applied to a Swing component, limits the total number of
characters that can be entered.
An instance which works together with a w3c DOM tree
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.
Origin of stylesheet
A managed list of
CalculatedStyle
objects.A ReplacedElementFactory where Elements are replaced by Swing components.
Adapt SWT's font metrics to Flying Saucer's ones.
Resolve font the SWT way.
Implementation of
OutputDevice
for SWT.Render text with SWT.
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
.Gives the css matcher access to the information it needs about the tree structure.
Uses code from iText's DefaultFontMapper and TrueTypeFont classes.
BreakIterator implementation that improves line breaking for URLs.
Provides a method to encode any string into a URL-safe form.
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
Handles xhtml but only css styling is honored,
no presentational html attributes (see css 2.1 spec, 6.4.4)
Represents a form object
Description
Handles xhtml documents, including presentational html attributes (see css 2.1 spec, 6.4.4).
XHTMLPanel is a simple Swing component that renders valid XHTML content in a
Java program.
XHTMLPrintable allows you to print XHTML content to a printer instead of
rendering it to screen.
Utility class for XML processing using DOM
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.
Implements zooming of the browser panel.