Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
GNOME
gnumeric
Commits
71b39d74
Commit
71b39d74
authored
Apr 29, 2000
by
Michael Meeks
Browse files
Trivial fix for #9855
parent
745b6c2d
Changes
8
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
71b39d74
2000-04-29 Michael Meeks <michael@helixcode.com>
* src/sheet-style.c (sheet_mstyle_compute_from_list): kill inline.
(border_check): make outer style calcs mostly conditional on do_outer.
2000-04-29 Almer. S. Tigelaar. <almer1@dds.nl>
* src/stf-export.[ch] : New,
...
...
ChangeLog-2000-10-10
View file @
71b39d74
2000-04-29 Michael Meeks <michael@helixcode.com>
* src/sheet-style.c (sheet_mstyle_compute_from_list): kill inline.
(border_check): make outer style calcs mostly conditional on do_outer.
2000-04-29 Almer. S. Tigelaar. <almer1@dds.nl>
* src/stf-export.[ch] : New,
...
...
OChangeLog-2000-10-10
View file @
71b39d74
2000-04-29 Michael Meeks <michael@helixcode.com>
* src/sheet-style.c (sheet_mstyle_compute_from_list): kill inline.
(border_check): make outer style calcs mostly conditional on do_outer.
2000-04-29 Almer. S. Tigelaar. <almer1@dds.nl>
* src/stf-export.[ch] : New,
...
...
OChangeLog-2001-06-26
View file @
71b39d74
2000-04-29 Michael Meeks <michael@helixcode.com>
* src/sheet-style.c (sheet_mstyle_compute_from_list): kill inline.
(border_check): make outer style calcs mostly conditional on do_outer.
2000-04-29 Almer. S. Tigelaar. <almer1@dds.nl>
* src/stf-export.[ch] : New,
...
...
OChangeLog-2002-01-22
View file @
71b39d74
2000-04-29 Michael Meeks <michael@helixcode.com>
* src/sheet-style.c (sheet_mstyle_compute_from_list): kill inline.
(border_check): make outer style calcs mostly conditional on do_outer.
2000-04-29 Almer. S. Tigelaar. <almer1@dds.nl>
* src/stf-export.[ch] : New,
...
...
OChangeLog-2003-12-23
View file @
71b39d74
2000-04-29 Michael Meeks <michael@helixcode.com>
* src/sheet-style.c (sheet_mstyle_compute_from_list): kill inline.
(border_check): make outer style calcs mostly conditional on do_outer.
2000-04-29 Almer. S. Tigelaar. <almer1@dds.nl>
* src/stf-export.[ch] : New,
...
...
OChangeLog-2005-11-14
View file @
71b39d74
2000-04-29 Michael Meeks <michael@helixcode.com>
* src/sheet-style.c (sheet_mstyle_compute_from_list): kill inline.
(border_check): make outer style calcs mostly conditional on do_outer.
2000-04-29 Almer. S. Tigelaar. <almer1@dds.nl>
* src/stf-export.[ch] : New,
...
...
src/sheet-style.c
View file @
71b39d74
...
...
@@ -526,7 +526,7 @@ sheet_style_attach (Sheet *sheet, Range range,
sheet_style_cache_flush
(
sd
,
STYLE_CACHE_FLUSH_ALL
);
}
static
inline
MStyle
*
static
MStyle
*
sheet_mstyle_compute_from_list
(
GList
*
list
,
int
col
,
int
row
)
{
GList
*
l
;
...
...
@@ -1479,33 +1479,38 @@ border_check (UniqueClosure *cl, GList *edge_list,
inner
.
col
,
inner
.
row
);
outer_style
=
sheet_mstyle_compute_from_list
(
edge_list
,
outer
.
col
,
outer
.
row
);
if
(
do_outer
)
outer_style
=
sheet_mstyle_compute_from_list
(
edge_list
,
outer
.
col
,
outer
.
row
);
/* Build up the border maps + do internal borders */
switch
(
location
)
{
case
STYLE_BORDER_TOP
:
inner_border
=
mstyle_get_border
(
inner_style
,
MSTYLE_BORDER_TOP
);
outer_border
=
mstyle_get_border
(
outer_style
,
MSTYLE_BORDER_BOTTOM
);
if
(
do_outer
)
outer_border
=
mstyle_get_border
(
outer_style
,
MSTYLE_BORDER_BOTTOM
);
border_mask
(
cl
,
STYLE_BORDER_HORIZ
,
mstyle_get_border
(
inner_style
,
MSTYLE_BORDER_BOTTOM
));
break
;
case
STYLE_BORDER_BOTTOM
:
inner_border
=
mstyle_get_border
(
inner_style
,
MSTYLE_BORDER_BOTTOM
);
outer_border
=
mstyle_get_border
(
outer_style
,
MSTYLE_BORDER_TOP
);
if
(
do_outer
)
outer_border
=
mstyle_get_border
(
outer_style
,
MSTYLE_BORDER_TOP
);
border_mask
(
cl
,
STYLE_BORDER_HORIZ
,
mstyle_get_border
(
inner_style
,
MSTYLE_BORDER_TOP
));
break
;
case
STYLE_BORDER_LEFT
:
inner_border
=
mstyle_get_border
(
inner_style
,
MSTYLE_BORDER_LEFT
);
outer_border
=
mstyle_get_border
(
outer_style
,
MSTYLE_BORDER_RIGHT
);
if
(
do_outer
)
outer_border
=
mstyle_get_border
(
outer_style
,
MSTYLE_BORDER_RIGHT
);
border_mask
(
cl
,
STYLE_BORDER_VERT
,
mstyle_get_border
(
inner_style
,
MSTYLE_BORDER_RIGHT
));
break
;
case
STYLE_BORDER_RIGHT
:
inner_border
=
mstyle_get_border
(
inner_style
,
MSTYLE_BORDER_RIGHT
);
outer_border
=
mstyle_get_border
(
outer_style
,
MSTYLE_BORDER_LEFT
);
if
(
do_outer
)
outer_border
=
mstyle_get_border
(
outer_style
,
MSTYLE_BORDER_LEFT
);
border_mask
(
cl
,
STYLE_BORDER_VERT
,
mstyle_get_border
(
inner_style
,
MSTYLE_BORDER_LEFT
));
break
;
...
...
@@ -1528,7 +1533,8 @@ border_check (UniqueClosure *cl, GList *edge_list,
/* Normal compare for styles */
mstyle_compare
(
cl
->
mstyle
,
inner_style
);
mstyle_unref
(
inner_style
);
mstyle_unref
(
outer_style
);
if
(
do_outer
)
mstyle_unref
(
outer_style
);
}
range_fragment_free
(
frags
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment