Is it possible to extract a PDF file into separate ones but using a specific file name that comes from the PDF page?

Hello,
I am unsure if this is possible but its worth asking.
I have a PDF document that contains 56 pages.
Each page has an 'Agreement Number' at the top left.
I have managed to successfully extract the pages into separate documents (56 documents) but they are all named the same but page 1, page 2, page 3 etc..
What i am trying to do is use these 'agreement numbers' in the extraction process so when they save i have 56 different files but they show the agreement number in the file name.
i have looked into changing the actual page numbers on the page thumbnails to see if you can do it that was to no avail.
any help would be much appreciated, or tell me i cant do it, at least i know ill be defeated.
PS i have around 6 or 7 PDF files with 50+ pages so its a long boring task if i need to go and rename all these.
Cheers
Jez

It would be possible in theory to do it with a folder-level script, provided the string you need is in exactly the same structural position on each page. You would use the doc.getPageNthWord() function to collect the string you want, then the doc.extractPages() function to save each page to a file.
See the Acrobat SDK documentation for help with scripting. http://bit.ly/AXISDKH

Similar Messages

  • Upload a file into Oracle database without using a temp file in the server.

    Hello.
    I need to upload a file into a Oracle database, but I have not permission to write a temp file in the aplication server. Because of this, I can't use a MultipartRequest object.
    Does anybody know how to do this?
    Thanks everybody for your help.

    You can still use a MultiPart request.
    Use the Apache FileUpload package.
    Get the InputStream of the file being uploaded.
    Now you can either store the file in memory by writing to a java.io.ByteArrayOutputStream or you can save the file to Oracle by writing it to a java.sql.Blob object using the Blob.setBinaryStream method. This Blob object can then be persisted to Oracle.
    Unfortunately I don't have sample code readily available.

  • How can i extract the text from the PDF files,Power point files,Word files?

    hi friends,
    i need to extract text from the PDF files,Power Point,Ms word files.Is it possible with java?if yes how can i extract text from those files.please give solution this problem.i would be thankful if u provide solution.
    regards,
    prakash.

    Find an API which could read each of those files and start coding.

  • Using browser javascript to copy selected text from a pdf file opened in Air app.

    I have posted this question on reader forum as well, but I think it is more suited here...
    I am trying to create a note-taking application in air. I want to extract selected text from pdf file as a string object or to the clipboard.
    Obviously, all pdfs in my local storage will not be scripted to recieve postMessages and act accordingly, and that is not practical either. So, my problem is, how can I copy the selected text in the pdf file (opened as an object in htmlloader within my Air app) to clipboard or directly in another control by say clicking a button in air application? I suppose, this is possible using javascript, however, I don't know which reader methods are exposed to the wrapper htmlloader control. In short, I want to execute app.execMenuItem("Copy") command through htmlloader javascript. Any alternate solutions are also welcome.
    This is similar to passing inbuilt commands/methods/functions (of adobe reader) to pdf-reader plugin embedded in a webpage via javascript. This is possible in IE where the pdf is rendered as activex object, and hence JSObject interface of pdf document/reader is accessible to the browser javascript. I have also read that this same JSObject is accessible to VB as interface for IAC, so as the Air is Adobe's own product, I was wondering if equivalent of JSObject is accessible to htmlloader control as well.
    Thanks in advance...
    Mits

    Thank you Thom for your reply...
    from
    http://www.adobe.com/devnet/acrobat/javascript.html
    ...Through JavaScript extensions, the viewer application and its plug-ins expose much of their functionality to document authors, form designers, and plug-in developers...
    As it is explicitly mentioned, that the functionality of adobe reader are exposed for plugin development, I thought someone here might have used external javascript to execute some safe methods in adobe reader. The functionality (i.e. external javascript interface-JSObject) is already available for VB programmers to develop IAC. Further, the Acrobat SDK example called "AcroPDFinHML" shows how one can embed a pdf-reader in a html page and execute some safe methods (like gotonextpage(), zooming etc.) in IE as ActiveX plugin. I have checked it myself for adobe reader 9, and it works perfectly, so there is no security issue as such to implement the same for another browser (like in my case, the htmlloader control in flex/air app).
    I intend to create a note taking application in air, where it is very much required that I should be able to copy selected text from various pdf documents, that are open in my app, and subsequently paste/collect/save the collected notes and process them afterwords (offcourse, from the pdfs that allow me copying text). However, it is not happening for me here. As the pdfs are opened through adobe reader plugin, it does not register the copy command executed by my air app. It registers the system level copy command (by keyboard shortcut Ctrl+C), but my air app has no way to execute the system level copy command programmatically. So I am kind of stuck here...
    Thanks again for your reply. Having known what am I intend to accomplish, any other (may be alternative) solutions will be appreciated nonetheless...
    Mits

  • Converting multiple files into a one PDF:Error

    I have a .net app which converts multiple pdf files to one big PDF using postscript. For few PDFs while combining I get this error message. What is this means? How to fix it?
    ERROR: undefined
    OFFENDING COMMAND: findresource
    STACK:
    /Adobe-Identity
    -dictionary-
    -dictionary-
    /CIDFontObject
    -mark-
    -dictionary-
    /Arial
    -dictionary-
    -dictionary-
    9/
    C0_0
    10
    1
    -dictionary

    I suppose you use some fairly recent version of Ghostscript, and the PDF in question uses a CID font which is not embedded.
    Therefore the interpreter looks for a substitution font and does not find a suitable one.
    See the Ghostscript documentation (file "use.htm") for handling CID fonts. Among other items, it states:
    Please note that when a PDF font resource specifies
    /Registry (Adobe) /Ordering (Identity)
    there is no way to determine the language properly. If the CID font file is not embedded, the Adobe-Identity record depends on the document and a correct record isn't possible when a document refers to multiple Far East languages. In the latter case add individual records for specific CID font names used in the document.
    Probably aou need to edit the file cidfmap by hand to define a suitable substitution font (as you didn't tell what system you are using, I cannot tell the
    correct path where the said file will reside).
    Helge

  • Just converted a PDF document to Word, none of the graphics from the PDF file show up in the Word document?

    Just converted a PDF document to Word, none of the graphics from the PDF file show up in the Word document?
    What do I need to do to bring the graphics and exhibits from the PDF file to the Word file?

    Hi jackp52432917,
    How was that PDF file created? Please see  Will Adobe ExportPDF convert both text and form... | Adobe Community
    It could be that the PDF file you're converting was created using a third-party application, and it doesn't contain all the information necessary to ensure a clean conversion. Have you had similar troubles converting other PDF files?
    Best,
    Sara

  • How do I save a pdf file to iphoto? I used to be able to do this in the "save as" option

    how do I save a pdf file to iphoto? I used to be able to do this in the "save as" option

    Save as is back again - available - in Mavericks by hitting the Option key while in the app's File menu (duplicate will change to save as).

  • I just paid almost $10 to create a pdf from a jpg file, but I did it so that I could edit it. Now I find out I needed a different Adobe package that would create the pdf AND let me edit it. What do I do now?

    I just paid almost $10 to create a pdf from a jpg file, but I did it so that I could edit it. Now I find out I needed a different Adobe package that would create the pdf AND let me edit it. What do I do now?

    Hi Marion,
    PDF pack is meant to convert files to pdf format, Here's the feature list : Convert Word to PDF, Convert PDF to Word & Merge PDFs | Adobe PDF Pack
    In order to Create, Convert, edit pdf files, one needs to purchase Acrobat Software, Here's a feature list of Acrobat Pro : Features, PDF documents | Acrobat XI Pro
    However, you can download a free 30 day trial of Acrobat software using the following link : https://helpx.adobe.com/acrobat/kb/acrobat-downloads.html
    Regards,
    Rahul

  • When I open an encryted pdf file in my Hp  Slate 7 voice Tab it was unable to open the pdf file.Tje same file was opening with other pdf reader software.Kindly Help.

    When I open an encryted pdf file in my Hp  Slate 7 voice Tab it was unable to open the pdf file.Tje same file was opening with other pdf reader software.Kindly Help.
    [spam link removed]

    Could you please send the pdf to [email protected] so that we may investigate the issue?
    Thanks,
    Adobe Reader Team

  • How to include several PDF documents into just one file?

    I have a Word document with 6 pages that I saved in PDF.
    I wanted to transform the entire document in JPEG (JPG) immage, so that I could use it in other tools, such as Facebook for example.
    The problem is that using Adobe Photoshop it opens and saves page by page.
    Can you give me s solution or hint?
    Flavio
    [email protected]

    Thank you!
    I already saved all pages as .pdf w/ Acrobat and have all 6 pages saved in
    .jpg, using Photoshop.
    Problem is that I want to post the whole text in my Facebook page, and to
    have it in six pieces is not quite readable...
    Thanks anyway and have a joyful Xmas!
    2011/12/24 try67 <[email protected]>
       Re: How to include several PDF documents into just one file?  created
    by try67 <http://forums.adobe.com/people/try67> in Adobe Reader - View
    the full discussion <http://forums.adobe.com/message/4102594#4102594>

  • It is possible to get info from the PDF

    Hi Everyone,
    I'm new baby to acrobat using javascript. It is possible to get info from the PDF.
    The Info contain like Color space, Trim size, which font  used depend on pages and which color is used for image & text.
    Thanks in advance.
    -yajiv

    Hi GKaiseril,
    Thanks for prompt response.
    Actually I'm a new baby to Acrobat script. Please explain briefly How do I write java script and execute.
    I'm familiar with Photoshop and Indesign Script. We are using ExtendedScript Toolkit editor for writing script.
    Thanks in advance.
    -yajiv

  • How to remove html tags from the pdf file ?

    Hello,
    Using BI publisher we are generating a pdf file. In the table, we have data which contains html tags. for example " test1<br> 2.test2<br> 3.test3<br> ".
    In the pdf file we need to get the output like this
    test1
    test2
    test3
    But the output is as follows :"test1<br> 2.test<br> 3.test3<br> "
    Any idea, how these html tags can be removed from the pdf file and obtain the required result?
    Thanks in advance!!
    Archana

    Archana,
    Can you wrap your code in <code> tags (use square brackets rather than angled ones), as the forum software is interpretting the HTML tags, in other words we can't see what you mean ;)
    In any case, there are a few different options (guessing at what your problem is, without seeing the actual data), you could use htf.escape_sc or replace, regexp_replace etc to substitute the values before you output them to your PDF.
    Hope this helps,
    John.
    Blog: http://jes.blogs.shellprompt.net
    Work: http://www.apex-evangelists.com
    Author of Pro Application Express: http://tinyurl.com/3gu7cd
    REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone!

  • How to export the XFDF file from the PDF?

    I need to export as XFDF file from the PDF and then save that xfdf file in the same location through javascript. I used this.exportAsXFDF(); for exporting. But i dont know how to save that xfdf file through scripting. Kindly advice me. This is for Acrobat 8.0 professional and windows platform.

    There are couple of security restrictions you will have to deal with.
    You need to use a trusted function as outlined in the Acrobat JavaScript API Reference, freely down loadable form the Developer community on Adobe's site.
    See the following articles by Thom Parker:
    File paths in Acrobat JavaScript
    How to save a PDF with Acrobat JavaScript

  • How to read data from the PDF file

    Hi
    i need pdf related API details and sample program to retrive the data from the pdf.

    Did you even try looking this one up yourself? Google "java pdf" and you get plenty of results. The first one looks pretty promising, and I'm sure there is plenty of documentation with the API.

  • Extract Pantone color from the PDF using c#.

    hi i have an requirement to extact pantone color from PDF. So i had decided will  go for acrobat.dll or illustrator library to get pantone and other color from the PDF.Can you please help me out how to proceed and get pantone color from PDF using c#.thanku in advance

    If the PDF has Pantone colors in it, you can use output preview to see it. If you want a Pantone equivalent of a CMYK value you can do this:
    In Illustrator, make a cmyk swatch of the desired color, open the Color Guide panel (Window > Color Guide), then press the Swatch Library button in the panel's lower left corner and choose color books> Pantone+solid coated. Clicking the first color in the Color Harmony section (the Base Color) at the top of the panel will add the closest PMS Spot Color equivalent to your Swatches panel.
    There is often no exact 4/C match for a spot color, but this method will get you in the ballpark.

