X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Frender.h;h=437c5a0049b169d4bae5e17f52abaee9facdd57e;hb=349a2ee8f7e74c49e178364fa783303666b1141a;hp=5df97a1b6718847ad42a955860b88b77510ee0fc;hpb=bdd73954cd30c51c959205e46c98e5feb4d1df87;p=pspp diff --git a/src/output/render.h b/src/output/render.h index 5df97a1b67..437c5a0049 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 pivot_table *, + const size_t *layer_indexes); void render_pager_destroy (struct render_pager *); bool render_pager_has_next (const struct render_pager *);