Word index

Hi.
Can some one point me in the right direction:
I want to know what is the index of a word (according to the page) where the cursor is at (mouse or word selection cursor)
I have the mouse page position in X Y, can I extract the index of the word in this X Y.
I have already tried with noXYSort list, but I cant really retrive the X Y of words from this list.
Do I need to do some thing like a selection rectangular around the mouse curser and find the word with in?
Thanks.

I dont understand why this works:
     AVDoc currentAVDoc = AVAppGetActiveDoc();
     PDDoc currentPDDoc = AVDocGetPDDoc(currentAVDoc);
     PDPage pdPage = PDDocAcquirePage (currentPDDoc, 1);
          PDTextSelectRangeRec rec;
          rec.end = 12;
          rec.ofsEnd = 0;
          rec.ofsStart = 0;
          rec.start = 10;
          PDTextSelect textSelection = PDTextSelectCreateRanges(pdPage,&rec,1);
          AVDocSetSelection(currentAVDoc, ASAtomFromString("Text"), (void *)textSelection, true);
          AVDocShowSelection (currentAVDoc);
          PDPageRelease (pdPage);
But this dose not:
     AVDoc currentAVDoc = AVAppGetActiveDoc();
     PDDoc currentPDDoc = AVDocGetPDDoc(currentAVDoc);
     PDPage pdPage = PDDocAcquirePage (currentPDDoc, 1);
     ASFixedRect rec2;
          rec2.bottom = 0;
          rec2.left = 0;
          rec2.right = 1000;
          rec2.top = 1000;
     PDTextSelect      textSelection = PDDocCreateTextSelect(currentPDDoc,1,&rec2);
     AVDocSetSelection(currentAVDoc, ASAtomFromString("Text"), (void *)textSelection, true);
     AVDocShowSelection (currentAVDoc);
     PDPageRelease (pdPage);

