We are trying to add a code to a multipage pdf file.
Let's say there's 1000 pages in the pdf file.
Every six pages corresponds to 1 account.
So those six pages need the same account number.
Then the following six would get a different account number.
ETC.
Has anyone ever run across something that would perform this function?
Can the pdf link to a data file, or would it have to use simple page numbering?
Thanks in advance!
You can programmatically add whatever you want to any subset of pages in a PDF using a variety of PDF librarys, commercial or OSS.
Can you be more specific?
Related
I need help creating a solution that would help me resolve PDF text replacement. We hired a programmer that tried to achieve our objective with a python-coded app but failed.
Our project hopes to automate these steps:
Get a folder with pdf documents
In Each document, we need to find particular text (usually in the upper third of the page). The information can be on multiple pages.
Hide/erase/ and replace the text with different information that we would pull from excel or SQL database. Make sure that the text is replaced on all occasions.
Next, rename the document based on the assigned doc name (pulled from excel or SQL).
Have a report of all documents that were processed and when the new version was and was not created.
Keep the original document saved for review and comparison.
I am happy to provide the original code from the developers if necessary, but it did not work...
Thank you for your help, community!
I have a Notes app that was designed for the browser, not the client. It allowed upload of files into the documents, so nearly all the documents have files. The files are stored in the NSF as $FILE and displayed in the documents as links.
I am using Adobe Acrobat Pro to create PDFs from the documents and need to include the file attachments within the PDFs, however the PDFs just include links to the files, not the attachments. Can I write an agent to run against the documents to get those files and embed them within the documents? When I view those documents through the client, I see all of the HTML etc. and then at the bottom of the document, the file attachments appear. When I view these same documents in the browser, the file attachments do not appear. If I could merely ensure that they are there, then when running the PDF generator in Acrobat Pro, they would be included in the PDFs and executable.
I am really stuck here, with no other way to 'archive' this notes database with all the data intact.
Thanks in advance for any insights!!
Ginni
There is a commercial product from Swing Software that does this. I hear that it's quite good, but I've never used it. Let me explain why...
The way I usually end up doing this is just quick-and-dirty. I write an agent to export the files, using the document UNID as part of the filename. The same agent exports all the data fields from the document into a CSV file, and I add a column with the filename of the extracted attachment. In your case, I would add two columns -- one for the extracted attachment(s), and one for the generated PDF. The CSV serves as an index for the exported data. It can be imported into something more friendly, or just left as-is and brought up in Excel, depending on the customer's usage requirements and available systems. I've recommended Swing Software's product and offered to explore other ideas for developing code (e.g., using wkhtmltopdf for Domino web apps to capture a WYSIWYG rendering based on an HTML crawl) for PDF rendering of Notes documents for a couple of clients, but none of them have justified the cost that would be involved in buying licenses and/or writing the code. Quick and dirty always seems to win, even when there are retention and eDiscovery considerations taken into account.
I'm designing a website for a small company and they want a database of documents where a user can search for policies. They hand me a rar with over 800 documents all within folders and with different files formats (for example a policy is divided into 3 jpeg files or a single .doc document). I trying to find a way to convert all these files to a pdf format without doing it manually in order to make a SQL database. someone have an idea?
I would suggest looking into Apache POI. You could write a module to automate the process and convert all of them into PDFs.
https://poi.apache.org/
Is possible add existing pdf file to ActiveReports 6 report?
We have two application.
First application create report and save it as pdf in shared folder.
Second application create own report and if report from first application exists - user want that report of first application will be added to report of second application.
Applications have different database. So regenerating first report not a solution for this case.
pdf combining is one workaround - which can be used if no solutions will be found.
You can do what you're describing with the rdf file format 'activereports' built in format. Not with pdf. However, once the second report is generated and the two documents ar combined you can export them to pdf
So far answer for question is No, it is not possible.
From Internet found only that in DataDynamic(ActiveReports is/was a part of DataDynamics) reports is property
"append existing .pdf to report"
But ActiveReports is another product, which haven't this possibilities.
In my case we decide to use #Issam workaround(save .rdf file to another folder and use it later with another report).
I accepted own answer, only because the reason, question was created, was to check if this kind of possibility exists for ActiveReports
We have a number of policies (about 150 or so) we make available for download on our webpage.
Recently, Management had us move from all policies residing in one PDF to one policy per PDF. Their reasoning was to make it easier for the end users to download the policy that they want, and to make it easier for us to replace them when they change.
Now, some end users are complaining that they want to download the whole set of policies as one large PDF. Maintaining both formats as independent documents not only doubles our work, but increases the likelihood of error.
Since these are changed often, what I would like to do is to build a script to instruct Adobe Acrobat Pro to combine these individual policy PDFs together in a specific order.
This doesn't have to be a scrip since a GUI method would also work.
Can this be done? If so, were can I look for examples?
Docotic.Pdf library can merge PDF files while maintaining outline (bookmarks) structure.
There is nothing special should be done. You just append all documents one after another and that's all.
using (PdfDocument pdf = new PdfDocument())
{
string[] filesToMerge = ...
foreach (string file in filesToMerge)
pdf.Append(file);
pdf.Save("merged.pdf");
}