Toolbar in PDF-file

General discussion area.
Post Reply
argo2185
Posts: 16
Joined: Thu 4. Mar 2010, 14:24

Toolbar in PDF-file

Post by argo2185 » Thu 15. Jul 2010, 13:50

Hello,

when i use pdflatex to create a PDF that contains a u3d file, i have the option to add a toolbar. like it is shown in this image:

Image

Is it possible to add such a toolbar with the pdf writer of jreality?

sechel
Posts: 69
Joined: Tue 2. Oct 2007, 09:20

Re: Toolbar in PDF-file

Post by sechel » Fri 23. Jul 2010, 10:26

This is possible but not yet implemented. You could place a feature request for that.

argo2185
Posts: 16
Joined: Thu 4. Mar 2010, 14:24

Re: Toolbar in PDF-file

Post by argo2185 » Tue 3. Aug 2010, 14:24

Hey,

i analyzed the sourcecode of the WriterPDF and figured out that the toolbar for 3D objects is already implemented.

The only thing you have to do is to change the following annotation:

Code: Select all

annot.put(new PdfName("3DI"), PdfBoolean.PDFFALSE);
Instead of FALSE you use TRUE and the toolbar will be shown. Perhaps a setter could be implemented to arrange that.

ArGo

Andre
Posts: 226
Joined: Fri 18. Sep 2009, 11:30

Re: Toolbar in PDF-file

Post by Andre » Tue 3. Aug 2010, 14:29

Can you please name the full Classname, with package etc. then I'll change it

Andre
Posts: 226
Joined: Fri 18. Sep 2009, 11:30

Re: Toolbar in PDF-file

Post by Andre » Tue 3. Aug 2010, 14:42

Ahh ok I fond it.

done.

Post Reply