Group:  Other Microsoft Office Products ยป microsoft.public.onenote
Thread: OneNote 2007 API - Inkdrawings converted to InkWords, Meta tag lost

Geek News

OneNote 2007 API - Inkdrawings converted to InkWords, Meta tag lost
"benmca[ at ]gmail.com" <benmca[ at ]gmail.com> 6/8/2007 8:17:19 PM
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

Re: OneNote 2007 API - Inkdrawings converted to InkWords, Meta tag lost
"Daniel Escapa [MS]" <not_real[ at ]microsoft.com> 6/13/2007 9:46:39 PM
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!


<benmca[ at ]gmail.com> wrote in message
news:1181333839.939397.194320[ at ]r19g2000prf.googlegroups.com...
[Quoted Text]
> 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
>

Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net