This was supposed to be supported all along, but I forgot to test it before
I did a commit.
Reported by Michel Boaventura <michel@michelboaventura.com>.
if (is_table_item (output_item))
ascii_output_table_item (a, to_table_item (output_item));
if (is_table_item (output_item))
ascii_output_table_item (a, to_table_item (output_item));
else if (is_chart_item (output_item) && a->chart_file_name != NULL)
{
struct chart_item *chart_item = to_chart_item (output_item);
else if (is_chart_item (output_item) && a->chart_file_name != NULL)
{
struct chart_item *chart_item = to_chart_item (output_item);
else if (is_text_item (output_item))
{
const struct text_item *text_item = to_text_item (output_item);
else if (is_text_item (output_item))
{
const struct text_item *text_item = to_text_item (output_item);
/* PSPP - a program for statistical analysis.
/* PSPP - a program for statistical analysis.
- Copyright (C) 2009 Free Software Foundation, Inc.
+ Copyright (C) 2009, 2010 Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
#ifndef OUTPUT_CAIRO_H
#define OUTPUT_CAIRO_H 1
#ifndef OUTPUT_CAIRO_H
#define OUTPUT_CAIRO_H 1
#include <cairo/cairo.h>
struct chart_item;
#include <cairo/cairo.h>
struct chart_item;
char *xr_draw_png_chart (const struct chart_item *,
const char *file_name_template, int number);
char *xr_draw_png_chart (const struct chart_item *,
const char *file_name_template, int number);
+#endif /* HAVE_CAIRO */
+
#endif /* output/cairo.h */
#endif /* output/cairo.h */
struct table_item *table_item = to_table_item (output_item);
html_output_table (html, table_item);
}
struct table_item *table_item = to_table_item (output_item);
html_output_table (html, table_item);
}
else if (is_chart_item (output_item) && html->chart_file_name != NULL)
{
struct chart_item *chart_item = to_chart_item (output_item);
else if (is_chart_item (output_item) && html->chart_file_name != NULL)
{
struct chart_item *chart_item = to_chart_item (output_item);
else if (is_text_item (output_item))
{
struct text_item *text_item = to_text_item (output_item);
else if (is_text_item (output_item))
{
struct text_item *text_item = to_text_item (output_item);
exit (EXIT_FAILURE);
output_driver_register (driver);
exit (EXIT_FAILURE);
output_driver_register (driver);
/* Render to render.pdf. */
string_map_insert (&options, "output-file", "render.pdf");
string_map_insert (&options, "headers", "off");
/* Render to render.pdf. */
string_map_insert (&options, "output-file", "render.pdf");
string_map_insert (&options, "headers", "off");
if (driver == NULL)
exit (EXIT_FAILURE);
output_driver_register (driver);
if (driver == NULL)
exit (EXIT_FAILURE);
output_driver_register (driver);
string_map_destroy (&options);
}
string_map_destroy (&options);
}