OneNote SimpleImporter with OneNote 2007

I wanted to take a minute today and write about a change that will happen with the OneNote 2003 SimpleImporter in OneNote 2007. First of all we will be fully supporting the same API in the next release of OneNote so we will accept the OneNote 2003 XML as well as the OneNote 2007 XML. This also means that existing powertoys will work with OneNote 2007. These are all great things for our customers and if you are seeing any problems with this please let us know ASAP and log a bug on the OneNote Connect site.

So what is the change you ask? As you might have noticed we changed the design of a OneNote page. We no longer have a page header and instead the page title is directly on the page in OneNote. This caused a small problem with the SimpleImporter from OneNote 2003 because by default it thought the best place to start the first outline was at 36, 36. This puts the outline right in the middle of the date & time on the page title in OneNote 2007. Instead we will be modifying the page offset in OneNote 2007 by a little bit (actually 72 now).

This means that whenever you send something to OneNote using the SimpleImporter we will push the content down far enough so that it doesn't collide with the page title that is now on the page. We didn't have a default value but if any of you read Andrew May's blog posts you saw that it said 36, 36 and Donovan's DataImport used that value as well. I know people complained because it was hard to determine what to do correctly (find which version of OneNote was installed and then have two different code paths) and they said that OneNote should handle this correctly. I agreed with this feedback and made the change (with Dev & Test's help!).

There might be some of you developers who are out there and are upset because they wanted exact positioning but you have to realize that you can still do this you just need to detect the right version of OneNote installed and then calculate the right offset that you want. We focused on the base case where most people were inserting content into OneNote and they didn't want it to collide with the title area. This was the most common scenario so we wanted to ensure that our shared customers wouldn't be upset from this.

You won't see this in Beta2 but it will appear in later release of OneNote 2007 and the final version. If you have comments please let me know, but the key take away is that your powertoys for OneNote 2003 will continue to work in OneNote 2007 and you don't need to do anything special (unless you changed the default offset which is pretty uncommon). Thanks!

Comments (5)

  1. erik paul says:

    I don’t really care how it looks when I import it (or where it gets imported).  What bugs me more than anything is that I can’t specify that each page of a document that I import is given its own page in ON.  Click "advanced" in ON 2003 while printing to ON allowed me to specify that I wanted to send each page from a PDF to its own page in ON (sorry, I said it twice).

    This wouldn’t be so bad, but there is a bug with the flag search–check connect–I submitted it there.  If I print a 10 page pdf to ON 2007 and then place multiple flags in the document, clicking on the flag in a flag search only takes me to the ON page, not page 4 of my PDF in ON.  

    This makes using flags almost worthless for me.  It would be nice to fix the driver to have this feature or fix the ON.

    thanks for all the updates–I really appreciate reading your blog everyday.

  2. Thank you for this feedback and for telling us about bugs on Connect.  

    These are two different things the SimpleImporter and the Send to OneNote 2007 print driver.  You have very good points about the print driver and hopefully we can look into that for a future release.  As for the flags we had many problems with search in B2 and this will be improved in future releases.  Flags should be much improved in the next release.

    Please keep the feedback coming on Connect.  Take care

  3. erik paul says:

    Sorry to post incorrectly.  What is the difference?


  4. Christian Madsen says:

    Hello All,

    I have also been having problems with the WDS, however I got it to work now. A big problem I have is, that i can’t search for exact sentences using quotations, it will just return a 0 matches found. If I use single quotations it is like searching without any. Do you guys have the same problem, and can it be fixed?

  5. Christian – There were a lot of issues with WDS 3.0 Preview that came out with Beta2, please look forward to the B2TR release that is forth coming.

Skip to main content