How to distinguish a text in acrobat professional 8.0?

Hi all,
I am new to this forum.
First, let me explain my problem:
I have a acrobat file which looks like as shown above. There is some text which corresponds to each number. I am interested to extract the numbers which have some particular text( ex:N/A) embedded in that text. With this, I am able to get 17 and 21. But, number 19 is also coming, though it does not has N/A in it. I mean, as there is N/A outside the box but before next question number, it appears like it is also associated with number 19.
My code is as follows:
var NA_Pattern1 = /N\/A\"/g;
var NA_Pattern2 = /N\/A/g;
        var my_pattern = /Y/g;
var Page_variable,Word_variable,k,l,number_of_pages;
var Prev_label,Present_label,count;
var word1,word2;
var Total_Qstn_Strng;
        Prev_label = 0;
k = 0;
count = 0;
number_of_pages = k ;
var Qstn_num = 1;
Total_Qstn_Strng = "";
for( Page_variable = 0 , l = 0 ; Page_variable < this.numPages ; Page_variable++ )
  if ( this.getPageLabel( Page_variable ) == Checklist_Pages[ l ] )
   //Get the number of words present in the page
  l++;
  Number_of_Words_in_a_Page = this.getPageNumWords( Page_variable );
Word_variable = 0;
    do
      word1 = this.getPageNthWord( Page_variable , Word_variable , false );
     Word_variable ++ ;
     word2 = this.getPageNthWord( Page_variable , Word_variable , false );
     Total_String = word1 + word2;
    while ( !NA_Pattern2.test( Total_String ) );
  for(  ; Word_variable < Number_of_Words_in_a_Page ;Word_variable ++  )
     word1 = this.getPageNthWord( Page_variable , Word_variable , false );
    if ( (word1 == Qstn_num ))
      Word1 = this.getPageNthWord( Page_variable , Word_variable , false );
      Total_String = "";
      while( (Qstn_num + 1) !=  Word1 && !(my_pattern.test(Word1)) )
       Total_String = Total_String + Word1;
       Word_variable ++;
       if ( Word_variable == Number_of_Words_in_a_Page )
        break;
       Word1 = this.getPageNthWord( Page_variable , Word_variable , false );
     if( NA_Pattern2.test(Total_String) || NA_Pattern1.test(Total_String))
       Total_Qstn_Strng = Total_Qstn_Strng + "," +  Qstn_num );
      Qstn_num ++;
      Word_variable --;   
app.alert(Total_Qstn_Strng);
Thanks in advance,
Shivaraj

You may look also at the dimension of the words (getPageNthWordQuads).

