Re: Applying Character style in Word 2004
Re: Applying Character style in Word 2004
- Subject: Re: Applying Character style in Word 2004
- From: Larry McMunn <email@hidden>
- Date: Mon, 2 Oct 2006 14:38:20 -0400
At 9:31 AM -0700 10/2/06, Paul Berkowitz <email@hidden> wrote:
2) 'replacement' does have its own 'style' property, but that's supposedlty
of type 'base style': 102 enumerated built-in styles only. It's not an
element of type 'Word style'.
So, supposedly, you can't set the style of a replacement to any custom
styles, only to one of the 102 enumerated built-in styles of 'base style'.
(BTW, applying FOOT_REF style manually afterwards removes the bold and
re-applies the superscript since you set the superscript property of
FOOT_REF to true and didn't set the bold property. Why'd you do that?)
Thanks so much Paul! I made a little adjustment and it works like a charm.
Why'd I do that?
I have a client who sends in their copy with superscripts but refuses
to use style sheets. I'm importing into InDesign with Applescript and
then applying paragraph styles. It appears that if the superscript
style is applied on its own, the local formatting is overridden and I
lose the footnote references--but, if the Character style (which is
only applying superscript) is applied to those same characters, then
the local formatting holds and when my paragraph style is applied,
the footnote references are kept but appear in the correct font for
the paragraph.
The lines in the script referencing Bold were simply there to test
that, in fact, my find/change was working.
You were just the person that I thought of when I decided to post
last night--thanks again!
--
Happy Automation! :-)
Larry McMunn
President
McMunn Associates, Inc.
Collingswood, NJ
Seminole, FL
Mobile: (856) 261-7018
Main Office: (866) 671-6067
FAX: (866) 636-4446
---------------------------------------------------------------
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden