Cell borders: Implement the 'More...' button.
Change-Id: I3551cec69cf1e4dca02c0fcdbee23a4e06b1e36a
This commit is contained in:
parent
8156c2a8f1
commit
46b4c62139
2 changed files with 6 additions and 1 deletions
|
@ -410,6 +410,8 @@ button.leaflet-control-search-next
|
|||
.w2ui-icon.frame10 { background: url('images/fr010.svg') no-repeat center !important; }
|
||||
.w2ui-icon.frame11 { background: url('images/fr011.svg') no-repeat center !important; }
|
||||
.w2ui-icon.frame12 { background: url('images/fr012.svg') no-repeat center !important; }
|
||||
.w2ui-icon.frame13 { width: 108px !important; }
|
||||
#div-frame13 { width: 102px; height: 18px; text-align: center; display: table-cell; vertical-align: middle; cursor: default; }
|
||||
|
||||
.w2ui-icon.accepttrackedchanges{ background: url('images/lc_accepttrackedchanges.svg') no-repeat center !important; }
|
||||
.w2ui-icon.alignblock{ background: url('images/lc_alignblock.svg') no-repeat center !important; }
|
||||
|
|
|
@ -278,6 +278,8 @@ function setBorders(left, right, bottom, top, horiz, vert) {
|
|||
|
||||
function setBorderStyle(num) {
|
||||
switch (num) {
|
||||
case 0: map.sendUnoCommand('.uno:FormatCellBorders'); break;
|
||||
|
||||
case 1: setBorders(0, 0, 0, 0, 0, 0); break;
|
||||
case 2: setBorders(1, 0, 0, 0, 0, 0); break;
|
||||
case 3: setBorders(0, 1, 0, 0, 0, 0); break;
|
||||
|
@ -642,7 +644,8 @@ function createToolbar() {
|
|||
'<td class="w2ui-tb-image w2ui-icon frame06" onclick="setBorderStyle(6)"></td><td class="w2ui-tb-image w2ui-icon frame07" onclick="setBorderStyle(7)"></td>' +
|
||||
'<td class="w2ui-tb-image w2ui-icon frame08" onclick="setBorderStyle(8)"></td></tr><tr><td class="w2ui-tb-image w2ui-icon frame09" onclick="setBorderStyle(9)"></td>' +
|
||||
'<td class="w2ui-tb-image w2ui-icon frame10" onclick="setBorderStyle(10)"></td><td class="w2ui-tb-image w2ui-icon frame11" onclick="setBorderStyle(11)"></td>' +
|
||||
'<td class="w2ui-tb-image w2ui-icon frame12" onclick="setBorderStyle(12)"></td></tr></table>'
|
||||
'<td class="w2ui-tb-image w2ui-icon frame12" onclick="setBorderStyle(12)"></td></tr><tr>' +
|
||||
'<td colspan="4" class="w2ui-tb-image w2ui-icon frame13" onclick="setBorderStyle(0)"><div id="div-frame13">' + _('More...') + '</div></td></tr></table>'
|
||||
},
|
||||
{type: 'drop', id: 'insertshapes', img: 'basicshapes_ellipse', hint: _('Insert shapes'), overlay: {onShow: insertShapes},
|
||||
html: '<div id="insertshape-wrapper"><div id="insertshape-popup" class="insertshape-pop ui-widget ui-widget-content ui-corner-all"><div class="insertshape-grid"></div></div></div>'},
|
||||
|
|
Loading…
Reference in a new issue