pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Евгений Король <fffa...@gmail.com>
Subject Re: PdfBox PDFDebugger
Date Fri, 01 Mar 2019 04:57:07 GMT
I just get this from PDFDebugger.java:
DocumentEntry documentEntry = new DocumentEntry(document, file.getName());
ZoomMenu.getInstance().resetZoom();
RotationMenu.getInstance().setRotationSelection(RotationMenu.ROTATE_0_DEGREES);
tree.setModel(new PDFTreeModel(documentEntry));
I do setModel for my tree and its works.

пт, 1 мар. 2019 г. в 00:50, Tilman Hausherr <THausherr@t-online.de>:

> Am 28.02.2019 um 12:12 schrieb Евгений Король:
> > Hello. How can i get Tree from "pdfbox pdfdebugger" to my application. I
> > have a project in Netbeans with constructed JPanel. In Jpanel i have
> JTree.
> > I can run "pdfbox pdfdebugger" for file on JMenu button. But i need to
> get
> > Tree from debugger to my JTree.Where to start?
> >
>
> The best would be to get the source code and start with the main class,
> which is PDFDebugger. The tree is "tree" but it is private. Try creating
> a modified version and when done, please tell what getters / setters you
> need. PDFDebugger isn't really part of the API, it's just a tool.
>
> Tilman
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
> For additional commands, e-mail: users-help@pdfbox.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message