Notes: Difference between revisions
Jump to navigation
Jump to search
m (typo) |
No edit summary |
||
Line 1: | Line 1: | ||
= Notes = | = Notes Meta-data= | ||
== Raw == | == Raw == | ||
Line 21: | Line 21: | ||
</wdgt> <!-- --> | </wdgt> <!-- --> | ||
</syntaxhighlight> | </syntaxhighlight> | ||
= Notes Text-tree = | |||
Text is stored in a tree beginning by <r2dtotree> and ending by </r2dtotree>. | |||
Line 95: | Line 101: | ||
</r2dtotree> | </r2dtotree> | ||
</np:fmtxt> | </np:fmtxt> | ||
</wdgt> | |||
<!-- Another example (not properly indented) --> | |||
<wdgt xmlns:np="urn:TI.Notepad" type="TI.Notepad" ver="2.0"> | |||
<np:mFlags>1024</np:mFlags> | |||
<np:value>3</np:value> | |||
<np:fmtxt> | |||
<r2dtotree> | |||
<node name="1doc"> | |||
<node name="1para"> | |||
<node name="1rtline"> | |||
<leaf name="1word">L1normal</leaf> | |||
</node> | |||
</node> | |||
<node name="1para"> | |||
<node name="1rtline"> | |||
<leaf name="1word">L2 </leaf> | |||
<leaf name="1keyword">gras</leaf> | |||
</node> | |||
</node> | |||
<node name="1para"> | |||
<node name="1rtline"> | |||
<leaf name="1word">L3 | |||
</leaf> | |||
<leaf name="1subhead">italique</leaf> | |||
</node> | |||
</node> | |||
<node name="1para"> | |||
<node name="1rtline"> | |||
<leaf name="1subhead">L4 </leaf> | |||
<leaf name="1word">blabla</leaf> | |||
</node> | |||
</node> | |||
<node name="1para"> | |||
<node name="1rtline"> | |||
<leaf name="1title">L5 </leaf> | |||
<leaf name="1title">souligné</leaf> | |||
</node> | |||
</node> | |||
<node name="1para"> | |||
<node name="1rtline"> | |||
<leaf name="1word">L6 </leaf> | |||
<leaf name="1supersc">up</leaf> | |||
</node> | |||
</node> | |||
<node name="1para"> | |||
<node name="1rtline"> | |||
<leaf name="1word">L7 </leaf> | |||
<leaf name="1subscrp">down</leaf> | |||
</node> | |||
</node> | |||
<node name="1para"> | |||
<node name="1rtline"> | |||
<leaf name="1word">L8 </leaf> | |||
<leaf name="1word">on </leaf> | |||
<leaf name="1title">mixxe|xx|</leaf> | |||
<leaf name="1keyword"><cursor index="0"/>eeee </leaf> | |||
<leaf name="1keyword">==> </leaf> | |||
<leaf name="1keyword">fail</leaf> | |||
</node> | |||
</node> | |||
<node name="1para"> | |||
<node name="1rtline"> | |||
<leaf name="1word">Et </leaf> | |||
<leaf name="1word">ci </leaf> | |||
<leaf name="1word">on </leaf> | |||
<leaf name="1word">fait </leaf> | |||
<leaf name="1word">ça?: </leaf> | |||
<leaf name="1word"> </leaf> | |||
<leaf name="1keyword">11</leaf> | |||
<leaf name="1title">22</leaf> | |||
<leaf name="1keyword">11</leaf> | |||
</node> | |||
</node> | |||
</node> | |||
</r2dtotree> | |||
</np:fmtxt> | |||
</wdgt> | </wdgt> | ||
</syntaxhighlight> | </syntaxhighlight> |
Revision as of 10:53, 29 December 2011
Notes Meta-data
Raw
<wdgt xmlns:np="urn:TI.Notepad" type="TI.Notepad" ver="2.0">
<np:mFlags>1024</np:mFlags>
<np:value>3</np:value>
<np:fmtxt>{TREE}</np:fmtxt>
</wdgt>
Explanation
<wdgt xmlns:np="urn:TI.Notepad" type="TI.Notepad" ver="2.0"> <!-- -->
<np:mFlags>1024</np:mFlags> <!-- -->
<np:value>3</np:value> <!-- -->
<np:fmtxt>{TREE}</np:fmtxt> <!-- Text is in this tree -->
</wdgt> <!-- -->
Notes Text-tree
Text is stored in a tree beginning by <r2dtotree> and ending by </r2dtotree>.
Raw exemple
<wdgt xmlns:np="urn:TI.Notepad" type="TI.Notepad" ver="2.0">
<np:mFlags>1024</np:mFlags>
<np:value>3</np:value>
<np:fmtxt>
<r2dtotree>
<node name="1doc">
<node name="1para">
<node name="1rtline">
<leaf name="1word">
L1
</leaf>
</node>
</node>
<node name="1para">
<node name="1rtline">
<leaf name="1word">
L2
</leaf>
</node>
</node>
<node name="1para">
<node name="1rtline">
<leaf name="1word">
L3
</leaf>
</node>
</node>
<node name="1para">
<node name="1rtline">
<leaf name="1word" continued="1">
llllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll
</leaf>
</node>
<node name="1rtline">
<leaf name="1word" continuation="1">
llllllllllllllllllllllllllllllllllllllllllllllllllllllll
</leaf>
</node>
</node>
<node name="1para">
<node name="1rtline">
<leaf name="1word">
&amp;é&quot;&apos;(-è_çà)=
</leaf>
</node>
</node>
<node name="1para">
<node name="1rtline">
<leaf name="1word"/>
</node>
</node>
<node name="1para">
<node name="1rtline">
<leaf name="1word">
L10!
<cursor index="0"/>
</leaf>
</node>
</node>
</node>
</r2dtotree>
</np:fmtxt>
</wdgt>
<!-- Another example (not properly indented) -->
<wdgt xmlns:np="urn:TI.Notepad" type="TI.Notepad" ver="2.0">
<np:mFlags>1024</np:mFlags>
<np:value>3</np:value>
<np:fmtxt>
<r2dtotree>
<node name="1doc">
<node name="1para">
<node name="1rtline">
<leaf name="1word">L1normal</leaf>
</node>
</node>
<node name="1para">
<node name="1rtline">
<leaf name="1word">L2 </leaf>
<leaf name="1keyword">gras</leaf>
</node>
</node>
<node name="1para">
<node name="1rtline">
<leaf name="1word">L3
</leaf>
<leaf name="1subhead">italique</leaf>
</node>
</node>
<node name="1para">
<node name="1rtline">
<leaf name="1subhead">L4 </leaf>
<leaf name="1word">blabla</leaf>
</node>
</node>
<node name="1para">
<node name="1rtline">
<leaf name="1title">L5 </leaf>
<leaf name="1title">souligné</leaf>
</node>
</node>
<node name="1para">
<node name="1rtline">
<leaf name="1word">L6 </leaf>
<leaf name="1supersc">up</leaf>
</node>
</node>
<node name="1para">
<node name="1rtline">
<leaf name="1word">L7 </leaf>
<leaf name="1subscrp">down</leaf>
</node>
</node>
<node name="1para">
<node name="1rtline">
<leaf name="1word">L8 </leaf>
<leaf name="1word">on </leaf>
<leaf name="1title">mixxe|xx|</leaf>
<leaf name="1keyword"><cursor index="0"/>eeee </leaf>
<leaf name="1keyword">==> </leaf>
<leaf name="1keyword">fail</leaf>
</node>
</node>
<node name="1para">
<node name="1rtline">
<leaf name="1word">Et </leaf>
<leaf name="1word">ci </leaf>
<leaf name="1word">on </leaf>
<leaf name="1word">fait </leaf>
<leaf name="1word">ça?: </leaf>
<leaf name="1word"> </leaf>
<leaf name="1keyword">11</leaf>
<leaf name="1title">22</leaf>
<leaf name="1keyword">11</leaf>
</node>
</node>
</node>
</r2dtotree>
</np:fmtxt>
</wdgt>