Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
gnumeric
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
375
Issues
375
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
GNOME
gnumeric
Commits
ee98c351
Commit
ee98c351
authored
Oct 01, 1999
by
Jody Goldberg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Insert blanks in reverse order to ease the strain on the scrollbar.
parent
fa57201a
Changes
28
Hide whitespace changes
Inline
Side-by-side
Showing
28 changed files
with
86 additions
and
11 deletions
+86
-11
plugins/excel/ChangeLog
plugins/excel/ChangeLog
+5
-0
plugins/excel/biff-types.h
plugins/excel/biff-types.h
+2
-0
plugins/excel/boot.c
plugins/excel/boot.c
+2
-0
plugins/excel/boot.h
plugins/excel/boot.h
+8
-0
plugins/excel/escher-types.h
plugins/excel/escher-types.h
+2
-0
plugins/excel/excel.h
plugins/excel/excel.h
+2
-0
plugins/excel/formula-types.h
plugins/excel/formula-types.h
+2
-0
plugins/excel/gnumeric-chart.c
plugins/excel/gnumeric-chart.c
+2
-0
plugins/excel/gnumeric-chart.h
plugins/excel/gnumeric-chart.h
+2
-0
plugins/excel/ms-biff.c
plugins/excel/ms-biff.c
+2
-0
plugins/excel/ms-biff.h
plugins/excel/ms-biff.h
+2
-0
plugins/excel/ms-chart.c
plugins/excel/ms-chart.c
+9
-0
plugins/excel/ms-chart.h
plugins/excel/ms-chart.h
+2
-0
plugins/excel/ms-escher.c
plugins/excel/ms-escher.c
+2
-0
plugins/excel/ms-escher.h
plugins/excel/ms-escher.h
+3
-0
plugins/excel/ms-excel-biff.h
plugins/excel/ms-excel-biff.h
+2
-0
plugins/excel/ms-excel-read.c
plugins/excel/ms-excel-read.c
+13
-9
plugins/excel/ms-excel-read.h
plugins/excel/ms-excel-read.h
+2
-0
plugins/excel/ms-excel-write.c
plugins/excel/ms-excel-write.c
+4
-2
plugins/excel/ms-excel-write.h
plugins/excel/ms-excel-write.h
+2
-0
plugins/excel/ms-formula-read.c
plugins/excel/ms-formula-read.c
+2
-0
plugins/excel/ms-formula-read.h
plugins/excel/ms-formula-read.h
+2
-0
plugins/excel/ms-formula-write.c
plugins/excel/ms-formula-write.c
+2
-0
plugins/excel/ms-formula-write.h
plugins/excel/ms-formula-write.h
+2
-0
plugins/excel/ms-obj.c
plugins/excel/ms-obj.c
+2
-0
plugins/excel/ms-obj.h
plugins/excel/ms-obj.h
+2
-0
plugins/excel/ms-summary.c
plugins/excel/ms-summary.c
+2
-0
plugins/excel/ms-summary.h
plugins/excel/ms-summary.h
+2
-0
No files found.
plugins/excel/ChangeLog
View file @
ee98c351
1999-09-29 Jody Goldberg <jgoldberg@home.com>
* ms-excel-read.c (ms_excel_read_cell:MULBLANK) : Insert blanks in
reverse order, to decrease the load on the insert routines.
1999-09-26 Jody Goldberg <jgoldberg@home.com>
* ms-excel-read.c (ms_excel_read_cell:COLINFO) : Seems like
...
...
plugins/excel/biff-types.h
View file @
ee98c351
...
...
@@ -3,6 +3,8 @@
*
* Author:
* Michael Meeks (michael@imaginator.com)
*
* (C) 1998, 1999 Michael Meeks
**/
/**
* See S59D52.HTM for the spec.
...
...
plugins/excel/boot.c
View file @
ee98c351
...
...
@@ -3,6 +3,8 @@
*
* Author:
* Michael Meeks (michael@imaginator.com)
*
* (C) 1998, 1999 Michael Meeks
**/
#include <stdio.h>
#include <sys/stat.h>
...
...
plugins/excel/boot.h
View file @
ee98c351
/**
* boot.h: Start/Stop support
*
* Author:
* Michael Meeks (michael@imaginator.com)
*
* (C) 1998, 1999 Michael Meeks
**/
extern
void
excel_init
(
void
);
extern
void
excel_shutdown
(
void
);
plugins/excel/escher-types.h
View file @
ee98c351
...
...
@@ -4,6 +4,8 @@
*
* Author:
* Michael Meeks (michael@imaginator.com)
*
* (C) 1998, 1999 Michael Meeks
**/
/**
* See S59FDC.HTM for the spec.
...
...
plugins/excel/excel.h
View file @
ee98c351
...
...
@@ -3,6 +3,8 @@
*
* Author:
* Michael Meeks (michael@imaginator.com)
*
* (C) 1998, 1999 Michael Meeks
**/
#ifndef GNUMERIC_EXCEL_H
#define GNUMERIC_EXCEL_H
...
...
plugins/excel/formula-types.h
View file @
ee98c351
...
...
@@ -3,6 +3,8 @@
*
* Author:
* Michael Meeks (michael@imaginator.com)
*
* (C) 1998, 1999 Michael Meeks
**/
/**
* See S59E2B.HTM for the spec.
...
...
plugins/excel/gnumeric-chart.c
View file @
ee98c351
...
...
@@ -5,6 +5,8 @@
*
* Author:
* Jody Goldberg (jgoldberg@home.com)
*
* (C) 1999 Jody Goldberg
**/
#include "gnumeric-chart.h"
...
...
plugins/excel/gnumeric-chart.h
View file @
ee98c351
...
...
@@ -8,6 +8,8 @@
*
* Author:
* Jody Goldberg (jgoldberg@home.com)
*
* (C) 1999 Jody Goldberg
**/
typedef
struct
_GnumericChartSeries
...
...
plugins/excel/ms-biff.c
View file @
ee98c351
...
...
@@ -3,6 +3,8 @@
*
* Author:
* Michael Meeks (michael@imaginator.com)
*
* (C) 1998, 1999 Michael Meeks
**/
#include <stdio.h>
...
...
plugins/excel/ms-biff.h
View file @
ee98c351
...
...
@@ -3,6 +3,8 @@
*
* Author:
* Michael Meeks (michael@imaginator.com)
*
* (C) 1998, 1999 Michael Meeks
**/
#ifndef GNUMERIC_BIFF_H
#define GNUMERIC_BIFF_H
...
...
plugins/excel/ms-chart.c
View file @
ee98c351
/**
* ms-chart.c: MS Excel chart support for Gnumeric
*
* Author:
* Jody Goldberg (jgoldberg@home.com)
*
* (C) 1999 Jody Goldberg
**/
#include "excel.h"
#include "ms-chart.h"
#include "ms-formula-read.h"
...
...
plugins/excel/ms-chart.h
View file @
ee98c351
...
...
@@ -6,6 +6,8 @@
*
* Author:
* Jody Goldberg (jgoldberg@home.com)
*
* (C) 1999 Jody Goldberg
**/
#include "ms-excel-read.h"
...
...
plugins/excel/ms-escher.c
View file @
ee98c351
...
...
@@ -5,6 +5,8 @@
* Jody Goldberg (jgoldberg@home.com)
* Michael Meeks (michael@nuclecu.unam.mx)
*
* (C) 1998, 1999 Jody Goldberg, Michael Meeks
*
* See S59FD6.HTM for an overview...
**/
...
...
plugins/excel/ms-escher.h
View file @
ee98c351
...
...
@@ -5,7 +5,10 @@
* ms-escher.h: MS Office drawing layer support
*
* Author:
* Jody Goldberg (jgoldberg@home.com)
* Michael Meeks (michael@imaginator.com)
*
* (C) 1998, 1999 Jody Goldberg, Michael Meeks
**/
#include "ms-excel-read.h"
...
...
plugins/excel/ms-excel-biff.h
View file @
ee98c351
...
...
@@ -7,6 +7,8 @@
*
* Author:
* Michael Meeks (michael@imaginator.com)
*
* (C) 1998, 1999 Michael Meeks
**/
#include "excel.h"
...
...
plugins/excel/ms-excel-read.c
View file @
ee98c351
...
...
@@ -4,6 +4,8 @@
* Author:
* Michael Meeks (michael@imaginator.com)
* Jody Goldberh (jgoldberg@home.com)
*
* (C) 1998, 1999 Michael Meeks, Jody Goldberg
**/
#include "ms-formula-read.h"
...
...
@@ -2094,27 +2096,29 @@ ms_excel_read_cell (BiffQuery *q, ExcelSheet *sheet)
case
BIFF_MULBLANK
:
{
/* S59DA7.HTM is extremely unclear, this is an educated guess */
int
col
=
EX_GETCOL
(
q
);
int
first
col
=
EX_GETCOL
(
q
);
int
const
row
=
EX_GETROW
(
q
);
int
lastcol
=
MS_OLE_GET_GUINT16
(
q
->
data
+
q
->
length
-
2
);
guint8
const
*
ptr
=
(
q
->
data
+
4
);
guint8
const
*
ptr
=
(
q
->
data
+
q
->
length
-
2
);
int
lastcol
=
MS_OLE_GET_GUINT16
(
ptr
);
int
i
;
#ifndef NO_DEBUG_EXCEL
if
(
ms_excel_read_debug
>
0
)
{
printf
(
"Cells in row %d are blank starting at col %s until col "
,
row
+
1
,
col_name
(
col
));
row
+
1
,
col_name
(
first
col
));
printf
(
"%s;
\n
"
,
col_name
(
lastcol
));
}
#endif
if
(
lastcol
<
col
)
{
int
const
tmp
=
col
;
col
=
lastcol
;
if
(
lastcol
<
first
col
)
{
int
const
tmp
=
first
col
;
first
col
=
lastcol
;
lastcol
=
tmp
;
}
for
(;
col
<=
lastcol
;
++
col
,
ptr
+=
2
)
{
for
(
i
=
lastcol
;
i
>=
firstcol
;
--
i
)
{
ptr
-=
2
;
ms_excel_sheet_insert_val
(
sheet
,
MS_OLE_GET_GUINT16
(
ptr
),
col
,
EX_GETROW
(
q
)
,
i
,
row
,
value_new_empty
());
}
break
;
...
...
plugins/excel/ms-excel-read.h
View file @
ee98c351
...
...
@@ -3,6 +3,8 @@
*
* Author:
* Michael Meeks (michael@imaginator.com)
*
* (C) 1998, 1999 Michael Meeks
**/
#ifndef GNUMERIC_MS_EXCEL_H
#define GNUMERIC_MS_EXCEL_H
...
...
plugins/excel/ms-excel-write.c
View file @
ee98c351
...
...
@@ -3,6 +3,8 @@
*
* Author:
* Michael Meeks (michael@imaginator.com)
*
* (C) 1998, 1999 Michael Meeks
**/
#include <stdio.h>
...
...
@@ -1470,8 +1472,8 @@ new_sheet (ExcelWorkbook *wb, Sheet *value)
sheet
->
gnum_sheet
=
value
;
sheet
->
streamPos
=
0x0deadbee
;
sheet
->
wb
=
wb
;
sheet
->
maxx
=
sheet
->
gnum_sheet
->
max_col
_used
+
1
;
sheet
->
maxy
=
sheet
->
gnum_sheet
->
max_row
_used
+
1
;
sheet
->
maxx
=
sheet
->
gnum_sheet
->
cols
.
max
_used
+
1
;
sheet
->
maxy
=
sheet
->
gnum_sheet
->
cols
.
max
_used
+
1
;
sheet
->
dbcells
=
g_array_new
(
FALSE
,
FALSE
,
sizeof
(
MsOlePos
));
g_ptr_array_add
(
wb
->
sheets
,
sheet
);
...
...
plugins/excel/ms-excel-write.h
View file @
ee98c351
...
...
@@ -3,6 +3,8 @@
*
* Author:
* Michael Meeks (michael@imaginator.com)
*
* (C) 1998, 1999 Michael Meeks
**/
#ifndef GNUMERIC_MS_EXCEL_WRITE_H
#define GNUMERIC_MS_EXCEL_WRITE_H
...
...
plugins/excel/ms-formula-read.c
View file @
ee98c351
...
...
@@ -3,6 +3,8 @@
*
* Author:
* Michael Meeks (michael@imaginator.com)
*
* (C) 1998, 1999 Michael Meeks
*/
#include <fcntl.h>
...
...
plugins/excel/ms-formula-read.h
View file @
ee98c351
...
...
@@ -3,6 +3,8 @@
*
* Author:
* Michael Meeks (michael@imaginator.com)
*
* (C) 1998, 1999 Michael Meeks
*/
#ifndef GNUMERIC_MS_FORMULA_R_H
#define GNUMERIC_MS_FORMULA_R_H
...
...
plugins/excel/ms-formula-write.c
View file @
ee98c351
...
...
@@ -4,6 +4,8 @@
*
* Author:
* Michael Meeks (michael@imaginator.com)
*
* (C) 1998, 1999 Michael Meeks
*/
#include <fcntl.h>
...
...
plugins/excel/ms-formula-write.h
View file @
ee98c351
...
...
@@ -3,6 +3,8 @@
*
* Author:
* Michael Meeks (michael@imaginator.com)
*
* (C) 1998, 1999 Michael Meeks
*/
#ifndef GNUMERIC_MS_FORMULA_W_H
#define GNUMERIC_MS_FORMULA_W_H
...
...
plugins/excel/ms-obj.c
View file @
ee98c351
...
...
@@ -4,6 +4,8 @@
* Author:
* Jody Goldberg (jgoldberg@home.com)
* Michael Meeks (mmeeks@gnu.org)
*
* (C) 1998, 1999 Jody Goldberg, Michael Meeks
**/
#include "ms-obj.h"
...
...
plugins/excel/ms-obj.h
View file @
ee98c351
...
...
@@ -6,7 +6,9 @@
*
* Author:
* Michael Meeks (michael@imaginator.com)
* Jody Goldberg (jgoldberg@home.com)
*
* (C) 1998, 1999 Michael Meeks, Jody Goldberg
**/
#include "config.h"
...
...
plugins/excel/ms-summary.c
View file @
ee98c351
...
...
@@ -3,6 +3,8 @@
*
* Author:
* Michael Meeks (michael@imaginator.com)
*
* (C) 1998, 1999 Michael Meeks
**/
#include <stdio.h>
...
...
plugins/excel/ms-summary.h
View file @
ee98c351
...
...
@@ -3,6 +3,8 @@
*
* Author:
* Michael Meeks (michael@imaginator.com)
*
* (C) 1999 Michael Meeks
**/
#include "summary.h"
...
...
Write
Preview
Markdown
is supported
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