Maybe you are looking for

  • Problems with re-installing Snow Leopard.

    I'm trying to reset my macbook pro to factory settings, but when loading the Snow leopard CD the screen dims and a "Turn off your computer" message comes up, canceling the procedure. How do i fix this/reset my mac in another way? (As a side note, the

  • File adapter wild card not working

    Hi Gurus, My file adapter seems to have issues with me This adapter do not obey me when I specify wild cards. I have tried * , ? and also "Adavnced selection of source file" but no use. Although, he is a perfect gentleman when I specify complete file

  • Why is it better to use Proxies and not adapters

    When I connect 2 systems via XI, i can use proxies (if supported by the external systems) or adapters. The general view of SAP is that I should use (JAVA or ABAP) proxies where possible, and not adapters. Why are these "better" than file adapter or i

  • How to create a georaster object?

    Hi, I type this codes to create a georaster object. but there is error msg. SDO_GEOR.createBlank( rasterType IN INTEGER, ultCoord IN SDO_NUMBER_ARRAY, dimSizes IN SDO_NUMBER_ARRAY, cellValue IN NUMBER, rasterDataTable IN VARCHAR2 DEFAULT NULL, raster

  • Custom CSS Cursor support in Safari/Webkit

    I know the documentation says that custom cursors are not supported, but somehow CursorMania has figured out how to do it. (The following link is to an ad portal, but this post is not spam) http://cursormania.smileycentral.com/download/index.jhtml?sp