Similar Messages

  • I want to import a MS Word Index into a .pdf file using Adobe Pro.  How do I do that?

    I want to import a MS Word Index into a .pdf file using Adobe Pro. It is for a book.  The book has been converted to a .pdf for printing, but it needs an Index for the last page of the book.  I tried to embed a new index (starting from scratch but no luck.  Any suggestions?  Thank you for your time.

    Now I want to search this "myArrayStrings.get(r)" in another file. How to do that?Store the returned String. Do the same thing you did to read the first file to read the second file (i.e. read it in line-by-line and store the lines in a list). Then check if that list contains the String you stored from the first list.
    E.g. (using your code):
    String name = myArrayStrings.get(r); // assuming r is initialized somewhere before this
    if ( otherList.contains( name ) ) { // assuming otherList is your second list
        // do something
    }

  • Need script to export Indesign to word and keep word index codes

    Hi,
    I have a document and the index was created by importing word docs with indexentries. Now the client wants to revise the book and wants the text converted back to Word, but he wants to keep the orginal word index codes. Is that possible? Exporting as tagged text results in showing the index codes, but also much other codes which are not needed.
    Would be greatfuull for some tips, or preferable a script that does the trick.
    kind regards
    Peter
    Indesign  cs5.5 Imac 27 inch. Max osx 10.7.4 language Dutch

    designer1955 wrote:
    Exporting as tagged text results in showing the index codes, but also much other codes which are not needed.
    What were you going to do with this Tagged Text file? That's only good for re-importing it back into InDesign.
    Anyway, it doesn't require a script at all. I had the clever idea of testing this, and indeed: index entries in InDesign are exported in RTF.

  • How to import a Word index list into InDesign?

    How to import a Word index list into InDesign?

    Hi - thanks Steve Werner -- but that link is broken -- could you tell us what that post said?
    I have a Word doc with an index, and I'd like to keep it when importing into InDesign, and be able to regenerate the index in InDesign with the correct page numbers -- is this possible?
    Is there maybe a handy script that can be used?
    thank you

  • Does the newest RH have the output-to-Word index bug?

    Before wasting any more time trying to get the 12 pages of
    index to match the 450plus-page document, or learning to, in a few
    days, how to manually index a large Word doc, does the new releases
    of RH index outputs PROPERLY? Just upgrading may be the simplest
    thing (here in the Corporate world) than figuring it out on my own.
    Please let me know ASAP!

    First I want to thank Peter Grange for taking the time to
    assist. Even on the weekend! Thanks again Peter!
    Problem solved - yes Harvey, I even took my level 4 headings
    to level 2. This helped, but not completely; that's not the
    solution. Here's what I did.
    I bailed out of RoboHelp. (!)
    I just could not make it make sense and then started studying
    more on Word's index, and the information available online.
    For example, Towson University has a great PDF on Concordance
    Files in Word.
    Procedure to get a workable index in Word:
    1. Use RH to generate an index. Edit and manipulate as needed
    2. Output entire job in to Word.
    3. Review and confirm Word document.
    4. Took the Word index, copied to new file, stripped out the
    page numbers and made a 2 column table of it.
    5. Copied column 1 to column 2 (second colum can be used to
    change actual index text display).
    6. Created a concordance with that data, that will later be
    entered into Word's "Index, AutoMark" as a file.
    7. Closed Word - no need to save document.
    8. Went back to RH and reloaded the Job.
    9. Completely delete all index entries and save this way (no
    index).
    10. Again output this job to Word.
    11. Open document in Word.
    12. Now do my usual RH induced need-to-repaginate (because of
    image bug) and add necessary page breaks.
    13. Go to Word's Index feature and enter concordance file,
    and place index where desired.
    14. Add header that says "Index:" ( or whatever you want to
    heading the Index with.)
    15. Repaginate TOC and Index and "Whallah"! All page numbers
    now match the TOC and Index.
    Plus now the index is keyed to the PAGE not the TOPIC!
    MRK

  • PDFMaker 9 adding bookmarks to Word index markers

    Hi folks,
    I recently updated to Acrobat 9.5.1 and am seeing an odd, annoying problem. I use Microsoft Word 2007 to create a document with a non-standard heading style called "Message Bar." When I make my PDF, I ask PDFMaker to create a Level 3 bookmark for this style. This has worked well, without a hitch for several years.
    In recent document updates, however, PDFMaker appears to be picking up the index marker that sits next to the Message Bar heading and creating a separate bookmark. Curiously enough, it also adds consecutive numbering at the front of the bookmark, so that the first "index bookmark" is 1b<Message>, the second is 2b<DifferentMessage> and so on, through the document (and there are close to 1000 of these messages). After doing that, the normal bookmarks for this style are also listed. Both bookmarks point to the same (correct) location in the PDF doc.
    In the PDF preferences, the only headings/styles checked for bookmarks are Heading 1, Heading 2 and Message Bar.
    As a quick workaround, I deleted all the "index bookmarks" in Acrobat Pro and moved the standard bookmarks (with no extraneous numbering) into the proper place. As we update the doc and PDF every couple of months, I hope I won't have to do this forever. Nor am I keen to move my index markers to another line (or style).
    Is this a bug? Has anyone else seen something like this? Google didn't turn anything up. Appreciate any advice.

    Thanks Bill, yes I've created an index in Word but the links don't convert as they do for a table of contents.
    In PDFmaker, enabling Create Bookmarks, Add Links, Convert cross-references, Convert footnotes, Enable advanced tagging, and all options on the Bookmarks tab doesn't have any effect.
    Word doesn't build an index in quite the same way as a ToC (in Word itself the index entries aren't bookmarked) so I'm a bit pessimistic about this feature being in PDFMaker but it'd be nice if someone could confirm this. I've only tested in Word 2003 but I doubt 2007 works differently.

  • Bookmark Word index

    When I create PDFs using PDFMaker / Acrobat Pro 9, it converts TOC entries and footnote markers to clickable links but not index entries - is there any way to enable this?

    Thanks Bill, yes I've created an index in Word but the links don't convert as they do for a table of contents.
    In PDFmaker, enabling Create Bookmarks, Add Links, Convert cross-references, Convert footnotes, Enable advanced tagging, and all options on the Bookmarks tab doesn't have any effect.
    Word doesn't build an index in quite the same way as a ToC (in Word itself the index entries aren't bookmarked) so I'm a bit pessimistic about this feature being in PDFMaker but it'd be nice if someone could confirm this. I've only tested in Word 2003 but I doubt 2007 works differently.

  • RH11 - Tabs missing in Word Index

    I have just upgraded from RH10 to RH11. Upon upgrading a project and publishing a Word document in RH11 I see that the index entries are now missing the tab between the item and the page number.
    This is how the Word document looked in RH10
    This how it now appears in RH11. No changes have been made to any of the previous RH10 settings (i.e CSS or Word Template).
    The Word template still contains the tab setting for the Index style but the actual tab is not being inserted when the document is generated. Am I missing a setting somewhere or is this a bug?
    Thanks,
    Chris

    Hi Peter,
    No, this issue has not been resolved. I have not had time to raise a bug report as yet, but will do soon.
    The issue seems to be be in the Edit Field/Index dialog box in MS Word. In RH10 when a document was generated the 'Right align page numbers' box was checked, in RH11 it is left unchecked.
    Unfortunately, it is not as simple as just checking this box to fix the issue. When the box is checked the field code that adds the heading letter for each index group (e.g A, B, C etc) is removed,so this has to be manually added back in. It also upsets the section break before the Index changing it from an 'Odd' section break to a 'Continuous' break.
    Cheers,
    Chris

  • Words containing national characters (hungarian) are not indexed

    I created a table data source that contains text in a CLOB field, and added it to the sample UltraSearch query application.
    I created few lines in this table and run the index building.
    The demo is now able to search in the clob field.
    If the text contains at least one hungarian national character
    (example éíöü...)
    then the containing word will be not indexed.
    I couldn't find the word in
    dr$wk$doc_path_idx$i
    table.
    The other words without national characters are there.
    example:
    Ez egy teszt szöveg
    words indexed:
    Ez
    egy
    teszt
    word not indexed:
    szöveg

    Also problem:
    I set the default language to this data source Hungarian.
    I think this will be applied to all the documents in the source.
    select count(t.lang)
    from wk$doc t
    where t.lang = 'hu'
    5
    This works fine.
    I created a new record in the table with the following text:
    Ez itt most egy teszt szöveg.
    If I try to search the text
    most
    it will be not found.
    It is an english stopword
    see:
    select count(*) from ctx_user_index_values t where t.ixv_value = 'most' and t.ixv_class = 'STOPLIST'
    1
    This word means 'now' and has nothing to do with this stopword.
    Is it a bug or am I missed something?

  • Header or Index facility on iBooks Author and Pages?

    I'm an academic who has just published an eBook.
    I used iBooks Author to write it, thinking that would be as convenient as Apple equipment normally is....
    BUT: Neither iBooks Author nor Pages has
    a)  Index facility
    b)  Header facility.....
    Finally, to use the Publish facility on iBooks Author one must have a US Tax code.
    This limits the use of iBooks Author to USA Residents only.
    I'm shocked by this restrictive, exclusive limits from Apple iBooks Author...
    PLEASE can this be changed, Apple?!!
    Till then, I feel obliged to write my next book with Microsoft Word: though I shouldn't think iBooks will be able to accept a Word index....!!
    Mark

    Hi Mark
    Apologies for the confusion in not finding the 'masters' - coming from a print background, I tend to use the terminology of the main software I use. iBA calls them 'layouts'.
    These can be accessed from top of the sidebar by going to the two horizontal lines next to the word 'Book', and dragging it down. There you will see the layouts for chapter, sections, etc. Looks like this:
    These are the pages on which are used as the basis for the pages in the book. They can be changed (by clicking on the appropriate thumbnail on the sidebar), copied, or deleted (by right-clicking, and selecting from the options provided). I strongly recommend taking time to familiarise yourself with how these 'layouts' work, and really understanding them. Getting the template right from the outset is imperative. Take a look at the layouts for section and chapter starters. These already have text boxes which are set up to include Chapter name, section name, etc. 'Text variables', if you like. If you scroll down this list in the sidebar, you'll get to some alternative layouts for individual pages – 1 col, 2 col, 3 col, etc.:
    Now - as you rightly point out - iBA has no idea what a facing page is - they are not relevant to what it does - make Apple-only ebooks. but if you wanted an 'illusion' of a facing page, this is where you could make it, by adapting one (or making a copy of one and adapting that), and sticking your name at the top of the page.
    The problem is, this layout would not be used by default. You'd have to select every other page, right click on the thumbnail in the side-bar, and choose "Change Page Layout", whereupon you'll be able to select the layout you created for facing pages:
    One final caveat - you say you want to create a print book from a PDF of this. You say "Print publishers always accept PDF files of my book, and iBooks easily creates PDF versions of the eBook". Have these printers ever used a PDF from iBA to print from before? It might not be as straight-forward as assumed. Print PDFs include crop marks (for imposition), will have 'bleed' if necessary (bleed is where images or colours actual go over the edge of a page), and will use the CMYK colourspace - used in both litho and digital print. The PDFs from iBA have no crops, and so do not support bleed, and the one I have tested was RGB, so you could expect colour variation conversion from one format to the other. And that's without taking into account page size/proportion, etc.
    I would create a dummy book and make a PDF of that, and send it to your publisher/printer, and get them to see if they can use it first.
    In my experience, the print books have always come first - done in specialist software (InDesign/Quark, etc), then the text content is then exported (either via a Word format, or .idml in the case of InDesign), and the resulting file is imported into iBA, and the images formatted (i.e. changed from CMYK to RGB .jpgs) resized, and images imported into iBA.
    Hope that helps.

  • How do you create an index in Pages 08?

    Can you create an word index at the end of a research document in Pages 08? I've done this using Microsoft Word, but I can't find the function in Pages.
    I'm brand new to the Mac world, btw.

    This function is not available in Pages 08.
    There may be a third-party application that can do this.
    Good luck,
    Terry
    You might want to give Apple some feedback on this feature using the 'Provide Pages Feedback' option in the Pages menu.

  • Problem with blob column index created using Oracle Text.

    Hi,
    I'm running Oracle Database 10g 10.2.0.1.0 standard edition one, on windows server 2003 R2 x64.
    I have a table with a blob column which contains pdf document.
    Then, I create an index using the following script so that I can do fulltext search using Oracle Text.
    CREATE INDEX DMCS.T_DMCS_FILE_DF_FILE_IDX ON DMCS.T_DMCS_FILE
    (DF_FILE)
    INDEXTYPE IS CTXSYS.CONTEXT
    PARAMETERS('DATASTORE CTXSYS.DEFAULT_DATASTORE');
    However, the index is not searchable and I check the following tables created by database for my index and found them to be empty as well !!
    DR$T_DMCS_FILE_DF_FILE_IDX$I
    DR$T_DMCS_FILE_DF_FILE_IDX$K
    DR$T_DMCS_FILE_DF_FILE_IDX$N
    DR$T_DMCS_FILE_DF_FILE_IDX$R
    I wonder what's wrong with it.
    My user has been granted the ctx_app role and I have other tables that store plain text which I use Oracle Text are fine. I even output the blob column and save as pdf file and they are fine.
    However the database seems like not indexing my blob column although the index can be created without error.
    Please advise.
    Really appreciate anyone who can help.
    Thank you.

    The situation is I have already loaded a few pdf document into the table's blob column.
    After I create the Oracle text index on this blob column, I find the system generated index tables listed in my earlier posting are empty, except for the 4th table.
    Normally we'll see words inside the table where those are the words indexed by oracle text on my document.
    As a result, no matter how i search for the index using select statement with contains operator, it will not give me any result.
    I feel weird why the blob is not indexed. The content of the blob are actually valid because I tested this by export the content back to pdf and I can still view and search within the pdf.
    Regards,
    Jap.

  • Querys not using indexes

    hi all.
    I want to know wich querys in not using indexes. this is posible??
    My db version is 10.2
    Thanks.

    gomcar wrote:
    hi all.
    I want to know wich querys in not using indexes. this is posible??
    My db version is 10.2
    Thanks.Here is something that I just put together as a possible solution. You probably do not want to execute this SQL statement frequently as it might cause a latching problem (note, not thoroughly tested):
    SELECT /*+ ORDERED */
      SP.SQL_ID,
      SP.HASH_VALUE,
      SP.CHILD_NUMBER,
      S.SQL_TEXT
    FROM
      (SELECT
        SP.SQL_ID,
        SP.HASH_VALUE,
        SP.CHILD_NUMBER,
        SUM(DECODE(INSTR(SP.OBJECT_TYPE,'INDEX'),0,0,1)) COUNTER
      FROM
        V$SQL_PLAN_STATISTICS_ALL SP
      WHERE
        SP.OBJECT_TYPE IS NOT NULL
      GROUP BY
        SP.SQL_ID,
        SP.HASH_VALUE,
        SP.CHILD_NUMBER
      HAVING
        SUM(DECODE(INSTR(SP.OBJECT_TYPE,'INDEX'),0,0,1))=0) SP,
      V$SQL S
    WHERE
      SP.SQL_ID=S.SQL_ID
      AND SP.HASH_VALUE=S.HASH_VALUE
      AND SP.CHILD_NUMBER=S.CHILD_NUMBER
    ORDER BY
      S.SQL_TEXT;Explanation of the above:
    The above looks at the stored execution plans for the queries currently in the shared pool, throwing out any line in the plan where no object is specified. If the OBJECT_TYPE column is found to not contain the word INDEX, a 0 is returned, otherwise a 1 is returned for that line in the plan. The sum of this generated column is calculated for each plan, and those plans having the sum of the generated column equal to 0 are returned. This inline view then drives into the V$SQL view to retrieve the matching SQL statements. An ordered hint is used to make certain that Oracle drives from the inline view into V$SQL.
    Charles Hooper
    IT Manager/Oracle DBA
    K&M Machine-Fabricating, Inc.

  • Creating a TOC or Index for a pdf?

    Is it possible to create a word index or table of contens for a pdf that doesn't have one from Acrobat Pro?

    Indices or TOC should be created in/from your original document. You can use the bookmarking feature in Acrobat to simulate the function of a TOC.

  • How i can get a Word as String from Web Page??

    i wanna to open a web page - then from my application
    go to a specific word "programmer" - then below the word "programmer" it may have some other lists of words - this list may be in a format as index or just list-
    then i wanna get this list's words (strings/index) - then save these words/index to my vector class
    String pattern = "Programmer";
    then
    indexOf(pattern) ;
    can any one help me please
    thanx in advance

    Take a look at the java.net package, in particular the Url and HttpUrlConnection classes. This permits you to open a HTTP connection to a specified URL and read the response from a standard stream (and store the resulting bytes in a String if you wish).
    From there, it's all basic String manipulation.

Maybe you are looking for

  • Open SSRS report link in browser

    Hi, I have developed 3 SSRS report. these report contains quality and production updates. These report will be using as visual display dashboard in production area and will be view/flash in LCD  monitor. My requirements is how can i open the SSRS lin

  • I have lost my iPod touch however it was not connected to wifi network , how do i find it . A reply would be very appreciated

    I have lost my iPod touch however it was not connected to wifi network , how do i find it . A reply would be very appreciated

  • Re-establish synchronization with a new computer/i-tunes

    How can I reestablish synchronization with a new computer and new i-tunes version after my old computer crashed? My new computer and i-tunes recognizes my i-touch but thinks it is synchronized with another i-tunes version. And it is technically corre

  • Help me in alv grid and form printing

    hi experts, my requirement is i have a check box in the selection screen for  batch processing. if i  tick the check box,  the  data  which is in the  t_output  table  should be displayed in alv grid  and in turn if i select  one row  in alv o/p  and

  • FW table disappears in IE

    I made a layout in FW. Initially, I placed the Fireworks table directly into the page, with default table alignment. This worked in Explorer, as well as Opera, Firefox and Safari. Then, I centered the table using table alignment. The page appeared no