atw: Re: Copying styles from templates [SEC=UNCLASSIFIED]
- From: "Steve Byrne" <steve@xxxxxxxxxxxxxx>
- To: <austechwriter@xxxxxxxxxxxxx>
- Date: Wed, 22 Mar 2006 21:31:25 +1100
Elizabeth,
My comment about where to define the indentation wasn't really related to
solving the problem of copying styles. It's a side issue. The point was that
defining numbering in the Paragraph dialogue box is often unreliable and
defining it in the Customize Outline Numbered List dialogue box is more
reliable.
My suggestion for copying styles successfully is to forget the Organizer and
to use the VBA macro command instead.
Regards,
Steve
----- Original Message -----
From: "Elizabeth Fullerton" <Elizabeth_Fullerton@xxxxxxxxxxx>
To: <austechwriter@xxxxxxxxxxxxx>
Sent: Wednesday, March 22, 2006 9:24 AM
Subject: atw: Re: Copying styles from templates [SEC=UNCLASSIFIED]
I agree that you should specify the indentation in the numbering
dialogue, rather than the paragraph dialogue - in an earlier version of
Word it was the only way to keep the indenting stable.
However, I have still had the indent-missing problem when copying these
styles over via the Organizer. Perhaps if the target heading styles had
their indent created by a different method than the source heading
styles, that could be the source of the problem (when I copy styles it's
usually to a document where the style creation is of unknown origin).
-----Original Message-----
From: austechwriter-bounce@xxxxxxxxxxxxx
[mailto:austechwriter-bounce@xxxxxxxxxxxxx] On Behalf Of Silcock, Howard
DR
Sent: Wednesday, 22 March 2006 9:19 AM
To: austechwriter@xxxxxxxxxxxxx
Subject: atw: Re: Copying styles from templates [SEC=UNCLASSIFIED]
Steve
Thank you very much for this info. I didn't think of looking for a VBA
solution and didn't know about CopyStylesFromTemplate, but I think it
could be useful. Perhaps it would also be possible to write a macro for
copying selected styles from a template. I may have a look when I have
some time.
Your suggestion from Shauna Kelly's site is interesting, but it looks as
if it would mean modifying the template, which I don't really want to
do, as it's not mine to play with (I could make my own copy, but then
could have maintenance problems).
Howard
-----Original Message-----
From: austechwriter-bounce@xxxxxxxxxxxxx
[mailto:austechwriter-bounce@xxxxxxxxxxxxx] On Behalf Of Steve Byrne
Sent: Tuesday, 21 March 2006 21:19
To: austechwriter@xxxxxxxxxxxxx
Subject: atw: Re: Copying styles from templates [SEC=UNCLASSIFIED]
Howard,
You are not alone. I have experienced the same problem with using
Organizer.
In fact, a couple of months ago I posted the same question as you -
except
that it was about copying bullet styles.
I stumbled on the answer: use VBA. There is a VBA command that copies
all
the styles from a template to the current document:
ActiveDocument.CopyStylesFromTemplate ("D:\Data\Templates\MIPS
Procedure.dot")
From my experience, it works.
One problem though, is that it copies all the styles in the template and
so
you might overwrite styles you didn't want to overwrite. Therefore, you
might need to create a template containing only the numbered styles that
you
want to copy.
So far, I haven't found a command to copy just one style at a time.
Regards,
Steve Byrne
PS It might be worthwhile checking where you specified the indentation.
Shauna Kelly (http://www.shaunakelly.com/word/index.html) suggests that
you
should define indentation in the Customize Outline Numbered List
dialogue
box rather than in the Paragraph dialogue box.
**************************************************
To post a message to austechwriter, send the message to
austechwriter@xxxxxxxxxxxxxx
To subscribe to austechwriter, send a message to
austechwriter-request@xxxxxxxxxxxxx with "subscribe" in the Subject
field.
To unsubscribe, send a message to austechwriter-request@xxxxxxxxxxxxx
with "unsubscribe" in the Subject field.
To search the austechwriter archives, go to
www.freelists.org/archives/austechwriter
To contact the list administrator, send a message to
austechwriter-admins@xxxxxxxxxxxxx
**************************************************
**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended
solely for the use of the addressee(s). If you are not the intended
recipient, please notify the sender by e-mail and delete the original
message. Further, you are not to copy, disclose, or distribute this e-mail
or its contents to any other person and any such actions are unlawful.
This e-mail may contain viruses. Infosys has taken every reasonable
precaution to minimize this risk, but is not liable for any damage you may
sustain as a result of any virus in this e-mail. You should carry out your
own virus checks before opening the e-mail or attachment. Infosys reserves
the right to monitor and review the content of all messages sent to or
from this e-mail address. Messages sent to or from this e-mail address may
be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***
**************************************************
To post a message to austechwriter, send the message to
austechwriter@xxxxxxxxxxxxxx
To subscribe to austechwriter, send a message to
austechwriter-request@xxxxxxxxxxxxx with "subscribe" in the Subject field.
To unsubscribe, send a message to austechwriter-request@xxxxxxxxxxxxx with
"unsubscribe" in the Subject field.
To search the austechwriter archives, go to
www.freelists.org/archives/austechwriter
To contact the list administrator, send a message to
austechwriter-admins@xxxxxxxxxxxxx
**************************************************
**************************************************
To post a message to austechwriter, send the message to
austechwriter@xxxxxxxxxxxxxx
To subscribe to austechwriter, send a message to austechwriter-request@xxxxxxxxxxxxx with
"subscribe" in the Subject field.
To unsubscribe, send a message to austechwriter-request@xxxxxxxxxxxxx with
"unsubscribe" in the Subject field.
To search the austechwriter archives, go to
www.freelists.org/archives/austechwriter
To contact the list administrator, send a message to
austechwriter-admins@xxxxxxxxxxxxx
**************************************************
- References:
- atw: Re: Copying styles from templates [SEC=UNCLASSIFIED]
- From: Elizabeth Fullerton
Other related posts:
- » atw: Re: Copying styles from templates [SEC=UNCLASSIFIED]
- » atw: Re: Copying styles from templates [SEC=UNCLASSIFIED]
- » atw: Re: Copying styles from templates [SEC=UNCLASSIFIED]
- » atw: Re: Copying styles from templates [SEC=UNCLASSIFIED]
- » atw: Re: Copying styles from templates [SEC=UNCLASSIFIED]
- » atw: Re: Copying styles from templates [SEC=UNCLASSIFIED]
- » atw: Re: Copying styles from templates [SEC=UNCLASSIFIED]
- » atw: Re: Copying styles from templates [SEC=UNCLASSIFIED]
- » atw: Re: Copying styles from templates [SEC=UNCLASSIFIED]
I agree that you should specify the indentation in the numbering dialogue, rather than the paragraph dialogue - in an earlier version of Word it was the only way to keep the indenting stable.
However, I have still had the indent-missing problem when copying these styles over via the Organizer. Perhaps if the target heading styles had their indent created by a different method than the source heading styles, that could be the source of the problem (when I copy styles it's usually to a document where the style creation is of unknown origin).
-----Original Message----- From: austechwriter-bounce@xxxxxxxxxxxxx [mailto:austechwriter-bounce@xxxxxxxxxxxxx] On Behalf Of Silcock, Howard DR Sent: Wednesday, 22 March 2006 9:19 AM To: austechwriter@xxxxxxxxxxxxx Subject: atw: Re: Copying styles from templates [SEC=UNCLASSIFIED]
Steve
Thank you very much for this info. I didn't think of looking for a VBA solution and didn't know about CopyStylesFromTemplate, but I think it could be useful. Perhaps it would also be possible to write a macro for copying selected styles from a template. I may have a look when I have some time.
Your suggestion from Shauna Kelly's site is interesting, but it looks as if it would mean modifying the template, which I don't really want to do, as it's not mine to play with (I could make my own copy, but then could have maintenance problems).
Howard
-----Original Message----- From: austechwriter-bounce@xxxxxxxxxxxxx [mailto:austechwriter-bounce@xxxxxxxxxxxxx] On Behalf Of Steve Byrne Sent: Tuesday, 21 March 2006 21:19 To: austechwriter@xxxxxxxxxxxxx Subject: atw: Re: Copying styles from templates [SEC=UNCLASSIFIED]
Howard,
You are not alone. I have experienced the same problem with using Organizer.
In fact, a couple of months ago I posted the same question as you - except that it was about copying bullet styles.
I stumbled on the answer: use VBA. There is a VBA command that copies all the styles from a template to the current document:
ActiveDocument.CopyStylesFromTemplate ("D:\Data\Templates\MIPS
Procedure.dot")From my experience, it works.
One problem though, is that it copies all the styles in the template and so you might overwrite styles you didn't want to overwrite. Therefore, you might need to create a template containing only the numbered styles that you want to copy.
So far, I haven't found a command to copy just one style at a time.
Regards, Steve Byrne
PS It might be worthwhile checking where you specified the indentation. Shauna Kelly (http://www.shaunakelly.com/word/index.html) suggests that you should define indentation in the Customize Outline Numbered List dialogue box rather than in the Paragraph dialogue box. ************************************************** To post a message to austechwriter, send the message to austechwriter@xxxxxxxxxxxxxx
To subscribe to austechwriter, send a message to austechwriter-request@xxxxxxxxxxxxx with "subscribe" in the Subject field.
To unsubscribe, send a message to austechwriter-request@xxxxxxxxxxxxx with "unsubscribe" in the Subject field.
To search the austechwriter archives, go to www.freelists.org/archives/austechwriter
To contact the list administrator, send a message to austechwriter-admins@xxxxxxxxxxxxx **************************************************
**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***
**************************************************
To post a message to austechwriter, send the message to austechwriter@xxxxxxxxxxxxxx
To subscribe to austechwriter, send a message to austechwriter-request@xxxxxxxxxxxxx with "subscribe" in the Subject field.
To unsubscribe, send a message to austechwriter-request@xxxxxxxxxxxxx with "unsubscribe" in the Subject field.
To search the austechwriter archives, go to www.freelists.org/archives/austechwriter
To contact the list administrator, send a message to austechwriter-admins@xxxxxxxxxxxxx
**************************************************
- atw: Re: Copying styles from templates [SEC=UNCLASSIFIED]
- From: Elizabeth Fullerton