* are particular to a rendering run. Don't reuse instances over multiple rendering runs but
* instead create a new one each time and reuse the FopFactory.
* @return the newly created FOUserAgent instance initialized with default values
- * @throws FOPException
*/
public FOUserAgent newFOUserAgent() {
FOUserAgent userAgent = new FOUserAgent(this, resolver);
/**
* A builder class for {@link FopFactory} which can be used for setting configuration. This is
* a helper constructor that uses the default URI resolver implementation that FOP packages
- * provide ({@link org.apache.fop.apps.io.ResourceResolverFactory.DefaultResourceResolver}).
+ * provide.
*
* @param defaultBaseURI the default base URI for resolving URIs against
*/
/**
* Sets the location in the source XML of the FO that generated this area.
*
- * @location the line and column location
+ * @param location the line and column location
*/
public void setLocation(String location) {
this.location = location;
/**
* Create a new bookmark data root object.
* This constructor is called by the AreaTreeParser when the
- * <bookmarkTree> element is read from the XML file
+ * <bookmarkTree> element is read from the XML file
*/
public BookmarkData() {
idRef = null;
/**
* Create a new bookmark data object.
* This constructor is called by the AreaTreeParser when a
- * <bookmark> element is read from the XML file.
+ * <bookmark> element is read from the XML file.
*
* @param title the bookmark's title
* @param showChildren whether to initially display the bookmark's children
/**
* Resolvable Interface. Classes that implement this interface contain
- * idrefs (see Section 5.11 of spec for definition of <idref> datatype)
+ * idrefs (see Section 5.11 of spec for definition of <idref> datatype)
* that are resolved when their target IDs are added to the area tree.
*/
public interface Resolvable {
* elements.
*
* @return the offset that this area would have if the before-edge of its
- * content-rectangle were coinciding with the <q>beforest</q> before-edge of its
+ * content-rectangle were coinciding with the beforest before-edge of its
* children allocation-rectangles.
* @see #getVirtualBPD()
* @see BasicLinkArea
/** Controls whether the IPD is automatically adjusted based on the area's children. */
protected transient boolean autoSize;
- /** The offset of the <q>beforest</q> child area of this area. */
+ /** The offset of the beforest child area of this area. */
protected int minChildOffset;
/**
- * The offset of the <q>afterest</q> child area of this area. Offset from the
+ * The offset of the afterest child area of this area. Offset from the
* before-edge of this area's content-rectangle and the after-edge of the child area's
* allocation-rectangle.
*/
public class AreaTreeInputHandler extends InputHandler {
/**
- * Constructor for XML->XSLT->area tree XML input
+ * Constructor for XML->XSLT->area tree XML input
* @param xmlfile XML file
* @param xsltfile XSLT file
* @param params Vector of command-line parameters (name, value,
public class IFInputHandler extends InputHandler {
/**
- * Constructor for XML->XSLT->intermediate XML input
+ * Constructor for XML->XSLT->intermediate XML input
* @param xmlfile XML file
* @param xsltfile XSLT file
* @param params Vector of command-line parameters (name, value,
protected Log log = LogFactory.getLog(InputHandler.class);
/**
- * Constructor for XML->XSLT->FO input
+ * Constructor for XML->XSLT->FO input
*
* @param xmlfile XML file
* @param xsltfile XSLT file
}
/**
- * Find device adjustment.
+ * Find device adjustment. asf.todo at present, assumes that 1 device unit equals one point
* @param fontSize the font size to search for
* @return an adjustment if font size matches an entry
*/
/**
* The <code>Ligature</code> class implements a ligature lookup result in terms of
- * a ligature glyph (code) and the <emph>N+1...</emph> components that comprise the ligature,
- * where the <emph>Nth</emph> component was consumed in the coverage table lookup mapping to
+ * a ligature glyph (code) and the N+1... components that comprise the ligature,
+ * where the Nth component was consumed in the coverage table lookup mapping to
* this ligature instance.
*/
public static class Ligature {
/**
* Instantiate a ligature.
* @param ligature glyph id
- * @param components sequence of <emph>N+1...</emph> component glyph (or character) identifiers
+ * @param components sequence of N+1... component glyph (or character) identifiers
*/
public Ligature(int ligature, int[] components) {
if ((ligature < 0) || (ligature > 65535)) {
return ligature;
}
- /** @return array of <emph>N+1...</emph> components */
+ /** @return array of N+1... components */
public int[] getComponents() {
return components;
}
}
/**
- * Match lookup specifications according to <script,language,feature> tuple, where
+ * Match lookup specifications according to <script,language,feature> tuple, where
* '*' is a wildcard for a tuple component.
* @param script a script identifier
* @param language a language identifier
}
/**
- * Match lookup specifications according to <script,language,feature> tuple, where
+ * Match lookup specifications according to <script,language,feature> tuple, where
* '*' is a wildcard for a tuple component.
* @param script a script identifier
* @param language a language identifier
}
/**
- * A structure class encapsulating a lookup specification as a <script,language,feature> tuple.
+ * A structure class encapsulating a lookup specification as a <script,language,feature> tuple.
*/
public static class LookupSpec implements Comparable {
/**
* Construct an <code>OTFAdvancedTypographicTableReader</code> instance.
- * @param ttf parent font file reader (must be non-null)
+ * @param otf parent font file reader (must be non-null)
* @param in font file reader (must be non-null)
*/
public OTFAdvancedTypographicTableReader(OpenFont otf, FontFileReader in) {
}
/**
- * Set predication <KEY,VALUE>.
+ * Set predication <KEY,VALUE>.
* @param key predication key
* @param value predication value
*/
}
/**
- * Merge predication <KEY,VALUE>.
+ * Merge predication <KEY,VALUE>.
* @param key predication key
* @param value predication value
*/
}
/**
- * Set predication <KEY,VALUE> at glyph sequence OFFSET.
+ * Set predication <KEY,VALUE> at glyph sequence OFFSET.
* @param offset offset (index) into glyph sequence
* @param key predication key
* @param value predication value
/**
* Return the value of this Numeric
* @return the computed value.
- * @throws PropertyException if a property exception occurs
*/
double getNumericValue();
* Return the value of this Numeric
* @param context The context for the length calculation (for percentage based lengths)
* @return the computed value.
- * @throws PropertyException if a property exception occurs
*/
double getNumericValue(PercentBaseContext context);
/**
- * This class contains method to deal with the <uri-specification> datatype from XSL-FO.
+ * This class contains method to deal with the <uri-specification> datatype from XSL-FO.
*/
public final class URISpecification {
/**
* Base iterator interface over a FO's children, offering three methods on top of the base interface
- * methods {@see java.util.ListIterator}.
+ * methods.
*/
public interface FONodeIterator extends ListIterator<FONode> {
* Check if this text node will create an area.
* This means either there is non-whitespace or it is
* preserved whitespace.
- * Maybe this just needs to check length > 0, since char iterators
+ * Maybe this just needs to check length > 0, since char iterators
* handle whitespace.
*
* @return true if this will create an area in the output
* <li>number-columns-spanned</li>
* <li>font</li>
* <li>font-size</li>
- * <li><emph>all others in order of appearance</emph></li>
+ * <li>all others in order of appearance</li>
* </ol>
*
* @param attributes Collection of attributes passed to us from the parser.
/**
* Constructor
- * @param c the character that this iterator should iterate.
+ * @param s the character that this iterator should iterate.
*/
public StringCharIterator(String s) {
this.index = -1;
* including absolute length, percent length, table units.
* @param value The value of the numeric.
* @param dim The dimension of the value. 0 for a Number, 1 for a Length
- * (any type), >1, <0 if Lengths have been multiplied or divided.
+ * (any type), >1, <0 if Lengths have been multiplied or divided.
*/
protected NumericProperty(double value, int dim) {
this.value = value;
/**
* {@inheritDoc}
* <br>XSL Content Model: marker* (%block;)+
- * <br><i><b>BUT</b>: "In addition an fo:block-container that does not generate an
+ * <br><b>BUT</b>: "In addition an fo:block-container that does not generate an
* absolutely positioned area may have a sequence of zero or more
* fo:markers as its initial children."
* The latter refers to block-containers with absolute-position="absolute"
import org.apache.fop.fo.properties.KeepProperty;
/**
- * Class modelling the <a href=http://www.w3.org/TR/xsl/#fo_list-block">
- * <code>fo:list-block</code></a> object.
+ * Class modelling the <a href="http://www.w3.org/TR/xsl/#fo_list-block">list block</a>
+ * <code>fo:list-block</code> object.
*/
public class ListBlock extends FObj implements BreakPropertySet, CommonAccessibilityHolder {
// The value of properties relevant for fo:list-block.
import org.apache.fop.fo.properties.KeepProperty;
/**
- * Class modelling the <a href=http://www.w3.org/TR/xsl/#fo_list-item">
- * <code>fo:list-item</code></a> object.
+ * Class modelling the <a href="http://www.w3.org/TR/xsl/#fo_list-item">list item</a>
+ * <code>fo:list-item</code> object.
*/
public class ListItem extends FObj implements BreakPropertySet, CommonAccessibilityHolder {
// The value of properties relevant for fo:list-item.
import org.apache.fop.fo.FONode;
/**
- * Class modelling the <a href=http://www.w3.org/TR/xsl/#fo_list-item-body">
- * <code>fo:list-item-body object</code></a>.
+ * Class modelling the <a href="http://www.w3.org/TR/xsl/#fo_list-item-body">list item</a>
+ * <code>fo:list-item-body object</code>.
*/
public class ListItemBody extends AbstractListItemPart {
import org.apache.fop.fo.FONode;
/**
- * Class modelling the <a href=http://www.w3.org/TR/xsl/#fo_list-item-label">
- * <code>fo:list-item-label</code></a> object.
+ * Class modelling the <a href="http://www.w3.org/TR/xsl/#fo_list-item-label">list item</a>
+ * <code>fo:list-item-label</code> object.
*/
public class ListItemLabel extends AbstractListItemPart {
import org.apache.fop.fo.properties.PropertyCache;
/**
- * Class modelling the <a href="http://www.w3.org/TR/xsl/#fo_marker">
- * <code>fo:marker<code></a> object.
+ * Class modelling the <a href="http://www.w3.org/TR/xsl/#fo_marker">marker</a>
+ * <code>fo:marker</code>object.
*/
public class Marker extends FObjMixed {
// The value of properties relevant for fo:marker.
/**
* Retrieves the best candidate marker for the given position.
- * @param name the key used to register the marker
- * @param pos the retrieval scope position
* @return a Marker instance
*/
public Marker resolve(AbstractRetrieveMarker arm) {
import org.apache.fop.fo.properties.CommonAccessibilityHolder;
/**
- * Class modelling the <a href=http://www.w3.org/TR/xsl/#fo_wrapper">
- * <code>fo:wrapper</code></a> object.
+ * Class modelling the <a href="http://www.w3.org/TR/xsl/#fo_wrapper">fo wrapper</a>
+ * <code>fo:wrapper</code> object.
* The <code>fo:wrapper</code> object serves as a property holder for
* its child node objects.
*/
int actualValue, Locator loc) throws PropertyException;
/**
- * table-layout=\"fixed\" and column-width unspecified
- * => falling back to proportional-column-width(1)
+ * table-layout=fixed and column-width unspecified
+ * => falling back to proportional-column-width(1)
* @param source the event source
* @param loc the location of the error or null
* @event.severity WARN
}
/**
- * Return the value of the <code>column-count<code> property.
+ * Return the value of the <code>column-count</code> property.
* @return the "column-count" property.
*/
public int getColumnCount() {
/**
- * Set maximum value to max if it is >= optimum or optimum isn't set.
+ * Set maximum value to max if it is >= optimum or optimum isn't set.
* @param max A Length value specifying the maximum value for this
* @param bIsDefault If true, this is set as a "default" value
* and not a user-specified explicit value.
import static org.apache.fop.fo.Constants.PR_X_XML_BASE;
/**
- * Class modeling a property that has a value of type <uri-specification>.
+ * Class modeling a property that has a value of type <uri-specification>.
* The purpose is mainly to support resolution of a specified
* relative URI against a specified or inherited <code>xml:base</code>
* during the property refinement stage.
/**
* Replaces the existing kerning map with a new one.
- * @param kerningMap the kerning map (Map<Integer, Map<Integer, Integer>, the integers are
+ * @param kerningMap the kerning map (the integers are
* character codes)
*/
public void replaceKerningMap(Map<Integer, Map<Integer, Integer>> kerningMap) {
/**
* FontInfo contains meta information on fonts (where is the metrics file etc.)
* TODO: We need to remove this class and think about more intelligent design patterns
- * (Data classes => Procedural code)
+ * (Data classes => Procedural code)
*/
public class EmbedFontInfo implements Serializable {
/**
* Main constructor
- * @param metricsURI the URI of the XML resource containing font metrics
+ * @param fontUris the URI of the XML resource containing font metrics
* @param kerning True if kerning should be enabled
* @param advanced true if advanced typography features should be enabled
* @param fontTriplets List of font triplets to associate with this font
- * @param embedURI Path to the embeddable font file (may be null)
* @param subFontName the sub-fontname used for TrueType Collections (null otherwise)
* @param encodingMode the encoding mode to use for this font
*/
/**
* Main constructor
- * @param metricsURI the URI of the XML resource containing font metrics
+ * @param fontUris the URI of the XML resource containing font metrics
* @param kerning True if kerning should be enabled
* @param fontTriplets List of font triplets to associate with this font
- * @param embedURI Path to the embeddable font file (may be null)
* @param subFontName the sub-fontname used for TrueType Collections (null otherwise)
*/
public EmbedFontInfo(FontUris fontUris, boolean kerning, boolean advanced,
private final boolean[] changeLock = new boolean[1];
/**
- * master mapping of font url -> font info. This needs to be a list, since a
+ * master mapping of font url -> font info. This needs to be a list, since a
* TTC file may contain more than 1 font.
* @serial
*/
private Map<String, CachedFontFile> fontfileMap;
/**
- * mapping of font url -> file modified date (for all fonts that have failed
+ * mapping of font url -> file modified date (for all fonts that have failed
* to load)
* @serial
*/
* Returns the Unicode scalar value that corresponds to the glyph index. If more than
* one correspondence exists, then the first one is returned (ordered by bfentries[]).
* @param gi glyph index
- * @returns unicode scalar value
+ * @return unicode scalar value
*/
// [TBD] - needs optimization, i.e., change from linear search to binary search
private int findCharacterFromGlyphIndex(int gi, boolean augment) {
* Sets the version of the PostScript table stored in the TrueType font represented by
* this instance.
*
- * @param version version of the <q>post</q> table
+ * @param version version of the post table
*/
public void setTrueTypePostScriptVersion(PostScriptVersion version) {
ttPostScriptVersion = version;
* Returns the version of the PostScript table stored in the TrueType font represented by
* this instance.
*
- * @return the version of the <q>post</q> table
+ * @return the version of the post table
*/
public PostScriptVersion getTrueTypePostScriptVersion() {
assert getFontType() == FontType.TRUETYPE;
* <p>Class for reading a metric.xml file and creating a font object.
* Typical usage:</p>
* <pre>
- * XMLFontMetricsReader reader = new XMLFontMetricsReader(<path til metrics.xml>);
- * reader.setFontEmbedPath(<path to a .ttf or .pfb file or null to diable embedding>);
+ * XMLFontMetricsReader reader = new XMLFontMetricsReader(<path til metrics.xml>);
+ * reader.setFontEmbedPath(<path to a .ttf or .pfb file or null to diable embedding>);
* reader.useKerning(true);
* Font f = reader.getFont();
* </pre>
*
* @param args Command-line arguments: [options] metricfile.pfm xmlfile.xml
* where options can be:
- * -fn <fontname>
+ * -fn fontname
* default is to use the fontname in the .pfm file, but you can override
* that name to make sure that the embedded font is used instead of installed
* fonts when viewing documents with Acrobat Reader.
- * -cn <classname>
+ * -cn classname
* default is to use the fontname
- * -ef <path to the Type1 .pfb fontfile>
+ * -ef path to the Type1 .pfb fontfile
* will add the possibility to embed the font. When running fop, fop will look
* for this file to embed it
- * -er <path to Type1 fontfile relative to org/apache/fop/render/pdf/fonts>
+ * -er path to Type1 fontfile relative to org/apache/fop/render/pdf/fonts
* you can also include the fontfile in the fop.jar file when building fop.
* You can use both -ef and -er. The file specified in -ef will be searched first,
* then the -er file.
*
* @param args Command-line arguments: [options] fontfile.ttf xmlfile.xml
* where options can be:
- * -fn <fontname>
+ * -fn fontname
* default is to use the fontname in the .ttf file, but you can override
* that name to make sure that the embedded font is used instead of installed
* fonts when viewing documents with Acrobat Reader.
- * -cn <classname>
+ * -cn classname
* default is to use the fontname
- * -ef <path to the truetype fontfile>
+ * -ef path to the truetype fontfile
* will add the possibility to embed the font. When running fop, fop will look
* for this file to embed it
- * -er <path to truetype fontfile relative to org/apache/fop/render/pdf/fonts>
+ * -er path to truetype fontfile relative to org/apache/fop/render/pdf/fonts
* you can also include the fontfile in the fop.jar file when building fop.
* You can use both -ef and -er. The file specified in -ef will be searched first,
* then the -er file.
/**
* Retrieves the SID for the given GID object
* @param charsetOffset The offset of the charset data
- * @param GID The GID for which to retrieve the SID
+ * @param gid The GID for which to retrieve the SID
* @return Returns the SID as an integer
*/
public int getSIDFromGID(int charsetOffset, int gid) throws IOException {
/**
* Parses the char string index from the CFF byte data
- * @param offset The offset to the char string index
* @return Returns the char string index object
* @throws IOException Throws an IO Exception if an error occurs
*/
protected OTFAdvancedTypographicTableReader advancedTableReader;
/**
- * Version of the PostScript table (<q>post</q>) contained in this font.
+ * Version of the PostScript table (post) contained in this font.
*/
public static enum PostScriptVersion {
/** PostScript table version 1.0. */
* Reads a font.
*
* @param in FontFileReader to read from
- * @param name Name to be checked for in the font file
- * @param glyphs Map of glyphs (glyphs has old index as (Integer) key and
- * new index as (Integer) value)
* @throws IOException in case of an I/O problem
*/
public void readFont(FontFileReader in, String header, MultiByteFont mbfont) throws IOException {
/**
* Returns the index of the last character, but this is for WinAnsiEncoding
- * only, so the last char is < 256.
- * @return short Index of the last character (<256)
+ * only, so the last char is < 256.
+ * @return short Index of the last character (<256)
*/
public short getLastChar() {
return lastChar;
import java.util.Map;
/**
- * Enumerates the {@linkplain http://unicode.org/Public/MAPPINGS/VENDORS/ADOBE/stdenc.txt} for
+ * Enumerates the linkplain http://unicode.org/Public/MAPPINGS/VENDORS/ADOBE/stdenc.txt for
* characters found in a Type1 font.
*/
public enum AdobeStandardEncoding {
/**
* Constructs a new Type 1 font loader.
- * @param fontFileURI the URI to the PFB file of a Type 1 font
+ * @param fontUris the URI to the PFB file of a Type 1 font
* @param embedded indicates whether the font is embedded or referenced
* @param useKerning indicates whether to load kerning information if available
* @param resourceResolver the font resolver used to resolve URIs
package org.apache.fop.hyphenation;
/**
- * <p.This class represents a hyphenated word.</p>
+ * This class represents a hyphenated word.
*
- * <p>This work was authored by Carlos Villegas (cav@uniscope.co.jp).</p>
+ * This work was originally authored by Carlos Villegas cav@uniscope.co.jp
*/
public class Hyphenation {
import org.apache.commons.io.IOUtils;
/**
- * <p>This tree structure stores the hyphenation patterns in an efficient
+ * This tree structure stores the hyphenation patterns in an efficient
* way for fast lookup. It provides the provides the method to
- * hyphenate a word.</p>
+ * hyphenate a word.
*
- * <p>This work was authored by Carlos Villegas (cav@uniscope.co.jp).</p>
+ * This work was originally authored by Carlos Villegas cav@uniscope.co.jp
*/
public class HyphenationTree extends TernaryTree implements PatternConsumer {
* at index an update interletter values. In other words, it
* does something like:</p>
* <code>
- * for(i=0; i<patterns.length; i++) {
+ * for(i=0; i<patterns.length; i++) {
* if ( word.substring(index).startsWidth(patterns[i]) )
* update_interletter_values(patterns[i]);
* }
/**
* @see KnuthGlue
- * @see "http://www.leverkruid.eu/GKPLinebreaking/elements.html"
+ * http://www.leverkruid.eu/GKPLinebreaking/elements.html
*/
public final class Adjustment {
/**
* @param len length in millipoints to span with bp units
- * @return the minimum integer n such that n * bpUnit >= len
+ * @return the minimum integer n such that n * bpUnit >= len
*/
protected int neededUnits(int len) {
return (int) Math.ceil((float)len / bpUnit);
/** Demerit for consecutive lines belonging to incompatible fitness classes . */
protected int incompatibleFitnessDemerit = KnuthPenalty.FLAGGED_PENALTY;
/** Maximum number of consecutive lines ending with a flagged penalty.
- * Only a value >= 1 is a significant limit.
+ * Only a value >= 1 is a significant limit.
*/
protected int maxFlaggedPenaltiesCount;
/**
* Handle a {@link KnuthBox}.
- * <br/><em>Note: default implementation just adds the box's width
+ * <br><em>Note: default implementation just adds the box's width
* to the total content width. Subclasses that do not keep track
* of this themselves, but override this method, should remember
* to call {@code super.handleBox(box)} to avoid unwanted side-effects.</em>
}
/**
- * Returns the part index (0<x<partCount) which denotes the first part on the last page
+ * Returns the part index (0<x<partCount) which denotes the first part on the last page
* generated by the current element list.
* @param partCount Number of parts determined by the breaking algorithm
* @return the requested part index
* An iterator over {@link Position} instances, that is wrapped around
* another 'parent' {@link Iterator}. The parent can be either another
* {@code PositionIterator}, or an iterator over {@link KnuthElement}s,
- * for example.<br/>
+ * for example.<br>
* The {@link #next()} method always returns a {@link Position}. The
* {@link #getPos(Object)} method can be overridden in subclasses
* to take care of obtaining the {@link LayoutManager} or {@link Position}
* @param startElementIndex index of the first element in the part to be processed
* @param endElementIndex index of the last element in the part to be processed
* @param prevBreak index of the the break possibility just before this part (used to
- * identify a break condition, lastBreak <= 0 represents a no-break condition)
+ * identify a break condition, lastBreak <= 0 represents a no-break condition)
*/
public static void performConditionalsNotification(List effectiveList,
int startElementIndex, int endElementIndex, int prevBreak) {
/**
* The <code>GlyphMapping</code> stores information about spaces.
- * <p/>
+ * <p>
* Add the spaces - except zero-width spaces - to the TextArea.
*/
private void addSpaces() {
* it is about to be written (immediately before the xref
* table as part of the trailer). (mark-fop@inomial.com)
*
- * @param objnum the object's number
+ * @param document TODO
* @param pages the PDFPages object
*/
public PDFRoot(PDFDocument document, PDFPages pages) {
* An element in the document's structure tree. This can be either the structure tree root
* or a structure element.
*
- * @see "Section 10.6, <q>Logical Structure</q> of the PDF Reference, 4th edition (PDF 1.5)"
+ * "Section 10.6, Logical Structure of the PDF Reference, 4th edition (PDF 1.5)"
*/
public abstract class StructureHierarchyMember extends PDFDictionary {
* @param bpsAfter the border-after traits
* @param bpsStart the border-start traits
* @param bpsEnd the border-end traits
- * @param innerBackgroundColor the background color of the block
*/
protected void clipBackground(float startx, float starty,
float width, float height,
* Returns the priority for this image handler. A lower value means higher priority. This
* information is used to build the ordered/prioritized list of supported ImageFlavors.
* The built-in handlers use priorities between 100 and 999.
- * @return a positive integer (>0) indicating the priority
+ * @return a positive integer (>0) indicating the priority
*/
int getPriority();
/**
* A runtime exception for handling fatal errors in rendering.
- * <p/>
+ * <p>
*/
public class RendererRuntimeException extends NestedRuntimeException {
* in order to provide a static property maker. The object facilitates
* extraction of attributes from formatted objects based on the static list
* as defined in the AFPElementMapping implementation.
- * <p/>
+ * <p>
*/
public class AFPAttribute extends StringProperty.Maker {
* for custom AFP extensions not supported by the FO schema. Examples include
* adding overlays or indexing a document using the tag logical element
* structured field.
- * <p/>
+ * <p>
*/
public class AFPElementMapping extends ElementMapping {
import org.apache.fop.fo.extensions.ExtensionAttachment;
/**
- * This class extends the {@link org.apache.fop.fo.extensions.ExtensionObj} class.
- * It represents the "include-form-map" extension in the FO tree.
+ * Represents the "include-form-map" extension in the FO tree.
*/
public class AFPIncludeFormMapElement extends AbstractAFPExtensionObject {
/**
* This class extends the org.apache.fop.render.afp.extensions.AbstractAFPExtensionObject class.
* This object will be used to map the page overlay object in AFPElementMapping.
- * <p/>
+ * <p>
*/
public class AFPPageOverlayElement extends AbstractAFPExtensionObject {
* This class extends the org.apache.fop.extensions.ExtensionObj class. The
* object faciliates extraction of elements from formatted objects based on
* the static list as defined in the AFPElementMapping implementation.
- * <p/>
+ * <p>
*/
public class AFPPageSegmentElement extends AFPPageSetupElement {
* <li>JPEG-in-TIFF compression</li>
* <li>DEFLATE lossless compression (also known as "Zip-in-TIFF")</li>
* <li>LZW compression</li>
- * TODO
- * <p>
+ * </ul>
* This class actually does not render itself, instead it extends
* <code>org.apache.fop.render.java2D.Java2DRenderer</code> and just encode
* rendering results into TIFF format using Batik's image codec
/** The ratio between a solid dash and the white-space in a dashed-border */
public static final float DASHED_BORDER_SPACE_RATIO = 0.5f;
- /** The length of the dash as a factor of the border width i.e. 2 -> dashWidth = 2*borderWidth */
+ /** The length of the dash as a factor of the border width i.e. 2 -> dashWidth = 2*borderWidth */
protected static final float DASHED_BORDER_LENGTH_FACTOR = 2.0f;
private final GraphicsPainter graphicsPainter;
* condition that corners start on a dash and end with a dash (rather than ending with a white space).
* @param borderLength The length of the border.
* @param borderWidth The width/thickness of the border.
- * @param dashSpaceRatio The ratio between dashes and white-space.
* @return returns the length of the dash such that it fits the criteria above.
*/
public static float dashWidthCalculator(float borderLength, float borderWidth) {
/** TODO merge with drawRectangularBorders?
* @param borderRect the border rectangle
- * @param bpsBefore the border specification on the before side
- * @param bpsAfter the border specification on the after side
- * @param bpsStart the border specification on the start side
- * @param bpsEnd the border specification on the end side
* @throws IOException on io exception
* */
protected void drawRoundedBorders(Rectangle borderRect,
/**
* Returns the currently applicable foreign attributes.
- * @return a Map<QName, Object>
+ * @return a Map<QName, Object>
*/
public Map getForeignAttributes() {
return this.foreignAttributes;
/**
* Sets the currently applicable foreign attributes.
- * @param foreignAttributes a Map<QName, Object> or null to reset
+ * @param foreignAttributes a Map<QName, Object> or null to reset
*/
public void setForeignAttributes(Map foreignAttributes) {
if (foreignAttributes != null) {
/**
* Sets the location of the object enclosing the current content.
*
- * @location the line and column location of the object in the source FO file
+ * location the line and column location of the object in the source FO file
*/
public void setLocation(String location) {
this.location = location;
* in the root element of the IF document, the initial value of which
* is set to '2.0' to signify that something preceded it (but didn't
* happen to be marked as such), and that this version is not necessarily
- * backwards compatible with the unmarked (<2.0) version.
+ * backwards compatible with the unmarked (<2.0) version.
*/
public static final String VERSION = "2.0";
/**
* Select the current pattern
- * @param patternID the pattern ID (<ESC>*c#G command)
- * @param pattern the pattern type (<ESC>*v#T command)
+ * @param patternID the pattern ID (<ESC>*c#G command)
+ * @param pattern the pattern type (<ESC>*v#T command)
* @throws IOException In case of an I/O error
*/
public void selectCurrentPattern(int patternID, int pattern) throws IOException {
/**
* Main constructor
* @param name the name of the page definition
- * @param selector the selector used by the <ESC>&l#A command (page size)
+ * @param selector the selector used by the <ESC> command (page size)
* @param physicalPageSize the physical page size
* @param logicalPageRect the rectangle defining the logical page
* @param landscape true if it is a landscape format
return this.name;
}
- /** @return the selector used by the <ESC>&l#A command (page size) */
+ /** @return the selector used by the <ESC> command (page size) */
public int getSelector() {
return this.selector;
}
* @param mcid sequence number
* @param actualText the replacement text for the marked content
* @see #beginTextObject()
- * @see #beginMarkedContentSequence(String, int, String))
+ * @see #beginMarkedContentSequence
*/
protected void beginTextObject(String structElemType, int mcid, String actualText) {
if (!textutil.isInTextObject()) {
* processor can be specified:
*
* <p><code>KEY_LANGUAGE</code> to set the default language to use (may be
- * used by a <switch> SVG element for example),
+ * used by a <switch> SVG element for example),
* <code>KEY_USER_STYLESHEET_URI</code> to fix the URI of a user
* stylesheet, and <code>KEY_PIXEL_TO_MM</code> to specify the pixel to
* millimeter conversion factor.
* processor can be specified:
*
* <p><code>KEY_LANGUAGE</code> to set the default language to use (may be
- * used by a <switch> SVG element for example),
+ * used by a <switch> SVG element for example),
* <code>KEY_USER_STYLESHEET_URI</code> to fix the URI of a user
* stylesheet, and <code>KEY_PIXEL_TO_MM</code> to specify the pixel to
* millimeter conversion factor.
import org.apache.batik.gvt.GraphicsNode;
/**
- * <p>Bridge class for the <text> element.
+ * Bridge class for the <text> element.
* This bridge will use the direct text painter if the text
- * for the element is simple.</p>
+ * for the element is simple.
*/
public class PSTextElementBridge extends SVGTextElementBridge {
private TextPainter textPainter;
/**
- * Constructs a new bridge for the <text> element.
+ * Constructs a new bridge for the <text> element.
* @param textPainter the text painter to use
*/
public PSTextElementBridge(TextPainter textPainter) {
import org.apache.fop.util.HexEncoder;
/**
- * Renders the attributed character iterator of a {@link org.apache.batik.gvt.TextNode TextNode}.
+ * Renders the attributed character iterator of a {@link org.apache.batik.bridge.TextNode TextNode}.
* This class draws the text directly using PostScript text operators so
* the text is not drawn using shapes which makes the PS files larger.
* <p>
* processor can be specified:
*
* <p><code>KEY_LANGUAGE</code> to set the default language to use (may be
- * used by a <switch> SVG element for example),
+ * used by a <switch> SVG element for example),
* <code>KEY_USER_STYLESHEET_URI</code> to fix the URI of a user
* stylesheet, and <code>KEY_PIXEL_TO_MM</code> to specify the pixel to
* millimeter conversion factor.
* @param byteArray byte[] a byte array
* @param offset the position in the byte array where the streaming must start
* @param length the number of bytes to stream. This MUST be less than
- * {@link #MAX_BUFFER_SIZE} - 1 since strings are suffixed by '00' (see Section 4.2 of
+ * MAX_BUFFER_SIZE - 1 since strings are suffixed by '00' (see Section 4.2 of
* Adobe Technical Note #5012, <em>The Type 42 Font Format Specification</em>.).
*/
public void streamBytes(byte[] byteArray, int offset, int length) throws IOException {
}
/**
- * Finishes writing a string by appending '00' and '>' to the end.
+ * Finishes writing a string by appending '00' and '>' to the end.
*/
public void endString() throws IOException {
/* Appends a '00' to the end of the string as specified in the spec */
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
* A method to create an object which is missing and required from the
* RTF structure.
* @param containerClass The class which is missing
- * @throws Exception
*/
public void createRTFPlaceholder(Class containerClass) throws RtfException {
if (containerClass == RtfTableRow.class) {
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
import java.util.Vector;
/**
- * <p>Singelton of the RTF color table.
- * This class was created for <fo:basic-link> tag processing.</p>
- *
- * <p>This work was authored by Andreas Putz (a.putz@skynamics.com).</p>
+ * Singelton of the RTF color table.
+ * This class was created for fo:basic-link tag processing.
+ * This work was originally authored by <a href="mailto:a.putz@skynamics.com">Andreas Putz</a>
*/
public final class RtfColorTable {
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
import org.apache.fop.render.rtf.rtflib.tools.ImageUtil;
/**
- * <p>Creates an RTF image from an external graphic file.
- * This class belongs to the <fo:external-graphic> tag processing.</p>
+ * Creates an RTF image from an external graphic file.
+ * This class belongs to the fo:external-graphic tag processing. <br>
*
- * <p>Supports relative path like "../test.gif", too (01-08-24)</p>
+ * Supports relative path like "../test.gif", too (01-08-24) <br>
*
- * <p>Limitations:</p>
- * <ul>
- * <li> Only the image types PNG, JPEG and EMF are supported
- * <li> The GIF is supported, too, but will be converted to JPG
- * <li> Only the attributes SRC (required), WIDTH, HEIGHT, SCALING are supported
- * <li> The SCALING attribute supports (uniform | non-uniform)
- * </ul>
+ * Limitations:
+ * Only the image types PNG, JPEG and EMF are supported
+ * The GIF is supported, too, but will be converted to JPG
+ * Only the attributes SRC (required), WIDTH, HEIGHT, SCALING are supported
+ * The SCALING attribute supports (uniform | non-uniform)
*
- * <p>Known Bugs:</p>
- * <ul>
- * <li> If the emf image has a desired size, the image will be clipped
- * <li> The emf, jpg & png image will not be displayed in correct size
- * </ul>
+ * Known Bugs:
+ * If the emf image has a desired size, the image will be clipped
+ * The emf, jpg, png image will not be displayed in correct size
*
- * <p>This work was authored by Andreas Putz (a.putz@skynamics.com) and
- * Gianugo Rabellino (gianugo@rabellino.it).</p>
+ * This work was originally authored by <a href="mailto:a.putz@skynamics.com">Andreas Putz</a>
+ * This work was originally authored by Gianugo Rabellino gianugo@rabellino.it
*/
public class RtfExternalGraphic extends RtfElement {
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
import org.apache.fop.apps.FOPException;
/**
- * <p>Creates an hyperlink.
- * This class belongs to the <fo:basic-link> tag processing.</p>
+ * Creates an hyperlink.
+ * This class belongs to the fo:basic-link tag processing.
+ * This work was originally authored by <a href="mailto:a.putz@skynamics.com">Andreas Putz</a>
*
- * <p>This work was authored by Andreas Putz (a.putz@skynamics.com).</p>
*/
public class RtfHyperLink
extends RtfContainer
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/* $Id$ */
-package org.apache.fop.render.rtf.rtflib.rtfdoc;
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
+package org.apache.fop.render.rtf.rtflib.rtfdoc;
+
import java.io.IOException;
import java.util.Hashtable;
import java.util.Iterator;
import java.util.Vector;
/**
- * <p>Singelton of the RTF style sheet table.
- * This class belongs to the <jfor:stylesheet> tag processing.</p>
- *
- * <p>This work was authored by Andreas Putz (a.putz@skynamics.com).</p>
+ * Singelton of the RTF style sheet table.
+ * This class belongs to the jfor:stylesheet tag processing.
+ * This work was originally authored by <a href="mailto:a.putz@skynamics.com">Andreas Putz</a>
*/
public final class RtfStyleSheetTable {
//////////////////////////////////////////////////
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/**
* Singelton of the RTF style template
- * This class belongs to the <jfor:style-template> tag processing.
+ * This class belongs to the jfor:style-template tag processing.
*/
public final class RtfTemplate {
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/* $Id$ */
-package org.apache.fop.render.rtf.rtflib.tools;
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
-/**
- * <p>Here will be defined all supported image formats.
- * This class belongs to the <fo:external-graphic> tag processing.</p>
- *
- * <p>This work was authored by Andreas Putz (a.putz@skynamics.com).</p>
+package org.apache.fop.render.rtf.rtflib.tools;
+
+
+/** Here will be defined all supported image formats.
+ * This class belongs to the fo:external-graphic tag processing.
+ * This work was originally authored by a.putz@skynamics.com (Andreas Putz)
*/
public final class ImageConstants {
/* $Id$ */
-package org.apache.fop.render.rtf.rtflib.tools;
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
-/**
- * <p>Miscellaneous utilities for images handling.
- * This class belongs to the <fo:external-graphic> tag processing.</p>
- *
- * <p>This work was authored by Andreas Putz (a.putz@skynamics.com).</p>
+package org.apache.fop.render.rtf.rtflib.tools;
+
+/** Misc.utilities for images handling
+ * This class belongs to the fo:external-graphic tag processing.
+ * This work was originally authored by <a href="mailto:a.putz@skynamics.com">Andreas Putz</a>
*/
public final class ImageUtil {
* in the root element of the AT document, the initial value of which
* is set to '2.0' to signify that something preceded it (but didn't
* happen to be marked as such), and that this version is not necessarily
- * backwards compatible with the unmarked (<2.0) version.
+ * backwards compatible with the unmarked (<2.0) version.
*/
public static final String VERSION = "2.0";
* <li>xml: the path to an XML file to render</li>
* <li>xslt: the path to an XSLT file that can transform the above XML to XSL-FO</li>
* </ul>
- * <br/>
+ * <br>
* Example URL: http://servername/fop/servlet/FopPrintServlet?fo=readme.fo
- * <br/>
- * Example URL: http://servername/fop/servlet/FopPrintServlet?xml=data.xml&xsl=format.xsl
- * <br/>
+ * <br>
+ * Example URL: http://servername/fop/servlet/FopPrintServlet?xml=data.xml
+ * <br>
* <b>Note:</b> This servlet is derived from FopServlet. Most methods are inherited from the
* superclass. Only the differences to the base class are necessary.
*/
/**
* Example servlet to generate a PDF from a servlet.
- * <br/>
+ * <br>
* Servlet param is:
* <ul>
* <li>fo: the path to a XSL-FO file to render
* <li>xml: the path to an XML file to render</li>
* <li>xslt: the path to an XSLT file that can transform the above XML to XSL-FO</li>
* </ul>
- * <br/>
+ * <br>
* Example URL: http://servername/fop/servlet/FopServlet?fo=readme.fo
- * <br/>
- * Example URL: http://servername/fop/servlet/FopServlet?xml=data.xml&xslt=format.xsl
- * <br/>
- * For this to work with Internet Explorer, you might need to append "&ext=.pdf"
+ * <br>
+ * Example URL: http://servername/fop/servlet/FopServlet?xml=data.xml
+ * <br>
+ * For this to work with Internet Explorer, you might need to append "ext=.pdf"
* to the URL.
* (todo) Ev. add caching mechanism for Templates objects
*/
import org.apache.fop.image.loader.batik.BatikUtil;
/**
- * <p>Bridge class for the <image> element when jpeg images.</p>
+ * Bridge class for the <image> element when jpeg images.
*
- * <p>This work was authored by Keiron Liddle (keiron@aftexsw.com).</p>
+ * This work was originally authored by <a href="mailto:keiron@aftexsw.com">Keiron Liddle</a>
*/
public abstract class AbstractFOPImageElementBridge extends SVGImageElementBridge {
/**
- * Constructs a new bridge for the <image> element.
+ * Constructs a new bridge for the <image> element.
*/
public AbstractFOPImageElementBridge() { }
import org.apache.batik.gvt.GraphicsNode;
/**
- * <p>Bridge class for the <text> element.
+ * Bridge class for the <text> element.
* This bridge will use the direct text painter if the text
- * for the element is simple.</p>
+ * for the element is simple.
*
- * <p>This work was authored by Keiron Liddle (keiron@aftexsw.com).</p>
+ * This work was originally authored by <a href="mailto:keiron@aftexsw.com">Keiron Liddle</a>
*/
public abstract class AbstractFOPTextElementBridge extends SVGTextElementBridge {
protected abstract void writeGlyph(char glyph, AffineTransform transform) throws IOException;
- /**
- * @param runaci an attributed character iterator
- * @param layout a text span layout
- */
protected final void logTextRun(TextRun textRun) {
AttributedCharacterIterator runaci = textRun.getACI();
TextSpanLayout layout = textRun.getLayout();
import org.apache.batik.gvt.GraphicsNode;
/**
- * <p>Bridge class for the <a> element.</p>
+ * Bridge class for the <a> element.
*
- * <p>This work was authored by Keiron Liddle (keiron@aftexsw.com).</p>
+ * This work was originally authored by <a href="mailto:keiron@aftexsw.com">Keiron Liddle</a>
*/
public class PDFAElementBridge extends AbstractGraphicsNodeBridge {
private AffineTransform transform;
/**
- * Constructs a new bridge for the <a> element.
+ * Constructs a new bridge for the <a> element.
*/
public PDFAElementBridge() {
}
}
/**
- * Returns true as the <a> element is a container.
+ * Returns true as the <a> element is a container.
* @return true if the a element is a container
*/
public boolean isComposite() {
import org.apache.fop.image.loader.batik.BatikImageFlavors;
/**
- * <p>PDF Image Element Bridge class for the <image> element when jpeg images.</p>
+ * PDF Image Element Bridge class for the <image> element when jpeg images.
*
- * <p>This work was authored by Keiron Liddle (keiron@aftexsw.com).</p>
+ * This work was originally authored by <a href="mailto:keiron@aftexsw.com">Keiron Liddle</a>
*/
public class PDFImageElementBridge extends AbstractFOPImageElementBridge {
/**
- * Constructs a new bridge for the <image> element.
+ * Constructs a new bridge for the <image> element.
*/
public PDFImageElementBridge() { }
import org.apache.batik.bridge.TextPainter;
/**
- * <p>Bridge class for the <text> element.
+ * Bridge class for the <text> element.
* This bridge will use the direct text painter if the text
- * for the element is simple.</p>
+ * for the element is simple.
*
- * <p>This work was authored by Keiron Liddle (keiron@aftexsw.com).</p>
+ * This work was originally authored by <a href="mailto:keiron@aftexsw.com">Keiron Liddle</a>
*/
public class PDFTextElementBridge extends AbstractFOPTextElementBridge {
/**
- * Constructs a new bridge for the <text> element.
+ * Constructs a new bridge for the <text> element.
*
* @param textPainter the text painter to use
*/
import org.apache.fop.svg.font.FOPGVTGlyphVector;
/**
- * Renders the attributed character iterator of a {@link org.apache.batik.gvt.TextNode}.
+ * Renders the attributed character iterator of a {@link org.apache.batik.bridge.TextNode}.
* This class draws the text directly into the PDFGraphics2D so that
* the text is not drawn using shapes which makes the PDF files larger.
* If the text is simple enough to draw then it sets the font and calls
* Create a new PDF text painter with the given font information.
*
* @param fi the font info
- * @param fontFamilyResolver the Font Family Resolver
*/
public PDFTextPainter(FontInfo fi) {
super(fi);
* processor can be specified:
*
* <p><code>KEY_LANGUAGE</code> to set the default language to use (may be
- * used by a <switch> SVG element for example),
+ * used by a <switch> SVG element for example),
* <code>KEY_USER_STYLESHEET_URI</code> to fix the URI of a user
* stylesheet, and <code>KEY_PIXEL_TO_MM</code> to specify the pixel to
* millimeter conversion factor.
* Wrapper for FOP which allows it to be accessed from within an Ant task.
* Accepts the inputs:
* <ul>
- * <li>fofile -> formatting objects file to be transformed</li>
- * <li>format -> MIME type of the format to generate ex. "application/pdf"</li>
- * <li>outfile -> output filename</li>
- * <li>baseDir -> directory to work from</li>
- * <li>relativebase -> (true | false) control whether to use each FO's
+ * <li>fofile - formatting objects file to be transformed</li>
+ * <li>iffile - intermediate format input file to be transformed</li>
+ * <li>outputFormat - MIME type of the format to generate ex. "application/pdf"</li>
+ * <li>inputFormat - Input file format (like "fo","xml","if")</li>
+ * <li>outfile - output filename</li>
+ * <li>baseDir - directory to work from</li>
+ * <li>relativebase - (true | false) control whether to use each FO's
* directory as base directory. false uses the baseDir parameter.</li>
- * <li>userconfig -> file with user configuration (same as the "-c" command
+ * <li>userconfig - file with user configuration (same as the "-c" command
* line option)</li>
- * <li>messagelevel -> (error | warn | info | verbose | debug) level to output
+ * <li>messagelevel - (error | warn | info | verbose | debug) level to output
* non-error messages</li>
- * <li>logFiles -> Controls whether the names of the files that are processed
+ * <li>logFiles - Controls whether the names of the files that are processed
* are logged or not</li>
* </ul>
*/
/**
* This class holds the resolved (as mpoints) form of a
- * {@link org.apache.fop.fo.properties.LengthRangeProperty} or
- * {@link org.apache.fop.fo.properties.SpaceProperty} type property value.
- * <p/>
- * Instances of this class are immutable. All arithmetic methods like {@link #plus(MinOptMax) plus},
- * {@link #minus(MinOptMax) minus} or {@link #mult(int) mult} return a different instance. So it is
- * possible to pass around instances without copying.
- * <p/>
- * <code>MinOptMax</code> values are used during layout calculations.
+ * {@link org.apache.fop.fo.properties.LengthRangeProperty LengthRange} or
+ * {@link org.apache.fop.fo.properties.SpaceProperty Space} type property value. <p>
+ * Instances of this class are immutable. All arithmetic methods like
+ * {@link #plus(MinOptMax) plus}, {@link #minus(MinOptMax) minus} or {@link #mult(int)
+ * mult} return a different instance. So it is possible to pass around instances without
+ * copying. <p> <code>MinOptMax</code> values are used during layout calculations.
*/
public final class MinOptMax implements Serializable {
* @param opt the optimum value
* @param max the maximum value
* @return the corresponding instance
- * @throws IllegalArgumentException if <code>min > opt || max < opt</code>.
+ * @throws IllegalArgumentException if <code>min > opt || max < opt</code>.
*/
public static MinOptMax getInstance(int min, int opt, int max) throws IllegalArgumentException {
if (min > opt) {
* @param minOperand the minimal value to be added.
* @return an instance with the given value added to the minimal value.
* @throws IllegalArgumentException if
- * <code>min + minOperand > opt || max < opt</code>.
+ * <code>min + minOperand > opt || max < opt</code>.
*/
public MinOptMax plusMin(int minOperand) throws IllegalArgumentException {
return getInstance(min + minOperand, opt, max);
* @param minOperand the minimal value to be subtracted.
* @return an instance with the given value subtracted to the minimal value.
* @throws IllegalArgumentException if
- * <code>min - minOperand > opt || max < opt</code>.
+ * <code>min - minOperand > opt || max < opt</code>.
*/
public MinOptMax minusMin(int minOperand) throws IllegalArgumentException {
return getInstance(min - minOperand, opt, max);
* @param maxOperand the maximal value to be added.
* @return an instance with the given value added to the maximal value.
* @throws IllegalArgumentException if
- * <code>min > opt || max < opt + maxOperand</code>.
+ * <code>min > opt || max < opt + maxOperand</code>.
*/
public MinOptMax plusMax(int maxOperand) throws IllegalArgumentException {
return getInstance(min, opt, max + maxOperand);
* @param maxOperand the maximal value to be subtracted.
* @return an instance with the given value subtracted to the maximal value.
* @throws IllegalArgumentException if
- * <code>min > opt || max < opt - maxOperand</code>.
+ * <code>min > opt || max < opt - maxOperand</code>.
*/
public MinOptMax minusMax(int maxOperand) throws IllegalArgumentException {
return getInstance(min, opt, max - maxOperand);
/**
* Returns an attribute value as a glyph position adjustments array. The string value
- * is expected to be a non-empty sequence of either Z<repeat> or <number>, where the
+ * is expected to be a non-empty sequence of either Z<repeat> or <number>, where the
* former encodes a repeat count (of zeroes) and the latter encodes a integer number,
* and where each item is separated by whitespace.
* @param attributes the Attributes object
}
/**
- * Escape '<', '>' and '&' using NCRs.
+ * Escape '<', '>' and '&' using NCRs.
* @param unescaped string
* @return escaped string
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/*
* This file is part of the RTF library of the FOP project, which was originally
- * created by Bertrand Delacretaz <bdelacretaz@codeconsult.ch> and by other
+ * created by Bertrand Delacretaz bdelacretaz@codeconsult.ch and by other
* contributors to the jfor project (www.jfor.org), who agreed to donate jfor to
* the FOP project.
*/
/**
* This is a marker interface which all event producer interfaces need to extend. These interfaces
* must agree to the following convention:
- * <ul>
- * <li>The first parameter of each method must be: <code>Object source</code>
- * </ul>
+ *
+ * The first parameter of each method must be: <code>Object source</code>
*/
public interface EventProducer {