Convert OneNote outlines to Word format?

D

dyowee

Good day!

Is it possible to convert OneNote outlines (from internal XML) to a format
understandable by Word?

Thanks.
 
J

John Guin [msft]

What exactly are you trying to do?

If you want to save a page as a word document, you can use the Publish()
method to do this. If you only want to save certain information from a page
to a word doc, you could create a temp page, copy the data you want to it,
save the temp page as word format and delete the temp page.
 
D

dyowee

Good day sir!
I want to capture Outline tags/data from a page, then save it to a database
in a format that would be understandable by Word, so that data can be
retrieved from the database and displayed in Word. Any ideas?

Regards,
Joey
 
J

John Guin [msft]

Assuming the data is text, I'd suggest loading the XML document and isolating
the nodes which hold the data you want to export. Read the data as a string
and save to any db format you want (string data is fairly universal).

Other data types may need conversion, and I would need some time to work on
getting ink into some sort of usable format.

Check out the MSDN pages which document the OneNote API, and this page has a
bunch of addins for OneNote - check them for sample code as well.
http://msdn.microsoft.com/en-us/office/aa905452.aspx
an
http://blogs.msdn.com/johnguin/arch...te-powertoys-from-the-test-team-for-2007.aspx
--
Thanks,
John Guin
OneNote Test Team
http://blogs.msdn.com/johnguin
 
D

dyowee

Or how about sir OneNote to rtf?

John Guin said:
Assuming the data is text, I'd suggest loading the XML document and isolating
the nodes which hold the data you want to export. Read the data as a string
and save to any db format you want (string data is fairly universal).

Other data types may need conversion, and I would need some time to work on
getting ink into some sort of usable format.

Check out the MSDN pages which document the OneNote API, and this page has a
bunch of addins for OneNote - check them for sample code as well.
http://msdn.microsoft.com/en-us/office/aa905452.aspx
and
http://blogs.msdn.com/johnguin/arch...te-powertoys-from-the-test-team-for-2007.aspx
--
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