public class Normalize extends AbstractTool
| Modifier and Type | Class and Description |
|---|---|
class |
Normalize.Ausrichtung |
| Modifier and Type | Field and Description |
|---|---|
(package private) FileArgument |
destfile |
(package private) float |
height |
(package private) PdfDictionary |
lastpage |
(package private) int |
pagecount |
(package private) int |
pagecountinsertedpages |
(package private) int |
pagecountrotatedpages |
(package private) float |
tolerancex |
(package private) float |
tolerancey |
(package private) float |
width |
arguments, internalFrame, MENU_EXECUTE, MENU_EXECUTE_PRINT, MENU_EXECUTE_PRINT_SILENT, MENU_EXECUTE_SHOW, menuoptions, versionsarray| Constructor and Description |
|---|
Normalize()
Constructs a Burst object.
|
| Modifier and Type | Method and Description |
|---|---|
private void |
appendemptypageatend(PdfReader reader,
PdfWriter writer) |
protected void |
createFrame()
Creates the internal frame.
|
void |
execute()
Executes the tool (in most cases this generates a PDF file).
|
protected java.io.File |
getDestPathPDF()
Gets the PDF file that should be generated (or null if the output isn't a PDF file).
|
int |
getPagecountinsertedpages() |
int |
getPagecountrotatedpages() |
protected void |
iteratePages(PdfDictionary page,
PdfReader pdfreader,
java.util.ArrayList<PdfDictionary> pageInh,
int count_in_leaf,
PdfWriter writer) |
static void |
main(java.lang.String[] args)
Normalize PDF file.
|
private void |
Seitehinzufuegen(PdfDictionary page,
int count_in_leaf,
PdfWriter writer,
PdfArray array) |
void |
valueHasChanged(AbstractArgument arg)
Indicates that the value of an argument has changed.
|
actionPerformed, addVersion, getArguments, getInternalFrame, getMenubar, getUsage, getValue, setArguments, setInternalFrame, setMainArguments, setMenubarFileArgument destfile
int pagecount
float width
float height
PdfDictionary lastpage
float tolerancex
float tolerancey
int pagecountinsertedpages
int pagecountrotatedpages
protected void createFrame()
AbstractToolcreateFrame in class AbstractToolAbstractTool.createFrame()protected void iteratePages(PdfDictionary page, PdfReader pdfreader, java.util.ArrayList<PdfDictionary> pageInh, int count_in_leaf, PdfWriter writer) throws java.io.IOException
java.io.IOExceptionprivate void Seitehinzufuegen(PdfDictionary page, int count_in_leaf, PdfWriter writer, PdfArray array) throws java.io.IOException
java.io.IOExceptionpublic void execute()
AbstractToolexecute in class AbstractToolAbstractTool.execute()private void appendemptypageatend(PdfReader reader, PdfWriter writer) throws java.io.IOException
java.io.IOExceptionpublic int getPagecountinsertedpages()
public int getPagecountrotatedpages()
public void valueHasChanged(AbstractArgument arg)
AbstractToolvalueHasChanged in class AbstractToolarg - StringArgumentAbstractTool.valueHasChanged(com.lowagie.toolbox.arguments.AbstractArgument)public static void main(java.lang.String[] args)
args - String[]protected java.io.File getDestPathPDF()
throws java.lang.InstantiationException
AbstractToolgetDestPathPDF in class AbstractTooljava.lang.InstantiationExceptionAbstractTool.getDestPathPDF()