t = t->next;
}
+ if (t == NULL) {
+ // End of file
+ return true;
+ }
+
if (t && t->next &&
((t->next->type == TEXT_NL) ||
(t->next->type == TEXT_LINEBREAK))) {
</table:table-row>
</table:table>
+<text:p><text:bookmark text:name="notrailingnewline"/>Table <text:sequence text:name="Table" text:formula="ooow:Table+1" style:num-format="1"> Update Fields to calculate numbers</text:sequence>:<text:span text:style-name="MMD-Bold">no trailing newline</text:span><text:bookmark-end text:name="notrailingnewline"/></text:p>
</office:text>
</office:body>
</table>
<table>
+<caption style="caption-side: bottom;" id="notrailingnewline"><strong>no trailing newline</strong></caption>
<colgroup>
<col />
<col />
<p>| bat ||
| foo | bar |
| --- | --- |
-| foo | bar |</p>
+| foo | bar |
+[<strong>no trailing newline</strong>]</p>
\setlength{\tymax}{0.5\linewidth}
\centering
\small
+\caption{\textbf{no trailing newline}}
+\label{notrailingnewline}
\begin{tabulary}{\textwidth}{@{}ll@{}} \toprule
\multicolumn{2}{c}{ bat }\\
foo & bar \\
| foo | bar |
| --- | --- |
| foo | bar |
+[**no trailing newline**]
\ No newline at end of file