output: Add support for cell margins.
[pspp] / src / output / table.c
index 9a90c61b48807620f76e853cc9e8a1d8876b8758..0cd05d7039837f735085772a8dca2854600fe2b2 100644 (file)
@@ -145,6 +145,8 @@ table_get_cell (const struct table *table, int x, int y,
     {
       .fg = { 0, 0, 0 },
       .bg = { 255, 255, 255 },
+      .margin = { [TABLE_HORZ][0] = 8, [TABLE_HORZ][1] = 11,
+                  [TABLE_VERT][0] = 1, [TABLE_VERT][1] = 1 },
     };
   cell->style = &default_style;