X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=inline;f=src%2Foutput%2Frender.h;h=bc8db241f88ce91b88db1808367c742e2686df8c;hb=3ad7936615cf7e9277e25a963364c3613a0cf6d9;hp=5df97a1b6718847ad42a955860b88b77510ee0fc;hpb=bdd73954cd30c51c959205e46c98e5feb4d1df87;p=pspp diff --git a/src/output/render.h b/src/output/render.h index 5df97a1b67..bc8db241f8 100644 --- a/src/output/render.h +++ b/src/output/render.h @@ -79,6 +79,10 @@ struct render_params /* True if the local language has a right-to-left direction, otherwise false. (Use render_direction_rtl() to find out.) */ bool rtl; + + /* True if the table is being rendered for printing (as opposed to + on-screen display). */ + bool printing; }; struct render_ops @@ -148,7 +152,8 @@ struct render_ops /* An iterator for breaking render_pages into smaller chunks. */ struct render_pager *render_pager_create (const struct render_params *, - const struct table_item *); + const struct table_item *, + const size_t *layer_indexes); void render_pager_destroy (struct render_pager *); bool render_pager_has_next (const struct render_pager *);