Copy link to clipboard
Copied
I have a pdf that should have expandable part. For example:
Some dummy text
line1
line2
line3
Some dummy text 2
If there are more then three lines, "Some dummy text 2" should goes down.
Is this possible in Acrobat DC?
Copy link to clipboard
Copied
There are no good solutions. You might as well say you want your paper form to have expandable areas.
"Expandable Areas" means re-flowing the page contents to accomodate the expansion. This is not a feature of PDF documents. It is a feature of LiveCycle PDFs, which aren't really PDF at all, but rather a dynamic form technology ecapsultated in a PDF shell. I think they are called something else now, but to create such a document you'll to buy a special tool from Adobe. These forms are not well supported by 3rd party or mobile PDF viewers
There are a couple of alternatives available for PDF's that you can do in Acrobat Pro.
1) Page Templates can add a new page to the document. Search for it on this forum. There are many threads on this topic.
2) It's possible to dynamically move, resize, and even create form fields. This is messy and requires a lot of code, but it can be done to mimic dynamic reflow.
Neither of these strategies are well supported by 3rd party and mobile PDF viewers.
Copy link to clipboard
Copied
Thank you for your answer. I use Acrobat DC for creating reports from the application. For static reports, it works great. But impossibility to create dynamic reports should take me back to crystal reports.
Copy link to clipboard
Copied
I apologize, I assumed you were talking about an interactive form. It's good to have this information up front.
Since you are creating reports, rather than distributing an interactive form there are many more possibilities.
For example, the "Report" object.
When I've had a need to create reports I've written an automation script that uses this object in combination with form fields. You could even use templates and/or watermarks or overlaying standard report parts, such as logos, headers and footers. Basically you are building a document dynamically from a privileged script, so the dicussions you may have read on form techniques do not apply.
Copy link to clipboard
Copied
This is exactly what I need - using form fields for static parts of the report and SOMETHING. For example:
Name: ______ Surname: _______
List of friends:
...
Country ______
etc.
For name, surname and country I should use form fields, but how to make country field position. Using big multiline form field for List of friends or setting font size as Auto doesn't look as great solution.
I pass values for the fields from the database/app.
Copy link to clipboard
Copied
It's not well documented, but the Report.writeText() function returns the bounding rectangle of the text it writes. Just save the coordinate of the text near the locations where the fields need to go.
You can also use the markup annotations to create simple graphics on the page.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now