Results 1 to 6 of 6
  1. #1
    Join Date
    May 2008
    Posts
    6
    Rep Power
    0

    Post Please solve the problem related to PDf reader

    mport java.io.*;
    import java.lang.Object;
    import org.faceless.pdf2.Element;
    import org.faceless.pdf2.FormText;
    import java.text.Normalizer.Form;
    import org.faceless.pdf2.Form;
    import org.faceless.pdf2.FormChoice;
    import org.faceless.pdf2.FormText;
    import org.faceless.pdf2.PDF;
    import org.faceless.pdf2.PDFReader;
    import org.faceless.pdf2.FormCheckbox;
    public class readPKTLables {
    public static void main(String args[])
    {
    String FileName="C:\\ereview_packets\\rev_pac_test_cm21_t est_test1_test_srd_294.pdf";
    try {

    getReview_ID(FileName);

    }
    catch(Exception e)
    {
    e.printStackTrace();
    }
    }
    public static void getReview_ID(String FileName)
    {
    PDFReader readerInput = new PDFReader(new File(FileName));
    PDF pdfInput = new PDF(readerInput);

    Form form = pdfInput.getForm();
    FormText text = (FormText)form.getElement("R.Ref_ID");
    String Review_id = text.getValue(); // May be null

    //Review_id1= ((FormText)form.getElement(Review_id)).getValue();
    if(Review_id!=null)
    {
    System.out.println("Review_id Is Entered ANd The VAlue Is: "+Review_id);

    }
    else
    {
    System.out.println("Review_id1 Is not Entered *Please Enter It is an mandatory Field*");
    }

    }

    }




    By this program i just want to fetch the review_id Information which is a text box , but its not working , if u figure out the problem then it will be helpful for me

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

    Default

    Ah, I don't have faceless package. Where did you find it. It's better if you can add download link or attach the package. Most of the members here in our community may don't have that package.

  3. #3
    Join Date
    May 2008
    Posts
    6
    Rep Power
    0

    Default hi

    hi Eranga,
    i found the solution , the problem is with the faceless package after importing that package it will work fine.
    any way thanks for ur reply.


    Thanks & Regards,

    Kavitha.

  4. #4
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

  5. #5
    indela is offline Member
    Join Date
    Nov 2011
    Posts
    2
    Rep Power
    0

    Default Re: Please solve the problem related to PDf reader

    hi kavitha garu

    this is sreenivasulu i am developing barcode generator. please send me jar file or link to download.
    my mail id is indela447@gmail.com

    thanks in advance

  6. #6
    pbrockway2 is offline Moderator
    Join Date
    Feb 2009
    Location
    New Zealand
    Posts
    4,565
    Rep Power
    12

    Default Re: Please solve the problem related to PDf reader

    Hi indela, welcome to the forum.

    Please don't revive ancient threads. Especially since what you're asking has nothing to do with the original content. It is better to start your own thread.

    In this case there is no reason to start a new thread: if you're after the faceless pdf package, use Google. google:+faceless+pdf will yield a link to this pdf library as its first result.

Similar Threads

  1. Math Related Problem
    By perito in forum Advanced Java
    Replies: 1
    Last Post: 03-21-2008, 08:53 AM
  2. Math Related Problem
    By perito in forum New To Java
    Replies: 3
    Last Post: 03-20-2008, 05:22 PM
  3. A simple DOM reader
    By Java Tip in forum Java Tip
    Replies: 0
    Last Post: 01-03-2008, 09:24 AM
  4. Cannot solve the coding problem of my assignment
    By elimmom in forum New To Java
    Replies: 3
    Last Post: 08-13-2007, 11:33 AM
  5. help with file reader
    By jason27131 in forum New To Java
    Replies: 1
    Last Post: 08-01-2007, 03:03 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •