It is possible to define Styled text within a field (by extending the
technique that Cindy shows, perhaps including AutoTexts) but in this case it
would seem to be more complicated than needed.
--
Enjoy,
Tony
www.WordArticles.com
"Cindy M." <C.Meister-(E-Mail Removed)> wrote in message
news:VA.0000150a.9c47fdb4@vistapc...
> Hi vojo,
>
> I can't think of any way to do this. I don't think there are any fields
> that
> apply styles. Fields can only reference text that has a style applied.
> Best
> that occurs to me is to use an IF field that checks the Variable and
> displays
> text according to that property.
>
> { IF {DocVariable abc}="on" "Show all this text" "" }
>
>> What I want to do is to create a style such that a global variable (in
>> the
>> custom template) defines some formating...namely whether font is hidden
>> or
>> shown.
>> Variable in the doc template
>>
>> I am ok with idea of an if true style x else style y but dont know how to
>> make a style in word that does this (without manually typing all this
>> in).
>> Ie would like be able to place cursor and select style.
>>
>> I am ok with two styles: a field / bookmark for hidden on....and a
>> fied/bookmark for hidden off
>>
>> Would like to stay away from VBA on this
>>
>
> Cindy Meister
> INTER-Solutions, Switzerland
> http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
> http://www.word.mvps.org
>
> This reply is posted in the Newsgroup; please post any follow question or
> reply in the newsgroup and not by e-mail :-)
>