Does JavaScript do Touch up Text?

Hi,
I'm a newbie in JavaScript. I have a requirement to find a string and replace with another string in a pdf file. I can use Touch up Text tool to update the text. However, as I need to do this "find and replace" action number of times, I thought of using JavaScript. I want to know if JavaScript can replace the text in a pdf file. Could you let me know of any other alternatives, if JavaScript can't touch up the text in PDF? One alternative I have in my mind is hiding the old text through annotation and overwriting with the new text, using JavaScript. I'm not sure, if it's possible, though. Can I get a small program to do one of these two alternatives?
Thank you very much.
Hemanth

No, it can't replace the text. You need a plugin or an external application
to do that.
You can, however, remove the old text by redacting it, for example, or with
a form field, and then place a text box on top with the new text, but if the
length of the new text is different to that of the old text it might look a
bit strange.

Similar Messages

  • Typewriter and Touch Up Text Functions

    Wow! I am so impressed with the politeness of the people who address the different issues that users are having! How refreshing and way to go! Here are my issues (Mac 10.4.11, Acrobat Professional 8.1.2):
    1. I work in an architectural office; contractors e-mail RFIs (Request For Information) to us in pdf format, which are downloaded into the client file. I first tried entering the reply using the Typewriter function. I can see the typing on my screen, but when I print, there is no typing. Also, if I save the file and e-mail it to the client - and my boss - the typing has disappeared, but the original file on my computer still shows the typing. Any ideas?
    2. We then tried using the Touch Up Text Tool for entering the replies, which seems to work pretty well, except that we are unable to change the Font in the Text Properties after the text has been entered. Do I understand correctly from the other user replies that this is a known issue with no resolution? Or does someone have a work-around? Also, My boss is unable to go back in edit the text on his computer after he has clicked out of the text box; he's using Leopard. Thanks so much for your help!

    Sherry:
    You are somewhat limited to editing text within Acrobat; For advanced editing of text you would need a plug-in like Pitstop.
    According to the Acrobat Help file:
    You can add or replace text only if the font used for that text is installed on your system. If the font isnt installed on your system but is embedded or subsetted in the PDF, you can make changes only to color, word spacing, character spacing, baseline offset, or font size.
    You can edit text on rotated lines in the same way as on horizontal lines, and you can edit text using vertical fonts in the same way as text using horizontal fonts. The baseline offset or shift for vertical fonts is left and right, instead of up and down for horizontal fonts.
    To Edit Text Attributes:
    Select the TouchUp Text tool.
    Click in the text you want to edit.
    Right-click/Control-click the text, and choose Properties.
    In the TouchUp Properties dialog box, click the Text tab.

  • Touch Up Text Tool

    Hi,
    I ran OCR on a document and wante to play with the touch up text tool.  The issue is, I don't know how to view how acrobat has interpreted the words, so how can I figure out what it has got wrong or right without converting to word etc first.  I can type touch up text, but its as if I'm using white font and I can only see what I've typed after I put it into word.
    On a separate note, how can I get Acrobat to recognise tables so that it can display these tables in a word export?
    Thanks

    Hi,
    Last first. Tables - OCR provides a "best-estimate" character output of what it 'sees' of the discrete image of the text characters.
    It does not interpret format and layout.
    Higher end applications ($$) provide additional functionality that may output a reasonable "best-guess" of layout/format (of which tables are a subset).
    However, the OCR provided with Acrobat only does the character image recognition.
    Acrobat's OCR output is dictated by which of the three modes you use.
    These are Searchable Image, Searchable Image (Exact), or ClearScan.
    The first two provide a layer of "hidden text".
    Use Examine Document to view this Hidden Text.
    There is no practicable way to edit this hidden text in a PDF (keyword is "practicable").
    However, you could try selecting PDF page content (a page at a time) and, via TouchUp Text tool's context menu go the Properties of the selected text.
    In the Text tab, change selected hidden text to a font installed on the local machine. This may be sufficent to support what you want to do.
    ClearScan output is where you can work "suspects".
    Selecting each PDF page's content in turn, you can use the TouchUp Text Tool to get into the properties of the selected text and change the font to something available on the local machine.
    To edit ClearScan post Suspect cleanup you will need to do this.
    ClearScan output is an Adobe font created specifically for ClearScan.
    Be well...

  • Scanned pdf - touch up text tool - upside down text

    Have a few pdfs created with Acrobat, scanned with a Canon 7080.
    When opening the pdfs and using the Touch Up text tool to add text, the text is upside down.
    The pdf is oriented correctly.
    It does the same on a few other machines so it seems to be something specific the documents.
    Most other pdf files are fine.
    I have printed to pdf and it fixes the problem (added text is right side up) but I'd like to know how it got messed up to begin with.
    Any ideas?
    TIA

    Sounds like you used the searchable text form of OCR. Thus the text is hidden and that is what is happening. To see the text, you would want to use the ClearScan form of OCR. At this point I don't have any good suggestions. A lot depends on what you are trying to do. In any case, trying to do major editing to a PDF with the text touchup tool is not recommended. Not the name of the tool is touchup, not retype. The method you are using will not make any change to the appearance, only to the hidden text.

  • What does the ipod touch 5 come with

    What does the Ipod Touch 5 come with? (standard)

    Four calling birds, three french hens, two turtle doves and partridge in a pear tree. ;-)
    Basic troubleshooting steps  
    17" 2.2GHz i7 Quad-Core MacBook Pro  8G RAM  750G HD + OCZ Vertex 3 SSD Boot HD 
    Got problems with your Apple iDevice-like iPhone, iPad or iPod touch? Try Troubleshooting 101
     In Memory of Steve Jobs 

  • HT201335 does the Ipod touch work with the airplay mirroring

    Does the Ipod touch work with airplay mirroring?

    No. Only iPhone 4S and iPad (2nd or 3rd Gen) as it requires more processing power. You can still use airplay with your device though.

  • Does Bridge CC have more text animation presets then Bridge CS6?

    so I upgrade from CS6 to CC and did not install Bridge CC. Then while in After Effects CC I try to view the text animation presets, but window informs me I do not have Bridge CC installed. I then download and install Bridge CC and view the animation presets, but seem all the same as Bridge CS6 has.
    My question is - Does Bridge CC have more text animation presets then Bridge CS6.
    Is there another procedure to acquire more? Did I click past something on my first launch of Bridge CC?

    My question is - Does Bridge CC have more text animation presets then Bridge CS6.
    Best try this in the After Effect forum, to my knowledge not many AE users are here at a regular base. Besides that, every suite version has its dedicated applications to work together in that suite, CC is no exception to that so for best practice use Bridge CC.

  • Why does my iPod touch take a lot of time to update and download apps? I got the one of the fastest wifi

    Why does my iPod touch take a lot of time to update and download apps? I got the one of the fastest wifi

    Try this:
    Close all apps in the Task Bar. Double-click the Home button and hold apps down for a second or two. Tap the minus sign to close app.

  • Why does Preview automatically resize the text box to cut off the last character of added text? How do I fix it?

    Why does Preview automatically resize the text box to cut off the last character of added text? How do I fix it?
    I use the Tools > Annotate > Add Text feature, and when I click away after adding text, it automatically changes the text box size such that the last letter -- or last word -- gets bumped off into an invisible line below it, forcing me to manually adjust every single text box. It is highly annoying when trying to complete PDF forms (e.g. job applications).
    It appears to be a glitch, quite honestly, an error resulting from Apple's product design. Has it been fixed in the new operating system (for which they want $30)?
    I would very much appreciate any help you can provide! Thank you for your time.

    * "Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    * "Remove the Cookies" from sites that cause problems: Tools > Options > Privacy > Cookies: "Show Cookies"
    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]

  • Touch up text acrobat 9

    Howdy,
    I have a pdf printed from illustrator. I want to be able to use the touch up text tool to change text in the pdf. I have tried to embed the entire font in the PDF, but keep getting it reported (preflight) as a subset (but thats not the main issue). When I try to use the touch up text tool, I get told the the font is not available and on inspection acrobat is reporting the font name differently to the actual font name in the system (Fujiyama plain as opposed to just plain Fujiyama!)
    When I make the edit, and choose properties it tels me that the font can be embeded so I save the document, which now contains both fujiyama plain and fujiyama. HOWEVER, when I dig into the preflight I find that Fujiyama has decendant fonts (whatever that means)and at the bottom of the tree there is "list of CID's missing in CIDset of embedded CID font". And the 2 additional chracters that I just added to the PDF are the ones that are missing.
    In other words, I make an edit with the touch up text tool, it embeds the font for me (nice) and then EXCLUDES the 2 characters that its just embeded. ANyone know what gives?

    Do you have text, or a picture of text? If you take the tool over text it should change to an Ibar. If you hold down the ctrl key and place the cursor, you should get an Ibar waiting for you to enter text at that location. If it is simply a graphic, you will only get an arrow.

  • Touch-up Text Tool and Fonts

    We are on Windows 7, Office 2007 and Acrobat 9.  We have recently discovered that when you pdf a Word document, open within Acrobat, then try to use the Touch-Up Text Tool, it changes the kerning/character spacing of the text upon saving.  The only fix we have found for this is within Word, choose Acrobat Preferences, under Advanced Settings, click on Fonts, and REMOVE the fonts from "Never Embed Fonts" pane.  You need to ensure that any font that is in the Word document is removed from this area.  This seems odd to me.  Can anyone enlighten me on this?  See below screen shots of text spacing changes as well as Font Menu.

    It is a good practice to embed fonts if Touch Up Text is a tool you often use.
    Is the person creating the pdf the person who is editing the created pdf? If not, my guess based on the exclusion list in your post is that the users have different versions of the Arial font installed. There are small, but significant, differences in kerning and line height between different Arial versions.

  • Possible to modify blocks of text as defined by Touch Up Text tool?

    I have scanned a document and OCRed it. Using the Touch Up Text Tool, I can approach the text, but the text areas are not as defined by the tool. Is there a way to modify a block as defined? I.e. There is a heading over 2 columns of text. The OCR process defined this as one block of text.

    Thank you very much for your input.
    I'm trying to automate this process as much as possible because I don't want to have to crunch the data manually myself later on, instead just teach someone else how to do it.
    The first search and replace action seems basic enough but regarding the second one I would have to manually assign that paragraph style to the line where the data would break because one can only assign character styles in nested styles, right?
    Also I've heard that ID CS5 automatically creates new pages based on a template when you paste information inside the first page, is that so? That would be great because that way the person wouldn't have to manually create pages and link the contents throughout the document but instead simply open my template and paste the information within the first master page. That's not possible with CS4, is it?
    Thank you very much!

  • Why does my iPod touch has, despite iOS 6, no panorama function in the camera?

    Why does my iPod touch has, despite iOS 6, no panorama function in the camera?

    Because it is not available for the 4G.
    iOS 6: Which software features does my iPhone, iPad, or iPod touch support?

  • Does the Ipod touch third generation have an international power supply?

    does the Ipod touch third generation have an international power supply?  Am going to travel in Europe and want to know if I need to use a convertor with it or if it has the international power supply and I can get by with the appropriate plug adapter.

    They are charged via your computer's USB port. As long as you have a USB charger it will work with the Touch.

  • Does the iPod touch 4g vibrate?

    Does the iPod touch 4g vibrate in case somebody needs it to?

    No. No iPods have a vibrator.

