Commit c93099ac authored by Alexander.Trofimov's avatar Alexander.Trofimov Committed by Alexander.Trofimov

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@47077 954022d7-b5bf-4e40-9824-e11837661b57
parent 081cfdb8
......@@ -1539,44 +1539,56 @@
<td class="cp toolbarSep" style="vertical-align: top; width: 15px;min-width:15px;">
<div class="sepMenu ToolbarIconOut" style="position: absolute; background: url('menu/img/sep.png') repeat-y scroll 0pt 0pt transparent; margin-top: -7px; height: 65px; margin-left: 6px;"></div>
</td>
<td id="td_add_hyperlink" class="ToolbarIconOut selectableIcon iconToolbar" title="Link">
<img class="ToolbarIcon ToolbarLink" src="menu/img/spacer.gif"/>
<td>
<ul class="noListStyle">
<li class="ToolbarIconOut selectableIcon" title="Insert image url">
<div id="td_insert_image_url" class="iconToolbar">
<img class="ToolbarIcon ToolbarImage" src="menu/img/spacer.gif"/>
</div>
</li>
<li class="ToolbarIconOut selectableIcon" title="Insert image file">
<div id="td_insert_image_file" class="iconToolbar">
<img class="ToolbarIcon ToolbarImage" src="menu/img/spacer.gif"/>
</div>
</li>
</ul>
<ul class="noListStyle">
<li class="ToolbarIconOut selectableIcon" title="Insert chart(need icon!)">
<div id="td_insert_chart" class="iconToolbar">
<img class="ToolbarIcon ToolbarIconAsc ToolbarInsertChart" src="menu/img/spacer.gif"/>
</div>
</li>
<li class="ToolbarIconOut selectableIcon" title="Drawing Object Layer">
<div id="td_drawing_object_layer" class="iconToolbar">
<img class="ToolbarIcon ToolbarIconAsc ToolbarInsertChart" src="menu/img/spacer.gif"/>
</div>
</li>
</ul>
</td>
<td class="ToolbarIconOut selectableIcon" title="Insert image url">
<div id="td_insert_image_url" class="iconToolbar">
<img class="ToolbarIcon ToolbarImage" src="menu/img/spacer.gif"/>
</div>
</td>
<td class="ToolbarIconOut selectableIcon" title="Insert image file">
<div id="td_insert_image_file" class="iconToolbar">
<img class="ToolbarIcon ToolbarImage" src="menu/img/spacer.gif"/>
</div>
</td>
<td class="ToolbarIconOut selectableIcon" title="Insert chart(need icon!)">
<div id="td_insert_chart" class="iconToolbar">
<img class="ToolbarIcon ToolbarImage" src="menu/img/spacer.gif"/>
</div>
</td>
<td class="ToolbarIconOut selectableIcon" title="Drawing Object Layer">
<div id="td_drawing_object_layer" class="iconToolbar">
<img class="ToolbarIcon ToolbarImage" src="menu/img/spacer.gif"/>
</div>
</td>
<td class="ToolbarIconOut selectableIcon" title="Add cell comment">
<div id="td_add_cell_comment" class="iconToolbar">
<img class="ToolbarIcon ToolbarImage" src="menu/img/spacer.gif"/>
</div>
</td>
<td class="ToolbarIconOut selectableIcon" title="Add document comment">
<div id="td_add_document_comment" class="iconToolbar">
<img class="ToolbarIcon ToolbarImage" src="menu/img/spacer.gif"/>
</div>
</td>
<td id="td_recalc" class="ToolbarIconOut selectableIcon iconToolbar" title="Recalc formulas">
<img class="toolbarImg recalc" src="menu/img/spacer.gif"/>
</td>
<td id="td_print_pdf" class="ToolbarIconOut selectableIcon iconToolbar" title="Print PDF">
<img class="ToolbarIcon ToolbarPrint" src="menu/img/spacer.gif"/>
<td class="cp toolbarSep" style="vertical-align: top; width: 15px;min-width:15px;">
<div class="sepMenu ToolbarIconOut" style="position: absolute; background: url('menu/img/sep.png') repeat-y scroll 0pt 0pt transparent; margin-top: -7px; height: 65px; margin-left: 6px;"></div>
</td>
<td>
<ul class="noListStyle">
<li class="ToolbarIconOut selectableIcon" title="Add cell comment">
<div id="td_add_cell_comment" class="iconToolbar">
<img class="ToolbarIcon ToolbarIconMenuAsc ToolbarInsertComment" src="menu/img/spacer.gif"/>
</div>
</li>
<li class="ToolbarIconOut selectableIcon" title="Add document comment">
<div id="td_add_document_comment" class="iconToolbar">
<img class="ToolbarIcon ToolbarIconMenuAsc ToolbarInsertComment" src="menu/img/spacer.gif"/>
</div>
</li>
</ul>
<ul class="noListStyle">
<li id="td_add_hyperlink" class="ToolbarIconOut selectableIcon iconToolbar" title="Link">
<img class="ToolbarIcon ToolbarIconAsc ToolbarLinkAsc" src="menu/img/spacer.gif"/>
</li>
<li id="td_recalc" class="ToolbarIconOut selectableIcon iconToolbar" title="Recalc formulas">
<img class="toolbarImg recalc" src="menu/img/spacer.gif"/>
</li>
</ul>
</td>
<td class="cp toolbarSep" style="vertical-align: top; width: 15px;min-width:15px;">
<div class="sepMenu ToolbarIconOut" style="position: absolute; background: url('menu/img/sep.png') repeat-y scroll 0pt 0pt transparent; margin-top: -7px; height: 65px; margin-left: 6px;"></div>
......
......@@ -632,7 +632,7 @@
function addClassIconPress(a){
a.addClass("iconPressed");
}
$("#td_sort_desc,#td_sort_asc,#td_text_wrap, #td_redo, #td_undo, #td_bold, #td_italic, #td_underline, #td_print, #td_copy, #td_paste,#td_cut, #td_ta_center, #td_ta_right, #td_ta_left, #td_ta_justify, #td_mergeCells, #td_recalc, #td_insert_chart, #td_insert_image_url, #td_insert_image_file, #td_drawing_object_layer, #td_add_cell_comment, #td_add_document_comment, #td_add_hyperlink, #td_print_pdf, #td_auto_filter, #td_auto_filter_local").click(function(){
$("#td_sort_desc,#td_sort_asc,#td_text_wrap, #td_redo, #td_undo, #td_bold, #td_italic, #td_underline, #td_print, #td_copy, #td_paste,#td_cut, #td_ta_center, #td_ta_right, #td_ta_left, #td_ta_justify, #td_mergeCells, #td_recalc, #td_insert_chart, #td_insert_image_url, #td_insert_image_file, #td_drawing_object_layer, #td_add_cell_comment, #td_add_document_comment, #td_add_hyperlink, #td_auto_filter, #td_auto_filter_local").click(function(){
switch (this.id){
case "td_bold":{
if ($(this).hasClass("iconPressed")){
......@@ -668,7 +668,7 @@
break;
}
case "td_print":{
// editor.Print();
api.asc_Print();
break;
}
case "td_copy":{
......@@ -826,9 +826,6 @@
$("#dialogAddHyperlink").dialog("open");
break;
}
case "td_print_pdf":
api.asc_Print();
break;
case "td_auto_filter":{
api.asc_addAutoFilter()
break;
......
......@@ -305,6 +305,13 @@
}
.ToolbarIconAsc {
background: url(../img/toolbar-btns.png) no-repeat scroll 0 0 transparent;
width: 20px;
margin-left: 1px;
}
.ToolbarIconMenuAsc {
background: url(../img/main-menu.png) no-repeat scroll 0 0 transparent;
width: 24px;
margin-left: 0px;
}
.ToolbarIcon2
{
......@@ -402,6 +409,12 @@
.MenubarFilter, .ToolbarFilter {
background-position: 0 -800px;
}
.MenubarInsertChart, .ToolbarInsertChart {
background-position: 0 -720px;
}
.MenubarInsertComment, .ToolbarInsertComment {
background-position: 0 -99px;
}
.MenubarUnwritten, .ToolbarUnwritten
{
background-position: -802px 50%;
......@@ -419,6 +432,10 @@
{
background-position: -336px 50%;
}
.MenubarLinkAsc, .ToolbarLinkAsc
{
background-position: 0 -700px;
}
.MenubarLine, .ToolbarLine
{
background-position: -945px 50%;
......
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