Results 1 to 11 of 11
  1. #1
    2 Star Lounger miladytn's Avatar
    Join Date
    Apr 2002
    Location
    East Tennessee, USA
    Posts
    153
    Thanks
    4
    Thanked 4 Times in 4 Posts

    OCR and text box (Office XP Pro)

    I'm having a problem with OCR on scanned documents. My office uses a Canon copier and a program called eCopy to copy/scan documents from the copier to the workstation. I then use eCopy to OCR the document into Word. One problem I have is that the text sometimes end up in text boxes. When I try deleting or removing the text box, I also lose the text. How do I delete/remove/convert the text box and retain the text.

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: OCR and text box (Office XP Pro)

    Click somewhere in a text box.
    Press Ctrl+A to select the text in the text box.
    Press Ctrl+C to copy the text to the clipboard.
    Click somewhere outside the text box.
    Press Ctrl+V to paste the text.
    You can now safely delete the text box.
    Unfortunately, rearranging the text to look like the original document will be a lot of work.

  3. #3
    2 Star Lounger miladytn's Avatar
    Join Date
    Apr 2002
    Location
    East Tennessee, USA
    Posts
    153
    Thanks
    4
    Thanked 4 Times in 4 Posts

    Re: OCR and text box (Office XP Pro)

    *chuckle* Anybody thats cleaned up formatting after using OCR knows exactly what "a lot of work" means! Thanks for your help. Thats how I had been doing it. I was hoping there was a magic one-click trick, such as converting table to text. I scanned an 8 page document just before leaving work on Friday and it put 6 of the pages in text boxes. *sigh* Monday is not looking good!

  4. #4
    2 Star Lounger
    Join Date
    Jan 2001
    Location
    Wellington, Wellington, New Zealand
    Posts
    120
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: OCR and text box (Office XP Pro)

    Don't know whether this is any help to you but you could use a macro to get the text from the boxes. The following example will run through the text boxes, grab the text and then insert it all at the start of the document. One possible wrinkle is that the order on which the text comes out may not reflect the physical arrangement of the text on the pages. You could always try it on a copy and see if the result is better than the manual copy and paste method

    Sub TextFromBoxes()
    Dim myShape As Shape
    Dim myStory As String

    myStory = ""
    For Each myShape In ActiveDocument.Shapes
    With myShape.TextFrame
    If .HasText Then myStory = myStory + .TextRange.Text
    End With
    Next
    ActiveDocument.Paragraphs(1).Range.Select
    Selection.Collapse Direction:=wdCollapseStart
    Selection.InsertBefore myStory

    End Sub

  5. #5
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: OCR and text box (Office XP Pro)

    I wonder whether any of the Save As formats will give you what you want. Some of them must not support TextBoxes or Frames or similar absolutely positioned objects...

  6. #6
    5 Star Lounger
    Join Date
    May 2001
    Location
    Stuttgart, Baden-W, Germany
    Posts
    931
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: OCR and text box (Office XP Pro)

    Some OCR programs also use frames, which may look like text boxes. But you can get rid of them with Ctrl+A, Ctrl+Q.

    <img src=/S/cheers.gif border=0 alt=cheers width=30 height=16> Klaus

  7. #7
    2 Star Lounger miladytn's Avatar
    Join Date
    Apr 2002
    Location
    East Tennessee, USA
    Posts
    153
    Thanks
    4
    Thanked 4 Times in 4 Posts

    Re: OCR and text box (Office XP Pro)

    Thanks jscher. That was very helpful! FYI-- rtf doesn

  8. #8
    5 Star Lounger
    Join Date
    May 2001
    Location
    Stuttgart, Baden-W, Germany
    Posts
    931
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: OCR and text box (Office XP Pro)

    Then my tip of using Ctrl+A. Ctrl+Q would also have worked... without removing styles.

    <img src=/S/cheers.gif border=0 alt=cheers width=30 height=16> Klaus

  9. #9
    2 Star Lounger miladytn's Avatar
    Join Date
    Apr 2002
    Location
    East Tennessee, USA
    Posts
    153
    Thanks
    4
    Thanked 4 Times in 4 Posts

    Re: OCR and text box (Office XP Pro)

    Sorry to say I didn' t try that, Klaus. I will experiment (I still have my original scans somewhere!), but precisely what does Ctrl+Q do? I'm not familiar with that command. When I tried looking it up, I found references to reset paragraphs, but reset to what?

  10. #10
    Super Moderator
    Join Date
    Jan 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    3,852
    Thanks
    4
    Thanked 259 Times in 239 Posts

    Re: OCR and text box (Office XP Pro)

    Control Q resets the selected paragraphs to the paragraph formatting according to the paragraph style applied to them. This is a quick way to remove any locally applied paragraph formatting that was done after the style was applied.

    Control-Space does the same thing for character formatting - although it also removes Character Styles if they have been applied <img src=/S/sad.gif border=0 alt=sad width=15 height=15>
    Andrew Lockton, Chrysalis Design, Melbourne Australia

  11. #11
    2 Star Lounger miladytn's Avatar
    Join Date
    Apr 2002
    Location
    East Tennessee, USA
    Posts
    153
    Thanks
    4
    Thanked 4 Times in 4 Posts

    Re: OCR and text box (Office XP Pro)

    YAY me, got it figured out <img src=/S/groovin.gif border=0 alt=groovin width=21 height=21> Now I see

Posting Permissions

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