View Single Post
 
Old 08-24-2016, 01:07 AM
xbliss xbliss is offline Windows 8 Office 2010 32bit
Novice
 
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