Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
officejs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
officejs
Commits
4cbc1904
Commit
4cbc1904
authored
May 28, 2012
by
Tristan Cavelier
Committed by
Sebastien Robin
Jun 07, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adding Spreadsheets to OfficeJS.
parent
7811ddcd
Changes
5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
439 additions
and
15 deletions
+439
-15
OfficeJS/component/jquery-sheet.html
OfficeJS/component/jquery-sheet.html
+383
-0
OfficeJS/component/left_nav_bar.html
OfficeJS/component/left_nav_bar.html
+3
-3
OfficeJS/component/newspreadsheet.html
OfficeJS/component/newspreadsheet.html
+40
-0
OfficeJS/component/texteditor.html
OfficeJS/component/texteditor.html
+0
-11
OfficeJS/js/officejs.js
OfficeJS/js/officejs.js
+13
-1
No files found.
OfficeJS/component/jquery-sheet.html
0 → 100644
View file @
4cbc1904
This diff is collapsed.
Click to expand it.
OfficeJS/component/left_nav_bar.html
View file @
4cbc1904
...
...
@@ -19,7 +19,7 @@
OfficeJS.open({app:'textEditor'});
return false;"
>
<i
class=
"icon-font"
></i>
Writer
New Text Document
</a>
</li>
<li
class=
"imgeditor"
>
...
...
@@ -28,7 +28,7 @@
OfficeJS.open({app:'imgEditor'});
return false;"
>
<i
class=
"icon-pencil"
></i>
Image Editor
New Image
</a>
</li>
<li
class=
"spreadsheet"
>
...
...
@@ -37,7 +37,7 @@
OfficeJS.open({app:'speadsheet'});
return false;"
>
<i
class=
"icon-signal"
></i>
Spreadsheet
New
Spreadsheet
</a>
</li>
<li
class=
"editpreferences"
>
...
...
OfficeJS/component/newspreadsheet.html
0 → 100644
View file @
4cbc1904
<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>
OfficeJS/component/texteditor.html
deleted
100644 → 0
View file @
7811ddcd
<div>
Test
</div>
<div
id=
"texteditor_field"
></div>
<script
type=
"text/javascript"
>
<!--
TabbularGadget
.
addNewTabGadget
(
'
component/
'
+
OfficeJS
.
getPreference
(
'
textEditor
'
)
+
'
.html
'
,
'
texteditor_field
'
);
//-->
</script>
OfficeJS/js/officejs.js
View file @
4cbc1904
...
...
@@ -17,7 +17,9 @@
leftnavbar
:
'
leftnavbar
'
,
documentLister
:
'
slickgrid
'
,
editpreferences
:
'
simplepreferenceeditor
'
,
textEditor
:
'
elrte
'
textEditor
:
'
elrte
'
,
imgEditor
:
'
svg-edit
'
,
speadsheet
:
'
jquery-sheet
'
};
priv
.
app_object
=
{
topnavbar
:
{
...
...
@@ -71,6 +73,16 @@
}
// 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
:
{
type
:
'
editor
'
,
path
:
'
component/slickgrid_document_lister.html
'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment