Skip to content

Commit

Permalink
impress: added html entry in downloadas menu
Browse files Browse the repository at this point in the history
Signed-off-by: Rashesh <[email protected]>
Change-Id: If9bae4a8beee056d2a757112d07c3df517654d84
  • Loading branch information
Rash419 committed Aug 21, 2024
1 parent ff6a2c7 commit f196f01
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions browser/css/notebookbar.css
Original file line number Diff line number Diff line change
Expand Up @@ -586,3 +586,7 @@ html[data-theme='dark'] .savemodified.unotoolbutton .unobutton img {
[class*='as-pptx-submenu-icon'] {
background: url('images/lc_downloadas-pptx.svg') center;
}

[class*='as-html-submenu-icon'] {
background: url('images/lc_downloadas-html.svg') center;
}
4 changes: 4 additions & 0 deletions browser/src/control/Control.NotebookbarBuilder.js
Original file line number Diff line number Diff line change
Expand Up @@ -465,6 +465,10 @@ L.Control.NotebookbarBuilder = L.Control.JSDialogBuilder.extend({
'action': 'downloadas-ppt',
'text': _('PowerPoint 2003 Presentation (.ppt)')
},
{
'action': 'downloadas-html',
'text': _('HTML Document (.html)')
},
{
'action': !window.ThisIsAMobileApp ? 'exportdirectpdf' : 'downloadas-pdf',
'text': _('PDF Document (.pdf)'),
Expand Down

0 comments on commit f196f01

Please sign in to comment.