Similar Messages

  • How can I do when my acrobat professional 6.01 is not compatible with WIN7 system?

    how can I do when my acrobat professional 6.01 is not compatible with WIN7 system?

    If you are lokking for loopholes or workarounds - they don't exist. Your only option is to buy a new license of Acrobat XI. Of course, depending on what functionality you need, there are enough alternative, cheaper tools to create and edit PDFs or even free tools. Most of them won't deal with forms or otehr advanced features, though, but as long as you only want to convert your Word files to PDFs, the'll do the trick and you don't need Acrobat.
    Mylenium

  • How can I align text in Acrobat 8.1 Professional?

    Okay this is quite silly, but seriously how can I align text in adobe acrobat? I could not find a way other than creating a new document file which allows me to use alignment options automatically (example below), however does not allow me that when I reopen the same file (alignment and text options just dissapear on the bars, funny). Help anyone please? =/
    http://img152.imageshack.us/my.php?image=examplemo2.jpg

    Not that silly; but you ideally shouldn't be trying. Although there are some rudimentary (and sometimes unpredictable) editing tools in Acrobat, (I presume you are trying with the TouchUp Object tool as well as the TouchUp Text ?) much better to get it right in the source application and think of the pdf as what it basically is...a print.
    For whatever reason, v5 could edit text positioning rather more easily than the later versions.

  • Excel hyperlink is opening pdf file using reader, how can I make it use Acrobat professional?

    I created a hyerlink in excel to a pdf file. The file automatically opens up using  adobe reader, I want it to open using Acrobat professional. How do I set it up. Thanks

    Open Acrobat, go to Edit - Preferences - General and click the Select
    Default PDF Handler button there.

  • How can I continue installation of acrobat professional 7

    I had to reset my system to an earlier date (unrelated problem) and lost my full installation of Acrobat Professional 7.1 during this process. After downloading the file 22020134.exe from Adobe the attempt to install the file, was interrupted at the following location (CaptureA):with the following error messages (Capture1 + 2)
    At this point I could not continue and have no clue how to continue the installation. I would appreciate to learn about a solution to my problem.
    Thank you!

    This error indicates that there is insufficient write permission on the mentioned location. You can try providing permission to this folder and hit retry.
    Also, these screenshots seem taken on a Windows 7 machine. If that's the case, I would like to inform you that Acrobat7 is an old software and is not compatible with Windows 7. Please make sure you meet the system requirements and do not run into another problem after installing it.
    http://www.adobe.com/products/acrobatpro/tech-specs.html
    Please feel free to post back if you need more information.

  • How to Enable Comments in Adobe Acrobat Professional?

    Hai Pals,
    Am doing one desktop application for Adobe Acrobat Professional 8 in Java. Am in need to enable the comment option in Acrobat. I have idea to do this requirement through some other Third Party Scripts. Even i done that by script means, i want to do the interaction between the script and my application in JAVA. So, The better way i chosen was creating the entire application by JAVA. I have found some information by Google. There is some package to access the Adobe called adobe-utilities.jar. By using the package we can access the adobe application. Can someone guide me to develop my application module?
    By,
    MO

    Thanks For your Response. I got some idea through Google. I think it's possible with adobe lifecycle. But i have'nt any idea about that. I have found that some JAR like adobe-utilities.jar,j2ee.jar has some facilities to do the existing operations with a JAVA code. Is there any other technology like Scripting, StartupScripts or etc.,..
    By,
    MO

  • How can I re-download Adobe Acrobat Professional to a Mac?

    I had Adobe Acrobat Professional on my old Mac, but recently got a new computer. The only link I can find is for a Windows download. Is there any other way to re-download this?

    You should be able to download the trial version of the software thru the page linked below and then use your current serial number to activate it.
    Be sure to follow the steps outlined in the Note: Very Important Instructions section on the download pages at this site and have cookies enabled in your browser or else the download will not work properly.
    CS5: http://prodesigntools.com/all-adobe-cs5-direct-download-links.html

  • How Do You Enlarge Text In Acrobat X?

    All I want to do is go into a PDF file and enlarge the text, so that when I print it, the text is larger than what has been sent to me.
    Can someone with a generous heart, just please give me  step by step guidance?  Literally, a step by step guide as in, go here, then go there, then do this, then do that.
    Brought the software this year, 2011.  At a lost.
    Thank you so much,
    Peter Reznikoff
    [email address deleted by host]

    Steve is correct (as usual), however if you are desperate, here are a few work-arounds:
    1. Buy a PDF editor like Pitstop, expensive, but useful.
    2. Open and edit the PDF in Illustrator, dicy and lots of potential problems, depending on the flavor of your PDF.
    3. Make a copy of your PDF, Using Tools> Advanced editing> Touch up object tool> select and delete everything except the type you want to enlarge. Delete the type on your original, then place both PDFs in InDesign and enlarge the PDF with the type, Export to a new PDF.

  • How many Licenses of Acrobat Professional do I need for Adobe LC PDF Generator

    Hi,
    At our customer site we have purchased 6 licenses of Adobe LiveCycle PDF Generator and have recieved a license file with the keys for Adobe LiveCycle PDF Generator and Adobe Acrobat Professional. We bought the license from a reseller of the product. We understand that the Adobe LiveCycle PDF Generator is a server based software and needs 1 license per CPU. Each of our server (Dev, Val & Prod) have 2 CPU's so we have sufficient licenses (6). We are under the impression that this would suffice. How ever we are not sure on how many licenses we need for Acrobat Professional.
    Here is a brief description of the way we would use Adobe LiveCycle PDF Generator. We are deploying a PLM system and one of the requirement is to render Word documents to PDF so we are using PDF Generator for this capability. On our Adobe servers we will install Microsoft Word, Acrobat Professional V9 Extended and the Adobe Livecycle PDF Generator. We will have around 150 users for the PLM system being deployed. The PLM system is a Web based system which means the PLM application server will be running on a Solaris server in our case. As part of the workflows in the PLM system, at the end of the workflow process, the PLM server would trigger a request to the Adobe server to convert the word document to PDF. The Adobe server processess the request and returns the PDF file that gets generated.
    Based on the above usage of the system how many licenses of Acrobat Professional do we need? We will be installing Acrobat only on the server where we install the Livecycle PDF Generator. We had a call with our purchasing person today and she cautioned us that for Adobe Acrobat Professional we might need 1 license per user of the PLM system. She has asked us to check this with the Vendor of the product. Somehow I don't think it makes sense to purchase so many Acrobat Professional licenses even though we install only once.
    So can someone tell me How does the licensing for Adobe Livecycle PDF Generator work? How many Acrobat Professional licenses we actually need? Is it based on the number of users in the system that is triggering the request? Appreciate your response on this.
    Regards,
    Ragha

    You really should talk to your Adobe Sales Rep about this.  There are all kinds of special deals, licenses and such for customers using LiveCycle.  (For instance the license for PDFG may include Acrobat licenses for certain uses).

  • Edited PDF in photoshop and edit text in acrobat

    I am trying to edit an existing PDF that has a blue backround and text on it. I think it was made in photoshop. I had to fix a logo on it to so I brought the pdf to photoshop and edited the logo. But now I can't edit the text in acrobat professional! I could before I changed the logo.
    Is there something I need to do in photoshop first before I make it a pdf? Or should I just create the text in acrobat professional?
    I need to know for work. Reply soon.
    Thanks

    Renee,
    Welcome to Apple Discussions.
    You have somehow found your way to a forum that is for feedback about Discussions and has nothing to do with technical issues.
    You might do better in OSX forum at http://discussions.apple.com/forum.jspa?forumID=745
    However as this appears to be an Adobe product issue you may do better on one of their boards at http://www.adobe.com/support/forums/main.html
    Michael
    G4 733 512 MB   Mac OS 9.2.x  

  • How to get CMYK values in a PDF using Acrobat Professional

    Hi,
    Anybody can help me?
    How to get the CMYK values in a PDF file using Acrobat Professional?
    Thanks for looking into this!
    Regards,
    Sudhakar

    Select employee_id, max(address), max(phone), max(email)
    from emp
    group by employee_id;Max

  • How to download adobe acrobat Professional 10.0 setup

    Dear Sir or Madam,
           I Have Licence so how to download adobe acrobat Professional 10.0 setup.
    forumnotifier

    Hi Tech-ali,
    Please use the below direct link.
    http://prodesigntools.com/adobe-cs6-direct-download-links.html
    Please make sure to complete the Very Important Instructions section prior to clicking on the download link.
    Thanks

  • How to uninstall the Adobe Acrobat Professional 7.0?

    I can't uninstall the Adobe Acrobat Professional 7.0 from my computer. It shows saying "C:\Users\Administrator\AppData\Local\Adobe\Acrobat\7.0  Get last Error:5." It also can't be re-installed. How to do it?

    If you still want AA7 running, then open Acrobat and use Help>Repair. If you cannot open Acrobat, then in Windows go to Control Panel>Programs & Features, select AA7 and repair. If you do uninstall AA7, it is likely you will not be able to successfully reinstall it without a new download. Check https://helpx.adobe.com/x-productkb/policy-pricing/creative-suite-2-activation-end-life.ht ml. If you are to the point you have no choice but to complete the uninstall, then use http://labs.adobe.com/downloads/acrobatcleaner.html.

  • Problem in converting english text to arabic text in Acrobat XI professional

    Hi,
    One of our client is facing issue while converting english text to arabic text in Acrobat XI professional. Can somebody help me to find a solution for this.

    Ok , that is clear the customer has another query. He is trying to convert a pdf Arabic file into word formate but it is showing arabic font which is not in a proper form.i am attaching the print screen .

  • How to type visible text in an Acrobat document?

    Hi there.I totally don't know how to use Acrobat and I'd like to know how to fill up an Acrobat document.
    Whenever I try to type text in the blank fields, nothing shows and I can't see if there is text or what I'm writing.
    It would be nice to know how to make the text appear in black.
    I've tried the different tools but can't change anything.
    Thanks for any help.

    I had the same issue recently. At work, most use is through a terminal server. Not sure if Adobe was updated, or changec, because I never paid attention to the version before. Currently it is Adobe Acrobat Standard 7.0. I'm not sure if there are any other numbers to that designation as I cannot find a simple "About Adobe" under help.
    In either event, there's no more typewriter under tools. However, it looks like I found an alternative.
    Tools > Advanced Editing > TouchUp Text Tool
    However, I am noticing it is not as versitile as Typwriter was. For example, I am trying to add numbers in a "Field" on a form, but when I click the document with the tool where I want it, it won't allow me to type where I want. I have to put the text "next" to the field title, and not under the title where you would naturally complete the field. If that makes sense.

Maybe you are looking for

  • Help! Material no longer playable since update...

    Since 'upgrading' my AppleTV to V4.4 and iTunes to 10.5 I can no play some shows/films that played fine before the update. I get the message  'An error occured loading this content. Try again later.' I can play them ok in iTunes on the MacMini connec

  • Help on Setting up Xserve Raid

    In our department we have three MacPro's, and one G5 Quad. We want to add an Xserve Raid to store and serve hi-res image files to each workstation. There is a company wide network (intranet) to which we have aready added the workstations, along with

  • I am about to give-up !

    I've been working on this since 1 AM... So i've been trying for more than 12 hours now !!!! I "JUST" need to create a "valid" horizontal navigation bar... (i.e. Valid = that shows active buttons when corresponding page are active) I tryed the regular

  • STRAIGHT, non-curving, audio frames

    If you put two audio keyframes a few seconds apart in a track, and you pull the second one down to nothing, the line sort of curves down, instead of going STRAIGHT down as in some other editing systems. Is there a way to make it not "curve", without

  • Set and access application items

    Hi, How can I set and access the values of application items from package? is't recommended to access application items from procedure? thanks,