Lines Matching refs:cell

154 		var cell = createElt(xmlDoc, that.XMLNS, "Cell");
155 cell.setAttribute("N", name);
156 cell.setAttribute("V", val);
158 if (formula) cell.setAttribute("F", formula);
160 return cell;
329 …if (rounded == 1) shape.appendChild(createCellElemScaled("Rounding", state.cell.geometry.width*0.1…
392 function createEdge(cell, layerIndex, graph, xmlDoc, parentHeight, isChild) argument
394 var state = graph.view.getState(cell, true);
402 var vsdxId = getCellVsdxId(cell.id);
445 …ndChild(createCellElem("BegTrigger", "2", xmlDoc, cell.source? "_XFTRIGGER(Sheet."+ getCellVsdxId(
446 …ndChild(createCellElem("EndTrigger", "2", xmlDoc, cell.target? "_XFTRIGGER(Sheet."+ getCellVsdxId(
495 function convertMxCell2Shape(cell, layerIndex, graph, xmlDoc, parentHeight, parentGeo, isChild) argument
497 var geo = cell.geometry, origGeo = geo;
510 if (cell.vertex && geo.offset != null)
519 var vsdxId = getCellVsdxId(cell.id);
521 if (!cell.treatAsSingle && cell.getChildCount() > 0) //Group
539 cell.setGeometry(newGeo);
540 cell.treatAsSingle = true;
541 var subShape = convertMxCell2Shape(cell, layerIndex, graph, xmlDoc, geo.height, geo, true);
542 delete cell.treatAsSingle;
543 cell.setGeometry(geo);
551 for (var i = 0; i < cell.getChildCount(); i++)
553 var child = cell.children[i];
570 else if (cell.vertex)
575 var state = graph.view.getState(cell, true);
604 return createEdge(cell, layerIndex, graph, xmlDoc, parentHeight, isChild);
609 cell.geometry = origGeo;
660 var cell = model.cells[id];
662 var layerIndex = cell.parent != null? layerIdsMaps[cell.parent.id] : null;
666 var shape = convertMxCell2Shape(cell, layerIndex, graph, xmlDoc, modelAttrib.pageHeight);
679 var cell = model.cells[id];
681 if (cell.edge)
683 if (cell.source)
686 connect.setAttribute("FromSheet", getCellVsdxId(cell.id));
688 connect.setAttribute("ToSheet", getCellVsdxId(cell.source.id));
692 if (cell.target)
695 connect.setAttribute("FromSheet", getCellVsdxId(cell.id));
697 connect.setAttribute("ToSheet", getCellVsdxId(cell.target.id));