<?xml version="1.0" ?>
- <one
age
xmlns
ne="
http://schemas.microsoft.com/office/onenote/2007/onenote"
ID="{B0B6D4E7-DBBF-4279-A9E2-085EFC128000}{1}{B0}" name="test"
dateTime="2007-03-23T16:57:14.000Z"
lastModifiedTime="2007-03-23T19:24:35.000Z" isCurrentlyViewed="true"
selected="partial" style="font-family:Calibri;font-size:11.0pt" lang="en-US">
- <one
ageSettings RTL="false" color="automatic">
- <one
ageSize>
<one:Automatic />
</one
ageSize>
<one:RuleLines visible="false" />
</one
ageSettings>
- <one:Title style="font-family:Calibri;font-size:17.0pt" lang="en-US">
- <one:OE author="d" lastModifiedBy="d"
creationTime="2007-03-23T16:57:17.000Z"
lastModifiedTime="2007-03-23T19:24:35.000Z"
objectID="{118E03D9-24DF-45A2-B902-05F1C46F9919}{15}{B0}" alignment="left">
- <one:T>
- <![CDATA[ test
]]>
</one:T>
</one:OE>
</one:Title>
- <one:Outline selected="partial" author="d" lastModifiedBy="d"
lastModifiedTime="2007-03-23T19:24:16.000Z"
objectID="{29CC9639-B3B0-4AC9-B80C-2470B9F1F2F8}{197}{B0}">
<one
osition x="72.0" y="402.9754333496094" z="4" />
<one:Size width="72.0" height="13.42773056030273" />
- <one:OEChildren selected="partial">
- <one:OE creationTime="2007-03-23T19:24:16.000Z"
lastModifiedTime="2007-03-23T19:24:16.000Z"
objectID="{29CC9639-B3B0-4AC9-B80C-2470B9F1F2F8}{198}{B0}" alignment="left"
selected="partial">
- <one:T selected="all">
- <![CDATA[
]]>
</one:T>
</one:OE>
</one:OEChildren>
</one:Outline>
</one
age>
Ok, I am able to pull the xml from the current page, and I understand that
the cursor is where selected="all" but I can not figure out the correct xml
syntax for an image.
According to MSDN, an image can either be referenced in a file or is
included inline in base64 encoded.. It does not really go into much detail
other wise.
I am thinking I would want to replace the - <one:T selected="all">
- <![CDATA[
]]>
</one:T>
with something like <one:Image path="pathToPicture"> </one:Image> but I have
not had any luck.
Thanks,
D
Ilya Koulchin said:
There is no explicit "insert at cursor" command, however, you can get
the selection when exporting the page content, and then import your
changes at the selected location. You will be able to get the selection
location even if nothing is selected - in that case, you'll just see an
empty text block in the XML that is marked as selected.
Ilya