Maybe you are looking for

  • Mathlookup table - LUT Power 1/X vous savez ce qu'il fait ?

    Bonjour,  J'aimerais comprendre comment le LUT Power 1/X (MathLookup - Power 1/X). quelle est la theorie pour la construction de la table de correspondance de ce type de LUT power 1/X.  J'ai déjà posté celà dans le forum en anglais : http://forums.ni

  • BI Publisher (Obiee 11g) Scheduled jobs start randomly after services restarting

    Hi everybody, I've a problem with scheduled jobs on BI Publisher that start randomly after server restarting. For example if there's a job scheduled every day at 8.00 am it works fine until the server is not restarted but when I restart it next job r

  • Compiling then running

    Hi, I wrote a program in JBuilder. In JBuilder I defined the path to the package I was importing. I then tried to run the program outside of JBuilder. I got an error when it tried to call a function that is defined in the package (The standard java.l

  • Slideshow's Auto Advance

    Is there a way to defeat the auto advance in slideshow, that is, causing the slide duration to be infinite? If not, is there a way to pause the slideshow when it is running in Acrobat or Acrobat Reader, then restart it later from where it was paused?

  • SCCM 2007 AND Managing Laptop Connected with NetMotion (VPN) and Chameleon Cellular Connections

    We could use some assistance if anyone is doing any of this. We have mobile laptops that are used out in the field: They have SCCM client Netmotion VPN Chameleon Celluar Connections Two things: 1) Is there a piece of SCCM 2007 currently that could ma