Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.lowagie.text.pdf.codec.* (31)com.lowagie.text.pdf.codec.postscript.* (14)
com.lowagie.text.pdf.codec.wmf.* (7)com.lowagie.text.pdf.fonts.* (1)
com.lowagie.text.pdf.hyphenation.* (11)

com.lowagie.text.pdf: Javadoc index of package com.lowagie.text.pdf.


Package Samples:

com.lowagie.text.pdf.codec
com.lowagie.text.pdf.codec.postscript
com.lowagie.text.pdf.codec.wmf
com.lowagie.text.pdf.fonts
com.lowagie.text.pdf.hyphenation

Classes:

BidiOrder: Reference implementation of the Unicode 3.0 Bidi algorithm. This implementation is not optimized for performance. It is intended as a reference implementation that closely follows the specification of the Bidirectional Algorithm in The Unicode Standard version 3.0. Input: There are two levels of input to the algorithm, since clients may prefer to supply some information from out-of-band sources rather than relying on the default behavior. unicode type array unicode type array, with externally supplied base line direction Output: Output is separated into several stages as well, to better enable ...
TernaryTree: Ternary Search Tree. A ternary search tree is a hibrid between a binary tree and a digital search tree (trie). Keys are limited to strings. A data value of type char is stored in each leaf node. It can be used as an index (or pointer) to the data. Branches that only contain one key are compressed to one node by storing a pointer to the trailer substring of the key. This class is intended to serve as base class or helper class to implement Dictionary collections or the like. Ternary trees have some nice properties as the following: the tree can be traversed in sorted order, partial matches (wildcard) ...
SimpleBookmark: Bookmark processing in a simple way. It has some limitations, mainly the only action types supported are GoTo, GoToR, URI and Launch. The list structure is composed by a number of HashMap, keyed by strings, one HashMap for each bookmark. The element values are all strings with the exception of the key "Kids" that has another list for the child bookmarks. All the bookmarks have a "Title" with the bookmark title and optionally a "Style" that can be "bold", "italic" or a combination of both. They can also have a "Color" key with a value of three floats separated by spaces. The key "Open" can have ...
RadioCheckField: Creates a radio or a check field. Example usage: Document document = new Document(PageSize.A4, 50, 50, 50, 50); PdfWriter writer = PdfWriter.getInstance(document, new FileOutputStream("output.pdf")); document.open(); PdfContentByte cb = writer.getDirectContent(); RadioCheckField bt = new RadioCheckField(writer, new Rectangle(100, 100, 200, 200), "radio", "v1"); bt.setCheckType(RadioCheckField.TYPE_CIRCLE); bt.setBackgroundColor(Color.CYAN); bt.setBorderStyle(PdfBorderDictionary.STYLE_SOLID); bt.setBorderColor(Color.red); bt.setTextColor(Color.yellow); bt.setBorderWidth(BaseField.BORDER_WIDTH_THICK); ...
PdfStream: PdfStream is the Pdf stream object. A stream, like a string, is a sequence of characters. However, an application can read a small portion of a stream at a time, while a string must be read in its entirety. For this reason, objects with potentially large amounts of data, such as images and page descriptions, are represented as streams. A stream consists of a dictionary that describes a sequence of characters, followed by the keyword stream , followed by zero or more lines of characters, followed by the keyword endstream . All streams must be PdfIndirectObject s. The stream dictionary must be a ...
PushbuttonField: Creates a pushbutton field. It supports all the text and icon alignments. The icon may be an image or a template. Example usage: Document document = new Document(PageSize.A4, 50, 50, 50, 50); PdfWriter writer = PdfWriter.getInstance(document, new FileOutputStream("output.pdf")); document.open(); PdfContentByte cb = writer.getDirectContent(); Image img = Image.getInstance("image.png"); PushbuttonField bt = new PushbuttonField(writer, new Rectangle(100, 100, 200, 200), "Button1"); bt.setText("My Caption"); bt.setFontSize(0); bt.setImage(img); bt.setLayout(PushbuttonField.LAYOUT_ICON_TOP_LABEL_BOTTOM); ...
ColumnText: Formats text in a columnwise form. The text is bound on the left and on the right by a sequence of lines. This allows the column to have any shape, not only rectangular. Several parameters can be set like the first paragraph line indent and extra space between paragraphs. A call to the method go will return one of the following situations: the column ended or the text ended. I the column ended, a new column definition can be loaded with the method setColumns and the method go can be called again. If the text ended, more text can be loaded with addText and the method go can be called again. The ...
SimpleXMLParser: A simple XML and HTML parser. This parser is, like the SAX parser, an event based parser, but with much less functionality. The parser can: It recognizes the encoding used It recognizes all the elements' start tags and end tags It lists attributes, where attribute values can be enclosed in single or double quotes It recognizes the <[CDATA[ ... ]]> construct It recognizes the standard entities: &, <, >, ", and ', as well as numeric entities It maps lines ending in \r\n and \r to \n on input, in accordance with the XML Specification, Section 2.11 The ...
PdfDictionary: PdfDictionary is the Pdf dictionary object. A dictionary is an associative table containing pairs of objects. The first element of each pair is called the key and the second element is called the value . Unlike dictionaries in the PostScript language, a key must be a PdfName . A value can be any kind of PdfObject , including a dictionary. A dictionary is generally used to collect and tie together the attributes of a complex object, with each key-value pair specifying the name and value of an attribute. A dictionary is represented by two left angle brackets ( >). This object is described in the ...
TIFFDirectory: A class representing an Image File Directory (IFD) from a TIFF 6.0 stream. The TIFF file format is described in more detail in the comments for the TIFFDescriptor class. A TIFF IFD consists of a set of TIFFField tags. Methods are provided to query the set of tags and to obtain the raw field array. In addition, convenience methods are provided for acquiring the values of tags that contain a single value that fits into a byte, int, long, float, or double. Every TIFF file is made up of one or more public IFDs that are joined in a linked list, rooted in the file header. A file may also contain so-called ...
PdfString: A PdfString -class is the PDF-equivalent of a JAVA- String -object. A string is a sequence of characters delimited by parenthesis. If a string is too long to be conveniently placed on a single line, it may be split across multiple lines by using the backslash character (\) at the end of a line to indicate that the string continues on the following line. Within a string, the backslash character is used as an escape to specify unbalanced parenthesis, non-printing ASCII characters, and the backslash character itself. Use of the \ ddd escape sequence is the preferred way to represent characters outside ...
TIFFConstants: A baseline TIFF reader. The reader has some functionality in addition to the baseline specifications for Bilevel images, for which the group 3 and group 4 decompression schemes have been implemented. Support for LZW decompression has also been added. Support for Horizontal differencing predictor decoding is also included, when used with LZW compression. However, this support is limited to data with bitsPerSample value of 8. When reading in RGB images, support for alpha and extraSamples being present has been added. Support for reading in images with 16 bit samples has been added. Support for the ...
PdfResources: PdfResources is the PDF Resources-object. The marking operations for drawing a page are stored in a stream that is the value of the Contents key in the Page object's dictionary. Each marking context includes a list of the named resources it uses. This resource list is stored as a dictionary that is the value of the context's Resources key, and it serves two functions: it enumerates the named resources in the contents stream, and it established the mapping from the names to the objects used by the marking operations. This object is described in the 'Portable Document Format Reference Manual version ...
Barcode128: Implements the code 128 and UCC/EAN-128. Other symbologies are allowed in raw mode. The code types allowed are: CODE128 - plain barcode 128. CODE128_UCC - support for UCC/EAN-128 with a full list of AI. CODE128_RAW - raw mode. The code attribute has the actual codes from 0 to 105 followed by '\uffff' and the human readable text. The default parameters are: x = 0.8f; font = BaseFont.createFont("Helvetica", "winansi", false); size = 8; baseline = size; barHeight = size * 3; textAlignment = Element.ALIGN_CENTER; codeType = CODE128;
CFFFontSubset: This Class subsets a CFF Type Font. The subset is preformed for CID fonts and NON CID fonts. The Charstring is subseted for both types. For CID fonts only the FDArray which are used are embedded. The Lsubroutines of the FDArrays used are subsetted as well. The Subroutine subset supports both Type1 and Type2 formatting altough only tested on Type2 Format. For Non CID the Lsubroutines are subsetted. On both types the Gsubroutines is subsetted. A font which was not of CID type is transformed into CID as a part of the subset process. The CID synthetic creation was written by Sivan Toledo
PdfIndirectObject: PdfIndirectObject is the Pdf indirect object. An indirect object is an object that has been labeled so that it can be referenced by other objects. Any type of PdfObject may be labeled as an indirect object. An indirect object consists of an object identifier, a direct object, and the endobj keyword. The object identifier consists of an integer object number , an integer generation number , and the obj keyword. This object is described in the 'Portable Document Format Reference Manual version 1.3' section 4.10 (page 53).
PdfName: PdfName is an object that can be used as a name in a PDF-file. A name, like a string, is a sequence of characters. It must begin with a slash followed by a sequence of ASCII characters in the range 32 through 136 except %, (, ), [, ], <, >, {, }, / and #. Any character except 0x00 may be included in a name by writing its twocharacter hex code, preceded by #. The maximum number of characters in a name is 127. This object is described in the 'Portable Document Format Reference Manual version 1.3' section 4.5 (page 39-40).
PdfCell: A PdfCell is the PDF translation of a Cell . A PdfCell is an ArrayList of PdfLine s. When using variable borders ( isUseVariableBorders() 55 == true), the borders are drawn completely inside the cell Rectangle so that adjacent cell borders will not overlap. Otherwise, the borders are drawn on top of the edges of the cell Rectangle and will overlap the borders of adjacent cells.
Hyphen: This class represents a hyphen. A 'full' hyphen is made of 3 parts: the pre-break text, post-break text and no-break. If no line-break is generated at this position, the no-break text is used, otherwise, pre-break and post-break are used. Typically, pre-break is equal to the hyphen character and the others are empty. However, this general scheme allows support for cases in some languages where words change spelling if they're split across lines, like german's 'backen' which hyphenates 'bak-ken'. BTW, this comes from TeX.
TIFFField: A class representing a field in a TIFF 6.0 Image File Directory. The TIFF file format is described in more detail in the comments for the TIFFDescriptor class. A field in a TIFF Image File Directory (IFD). A field is defined as a sequence of values of identical data type. TIFF 6.0 defines 12 data types, which are mapped internally onto the Java datatypes byte, int, long, float, and double. This class is not a committed part of the JAI API. It may be removed or changed in future releases of JAI.
PdfFont: PdfFont is the Pdf Font object. Limitation: in this class only base 14 Type 1 fonts (courier, courier bold, courier oblique, courier boldoblique, helvetica, helvetica bold, helvetica oblique, helvetica boldoblique, symbol, times roman, times bold, times italic, times bolditalic, zapfdingbats) and their standard encoding (standard, MacRoman, (MacExpert,) WinAnsi) are supported. This object is described in the 'Portable Document Format Reference Manual version 1.3' section 7.7 (page 198-203).
PdfIndirectReference: PdfIndirectReference contains a reference to a PdfIndirectObject . Any object used as an element of an array or as a value in a dictionary may be specified by either a direct object of an indirect reference. An indirect reference is a reference to an indirect object, and consists of the indirect object's object number, generation number and the R keyword. This object is described in the 'Portable Document Format Reference Manual version 1.3' section 4.11 (page 54).
PdfRectangle: PdfRectangle is the PDF Rectangle object. Rectangles are used to describe locations on the page and bounding boxes for several objects in PDF, such as fonts. A rectangle is represented as an array of four numbers, specifying the lower lef x , lower left y , upper right x , and upper right y coordinates of the rectangle, in that order. This object is described in the 'Portable Document Format Reference Manual version 1.3' section 7.1 (page 183).
PdfDate: PdfDate is the PDF date object. PDF defines a standard date format. The PDF date format closely follows the format defined by the international standard ASN.1 (Abstract Syntax Notation One, defined in CCITT X.208 or ISO/IEC 8824). A date is a PdfString of the form: (D: YYYYMMDDHHmmSSOHH'mm') This object is described in the 'Portable Document Format Reference Manual version 1.3' section 7.2 (page 183-184)

Home | Contact Us | Privacy Policy | Terms of Service