OneNote: An In-Depth Look at the OneNoteImporter Managed Assembly (Part 5 of 5)
In this series of entries, we're taking an in-depth at the OneNoteImporter manage class, which provides an object model interface for the programmability functionality added in OneNote 2003 SP 1.
Object Model Maps
The following figures diagram the OneNoteImporter assembly object model, including abstract classes and inheritance. The diagrams mainly document how the objects in the assembly relate to each other. In most cases, when a member takes an object as a parameter, or returns an object, that object is included on the diagram. Value types, such as string or integers, are for the most part not displayed.
For the sake of clarity, the following object information, pertaining to methods that most of the classes have, has been left off the diagrams:
· The Clone method returns the type of object from which you call it.
· The Equals method takes a System.Object as a parameter.
· The GetHashCode method returns a System.Int32 object suitable for use in hashing algorithms and data structures like a hash table.
· Inheritance from System.Object is not shown.
Figure 2. The Application Object (and Legend)
Figure 3. The ImportNode Abstract Class, and Page Class
Figure 4. The PageObject Abstract Class, and Derived Classes
Figure 5. The OutlineContent Abstract Class, and Derived Classes
Figure 6. The Data Abstract Class, and Derived Classes
Conclusion
The OneNoteImporter managed assembly provides a convenient and multi-functional ‘wrapper’ for working with the SimpleImporter and command line functionality in OneNote 2003 SP1. Moreover, using the provided source files for the assembly, a developer can customize and extend the classes as required for his particular application.
Comments
- Anonymous
February 17, 2005
What did you use to create those object maps? - Anonymous
February 17, 2005
Is there a list of HTML tags, that OneNote supports? - Anonymous
February 17, 2005
The comment has been removed - Anonymous
February 22, 2005
Hey JT,
Several people have asked me that same question before, so here's my answer:
http://blogs.msdn.com/andrew_may/archive/2005/02/22/378210.aspx
Thanks for reading. - Anonymous
February 22, 2005
Currently I'm interested in text alignment. What html tags or styles do I need to align text left, right or middle? - Anonymous
January 30, 2006
PingBack from http://www.onenotepowertoys.com/2006/01/31/links-about-the-onenote-api/