• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 324
  • Last Modified:

Determine Formatting in Word Document

Hi

I need to write an application whith which I open and read a Word Document. How can I get the formatting for a specific paragraph, i.e font type, font size, font color and text styles from the word document ?

An example would be very helpfull.

Regards
0
jeboersema
Asked:
jeboersema
1 Solution
 
Meir RivkinFull stack Software EngineerCommented:
0
 
jeboersemaAuthor Commented:
Although the mentioned article cover some of the topics on Word Automation it only covers the creation of Word files. My question is about reading an existing Word file and the formatting in the Word document.

Thanx for the reply though.
0
 
ComputerBeastCommented:
In Word 2007 execute the following steps:
1. Open the document.
2. Select the Home tab.
3. Select the text that you want to format.
4. Now, select a required option in the Home tab in a specific ribbon. For example, you can modify Font properties by selecting a required option in Font ribbon, paragraph properties by selecting the option in Paragraph ribbon, and so on.

0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
jeboersemaAuthor Commented:
None of the solutions provided above actually answer the question. The question was:

I need to write an application whith which I open and read a Word Document. How can I get the formatting for a specific paragraph, i.e font type, font size, font color and text styles from the word document ?

Note: I am trying to do this in code, not with the application supplied by Microsoft.
0
 
DarrenDCommented:
Hi,

Maybe you should have a look at the Microsoft Office Binary specifications for Word, Excel and Powerpoint etx....

It might give you an idea or two...

http://msdn.microsoft.com/en-us/library/cc313118.aspx

Cheers,

Darren
0
 
jeboersemaAuthor Commented:
Decided to try and digg around into the Office Documentation for help.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now