January 1 2007 • 6:04 PM

Assigning Default Text Formatting

FS wrote:

I always use the import options dialog box to remove all formatting from the imported text. And when I import the text into a frame, it applies a paragraph style. But, what if I want it to apply a specific paragraph style of my choice by default? How do I set it for that?

This is a good example of something that should be really simple and straightforward but isn’t in InDesign. For example, if you make a text frame, click on a paragraph style, and then import text (stripping away all the paragraph styles in the original file, as you mentioned), you’d think the text would be formatted with the paragraph style you chose, right? Unfortunately not. Here’s one workaround: Choose the paragraph style you want before you create or select the frame — that is, choose it when nothing is selected on your page. Now when you import the text, you should get the style you want.

This works because choosing any style or formatting while nothing is selected on your page sets the default text formatting state for this document. InDesign saves this default text formatting with the document so you can even save the file, close it, open it a week later, make a new text frame and start typing and you’ll get the formatting you chose. This is both frustrating (if you don’t know what’s going on) and wonderful (if you do).

Here’s another way to pick the paragraph style you’ll get when you import a file or start typing new text in a frame:

  1. In the Object Styles palette, right-click (or Control-click on the Mac with a one-button mouse) on the [Basic Text Frame] object style and choose Edit from the context menu.
  2. Click on Paragraph Styles in the list of panels along the left side of the Object Style Options dialog box. (This both turns on the checkbox and displays that panel.)
  3. Choose the desired paragraph style from the Paragraph Style popup menu and click OK.
    ApplyStyleToObjectStyle
  4. When you create a text frame or import text, make sure the [Basic Text Frame] style is selected in the Object Styles palette (it should be by default whenever the Type tool is selected).

Of course, you could the same technique with another object style instead. The key is that you can apply a paragraph style to an object style, which is a good thing.

For more information, see Pariah’s post on defaults.

5 Responses discussing this post. Add yours below.

  1. Jochen F. Uebel
    January 3rd, 2007 • 11:43 am • Link

    There is a 3rd way for importing into a specific paragraph style: Choose the box you want, choose the paragraph style you want, type a blank (or any other character), import the text, delete the first character (or blank) at the beginning.

  2. Leah
    July 28th, 2009 • 5:38 pm • Link

    Thank you David so much! You are right about it being something that should be simple but isn’t.

    The “help” section mentioned that you could change the default text but didn’t say HOW.

  3. Randall Taylor
    September 15th, 2009 • 10:48 am • Link

    I created a newsletter for our trade org and everytime I open it I get a msg that the font Times is not found. (well, that’s because I don’t have Times on my computer!) I don’t know how the default font became Times in the first place, but I can’t seem to get rid of the message.

    Help!

    RT

  4. juanhunglo
    December 15th, 2009 • 8:31 am • Link

    Close all documents and change your font to one on your computer (this changes your default font).

  5. October 16th, 2011 • 8:23 pm • Link

    [...] with the answer: On January 1, 2007, at 6:14 p.m., David posted the (still relevant) article “Assigning Default Text Formatting.” Great work, Salah! You will receive a copy of In-Tools’ wonderful Style Utilities for [...]

Subscribe to the Discussion

Get the ongoing discussion surrounding "Assigning Default Text Formatting" 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.