Commit 4cbc1904 authored by Tristan Cavelier's avatar Tristan Cavelier Committed by Sebastien Robin

Adding Spreadsheets to OfficeJS.

parent 7811ddcd
This diff is collapsed.
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
OfficeJS.open({app:'textEditor'}); OfficeJS.open({app:'textEditor'});
return false;"> return false;">
<i class="icon-font"></i> <i class="icon-font"></i>
Writer New Text Document
</a> </a>
</li> </li>
<li class="imgeditor"> <li class="imgeditor">
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
OfficeJS.open({app:'imgEditor'}); OfficeJS.open({app:'imgEditor'});
return false;"> return false;">
<i class="icon-pencil"></i> <i class="icon-pencil"></i>
Image Editor New Image
</a> </a>
</li> </li>
<li class="spreadsheet"> <li class="spreadsheet">
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
OfficeJS.open({app:'speadsheet'}); OfficeJS.open({app:'speadsheet'});
return false;"> return false;">
<i class="icon-signal"></i> <i class="icon-signal"></i>
Spreadsheet New Spreadsheet
</a> </a>
</li> </li>
<li class="editpreferences"> <li class="editpreferences">
......
<TABLE title="Spreadsheet 1"
class="jSheet ui-widget-content"
border="1px"
cellpadding="0"
cellspacing="0">
<TBODY>
<TR height="18" style="height: 18px;">
<TD id="0_table0_cell_c0_r0" class=""></TD>
<TD id="0_table0_cell_c1_r0" class=""></TD>
<TD id="0_table0_cell_c2_r0" class=""></TD>
<TD id="0_table0_cell_c3_r0" class=""></TD>
<TD id="0_table0_cell_c4_r0" class=""></TD>
<TD id="0_table0_cell_c5_r0" class=""></TD>
</TR>
<TR height="18" style="height: 18px;">
<TD id="0_table0_cell_c0_r1" class=""></TD>
<TD id="0_table0_cell_c1_r1" class=""></TD>
<TD id="0_table0_cell_c2_r1" class=""></TD>
<TD id="0_table0_cell_c3_r1" class=""></TD>
<TD id="0_table0_cell_c4_r1" class=""></TD>
<TD id="0_table0_cell_c5_r1" class=""></TD>
</TR>
<TR height="18" style="height: 18px;">
<TD id="0_table0_cell_c0_r2" class=""></TD>
<TD id="0_table0_cell_c1_r2" class=""></TD>
<TD id="0_table0_cell_c2_r2" class=""></TD>
<TD id="0_table0_cell_c3_r2" class=""></TD>
<TD id="0_table0_cell_c4_r2" class=""></TD>
<TD id="0_table0_cell_c5_r2" class=""></TD>
</TR>
<TR height="18" style="height: 18px;">
<TD id="0_table0_cell_c0_r3" class=""></TD>
<TD id="0_table0_cell_c1_r3" class=""></TD>
<TD id="0_table0_cell_c2_r3" class=""></TD>
<TD id="0_table0_cell_c3_r3" class=""></TD>
<TD id="0_table0_cell_c4_r3" class=""></TD>
<TD id="0_table0_cell_c5_r3" class=""></TD>
</TR>
</TBODY>
</TABLE>
<div>
Test
</div>
<div id="texteditor_field"></div>
<script type="text/javascript">
<!--
TabbularGadget.addNewTabGadget(
'component/'+OfficeJS.getPreference('textEditor')+'.html',
'texteditor_field');
//-->
</script>
...@@ -17,7 +17,9 @@ ...@@ -17,7 +17,9 @@
leftnavbar:'leftnavbar', leftnavbar:'leftnavbar',
documentLister:'slickgrid', documentLister:'slickgrid',
editpreferences:'simplepreferenceeditor', editpreferences:'simplepreferenceeditor',
textEditor:'elrte' textEditor:'elrte',
imgEditor:'svg-edit',
speadsheet:'jquery-sheet'
}; };
priv.app_object = { priv.app_object = {
topnavbar: { topnavbar: {
...@@ -71,6 +73,16 @@ ...@@ -71,6 +73,16 @@
} }
// TODO : onunload, are you sure? leave without saving? // TODO : onunload, are you sure? leave without saving?
}, },
'jquery-sheet': {
type:'editor',
path:'component/jquery-sheet.html',
gadgetid:'page-content'
},
'svg-edit': {
type:'editor',
path:'component/svg-edit.html',
gadgetid:'page-content'
},
slickgrid: { slickgrid: {
type:'editor', type:'editor',
path:'component/slickgrid_document_lister.html', path:'component/slickgrid_document_lister.html',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment