Views
Replies
Total Likes
Views
Replies
Total Likes
Views
Replies
Total Likes
Is this code really dissassembling the pdf? Look more like merging two pdfs together.
What if I have a PDF with 10 pages, which I want to split into 10 pdfs - one pdf per page.
Views
Replies
Total Likes
Yes it does. It disassembles pdf1 by extracting pages 1-3 and disassembles pdf2 by extracting pages 4-5. Then re-assembles the two subsets into a new PDF.
You could extract page1 from pdf1 only and create a pdf, then page2 of pdf1 into a different PDF using something similar to:
<?xml version="1.0" encoding="UTF-8"?>
<DDX xmlns="http://ns.adobe.com/DDX/1.0/">
<PDF result="Final.pdf">
<PDF source="PDF1.pdf" pages="1"/>
</PDF>
<PDF result="Final2.pdf">
<PDF source="PDF1.pdf" pages="2"/>
</PDF>
</DDX>
You can also use the PDFFromBookmarks tag to generate a new document for each level 1 bookmark created in a PDF.
<PDFsFromBookmarks prefix="stmt">
<PDF source="doc1.pdf"/>
</PDFsFromBookmarks>
You can get more info at http://livedocs.adobe.com/livecycle/8.2/ddxRef/000640.html
Jasmin
Views
Replies
Total Likes
Great thanks, works perfect! Bookmarks I don´t have, so I will cycle and modify the result and page number in ddx, if possible.
Anyway - how to get number of the pages from docForm variable?
Views
Replies
Total Likes
If you use the docInfo command in the DDX it will return a pile of
info, including the page count
Views
Replies
Total Likes
The Acrobat Javascript can't access the code of a bookmark,so I think we can also use a 3rd party program PDF splitter to split PDF files by pages or bookmark.
Views
Replies
Total Likes
The set of codes offered here is a nice finding of me today, I also think it's a simple way that I can use to <link removed> from the tips I find from Wiki how. Both are worth trying.
Message was edited: for this user, across multiple threads, to remove link promotion
Views
Replies
Total Likes
Hi.If you want to split PDF,i'll suggest you to creat a sample c#project.With .NET imaging SDK,you may easily split PDFfiles by pages
Views
Replies
Total Likes
Views
Like
Replies
Views
Likes
Replies
Views
Likes
Replies