Results 1 to 12 of 12
  1. #1
    New Lounger
    Join Date
    Jun 2002
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Print syles applied ... (W2000)

    Hi, I would like to know if it is possible to print the styles that are applied for each element in a document (e.g. Title, Heading 1, Heading 2, etc.) next to the respective items, or in the left margin, as we see on the screen when the style area option is activated in the Normal or Outline View. If this is possible can it be done in Word 95 as well. Also, is there any way to view character styles as well in the style area?
    Thanks
    Sumjoh

  2. #2
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Print syles applied ... (W2000)

    Hi Sumjoh,
    Go to File/Print... and you'll see a box for Print what. Scroll & you'll see styles & then choose OK.
    Cheers,

  3. #3
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Print syles applied ... (W2000)

    You can position text "outside" the document margins using Frames (all versions of Word) or TextBoxes (more recent versions of Word). However, generating the information that appears in the Style area (which I've never noticed before...interesting), and positioning it correctly adjacent to each paragraph, seems like a pretty big job. Is the payoff really worth it? Why do you want it?

  4. #4
    New Lounger
    Join Date
    Jun 2002
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Print syles applied ... (W2000)

    Hi Phil,

    Thanks for your reply to my post. But that is not what I need, perhaps I should explain a bit more clearly ...
    say you have a document that has been formatted with styles, e.g. Title, Heading 1, Heading 2 etc. applied from a template. I want to know if it will be possible to print out the document with the style appearing to the left of the respective items, i.e. on the print out they should look something like

    [Title]Title of document
    [Heading 1]Introduction
    [Heading 2]Study methodology
    [First para]A paragraph without indent. Blah balh blah ...
    [Body text]Paragraphs with indents. Blah blah blah ...

    I hope you understand what I need now. If you don't, maybe you could open one such document (or any other word document for that matter) in Normal or Outline view, then, in Word 2000, go to Tools > Options > View under 'Outline and Normal options' specify a value greater than 0 in the 'Style area width' box, you will see that this will open up an area to the left of the document where all the prargraph styles applied to the text in the document will be visible. Now I want to know if I can print out the document with these styles visible as they are in this view.

    As you will see in this view, the paragraph styles show up in the style area, I also want to know if there is any way to make character styles appear in the style area as well.

    I hope all that made sense.

    Thanks
    Sumjoh

  5. #5
    New Lounger
    Join Date
    Jun 2002
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Print syles applied ... (W2000)

    Hi, as you said, maybe the 'payoff' isn't worth the trouble of getting this done using frames/text boxes. So, I want to know if it would be possible to view character styles in the style area as well. The reason I need it is, I have a document that has uses a lot of character styles in between text, although these character styles are visible on screen, as a different colour has been used for them, I want to know if there is some way to distinguish them on a normal (B&W) printout.
    Thanks
    Sumjoh

  6. #6
    Super Moderator
    Join Date
    May 2002
    Location
    Canberra, Australian Capital Territory, Australia
    Posts
    5,054
    Thanks
    2
    Thanked 417 Times in 346 Posts

    Re: Print syles applied ... (W2000)

    Hi Sumjoh,

    Maybe I'm reading this too literally, but if you're using "character styles in between text" what is there to print? Spaces? Also, what are you trying to distinguish the character styles from? Each other? Text that doesn't have these styles applied?

    If your character styles have been applied to text so as to give it a different colour, then the most you can do on a B&W printer is to print them in different shades of grey. You do this by going into Tools|Options|Compatability and making sure that the option to 'Print colors as black on noncolor printers' is unchecked.

    Beyond that, if all you need is a document that shows where these styles have been applied to characters, you could simply change the character attributes to make them easier to distinguish.

    Cheers
    Cheers,

    Paul Edstein
    [MS MVP - Word]

  7. #7
    Plutonium Lounger
    Join Date
    Nov 2001
    Posts
    10,550
    Thanks
    0
    Thanked 7 Times in 7 Posts

    Re: Print syles applied ... (W2000)

    Does this Macro do what you want?

    Sub ShowStyles()
    Dim paraNext As Paragraph
    Dim shpTbox As Shape

    With ActiveDocument.PageSetup
    If .LeftMargin < 110 Then .LeftMargin = 110
    End With

    For Each paraNext In ActiveDocument.Paragraphs
    Set shpTbox = ActiveDocument.Shapes.AddShape( _
    Type:=msoShapeRectangle, _
    Left:=-110, Width:=100, Height:=20, Top:=0, _
    Anchor:=paraNext.Range)
    shpTbox.TextFrame.TextRange.InsertAfter paraNext.Style.NameLocal
    Next paraNext
    End Sub

    StuartR

  8. #8
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Print syles applied ... (W2000)

    Sorry for the delay in getting back to you. I did misunderstand what you want, but I see that Stuart has posted a macro that will do the trick.
    Cheers,

  9. #9
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Print syles applied ... (W2000)

    Sorry for the delay in getting back to you. I did misunderstand what you want, but I see that Stuart has posted a macro that will do the trick as far as paragraph styles are concerned. I'm not sure how you would also list character styles, since you could have multiple character styles on one line...they really wouldn't fit next to the line.
    Cheers,

  10. #10
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Print syles applied ... (W2000)

    A program has been mentioned here that provides a "Reveal Codes" feature for Word documents, similar in some ways to what WordPerfect users have become accustomed to. Maybe you can print that view, which, like HTML code, shows where different formatting attributes start and stop in the document. I'm not certain, but I think the program may be called CrossEyes.

  11. #11
    New Lounger
    Join Date
    Jun 2002
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Print syles applied ... (W2000)

    Hi Stuart,
    Yes, the macro that you suggested gives me exactly what I want <img src=/S/bravo.gif border=0 alt=bravo width=16 height=30> . Thanks for the help on this one.
    Sumjoh

  12. #12
    New Lounger
    Join Date
    Jun 2002
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Print syles applied ... (W2000)

    Hi, thanks for the tip on Crosseyes. It takes what I asked for to a higher level, but is very interesting indeed <img src=/S/cool.gif border=0 alt=cool width=15 height=15> <img src=/S/cool.gif border=0 alt=cool width=15 height=15> .
    R/Sumjoh

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •