Wiki
Clone wikiOkapi / ResourceCase005
Footnote block embedded inside a paragraph
In this case an Open-Document paragraph contains an embedded footnote (text:note
element). The footnote has two paragraphs.
<text:p text:style-name="Standard"> Paragraph with footnote here <text:note text:id="ftn1" text:note-class="footnote"> <text:note-citation>1</text:note-citation> <text:note-body> <text:p text:style-name="Footnote"> Text of the <text:span text:style-name="T1">automatic</text:span> footnote. </text:p> <text:p text:style-name="Footnote"> Second paragraph of the footnote. </text:p> </text:note-body> </text:note> . </text:p>
Possible events:
TextGroup(tg1)={ SkeletonUnit(s1)='<text:p text:style-name="Standard">' TextUnit(t1)={ text='Paragraph with footnote here [ic(1)].' codes={ ic(1)='[T#tg2]' } children={ TextGroup(tg2)={ SkeletonUnit(s2)='<text:note text:id="ftn1" text:note-class="footnote">\n<text:note-citation>1</text:note-citation>\n<text:note-body>' TextGroup(tg3)={ SkeletonUnit(s3)='<text:p text:style-name="Footnote">' TextUnit(t2)={ text='Text of the [bc(1)]automatic[ec(1)] footnote.' codes={ bc(1)='<text:span text:style-name="T1">' ec(1)='</text:span>' } } SkeletonUnit(s4)='</text:p>\n' } textGroup(tg4)={ SkeletonUnit(s5)='<text:p text:style-name="Footnote">' textUnit(t3)='Second paragraph of the footnote.' SkeletonUnit(s6)='</text:p>' } SkeletonUnit(s7)='</text:note-body>\n</text:note>\n' } } } SkeletonUnit(s8)='</text:p>' }
Updated