Thanks. I clicked on the following link and I get lost about how to find APIs. 
I think I need to go to the following page:
http://msdn.microsoft.com/en-us/library/bb225019%28v=office.12%29.aspx

to find APIs. To read an auto-number paragraph, I check: word Document Object 
Map and find paragraph. But what API should I use to read all words and the 
auto-number of this paragraph. It seems a huge table in each object map. Thanks.
-- On Tue, 6/14/11, Preston Landers <pland...@gmail.com> wrote
From: Preston Landers <pland...@gmail.com>
Subject: Re: [python-win32] UnicodeEncodingError when print a doc file
To: "cool_go_blue" <cool_go_b...@yahoo.com>
Cc: "python-win32@python.org" <python-win32@python.org>
Date: Tuesday, June 14, 2011, 10:08 PM

I think you'll have to get into the guts of the Document object to do things 
like that.  Here's the official Word 2007 object model documentation. Any 
tutorials or examples you can find that use other languages like C# or VB.NET 
would be relevant, you just have to translate them a bit to Python.  The 
underlying Document API is the same across languages.


http://msdn.microsoft.com/en-us/library/bb243297(v=office.12).aspx


On Tue, Jun 14, 2011 at 8:20 PM, cool_go_blue <cool_go_b...@yahoo.com> wrote:


Thanks. I just find that all item numbers such as 1.1.1 are gone. How can I get 
these numbers. Also, If all items are in a table, how can I get the contents of 
all items and ignore the table structure. Thanks. 





_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to