com.lowagie.toolbox.plugins

Class Normalize

public class Normalize extends AbstractTool

Since: 2.1.1 (imported from itexttoolbox project)

Nested Class Summary
classNormalize.Ausrichtung
Field Summary
FileArgumentdestfile
floatheight
PdfDictionarylastpage
intpagecount
intpagecountinsertedpages
intpagecountrotatedpages
floattolerancex
floattolerancey
floatwidth
Constructor Summary
Normalize()
Constructs a Burst object.
Method Summary
voidappendemptypageatend(PdfReader reader, PdfWriter writer)
protected voidcreateFrame()
voidexecute()
protected FilegetDestPathPDF()
intgetPagecountinsertedpages()
intgetPagecountrotatedpages()
protected voiditeratePages(PdfDictionary page, PdfReader pdfreader, ArrayList<PdfDictionary> pageInh, int count_in_leaf, PdfWriter writer)
static voidmain(String[] args)
Normalize PDF file.
voidSeitehinzufuegen(PdfDictionary page, int count_in_leaf, PdfWriter writer, ArrayList<PdfObject> arl)
Bei ungeraden Seiten die Seitenabmessungen speichern
voidvalueHasChanged(AbstractArgument arg)

Field Detail

destfile

FileArgument destfile

height

float height

lastpage

PdfDictionary lastpage

pagecount

int pagecount

pagecountinsertedpages

int pagecountinsertedpages

pagecountrotatedpages

int pagecountrotatedpages

tolerancex

float tolerancex

tolerancey

float tolerancey

width

float width

Constructor Detail

Normalize

public Normalize()
Constructs a Burst object.

Method Detail

appendemptypageatend

private void appendemptypageatend(PdfReader reader, PdfWriter writer)

createFrame

protected void createFrame()

See Also: createFrame

execute

public void execute()

See Also: execute

getDestPathPDF

protected File getDestPathPDF()

Returns: File

Throws: InstantiationException

See Also: getDestPathPDF

getPagecountinsertedpages

public int getPagecountinsertedpages()

getPagecountrotatedpages

public int getPagecountrotatedpages()

iteratePages

protected void iteratePages(PdfDictionary page, PdfReader pdfreader, ArrayList<PdfDictionary> pageInh, int count_in_leaf, PdfWriter writer)

main

public static void main(String[] args)
Normalize PDF file.

Parameters: args String[]

Seitehinzufuegen

private void Seitehinzufuegen(PdfDictionary page, int count_in_leaf, PdfWriter writer, ArrayList<PdfObject> arl)
Bei ungeraden Seiten die Seitenabmessungen speichern

valueHasChanged

public void valueHasChanged(AbstractArgument arg)

Parameters: arg StringArgument

See Also: valueHasChanged