Results 1 to 4 of 4

Thread: How to Automate PDF document Using JavaScript

  1. #1
    Join Date
    Apr 2009
    Posts
    78

    How to Automate PDF document Using JavaScript

    Hello friends,

    I just wanted to know how we can Automate PDF document using JavaScript, i heard this is possible with the javascript which has an very lengthy code. and If possible also let me know how can we covert the PDF written text or documents into Word file.

    Thanks in Advance!

  2. #2
    Join Date
    Dec 2008
    Posts
    202

    Re: How to Automate PDF document Using JavaScript

    Acrobat JavaScript provides a simple and flexible way to automate this task, turning it into an easy one click operation when used from a toolbar button or menu item, or updating whole directories of files when used in a batch process. Metadata can even be added or updated through a server based workflow by using Acrobat JavaScript and PDF.

    Metadata information includes the document title, author, keywords, a copyright notice, and any other information the document authors feel is important. Unfortunately, applying metadata manually is time consuming, tedious and error prone. As a result, metadata is often either missing or inadequate on working PDF documents.

    Accessing the PDF Metadata from JavaScript

    The Acrobat JavaScript DOM (Document Object Model) provides a single, easy to use Document Object property for accessing the PDF metadata, the info property. With this property we can get and set any metadata value, as well as create new metadata entries. Some examples are shown below.

    Code:
    // Acquire the document title
    var strTitle = this.info.title;
    
    // Set the document author to the current users name
    this.info.author = identity.name;
    
    // Add a copyright notice. This is a custom metadata entry
    this.info.copyright = "Copyright\xA9 " + this.modDate.getFullYear( );

  3. #3
    Join Date
    Dec 2008
    Posts
    183

    Re: How to Automate PDF document Using JavaScript

    PDF to word file conversion is possible and i have a software that exports the text, images and other contents from any PDF document into MS Word document format (RTF or Word), so you can edit and reuse your PDF content. PDF2Word (PDF to Word) preserves the original PDF text, layout and bitmap images in the generated Word document.

    PDF2Word (PDF to Word) software is a standalone program and does not require Microsoft Word, Adobe Acrobat, or even Acrobat Reader.

  4. #4
    Join Date
    Oct 2008
    Posts
    167

    Re: How to Automate PDF document Using JavaScript

    You can also download the PDF to Word file converter from many sites it is also available on the internet and it helps you to easily and properly convert the PDF file to word format.

    http://www.investintech.com/prod_a2d.htm

Similar Threads

  1. Blank word document opens while opening original document
    By Loyalpalm in forum Windows Software
    Replies: 6
    Last Post: 02-12-2011, 12:27 AM
  2. How to Automate the bot in FrontierVille
    By Filiberto in forum Video Games
    Replies: 1
    Last Post: 10-02-2011, 04:26 AM
  3. How to automate the Winsetup from USB
    By @bLERINA@ in forum Operating Systems
    Replies: 4
    Last Post: 29-10-2010, 01:11 PM
  4. Replies: 5
    Last Post: 26-03-2010, 06:53 AM
  5. Return the title, URL and referrer in JavaScript document
    By KALLIYAN in forum Software Development
    Replies: 3
    Last Post: 10-12-2009, 12:32 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,054,793.53826 seconds with 16 queries