Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Insert Page Break Based on Condition

Community Beginner ,
Jan 06, 2020 Jan 06, 2020

Good morning,

 

I am hoping to get assistance with inserting a page break based off of a condition in my PDF using Adobe Acrobat Pro DC. I would like to instet a page break before every occurence of the phrase "Grading Legend". Is there a way to do this a or a way to set up an action wizard/Java Script for this? 

Thank you!

TOPICS
Edit and convert PDFs , How to
2.6K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
1 ACCEPTED SOLUTION
LEGEND ,
Jan 06, 2020 Jan 06, 2020
LATEST

To be clear, you cannot insert a page break into a PDF, not manually, not any how, so there is not going to be any JavaScript for it.

View solution in original post

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 06, 2020 Jan 06, 2020

Wouldn't that be done in the original program that created the PDF?

David Creamer: Community Expert (ACI and ACE 1995-2023)
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 06, 2020 Jan 06, 2020

Ideally, yes. Unfortunately, I do not have access to that program as the PDF is created based off of a report I run in a database/SIS. Because of this, I can't change the programming of the report and can only try and find solutions to editing the final result in PDF. When running the report in Word, some formatting and data is lost. 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 06, 2020 Jan 06, 2020

I think Adobe Experience Manager Designer* could do this, but I don't see it being done in a static PDF in Acrobat. (Someone will correct me if I'm wrong.)

 

Can you get the data ouput as tab-delimited or CSV instead of a PDF? Then you could manipulate it before making the PDF. 

 

'*AEM can pull data directly from a database and create flowable PDFs, but they are quite different from Acrobat PDFs.

David Creamer: Community Expert (ACI and ACE 1995-2023)
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 06, 2020 Jan 06, 2020

I am able to run the data in CSV, but not convert it back to the necessary formatting in PDF. I will continue to research this. 

 

Thank you!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 06, 2020 Jan 06, 2020

If you have complex formatting--there is another possible option...

Chekc out importing the file into InDesign using the Em Software InData plugin. 

 

I did a massive job with this for a couple of years, working with exported data. The InData plugin allows use of if/else statements (among other options) for applying formatting.

David Creamer: Community Expert (ACI and ACE 1995-2023)
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 06, 2020 Jan 06, 2020
LATEST

To be clear, you cannot insert a page break into a PDF, not manually, not any how, so there is not going to be any JavaScript for it.

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