You are here

function socialcalc_default_edit in Sheetnode 7

Same name and namespace in other branches
  1. 5 socialcalc.inc \socialcalc_default_edit()
  2. 6 socialcalc.inc \socialcalc_default_edit()
  3. 7.2 socialcalc.inc \socialcalc_default_edit()
6 calls to socialcalc_default_edit()
sheetnode_html_import in modules/sheetnode_html/sheetnode_html.module
API function to import a URL.
sheetnode_text_import in modules/sheetnode_text/sheetnode_text.module
API function to import a URL.
socialcalc_parse in ./socialcalc.inc
socialcalc_parse_csv in ./socialcalc.inc
_sheetnode_google_import_do in modules/sheetnode_google/sheetnode_google.import.inc

... See full list

File

./socialcalc.inc, line 521
SocialCalc manipulation functions Translated from socialcalc-3.js and companion files

Code

function socialcalc_default_edit($sheet = array()) {
  return array(
    'rowpanes' => array(
      'first' => 1,
      'last' => isset($sheet['attribs']['lastrow']) ? $sheet['attribs']['lastrow'] : 1,
    ),
    'colpanes' => array(
      'first' => 1,
      'last' => isset($sheet['attribs']['lastcol']) ? $sheet['attribs']['lastcol'] : 1,
    ),
    'ecell' => array(
      'coord' => 'A1',
    ),
  );
}