com.lowagie.toolbox.plugins
Class Normalize
java.lang.Object
com.lowagie.toolbox.AbstractTool
com.lowagie.toolbox.plugins.Normalize
- All Implemented Interfaces:
- ActionListener, EventListener
public class Normalize
- extends AbstractTool
- Since:
- 2.1.1 (imported from itexttoolbox project)
Constructor Summary |
Normalize()
Constructs a Burst object. |
Methods inherited from class com.lowagie.toolbox.AbstractTool |
actionPerformed, addVersion, getArguments, getInternalFrame, getMenubar, getUsage, getValue, setArguments, setInternalFrame, setMainArguments, setMenubar |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
destfile
FileArgument destfile
pagecount
int pagecount
width
float width
height
float height
lastpage
PdfDictionary lastpage
tolerancex
float tolerancex
tolerancey
float tolerancey
pagecountinsertedpages
int pagecountinsertedpages
pagecountrotatedpages
int pagecountrotatedpages
Normalize
public Normalize()
- Constructs a Burst object.
createFrame
protected void createFrame()
- Description copied from class:
AbstractTool
- Creates the internal frame.
- Specified by:
createFrame
in class AbstractTool
- See Also:
AbstractTool.createFrame()
iteratePages
protected void iteratePages(PdfDictionary page,
PdfReader pdfreader,
ArrayList<PdfDictionary> pageInh,
int count_in_leaf,
PdfWriter writer)
throws IOException
- Throws:
IOException
Seitehinzufuegen
private void Seitehinzufuegen(PdfDictionary page,
int count_in_leaf,
PdfWriter writer,
PdfArray array)
throws IOException
- Throws:
IOException
execute
public void execute()
- Description copied from class:
AbstractTool
- Executes the tool (in most cases this generates a PDF file).
- Specified by:
execute
in class AbstractTool
- See Also:
AbstractTool.execute()
appendemptypageatend
private void appendemptypageatend(PdfReader reader,
PdfWriter writer)
throws IOException
- Throws:
IOException
getPagecountinsertedpages
public int getPagecountinsertedpages()
getPagecountrotatedpages
public int getPagecountrotatedpages()
valueHasChanged
public void valueHasChanged(AbstractArgument arg)
- Description copied from class:
AbstractTool
- Indicates that the value of an argument has changed.
- Specified by:
valueHasChanged
in class AbstractTool
- Parameters:
arg
- StringArgument- See Also:
AbstractTool.valueHasChanged(com.lowagie.toolbox.arguments.AbstractArgument)
main
public static void main(String[] args)
- Normalize PDF file.
- Parameters:
args
- String[]
getDestPathPDF
protected File getDestPathPDF()
throws InstantiationException
- Description copied from class:
AbstractTool
- Gets the PDF file that should be generated (or null if the output isn't a PDF file).
- Specified by:
getDestPathPDF
in class AbstractTool
- Returns:
- File
- Throws:
InstantiationException
- See Also:
AbstractTool.getDestPathPDF()