com.swfit.core.pdf
Class ArticleToPDF

java.lang.Object
  |
  +--com.swfit.core.pdf.ArticleToPDF

public class ArticleToPDF
extends java.lang.Object

Functionality for converting XHTML articles to PDF - just a mess at the moment

Since:
SWFIT1.0
Version:
$Revision: 1.7 $ $Date: 2003/04/20 13:14:00 $
Author:
Olaf Havnes

Field Summary
static int COL_WIDTH
          Build a PDF document around a standard A4 sticker page, with 3 x 6 stickers on each page.
static int FONT_SIZE
          Build a PDF document around a standard A4 sticker page, with 3 x 6 stickers on each page.
static int LEFT_MARGIN
          Build a PDF document around a standard A4 sticker page, with 3 x 6 stickers on each page.
static int LINE_HEIGHT
          Build a PDF document around a standard A4 sticker page, with 3 x 6 stickers on each page.
static int PAGE_HEIGHT
          Build a PDF document around a standard A4 sticker page, with 3 x 6 stickers on each page.
static int ROW_HEIGHT
          Build a PDF document around a standard A4 sticker page, with 3 x 6 stickers on each page.
static int STICKER_COLS
          Build a PDF document around a standard A4 sticker page, with 3 x 6 stickers on each page.
static int STICKER_ROWS
          Build a PDF document around a standard A4 sticker page, with 3 x 6 stickers on each page.
static int STICKERS_ON_PAGE
          Build a PDF document around a standard A4 sticker page, with 3 x 6 stickers on each page.
static int TOP_MARGIN
          Build a PDF document around a standard A4 sticker page, with 3 x 6 stickers on each page.
 
Constructor Summary
ArticleToPDF()
           
 
Method Summary
static void main(java.lang.String[] args)
          Testing the iText package.
static byte[] stringsToPDFBytes(java.util.Vector string_arrays)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STICKER_COLS

public static final int STICKER_COLS
Build a PDF document around a standard A4 sticker page, with 3 x 6 stickers on each page.

STICKER_ROWS

public static final int STICKER_ROWS
Build a PDF document around a standard A4 sticker page, with 3 x 6 stickers on each page.

STICKERS_ON_PAGE

public static final int STICKERS_ON_PAGE
Build a PDF document around a standard A4 sticker page, with 3 x 6 stickers on each page.

LINE_HEIGHT

public static final int LINE_HEIGHT
Build a PDF document around a standard A4 sticker page, with 3 x 6 stickers on each page.

LEFT_MARGIN

public static final int LEFT_MARGIN
Build a PDF document around a standard A4 sticker page, with 3 x 6 stickers on each page.

TOP_MARGIN

public static final int TOP_MARGIN
Build a PDF document around a standard A4 sticker page, with 3 x 6 stickers on each page.

COL_WIDTH

public static final int COL_WIDTH
Build a PDF document around a standard A4 sticker page, with 3 x 6 stickers on each page.

ROW_HEIGHT

public static final int ROW_HEIGHT
Build a PDF document around a standard A4 sticker page, with 3 x 6 stickers on each page.

PAGE_HEIGHT

public static final int PAGE_HEIGHT
Build a PDF document around a standard A4 sticker page, with 3 x 6 stickers on each page.

FONT_SIZE

public static final int FONT_SIZE
Build a PDF document around a standard A4 sticker page, with 3 x 6 stickers on each page.
Constructor Detail

ArticleToPDF

public ArticleToPDF()
Method Detail

main

public static void main(java.lang.String[] args)
Testing the iText package.

stringsToPDFBytes

public static byte[] stringsToPDFBytes(java.util.Vector string_arrays)


Swfit developer homepage
Copyright © 2003 Orgdot AS. All Rights Reserved.