| Modifier and Type | Class and Description |
|---|---|
| pack-priv abstract static class | PDFDebugger.
Internal class to avoid double code in password entry loop. |
| Modifier and Type | Field and Description |
|---|---|
| public static final Properties | |
| private String | |
| private String | |
| private PDDocument | |
| private final JPanel | |
| private JMenu | |
| private JMenuItem | |
| private JMenuItem | |
| private JMenuItem | |
| private File | |
| private static final boolean | |
| private JScrollPane | |
| private JSplitPane | |
| private JTextPane | |
| private static Log | |
| private static final String | |
| private static final Set | |
| private String | |
| private static final FileFilter | |
| private JMenuItem | |
| private RecentFiles | |
| private JMenu | |
| private JMenuItem | |
| private JMenuItem | |
| private int | |
| pack-priv CommandLine. | |
| private static final Set | |
| private ReaderBottomPanel | |
| private TreeStatusPane | |
| private final PrintStream | |
| private Tree | |
| pack-priv boolean | |
| private boolean | |
| private WindowPrefs |
| Access | Constructor and Description |
|---|---|
| public | |
| public | PDFDebugger(String
initial view mode for the tree view on the left hand side. initialViewMode)Constructor. |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public Integer | call()
Implements java. Computes a result, or throws an exception if unable to do so. |
| private String | |
| private JMenu | |
| private JMenu | |
| private JMenu | |
| private void | |
| public JMenu | |
| public JMenuItem | |
| public JMenuItem | |
| public JMenuItem | Returns: the FindPrevious menuReturns the Edit > Find > Find Previous menu item. |
| private COSName | |
| public static String | Returns: a page label or null if not available.the current document document, int 0-based page number. pageIndex)Convenience method to get the page label if available. |
| public String | |
| private COSBase | |
| public boolean | |
| public void | hyperlinkUpdate(HyperlinkEvent
the event responsible for the update he)Implements javax. Called when a hypertext link is updated. |
| private void | |
| protected void | |
| public void | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private boolean | |
| private void | |
| private void | |
| public static void | |
| private void | |
| private void | |
| private void | |
| protected void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| public void | |
| private void | showColorPane(Object
the special color space containing node. csNode)Show a Panel describing color spaces in more detail and interactive way. |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void |
| configuration | back to summary |
|---|---|
| public static final Properties configuration | |
| currentFilePath | back to summary |
|---|---|
| private String currentFilePath | |
| currentTreeViewMode | back to summary |
|---|---|
| private String currentTreeViewMode | |
| document | back to summary |
|---|---|
| private PDDocument document | |
| documentPanel | back to summary |
|---|---|
| private final JPanel documentPanel | |
| findMenu | back to summary |
|---|---|
| private JMenu findMenu | |
| findMenuItem | back to summary |
|---|---|
| private JMenuItem findMenuItem | |
| findNextMenuItem | back to summary |
|---|---|
| private JMenuItem findNextMenuItem | |
| findPreviousMenuItem | back to summary |
|---|---|
| private JMenuItem findPreviousMenuItem | |
| infile | back to summary |
|---|---|
private File infile
| |
| IS_MAC_OS | back to summary |
|---|---|
| private static final boolean IS_MAC_OS | |
| jScrollPaneRight | back to summary |
|---|---|
| private JScrollPane jScrollPaneRight | |
| jSplitPane | back to summary |
|---|---|
| private JSplitPane jSplitPane | |
| jTextPane | back to summary |
|---|---|
| private JTextPane jTextPane | |
| LOG | back to summary |
|---|---|
| private static Log LOG | |
| OS_NAME | back to summary |
|---|---|
| private static final String OS_NAME | |
| OTHERCOLORSPACES | back to summary |
|---|---|
| private static final Set<COSName> OTHERCOLORSPACES | |
| password | back to summary |
|---|---|
private String password
| |
| PDF_FILTER | back to summary |
|---|---|
| private static final FileFilter PDF_FILTER | |
| printMenuItem | back to summary |
|---|---|
| private JMenuItem printMenuItem | |
| recentFiles | back to summary |
|---|---|
| private RecentFiles recentFiles | |
| recentFilesMenu | back to summary |
|---|---|
| private JMenu recentFilesMenu | |
| reopenMenuItem | back to summary |
|---|---|
| private JMenuItem reopenMenuItem | |
| saveAsMenuItem | back to summary |
|---|---|
| private JMenuItem saveAsMenuItem | |
| shortcutKeyMask | back to summary |
|---|---|
| private int shortcutKeyMask | |
| spec | back to summary |
|---|---|
| pack-priv CommandLine. | |
| SPECIALCOLORSPACES | back to summary |
|---|---|
| private static final Set<COSName> SPECIALCOLORSPACES | |
| statusBar | back to summary |
|---|---|
| private ReaderBottomPanel statusBar | |
| statusPane | back to summary |
|---|---|
| private TreeStatusPane statusPane | |
| SYSERR | back to summary |
|---|---|
private final PrintStream SYSERR
| |
| tree | back to summary |
|---|---|
| private Tree tree | |
| usageHelpRequested | back to summary |
|---|---|
pack-priv boolean usageHelpRequested
| |
| viewstructure | back to summary |
|---|---|
private boolean viewstructure
| |
| windowPrefs | back to summary |
|---|---|
| private WindowPrefs windowPrefs | |
| PDFDebugger | back to summary |
|---|---|
| public PDFDebugger() Constructor. | |
| PDFDebugger | back to summary |
|---|---|
| public PDFDebugger(String initialViewMode) Constructor.
| |
| addRecentFileItems | back to summary |
|---|---|
| private void addRecentFileItems() | |
| call | back to summary |
|---|---|
| public Integer call() Implements java. Doc from java. Computes a result, or throws an exception if unable to do so. | |
| convertToString | back to summary |
|---|---|
| private String convertToString(Object selectedNode) | |
| createEditMenu | back to summary |
|---|---|
| private JMenu createEditMenu() | |
| createFileMenu | back to summary |
|---|---|
| private JMenu createFileMenu() | |
| createFindMenu | back to summary |
|---|---|
| private JMenu createFindMenu() | |
| exitMenuItemActionPerformed | back to summary |
|---|---|
| private void exitMenuItemActionPerformed(ActionEvent ignored) | |
| getFindMenu | back to summary |
|---|---|
| public JMenu getFindMenu() Returns the File menu.
| |
| getFindMenuItem | back to summary |
|---|---|
| public JMenuItem getFindMenuItem() Returns the Edit > Find > Find menu item.
| |
| getFindNextMenuItem | back to summary |
|---|---|
| public JMenuItem getFindNextMenuItem() Returns the Edit > Find > Find Next menu item.
| |
| getFindPreviousMenuItem | back to summary |
|---|---|
| public JMenuItem getFindPreviousMenuItem() Returns the Edit > Find > Find Previous menu item.
| |
| getNodeKey | back to summary |
|---|---|
| private COSName getNodeKey(Object selectedNode) | |
| getPageLabel | back to summary |
|---|---|
| public static String getPageLabel(PDDocument document, int pageIndex) Convenience method to get the page label if available.
| |
| getTreeViewMode | back to summary |
|---|---|
| public String getTreeViewMode() Provide the current view mode of the tree view. see | |
| getUnderneathObject | back to summary |
|---|---|
| private COSBase getUnderneathObject(Object selectedNode) | |
| hasDocument | back to summary |
|---|---|
| public boolean hasDocument() | |
| hyperlinkUpdate | back to summary |
|---|---|
| public void hyperlinkUpdate(HyperlinkEvent he) Implements javax. Doc from javax. Called when a hypertext link is updated.
| |
| initComponents | back to summary |
|---|---|
| private void initComponents() This method is called from within the constructor to initialize the form. | |
| initGlobalEventHandlers | back to summary |
|---|---|
| protected void initGlobalEventHandlers() Initialize application global event handlers. Protected to allow subclasses to override this method if they don't want the global event handler overridden.
| |
| initTree | back to summary |
|---|---|
| public void initTree() | |
| isAnnot | back to summary |
|---|---|
| private boolean isAnnot(Object obj) | |
| isCIDFont | back to summary |
|---|---|
| private boolean isCIDFont(COSDictionary dic) | |
| isEncrypt | back to summary |
|---|---|
| private boolean isEncrypt(Object obj) | |
| isFlagNode | back to summary |
|---|---|
| private boolean isFlagNode(Object selectedNode, Object parentNode) | |
| isFont | back to summary |
|---|---|
| private boolean isFont(Object selectedNode) | |
| isFontDescriptor | back to summary |
|---|---|
| private boolean isFontDescriptor(Object obj) | |
| isOtherColorSpace | back to summary |
|---|---|
| private boolean isOtherColorSpace(Object selectedNode) | |
| isPage | back to summary |
|---|---|
| private boolean isPage(Object selectedNode) | |
| isSignature | back to summary |
|---|---|
| private boolean isSignature(Object selectedNode, Object parentNode) | |
| isSpecialColorSpace | back to summary |
|---|---|
| private boolean isSpecialColorSpace(Object selectedNode) | |
| isStream | back to summary |
|---|---|
| private boolean isStream(Object selectedNode) | |
| isString | back to summary |
|---|---|
| private boolean isString(Object selectedNode) | |
| jTree1ValueChanged | back to summary |
|---|---|
| private void jTree1ValueChanged(TreeSelectionEvent evt) | |
| loadConfiguration | back to summary |
|---|---|
| private void loadConfiguration() Loads the local configuration file, if any. | |
| main | back to summary |
|---|---|
| public static void main(String[] args) Entry point.
| |
| openMenuItemActionPerformed | back to summary |
|---|---|
| private void openMenuItemActionPerformed(ActionEvent evt) | |
| osxOpenFiles | back to summary |
|---|---|
| private void osxOpenFiles(String filename) This method is called via reflection on Mac OS X. | |
| osxQuit | back to summary |
|---|---|
| private void osxQuit() This method is called via reflection on Mac OS X. | |
| performApplicationExit | back to summary |
|---|---|
| protected void performApplicationExit() Exit the application after the window is closed. This is protected to let subclasses override the behavior.
| |
| printMenuItemActionPerformed | back to summary |
|---|---|
| private void printMenuItemActionPerformed(ActionEvent evt) | |
| readPDFFile | back to summary |
|---|---|
| private void readPDFFile(String filePath, String password) throws IOException, URISyntaxException | |
| readPDFFile | back to summary |
|---|---|
| private void readPDFFile(final File file, String password) throws IOException, URISyntaxException | |
| readPDFurl | back to summary |
|---|---|
| private void readPDFurl(final String urlString, String password) throws IOException, URISyntaxException | |
| replaceRightComponent | back to summary |
|---|---|
| private void replaceRightComponent(Component pane) | |
| saveAsMenuItemActionPerformed | back to summary |
|---|---|
| private void saveAsMenuItemActionPerformed(ActionEvent evt) | |
| setTreeViewMode | back to summary |
|---|---|
| public void setTreeViewMode(String viewMode) Set the current view mode of the tree view. see
| |
| showColorPane | back to summary |
|---|---|
| private void showColorPane(Object csNode) throws IOException Show a Panel describing color spaces in more detail and interactive way.
| |
| showFlagPane | back to summary |
|---|---|
| private void showFlagPane(Object parentNode, Object selectedNode) | |
| showFont | back to summary |
|---|---|
| private void showFont(Object selectedNode, TreePath path) | |
| showPage | back to summary |
|---|---|
| private void showPage(Object selectedNode) | |
| showSignaturePane | back to summary |
|---|---|
| private void showSignaturePane(Object selectedNode) | |
| showStream | back to summary |
|---|---|
| private void showStream(COSStream stream, TreePath path) throws IOException | |
| showString | back to summary |
|---|---|
| private void showString(Object selectedNode) | |
| textDialog | back to summary |
|---|---|
| private void textDialog(String title, URL resource) | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv abstract PDDocument | Returns: the PDDocument instanceOverride to load the actual input type (File, URL, stream), don't call it directly! |
| pack-priv final PDDocument |
| password | back to summary |
|---|---|
| pack-priv String password | |
| DocumentOpener | back to summary |
|---|---|
| pack-priv DocumentOpener(String password) | |
| open | back to summary |
|---|---|
| pack-priv abstract PDDocument open() throws IOException, URISyntaxException Override to load the actual input type (File, URL, stream), don't call it directly!
| |
| parse | back to summary |
|---|---|
| pack-priv final PDDocument parse() throws IOException, URISyntaxException Call this!
| |