projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6585d70
)
spv: Add support for page breaks.
author
Ben Pfaff
<blp@cs.stanford.edu>
Mon, 25 Jan 2021 05:23:52 +0000
(21:23 -0800)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Mon, 25 Jan 2021 05:23:52 +0000
(21:23 -0800)
src/output/spv/spv.c
patch
|
blob
|
history
diff --git
a/src/output/spv/spv.c
b/src/output/spv/spv.c
index 2085d183e64124244dd3993fe9892661c52b586f..93f61b20bb12cae6ed9f6a118d2214dace394902 100644
(file)
--- a/
src/output/spv/spv.c
+++ b/
src/output/spv/spv.c
@@
-673,6
+673,10
@@
spv_decode_children (struct zip_reader *zip, const char *structure_member,
{
const struct spvsx_container *container
= spvsx_cast_container (node);
+
+ if (container->page_break_before_present)
+ group_item_add_child (parent, page_break_item_create ());
+
child = spv_decode_container (zip, container);
}
else if (spvsx_is_heading (node))