admin管理员组

文章数量:1353252

I'm looking for some information/references/examples and how to use javascript in Bluebeam.

Bluebeam said that you can refer to the following AcroForm documentation :

  • .pdf
  • .pdf

But while trying to use some objects / properties / methods of those references, it seems than only some of them can be used. So, as there is no dedicated Bluebeam references, it's really tedious to figure out what can be done in JS within Bluebeam.

I've looked at all the examples from Bluebeam as this one : /

But this is very basic. Even while looking in details there is no much information.

Here is for example something that I'm trying to do : - Open a dialog just before saving with the "Doc/WillSave" event - Fill the different fields of the dialog - Use the fields content to save file or pre-fill the save field from the saveAs dialog - Save the file.

Obviously, the js-file is in a folder with security rights. But most of those functions seems not to exist in Bluebeam.

I've contacted the BB support but with not any feedback yet. Also, I found out other related post (@Logan) but there is not much follow-up about how it was solved (or not) => How to Save a .pdf document using Javascript

Thanks.

I'm looking for some information/references/examples and how to use javascript in Bluebeam.

Bluebeam said that you can refer to the following AcroForm documentation :

  • https://www.adobe./content/dam/a/en/devnet/acrobat/pdfs/js_developer_guide.pdf
  • https://www.adobe./content/dam/a/en/devnet/acrobat/pdfs/js_api_reference.pdf

But while trying to use some objects / properties / methods of those references, it seems than only some of them can be used. So, as there is no dedicated Bluebeam references, it's really tedious to figure out what can be done in JS within Bluebeam.

I've looked at all the examples from Bluebeam as this one : https://support.bluebeam./articles/how-can-i-create-interactive-stamps/

But this is very basic. Even while looking in details there is no much information.

Here is for example something that I'm trying to do : - Open a dialog just before saving with the "Doc/WillSave" event - Fill the different fields of the dialog - Use the fields content to save file or pre-fill the save field from the saveAs dialog - Save the file.

Obviously, the js-file is in a folder with security rights. But most of those functions seems not to exist in Bluebeam.

I've contacted the BB support but with not any feedback yet. Also, I found out other related post (@Logan) but there is not much follow-up about how it was solved (or not) => How to Save a .pdf document using Javascript

Thanks.

Share Improve this question asked Aug 13, 2018 at 9:07 AuredorAuredor 711 gold badge1 silver badge6 bronze badges
Add a ment  | 

2 Answers 2

Reset to default 5

The javascript engine closely resembles that of acrobat, but there are some differences. Bluebeam desperately needs to release their own API reference.

That being said, I do have an unofficial Bluebeam API reference file that was given to me during the conference last year. Unfortunately I can't attach excel files to these posts, but I produced a .jpeg image where I have piled all of the data for you:

I have found some success in using this as a guide to first check to see what operations are available in Bluebeam, and then using the Acrobat API reference to find the syntax.

I hope this is helpful. Please post if you e across a better reference guide for the Bluebeam-specific API.

I have not had much success with requesting reference guides from the Bluebeam team, I think they try to refrain from distributing javascript references since their "eXtreme" software package has limited pre-built javascript code as a selling point. Maybe with some increased pressure they will realize the need to release a prehensive guide for their API.

Best of luck! Again, the Bluebeam API file is below: Bluebeam API

Bluebeam Revu 2019 includes two reference documents in their Help folder: C:\Program Files\Bluebeam Software\Bluebeam Revu\2019\Help

  • Bluebeam Revu eXtreme Script Reference.pdf

    • Applies to Bluebeam Revu eXtreme
    • Version 1.0.8, published February 27, 2019
  • Bluebeam Script Reference.pdf

    • Applies to Bluebeam Q and Bluebeam Revu eXtreme
    • Version 2.0.10, published February 27, 2019

本文标签: pdfJavaScript Library with BluebeamStack Overflow