Email
Share

We Rock Your Web Forum » Software » Office Applications

How to view source code in MS Office 2010?

(3 posts)
  1. Woofus

    member
    Joined: Sep '09
    Posts: 32

    Ahhh, this is driving me crazy. I'm trying to import content from a Word 2010 document into my website's WYSIWYG (FCKeditor) editor window, and have it only retain the headings and paragraph tags, not all the other crap Word formatting, and not strong and italic tags on the headings.

    Does anyone know of a way to do this? I can't seem to view the source code in Word, which would at least give me an idea of what Word is spitting out on its end.

    Posted 8 months ago #

  2. Posted 8 months ago
  3. Web Rocker

    admin
    Joined: Jun '11
    Posts: 26

    The following steps should get you there:

    • Create your document in Word using "Style Set" "Word 2003" (you can click the "Change Styles" button to the right of the headings bar).
    • Apply "Heading 2" and "Heading 3" throughout the document.
    • Copy and "paste with Word" button in editor.
    • Check only the "Ignore Font Face definitions" box and hit OK.
    • The text should import with heading 2 and heading 3 intact, and without any other formatting (such as bold or italic).

    To confirm, you can hit the "switch to plain text" link below the editor. The headings should be surrounded by only <h2></h2> and <h3></h3> tags, and the paragraphs by <p></p> tags.

    Posted 8 months ago #
  4. Web Rocker

    admin
    Joined: Jun '11
    Posts: 26

    If you simply want to view the Word document source code, you can add the "Web Page Preview" button to your Quick Access Toolbar.

    Simply click the drop-down arrow beside the toolbar > select "More Commands" > under "Choose Commands From" select "Commands Not in the Ribbon" > Select "Web Page Preview" from the list > click the "Add" button.

    Posted 8 months ago #

RSS feed for this topic

Reply

(required)

Allowed markup: BBcode blockquote code em strong ul ol li font strike center u hr.
You can also put code in between backtick ( ` ) characters.