[Libreoffice-commits] online.git: loleaflet/css loleaflet/images loleaflet/src
Henry Castro (via logerrit)
logerrit at kemper.freedesktop.org
Fri Oct 18 14:49:34 UTC 2019
loleaflet/css/mobilewizard.css | 72 +++++++++++++++++++++++
loleaflet/images/layout_empty.svg | 1
loleaflet/images/layout_head01.svg | 1
loleaflet/images/layout_head02.svg | 1
loleaflet/images/layout_head02a.svg | 1
loleaflet/images/layout_head02b.svg | 1
loleaflet/images/layout_head03.svg | 1
loleaflet/images/layout_head03a.svg | 1
loleaflet/images/layout_head03b.svg | 1
loleaflet/images/layout_head03c.svg | 1
loleaflet/images/layout_head04.svg | 1
loleaflet/images/layout_head06.svg | 1
loleaflet/images/layout_textonly.svg | 1
loleaflet/images/layout_vertical01.svg | 1
loleaflet/images/layout_vertical02.svg | 1
loleaflet/src/control/Control.JSDialogBuilder.js | 22 +++++++
16 files changed, 108 insertions(+)
New commits:
commit 389f05af1cb8f314194255f38557316b70ea58be
Author: Henry Castro <hcastro at collabora.com>
AuthorDate: Fri Oct 18 10:44:40 2019 -0400
Commit: Henry Castro <hcastro at collabora.com>
CommitDate: Fri Oct 18 16:49:16 2019 +0200
jsdialogs: add valueset control handler
The LO Core server sends data items of the valueset control.
For Example Layouts items of the Sidebar in Impress Document,
this item need to be transformed into an element inside of
mobile wizard dialog.
Change-Id: I2ce166aee62ebd075edde5b91f62c0591ee5a0a1
Reviewed-on: https://gerrit.libreoffice.org/81054
Reviewed-by: Henry Castro <hcastro at collabora.com>
Tested-by: Henry Castro <hcastro at collabora.com>
diff --git a/loleaflet/css/mobilewizard.css b/loleaflet/css/mobilewizard.css
index 0cea4beb3..292e266ed 100644
--- a/loleaflet/css/mobilewizard.css
+++ b/loleaflet/css/mobilewizard.css
@@ -41,3 +41,75 @@ span#main-menu-btn-icon {
.ui-header.level-1.mobile-wizard.ui-widget img[src="images/lc_downloadas-pdf.svg"]{
visibility: visible;
}
+
+.layout {
+ height: 60px;
+ width: 60px;
+ overflow: hidden;
+ margin: 2px 2px !important;
+ display: inline-block;
+}
+
+.layout.layout_empty {
+ background: url('images/layout_empty.svg') no-repeat center !important;
+}
+
+.layout.layout_head03 {
+ background: url('images/layout_head03.svg') no-repeat center !important;
+}
+
+.layout.layout_head02 {
+ background: url('images/layout_head02.svg') no-repeat center !important;
+}
+
+.layout.layout_head02a {
+ background: url('images/layout_head02a.svg') no-repeat center !important;
+}
+
+.layout.layout_head01 {
+ background: url('images/layout_head01.svg') no-repeat center !important;
+}
+
+.layout.layout_textonly {
+ background: url('images/layout_textonly.svg') no-repeat center !important;
+}
+
+.layout.layout_head03b {
+ background: url('images/layout_head03b.svg') no-repeat center !important;
+}
+
+.layout.layout_head03c {
+ background: url('images/layout_head03c.svg') no-repeat center !important;
+}
+
+.layout.layout_head03a {
+ background: url('images/layout_head0a.svg') no-repeat center !important;
+}
+
+.layout.layout_head02b {
+ background: url('images/layout_head02b.svg') no-repeat center !important;
+}
+
+.layout.layout_head04 {
+ background: url('images/layout_head04.svg') no-repeat center !important;
+}
+
+.layout.layout_head06 {
+ background: url('images/layout_head06.svg') no-repeat center !important;
+}
+
+.layout.layout_vertical02 {
+ background: url('images/layout_vertical02.svg') no-repeat center !important;
+}
+
+.layout.layout_vertical01 {
+ background: url('images/layout_vertical01.svg') no-repeat center !important;
+}
+
+.layout.layout_head02 {
+ background: url('images/layout_head02.svg') no-repeat center !important;
+}
+
+.layout.layout_head02a {
+ background: url('images/layout_head02a.svg') no-repeat center !important;
+}
diff --git a/loleaflet/images/layout_empty.svg b/loleaflet/images/layout_empty.svg
new file mode 100644
index 000000000..83a26f133
--- /dev/null
+++ b/loleaflet/images/layout_empty.svg
@@ -0,0 +1 @@
+<svg height="15.24mm" viewBox="0 0 67.999998 53.999999" width="19.191111mm" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><linearGradient id="a" gradientUnits="userSpaceOnUse" x1="798" x2="798" y1="958.21936" y2="912.21936"><stop offset="0" stop-color="#bdc3c7"/><stop offset="1" stop-color="#dadfe1"/></linearGradient><g transform="translate(-766 -908.21936)"><path d="m770.00009 912.21936h59.99982c.00005 0 .00009.00004.00009.00009v45.99982c0 .00005.00009-27.99991 0-13.99991v14h-14-45.99991c-.00005 0-.00009-.00004-.00009-.00009v-45.99982c0-.00005.00004-.00009.00009-.00009z" fill="url(#a)"/><rect fill="#2e3132" fill-opacity=".294118" height="1" ry=".000017" width="60" x="770" y="957.21936"/><rect fill="#fff" fill-opacity=".411765" height="1" ry=".000017" width="60" x="770" y="912.21936"/></g></svg>
\ No newline at end of file
diff --git a/loleaflet/images/layout_head01.svg b/loleaflet/images/layout_head01.svg
new file mode 100644
index 000000000..32640081a
--- /dev/null
+++ b/loleaflet/images/layout_head01.svg
@@ -0,0 +1 @@
+<svg height="15.24mm" viewBox="0 0 67.999998 53.999999" width="19.191111mm" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><linearGradient id="a" gradientUnits="userSpaceOnUse" x1="798" x2="798" y1="958.21936" y2="912.21936"><stop offset="0" stop-color="#bdc3c7"/><stop offset="1" stop-color="#dadfe1"/></linearGradient><linearGradient id="b" gradientTransform="matrix(1.04 0 0 1.3333336 -32 -306.73987)" gradientUnits="userSpaceOnUse" x1="796" x2="796" y1="923.21936" y2="917.21936"><stop offset="0" stop-color="#22a7f0"/><stop offset="1" stop-color="#19b5fe"/></linearGradient><linearGradient id="c" gradientUnits="userSpaceOnUse" x1="774" x2="818" y1="916.21936" y2="958.21936"><stop offset="0" stop-color="#383e51"/><stop offset="1" stop-color="#655c6f" stop-opacity="0"/></linearGradient><g transform="translate(-766 -908.21936)"><path d="m770.00009 912.21936h59.99982c.00005 0 .00009.00004.00009.00009v45.99982c0 .00005.00009-27.99991 0-13.99991v14h-14-45.9999
1c-.00005 0-.00009-.00004-.00009-.00009v-45.99982c0-.00005.00004-.00009.00009-.00009z" fill="url(#a)"/><rect fill="#2e3132" fill-opacity=".294118" height="1" ry=".000017" width="60" x="770" y="957.21936"/><rect fill="#fff" fill-opacity=".411765" height="1" ry=".000017" width="60" x="770" y="912.21936"/><rect fill="url(#b)" height="8.000001" ry=".000178" width="52" x="774" y="916.21936"/><path d="m826 916.21936v8h-52l34 34h22v-38z" fill="url(#c)" fill-rule="evenodd" opacity=".2"/></g></svg>
\ No newline at end of file
diff --git a/loleaflet/images/layout_head02.svg b/loleaflet/images/layout_head02.svg
new file mode 100644
index 000000000..4bddfdb27
--- /dev/null
+++ b/loleaflet/images/layout_head02.svg
@@ -0,0 +1 @@
+<svg height="15.24mm" viewBox="0 0 67.999998 53.999999" width="19.191111mm" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><linearGradient id="a" gradientUnits="userSpaceOnUse" x1="798" x2="798" y1="958.21936" y2="912.21936"><stop offset="0" stop-color="#bdc3c7"/><stop offset="1" stop-color="#dadfe1"/></linearGradient><linearGradient id="b" gradientTransform="matrix(1.04 0 0 1.3333331 -32 -306.73991)" gradientUnits="userSpaceOnUse" x1="796" x2="796" y1="923.21936" y2="917.21936"><stop offset="0" stop-color="#22a7f0"/><stop offset="1" stop-color="#19b5fe"/></linearGradient><linearGradient id="c" gradientTransform="matrix(1 0 0 .96551721 766 908.84005)" gradientUnits="userSpaceOnUse" x1="33" x2="33" y1="47" y2="8"><stop offset="0" stop-color="#5e6b78"/><stop offset="1" stop-color="#768492"/></linearGradient><linearGradient id="d" gradientUnits="userSpaceOnUse" x1="774" x2="818" y1="916.21936" y2="958.21936"><stop offset="0" stop-color="#383e51"/><stop of
fset="1" stop-color="#655c6f" stop-opacity="0"/></linearGradient><g transform="translate(-766 -908.21936)"><path d="m770.00009 912.21936h59.99982c.00005 0 .00009.00004.00009.00009v45.99982c0 .00005.00009-27.99991 0-13.99991v14h-14-45.99991c-.00005 0-.00009-.00004-.00009-.00009v-45.99982c0-.00005.00004-.00009.00009-.00009z" fill="url(#a)"/><rect fill="#2e3132" fill-opacity=".294118" height="1" ry=".000017" width="60" x="770" y="957.21936"/><rect fill="#fff" fill-opacity=".411765" height="1" ry=".000017" width="60" x="770" y="912.21936"/><rect fill="url(#b)" height="8.000001" ry=".000178" width="52" x="774" y="916.21936"/><path d="m826 916.21936v8h-52l2 2-2 28 4 4h52v-38z" fill="url(#d)" fill-rule="evenodd" opacity=".2"/><path d="m774 926.21936v28h52v-28z" fill="url(#c)"/></g></svg>
\ No newline at end of file
diff --git a/loleaflet/images/layout_head02a.svg b/loleaflet/images/layout_head02a.svg
new file mode 100644
index 000000000..4d488acec
--- /dev/null
+++ b/loleaflet/images/layout_head02a.svg
@@ -0,0 +1 @@
+<svg height="15.24mm" viewBox="0 0 67.999998 53.999999" width="19.191111mm" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><linearGradient id="a" gradientUnits="userSpaceOnUse" x1="798" x2="798" y1="958.21936" y2="912.21936"><stop offset="0" stop-color="#bdc3c7"/><stop offset="1" stop-color="#dadfe1"/></linearGradient><linearGradient id="b" gradientTransform="matrix(1 0 0 .96551724 766 908.84005)" gradientUnits="userSpaceOnUse" x1="33" x2="33" y1="47" y2="8"><stop offset="0" stop-color="#5e6b78"/><stop offset="1" stop-color="#768492"/></linearGradient><linearGradient id="c" gradientUnits="userSpaceOnUse" x1="774" x2="818" y1="916.21936" y2="958.21936"><stop offset="0" stop-color="#383e51"/><stop offset="1" stop-color="#655c6f" stop-opacity="0"/></linearGradient><linearGradient id="d" gradientTransform="matrix(1.04 0 0 1.3333331 -32 -306.73994)" gradientUnits="userSpaceOnUse" x1="796" x2="796" y1="923.21936" y2="917.21936"><stop offset="0" stop-color="#
22a7f0"/><stop offset="1" stop-color="#19b5fe"/></linearGradient><g transform="translate(-766 -908.21936)"><path d="m770.00009 912.21936h59.99982c.00005 0 .00009.00004.00009.00009v45.99982c0 .00005.00009-27.99991 0-13.99991v14h-14-45.99991c-.00005 0-.00009-.00004-.00009-.00009v-45.99982c0-.00005.00004-.00009.00009-.00009z" fill="url(#a)"/><rect fill="#fff" fill-opacity=".411765" height="1" ry=".000017" width="60" x="770" y="912.21936"/><path d="m826 916.21936v8h-52l2 2h23v2l-25 26 4 4h52v-38z" fill="url(#c)" fill-rule="evenodd" opacity=".2"/><path d="m774 926.21936v28h25v-28zm27 0v28h25v-28z" fill="url(#b)"/><rect fill="url(#d)" height="8.000001" ry=".000178" width="52" x="774" y="916.21936"/><rect fill="#2e3132" fill-opacity=".294118" height="1" ry=".000017" width="60" x="770" y="957.21936"/></g></svg>
\ No newline at end of file
diff --git a/loleaflet/images/layout_head02b.svg b/loleaflet/images/layout_head02b.svg
new file mode 100644
index 000000000..0d4187c43
--- /dev/null
+++ b/loleaflet/images/layout_head02b.svg
@@ -0,0 +1 @@
+<svg height="15.24mm" viewBox="0 0 67.999998 53.999999" width="19.191111mm" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><linearGradient id="a" gradientUnits="userSpaceOnUse" x1="798" x2="798" y1="958.21936" y2="912.21936"><stop offset="0" stop-color="#bdc3c7"/><stop offset="1" stop-color="#dadfe1"/></linearGradient><linearGradient id="b" gradientTransform="matrix(1 0 0 .96551724 0 .62069)" gradientUnits="userSpaceOnUse" x1="33" x2="33" y1="47" y2="8"><stop offset="0" stop-color="#5e6b78"/><stop offset="1" stop-color="#768492"/></linearGradient><linearGradient id="c" gradientUnits="userSpaceOnUse" x1="774" x2="818" y1="916.21936" y2="958.21936"><stop offset="0" stop-color="#383e51"/><stop offset="1" stop-color="#655c6f" stop-opacity="0"/></linearGradient><linearGradient id="d" gradientTransform="matrix(1.04 0 0 1.3333331 -32 -306.73994)" gradientUnits="userSpaceOnUse" x1="796" x2="796" y1="923.21936" y2="917.21936"><stop offset="0" stop-color="#22a7f
0"/><stop offset="1" stop-color="#19b5fe"/></linearGradient><g transform="translate(-766 -908.21936)"><path d="m770.00009 912.21936h59.99982c.00005 0 .00009.00004.00009.00009v45.99982c0 .00005.00009-27.99991 0-13.99991v14h-14-45.99991c-.00005 0-.00009-.00004-.00009-.00009v-45.99982c0-.00005.00004-.00009.00009-.00009z" fill="url(#a)"/><rect fill="#2e3132" fill-opacity=".294118" height="1" ry=".000017" width="60" x="770" y="957.21936"/><rect fill="#fff" fill-opacity=".411765" height="1" ry=".000017" width="60" x="770" y="912.21936"/><rect fill="url(#d)" height="8.000001" ry=".000178" width="52" x="774" y="916.21936"/><path d="m826 916.21936v8h-52l2 2v13h-2l2 2-2 13 4 4h52v-38z" fill="url(#c)" fill-rule="evenodd" opacity=".2"/><path d="m8 18v13h52v-13zm0 15v13h52v-13z" fill="url(#b)" transform="translate(766 908.21936)"/></g></svg>
\ No newline at end of file
diff --git a/loleaflet/images/layout_head03.svg b/loleaflet/images/layout_head03.svg
new file mode 100644
index 000000000..cb041ea94
--- /dev/null
+++ b/loleaflet/images/layout_head03.svg
@@ -0,0 +1 @@
+<svg height="15.24mm" viewBox="0 0 67.999998 53.999999" width="19.191111mm" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><linearGradient id="a" gradientUnits="userSpaceOnUse" x1="798" x2="798" y1="958.21936" y2="912.21936"><stop offset="0" stop-color="#bdc3c7"/><stop offset="1" stop-color="#dadfe1"/></linearGradient><linearGradient id="b"><stop offset="0" stop-color="#22a7f0"/><stop offset="1" stop-color="#19b5fe"/></linearGradient><linearGradient id="c" gradientTransform="matrix(1.04 0 0 1.3333331 -32 -306.73991)" gradientUnits="userSpaceOnUse" x1="796" x2="796" xlink:href="#b" y1="923.21936" y2="917.21936"/><linearGradient id="d" gradientTransform="matrix(1 0 0 .96551721 766 908.84005)" gradientUnits="userSpaceOnUse" x1="33" x2="33" y1="47" y2="8"><stop offset="0" stop-color="#5e6b78"/><stop offset="1" stop-color="#768492"/></linearGradient><linearGradient id="e" gradientUnits="userSpaceOnUse" x1="774" x2="818" y1="916.21936" y2="958.21936"><stop o
ffset="0" stop-color="#383e51"/><stop offset="1" stop-color="#655c6f" stop-opacity="0"/></linearGradient><linearGradient id="f" gradientTransform="matrix(.88 0 0 .66666623 96 318.74001)" gradientUnits="userSpaceOnUse" x1="796" x2="796" xlink:href="#b" y1="923.21936" y2="917.21936"/><g transform="translate(-766 -908.21936)"><path d="m770.00009 912.21936h59.99982c.00005 0 .00009.00004.00009.00009v45.99982c0 .00005.00009-27.99991 0-13.99991v14h-14-45.99991c-.00005 0-.00009-.00004-.00009-.00009v-45.99982c0-.00005.00004-.00009.00009-.00009z" fill="url(#a)"/><rect fill="#2e3132" fill-opacity=".294118" height="1" ry=".000017" width="60" x="770" y="957.21936"/><rect fill="#fff" fill-opacity=".411765" height="1" ry=".000017" width="60" x="770" y="912.21936"/><rect fill="url(#c)" height="8.000001" ry=".000178" width="52" x="774" y="916.21936"/><path d="m826 916.21936v8h-52l2 2-2 28 4 4h52v-38z" fill="url(#e)" fill-rule="evenodd" opacity=".2"/><path d="m774 926.21936v28h52v-28z" fill="url(#d)"
/><rect fill="url(#f)" height="3.999999" ry=".000089" width="44" x="778" y="930.21936"/><path d="m822 930.21936v4h-44l25 24h27v-20z" fill="url(#e)" fill-rule="evenodd" opacity=".2"/></g></svg>
\ No newline at end of file
diff --git a/loleaflet/images/layout_head03a.svg b/loleaflet/images/layout_head03a.svg
new file mode 100644
index 000000000..ccbc20a05
--- /dev/null
+++ b/loleaflet/images/layout_head03a.svg
@@ -0,0 +1 @@
+<svg height="15.24mm" viewBox="0 0 67.999998 53.999999" width="19.191111mm" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><linearGradient id="a" gradientUnits="userSpaceOnUse" x1="798" x2="798" y1="958.21936" y2="912.21936"><stop offset="0" stop-color="#bdc3c7"/><stop offset="1" stop-color="#dadfe1"/></linearGradient><linearGradient id="b" gradientTransform="matrix(1 0 0 .96551724 0 .62069)" gradientUnits="userSpaceOnUse" x1="33" x2="33" y1="47" y2="8"><stop offset="0" stop-color="#5e6b78"/><stop offset="1" stop-color="#768492"/></linearGradient><linearGradient id="c" gradientUnits="userSpaceOnUse" x1="774" x2="818" y1="916.21936" y2="958.21936"><stop offset="0" stop-color="#383e51"/><stop offset="1" stop-color="#655c6f" stop-opacity="0"/></linearGradient><linearGradient id="d" gradientTransform="matrix(1.04 0 0 1.3333331 -32 -306.73994)" gradientUnits="userSpaceOnUse" x1="796" x2="796" y1="923.21936" y2="917.21936"><stop offset="0" stop-color="#22a7f
0"/><stop offset="1" stop-color="#19b5fe"/></linearGradient><g transform="translate(-766 -908.21936)"><path d="m770.00009 912.21936h59.99982c.00005 0 .00009.00004.00009.00009v45.99982c0 .00005.00009-27.99991 0-13.99991v14h-14-45.99991c-.00005 0-.00009-.00004-.00009-.00009v-45.99982c0-.00005.00004-.00009.00009-.00009z" fill="url(#a)"/><rect fill="#2e3132" fill-opacity=".294118" height="1" ry=".000017" width="60" x="770" y="957.21936"/><rect fill="#fff" fill-opacity=".411765" height="1" ry=".000017" width="60" x="770" y="912.21936"/><rect fill="url(#d)" height="8.000001" ry=".000178" width="52" x="774" y="916.21936"/><path d="m826 916.21936v8h-52l2 2v13h-2l2 2-2 13 4 4h52v-38z" fill="url(#c)" fill-rule="evenodd" opacity=".2"/><path d="m8 18v13h25v-13zm27 0v13h25v-13zm-27 15v13h25 2 4 21v-13h-21-4-2z" fill="url(#b)" transform="translate(766 908.21936)"/></g></svg>
\ No newline at end of file
diff --git a/loleaflet/images/layout_head03b.svg b/loleaflet/images/layout_head03b.svg
new file mode 100644
index 000000000..0dc9a0969
--- /dev/null
+++ b/loleaflet/images/layout_head03b.svg
@@ -0,0 +1 @@
+<svg height="15.24mm" viewBox="0 0 67.999998 53.999999" width="19.191111mm" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><linearGradient id="a" gradientUnits="userSpaceOnUse" x1="798" x2="798" y1="958.21936" y2="912.21936"><stop offset="0" stop-color="#bdc3c7"/><stop offset="1" stop-color="#dadfe1"/></linearGradient><linearGradient id="b" gradientTransform="matrix(-1 0 0 .96551724 834 908.84005)" gradientUnits="userSpaceOnUse" x1="33" x2="33" y1="47" y2="8"><stop offset="0" stop-color="#5e6b78"/><stop offset="1" stop-color="#768492"/></linearGradient><linearGradient id="c" gradientUnits="userSpaceOnUse" x1="774" x2="818" y1="916.21936" y2="958.21936"><stop offset="0" stop-color="#383e51"/><stop offset="1" stop-color="#655c6f" stop-opacity="0"/></linearGradient><linearGradient id="d" gradientTransform="matrix(1.04 0 0 1.3333331 -32 -306.73994)" gradientUnits="userSpaceOnUse" x1="796" x2="796" y1="923.21936" y2="917.21936"><stop offset="0" stop-color="
#22a7f0"/><stop offset="1" stop-color="#19b5fe"/></linearGradient><g transform="translate(-766 -908.21936)"><path d="m770.00009 912.21936h59.99982c.00005 0 .00009.00004.00009.00009v45.99982c0 .00005.00009-27.99991 0-13.99991v14h-14-45.99991c-.00005 0-.00009-.00004-.00009-.00009v-45.99982c0-.00005.00004-.00009.00009-.00009z" fill="url(#a)"/><rect fill="#2e3132" fill-opacity=".294118" height="1" ry=".000017" width="60" x="770" y="957.21936"/><rect fill="#fff" fill-opacity=".411765" height="1" ry=".000017" width="60" x="770" y="912.21936"/><rect fill="url(#d)" height="8.000001" ry=".000178" width="52" x="774" y="916.21936"/><path d="m826 916.21936v8h-52l2 2v13h-2l2 2-2 13 4 4h52v-38z" fill="url(#c)" fill-rule="evenodd" opacity=".2"/><path d="m826 926.21936v13 2 3 10h-25v-10-3-2-13zm-27 0v13h-25v-13zm0 15v13h-25v-13z" fill="url(#b)"/></g></svg>
\ No newline at end of file
diff --git a/loleaflet/images/layout_head03c.svg b/loleaflet/images/layout_head03c.svg
new file mode 100644
index 000000000..c68bbdbb3
--- /dev/null
+++ b/loleaflet/images/layout_head03c.svg
@@ -0,0 +1 @@
+<svg height="15.24mm" viewBox="0 0 67.999998 53.999999" width="19.191111mm" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><linearGradient id="a" gradientUnits="userSpaceOnUse" x1="798" x2="798" y1="958.21936" y2="912.21936"><stop offset="0" stop-color="#bdc3c7"/><stop offset="1" stop-color="#dadfe1"/></linearGradient><linearGradient id="b" gradientTransform="matrix(1 0 0 .96551724 0 .62069)" gradientUnits="userSpaceOnUse" x1="33" x2="33" y1="47" y2="8"><stop offset="0" stop-color="#5e6b78"/><stop offset="1" stop-color="#768492"/></linearGradient><linearGradient id="c" gradientTransform="matrix(1.04 0 0 1.3333331 -32 -306.73994)" gradientUnits="userSpaceOnUse" x1="796" x2="796" y1="923.21936" y2="917.21936"><stop offset="0" stop-color="#22a7f0"/><stop offset="1" stop-color="#19b5fe"/></linearGradient><linearGradient id="d" gradientUnits="userSpaceOnUse" x1="774" x2="818" y1="916.21936" y2="958.21936"><stop offset="0" stop-color="#383e51"/><stop offset=
"1" stop-color="#655c6f" stop-opacity="0"/></linearGradient><g transform="translate(-766 -908.21936)"><path d="m770.00009 912.21936h59.99982c.00005 0 .00009.00004.00009.00009v45.99982c0 .00005.00009-27.99991 0-13.99991v14h-14-45.99991c-.00005 0-.00009-.00004-.00009-.00009v-45.99982c0-.00005.00004-.00009.00009-.00009z" fill="url(#a)"/><rect fill="#2e3132" fill-opacity=".294118" height="1" ry=".000017" width="60" x="770" y="957.21936"/><rect fill="#fff" fill-opacity=".411765" height="1" ry=".000017" width="60" x="770" y="912.21936"/><rect fill="url(#c)" height="8.000001" ry=".000178" width="52" x="774" y="916.21936"/><path d="m826 916.21936v8h-52l2 2v13h-2l2 2-2 13 4 4h52v-38z" fill="url(#d)" fill-rule="evenodd" opacity=".2"/><path d="m8 18v13 2 3 10h25v-10-3-2-13zm27 0v13h25v-13zm0 15v13h25v-13z" fill="url(#b)" transform="translate(766 908.21936)"/></g></svg>
\ No newline at end of file
diff --git a/loleaflet/images/layout_head04.svg b/loleaflet/images/layout_head04.svg
new file mode 100644
index 000000000..a099551a5
--- /dev/null
+++ b/loleaflet/images/layout_head04.svg
@@ -0,0 +1 @@
+<svg height="15.24mm" viewBox="0 0 67.999998 53.999999" width="19.191111mm" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><linearGradient id="a" gradientUnits="userSpaceOnUse" x1="798" x2="798" y1="958.21936" y2="912.21936"><stop offset="0" stop-color="#bdc3c7"/><stop offset="1" stop-color="#dadfe1"/></linearGradient><linearGradient id="b" gradientTransform="matrix(1 0 0 .96551724 0 .62069)" gradientUnits="userSpaceOnUse" x1="33" x2="33" y1="47" y2="8"><stop offset="0" stop-color="#5e6b78"/><stop offset="1" stop-color="#768492"/></linearGradient><linearGradient id="c" gradientTransform="matrix(1.04 0 0 1.3333331 -32 -306.73994)" gradientUnits="userSpaceOnUse" x1="796" x2="796" y1="923.21936" y2="917.21936"><stop offset="0" stop-color="#22a7f0"/><stop offset="1" stop-color="#19b5fe"/></linearGradient><linearGradient id="d" gradientUnits="userSpaceOnUse" x1="774" x2="818" y1="916.21936" y2="958.21936"><stop offset="0" stop-color="#383e51"/><stop offset=
"1" stop-color="#655c6f" stop-opacity="0"/></linearGradient><g transform="translate(-766 -908.21936)"><path d="m770.00009 912.21936h59.99982c.00005 0 .00009.00004.00009.00009v45.99982c0 .00005.00009-27.99991 0-13.99991v14h-14-45.99991c-.00005 0-.00009-.00004-.00009-.00009v-45.99982c0-.00005.00004-.00009.00009-.00009z" fill="url(#a)"/><rect fill="#2e3132" fill-opacity=".294118" height="1" ry=".000017" width="60" x="770" y="957.21936"/><rect fill="#fff" fill-opacity=".411765" height="1" ry=".000017" width="60" x="770" y="912.21936"/><rect fill="url(#c)" height="8.000001" ry=".000178" width="52" x="774" y="916.21936"/><path d="m826 916.21936v8h-52l2 2v13h-2l2 2-2 13 4 4h52v-38z" fill="url(#d)" fill-rule="evenodd" opacity=".2"/><path d="m8 18v13h25v-13zm27 0v13h25v-13zm-27 15v13h25v-13zm27 0v13h25v-13z" fill="url(#b)" transform="translate(766 908.21936)"/></g></svg>
\ No newline at end of file
diff --git a/loleaflet/images/layout_head06.svg b/loleaflet/images/layout_head06.svg
new file mode 100644
index 000000000..ab621eda5
--- /dev/null
+++ b/loleaflet/images/layout_head06.svg
@@ -0,0 +1 @@
+<svg height="15.24mm" viewBox="0 0 67.999998 53.999999" width="19.191111mm" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><linearGradient id="a" gradientUnits="userSpaceOnUse" x1="798" x2="798" y1="958.21936" y2="912.21936"><stop offset="0" stop-color="#bdc3c7"/><stop offset="1" stop-color="#dadfe1"/></linearGradient><linearGradient id="b" gradientTransform="matrix(1.04 0 0 1.3333331 -32 -306.73994)" gradientUnits="userSpaceOnUse" x1="796" x2="796" y1="923.21936" y2="917.21936"><stop offset="0" stop-color="#22a7f0"/><stop offset="1" stop-color="#19b5fe"/></linearGradient><linearGradient id="c" gradientUnits="userSpaceOnUse" x1="774" x2="818" y1="916.21936" y2="958.21936"><stop offset="0" stop-color="#383e51"/><stop offset="1" stop-color="#655c6f" stop-opacity="0"/></linearGradient><linearGradient id="d" gradientTransform="matrix(1 0 0 .96551721 0 .62069)" gradientUnits="userSpaceOnUse" x1="33" x2="33" y1="47" y2="8"><stop offset="0" stop-color="#5e6b7
8"/><stop offset="1" stop-color="#768492"/></linearGradient><g transform="translate(-766 -908.21936)"><path d="m770.00009 912.21936h59.99982c.00005 0 .00009.00004.00009.00009v45.99982c0 .00005.00009-27.99991 0-13.99991v14h-14-45.99991c-.00005 0-.00009-.00004-.00009-.00009v-45.99982c0-.00005.00004-.00009.00009-.00009z" fill="url(#a)"/><rect fill="#2e3132" fill-opacity=".294118" height="1" ry=".000017" width="60" x="770" y="957.21936"/><rect fill="#fff" fill-opacity=".411765" height="1" ry=".000017" width="60" x="770" y="912.21936"/><rect fill="url(#b)" height="8.000001" ry=".000178" width="52" x="774" y="916.21936"/><path d="m826 916.21936v8h-52l2 2v13h-2l2 2-2 13 4 4h52v-38z" fill="url(#c)" fill-rule="evenodd" opacity=".2"/><path d="m8 18v13h16v-13zm18 0v13h16v-13zm18 0v13h16v-13zm-36 15v13h16v-13zm18 0v13h16v-13zm18 0v13h16v-13z" fill="url(#d)" transform="translate(766 908.21936)"/></g></svg>
\ No newline at end of file
diff --git a/loleaflet/images/layout_textonly.svg b/loleaflet/images/layout_textonly.svg
new file mode 100644
index 000000000..932d76f55
--- /dev/null
+++ b/loleaflet/images/layout_textonly.svg
@@ -0,0 +1 @@
+<svg height="15.24mm" viewBox="0 0 67.999998 53.999999" width="19.191111mm" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><linearGradient id="a" gradientUnits="userSpaceOnUse" x1="798" x2="798" y1="958.21936" y2="912.21936"><stop offset="0" stop-color="#bdc3c7"/><stop offset="1" stop-color="#dadfe1"/></linearGradient><linearGradient id="b"><stop offset="0" stop-color="#22a7f0"/><stop offset="1" stop-color="#19b5fe"/></linearGradient><linearGradient id="c" gradientTransform="matrix(1 0 0 1.3103448 766 892.63315)" gradientUnits="userSpaceOnUse" x1="33" x2="33" y1="47" y2="8"><stop offset="0" stop-color="#5e6b78"/><stop offset="1" stop-color="#768492"/></linearGradient><linearGradient id="d" gradientTransform="matrix(.88 0 0 .66666623 96 318.74001)" gradientUnits="userSpaceOnUse" x1="796" x2="796" xlink:href="#b" y1="923.21936" y2="917.21936"/><linearGradient id="e" gradientUnits="userSpaceOnUse" x1="774" x2="818" y1="916.21936" y2="958.21936"><stop offs
et="0" stop-color="#383e51"/><stop offset="1" stop-color="#655c6f" stop-opacity="0"/></linearGradient><linearGradient id="f" gradientTransform="matrix(.72 0 0 .66666623 224 324.74001)" gradientUnits="userSpaceOnUse" x1="796" x2="796" xlink:href="#b" y1="923.21936" y2="917.21936"/><g transform="translate(-766 -908.21936)"><path d="m770.00009 912.21936h59.99982c.00005 0 .00009.00004.00009.00009v45.99982c0 .00005.00009-27.99991 0-13.99991v14h-14-45.99991c-.00005 0-.00009-.00004-.00009-.00009v-45.99982c0-.00005.00004-.00009.00009-.00009z" fill="url(#a)"/><rect fill="#2e3132" fill-opacity=".294118" height="1" ry=".000017" width="60" x="770" y="957.21936"/><rect fill="#fff" fill-opacity=".411765" height="1" ry=".000017" width="60" x="770" y="912.21936"/><path d="m774 916.21936v38h52v-38z" fill="url(#c)"/><rect fill="url(#d)" height="3.999999" ry=".000089" width="44" x="778" y="930.21936"/><path d="m822 930.21936v4h-44l4 4v2l18 18h30v-20z" fill="url(#e)" fill-rule="evenodd" opacity=".2"/><
rect fill="url(#f)" height="3.999999" ry=".000089" width="36" x="782" y="936.21936"/></g></svg>
\ No newline at end of file
diff --git a/loleaflet/images/layout_vertical01.svg b/loleaflet/images/layout_vertical01.svg
new file mode 100644
index 000000000..4df9f7f60
--- /dev/null
+++ b/loleaflet/images/layout_vertical01.svg
@@ -0,0 +1 @@
+<svg height="15.24mm" viewBox="0 0 67.999998 53.999999" width="19.191111mm" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><linearGradient id="a" gradientUnits="userSpaceOnUse" x1="798" x2="798" y1="958.21936" y2="912.21936"><stop offset="0" stop-color="#bdc3c7"/><stop offset="1" stop-color="#dadfe1"/></linearGradient><linearGradient id="b" gradientUnits="userSpaceOnUse" x1="774" x2="818" y1="916.21936" y2="958.21936"><stop offset="0" stop-color="#383e51"/><stop offset="1" stop-color="#655c6f" stop-opacity="0"/></linearGradient><linearGradient id="c" gradientTransform="matrix(.76000004 0 0 1.3333331 327.21932 -2048.9593)" gradientUnits="userSpaceOnUse" x1="796" x2="796" y1="923.21936" y2="917.21936"><stop offset="0" stop-color="#22a7f0"/><stop offset="1" stop-color="#19b5fe"/></linearGradient><linearGradient id="d" gradientTransform="matrix(.80769231 0 0 1.3103448 767.53846 892.63315)" gradientUnits="userSpaceOnUse" x1="33" x2="33" y1="47" y2="8"><stop
offset="0" stop-color="#5e6b78"/><stop offset="1" stop-color="#768492"/></linearGradient><g transform="translate(-766 -908.21936)"><path d="m770.00009 912.21936h59.99982c.00005 0 .00009.00004.00009.00009v45.99982c0 .00005.00009-27.99991 0-13.99991v14h-14-45.99991c-.00005 0-.00009-.00004-.00009-.00009v-45.99982c0-.00005.00004-.00009.00009-.00009z" fill="url(#a)"/><rect fill="#2e3132" fill-opacity=".294118" height="1" ry=".000017" width="60" x="770" y="957.21936"/><rect fill="#fff" fill-opacity=".411765" height="1" ry=".000017" width="60" x="770" y="912.21936"/><rect fill="url(#c)" height="8.000001" ry=".000178" transform="rotate(90)" width="38" x="916.21936" y="-826"/><path d="m826 916.21936h-8v2l-2-2v38h-42l4 4h52v-38z" fill="url(#b)" fill-rule="evenodd" opacity=".2"/><path d="m774 916.21936v38h42v-38z" fill="url(#d)"/></g></svg>
\ No newline at end of file
diff --git a/loleaflet/images/layout_vertical02.svg b/loleaflet/images/layout_vertical02.svg
new file mode 100644
index 000000000..a36307260
--- /dev/null
+++ b/loleaflet/images/layout_vertical02.svg
@@ -0,0 +1 @@
+<svg height="15.24mm" viewBox="0 0 67.999998 53.999999" width="19.191111mm" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><linearGradient id="a" gradientUnits="userSpaceOnUse" x1="798" x2="798" y1="958.21936" y2="912.21936"><stop offset="0" stop-color="#bdc3c7"/><stop offset="1" stop-color="#dadfe1"/></linearGradient><linearGradient id="b" gradientUnits="userSpaceOnUse" x1="774" x2="818" y1="916.21936" y2="958.21936"><stop offset="0" stop-color="#383e51"/><stop offset="1" stop-color="#655c6f" stop-opacity="0"/></linearGradient><linearGradient id="c" gradientTransform="matrix(.76000004 0 0 1.3333331 327.21932 -2048.9593)" gradientUnits="userSpaceOnUse" x1="796" x2="796" y1="923.21936" y2="917.21936"><stop offset="0" stop-color="#22a7f0"/><stop offset="1" stop-color="#19b5fe"/></linearGradient><linearGradient id="d" gradientTransform="matrix(.80769231 0 0 1.3103448 1.53846 -15.58621)" gradientUnits="userSpaceOnUse" x1="33" x2="33" y1="47" y2="8"><stop o
ffset="0" stop-color="#5e6b78"/><stop offset="1" stop-color="#768492"/></linearGradient><g transform="translate(-766 -908.21936)"><path d="m770.00009 912.21936h59.99982c.00005 0 .00009.00004.00009.00009v45.99982c0 .00005.00009-27.99991 0-13.99991v14h-14-45.99991c-.00005 0-.00009-.00004-.00009-.00009v-45.99982c0-.00005.00004-.00009.00009-.00009z" fill="url(#a)"/><rect fill="#2e3132" fill-opacity=".294118" height="1" ry=".000017" width="60" x="770" y="957.21936"/><rect fill="#fff" fill-opacity=".411765" height="1" ry=".000017" width="60" x="770" y="912.21936"/><rect fill="url(#c)" height="8.000001" ry=".000178" transform="rotate(90)" width="38" x="916.21936" y="-826"/><path d="m826 916.21936h-8v2l-2-2v38h-42l4 4h52v-38z" fill="url(#b)" fill-rule="evenodd" opacity=".2"/><path d="m8 8v18h42v-18zm0 20v18h42v-18z" fill="url(#d)" transform="translate(766 908.21936)"/></g></svg>
\ No newline at end of file
diff --git a/loleaflet/src/control/Control.JSDialogBuilder.js b/loleaflet/src/control/Control.JSDialogBuilder.js
index 8bb22473f..0f59a10cc 100644
--- a/loleaflet/src/control/Control.JSDialogBuilder.js
+++ b/loleaflet/src/control/Control.JSDialogBuilder.js
@@ -37,6 +37,7 @@ L.Control.JSDialogBuilder = L.Control.extend({
this._controlHandlers['combobox'] = this._comboboxControl;
this._controlHandlers['comboboxentry'] = this._comboboxEntry;
this._controlHandlers['listbox'] = this._comboboxControl;
+ this._controlHandlers['valueset'] = this._valuesetControl;
this._controlHandlers['fixedtext'] = this._fixedtextControl;
this._controlHandlers['grid'] = this._containerHandler;
this._controlHandlers['frame'] = this._frameHandler;
@@ -515,6 +516,27 @@ L.Control.JSDialogBuilder = L.Control.extend({
return false;
},
+ _valuesetControl: function (parentContainer, data, builder) {
+ var elem;
+ var image;
+
+ if (!data.entries || data.entries.length === 0) {
+ return false;
+ }
+
+ for (var index in data.entries) {
+ image = data.entries[index].image;
+ image = image.substr(0, image.lastIndexOf('.'));
+ image = image.substr(image.lastIndexOf('/') + 1);
+ elem = L.DomUtil.create('div', 'layout ' + image, parentContainer);
+ $(elem).click(function () {
+ builder.callback('valueset', 'selected', data.pos);
+ });
+ }
+
+ return false;
+ },
+
_comboboxEntry: function(parentContainer, data, builder) {
var fixedtext = L.DomUtil.create('p', 'mobile-wizard', parentContainer);
fixedtext.innerHTML = builder._cleanText(data.text);
More information about the Libreoffice-commits
mailing list