Creating an Outline from text, list, and tables

D

dyowee

Good day!
Is there any documentation, or an API, that defines on how to create an
Outline element, including all its children, from scratch given just a series
of text from Word which can include text, lists (bulleted or numbered), and
tables?

Thanks.
 
D

dyowee

But the documentation in the urls given doesn't tell when you should create a
new OEChildren, for example, when a text is indented, and things like that.
 
D

dyowee

But this doesn't really explain sir on how to create a Outline element with
all it's children from ground up given a raw text data with plain texts,
lists, and tables.
 
J

John Guin [msft]

Oh, OK.

To see what valid, well formed OneNote XML looks like, use the Spy tool at
http://blogs.msdn.com/descapa/archive/2007/02/12/omspy-a-onenote-developer-s-tool.aspx to examine pages in your notebooks.

I also recommend googling up "how to read an XSD." There are plenty of
online tutorials which will explain how to read an XSD and this will greatly
help you when you debug your application. There is a decent tutorial
(designed to maximize ad space, seemingly) at
http://www.w3schools.com/Schema/default.asp

Lastly, try looking through some of the addins from my blog for sample code.
A good starting point is the sample apps the test team released:
http://blogs.msdn.com/johnguin/arch...te-powertoys-from-the-test-team-for-2007.aspx

Items 7, 9, 10 and 19 are all good starting points.

--
Thanks,
John Guin
OneNote Test Team
http://blogs.msdn.com/johnguin
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top