Selected text and coordinates

Hi,
I would know if with Acrobat sdk is possible to extract text from a user's selection on pdf so as copy this text in a editbox, with the coordinates of this selection too.
I'm using delphi xe2 without update 3.
Thanks.

I believe there is some sample code in SnippetRunner for doing this sort of thing.   But you will need to read the SDK documentation and get an understanding of the various parts of the SDK…

Similar Messages

  • Selection text and text elements contents not displayed

    I have a language related problem
    I have 2 servers .
    In first server I logged in english language and the selection text and text elements are displayed in English.
    The requirement is I dont want to translate these texts it should be displayed in English only even if I log into SAP with other language.
    So if I log in german I see the texts in English in the first server.
    But this is not the case with second.
    If I log in with English I see the english texts but if I do in german I am not able to see this english text with proper contents .
    Can anybody let me know if there are any settings to be done ? As its working fine in first server but not in second .
    Edited by: Jalpa Shukla on Oct 22, 2008 11:19 AM

    Hello Jalpa Shukla,
    If you want to display the text in english language only better dont use Text-element
    instead of using text element you hard the text in the program then you will display the text in same in English.
    Try in this way, If not past the code i will give the solution

  • JTextPane, Selecting Text and Applying Styles

    Hello,
    Anyone encounter this situation? I have a mini word processor application that I have written using the RTFEditor kit and a JTextPane. To change style, e.g bold, font size, font face, etc, one can select text and then click a button or select a menu item. That part works fine. The styles are primarily changed by using the Action classes provided in the javax.swing.text.* package.
    The problem is, that if a user selected text of more than one style, all of the text is automatically converted to the style of the first part of the text selected, without the user even eanting to change ANY style just yet.
    If anyone knows why this might be happening I would surely appreciate it.
    Thanks,
    acal

    Solution to the style appling problem...
    public void actionPerformed( ActionEvent e )
            if (flag) return;
            if(e.getSource() == boldButton)
                SimpleAttributeSet attrs = new SimpleAttributeSet();
                attrs.addAttribute(StyleConstants.Bold,boldButton.isSelected());
                applyStyleToSelection(attrs);
                editorPane.grabFocus();
                return;
    public void applyStyleToSelection(AttributeSet attrs)
            int start = editorPane.getSelectionStart();
            int end = editorPane.getSelectionEnd();
            DefaultStyledDocument doc = (DefaultStyledDocument) editorPane.getDocument();
            doc.setCharacterAttributes(start, end - start, attrs, false);
            StyledEditorKit styled = (StyledEditorKit) editorPane.getEditorKit();
            MutableAttributeSet mas = styled.getInputAttributes();
            mas.addAttributes(attrs);
        }Filipi Silveira
    [email protected]

  • Need to Update SELECTION TEXT and text symbols for report J_1IEWT_CERT.

    Hello Experts,
    My requirement is need to "Update SELECTION TEXT and text symbols for report J_1IEWT_CERT".
    1. As I want to change text sysmbols for 006 to "Run in preview mode". Currently it showing "Type of output". Issue I am facing here is that whenever I deleting aur changing the same it throws an error : "Text symbol 006 is an original text and cannot b
    deleted or renamed".  How can I do the same.
    2. Secondly I have to add two selection text also i.e. ZFATHER and PREV . And delete two selection text i.e. P_PDF and
    P_SCRIPT. In this Tab there is only a Icon of deleting not an Addition button .So How can I add two more selection text.
    Above are Manual Activities which is written in note 1486147. We already taken an acess key and it shows in editable mode but
    not able to add/deletin/modify selection text and text symbols.
    Please provide the solution as it is critical requirement.
    Reagrds,
    Supriya Bhatt.

    Hi Vishal Saxena,
    Just go through the screens and do it .
    [<li> Link1|http://4.bp.blogspot.com/_O5f8iAlgdNQ/SjoVqL9rnvI/AAAAAAAAEs4/fPG7IG9yGK4/s1600-h/3-716953.JPG]
    [<li> Link2|http://1.bp.blogspot.com/_O5f8iAlgdNQ/SjoVp3d9uEI/AAAAAAAAEso/ZxfkeNAiOZQ/s1600-h/1-715669.JPG]
    [<li> Link3|http://2.bp.blogspot.com/_O5f8iAlgdNQ/SjoVqIbpNpI/AAAAAAAAEsw/2ntYgX-i1Dc/s1600-h/2-716353.JPG]
    Thanks
    Venkat.O

  • Mass translation of text Symbols,Selection texts and Structures

    Hi,
    As per our Project Requirement we need to  maintain Mass translations for Text Symbols, Selection Texts and structures.
    Can anyone please provide a Tool or a solution through which we can maintain these translations without doing it manually
    through SE63 transaction .
    I have all the Translations maintained in a (.xls) file.
    Is it possible to provide this (.xls) (This .xls has the Original text and the Translated text) as a input and get the translations done.
    I would also like to know in which table these translations are maintained.
    Please help me with this.
    Thanks in Advance.

    Hi,
    There is no standard tool as such.
    You can use below technique to develop your own tool.
        READ TEXTPOOL 'Program name' INTO i_source LANGUAGE 'Language'.
        DELETE TEXTPOOL 'Program name' LANGUAGE 'Language'.
        INSERT TEXTPOOL 'Program name'  FROM i_target LANGUAGE 'Language'.
    Thanks,
    Vinod.

  • Can't select text and scroll when using Word

    Recently I have been unable to select text and scroll down the page using two fingers, while in a word document.This is only happening in Word, so far no other programs. Does anyone have an idea of how to turn on or off this feature?

    I cant scroll below or above viewable section of text in any of my Macbooks, iMac, Mac Mini. Never have been able to, never could, except by pressing the arrow keys whilst selecting, to move up or down.
    Its stupid
    I dont have flash installed (never will do since my first virus of video ad sound running in background from Cnet was downloaded and kept returning until i deinstalled flash).
    I believe that this is a universal issue because none of my Macs can scroll out of screen when selecting text, which as a webmaster and developer, is a pain in the butt
    My issue is not in word documents, its in everything

  • Why selecting text and hitting F1 doesn't go to specific help page anymore?

    Hi. Up until a while ago I was able to, while working on some code,  select a particular actionscript component such as a Class, function or  property and hit the F1 key which would immediately bring up Adobe Help  in my internet browser already showing the page relevant to my  selection. For example, if I had selected the word "MovieClip" in my  code and hit F1, the Adobe Help page describing the MovieClip class  would come up, without me having to navigate to it.
    Now (for some weeks actually), it no longer does that. When I hit F1,  Adobe Help comes up in my browser, but opens at a general menu page  regardless of what text I select, which in fact makes selecting text  before hitting F1 redundant anyways.
    Does anyone know anything about this?
    It was so much more convenient before! Now I have to search for what I'm  looking for every time. I'm learning on my own, so I find myself going  to the Help pages quite often. At the end of the day, it sums up to be a  lot of typing and searching and pages to navigate through. Also, it  seems that navigating through the Adobe Help pages is kind of slow which  just makes it even more of a drag.
    I'd appreciate any information on this, or possibly some help in how to get things back to how they were.
    Thanks!

    try to install :
    http://www.adobe.com/support/chc/

  • Paste selected text AND images from a webpage to Pages/Word?

    I'm a new Mac user (also running virtual Windows XP via vmware fusion), and I know next to nothing about my Mac. Please bear with me if this is something that has been answered (I looked, but didn't find a specific answer for my question...it may be here, but I can't find it).
    On a Windows-based PC, all I need to do is select, copy, then paste into a Word document. All text and images would paste. I can't seem to figure out how to do that in Pages or Word (have MS Office for Mac, too).
    Thanks for any help.

    I suppose I was hoping I could do on my Mac, what I did on my Dell...that doesn't appear to be the case.
    Specifically, I'm talking about clicking/dragging to select what I want (including images), opening a Word document then pasting everying, including ALL selected images. More specifically, at sites with game walkthroughs. I prefer to save them to a document and refer to them offline, if I need to. I actually tried it at 2 different sites (one that hosts their own images and one that does not), with the same results.
    While I was waiting for a response (thank you, so much, by the way), I tried again and actually managed to get the first 3 images (of 60+) to paste into Word. There were blank places in Word, but the invisible images were clickable. In Pages, only the text pasted.
    Tried it every which way, but Sunday, LOL, and nothing worked. If it can't be done on my Mac, then I'll just keep using my Dell (I knew there was a reason I decided to keep it) for that sort of thing and then email them to myself...or try installing my MS Office '07 under virtual Windows.
    Thanks, again.

  • Selected Text and Page Navigation

    Okay.
    Have a document that has several artboards in it. (kinda like a multipage document). Each page is similar, but some of the text boxes has variations from page to page. So if I am zoomed in on page 1 to one text box and I select some text, using the type tool, and then hit SHIFT-page down (or page up) to go to the next page, it won't. Switch to a different tool, and it works.
    WHY? Why can't I use a keyboard short cut to jump to another page while in the type tool mode? I don't want to take my hand off the keyboard or move the mouse.
    Suggestions?
    Thanks.

    The Shift Page shortcuts are not coming from the keyboard shortcuts panel. When I try to enter them says ai cannot use that, searching with artboard  was no help either. Tried making an action, btu unfortuantley that did nto work either. I also chcked the system Preference for Keybaord, and could nto find the keyboard shorcut coming fomr there either.
    In summary uopu can use home and end while inside text and the I beam is flashing, btu not page up or page down. That seems to be a hidden comand for goingf to next and previous artboard, so that will lwork without any text on the page.

  • Selecting text and scrolling in Tiger vs. Leopard.

    Please forgive these very basic, verbose, questions.
    I've noticed that Leopard does not allow me to select text the same way that Tiger did. With Tiger I could position the mouse cursor either to the left or to the right of the text, hold down the mouse button and move the cursor across the text. With Leopard I have to place the mouse cursor to the left of the text, click and then hold down the shift key and progessively add to the selection as I move the cursor from left to right. I much prefer the first technique. Is there any way to go back to it?
    Also, scrolling a page in Safari is different. Tiger allowed me to place the cursor on the blue dingus on the right side of the page and hold the mouse key down and draw the dingus up or down. With Leopard I have put the cursor where I want to dingus to go, click and it jumps to that location. Again, I prefer Tiger to Leopard. Any way to restore Tiger's technique?

    What you describe about the scroll bar (it's called the thumb, by the way) happens when you hold the option key down. However, if I hold the option key down, I can't replicate your first behavior.
    I can't imagine your option key is stuck down because you'd be getting all kinds of weird characters when you type.
    There is another thread where someone is having odd behavior like the shift key is held down. We don't seem to be getting anywhere with that one, though.

  • When I want to select text and/or pictures by doubleclicking it doesn't react

    How can I solve this problem?

    Hi
    Please check if the text and image that you are selecting if they are on master page or they are behind some layer.
    Thanks,
    Sanjit

  • Acrobat 9: Selected text and Table

    Hi all expert,
    I am new to Acrobat plug-in development.
    can anybody tell me, how to check selected text is in table?
    plz help!
    Thanks.

    ok,
    suppose if I export document as tagged document .
    is there any way to  identify tables.?
    please help

  • I cannot resize the selected text and the object in Illustrator

    I am unable to resize the text and the object with transform tool. It resizes but half of it does not. and not that much i want.

    Ok so if i write some text and all the words are of different sizes and i have to resize it using the transform tool, i cannot resize it unto the size i want. e.g.. i wrote this text "The Big Bold Sale" all the words are of different sizes and are grouped together, so when i resize it using transform tool all these words are resized differently "The big" becomes big, "bold" becomes little smaller and "sale" is not resized.. the image is attached.

  • How to select text and pictures together in word processing mode?

    Hello,
    I have written about 20 chapters of a book in word processing mode. Each chapter has many pictures, carefully positioned within the text.
    Each chapter is a separate pages file.
    Now i want to put them together into one single document and have a big problem.
    When i press cmd+A to select everything in one document in order to copy and paste it into another document, i can either select the text OR the pictures, not both together.
    In Layout mode it is possible, but not in word processing mode.
    Does anybody know how to select both in word processing mode or how to transform a word processing document into a layout mode document?
    Or is there a way to put together a word processing document from a number of single documents?
    Thanks in advance
    funthomas

    I still use word processing for just about everything. The first two versions of Pages only had word processing. I think all of the complaints/requests about the "always-present" text layer led the developers to add page layout. I think they would have been better off adding another application (like AppleWorks' draw module compared to AppleWorks' word processing module.

  • Scrolling and selecting text with a bluetooth mouse. (Possible bug?)

    I currently have an Apple Keyboard and Magic Mouse hooked up to my Playbook. They work very well, the implementation is incredible. However, I cannot for the life of me figure out how to scroll with the the mouse. It really limits the PB since if I hook it up to my television I cannot scroll unless I have the PB near me. Has anyone gotten this to work or is this something we are hoping to get in a future update? Aslo, is there a way to select text and bring up the copy/paste menu without having to use the touch screen? I can select text by holding shift / arrow keys on the keyboard but am unable to perform any actions without having to use the touchscreen.
    Thanks!

    Hold on there, @jnko -- are you saying you can scroll with the mouse (as in, use the virtual scroll wheel), or are you saying you can use the mouse to click on the document in, say, Word To Go, and drag it to make the screen scroll?  I can only do the latter, and, like you, can't scroll at all in the web browser.  Stinks that this wasn't fixed with the last update...

Maybe you are looking for