Commit 29debbc9 authored by Jody Goldberg's avatar Jody Goldberg

Some changes for includes.

Convert from Cell -> Cell + Dependent
parent 6fb55943
2000-08-30 Jody Goldberg <jgoldberg@home.com>
* roff.c : Include style.h
* html.c : Include style.h
* latex.c : Include style.h
2000-08-21 Jody Goldberg <jgoldberg@home.com>
* roff.c : Include sheet.h
......
......@@ -26,6 +26,7 @@
#include <errno.h>
#include "config.h"
#include "workbook.h"
#include "style.h"
#include "html.h"
#include "cell.h"
#include "value.h"
......@@ -468,7 +469,7 @@ html_read (CommandContext *context, Workbook *wb, const char *filename)
if (flags & HTML_RIGHT)
mstyle_set_align_h (mstyle, HALIGN_CENTER);
sheet_style_attach_single (cell->sheet,
sheet_style_attach_single (cell->base.sheet,
cell->pos.col, cell->pos.row,
mstyle);
}
......
......@@ -26,6 +26,7 @@
#include <errno.h>
#include "config.h"
#include "workbook.h"
#include "style.h"
#include "html.h"
#include "cell.h"
#include "value.h"
......@@ -468,7 +469,7 @@ html_read (CommandContext *context, Workbook *wb, const char *filename)
if (flags & HTML_RIGHT)
mstyle_set_align_h (mstyle, HALIGN_CENTER);
sheet_style_attach_single (cell->sheet,
sheet_style_attach_single (cell->base.sheet,
cell->pos.col, cell->pos.row,
mstyle);
}
......
......@@ -24,6 +24,7 @@
#include "config.h"
#include "workbook.h"
#include "sheet.h"
#include "style.h"
#include "latex.h"
#include "font.h"
#include "cell.h"
......
......@@ -24,6 +24,7 @@
#include "config.h"
#include "workbook.h"
#include "sheet.h"
#include "style.h"
#include "roff.h"
#include "font.h"
#include "cell.h"
......
2000-08-30 Jody Goldberg <jgoldberg@home.com>
* sc.c : include style.h directly.
2000-06-18 Jody Goldberg <jgoldberg@home.com>
* Release 0.56
......
......@@ -18,6 +18,7 @@
#include "value.h"
#include "file.h"
#include "cell.h"
#include "style.h"
#include "command-context.h"
typedef struct {
......
......@@ -806,7 +806,7 @@ xml_cell_set_array_expr (Cell *cell, char const *text,
NULL, &error_string);
g_return_if_fail (expr != NULL);
cell_set_array_formula (cell->sheet,
cell_set_array_formula (cell->base.sheet,
cell->pos.row,
cell->pos.col,
cell->pos.row + rows-1,
......
......@@ -806,7 +806,7 @@ xml_cell_set_array_expr (Cell *cell, char const *text,
NULL, &error_string);
g_return_if_fail (expr != NULL);
cell_set_array_formula (cell->sheet,
cell_set_array_formula (cell->base.sheet,
cell->pos.row,
cell->pos.col,
cell->pos.row + rows-1,
......
......@@ -806,7 +806,7 @@ xml_cell_set_array_expr (Cell *cell, char const *text,
NULL, &error_string);
g_return_if_fail (expr != NULL);
cell_set_array_formula (cell->sheet,
cell_set_array_formula (cell->base.sheet,
cell->pos.row,
cell->pos.col,
cell->pos.row + rows-1,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment