projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
44eb1af
)
Fix #7312 - issue with wide gnumeric / excel sheets
author
Alan
<alan@roojs.com>
Fri, 15 Jul 2022 06:13:19 +0000
(14:13 +0800)
committer
Alan
<alan@roojs.com>
Fri, 15 Jul 2022 06:13:19 +0000
(14:13 +0800)
GnumericToExcel.php
patch
|
blob
|
history
Pman.Gnumeric.js
patch
|
blob
|
history
diff --git
a/GnumericToExcel.php
b/GnumericToExcel.php
index
5a23e4a
..
feb940c
100644
(file)
--- a/
GnumericToExcel.php
+++ b/
GnumericToExcel.php
@@
-30,7
+30,7
@@
class Pman_Core_GnumericToExcel extends Pman
function get($v, $opts=array())
{
function get($v, $opts=array())
{
-
+
}
function post($fname) {
}
function post($fname) {
diff --git
a/Pman.Gnumeric.js
b/Pman.Gnumeric.js
index
d5cf6b1
..
a346fba
100644
(file)
--- a/
Pman.Gnumeric.js
+++ b/
Pman.Gnumeric.js
@@
-218,7
+218,7
@@
Roo.extend(Pman.Gnumeric, Roo.util.Observable, {
// we wil only support AA not AAA
var top = Math.floor(c/26);
var bot = c % 26;
// we wil only support AA not AAA
var top = Math.floor(c/26);
var bot = c % 26;
- var cc = top > 0 ? String.fromCharCode('A'.charCodeAt(0) +
top
) : '';
+ var cc = top > 0 ? String.fromCharCode('A'.charCodeAt(0) +
(top-1)
) : '';
cc += String.fromCharCode('A'.charCodeAt(0) + bot);
return cc+'' +r;
cc += String.fromCharCode('A'.charCodeAt(0) + bot);
return cc+'' +r;