com.lowagie.toolbox.plugins

Class ImageXRefViewer

public class ImageXRefViewer extends AbstractTool

Allows you to inspect the Image XObjects inside a PDF file.

Since: 2.1.1 (imported from itexttoolbox project)

Nested Class Summary
classImageXRefViewer.SpinnerListener
Field Summary
JPanelimage_panel
The panel that will show the images.
JSpinnerjSpinner
The spinner that will allow you to select an image.
CardLayoutlayout
The layout with the images.
inttotal_number_of_pictures
The total number of pictures inside the PDF.
Constructor Summary
ImageXRefViewer()
Creates a ViewImageXObjects object.
Method Summary
protected voidcreateFrame()
voidexecute()
protected FilegetDestPathPDF()
static voidmain(String[] args)
Shows the images that are in the PDF as Image XObjects.
voidpropertyChange(ChangeEvent evt)
Reflects the change event in the JSpinner object.
voidvalueHasChanged(AbstractArgument arg)

Field Detail

image_panel

JPanel image_panel
The panel that will show the images.

jSpinner

JSpinner jSpinner
The spinner that will allow you to select an image.

layout

CardLayout layout
The layout with the images.

total_number_of_pictures

int total_number_of_pictures
The total number of pictures inside the PDF.

Constructor Detail

ImageXRefViewer

public ImageXRefViewer()
Creates a ViewImageXObjects object.

Method Detail

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

main

public static void main(String[] args)
Shows the images that are in the PDF as Image XObjects.

Parameters: args String[]

propertyChange

public void propertyChange(ChangeEvent evt)
Reflects the change event in the JSpinner object.

Parameters: evt ChangeEvent

valueHasChanged

public void valueHasChanged(AbstractArgument arg)

Parameters: arg StringArgument

See Also: valueHasChanged