public class JavaFXOpenFile extends Object
| Constructor and Description |
|---|
JavaFXOpenFile() |
| Modifier and Type | Method and Description |
|---|---|
static void |
executeOpenFile(Object[] args,
GUIFactory currentGUI,
GUISearchWindow searchFrame,
PropertiesFile properties,
GUIThumbnailPanel thumbnails,
PdfDecoderInt decode_pdf,
Values commonValues) |
static void |
executeOpenURL(Object[] args,
Values commonValues,
GUISearchWindow searchFrame,
GUIFactory currentGUI,
PdfDecoderInt decode_pdf,
PropertiesFile properties,
GUIThumbnailPanel thumbnails) |
static boolean |
isPDFLinearized(String pdfUrl)
examine first few bytes to see if linearized and return true linearized file
|
static void |
open(String file,
Values commonValues,
GUISearchWindow searchFrame,
GUIFactory currentGUI,
PdfDecoderInt decode_pdf,
PropertiesFile properties,
GUIThumbnailPanel thumbnails) |
static void |
openFile(Values commonValues,
GUISearchWindow searchFrame,
GUIFactory currentGUI,
PdfDecoderInt decode_pdf,
PropertiesFile properties,
GUIThumbnailPanel thumbnails)
checks file can be opened (permission)
|
static boolean |
openUpFile(String selectedFile,
Values commonValues,
GUISearchWindow searchFrame,
GUIFactory currentGUI,
PdfDecoderInt decode_pdf,
PropertiesFile properties,
GUIThumbnailPanel thumbnails)
initial method called to open a new PDF
|
static void |
processPage(Values commonValues,
PdfDecoderInt decode_pdf,
GUIFactory currentGUI,
GUIThumbnailPanel thumbnails)
decode and display selected page
|
static void |
selectFile(Values commonValues,
GUISearchWindow searchFrame,
GUIFactory currentGUI,
PdfDecoderInt decode_pdf,
PropertiesFile properties,
GUIThumbnailPanel thumbnails)
opens a pdf file and calls the display/decode routines
|
public static void executeOpenFile(Object[] args, GUIFactory currentGUI, GUISearchWindow searchFrame, PropertiesFile properties, GUIThumbnailPanel thumbnails, PdfDecoderInt decode_pdf, Values commonValues)
public static void executeOpenURL(Object[] args, Values commonValues, GUISearchWindow searchFrame, GUIFactory currentGUI, PdfDecoderInt decode_pdf, PropertiesFile properties, GUIThumbnailPanel thumbnails)
public static void openFile(Values commonValues, GUISearchWindow searchFrame, GUIFactory currentGUI, PdfDecoderInt decode_pdf, PropertiesFile properties, GUIThumbnailPanel thumbnails)
PdfExceptionpublic static void open(String file, Values commonValues, GUISearchWindow searchFrame, GUIFactory currentGUI, PdfDecoderInt decode_pdf, PropertiesFile properties, GUIThumbnailPanel thumbnails)
public static void processPage(Values commonValues, PdfDecoderInt decode_pdf, GUIFactory currentGUI, GUIThumbnailPanel thumbnails)
public static boolean openUpFile(String selectedFile, Values commonValues, GUISearchWindow searchFrame, GUIFactory currentGUI, PdfDecoderInt decode_pdf, PropertiesFile properties, GUIThumbnailPanel thumbnails) throws PdfException
PdfExceptionpublic static void selectFile(Values commonValues, GUISearchWindow searchFrame, GUIFactory currentGUI, PdfDecoderInt decode_pdf, PropertiesFile properties, GUIThumbnailPanel thumbnails)
public static final boolean isPDFLinearized(String pdfUrl)
pdfUrl - PdfExceptionCopyright © 2017. All rights reserved.