OneNote 2007 API - Inkdrawings converted to InkWords, Meta tag lost

B

benmca

Hi everyone:

I am using the OneNote API to import Ink as <one:InkDrawing\>. Some
time after import, OneNote runs handwriting recognition on these
InkDrawings, and converts them to InkWords or InkParagraphs. My
problem: I am adding metadata in the form of one:Meta tags to the
InkDrawings, but this metadata is not carried over to the Outline or
OE element containing the post-reco InkWords and InkParagraphs.

Does anyone know of a way to programmatically tag an InkDrawing on
import, and have that data stick after OneNote reco's the drawing? I
tried creating my own Outline obj, but this opened a can of worms with
respect to positioning (which I've posted on a second thread.) Any
help is greatly appreciated!

Thanks - Ben
 
D

Daniel Escapa [MS]

Ben -

Great question! The reason why this happens is that when OneNote runs IA it
will 'delete' and 'create' items on the page so if you InkDrawing was
converted into other items it would be more than one InkDrawing, InkWord or
InkParagraph. Would you want them to all have the same metadata? Or you
would prefer to set some text where IA does not run on them?

What if you try and add this to your XML: unclassified=false for the
InkDrawing? That should make sure that OneNote doesn't run IA on that page.
However if the user adds more ink that will cause IA to run again which
might cause problems with metadata.

Interesting questions and if you have ideas please let me know. You can
contact me through my blog if you would like to email about this:
http://blogs.msdn.com/descapa/

Thanks!
 

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