diff options
author | Andras Timar <andras.timar@collabora.com> | 2017-03-27 15:46:14 +0200 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2017-03-27 15:46:14 +0200 |
commit | d03bdb8736ded8b84c9d6a3e832388cb349b9f1a (patch) | |
tree | b4e526b6c1e7993059da9d59dd84a0c2520f1862 /loleaflet | |
parent | d63ef319575c4ed508d3abb8c850d9c7654db8d5 (diff) |
Revert "Add footnote and text wrap functions"
Change-Id: I59d374d3f8bdfa6a3b871bdec5389a53bb3a9da9
Diffstat (limited to 'loleaflet')
-rw-r--r-- | loleaflet/dist/images/lc_insertfootnote.svg | 1 | ||||
-rw-r--r-- | loleaflet/dist/toolbar.css | 1 | ||||
-rw-r--r-- | loleaflet/dist/toolbar/toolbar.js | 16 |
3 files changed, 0 insertions, 18 deletions
diff --git a/loleaflet/dist/images/lc_insertfootnote.svg b/loleaflet/dist/images/lc_insertfootnote.svg deleted file mode 100644 index 9907b8b38..000000000 --- a/loleaflet/dist/images/lc_insertfootnote.svg +++ /dev/null @@ -1 +0,0 @@ -<svg height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><g transform="translate(1 -1029.3622)"><path d="m5 4v16h1 6v-1h-6v-14h12v8h1v-9h-1-12zm2 3v1h10v-1zm0 2v1h6v-1zm0 5v1h7v-1z" fill="#4d4d4d" transform="translate(-1 1029.3622)"/><path d="m16 1043.3622l-1 2h1v4h1v-6z" fill="#1d99f3"/><path d="m6 1045.3622h7v1.0000348h-7z" fill="#1d99f3"/></g></svg>
\ No newline at end of file diff --git a/loleaflet/dist/toolbar.css b/loleaflet/dist/toolbar.css index 8e5f83085..220f4f945 100644 --- a/loleaflet/dist/toolbar.css +++ b/loleaflet/dist/toolbar.css @@ -231,7 +231,6 @@ button.leaflet-control-search-next .w2ui-icon.save{ background: url('../images/lc_save.svg') no-repeat center !important; } .w2ui-icon.saveas{ background: url('../images/lc_saveas.svg') no-repeat center !important; } .w2ui-icon.strikeout{ background: url('../images/lc_strikeout.svg') no-repeat center !important; } -.w2ui-icon.insertfootnote{ background: url('../images/lc_insertfootnote.svg') no-repeat center !important; } .w2ui-icon.underline{ background: url('../images/lc_underline.svg') no-repeat center !important; } .w2ui-icon.undo{ background: url('../images/lc_undo.svg') no-repeat center !important; } .w2ui-icon.zoomin{ background: url('../images/plus.svg') no-repeat center !important; } diff --git a/loleaflet/dist/toolbar/toolbar.js b/loleaflet/dist/toolbar/toolbar.js index 6bbd34396..949e91631 100644 --- a/loleaflet/dist/toolbar/toolbar.js +++ b/loleaflet/dist/toolbar/toolbar.js @@ -278,11 +278,6 @@ function onClick(id, item, subItem) { else if (id === 'lastrecord') { $('#spreadsheet-tab-scroll').scrollLeft($('#spreadsheet-tab-scroll').prop('scrollWidth')); } - else if (id.startsWith('menu:wrap:wrap-')) - { - var wrapType = id.substring('menu:wrap:wrap-'.length); - map.toggleCommandState(wrapType); - } else if (id === 'insertgraphic') { L.DomUtil.get('insertgraphic').click(); } @@ -461,15 +456,6 @@ $(function () { name: 'toolbar-up', items: [ {type: 'html', id: 'left'}, - {type: 'menu', id: 'writer:menu:wrap', caption: _('Textwrap'), items: [ - { text: _('No wrap'), id: 'wrap-WrapOff' }, - { text: _('Page wrap'), id: 'wrap-WrapOn' }, - { text: _('Wrap anchor only'), id: 'wrap-WrapAnchorOnly' }, - { text: _('Ideal wrap'), id: 'wrap-WrapIdeal' }, - { text: _('Left wrap'), id: 'wrap-WrapLeft' }, - { text: _('Right wrap'), id: 'wrap-WrapRight' }, - { text: _('Wrap through'), id: 'wrap-WrapThrough' } - ]}, {type: 'button', id: 'save', img: 'save', hint: _('Save'), uno: 'Save'}, {type: 'break', id: 'savebreak'}, {type: 'button', id: 'undo', img: 'undo', hint: _('Undo'), uno: 'Undo'}, @@ -485,8 +471,6 @@ $(function () { {type: 'button', id: 'underline', img: 'underline', hint: _('Underline'), uno: 'Underline'}, {type: 'button', id: 'strikeout', img: 'strikeout', hint: _('Strikeout'), uno: 'Strikeout'}, {type: 'break', id: 'formatbreak'}, - {type: 'button', id: 'insertfootnote', img: 'insertfootnote', hint: _('Insert Footnote'), uno: 'InsertFootnote' }, - {type: 'break' }, {type: 'html', id: 'fontcolor-html', html: '<div id="fontcolor-wrapper"><input id="fontColorPicker" style="display:none;"></div>'}, {type: 'button', id: 'fontcolor', img: 'color', hint: _('Font color')}, {type: 'html', id: 'backcolor-html', html: '<div id="backcolor-wrapper"><input id="backColorPicker" style="display:none;"></div>'}, |