Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 08-24-2016, 01:07 AM
xbliss xbliss is offline Single step Word Styles from Source Document through entire Destination document? Windows 8 Single step Word Styles from Source Document through entire Destination document? Office 2010 32bit
Novice
Single step Word Styles from Source Document through entire Destination document?
 
Join Date: Aug 2016
Posts: 4
xbliss is on a distinguished road
Default Single step Word Styles from Source Document through entire Destination document?

(Initially posted this on SuperUser (so there may be some extra info), but since I did not get any replies I figured I'd ask MS Word/ Office experts - Maybe this can be done via Word and/ or VBA/ VBScript)

Single step Word Styles from Source Document through entire destination document?

Preface:
To make it easier to understand, I'll use the following 2 terms:
- SS - [Style Source Doc][1] - Sample document whose outline/ bullet Styles are to be used
- SD - [Style Destination Doc][2] - Document on which the Styles must be applied (ignore colors)

----------

For those not familiar with fine grained detailed review & edit of Styles:

To show or hide the Reveal Formatting Pane press [code single]Shift + F1[/code] & note the following:

Bullets & Numbering
Outline Numbered Level: X

- X is "unique" for bullets & sub bullets in SS Doc
- And reflects/ matches the LEVEL of the Bullet/ Sub-bullet in hierarchy.
- X is same for all bullets & sub bullets in the SD Doc

----------

Basically, I'd like to apply the outline bullet para style(s) from SS Doc to SD Doc:

I've defined custom bullets for each bullet level upto Level 8/9 as Word allows it (Shown below)

[![Word Outline Paragraph Styles][3]][3]


I'm aware of Word Macros, Word VBA code, VB Scripts, PowerShell etc., but I'm not an expert.

I'd prefer a way which requires less/ single action (a click or execute Batch/ Script) to repeatedly apply this "post processing" to the "generated" SD Doc(s).

- Import/ Export, Apply, Replace the Styles - How?

Read this, but not easy to execute repeatedly nor sure how to apply in current scenario.
- http://superuser.com/questions/47909...ent-to-another
- http://superuser.com/questions/33925...rosoft-word-do

----------

Just an FYI

- The SD Doc(s) are generated using XML/ XSL sheets for a personal project
- XSL sheets are not capable of generating such deep Word styles/ markup, as was manually created in the SS Doc
- Limited bullet choices and reconfigurability

[1]: https://www.dropbox.com/s/9ja6oip8m9...0Doc.docx?dl=0
[2]: https://www.dropbox.com/s/3fwpe7ld4a...0Doc.docx?dl=0
[3]: http://i.stack.imgur.com/MlhQP.png
Reply With Quote
  #2  
Old 08-24-2016, 05:49 AM
macropod's Avatar
macropod macropod is offline Single step Word Styles from Source Document through entire Destination document? Windows 7 64bit Single step Word Styles from Source Document through entire Destination document? Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 20,466
macropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant future
Default

Your questiion:
Quote:
Single step Word Styles from Source Document through entire destination document?
is about as clear as mud - which might explain why you didn't get any responses. If you are trying to:
1. Copy Styles from one document to another; and/or
2. Update Style definitions in one document to match those in another,
either of those you can be done using the Organiser. A search of the board will also turn up a discussion a few years back that allowed you to choose a selection of Styles in one document to transfer to one or more other documents. That said, it's not apparent whether your formatting has been applied to whatever Styles you're using correctly, or whether you've just overlaid a few Styles with manual formatting.
__________________
Cheers,
Paul Edstein
[MS MVP - Word]
Reply With Quote
  #3  
Old 08-24-2016, 07:04 AM
Charles Kenyon Charles Kenyon is online now Single step Word Styles from Source Document through entire Destination document? Windows 8 Single step Word Styles from Source Document through entire Destination document? Office 2013
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 6,854
Charles Kenyon is a splendid one to beholdCharles Kenyon is a splendid one to beholdCharles Kenyon is a splendid one to beholdCharles Kenyon is a splendid one to beholdCharles Kenyon is a splendid one to beholdCharles Kenyon is a splendid one to beholdCharles Kenyon is a splendid one to behold
Default

I agree, use the Organizer.
This can be done with a macro.
See A Global StyleSheet in Microsoft Word?
Reply With Quote
  #4  
Old 08-26-2016, 09:15 AM
xbliss xbliss is offline Single step Word Styles from Source Document through entire Destination document? Windows 8 Single step Word Styles from Source Document through entire Destination document? Office 2010 32bit
Novice
Single step Word Styles from Source Document through entire Destination document?
 
Join Date: Aug 2016
Posts: 4
xbliss is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
Your questiion:

is about as clear as mud - which might explain why you didn't get any responses. If you are trying to:
1. Copy Styles from one document to another; and/or
2. Update Style definitions in one document to match those in another,
either of those you can be done using the Organiser. A search of the board will also turn up a discussion a few years back that allowed you to choose a selection of Styles in one document to transfer to one or more other documents. That said, it's not apparent whether your formatting has been applied to whatever Styles you're using correctly, or whether you've just overlaid a few Styles with manual formatting.
Now, when my SD DOC is generated via XML/XSL (code) I can apply bunch of things as formatting, but I cannot make it create Specific Styles - Varying Bullets, Varying Properties (that I've marked in Red boxes) etc.

This is a limitation of the XML/XSL sheets. Wish I could do it all from there, but I cant.

Now, for POST PROCESSING I created a SS Doc to show what I really want.

Now, how I can get it to APPLY those kind of styles to the Bullets/ Multi level Outline in the entire SD Doc... Is my question?
I am not super deep Word expert.. so not sure on options 1 & 2 you mentioned.

Now, I could manually APPLY the STYLE using the Format Painter and go Painting (applying the styling) to Bullets through the entire document.. but that would be too cumbersome and time consuming and might leave inaccuracies.

Is there a way I can automate this APPLICATION of STYLES. What approach/ path might you suggest?

It need not come from SS Doc, but thats the only example I have. Unless that can be codified into "programming code" e.g. VBA etc?

I'm not sure where its 1. COPY or 2. UPDATE or both.. But I just wish to POST PROCESS my generated SD Doc, to have BULLETS / Multi level Outlines that Look and act like the ones from SS Doc.

PS: Part of the reason I did not use COPY or UPDATE or even APPLY was that I wasnt sure how these terms mean different things inside the world of "Word Styles"

I hope it was more clear what I'd like to achieve (the END) in my post processing?
Now, maybe there are WAYS and MEANS to reach that END in word / Word VBA?

Thoughts?

PS: Another issue, I was able to post earlier, but today my IP was being blocked when I tried to post this reply. So I used BetterNet VPN to post this.. Can someone fix this?
Reply With Quote
  #5  
Old 08-26-2016, 05:45 PM
macropod's Avatar
macropod macropod is offline Single step Word Styles from Source Document through entire Destination document? Windows 7 64bit Single step Word Styles from Source Document through entire Destination document? Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 20,466
macropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant future
Default

Quote:
Originally Posted by xbliss View Post
Now, how I can get it to APPLY those kind of styles to the Bullets/ Multi level Outline in the entire SD Doc... Is my question?
I am not super deep Word expert.. so not sure on options 1 & 2 you mentioned
You have already been advised (twice) how you can transfer Styles from one document to another - via the Organiser (for example, see under Developer>Document Template>Templates>Organiser). What more do you expect?

A simple web search for:
"Word 2010" Organiser
will turn up plenty of advice on how to use it.
__________________
Cheers,
Paul Edstein
[MS MVP - Word]
Reply With Quote
  #6  
Old 08-27-2016, 02:41 AM
xbliss xbliss is offline Single step Word Styles from Source Document through entire Destination document? Windows 8 Single step Word Styles from Source Document through entire Destination document? Office 2010 32bit
Novice
Single step Word Styles from Source Document through entire Destination document?
 
Join Date: Aug 2016
Posts: 4
xbliss is on a distinguished road
Default

Quote:
Originally Posted by macropod View Post
You have already been advised (twice) how you can transfer Styles from one document to another - via the Organiser (for example, see under Developer>Document Template>Templates>Organiser). What more do you expect?

A simple web search for:
"Word 2010" Organiser
will turn up plenty of advice on how to use it.
Ok. I will read it up. I just wanted to clarify what I was trying to achiever.

PS: I am guessing the Organizer still requires me to do multiple interactions with it, first to TRANSFER and then to APPLY it to entire documents Multi level Bullets.
Right?
Or Can I automate it to a single step mechanism once I read/ learn about the Organizer.

Again.. I ask because I'm doing this from a BATCH processing point of view.. Automated/ Semi automated without many "people/ interaction" steps once understood and codified for "repeated automated use"

-------------

again getting this, only when I hit SUBMIT reply.. :

Quote:
Access Forbidden

Your IP address has been blocked due to repeated spamming activities in the past. Since most users use dynamic IP address, which means it's very probably someone else abused your IP address.

We only blocked registeration and posting, you can read this forum without any rescrictions.
Reply With Quote
  #7  
Old 08-27-2016, 09:36 PM
macropod's Avatar
macropod macropod is offline Single step Word Styles from Source Document through entire Destination document? Windows 7 64bit Single step Word Styles from Source Document through entire Destination document? Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 20,466
macropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant futuremacropod has a brilliant future
Default

The Organiser can only be used to transfer Style definitions, one at a time. If the destination document is not already using Styles with those names, there is no automated way of applying them without creating a macro with very specific instructions about what content they're to be applied to. Conversely, if the Styles are already in use, all you need do is edit Style definitions in the template the documents are attached to, then check the destination document's 'Automatically update document styles' property (see under Developer>Document Template>Templates). I previously told you:
Quote:
A search of the board will also turn up a discussion a few years back that allowed you to choose a selection of Styles in one document to transfer to one or more other documents
Did you do a search???

See, for example: https://www.msofficeforums.com/word-...html#post28497

I can't help with your forum access issues, which seem transient.
__________________
Cheers,
Paul Edstein
[MS MVP - Word]
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
MS Word auto formats entire document with EVERY change rooter Word 2 02-22-2015 10:05 AM
Single step Word Styles from Source Document through entire Destination document? Imported styles have different settings than the source document, why? dkinsley Word 7 10-01-2014 06:43 AM
Single step Word Styles from Source Document through entire Destination document? How do you view the source code in a Word 10 web document? provlima Word 2 05-25-2012 01:12 PM
Adjust style to destination document naamloos Word 0 08-28-2010 11:56 AM
Possible Virus in Word which alters formatting of entire document Shirley Munro Word 2 02-09-2009 02:43 PM

Other Forums: Access Forums - Senior Forums

All times are GMT -7. The time now is 11:45 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2020 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft