March 20 2008 • 3:21 AM

Replacing a Character with an Inline Object

S.W. wrote:

Is there a way to convert all instances of font/dingbat to outlines in a document? I was using the square shaped dingbat from Wingdings as placeholder for a Check Box in a form I was designing in InDesign. To my surprise the Acrobat form recognition function wouldn’t recognize boxes in the PDF I exported, unless I converted them to outlines. So is there a quick way to do this for the entire document?

Interesting problem! While you cannot convert a single character to outlines everywhere throughout a document, you can convert it once, then use Find/Change to replace it.

  1. Select the character you want to convert and copy it to the clipboard (Edit > Copy).
  2. While it’s still selected, convert it to outlines (Type > Create Outlines)
  3. Open Find/Change (from the Edit menu or with Command/Ctrl-F).
  4. Place the cursor in the Find What field and paste (Command/Ctrl-V). You should see the dingbat there (or the character that makes the dingbat). If it’s in a particular font (such as Wingdings), then click the Find Format area and specify the font in the Basic Character Formats pane.
  5. Now choose the Selection tool, click on the character you converted to outlines, and copy that the clipboard.
  6. In the Find/Change dialog box, click in the little triangle menu to the right of the Change To field, and choose Other > Clipboard Contents, Unformatted.
  7. Click Change All.

replacewithclip
replacewithclip

That’s it! I love the ability to replace with the clipboard contents, especially when it comes to replacing with an inline object like this. So handy…

11 Responses discussing this post. Add yours below.

  1. digital_dreamer
    March 20th, 2008 • 4:38 am • Link

    Very cool! Thanks for that tip!

    regards,
    MAJ

  2. Hopsa
    March 20th, 2008 • 7:41 am • Link

    briliant!

  3. Martin
    March 20th, 2008 • 10:51 am • Link

    What is the difference between “Clipboard Contents, Formatted” and “Clipboard Contents, Unformatted”?

    Both seemed to work in this instance.

  4. March 20th, 2008 • 12:07 pm • Link

    I believe that if you have a frame with styling applied (like a stroke, drop shadow, etc) and you choose unformated that it will be pasted in as a plain frame.

  5. David Blatner
    March 20th, 2008 • 12:25 pm • Link

    Fritz, I’m not sure that’s correct. In my tests, there actually is no difference between formatted and unformatted when it comes to inline objects. Object formatting (even object styles) appear to be maintained either way.

    However, I like to use “unformatted” just in case (we publishers are a paranoid lot). I reserve “formatted” for when I know I need to maintain text formatting (font, character style, etc.).

  6. March 20th, 2008 • 1:12 pm • Link

    This is one of my all-time favorite tricks I’ve ever seen you demo, David (remember, at the live podcast recording in NYC … it was one of your solutions for “how many ways can you duplicate something”). I wasn’t sure I’d ever see a practical application for it, and here it is! Very cool.

  7. March 20th, 2008 • 2:55 pm • Link

    I just used this same trick (gleaned from an InDesign conference session in Miami) for a festival programme. If you apply a character style to the inline item, it makes it easier to find afterwards as well.

  8. Somerset
    March 20th, 2008 • 3:30 pm • Link

    Thank you for such a speedy response!

    I was slow close to getting it right. I tried pasting the object into the Replace field, but I didn’t know about the “Other” options. Just goes to show that you should click on every button and menu item, then you’r bound to find what you’re looking for!

  9. March 20th, 2008 • 7:31 pm • Link

    Very nice. I realize that this example is pretty straight forward but the one thing I like to remind people of when find/change discussions come up is that if you have a complicated find change that it’s a good idea to save the query for future use.

    They’re saved as small XML files that you can very easily share with other users.

    It’s amazing how many folks miss that query drop down at the top of the find change dialog box.

  10. dave
    June 26th, 2008 • 5:42 pm • Link

    is there a feasible way to do this in CS2?

    I’ve been bugging my IT staff to deploy CS3 (now that CS4 is on the horizon) - and we’ve only recently gotten CS2!

    I have a script that replaces a string of text with inline art (forget where I got it), but in this case I’m not embedding art, just an empty frame.

  11. dave
    June 26th, 2008 • 5:46 pm • Link

    I should add that the frame I’m placing is an empty colored circle. my afforementioned script places an art file, which creates its own frame, which would be square.

    e.g. replace every “B” with a small blue circle, every “R” with a red one (for a color-coded index)

Subscribe to the Discussion

Get the ongoing discussion surrounding "Replacing a Character with an Inline Object" delivered to you. Click here to subscribe via RSS.

Leave a Reply

You can use limited HTML tags, such as <em></em> for emphasis/italics and <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> .

InDesignSecrets reserves the right to edit and/or remove posts and comments.