PDF to Text possibility thru clipboard

Ask a Question related to Adobe Acrobat SDK, Design and Development.

  1. #1

    Default PDF to Text possibility thru clipboard

    I have been trying to convert PDF to text and I thank the Acrobat team for the help which was more like an instant chat :)

    I realize one way to do it is Plugins, but then there is another option
    1) Select-All in a PDF page ( i guess i can do that)
    2) Copy to the clipboard of a PDF page ( i guess i can do that)
    3) Fetch from Clipboard to a new text file (possible?)

    I can do step 1 & 2, but for step 3 is this a SDK question or is this some general Windows API qn independet from SDK. If it is a possibility with Acrobat SDK , pls give direction and related-samples.

    Thanks in Advance.
    Jay_Shakir@adobeforums.com Guest

  2. Similar Questions and Discussions

    1. Any possibility of adjusting contrast in PDF file?
      I scanned a document directly to PDF format. Unfortunately, the blacks aren't quite black enough - sort of a medium-ish grey. The scanner I used...
    2. Copy text to clipboard
      Hi people, I'm building a command that provides the user with a list of URLs for files they have selected in the Site panel. When they click a...
    3. Nested Style possibility?
      Is it possible to make a Nested Style which changes my font whenever a digit is encountered from "The Sans Plain" to "The Sans Caps"? -- Regards...
    4. Copying text that is highlighted to the clipboard
      Hello, I would like to know if there is a way to copy text that is highlighted with the highlighter tool to the clipboard without un-highlighting it...
    5. Possibility to insert textboxes???
      Hi I just wanna know if it is possible to insert a textbox on a webpage that i am currently making with photoshop and imageready.... I wanted it to...
  3. #2

    Default Re: PDF to Text possibility thru clipboard

    3) Fetch from Clipboard to a new text file (possible?)

    No problem. But depends on the software you use to control Acrobat(VB, VBS, JS, ..). You should ask there how the catch text from clip.

    best regards, Reinhard
    Reinhard_Franke@adobeforums.com Guest

  4. #3

    Default Re: PDF to Text possibility thru clipboard

    JS doesn't have access to the system clipboard. If you're using VB it's fairly simple once the data is in the clipboard (assuming plain text data, not rich text):

    Dim objClip As IDataObject = Clipboard.GetDataObject()
    Dim strCopyText As String

    If objClip.GetDataPresent(DataFormats.Text) Then _
    strCopyText = objClip.GetData(DataFormats.Text);
    PDL@adobeforums.com Guest

  5. #4

    Default Re: PDF to Text possibility thru clipboard

    Thanks, all set, im taking the plugin path.
    Jay_Shakir@adobeforums.com Guest

  6. #5

    Default Re: PDF to Text possibility thru clipboard


    > Acrobat JS doesn't have access to the system clipboard. If you're using
    VB it's fairly simple once the data is in the clipboard (assuming plain
    text data, not rich text): >




    Just one warning - best to leave the PC alone when it is running this.

    If you run this script in the background and use the PC you or some other program may over-write the system clipboard probably without your knowledge. You'll never know where nor how much bad text data you'll be saving.
    MrRyck@adobeforums.com Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139