Page 1 of 1

Toolbar in PDF-file

Posted: Thu 15. Jul 2010, 13:50
by argo2185
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?

Re: Toolbar in PDF-file

Posted: Fri 23. Jul 2010, 10:26
by sechel
This is possible but not yet implemented. You could place a feature request for that.

Re: Toolbar in PDF-file

Posted: Tue 3. Aug 2010, 14:24
by argo2185
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

Re: Toolbar in PDF-file

Posted: Tue 3. Aug 2010, 14:29
by Andre
Can you please name the full Classname, with package etc. then I'll change it

Re: Toolbar in PDF-file

Posted: Tue 3. Aug 2010, 14:42
by Andre
Ahh ok I fond it.

done.