loleaflet/images/lc_masterslide.svg | 24 +++++++++++++++++++++++ loleaflet/images/lc_paperformat.svg | 10 +++++++++ loleaflet/src/control/Control.JSDialogBuilder.js | 2 + 3 files changed, 36 insertions(+)
New commits: commit a47db54ea53ecae13232072b7c57dbe68dd3b040 Author: Pedro Pinto Silva <pedro.si...@collabora.com> AuthorDate: Thu Feb 27 15:08:34 2020 +0100 Commit: Muhammet Kara <muhammet.k...@collabora.com> CommitDate: Mon Mar 2 20:02:39 2020 +0100 Mobile: mobileWizard: Impress: add iconpath according to its id from unocomands coming from core for this case specific Change-Id: I5f91790528a71e8bff5de58b0d3988aa305c02c5 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/89635 Reviewed-by: Pedro Pinto da Silva <pedro.si...@collabora.com> Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> diff --git a/loleaflet/images/lc_masterslide.svg b/loleaflet/images/lc_masterslide.svg new file mode 100644 index 000000000..3ed432c99 --- /dev/null +++ b/loleaflet/images/lc_masterslide.svg @@ -0,0 +1,24 @@ +<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"> + <path + style="fill:#ffffff" + d="M 3 5 L 3 18 L 11.673828 18 C 14.17979 15.495595 16.680211 12.990736 19.189453 10.509766 C 19.524376 10.175251 19.978129 10 20.419922 10 C 20.615312 10 20.811255 10.038717 21 10.105469 L 21 5 L 3 5 z M 21 17.216797 C 20.730874 17.47813 20.459641 17.737778 20.191406 18 L 21 18 L 21 17.216797 z " + /> + <path + style="fill:#4d82b8" + d="M 2 4 L 2 19 L 10.955078 19 L 11.046875 18.625 C 11.256041 18.416048 11.464753 18.208945 11.673828 18 L 3 18 L 3 5 L 21 5 L 21 10.105469 C 21.238067 10.189663 21.463775 10.321444 21.652344 10.509766 L 22 10.857422 L 22 4 L 2 4 z M 5 10 L 5 11 L 6 11 L 6 10 L 5 10 z M 7 10 L 7 11 L 18.697266 11 C 18.798138 10.900106 18.8991 10.799045 19 10.699219 L 19 10 L 7 10 z M 5 12 L 5 13 L 6 13 L 6 12 L 5 12 z M 7 12 L 7 13 L 16.691406 13 C 17.025573 12.66736 17.359008 12.332051 17.693359 12 L 7 12 z M 5 14 L 5 15 L 6 15 L 6 14 L 5 14 z M 7 14 L 7 15 L 14.683594 15 C 15.017933 14.666149 15.35312 14.333457 15.6875 14 L 7 14 z M 22 16.248047 C 21.665915 16.570229 21.332857 16.893578 21 17.216797 L 21 18 L 20.191406 18 C 19.850549 18.333217 19.507243 18.664999 19.167969 19 L 22 19 L 22 16.248047 z " + /> + <path + style="fill:#eac282" + d="M 5,7 V 9 H 19 V 7 Z" + /> + <g + fill="#eac282" + > + <path + d="m17.480469 13.611328-5.529297 5.523438-.951172 3.865234 3.806641-1.011719 5.509765-5.544922z" + /> + <path + d="m20.419922 11c-.189562 0-.378184.07172-.523438.216797l-1.673828 1.669922 2.847656 2.849609 1.710938-1.638672c.290506-.290127.290506-.756747 0-1.046875l-1.835938-1.833984c-.145254-.145064-.335828-.216797-.52539-.216797z" + /> + </g> +</svg> diff --git a/loleaflet/images/lc_paperformat.svg b/loleaflet/images/lc_paperformat.svg new file mode 100644 index 000000000..4af2b1a3c --- /dev/null +++ b/loleaflet/images/lc_paperformat.svg @@ -0,0 +1,10 @@ +<svg version="1.1" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> + <path d="m21 5h-18v14h18z" fill="#fff"/> + <g transform="rotate(90,12,12)" fill="#4d82b8"> + <path d="m7 3h1v18h-1z"/> + <path d="m16 3h1v18h-1z"/> + <path d="m5 5h14v1h-14z"/> + <path d="m4.6022 18h14.398v1h-14.398z"/> + </g> + <path d="m22 5c0-0.554-0.446-1-1-1h-18c-0.554 0-1 0.446-1 1v14c0 0.554 0.446 1 1 1h18c0.554 0 1-0.446 1-1zm-1 0v14h-18v-14z" fill="#808080"/> +</svg> diff --git a/loleaflet/src/control/Control.JSDialogBuilder.js b/loleaflet/src/control/Control.JSDialogBuilder.js index 27781a8f8..ebb006607 100644 --- a/loleaflet/src/control/Control.JSDialogBuilder.js +++ b/loleaflet/src/control/Control.JSDialogBuilder.js @@ -242,6 +242,8 @@ L.Control.JSDialogBuilder = L.Control.extend({ var leftDiv = L.DomUtil.create('div', 'ui-header-left', sectionTitle); var titleClass = ''; + if (sectionTitle.id === 'paperformat' || sectionTitle.id === 'orientation' || sectionTitle.id === 'masterslide') + iconPath = 'images/lc_'+ sectionTitle.id +'.svg'; if (iconPath) { var icon = L.DomUtil.create('img', 'menu-entry-icon', leftDiv); icon.src = iconPath; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits