spv_writer_put_text (struct spv_writer *w, const struct text_item *text,
const char *command_id)
{
- if (text->type == TEXT_ITEM_EJECT_PAGE)
- w->need_page_break = true;
-
bool initial_depth = w->heading_depth;
if (!initial_depth)
spv_writer_open_file (w);
if (!initial_depth)
spv_writer_close_file (w, "");
}
+
+void
+spv_writer_eject_page (struct spv_writer *w)
+{
+ w->need_page_break = true;
+}
\f
#define H TABLE_HORZ
#define V TABLE_VERT