com.lowagie.toolbox.plugins
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 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,
ArrayList<PdfDictionary> pageInh,
int count_in_leaf,
PdfWriter writer) |
static void |
main(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, setMenubar
FileArgument destfile
int pagecount
float width
float height
PdfDictionary lastpage
float tolerancex
float tolerancey
int pagecountinsertedpages
int pagecountrotatedpages
protected void createFrame()
AbstractTool
createFrame
in class AbstractTool
AbstractTool.createFrame()
protected void iteratePages(PdfDictionary page, PdfReader pdfreader, ArrayList<PdfDictionary> pageInh, int count_in_leaf, PdfWriter writer) throws IOException
IOException
private void Seitehinzufuegen(PdfDictionary page, int count_in_leaf, PdfWriter writer, PdfArray array) throws IOException
IOException
public void execute()
AbstractTool
execute
in class AbstractTool
AbstractTool.execute()
private void appendemptypageatend(PdfReader reader, PdfWriter writer) throws IOException
IOException
public int getPagecountinsertedpages()
public int getPagecountrotatedpages()
public void valueHasChanged(AbstractArgument arg)
AbstractTool
valueHasChanged
in class AbstractTool
arg
- StringArgumentAbstractTool.valueHasChanged(com.lowagie.toolbox.arguments.AbstractArgument)
public static void main(String[] args)
args
- String[]protected File getDestPathPDF() throws InstantiationException
AbstractTool
getDestPathPDF
in class AbstractTool
InstantiationException
AbstractTool.getDestPathPDF()