diff --git a/bits/67_wsxml.js b/bits/67_wsxml.js
index 937a14d..64a057e 100644
--- a/bits/67_wsxml.js
+++ b/bits/67_wsxml.js
@@ -70,6 +70,17 @@ function write_ws_xml_merges(merges) {
return o + '';
}
+//
+//
+//
+//
+//
+//
+//
+
+
+
+
function parse_ws_xml_hlinks(s, data, rels) {
for(var i = 0; i != data.length; ++i) {
var val = parsexmltag(data[i], true);
@@ -313,6 +324,30 @@ function write_ws_xml(idx, opts, wb) {
if(ws['!merges'] !== undefined && ws['!merges'].length > 0) o[o.length] = (write_ws_xml_merges(ws['!merges']));
+ if (ws['!rowBreaks'] !== undefined) o[o.length] = write_ws_xml_row_breaks(ws['!rowBreaks'])
+ if (ws['!colBreaks'] !== undefined) o[o.length] = write_ws_xml_col_breaks(ws['!colBreaks'])
+
if(o.length>2) { o[o.length] = (''); o[1]=o[1].replace("/>",">"); }
return o.join("");
}
+
+function write_ws_xml_row_breaks(breaks) {
+ console.log("Writing breaks")
+ var brk = [];
+ for (var i=0; i';
}
+//
+//
+//
+//
+//
+//
+//
+
+
+
+
function parse_ws_xml_hlinks(s, data, rels) {
for(var i = 0; i != data.length; ++i) {
var val = parsexmltag(data[i], true);
@@ -7838,10 +7849,34 @@ function write_ws_xml(idx, opts, wb) {
if(ws['!merges'] !== undefined && ws['!merges'].length > 0) o[o.length] = (write_ws_xml_merges(ws['!merges']));
+ if (ws['!rowBreaks'] !== undefined) o[o.length] = write_ws_xml_row_breaks(ws['!rowBreaks'])
+ if (ws['!colBreaks'] !== undefined) o[o.length] = write_ws_xml_col_breaks(ws['!colBreaks'])
+
if(o.length>2) { o[o.length] = (''); o[1]=o[1].replace("/>",">"); }
return o.join("");
}
+function write_ws_xml_row_breaks(breaks) {
+ console.log("Writing breaks")
+ var brk = [];
+ for (var i=0; i