Auto formatting entire pdf

Explorer ,
Feb 04, 2020

Copy link to clipboard

Copied

Hi - I am working on a PDF form that uses a custom javascript to auto fill text boxes based on check marks. Becasue there a few different selections is it possible to write a script that will auto format the whole document, so all of my paragraphs are equally spaced and paragraphs/lines wont have to be pushed up or down when the form is complete ? 

 

Thank you 

TOPICS
Acrobat SDK and JavaScript, How to, PDF forms

Views

91

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Auto formatting entire pdf

Explorer ,
Feb 04, 2020

Copy link to clipboard

Copied

Hi - I am working on a PDF form that uses a custom javascript to auto fill text boxes based on check marks. Becasue there a few different selections is it possible to write a script that will auto format the whole document, so all of my paragraphs are equally spaced and paragraphs/lines wont have to be pushed up or down when the form is complete ? 

 

Thank you 

TOPICS
Acrobat SDK and JavaScript, How to, PDF forms

Views

92

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Feb 04, 2020 0
Most Valuable Participant ,
Feb 04, 2020

Copy link to clipboard

Copied

Only if the entire contents of your file is located in form fields.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 04, 2020 0
Explorer ,
Feb 05, 2020

Copy link to clipboard

Copied

They are all in form text boxes - I used a script to made them fill based on check boxes, but the paragraphs that fill are all different sizes depending on the check box selection. I'm basically creating a letter based on a request form with check boxes as options.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 05, 2020 0
Explorer ,
Feb 07, 2020

Copy link to clipboard

Copied

they are all in form text boxes, any suggestions ? 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 07, 2020 0
try67 LATEST
Most Valuable Participant ,
Feb 07, 2020

Copy link to clipboard

Copied

Fields can be moved around a page by manipulating the value of their rect property. They can't be moved from page to page, though, without removing and re-creating them entirely each time.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 07, 2020 0