summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:07:31 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 09:07:31 +0000
commitedaebb65d92a48d7075c8c1f64c5ffd87054827b (patch)
tree045c941e1851cde1665bea22d97a2976b7a5bb69
parentAdding upstream version 4:7.4.7. (diff)
downloadlibreoffice-debian.tar.xz
libreoffice-debian.zip
Adding debian version 4:7.4.7-1+deb12u1.debian/4%7.4.7-1+deb12u1debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/README83
-rw-r--r--debian/README.Debian307
-rw-r--r--debian/README.Debian-source82
-rw-r--r--debian/README.qa59
-rw-r--r--debian/branding/progress.conf1
-rw-r--r--debian/bug-presubj61
-rw-r--r--debian/changelog15787
-rw-r--r--debian/control5161
-rw-r--r--debian/control.evolution.in17
-rw-r--r--debian/control.firebird.in12
-rw-r--r--debian/control.fonts.in13
-rw-r--r--debian/control.gtk3.in49
-rw-r--r--debian/control.gtk4.in17
-rw-r--r--debian/control.help.in18
-rw-r--r--debian/control.in910
-rw-r--r--debian/control.kf5.in17
-rw-r--r--debian/control.lang.in29
-rw-r--r--debian/control.librelogo.in22
-rw-r--r--debian/control.lokit.in16
-rw-r--r--debian/control.mediawiki.in18
-rw-r--r--debian/control.nlpsolver.in14
-rw-r--r--debian/control.plasma.in14
-rw-r--r--debian/control.postgresql.in17
-rw-r--r--debian/control.qt5.in17
-rw-r--r--debian/control.qt6.in15
-rw-r--r--debian/control.reportbuilder.in55
-rw-r--r--debian/control.sdk.in70
-rw-r--r--debian/control.test-packages.in18
-rw-r--r--debian/control.ure.in172
-rw-r--r--debian/copyright296
-rw-r--r--debian/gir1.2-lokdocview-0.1.maintscript1
-rw-r--r--debian/liblibreoffice-java.lintian-overrides5
-rw-r--r--debian/liblibreoffice-java.poms32
-rw-r--r--debian/liblibreofficekitgtk.links1
-rw-r--r--debian/liblibreofficekitgtk.maintscript1
-rw-r--r--debian/libofficebean-java.poms28
-rw-r--r--debian/libreoffice-avmedia-backend-gstreamer.maintscript1
-rw-r--r--debian/libreoffice-base-core.maintscript1
-rw-r--r--debian/libreoffice-base-drivers.NEWS14
-rw-r--r--debian/libreoffice-base-drivers.lintian-overrides2
-rw-r--r--debian/libreoffice-base-drivers.maintscript1
-rw-r--r--debian/libreoffice-base-nogui.bug-control2
-rw-r--r--debian/libreoffice-base-nogui.mime11
-rw-r--r--debian/libreoffice-base-nogui.ucf1
-rw-r--r--debian/libreoffice-base.NEWS14
-rw-r--r--debian/libreoffice-base.bug-control2
-rw-r--r--debian/libreoffice-base.lintian-overrides3
-rw-r--r--debian/libreoffice-base.maintscript1
-rw-r--r--debian/libreoffice-base.manpages1
-rw-r--r--debian/libreoffice-base.mime11
-rw-r--r--debian/libreoffice-base.preinst.in21
-rw-r--r--debian/libreoffice-base.ucf1
-rw-r--r--debian/libreoffice-calc-nogui.lintian-overrides1
-rw-r--r--debian/libreoffice-calc-nogui.mime37
-rw-r--r--debian/libreoffice-calc-nogui.ucf1
-rw-r--r--debian/libreoffice-calc.bug-control1
-rw-r--r--debian/libreoffice-calc.lintian-overrides2
-rw-r--r--debian/libreoffice-calc.maintscript1
-rw-r--r--debian/libreoffice-calc.manpages2
-rw-r--r--debian/libreoffice-calc.mime37
-rw-r--r--debian/libreoffice-calc.ucf1
-rw-r--r--debian/libreoffice-common.docs1
-rw-r--r--debian/libreoffice-common.links.in37
-rw-r--r--debian/libreoffice-common.lintian-overrides2
-rw-r--r--debian/libreoffice-common.maintscript11
-rw-r--r--debian/libreoffice-common.manpages4
-rw-r--r--debian/libreoffice-common.postinst.in43
-rw-r--r--debian/libreoffice-common.postrm.in26
-rw-r--r--debian/libreoffice-common.preinst.in12
-rw-r--r--debian/libreoffice-common.triggers.in2
-rw-r--r--debian/libreoffice-common.ucf6
-rw-r--r--debian/libreoffice-core-nogui.bug-control1
-rwxr-xr-xdebian/libreoffice-core-nogui.bug-script.in16
-rw-r--r--debian/libreoffice-core.NEWS13
-rw-r--r--debian/libreoffice-core.bug-control2
-rwxr-xr-xdebian/libreoffice-core.bug-script.in20
-rw-r--r--debian/libreoffice-core.maintscript1
-rwxr-xr-xdebian/libreoffice-core.postrm.in13
-rw-r--r--debian/libreoffice-dev-common.maintscript1
-rw-r--r--debian/libreoffice-dev-doc.links1
-rw-r--r--debian/libreoffice-dev.maintscript1
-rw-r--r--debian/libreoffice-draw-nogui.bug-control1
-rw-r--r--debian/libreoffice-draw-nogui.mime13
-rw-r--r--debian/libreoffice-draw-nogui.ucf2
-rw-r--r--debian/libreoffice-draw.bug-control1
-rw-r--r--debian/libreoffice-draw.lintian-overrides1
-rw-r--r--debian/libreoffice-draw.maintscript1
-rw-r--r--debian/libreoffice-draw.manpages1
-rw-r--r--debian/libreoffice-draw.mime13
-rw-r--r--debian/libreoffice-draw.ucf2
-rw-r--r--debian/libreoffice-evolution.bug-control1
-rw-r--r--debian/libreoffice-evolution.maintscript1
-rw-r--r--debian/libreoffice-evolution.ucf1
-rw-r--r--debian/libreoffice-gnome.maintscript1
-rw-r--r--debian/libreoffice-gnome.ucf1
-rw-r--r--debian/libreoffice-gtk3.maintscript1
-rw-r--r--debian/libreoffice-help-ca-valencia.maintscript1
-rw-r--r--debian/libreoffice-help-ca.maintscript1
-rw-r--r--debian/libreoffice-help-common.links3
-rw-r--r--debian/libreoffice-help-common.maintscript1
-rw-r--r--debian/libreoffice-help-cs.maintscript1
-rw-r--r--debian/libreoffice-help-da.maintscript1
-rw-r--r--debian/libreoffice-help-de.maintscript1
-rw-r--r--debian/libreoffice-help-dz.maintscript1
-rw-r--r--debian/libreoffice-help-el.maintscript1
-rw-r--r--debian/libreoffice-help-en-gb.maintscript1
-rw-r--r--debian/libreoffice-help-en-us.maintscript1
-rw-r--r--debian/libreoffice-help-es.maintscript1
-rw-r--r--debian/libreoffice-help-et.maintscript1
-rw-r--r--debian/libreoffice-help-eu.maintscript1
-rw-r--r--debian/libreoffice-help-fi.maintscript1
-rw-r--r--debian/libreoffice-help-fr.maintscript1
-rw-r--r--debian/libreoffice-help-gl.maintscript1
-rw-r--r--debian/libreoffice-help-hi.maintscript1
-rw-r--r--debian/libreoffice-help-hu.maintscript1
-rw-r--r--debian/libreoffice-help-id.maintscript1
-rw-r--r--debian/libreoffice-help-it.maintscript1
-rw-r--r--debian/libreoffice-help-ja.maintscript1
-rw-r--r--debian/libreoffice-help-km.maintscript1
-rw-r--r--debian/libreoffice-help-ko.maintscript1
-rw-r--r--debian/libreoffice-help-nl.maintscript1
-rw-r--r--debian/libreoffice-help-om.maintscript1
-rw-r--r--debian/libreoffice-help-pl.maintscript1
-rw-r--r--debian/libreoffice-help-pt-br.maintscript1
-rw-r--r--debian/libreoffice-help-pt.maintscript1
-rw-r--r--debian/libreoffice-help-ru.maintscript1
-rw-r--r--debian/libreoffice-help-sk.maintscript1
-rw-r--r--debian/libreoffice-help-sl.maintscript1
-rw-r--r--debian/libreoffice-help-sv.maintscript1
-rw-r--r--debian/libreoffice-help-tr.maintscript1
-rw-r--r--debian/libreoffice-help-vi.maintscript1
-rw-r--r--debian/libreoffice-help-zh-cn.maintscript1
-rw-r--r--debian/libreoffice-help-zh-tw.maintscript1
-rw-r--r--debian/libreoffice-help.lintian-overrides.in15
-rw-r--r--debian/libreoffice-impress-nogui.bug-control1
-rw-r--r--debian/libreoffice-impress-nogui.mime25
-rw-r--r--debian/libreoffice-impress-nogui.ucf1
-rw-r--r--debian/libreoffice-impress.bug-control1
-rw-r--r--debian/libreoffice-impress.bug-script.in3
-rw-r--r--debian/libreoffice-impress.lintian-overrides1
-rw-r--r--debian/libreoffice-impress.maintscript1
-rw-r--r--debian/libreoffice-impress.manpages1
-rw-r--r--debian/libreoffice-impress.mime25
-rw-r--r--debian/libreoffice-impress.ucf2
-rw-r--r--debian/libreoffice-java-common.maintscript1
-rw-r--r--debian/libreoffice-kde5.maintscript1
-rw-r--r--debian/libreoffice-kf5.maintscript1
-rw-r--r--debian/libreoffice-l10n-af.maintscript1
-rw-r--r--debian/libreoffice-l10n-am.maintscript1
-rw-r--r--debian/libreoffice-l10n-ar.maintscript1
-rw-r--r--debian/libreoffice-l10n-as.maintscript1
-rw-r--r--debian/libreoffice-l10n-ast.maintscript1
-rw-r--r--debian/libreoffice-l10n-be.maintscript1
-rw-r--r--debian/libreoffice-l10n-bg.maintscript1
-rw-r--r--debian/libreoffice-l10n-bn.maintscript1
-rw-r--r--debian/libreoffice-l10n-br.maintscript1
-rw-r--r--debian/libreoffice-l10n-bs.maintscript1
-rw-r--r--debian/libreoffice-l10n-ca.maintscript1
-rw-r--r--debian/libreoffice-l10n-cs.maintscript1
-rw-r--r--debian/libreoffice-l10n-cy.maintscript1
-rw-r--r--debian/libreoffice-l10n-da.maintscript1
-rw-r--r--debian/libreoffice-l10n-de.maintscript1
-rw-r--r--debian/libreoffice-l10n-dz.maintscript1
-rw-r--r--debian/libreoffice-l10n-el.maintscript1
-rw-r--r--debian/libreoffice-l10n-en-gb.maintscript1
-rw-r--r--debian/libreoffice-l10n-en-us.maintscript1
-rw-r--r--debian/libreoffice-l10n-en-za.maintscript1
-rw-r--r--debian/libreoffice-l10n-eo.maintscript1
-rw-r--r--debian/libreoffice-l10n-es.maintscript1
-rw-r--r--debian/libreoffice-l10n-et.maintscript1
-rw-r--r--debian/libreoffice-l10n-eu.maintscript1
-rw-r--r--debian/libreoffice-l10n-fa.maintscript1
-rw-r--r--debian/libreoffice-l10n-fi.maintscript1
-rw-r--r--debian/libreoffice-l10n-fr.maintscript1
-rw-r--r--debian/libreoffice-l10n-ga.maintscript1
-rw-r--r--debian/libreoffice-l10n-gd.maintscript1
-rw-r--r--debian/libreoffice-l10n-gl.maintscript1
-rw-r--r--debian/libreoffice-l10n-gu.maintscript1
-rw-r--r--debian/libreoffice-l10n-gug.maintscript1
-rw-r--r--debian/libreoffice-l10n-he.maintscript1
-rw-r--r--debian/libreoffice-l10n-hi.maintscript1
-rw-r--r--debian/libreoffice-l10n-hr.maintscript1
-rw-r--r--debian/libreoffice-l10n-hu.maintscript1
-rw-r--r--debian/libreoffice-l10n-id.maintscript1
-rw-r--r--debian/libreoffice-l10n-in.maintscript1
-rw-r--r--debian/libreoffice-l10n-is.maintscript1
-rw-r--r--debian/libreoffice-l10n-it.maintscript1
-rw-r--r--debian/libreoffice-l10n-ja.maintscript1
-rw-r--r--debian/libreoffice-l10n-ka.maintscript1
-rw-r--r--debian/libreoffice-l10n-kk.maintscript1
-rw-r--r--debian/libreoffice-l10n-km.maintscript1
-rw-r--r--debian/libreoffice-l10n-kmr.maintscript1
-rw-r--r--debian/libreoffice-l10n-kn.maintscript1
-rw-r--r--debian/libreoffice-l10n-ko.maintscript1
-rw-r--r--debian/libreoffice-l10n-lt.maintscript1
-rw-r--r--debian/libreoffice-l10n-lv.maintscript1
-rw-r--r--debian/libreoffice-l10n-mk.maintscript1
-rw-r--r--debian/libreoffice-l10n-ml.maintscript1
-rw-r--r--debian/libreoffice-l10n-mn.maintscript1
-rw-r--r--debian/libreoffice-l10n-mr.maintscript1
-rw-r--r--debian/libreoffice-l10n-nb.maintscript1
-rw-r--r--debian/libreoffice-l10n-ne.maintscript1
-rw-r--r--debian/libreoffice-l10n-nl.maintscript1
-rw-r--r--debian/libreoffice-l10n-nn.maintscript1
-rw-r--r--debian/libreoffice-l10n-nr.maintscript1
-rw-r--r--debian/libreoffice-l10n-nso.maintscript1
-rw-r--r--debian/libreoffice-l10n-oc.maintscript1
-rw-r--r--debian/libreoffice-l10n-om.maintscript1
-rw-r--r--debian/libreoffice-l10n-or.maintscript1
-rw-r--r--debian/libreoffice-l10n-pa-in.maintscript1
-rw-r--r--debian/libreoffice-l10n-pl.maintscript1
-rw-r--r--debian/libreoffice-l10n-pt-br.maintscript1
-rw-r--r--debian/libreoffice-l10n-pt.maintscript1
-rw-r--r--debian/libreoffice-l10n-ro.maintscript1
-rw-r--r--debian/libreoffice-l10n-ru.maintscript1
-rw-r--r--debian/libreoffice-l10n-rw.maintscript1
-rw-r--r--debian/libreoffice-l10n-si.maintscript1
-rw-r--r--debian/libreoffice-l10n-sk.maintscript1
-rw-r--r--debian/libreoffice-l10n-sl.maintscript1
-rw-r--r--debian/libreoffice-l10n-sr.maintscript1
-rw-r--r--debian/libreoffice-l10n-ss.maintscript1
-rw-r--r--debian/libreoffice-l10n-st.maintscript1
-rw-r--r--debian/libreoffice-l10n-sv.maintscript1
-rw-r--r--debian/libreoffice-l10n-ta.maintscript1
-rw-r--r--debian/libreoffice-l10n-te.maintscript1
-rw-r--r--debian/libreoffice-l10n-tg.maintscript1
-rw-r--r--debian/libreoffice-l10n-th.maintscript1
-rw-r--r--debian/libreoffice-l10n-tn.maintscript1
-rw-r--r--debian/libreoffice-l10n-tr.maintscript1
-rw-r--r--debian/libreoffice-l10n-ts.maintscript1
-rw-r--r--debian/libreoffice-l10n-ug.maintscript1
-rw-r--r--debian/libreoffice-l10n-uk.maintscript1
-rw-r--r--debian/libreoffice-l10n-uz.maintscript1
-rw-r--r--debian/libreoffice-l10n-ve.maintscript1
-rw-r--r--debian/libreoffice-l10n-vi.maintscript1
-rw-r--r--debian/libreoffice-l10n-xh.maintscript1
-rw-r--r--debian/libreoffice-l10n-za.maintscript1
-rw-r--r--debian/libreoffice-l10n-zh-cn.maintscript1
-rw-r--r--debian/libreoffice-l10n-zh-tw.maintscript1
-rw-r--r--debian/libreoffice-l10n-zu.maintscript1
-rw-r--r--debian/libreoffice-l10n.ucf.in3
-rw-r--r--debian/libreoffice-librelogo.ucf1
-rw-r--r--debian/libreoffice-math-nogui.bug-control1
-rw-r--r--debian/libreoffice-math-nogui.mime14
-rw-r--r--debian/libreoffice-math-nogui.ucf1
-rw-r--r--debian/libreoffice-math.bug-control1
-rw-r--r--debian/libreoffice-math.lintian-overrides1
-rw-r--r--debian/libreoffice-math.maintscript1
-rw-r--r--debian/libreoffice-math.manpages1
-rw-r--r--debian/libreoffice-math.mime14
-rw-r--r--debian/libreoffice-math.ucf1
-rw-r--r--debian/libreoffice-mysql-connector.maintscript1
-rw-r--r--debian/libreoffice-nlpsolver.bug-control1
-rwxr-xr-xdebian/libreoffice-nlpsolver.bug-script.in2
-rw-r--r--debian/libreoffice-nlpsolver.lintian-overrides3
-rw-r--r--debian/libreoffice-officebean.maintscript1
-rw-r--r--debian/libreoffice-plasma.maintscript1
-rw-r--r--debian/libreoffice-qt5.maintscript1
-rw-r--r--debian/libreoffice-report-builder-bin.maintscript1
-rw-r--r--debian/libreoffice-report-builder.bug-control1
-rw-r--r--debian/libreoffice-report-builder.maintscript1
-rw-r--r--debian/libreoffice-report-builder.ucf1
-rw-r--r--debian/libreoffice-script-provider-bsh.maintscript1
-rw-r--r--debian/libreoffice-script-provider-js.maintscript1
-rw-r--r--debian/libreoffice-script-provider-python.bug-control1
-rw-r--r--debian/libreoffice-script-provider-python.maintscript1
-rw-r--r--debian/libreoffice-sdbc-firebird.NEWS21
-rw-r--r--debian/libreoffice-sdbc-firebird.lintian-overrides2
-rw-r--r--debian/libreoffice-sdbc-firebird.maintscript1
-rw-r--r--debian/libreoffice-sdbc-hsqldb.maintscript1
-rw-r--r--debian/libreoffice-sdbc-mysql.maintscript1
-rw-r--r--debian/libreoffice-sdbc-postgresql.maintscript2
-rw-r--r--debian/libreoffice-sdbc-postgresql.ucf1
-rw-r--r--debian/libreoffice-style-breeze.maintscript1
-rw-r--r--debian/libreoffice-style-colibre.maintscript1
-rw-r--r--debian/libreoffice-style-elementary.maintscript1
-rw-r--r--debian/libreoffice-style-karasa-jaga.maintscript1
-rw-r--r--debian/libreoffice-style-sifr.maintscript1
-rw-r--r--debian/libreoffice-style-tango.maintscript1
-rw-r--r--debian/libreoffice-subsequentcheckbase.maintscript1
-rw-r--r--debian/libreoffice-wiki-publisher.bug-control1
-rwxr-xr-xdebian/libreoffice-wiki-publisher.bug-script.in2
-rw-r--r--debian/libreoffice-wiki-publisher.lintian-overrides2
-rw-r--r--debian/libreoffice-writer-nogui.bug-control1
-rw-r--r--debian/libreoffice-writer-nogui.mime37
-rw-r--r--debian/libreoffice-writer-nogui.ucf1
-rw-r--r--debian/libreoffice-writer.bug-control1
-rw-r--r--debian/libreoffice-writer.lintian-overrides1
-rw-r--r--debian/libreoffice-writer.maintscript1
-rw-r--r--debian/libreoffice-writer.manpages3
-rw-r--r--debian/libreoffice-writer.mime37
-rw-r--r--debian/libreoffice-writer.ucf1
-rw-r--r--debian/libreoffice.bug-control2
-rw-r--r--debian/libreofficekit-data.maintscript1
-rw-r--r--debian/libreofficekit-dev.docs1
-rw-r--r--debian/libuno-cppu3.lintian-overrides1
-rw-r--r--debian/libuno-cppu3.symbols11
-rw-r--r--debian/libuno-cppuhelpergcc3-3.lintian-overrides2
-rw-r--r--debian/libuno-cppuhelpergcc3-3.symbols18
-rw-r--r--debian/libuno-purpenvhelpergcc3-3.lintian-overrides1
-rw-r--r--debian/libuno-purpenvhelpergcc3-3.symbols7
-rw-r--r--debian/libuno-sal3.lintian-overrides1
-rw-r--r--debian/libuno-sal3.symbols42
-rw-r--r--debian/libuno-salhelpergcc3-3.lintian-overrides1
-rw-r--r--debian/libuno-salhelpergcc3-3.symbols9
-rw-r--r--debian/libunoloader-java.poms28
-rw-r--r--debian/patches/0004-Remove-dependency-on-BitArray.h-from-zxing-1.2.0.patch50
-rw-r--r--debian/patches/add-access2base-doc.diff25337
-rw-r--r--debian/patches/apparmor-allow-java.security.diff14
-rw-r--r--debian/patches/apparmor-cleanups.diff35
-rw-r--r--debian/patches/apparmor-complain.diff26
-rw-r--r--debian/patches/apparmor-gnupg-tofu.diff28
-rw-r--r--debian/patches/apparmor-mesa.diff10
-rw-r--r--debian/patches/apparmor-opencl.diff20
-rw-r--r--debian/patches/apparmor-updates.diff13
-rw-r--r--debian/patches/appstream-ignore-startcenter.diff10
-rw-r--r--debian/patches/arm-fp-mode.diff15
-rw-r--r--debian/patches/boost-1.81.diff48
-rw-r--r--debian/patches/build-against-shared-lpsolve.diff27
-rw-r--r--debian/patches/cppunit-optional.diff212
-rw-r--r--debian/patches/debian-debug.diff47
-rw-r--r--debian/patches/debian-hardened-buildflags-CPPFLAGS.diff37
-rw-r--r--debian/patches/debian-hardened-buildflags-no-LO-fstack-protector-strong.diff32
-rw-r--r--debian/patches/debian-opt.diff26
-rw-r--r--debian/patches/disable-flaky-tests.diff120
-rw-r--r--debian/patches/disable-java-in-odk-build-examples-on-zero-vm.diff58
-rw-r--r--debian/patches/disable-shortcuts_tab_navigation-uitest.diff42
-rw-r--r--debian/patches/disable-unused-test-programs.diff70
-rw-r--r--debian/patches/disableClassPathURLCheck.diff10
-rw-r--r--debian/patches/do-not-ABORT_ON_NON_APPLICATION_FONT_USE.diff32
-rw-r--r--debian/patches/do-not-hide-test-output.diff99
-rw-r--r--debian/patches/dont-touch-urd.diff80
-rw-r--r--debian/patches/dragonbox-1.1.3.diff13
-rw-r--r--debian/patches/escape-url-passed-to-gstreamer.diff50
-rw-r--r--debian/patches/fix-flaky-bridgetest.diff38
-rw-r--r--debian/patches/fix-internal-hsqldb-build.diff45
-rw-r--r--debian/patches/fix-system-libfixmath.diff29
-rw-r--r--debian/patches/fix-system-lpsolve-build.diff31
-rw-r--r--debian/patches/floating-frame-targets-unneeded-protocols.diff76
-rw-r--r--debian/patches/help-msg-add-package-info.diff13
-rw-r--r--debian/patches/hide-math-desktop-file.patch15
-rw-r--r--debian/patches/hppa-is-32bit.diff13
-rw-r--r--debian/patches/hrk-euro.diff80
-rw-r--r--debian/patches/ignore-LO-special-purpose-hyperlinks-per-default.diff218
-rw-r--r--debian/patches/install-fixes.diff166
-rw-r--r--debian/patches/javadoc-optional.diff151
-rw-r--r--debian/patches/jdbc-driver-classpaths.diff35
-rw-r--r--debian/patches/jurt-soffice-location.diff20
-rw-r--r--debian/patches/make-package-modules-not-suck.diff212
-rw-r--r--debian/patches/mediwiki-oor-replace.diff51
-rw-r--r--debian/patches/mention-java-common-package.diff35
-rw-r--r--debian/patches/moreIconsDialog-accesses-internet.diff50
-rw-r--r--debian/patches/no-check-if-root.diff30
-rw-r--r--debian/patches/no-opencl-per-default.diff26
-rw-r--r--debian/patches/no-packagekit-per-default.diff21
-rw-r--r--debian/patches/reportdesign-mention-package.diff13
-rw-r--r--debian/patches/reuse-AllowedLinkProtocolFromDocument-1.diff262
-rw-r--r--debian/patches/reuse-AllowedLinkProtocolFromDocument-2.diff81
-rw-r--r--debian/patches/search-usr-share-for-images.diff137
-rw-r--r--debian/patches/sensible-lomua.diff50
-rw-r--r--debian/patches/series60
-rw-r--r--debian/patches/split-evoab.diff59
-rw-r--r--debian/patches/system-officeotron-and-odfvalidator.diff16
-rw-r--r--debian/patches/temporarily-disable-test-metadata-test.diff74
-rw-r--r--debian/patches/use-mariadb-java-instead-of-mysql-java.diff59
-rw-r--r--debian/patches/warn-about-exotic-protocols-as-well.diff81
-rw-r--r--debian/patches/work-around-expired-certificiate-in-test.diff24
-rw-r--r--debian/python3-access2base.links1
-rw-r--r--debian/python3-uno.NEWS11
-rw-r--r--debian/python3-uno.lintian-overrides2
-rw-r--r--debian/python3-uno.ucf1
-rwxr-xr-xdebian/rules4205
-rwxr-xr-xdebian/scripts/fix_component_tarballs.sh36
-rwxr-xr-xdebian/scripts/get_libebook_dep.sh33
-rwxr-xr-xdebian/scripts/gid2pkgdirs.sh177
-rwxr-xr-xdebian/scripts/joinctrl.py66
-rwxr-xr-xdebian/scripts/locale-gen32
-rwxr-xr-xdebian/scripts/move-if-change32
-rwxr-xr-xdebian/scripts/stat_pos.sh32
-rw-r--r--debian/shell-lib-extensions.sh12
-rw-r--r--debian/shell-lib-lool.sh5
-rw-r--r--debian/shlibs.override.icu5
-rw-r--r--debian/shlibs.override.libc1
-rw-r--r--debian/shlibs.override.libcmis2
-rw-r--r--debian/shlibs.override.libetonyek1
-rw-r--r--debian/shlibs.override.liblangtag1
-rw-r--r--debian/shlibs.override.libmwaw1
-rw-r--r--debian/shlibs.override.libodfgen1
-rw-r--r--debian/shlibs.override.librevenge1
-rw-r--r--debian/shlibs.override.libstaroffice1
-rw-r--r--debian/shlibs.override.libvisio1
-rw-r--r--debian/shlibs.override.libwpd1
-rw-r--r--debian/shlibs.override.libwpg1
-rw-r--r--debian/shlibs.override.libwps1
-rw-r--r--debian/shlibs.override.orcus2
-rw-r--r--debian/soffice.sh21
-rw-r--r--debian/source/format1
-rw-r--r--debian/source/include-binaries10
-rw-r--r--debian/source/lintian-overrides43
-rw-r--r--debian/templates/debian-presentation-background.xcfbin0 -> 2202921 bytes
-rw-r--r--debian/templates/debian-presentation.otpbin0 -> 726796 bytes
-rw-r--r--debian/templates/soffice-template.desktop.in8
-rwxr-xr-xdebian/tests/access2base-import4
-rw-r--r--debian/tests/control127
-rw-r--r--debian/tests/control.in127
-rwxr-xr-xdebian/tests/cppunit-connectivity-mysql121
-rwxr-xr-xdebian/tests/cppunit-subsequentcheck183
-rwxr-xr-xdebian/tests/junit-subsequentcheck64
-rwxr-xr-xdebian/tests/odk-build-examples50
-rwxr-xr-xdebian/tests/odk-build-examples-java56
-rw-r--r--debian/tests/patches/cppunit-standalone.diff15
-rw-r--r--debian/tests/patches/disable-db-tests.diff130
-rw-r--r--debian/tests/patches/junit-subsequentcheck-standalone.diff139
-rw-r--r--debian/tests/patches/odk-build-examples-standalone.diff50
-rw-r--r--debian/tests/patches/smoketest-disable-extension-tests.diff98
-rw-r--r--debian/tests/patches/smoketest-standalone.diff17
-rw-r--r--debian/tests/patches/testtools-standalone.diff227
-rw-r--r--debian/tests/patches/uicheck-standalone.diff69
-rwxr-xr-xdebian/tests/pyuno-import8
-rwxr-xr-xdebian/tests/slowcheck60
-rwxr-xr-xdebian/tests/smoketest56
-rwxr-xr-xdebian/tests/test-extension40
-rwxr-xr-xdebian/tests/test-extension-shared34
-rwxr-xr-xdebian/tests/testtools-bridgetest57
-rwxr-xr-xdebian/tests/uicheck-cui63
-rwxr-xr-xdebian/tests/uicheck-sc63
-rwxr-xr-xdebian/tests/uicheck-sd63
-rwxr-xr-xdebian/tests/uicheck-sfx263
-rwxr-xr-xdebian/tests/uicheck-svx63
-rwxr-xr-xdebian/tests/uicheck-sw63
-rwxr-xr-xdebian/tests/uicheck-uitest63
-rwxr-xr-xdebian/tests/uicheck-writerperfect63
-rwxr-xr-xdebian/tests/unitcheck72
-rwxr-xr-xdebian/tests/uno-import4
-rw-r--r--debian/upstream/metadata7
-rw-r--r--debian/upstream/signing-key.asc66
-rw-r--r--debian/ure-java.bug-script.in16
-rw-r--r--debian/ure-java.lintian-overrides1
-rw-r--r--debian/vars.alpha3
-rw-r--r--debian/vars.amd643
-rw-r--r--debian/vars.arm3
-rw-r--r--debian/vars.arm643
-rw-r--r--debian/vars.armel3
-rw-r--r--debian/vars.armhf3
-rw-r--r--debian/vars.hppa3
-rw-r--r--debian/vars.i3863
-rw-r--r--debian/vars.ia643
-rw-r--r--debian/vars.kfreebsd-amd643
-rw-r--r--debian/vars.kfreebsd-i3863
-rw-r--r--debian/vars.m68k3
-rw-r--r--debian/vars.mips3
-rw-r--r--debian/vars.mips643
-rw-r--r--debian/vars.mips64el3
-rw-r--r--debian/vars.mipsel3
-rw-r--r--debian/vars.powerpc3
-rw-r--r--debian/vars.powerpcspe3
-rw-r--r--debian/vars.ppc643
-rw-r--r--debian/vars.ppc64el3
-rw-r--r--debian/vars.s3903
-rw-r--r--debian/vars.s390x3
-rw-r--r--debian/vars.solaris-i3863
-rw-r--r--debian/vars.sparc3
-rw-r--r--debian/vars.sparc643
-rw-r--r--debian/watch40
-rw-r--r--debian/xmerge-javadoc.in7
465 files changed, 60480 insertions, 0 deletions
diff --git a/debian/README b/debian/README
new file mode 100644
index 000000000..01e7967e5
--- /dev/null
+++ b/debian/README
@@ -0,0 +1,83 @@
+LibreOffice build system
+------------------------
+
+Building the packages from source
+=================================
+Overview:
+ apt-get source libreoffice
+ apt-get build-dep libreoffice (to install build dependencies)
+ cd <source directory>
+ debuild
+
+Changing the build behaviour with DEB_BUILD_OPTIONS
+---------------------------------------------------
+These options are supported:
+
+ debug - build with FULL debug symbols. Default is just to build
+ with SMALL ones since the deb otherwise gets too big
+ ((>400M, ca. 1GB I-S))
+
+ ccache - enable the use of ccache during the build. This is highly
+ recommended if you plan on building the package more than
+ once, or doing any development on the packages. Be aware
+ that you need EXTRAPACKAGES="ccache" in /etc/pbuilderrc
+ when trying to build libreoffice with ccache in
+ $DEB_BUILD_OPTIONS under pbuilder (this has no effect
+ on speed, hough because the cache does not persist in
+ pbuilder)
+
+ parallel=<n>
+ - enable n projects to be built in parallel.
+ The log output can get a little confusing, and some projects
+ may fail still. You need to remove config.status if you
+ change this value after interrupting a build.
+
+ lang=<code>
+ - Build only the specified language
+
+ nocheck
+ - disable run of tests when enabled in rules
+
+
+The targets that are built during the package build
+---------------------------------------------------
+
+- targets run during the package build -
+
+unpack - Does prerequisites for the build: packing, unpacking etc.
+
+build - as the name says
+
+install - Copy files from debian/tmp/pkg into the correct locations
+ for the final package layout in debian/libreoffice*
+ where we need to do that here because it affects arch-dep
+ and arch-indep stuff and therefore cannot be done in
+ install-arch / install-indep.
+
+install-arch - installs arch-dependent stuff into the arch-dep. packages
+install-indep - " "-independent " " " "-indep. packages
+
+langpackgs - Installs the language packgs
+helppkgs - Installs the help packages
+
+maintscripts - Generates the maintainer scripts
+
+get-orig-source - gets original source tarballs and unpacks them
+ GIT_BASEURL can be set to a local mirror
+ GIT_BRANCH is the branch to clone from the repos
+ GIT_TAG is tag that should be packed
+ GIT_BRANCH and GIT_TAG can both be master
+
+Building the package from git master
+====================================
+To do a build from git master, do:
+ mkdir libreoffice-git
+ cd libreoffice-git
+ git clone https://salsa.debian.org/libreoffice-team/libreoffice/libreoffice.git debian
+ ./debian/rules unpack GIT_BRANCH=master GIT_TAG=master SOURCE_TARBALLS=n
+ dpkg-buildpackage
+
+Build system file layout
+========================
+debian/scripts:
+ Directory containing various debian-specific build-related scripts.
diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 000000000..c27c3d5c6
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,307 @@
+ Readme for libreoffice package for Debian
+ --------------------------------------------
+
+Contents
+========
+Introduction
+Quick start
+Printer setup
+ Native CUPS support
+ Non-CUPS systems
+Language support
+ Spellcheck dictionaries, Hyphenation patterns and Thesauri
+ Help packages
+Display and crashing problems
+ X server crashes
+Font problems
+ Why are the menu fonts smaller than in older versions?
+ Changing the default user interface font typeface for non-KDE/Gnome desktops
+Disabling the splash screen
+AppArmor problems
+More information about LibreOffice in Debian
+
+
+Introduction
+============
+Welcome to the LibreOffice packages for the Debian distribution. These
+packages are of the release of LibreOffice with the following
+modifications:
+
+ * Packaged as libreoffice-core (architecture-dependent core files),
+ libreoffice-common (architecture-independent common files),
+ libreoffice-{calc,writer,draw,impress,base} (the LibreOffice modules)
+ libreoffice-l10n-<lang> and libreoffice-help-<lang> and
+ other subpackages (-filters-* for lesser used filters, -gtk/-gnome/-kde,
+ ttf-opensymbol for the OpenSymbol font, ...).
+
+ * Integration with other Debian packages:
+ - Global desktop integration for all users for KDE and Gnome desktops.
+ Menu entries for all window managers that support the Debian 'menu'
+ package.
+
+ * Some extra features not yet present in official releases:
+ - Many of the patches included in the Ximian edition
+
+ * Extra documentation - this README and man pages.
+
+
+Quick start
+===========
+
+To start using LibreOffice, execute the command
+
+ libreoffice
+
+as the user which you wish to start LibreOffice as. This will create the
+necessary user files in ~/.libreoffice/3 for you. Alternatively, you
+can start LibreOffice from the menus, if you have the menu package
+installed/use KDE or GNOME.
+
+Printing
+========
+
+Printing on CUPS systems
+------------------------
+The Debian packages include native CUPS support from version 1.1.1-3. This
+is standard in all OpenOffice.org versions since 2.0.
+When LibreOffice detects a CUPS system, it will download printer settings for
+all CUPS queues, and these can be set from within the printer properties dialog.
+
+If you wish to add additional filters or print commands, you can add them
+using 'spadmin'. Note that the 'Add a printer' option is disabled - you
+should add printers using your favourite CUPS frontend.
+
+When creating a new document, LibreOffice will use the default paper size of
+your default CUPS printer queue. If your new documents have the wrong paper
+size, please check the configuration of your printer.
+
+Non-CUPS systems (lpr, lprng, SAL_DISABLE_CUPS=1)
+---------------------------------
+There is a tool supplied with LibreOffice for setting up printers. You can
+execute this with the command
+
+ /usr/lib/openoffice/program/spadmin
+
+To change the page size and other default settings on non-CUPS systems,
+modify /etc/openoffice/psprint.conf. The settings are documented in there.
+
+Language support
+================
+You can get foreign language support by installing the
+libreoffice-l10n-<lang> package for your language. You will also need the
+'locales' (or belocs-locales-data for some locales, alternatively locales-all
+if you want all locales) package installed.
+The user interface language is selected according to your locale(1) settings.
+
+To change the user interface language for all users, run
+
+ dpkg-reconfigure locales
+
+[ This is not needed when you install locales-all ]
+
+To change the language for just one user, you must arrange for the LC_MESSAGES
+or LANG environment variable to be set. You can list all available locales
+with the command 'locale -a'.
+For example, to run LibreOffice in German from the command line:
+
+ LANG=de_DE libreoffice
+
+Spellcheck dictionaries, Hyphenation patterns and Thesauri
+----------------------------------------------------------
+Currently, there are dictionaries available for Afrikaans, Arabic, Armenian,
+Bulgarian, Catalan, Croatian, Czech, Danish, Dutch, English (AUS/GB/US),
+Esperanto, Estonian, Farsi, Finnish, French, Galician, German (DE/CH/AT),
+Greek, Hebrew, Hungarian, Irish (Gaeilge), Italian, Kurdish, Latvian,
+Lithuanian, Manx Gaelic, Norwegian Bokmal, Norwegian Nynorsk, Polish,
+Portuguese, Portuguese (Brazilian), Russian, Scots Gaelic, Slovak, Slovenian,
+Spanish, Swahili, Swedish, Thai, Ukrainian and Uzbek.
+Dictionaries are packaged as myspell-<lang> (or, for newer ones improved
+for hunspell hunspell-<lang>).
+
+Currently, there are thesauri available for Czech, English (AUS/GB/US),
+German (DE/CH), Italian, Polish and Slovak.
+Thesauri are packaged as mythes-<lang>
+
+Currently, there are hyphenation patterns available for English (USA),
+Croatian, Estonian, German, Hungarian, Italian, Polish, Slovenian and
+Lithuanian.
+Hyphenation patterns are packaged as hyphen-<lang>.
+
+Help packages
+-------------
+Currently, there are localized help packages available for
+Bulgarian, Chinese, Czech, Danish, Dutch, English (GB), English (USA),
+Estonian, French, Galician, German, Hungarian, Italian, Japanese, Khmer,
+Macedonian, Polish, Portuguese (Brazil), Russian, Slovakian, Slovenian and
+Spanish and Swedish.
+They are packaged as libreoffice-help-<lang>.
+
+Problems
+================================
+
+Here are some problems that have been reported with this version. If you do
+not see your problem here, please check for open bug reports:
+
+ http://bugs.debian.org/debian-openoffice@lists.debian.org
+
+1. If you are using NFS mounted file systems, you should make sure that locking
+is functioning:
+
+ 'Make sure NFS lockd/statd is running on the client, or mount the NFS export
+ with the 'nolock' option.
+
+ If /usr gets mounted from an initrd, check 'ps' output once the system is
+ fully booted to ensure that you see a [lockd] kernel process, or an
+ 'rpc.lockd' / 'rpc.statd' userspace process.
+
+ If not, just issue your mount command again (no need to even -o remount it
+ seems!) and run /etc/init.d/nfs-common restart.' (Thanks to Gavin Hamill)
+
+ See this mailing list thread for more information:
+ http://lists.debian.org/debian-openoffice/2004/debian-openoffice-200402/msg00223.html
+
+X server crash with Matrox cards
+--------------------------------
+If your X server is using the mga driver, you may find that your X server
+crashes. You can work around this problem by adding this line to the mga
+Device section:
+
+ Option "XaaNoScreenToScreenColorExpandFill"
+
+There is a bug already open against xserver-xfree86 for this problem. Thanks
+to Philip Armstrong for this information.
+
+LibreOffice crash with nVidia cards
+--------------------------------------
+It seems that LibreOffice can trigger some obscure bugs in the X server
+drivers for Nvidia cards too, especially if you have more than one processor.
+Try updating your drivers to the latest version.
+
+Moreover LibreOffice may hang and takes X with it when RenderAccel
+is enabled when using the proprietary nVidia Drivers. Disabling this option
+helps then.
+
+Font problems
+=============
+
+Why are the menu fonts smaller than in older versions?
+------------------------------------------------------
+This is caused by a change in the way LibreOfffice interprets your X server DPI
+setting.
+This setting, when correctly configured, means that software can display text
+at its true size on the display.
+
+The official OpenOffice.org version assumes that anyone who has their X server
+configured with a DPI of less than 96 has not actually configured it at all,
+and sets it back to 96. Unfortunately, this has the side effect that
+displays with a lower DPI setting, such as some LCD laptop displays, cannot
+display the page at its true size.
+
+So you can fix this by correctly setting the DPI for your X server. Gnome
+users will find that it is set to 96 DPI by default; others may need to edit
+their X server configuration.
+
+The best way to get the correct DPI setting is to add a 'DisplaySize' entry to
+the Monitor section. From the XF86Config-4 man page:
+
+ DisplaySize width height
+ This optional entry gives the width and height, in millimetres, of the
+ picture area of the monitor. If given this is used to calculate the
+ horizontal and vertical pitch (DPI) of the screen.
+
+If you set this value correctly, X will calculate and use the correct DPI
+setting, even if you use several different display resolutions.
+
+From Nikita V. Youshchenko <yoush at cs.msu.su>:
+
+- Many display manager configurations pass the option "-dpi 100" to the X
+ server by default, overriding any autodetected DPI. This has to be removed
+ for DisplaySize to work. The file that you need to edit varies depending on
+ the way your X server is started:
+ xdm: /etc/X11/xdm/Xservers
+ kdm: /etc/kde3/kdm/Xservers
+ gdm: /etc/gdm/gdm.conf
+ startx: /etc/X11/xinit/xserverrc
+
+- Gnome's gconf overrides the autodetected DPI, by setting Xft.dpi to a value
+ entered in configuration dialog, 96 by default. I don't know what is
+ the clean fix for this. Perhaps it should be fixed on the Gnome side.
+
+From Juergen Kreileder <jk at blackdown.de>:>
+
+- Note that with most recent graphics cards and monitors XFree86 is able to
+ get the monitor size (and thus the correct dpi value) through ddc.
+ (**) NVIDIA(0): Validated modes for display device DFP-0:
+ (**) NVIDIA(0): Default mode "1600x1200": 189.0 MHz, 87.5 kHz, 70.0 Hz
+ (II) NVIDIA(0): Virtual screen size determined to be 1600 x 1200
+ (--) NVIDIA(0): Display dimensions: (410, 310) mm
+ (--) NVIDIA(0): DPI set to (99, 98)
+ (That's with the proprietary NVIDIA drivers but other XFree86 drivers have
+ that support too.)
+
+If you use KDE or Gnome, LibreOffice will use the same font face and size as
+your desktop environment. If you use another window manager, you can either
+let it pick a default font itself, or change the font to be used (see next
+section), or set the OOO_FORCE_DESKTOP environment variable to
+kde (for kde3)/kde4 or gnome, to use KDE or Gnome settings respectively.
+
+Changing the default user interface font typeface for non-KDE/Gnome desktops
+----------------------------------------------------------------------------
+If you do not want to use KDE or Gnome settings and want to change font sizes
+within LibreOffice, you can configure the user interface font as follows:
+
+- Font size -
+
+You can change the font scaling using the user interface:
+
+ Tools Menu -> Options -> View -> Scale
+
+- Font typeface -
+
+You can change the default font typeface by replacing it with a different font
+installed on your system. This can be done using the font replacement function.
+Choose Tools - Options - LibreOffice - Font Replacement to access this
+function.
+
+To change the font of the LibreOffice user interface, you have to replace
+the default font "Andale Sans UI" with another font and mark the "always"
+setting for this replacement. "Andale Sans UI" is not selectable and has to be
+typed in. The replacement font has to be a font which supports the requested
+locale ( e.g for Korean language the replacement font has to be a font
+including Korean characters).
+
+Refer to the LibreOffice Help for a detailed explanation of the font
+replacement dialog.
+
+Disabling the splash screen
+===========================
+If you don't like the splash screen staying in front of other windows while
+LibreOffice is loading, you can disable it by editing
+/etc/openoffice/sofficerc. Change Logo=1 to Logo=0.
+
+AppArmor problems
+=================
+
+LibreOffice in Debian ships with AppArmor profiles:
+
+ /etc/apparmor.d/usr.lib.libreoffice.*
+
+To debug issues with these AppArmor profiles, see:
+
+ https://wiki.debian.org/AppArmor/Debug
+
+If you are using custom settings such as a custom env:UserInstallation
+directory, you may need to adjust them to match your local setup.
+In this example, you would need to add your custom
+env:UserInstallation to @{libo_user_dirs} in the
+usr.lib.libreoffice.program.soffice.bin profile.
+
+More information about LibreOffice in Debian
+===============================================
+Please read the official README.gz (in the same directory as this file), too.
+
+If you have questions, either post to our the mailing list:
+
+ http://lists.debian.org/debian-openoffice
+
+The Debian LibreOffice team
diff --git a/debian/README.Debian-source b/debian/README.Debian-source
new file mode 100644
index 000000000..7b9f523b2
--- /dev/null
+++ b/debian/README.Debian-source
@@ -0,0 +1,82 @@
+Package directory modes
+=======================
+The packages can be built directly from a set of git checkouts (vcs mode),
+or from a set of release tarballs (tarball mode).
+
+Vcs mode is useful if you want to work on libreoffice during the development
+cycle. You can check out the latest sources and track them while you make
+changes.
+
+Tarball mode is used to prepare packages of official libreoffice releases
+from the tarballs created by upstream.
+
+Source package creation steps for tarball mode
+==============================================
+The .orig.tar.gz consists of the (separate) source tarballs available
+from The Document Foundation from
+http://download.documentfoundation.org/libreoffice/src/<version/
+
+The libreoffice-x.y.z.a.tar.xz is taken verbatim as original tarball:
+$ ln -s libreoffice-x.y.z.a.tar.xz libreoffice_x.y.z.orig.tar.xz
+$ tar xfvJ libreoffice-x.y.z.a.tar.xz
+
+For a full build you also need helpcontent2 and translations (and the external
+modules' tarballs) which normally are git submodules and/or downloaded during
+the build.
+
+As dpkg-source expects e.g. helpcontent2 as a subdir we can't directly
+symlink (as the tarball contains libreoffice-x.y.z.a/helpcontent2).
+We need to create them manually/repack them:
+
+$ tar xfvJ libreoffice-helpcontent2-x.y.z.a.tar.xz
+$ tar xfvJ libreoffice-translations-x.y.z.a.tar.xz
+$ cd libreoffice-x.y.z.a
+$ for i in helpcontent2 translations tarballs; do \
+ tar cfvJ ../libreoffice_5.2.1.orig-$i.tar.xz $i; \
+ done
+
+The get-orig-source debian/rules target does this with our custom
+mk-origtargz script.
+
+Given those files are not in the tarballs above they need to be removed
+as otherwise dpkg complains
+$ rm ChangeLog-*
+
+We also need the "tarballs".
+A standard upstream build downloads it during the build, but we neither can't nor want it here of course. So:
+
+$ rm -rf tarballs
+$ mkdir -p tarballs
+$ ./autogen.sh $(filter-out --disable-fetch-external,$(CONFIGURE_FLAGS)) --with-all-tarballs
+$ make download gb_LO_VER=<version>
+
+or base on an old version and add/remove the files manually and/or symlink
+to the old version if this didn't change - see git diff of download.lst. This
+is even better given we probably want to add only needed stuff there, and not
+all tarballs (most of those we don't use)
+
+See the "Format: 3.0 (quilt)" section dpkg-source(1) for more details.
+
+Package directory layout - vcs mode
+===================================
+
+In vcs mode we are working directly from checkouts of the libreoffice sources.
+
+We pull in sources to these places:
+
+ "top" directory - checkout of LO's "core" repo
+ debian - git packaging repository from pkg-openoffice project on alioth
+ helpcontent2 - checkout of LO's "help" repo (git submodule)
+ translations - checkout of LO's "translations" repo (git submodule)
+ tarballs - see above in tarball mode
+
+$ git clone git://gerrit.libreoffice.org/core
+$ cd core
+$ git submodule init
+
+(maybe remove dictionaries again, see .git/config, we don't need it here.)
+
+./g pull -r (git pull -r, but also does the necessary steps for the submodules)
+
+For tarballs/, see above
+
diff --git a/debian/README.qa b/debian/README.qa
new file mode 100644
index 000000000..3da75a9fe
--- /dev/null
+++ b/debian/README.qa
@@ -0,0 +1,59 @@
+LibreOffice QA Tools
+
+smoketest
+=========
+
+smoketest executes a set of macros that create a minimal document in
+each of LibreOffice's applications, tests cut&paste and
+saving/loading in various formats.
+
+Invoke it as oosmoketest.
+
+This program manipulates the LibreOffice user configuration, USE IT
+WITH A DEDICATED USER ACCOUNT if you value your settings.
+
+qadevOOo
+========
+
+qadevOOo is a framework for executing tests for the LibreOffice
+API. It is documented at
+http://qa.openoffice.org/qadevOOo_doc/user-guide.html
+
+Predefined properties files exist in /usr/lib/openoffice/qadevOOo.
+
+Invoke it like e.g:
+
+ ootestapi -ini /usr/lib/openoffice/qadevOOo/java.props -o sd.SdMasterPage
+
+That properties files specify AppExecutionCommand, i.e. an office will
+be started if necessary. Some tests, however seem to work better if
+the office was started manually, as written in the user guide.
+
+ /usr/lib/openoffice/program/soffice "-accept=socket,host=localhost,port=8100;urp;"
+
+Use this invocation and not ooffice to prevent interference with the
+quickstarter code.
+
+testtool
+========
+
+testtool is a framework for executing tests by automating actions in
+LibreOffice's user interface. It is documented at
+http://qa.openoffice.org/qatesttool/index.html
+
+Test scripts for testtool are available in the
+libreoffice-qa-ui-tests package.
+
+Start it as ootesttool.
+
+If you're starting it for the first time, create a profile in
+Extras->Settings where you specify the location of test scripts and
+output path for log files. The default values point to the scripts
+from the libreoffice-qa-ui-tests package, so simply giving a name
+to the profile and pressing the "New" button is enough.
+
+Then open a test script and press F5 to start the test.
+
+Some test scripts may change your LibreOffice user
+configuration. USE IT WITH A DEDICATED USER ACCOUNT if you value your
+settings.
diff --git a/debian/branding/progress.conf b/debian/branding/progress.conf
new file mode 100644
index 000000000..59ff72ce4
--- /dev/null
+++ b/debian/branding/progress.conf
@@ -0,0 +1 @@
+PROGRESSBARCOLOR=215,7,81
diff --git a/debian/bug-presubj b/debian/bug-presubj
new file mode 100644
index 000000000..b0b6cfc7c
--- /dev/null
+++ b/debian/bug-presubj
@@ -0,0 +1,61 @@
+Reporting a bug against LibreOffice
+--------------------------------------
+I) Make sure it's a LibreOffice bug after all: #398923 and its friends for
+ example are not.
+ Set the Version: header right. If you found a bug in a specific version,
+ set that as version:, even if you in the meanwhile upgraded. If you are on
+ an up-to-date version and tried old versions and they have the bug, too, set
+ the Version: header to the earliest version you found it in (of course, if
+ versions inbetween don't have the bug use the version in which it reappeared
+ and sustained to the current version)
+
+II) Check on the BTS (http://bugs.debian.org/src:libreoffice) whether the
+ bug already is reported. Do *NOT* report a new one then. For judging whether
+ it's already reported, read *ALL* the bugs, think, try and use common sense.
+
+III) If you have crashes with a document, try another one. If only that or
+ similar docs causes problems please attach THIS (or a similar type one
+ causing it). Otherwise, don't file a bug, we can't look at it anyway.
+
+IV) Please attach more info if possible (see
+ https://wiki.documentfoundation.org/QA/BugReport/Debug_Information#GNU.2FLinux).
+ Install libreoffice-*-dbgsym or libreoffice-dbg before doing this (and maybe
+ the packages it Recommends and/or -dbgsym/-dbg of the libraries LO depends
+ on).
+ Please note that those *-dbgsym packages are not in the main archive; you
+ need to add the debug archive for that.
+ See https://wiki.debian.org/AutomaticDebugPackages
+ Please also read /usr/share/doc/libreoffice-common/README.gz for common
+ problems ("Problems During Program Startup")
+ If you have NFS/Samba/... file locking problems (i.e. files opened
+ read-only when they should be read-write), also see the "File Locking"
+ section in above file.
+
+V) If the bug is also in the version you can get from www.libreoffice.org, file
+ it there (see https://wiki.documentfoundation.org/QA/BugReport) in the first
+ place. If you really think this also should be a bug in the Debian BTS
+ (because it's (release-)critical or otherwise important) please file a bug
+ there too *BUT* note the TDF bug number in the bug or mark it forwarded
+ yourself if you can. Especially this is for feature requests.
+ If you tested other LibreOffice packages and the bug is (not) in version
+ foo from bar, mention that, too.
+
+VI) Only report bugs on completely up-to-date systems. Don't file bugs on a
+ obsolete version and neither on sid/testing systems really old. Nor on
+ backports, see https://backports.debian.org/Instructions/#index6h2. If bugs
+ got fixed in sid, it doesn't make sense to file them anymore. (Exception
+ is security bugs or really critical bugs which should be get fixed in
+ stable.) When you think a dependency is missing/wrong/too lax please be
+ *sure* that this is the case before reporting it. Most times it isn't.
+ Use common sense and the bug severities for judging here. When you think
+ you have an up-to-date system, check whether you really have one.
+ (And do a dist-upgrade, try to reproduce the bug again).
+ Also don't report bugs on broken mix systems unless you are sure about the
+ dependencies/conflicts (see above).
+
+VII) Please give as much info as possible (installed LibreOffice packages, installed
+ extensions, "special" configs, additions, changes, whatever). Better too
+ much than too less. (See #396225 for example which was caused by an
+ unsupportable, non-free extension)
+
+Thanks.
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 000000000..a2e78a5a9
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,15787 @@
+libreoffice (4:7.4.7-1+deb12u1) bookworm-security; urgency=high
+
+ * debian/patches/escape-url-passed-to-gstreamer.diff: add from
+ libreoffice-7-5; fixes CVE-2023-6185: "Improper input validation
+ enabling arbitrary Gstreamer pipeline injection"
+ * debian/patches/floating-frame-targets-unneeded-protocols.diff,
+ debian/patches/warn-about-exotic-protocols-as-well.diff,
+ debian/patches/ignore-LO-special-purpose-hyperlinks-per-default.diff,
+ debian/patches/reuse-AllowedLinkProtocolFromDocument-{1,2}.diff:
+ add from libreoffice-7-5; fixes CVE-2023-6186: "Link targets allow
+ arbitrary script execution"
+ * debian/patches/work-around-expired-certificiate-in-test.diff: add from
+ upstream https://gerrit.libreoffice.org/c/core/+/159909
+
+ -- Rene Engelhard <rene@debian.org> Tue, 28 Nov 2023 17:39:15 +0000
+
+libreoffice (4:7.4.7-1) bookworm; urgency=medium
+
+ * "New" upstream release
+
+ * debian/control.postgresql.in:
+ - depend on libreoffice-core-nogui | libreoffice-core (like the other
+ -sdbc-*) (closes: #1034792)
+ * debian/rules:
+ - don't remove tabviewbar.ui in -impress-nogui (closes: #1028290)
+
+ -- Rene Engelhard <rene@debian.org> Sat, 27 May 2023 14:00:08 +0200
+
+libreoffice (4:7.4.5-3) unstable; urgency=high
+
+ * debian/patches/sc-stack-parameter-count.diff: fix CVE-2023-0950
+ ("Array Index UnderFlow in Calc Formula Parsing")
+ * debian/rules, debian/tests/*: don't fail if ulimit -c unlimited fails
+ (like in ci.d.n infrastructure after the bookworm upgrade...)
+ * debian/patches/CVE-2023-2255.diff:
+ fix CVE-2023-2555 ("Remote documents loaded without prompt via IFrame")
+ * debian/changelog:
+ - mention CVE-2022-38745 in 1:7.3.1-1s changelog
+ - fix typo in last upload (s/choosen/chosen/), thanks lintian
+
+ -- Rene Engelhard <rene@debian.org> Mon, 22 May 2023 18:00:45 +0200
+
+libreoffice (4:7.4.5-2) unstable; urgency=medium
+
+ * fontconfig-2.14.1-no-RGB-stripes-layout-for-sub-pixel-rendering.diff:
+ revert this local patch before/after the tests ...
+ * debian/control.in:
+ - ... but build-conflict against affected fontconfig-configs (with
+ <!nocheck>) instead since it now removes the offending config per default
+ (buildd chroot...) if not chosen otherwise via debconf (see #1030000)
+ * debian/rules:
+ - Do not add documentation symlinks when not building documentation,
+ thanks Vagrant Cascadian (closes: #1030270)
+
+ -- Rene Engelhard <rene@debian.org> Sun, 05 Feb 2023 18:40:59 +0100
+
+libreoffice (4:7.4.5-1) unstable; urgency=medium
+
+ * New upstream hotfix release
+
+ -- Rene Engelhard <rene@debian.org> Thu, 26 Jan 2023 20:42:19 +0000
+
+libreoffice (4:7.4.4-8) unstable; urgency=medium
+
+ * The "(More) 'Fun' with epochs" release.
+
+ * debian/control.in:
+ - update -common Breaks: on -core after the epoch bumps (and add
+ -core-nogui) (closes: #1029534)
+
+ -- Rene Engelhard <rene@debian.org> Wed, 25 Jan 2023 22:43:15 +0100
+
+libreoffice (4:7.4.4-7) unstable; urgency=medium
+
+ * The "if something goes wrong it really does" or
+ "Don't do stuff in a hurry" release
+ * bump all epochs again since I again uploaded 7.5.0 to unstable
+ accidentially in a hurry. At least we can now consistently set the epoch
+ to 4: for all packages (as was done in experimental already)
+
+ -- Rene Engelhard <rene@debian.org> Mon, 23 Jan 2023 07:07:49 +0100
+
+libreoffice (2:7.4.4-6) unstable; urgency=medium
+
+ * also bump epoch for libreoffice-wiki-publisher and libreoffice-nlpsolver
+ to 1: ...
+
+ -- Rene Engelhard <rene@debian.org> Mon, 23 Jan 2023 06:12:49 +0100
+
+libreoffice (2:7.4.4-5) unstable; urgency=medium
+
+ * bump fonts-opensymbol epoch to 3:
+
+ -- Rene Engelhard <rene@debian.org> Sun, 22 Jan 2023 22:35:47 +0100
+
+libreoffice (2:7.4.4-4) unstable; urgency=medium
+
+ * reupload to fix accidential 7.5.0 upload to unstable
+
+ -- Rene Engelhard <rene@debian.org> Sun, 22 Jan 2023 10:23:53 +0100
+
+libreoffice (1:7.4.4-3) unstable; urgency=medium
+
+ * reupload with fixed control...
+
+ -- Rene Engelhard <rene@debian.org> Wed, 18 Jan 2023 05:44:11 +0000
+
+libreoffice (1:7.4.4-2) unstable; urgency=medium
+
+ * fontconfig-2.14.1-no-RGB-stripes-layout-for-sub-pixel-rendering.diff:
+ as name says, fix vcls testSimpleText with fontconfig-config 2.14.1-3
+ (closes: #1029104). Apply before test and unapply after for now to not
+ install it in fonts-opensymbol (as we for now are patching that file)
+
+ -- Rene Engelhard <rene@debian.org> Tue, 17 Jan 2023 21:01:57 +0100
+
+libreoffice (1:7.4.4-1) unstable; urgency=medium
+
+ * LibreOffice 7.4.4 final release (identical to rc2)
+
+ * debian/control.in: fix Vcs-Git:
+ * debian/tests/control: regen to fix unused tests' depends
+ * debian/control: regen for java-common 0.74 (only affecting powerpc)
+ * debian/rules:
+ - set extra builid to BINARY_VERSION instead of DEB_VERSION to reflect
+ the actual binary package version of libreoffice-core if they differed
+
+ -- Rene Engelhard <rene@debian.org> Sun, 15 Jan 2023 15:37:30 +0100
+
+libreoffice (1:7.4.4~rc2-2) unstable; urgency=medium
+
+ * debian/rules: also add forgotten DEB_LDFLAGS_MAINT_STRIP for -flto=auto
+ and (if using "small symbols" anyway -ffat-lto-objects)
+
+ * upload to unstable
+
+ -- Rene Engelhard <rene@debian.org> Fri, 30 Dec 2022 00:22:03 +0100
+
+libreoffice (1:7.4.4~rc2-1) experimental; urgency=medium
+
+ * New upstream release candidate
+
+ * debian/patches/boost-1.81.diff: add patch from libreoffice-7-5 branch;
+ fix build with boost 1.81
+ * debian/patches/0004-Remove-dependency-on-BitArray.h-from-zxing-1.2.0.patch:
+ add from clearlinux-pkgs, thanks Johannes Schauer -
+ see https://github.com/zxing-cpp/zxing-cpp/issues/361 (closes: #1027048)
+
+ * debian/source/lintian-overrides: override bogus
+ source-contains-prebuilt-windows-binary for
+ [sw/qa/extras/txtimport/data/GB18030.txt]; also override
+ source-is-missing for some htmls in sw/qa/extras/html{import,export}/data
+
+ -- Rene Engelhard <rene@debian.org> Wed, 28 Dec 2022 12:27:48 +0100
+
+libreoffice (1:7.4.4~rc1-1) experimental; urgency=medium
+
+ * New upstream release candidate
+
+ -- Rene Engelhard <rene@debian.org> Thu, 15 Dec 2022 21:12:29 +0100
+
+libreoffice (1:7.4.3-2) unstable; urgency=medium
+
+ * debian/rules: disable checks on s390x for now (cause OOM on the buildds),
+ the results are ignored anyway.
+
+ -- Rene Engelhard <rene@debian.org> Mon, 28 Nov 2022 18:32:19 +0100
+
+libreoffice (1:7.4.3-1) unstable; urgency=medium
+
+ * LibreOffice 7.4.3 final release (identical to rc2)
+
+ * upload to unstable
+
+ * debian/rules: use system-lockfile; lockfile is actually built during
+ the build on non-cross builds
+
+ -- Rene Engelhard <rene@debian.org> Wed, 23 Nov 2022 18:58:08 +0100
+
+libreoffice (1:7.4.3~rc2-2) experimental; urgency=medium
+
+ * debian/patches/fix-system-libfixmath.diff: fix build without
+ mergelibs (a.k.a. 32bit archs) by adding explicit -llibfixmath ...
+
+ -- Rene Engelhard <rene@debian.org> Wed, 16 Nov 2022 21:54:08 +0100
+
+libreoffice (1:7.4.3~rc2-1) experimental; urgency=medium
+
+ * New upstream release candidate
+
+ * debian/patches/fix-system-libfixmath.diff: actually don't compile
+ internal fix16.cxx but use system-libfixmath as intended
+ * debian/rules, debian/patches/dragonbox-1.1.3.diff: fix build with
+ dragonbox 1.1.3 and update dragonbox build-dependency
+ (closes: #1024157)
+
+ -- Rene Engelhard <rene@debian.org> Wed, 16 Nov 2022 18:42:19 +0100
+
+libreoffice (1:7.4.3~rc1-2) experimental; urgency=medium
+
+ * debian/*.symbols: fix lintians
+ "symbols-file-contains-current-version-with-debian-revision on
+ symbol GLIBCXX_3.4@GLIBCXX_3.4" by adding a alternative dependency
+ template triggering on this symbol and adding an extra dependency on
+ libstdc++6 (>= 4.1.1) (version taking from libstdc++.symbols)
+ * debian/rules:
+ - now that we cover all symbols in *.symbols, use -c2 for dh_makeshlibs
+ - move ifeq for bullseye-backports down in the file to really exclude
+ the node-prismjs dependency on bullseye-backports
+ * debian/libreoffice-core.NEWS: add NEWS entry for #1019423
+
+ -- Rene Engelhard <rene@debian.org> Wed, 09 Nov 2022 17:21:29 +0100
+
+libreoffice (1:7.4.3~rc1-1) experimental; urgency=medium
+
+ * New upstream release candidate
+
+ * debian/rules, debian/*.bug-scripts.in, debian/bug-control: rework
+ - call /usr/share/bug/<package>/script for report-with: packages to work
+ around #819543
+ - make the nogui packages also report-with: their nogui (alternative)
+ dependencies
+ - read Java config also from the user config
+ - make libreoffice-nlpsolver and libreoffice-wiki-publisher
+ report-with: ure-java
+ * debian/rules:
+ - allow new versioned java-runtime provides in Java runtime dependencies
+
+ -- Rene Engelhard <rene@debian.org> Wed, 02 Nov 2022 18:55:31 +0100
+
+libreoffice (1:7.4.2-2) unstable; urgency=medium
+
+ * debian/patches/curl-7.86.diff: backport from master; fix
+ JunitTest_ucb_complex test with curl 7.86
+
+ * debian/rules:
+ - don't add Graphics; to draws .desktop, it's already there
+ (closes: #1021778)
+ - add missing >&3 to ufcq calls in bug scripts (also for indep...)
+ * debian/python3-uno.lintian-overrides,
+ debian/libreoffice-base{,-drivers}.lintian-overrides.
+ debian/libreoffice-sdbc-firebird.lintian-overrides: override
+ debian-news-entry-has-unknown-version now triggering after debhelpers
+ new changelog trimming
+ * debian/libreoffice-impress.bug-control: remove report-with: on fglrx
+ and nvidia-glx-* ...
+ * debian/libreoffice-impress.bug-script.in: ... and run
+ dpkg -l | grep nvidia instead
+
+ -- Rene Engelhard <rene@debian.org> Wed, 26 Oct 2022 21:47:10 +0200
+
+libreoffice (1:7.4.2-1) unstable; urgency=medium
+
+ * LibreOffice 7.4.2 release (identical to rc3)
+
+ * upload to unstable
+
+ -- Rene Engelhard <rene@debian.org> Mon, 10 Oct 2022 19:32:31 +0200
+
+libreoffice (1:7.4.2~rc3-1) experimental; urgency=medium
+
+ * New upstream release candidate
+
+ -- Rene Engelhard <rene@debian.org> Mon, 10 Oct 2022 19:06:49 +0200
+
+libreoffice (1:7.4.2~rc2-1) experimental; urgency=medium
+
+ * New upstream release candidate
+
+ * debian/rules:
+ - add missing >&3 to ufcq calls in bug scripts
+ - fix build-depends-on-obsolete-package
+ (s/libfreetype6-dev/libfreetype-dev/,
+ s/libfontconfig1-dev/libfontconfig-dev/)
+ * debian/control.gtk4.in: remove "when running under GNOME"
+ from package description since GNOME implies gtk3
+ * debian/control.{gtk4,qt5,qt6}.in: mention the need to
+ manually export SAL_USE_VCLPLUGIN
+
+ -- Rene Engelhard <rene@debian.org> Thu, 06 Oct 2022 17:44:16 +0200
+
+libreoffice (1:7.4.2~rc1-2) experimental; urgency=medium
+
+ * reupload with correct control...
+
+ -- Rene Engelhard <rene@debian.org> Wed, 21 Sep 2022 18:08:40 +0200
+
+libreoffice (1:7.4.2~rc1-1) experimental; urgency=medium
+
+ * New upstream release candidate
+
+ -- Rene Engelhard <rene@debian.org> Wed, 21 Sep 2022 17:36:50 +0200
+
+libreoffice (1:7.4.1-1) unstable; urgency=medium
+
+ * LibreOffice 7.4.1 final release (identical to rc2)
+ (closes: #1018173)
+
+ * debian/source/lintian-overrides: update for latest copyright changes
+
+ -- Rene Engelhard <rene@debian.org> Sat, 17 Sep 2022 19:49:58 +0200
+
+libreoffice (1:7.4.1~rc2-3) unstable; urgency=medium
+
+ * upload to unstable
+
+ * debian/rules:
+ - don't depend on node-prismjs on bullseye-backport since there it
+ depends on nodejs...
+ - also use node-prismjs/node-normalize.css for the build and add them
+ to Build-Depends-Indep
+ * debian/copyright, debian/libreoffice-common.links: mention prism.css
+ explicitly and link to node-primsjs' prism-coy.css
+
+ -- Rene Engelhard <rene@debian.org> Sun, 11 Sep 2022 22:30:14 +0200
+
+libreoffice (1:7.4.1~rc2-2) experimental; urgency=medium
+
+ * upload with correct control....
+
+ -- Rene Engelhard <rene@debian.org> Sat, 10 Sep 2022 13:28:55 +0200
+
+libreoffice (1:7.4.1~rc2-1) experimental; urgency=medium
+
+ * New upstream release candidate
+ - fixes CVE-2022-3140 (Macro URL arbitrary script execution)
+
+ * debian/patches/poppler-22.09.diff: fix build with poppler 22.09,
+ from gerrit
+
+ The "hrmpf. lintian" release.
+
+ * debian/source/lintian-overrides, debian/*.lintian-overrides,
+ debian/copryight:
+ - really fix those lintian warnings supposed to be fixed in -3
+ * debian/changelog:
+ - fix debian-changelog-line-too-long in -3s changelog
+ * debian/copyright:
+ - fix license of sysui/desktop/appstream-appdata/*.xml, "fix"
+ some superfluous-file-pattern, thanks lintian
+ * debian/source.lintian-overrides:
+ - override new(?) superfluous-file-pattern, (even the ones before
+ since lintian still complains)
+ * debian/rules, debian/libreoffice-help-common.links: link and depend
+ on node-prismjs (and depend on node-normalize.css instead of the virtual
+ libjs-normalize.css)
+
+ -- Rene Engelhard <rene@debian.org> Sat, 10 Sep 2022 08:16:12 +0200
+
+libreoffice (1:7.4.1~rc1-3) unstable; urgency=medium
+
+ * debian/source/lintian-overrides, debian/*.lintian-overrides:
+ - update mismatched lintian overrides (and override some more lintian
+ madness)
+ * debian/copryight: update for prism.js, remove js which are gone
+
+ * debian/rules:
+ - mkdir -p /usr/lib/libreoffice/share/extensions explicitly to have
+ libreoffice-common "own it"
+ * debian/shell-lib-extensions.sh:
+ - only touch /usr/lib/libreoffice/share/extensions when it is existing
+ and a directory to go sure
+ * debian/libreoffice-common.preinst.in:
+ - rm -f /usr/lib/libreoffice/share/extensions in preinst when it's a
+ 0-byte file
+ (all together closes: #1005832, #1018750)
+
+ -- Rene Engelhard <rene@debian.org> Thu, 01 Sep 2022 06:24:20 +0200
+
+libreoffice (1:7.4.1~rc1-2) unstable; urgency=medium
+
+ * upload to unstable
+
+ * debian/watch: watch releases again for preparation of not uploading any
+ rc anymore
+
+ -- Rene Engelhard <rene@debian.org> Thu, 25 Aug 2022 07:59:51 +0200
+
+libreoffice (1:7.4.1~rc1-1) experimental; urgency=medium
+
+ * debian/patches/Make-configure-work-with-gpgme-1.18.patch: as name says,
+ from gerrit
+
+ * New upstream release candidate
+
+ -- Rene Engelhard <rene@debian.org> Wed, 24 Aug 2022 18:28:30 +0200
+
+libreoffice (1:7.4.0~rc3-1) unstable; urgency=medium
+
+ * debian/patches/add-libebook-1.2.so.21.patch: as name says for libebook
+ SONAME bump
+ * debian/patches/fix-eot-configure-ac.diff: as name says; make --enable-eot
+ work again
+
+ * New upstream release candidate
+
+ -- Rene Engelhard <rene@debian.org> Wed, 10 Aug 2022 16:04:33 +0000
+
+libreoffice (1:7.4.0~rc2-3) unstable; urgency=medium
+
+ * debian/changelog: oops, fix merge...
+
+ -- Rene Engelhard <rene@debian.org> Thu, 28 Jul 2022 22:58:57 +0200
+
+libreoffice (1:7.4.0~rc2-2) unstable; urgency=medium
+
+ * upload to unstable
+
+ -- Rene Engelhard <rene@debian.org> Thu, 28 Jul 2022 08:52:48 +0200
+
+libreoffice (1:7.4.0~rc2-1) experimental; urgency=medium
+
+ * debian/patches/svm-test-bigendian.diff: from master, fix svm test on
+ bigendian (other tests still fail)
+ * debian/patches/hrk-euro.diff: add HRK->EUR to the (hidden) Euro Conversion
+ Wizard for completeness' sake
+ * debian/patches/fix-uicheck-tests-on-i386.patch: readd lost/still needed
+ patch to work around rounding errors in descriptiveStatistics test on i386
+
+ * New upstream release candidate
+
+ * debian/rules:
+ - explicitely set export DEB_BUILD_MAINT_OPTIONS=optimize=+lto / -lto
+ depending on ENABLE_LTO=y/n here
+ - make parallel=X affecting -flto=X again: force -flto=auto (apparently default
+ since gcc 12 became default) off and add -flto=X
+ - strip -ffat-lto-objects if building with SMALL symbols
+ - exclude skia from dh_dwz since it fails when built with clang 14 (and
+ disable dwz completely if we ever built everything with clang for
+ completeness' sake...)
+
+ -- Rene Engelhard <rene@debian.org> Wed, 27 Jul 2022 23:55:16 +0200
+
+libreoffice (1:7.4.0~rc1-3) experimental; urgency=medium
+
+ * debian/rules: use -O0 on s390x to work around miscompile, thanks
+ Stephan Bergmann for analysis.
+
+ -- Rene Engelhard <rene@debian.org> Tue, 19 Jul 2022 17:09:13 +0200
+
+libreoffice (1:7.4.0~rc1-2) experimental; urgency=medium
+
+ * debian/patches/TestEmfPlusDrawPathWithCustomCap-Aarch64.diff,
+ emfio/qa/cppunit/emf/data/TestEmfPlusDrawPathWithCustomCap.emf: add patch
+ from libreoffice-7-4 branch to fix emf test failure on arm64
+
+ * debian/watch: track rcs again
+
+ -- Rene Engelhard <rene@debian.org> Fri, 08 Jul 2022 16:20:08 +0200
+
+libreoffice (1:7.4.0~rc1-1) experimental; urgency=medium
+
+ * New upstream release candidate
+
+ -- Rene Engelhard <rene@debian.org> Thu, 07 Jul 2022 03:44:09 +0200
+
+libreoffice (1:7.4.0~beta1-4) experimental; urgency=medium
+
+ * debian/rules: oops, fix too greedy sed call...
+
+ -- Rene Engelhard <rene@debian.org> Thu, 16 Jun 2022 19:24:35 +0200
+
+libreoffice (1:7.4.0~beta1-3) experimental; urgency=medium
+
+ * debian/patches/tdf148395-do-no-rely-on-math-and-impress.diff:
+ add from upstream gerrit; remove assert that fails depending on which
+ components are installed
+ * debian/rules:
+ - disable skia on bigendian archs again
+ - force libuno-sal3 (>= 1:7.4.0~beta1) dependency for -core to be sure
+ since the uno:EditGlossary test (in openDialogs.openDialogs)
+ segfaults/hangs with 7.3.4s libuno-sal3
+
+ -- Rene Engelhard <rene@debian.org> Tue, 14 Jun 2022 06:27:46 +0200
+
+libreoffice (1:7.4.0~beta1-2) experimental; urgency=medium
+
+ * debian/patches/fix-bigendian.diff: fix ww8 filter build on bigendian
+ * debian/patches/fix-32bit.diff: fix new a11y cppunits tests on 32bit
+
+ -- Rene Engelhard <rene@debian.org> Sat, 11 Jun 2022 14:15:09 +0200
+
+libreoffice (1:7.4.0~beta1-1) experimental; urgency=medium
+
+ * New upstream beta release
+
+ * debian/tests/*: update to fix testtools-bridgetest and
+ junit-subsequentcheck
+
+ -- Rene Engelhard <rene@debian.org> Fri, 10 Jun 2022 16:12:11 +0200
+
+libreoffice (1:7.4.0~alpha1-2) experimental; urgency=medium
+
+ * fix eot conditional
+
+ -- Rene Engelhard <rene@debian.org> Fri, 13 May 2022 06:40:06 +0200
+
+libreoffice (1:7.4.0~alpha1-1) experimental; urgency=medium
+
+ * New upstream alpha release
+ - adds support for webp (closes: #998753)
+
+ * debian/rules:
+ - run make clean after nogui builds instead of trying to manually clean
+ up affected files
+ - enable skia also on bigendian archs since upstream does this now and
+ "and despite the disclaimer it reportedly works fine"
+ * debian/watch: watch alpha/betas
+
+ -- Rene Engelhard <rene@debian.org> Thu, 12 May 2022 16:53:37 +0200
+
+libreoffice (1:7.3.3~rc2-1) unstable; urgency=medium
+
+ * New upstream release candidate
+
+ -- Rene Engelhard <rene@debian.org> Wed, 27 Apr 2022 22:17:56 +0200
+
+libreoffice (1:7.3.3~rc1-2) unstable; urgency=medium
+
+ * debian/patches/icu-71.diff: extend ICU 70 workaround for testLao
+ to >= 70 (closes: #1009716)
+ * upload to unstable
+
+ -- Rene Engelhard <rene@debian.org> Wed, 20 Apr 2022 17:39:49 +0200
+
+libreoffice (1:7.3.3~rc1-1) experimental; urgency=medium
+
+ * New upstream release candidate
+ - fixes
+ + CVE-2022-26306 Static Initialization Vector Allows to Recover
+ Passwords for Web Connections Without Knowing the Master Password
+ + CVE-2022-26307 Weak Master Keys
+
+ -- Rene Engelhard <rene@debian.org> Wed, 13 Apr 2022 17:29:06 +0200
+
+libreoffice (1:7.3.2~rc2-1) unstable; urgency=medium
+
+ * New upstream release candidate
+ - fixes CVE-2022-26305 Execution of Untrusted Macros Due to Improper
+ Certificate Validation
+
+ -- Rene Engelhard <rene@debian.org> Wed, 23 Mar 2022 20:30:37 +0100
+
+libreoffice (1:7.3.1-1) unstable; urgency=medium
+
+ * LibreOffice 7.3.1 final release
+ - fixes CVE-2022-38745: "Empty entry in Java class path risks arbitrary
+ code execution"
+
+ -- Rene Engelhard <rene@debian.org> Thu, 03 Mar 2022 17:24:16 +0000
+
+libreoffice (1:7.3.1~rc1-1) unstable; urgency=medium
+
+ * New upstream release candidate
+
+ -- Rene Engelhard <rene@debian.org> Fri, 11 Feb 2022 13:33:36 +0100
+
+libreoffice (1:7.3.0-1) unstable; urgency=medium
+
+ * New upstream release
+
+ * debian/watch: watch releases again
+
+ -- Rene Engelhard <rene@debian.org> Mon, 31 Jan 2022 17:33:13 +0100
+
+libreoffice (1:7.3.0~rc2-3) unstable; urgency=medium
+
+ * debian/tests/control.in:
+ - comment out build-needing autopkgtests again by request of the release
+ team; the infrastructure even on amd64 is not capable of handling it due
+ due autopkgtest shortcomings
+ * debian/control.help.in.
+ - move the browser Depends to Recommends: (closes: #1003864)
+ * debian/patches/apparmor-updates.diff: add patch to fix saving with
+ enforced apparmor again, thanks Vincas Dargis (closes: #1004038)
+
+ -- Rene Engelhard <rene@debian.org> Fri, 21 Jan 2022 20:35:38 +0100
+
+libreoffice (1:7.3.0~rc2-2) unstable; urgency=medium
+
+ * upload to unstable
+
+ * debian/tests/control.in, debian/tests/uicheck-{sfx2,svx}:
+ also run uitests in sfx2 and svx
+ * debian/tests/control.in: try to optimize the order of the tests
+ a bit (especially for uicheck-*) to try reusing the testbed and
+ avoid costly copy(up|down)s
+
+ -- Rene Engelhard <rene@debian.org> Sun, 16 Jan 2022 11:30:18 +0100
+
+libreoffice (1:7.3.0~rc2-1) experimental; urgency=medium
+
+ * New upstream release candidate
+
+ -- Rene Engelhard <rene@debian.org> Wed, 12 Jan 2022 20:17:15 +0100
+
+libreoffice (1:7.3.0~rc1-2) experimental; urgency=medium
+
+ * debian/patches/fix-uicheck-tests-on-i386.patch: update
+ * debian/patches/fix-Tdf126116-test.diff: add upstream patch from gerrit;
+ fix upstream FTBFS timebomb found by reproducible builds
+
+ * debian/tests/*: rename "uno" to "testtools-bridgetest", since it's
+ more telling (and inside testtols anyway, uno is just the command
+ ran)
+
+ -- Rene Engelhard <rene@debian.org> Thu, 23 Dec 2021 17:23:03 +0100
+
+libreoffice (1:7.3.0~rc1-1) experimental; urgency=medium
+
+ * New upstream release candidate
+ - fixes CVE-2021-25636 Incorrect trust validation of signature with ambiguous
+ KeyInfo children
+
+ * debian/rules:
+ - add support (don't use it (yet)) for using --enable-cipher-openssl-backend
+ - limit llvm build-dep to le/skia-using archs
+ - build the mysqlc test only on the archs we run the actual test (at least
+ for now)
+ - bump liborcus-dev build-depends to >= 0.17.2 if we run the tests
+
+ -- Rene Engelhard <rene@debian.org> Sun, 28 Nov 2021 16:46:17 +0100
+
+libreoffice (1:7.3.0~beta1-4) experimental; urgency=medium
+
+ * debian/rules:
+ - add explicit Build-Depends on llvm since clang doesn't pull in
+ llvm-xx-linker-tools anymore
+
+ -- Rene Engelhard <rene@debian.org> Sat, 11 Dec 2021 15:26:54 +0100
+
+libreoffice (1:7.3.0~beta1-3) experimental; urgency=medium
+
+ * debian/patches/fix-mysqlc-test.diff: as name says, from gerrit
+
+ * debian/rules:
+ - build the connectivity mysqlc test with the rest of the tests so it
+ doesn't do that in the actual autopkgtest test
+ - stop hardcoding clang-12 for ppc64el, add build-dep on clang (>= 1:12)
+ now that 13 is default in sid
+ * debian/libuno-sal3.symbols: update
+
+ -- Rene Engelhard <rene@debian.org> Sat, 11 Dec 2021 13:01:18 +0000
+
+libreoffice (1:7.3.0~beta1-2) experimental; urgency=medium
+
+ * debian/patches/revert-eabcfb3f18a6944d9ad89cecd3eb3ca7a2259cf3.diff:
+ as name says; revert broken change/test; from upstream gerrit
+
+ -- Rene Engelhard <rene@debian.org> Sun, 28 Nov 2021 16:29:51 +0100
+
+libreoffice (1:7.3.0~beta1-1) experimental; urgency=medium
+
+ * New upstream beta release
+
+ * debian/patches/pdfium-support-system-libopenjpeg-and-libabsl.diff:
+ don't use internal libabsl cody copy in pdfium; add conditionalization
+ for it and openjpeg2
+
+ * debian/rules:
+ - switch WEBDAV_LIB to the curl backend since it now has the test
+ coverage instead of neon and is default now anyways
+ - actually only set TEST_TIMEOUT if we ignore the test results anyway...
+ - add abseil and openjpeg2 to SYSTEM_STUFF if building pdfium
+
+ -- Rene Engelhard <rene@debian.org> Thu, 25 Nov 2021 20:17:04 +0100
+
+libreoffice (1:7.3.0~alpha1-6) experimental; urgency=medium
+
+ * debian/tests/unitcheck.
+ - remove broken mkdir -p of aboutbox.ui; add mkdir -p
+ instdir/share/config/soffice.cfg/vcl/ui/.dir which was intended...
+
+ -- Rene Engelhard <rene@debian.org> Wed, 17 Nov 2021 06:08:27 +0100
+
+libreoffice (1:7.3.0~alpha1-5) experimental; urgency=medium
+
+ * debian/tests/*, debian/tests/control.in: strip cppunit- from
+ cppunit-slowcheck and -unitcheck (the latter contains junit checks, too).
+ Keep it for cppunit-subsequentcheck since that ecplicitely disables
+ junit (which is tested in junit-subsequentcheck)
+ * debian/test/unitcheck:
+ - also filter out the unoidl module (no idea why it
+ worked in my run and not in ci, but...)
+ - don't allow test as root, the sal test fails miserably as root
+ - create missing instdir/share/config/soffice.cfg/vcl/ui/aboutbox.ui
+ * debian/tests/cppunit-subsequentcheck: add missing cd $SRCDIR
+ * debian/tests/control.in:
+ - move smoketest up again (before the test-extension*) tests to stress
+ it's importance (and it's restricted on archs where we have the
+ cpppunit tests having build-needed anyway)
+
+ -- Rene Engelhard <rene@debian.org> Mon, 15 Nov 2021 22:19:57 +0100
+
+libreoffice (1:7.3.0~alpha1-4) experimental; urgency=medium
+
+ * debian/rules:
+ - disable LTO on mips64el
+ - also uncomment smoketest.jar move to -smoketest-data again (although
+ effectively unused..) (closes: #998435)
+ - don't check for AUTOPKGTEST_TMP, it seems to not been set in build stage
+ already (add hack to grep for autopkgtest in pwd instead).
+ Don't run the checks in build* if in autopkgtest builds (as they are run
+ later anyway)
+ - Separate RUN_MAKE_CHECK into BUILD_TESTS/RUN_MAKE_CHECK
+ - use -g1 on autopkgtest builds (saving disc space/time on all those
+ copies...)
+ - don't specify --without-cppunit in CONFIGURE_FLAGS_INDEP per
+ default (only explicit build-indep builds)
+ * debian/tests/*, debian/tests/patches/*:
+ - move cppunit part out of smoketest-standalone.diff into
+ cppunit-standalone.diff
+ * debian/tests/control.in:
+ - make uno superficial, it only runs the bridgetest; remove it from
+ cppunit-subsequentcheck
+ - move smoketest after the cppunit tests and run it only on the
+ architectures those, too (also make it build-needed); add missing
+ libreoffice-smoketest-data dependency
+ * debian/tests/*:
+ - only create config_host.mk when not existing (e.g. architectures having
+ no tests with build-needed and thus there is no build which created it)
+ - don't try to run test-extension/odk-build-examples* as root, skip them
+ if doing so
+ * debian/tests/control.in, debian/rules:
+ - don't use @ as dependency in cppunit-* since -nogui conflict with the
+ "real" ones; populate by dh_listpackages but filter -nogui, -dev-doc and
+ the l10ns/helps out
+ * debian/control.in.
+ - bump ure depends to >= 1:7.3.0~ (closes: #998746)
+ * debian/tests/cppunit-*:
+ - fix syntax; add more needed .dir's
+
+ -- Rene Engelhard <rene@debian.org> Mon, 08 Nov 2021 23:06:01 +0100
+
+libreoffice (1:7.3.0~alpha1-3) experimental; urgency=medium
+
+ * debian/patches/cppunit-optional.diff: build more stuff in smoketest
+ not related to cppunit itself (e.g. TestExtension.{jar,oxt})
+
+ * debian/rules:
+ - build smoketestdoc.sxw again
+
+ -- Rene Engelhard <rene@debian.org> Sun, 31 Oct 2021 19:10:08 +0100
+
+libreoffice (1:7.3.0~alpha1-2) experimental; urgency=medium
+
+ * debian/rules:
+ - use --without-cppunit in build-indep
+ - use clang 12 on ppc64el (if building with LTO at least)
+ - fix autopkgtest builds; explicitely set PACKAGE_SDK_DOCS=n
+
+ -- Rene Engelhard <rene@debian.org> Sun, 31 Oct 2021 09:25:30 +0100
+
+libreoffice (1:7.3.0~alpha1-1) experimental; urgency=medium
+
+ * New upstream alpha release
+ - fixes --enable-lto build with clang (filters out -flto=X)
+ (closes: #985867)
+
+ * debian/patches/filter-out-lto-flags.diff: remove, was incomplete since
+ the revert in 1:7.2.1-1 anyway
+
+ * debian/rules:
+ - use --with-idlc-cpp=cpp to use cpp instead of ucpp and
+ adapt IDLC_CPP_DEPENDS for -dev accordingly
+ - build with LTO if we build with mergelibs
+ - only test the apparmor profiles' syntax on build-indep builds
+ (since that is where they are installed); move (dh-)apparmor build-deps
+ to Build-Depends-Indep
+ * debian/tests/* debian/rules::
+ - run the cppunit tests (as superficial tests) and add
+ a test for manually running CppunitTest_connectivity_mysql_test after
+ preparing mariadb (also superficial)
+ - run the smoketest again now that we have a needs-build test anyway and
+ don't add a hacked smoketestdoc.sxw anymore into smoketest-data - use the
+ the just-built one
+ * debian/rules, debian/control.in, debian/joinctrl.py: add new
+ Build-Depends-Arch: containing the nocheck build-deps needed for make check
+ on arch-dep builds
+ * debian/watch: watch alphas/betas
+
+ -- Rene Engelhard <rene@debian.org> Fri, 29 Oct 2021 20:05:00 +0200
+
+libreoffice (1:7.2.2-1) unstable; urgency=medium
+
+ * LibreOffice 7.2.2 final release (identical to rc2)
+
+ * upload to unstable
+ * debian/liblibreoffice-java.lintian-overrides,
+ debian/libreoffice-dev-common.lintian-overrides: override bogus
+ repeated-path-segment
+ * debian/control.in: s/the the/the/
+ * debian/libreoffice-core{,-nogui}.lintian-overrides: remove, obsolete
+
+ -- Rene Engelhard <rene@debian.org> Sun, 10 Oct 2021 15:42:24 +0200
+
+libreoffice (1:7.2.2~rc2-1) experimental; urgency=medium
+
+ * New upstream release candidate
+
+ -- Rene Engelhard <rene@debian.org> Wed, 06 Oct 2021 17:03:00 +0200
+
+libreoffice (1:7.2.2~rc1-1) experimental; urgency=medium
+
+ * New upstream release candidate
+
+ [ merge from Ubuntu ]
+ * debian/patches/arm-fp-mode.diff: Explicitly set fpu mode on armhf.
+ (closes: #994698)
+
+ -- Rene Engelhard <rene@debian.org> Tue, 21 Sep 2021 22:24:19 +0200
+
+libreoffice (1:7.2.1-3) unstable; urgency=medium
+
+ * debian/control.ure.in:
+ - also add Breaks: to << 1:7.2.0 libreoffice-cores to ure...
+ (closes: #994624)
+
+ -- Rene Engelhard <rene@debian.org> Sun, 19 Sep 2021 13:18:06 +0200
+
+libreoffice (1:7.2.1-2) unstable; urgency=medium
+
+ * debian/control.in.
+ - bump ure dependency for libreoffice-core to (>= 1:7.2.0~)
+ (closes: #994624)
+
+ -- Rene Engelhard <rene@debian.org> Sun, 19 Sep 2021 12:07:40 +0200
+
+libreoffice (1:7.2.1-1) unstable; urgency=medium
+
+ * LibreOffice 7.2.1 release (identical to rc2)
+
+ * debian/patches/qt5-fix-popups.diff: add patch from libreoffice-7-2 to
+ fix popup menus in qt5
+ * debian/patches/bison-3.8.diff: fix build with bison 3.8, from master
+ * debian/patches/freetype-2.11.diff: fix (skia) build with freetype 2.11
+
+ * debian/control.plasma.in: make -plasma recommend -kf5 (closes: #994445)
+
+ * debian/rules, debian/clang_wrapper: remove again, doesn't work and
+ prevents a clang build/a build of skia with clang
+
+ * upload to unstable
+
+ -- Rene Engelhard <rene@debian.org> Thu, 16 Sep 2021 11:04:20 +0200
+
+libreoffice (1:7.2.1~rc2-1) experimental; urgency=medium
+
+ * New upstream release candidate
+
+ * debian/tests/control.in: which doxygen -> command -v doxygen
+
+ -- Rene Engelhard <rene@debian.org> Fri, 27 Aug 2021 06:44:31 +0200
+
+libreoffice (1:7.2.1~rc1-2) experimental; urgency=medium
+
+ * reupload with correct control...
+
+ -- Rene Engelhard <rene@debian.org> Fri, 27 Aug 2021 06:44:31 +0200
+
+libreoffice (1:7.2.1~rc1-1) experimental; urgency=medium
+
+ * New upstream release candidate
+
+ * debian/watch: add uversionmangle for releases (7.2.0.4 -> 7.2.0)
+
+ -- Rene Engelhard <rene@debian.org> Thu, 26 Aug 2021 21:11:34 +0200
+
+libreoffice (1:7.2.0-3) unstable; urgency=medium
+
+ * debian/patches/revert-raspberry-pi-buildfixes.diff: remove again
+ * debian/patches/fix-arm-bridges.diff: add targetted upstream fix from
+ gerrit
+
+ * debian/watch: watch only releases again
+ * debian/rules:
+ - chmod 755 the clang wrappers since otherwise they
+ are ignored
+ - explicitely set ENABLE_JUNIT4=y in build-indep builds if
+ BUILD_TEST_PACKAGES=y
+
+ [ merge from Ubuntu ]
+ * Add Conflicts/Replaces for move of liblosessioninstalllo.so
+ (closes: #992779)
+
+ -- Rene Engelhard <rene@debian.org> Mon, 23 Aug 2021 19:29:09 +0200
+
+libreoffice (1:7.2.0-2) unstable; urgency=medium
+
+ * upload to unstable
+
+ -- Rene Engelhard <rene@debian.org> Sat, 21 Aug 2021 11:48:25 +0200
+
+libreoffice (1:7.2.0-1) experimental; urgency=medium
+
+ * LibreOffice 7.2.0 final (identical to rc4)
+
+ * debian/patches/revert-raspberry-pi-buildfixes.diff: revert 32bit
+ arm bridges back to 7.1.5 to revert all the
+ "Fix some warnings for Raspberry pi 4" (sic!) commits which break armhf
+ on runtime miserably
+
+ -- Rene Engelhard <rene@debian.org> Fri, 20 Aug 2021 09:17:07 +0200
+
+libreoffice (1:7.2.0~rc4-1) experimental; urgency=medium
+
+ * New upstream release candidate
+
+ -- Rene Engelhard <rene@debian.org> Tue, 17 Aug 2021 11:21:11 +0200
+
+libreoffice (1:7.2.0~rc3-1) experimental; urgency=medium
+
+ * New upstream release candidate
+
+ -- Rene Engelhard <rene@debian.org> Sat, 14 Aug 2021 13:34:06 +0200
+
+libreoffice (1:7.2.0~rc2-4) experimental; urgency=medium
+
+ * debian/patches/fix-install-with-disable-cmis.diff: as name says...
+
+ -- Rene Engelhard <rene@debian.org> Thu, 29 Jul 2021 19:07:41 +0200
+
+libreoffice (1:7.2.0~rc2-3) experimental; urgency=medium
+
+ * debian/rules:
+ - explicitely add junit4 to Build-Depends-Indep
+
+ -- Rene Engelhard <rene@debian.org> Thu, 29 Jul 2021 09:41:29 +0200
+
+libreoffice (1:7.2.0~rc2-2) experimental; urgency=medium
+
+ * debian/rules:
+ - disable cmis since it now needs a patched cmis to even build
+
+ -- Rene Engelhard <rene@debian.org> Thu, 29 Jul 2021 08:41:35 +0200
+
+libreoffice (1:7.2.0~rc2-1) experimental; urgency=medium
+
+ * New upstream release candidate
+
+ * debian/rules:
+ - micro-optimiuation: add arch qualifiers to junit build-dep
+
+ -- Rene Engelhard <rene@debian.org> Thu, 15 Jul 2021 11:56:45 +0200
+
+libreoffice (1:7.2.0~rc1-1) experimental; urgency=medium
+
+ * New upstream release candidate
+
+ * debian/patches/fix-uicheck-tests-on-i386.patch: update; fix
+ uicheck again on i386 (make the test more tolerant)
+
+ * debian/control.in:
+ - remove obsolete libreoffice-officebean transitional package
+ * debian/tests/uicheck-{sc,sw},
+ debian/tests/patches/disable-uno-show-license-tests.diff: revert,
+ replaced by upstream patch
+
+ -- Rene Engelhard <rene@debian.org> Fri, 09 Jul 2021 17:47:16 +0200
+
+libreoffice (1:7.2.0~beta1-4) experimental; urgency=medium
+
+ * debian/tests/control.in:
+ - make uicheck-sd depend on libreoffice-calc, now apparently tests with
+ an embedded Calc document...
+ * debian/tests/patches/disable-uno-show-license-tests.diff,
+ debian/tests/uicheck-{sc,sw}: disable uno:ShowLicense openDialogs tests
+ for autopkgtest since it complains about read-only LICENSE.html and waits
+ for confirmation to open read-only ("hangs")...
+
+ -- Rene Engelhard <rene@debian.org> Fri, 02 Jul 2021 10:59:24 +0200
+
+libreoffice (1:7.2.0~beta1-3) experimental; urgency=medium
+
+ * debian/patches/disable-flaky-tests.diff: add removal of
+ sc/qa/uitest/calc_tests8/tdf126248.py; fails on close for unknown
+ reasons
+ * debian/rules:
+ - if make check results are ignored anyway: add a timeout call to the
+ test call
+
+ -- Rene Engelhard <rene@debian.org> Thu, 24 Jun 2021 19:00:16 +0200
+
+libreoffice (1:7.2.0~beta1-2) experimental; urgency=medium
+
+ * debian/patches/fix-bigendian-builds.diff: as name says; from master
+ * debian/patches/fix-32-bit.diff: as name says
+
+ -- Rene Engelhard <rene@debian.org> Fri, 18 Jun 2021 06:18:02 +0200
+
+libreoffice (1:7.2.0~beta1-1) experimental; urgency=medium
+
+ * New upstream beta release
+ - fixes opposite cropping issue on flipped images in Writer
+ (closes: #934678)
+
+ -- Rene Engelhard <rene@debian.org> Sun, 13 Jun 2021 21:13:39 +0200
+
+libreoffice (1:7.1.4~rc2-1) experimental; urgency=medium
+
+ * New upstream release candidate
+
+ -- Rene Engelhard <rene@debian.org> Mon, 07 Jun 2021 19:06:15 +0200
+
+libreoffice (1:7.1.4~rc1-2) experimental; urgency=medium
+
+ * debian/patches/fix-emfio-wmf-test.diff,
+ emfio/qa/cppunit/wmf/data/TestPalette.wmf: fix emfio wmf test
+ on arm64 (from libreoffice-7-1-4 branch)
+
+ -- Rene Engelhard <rene@debian.org> Fri, 28 May 2021 18:47:03 +0200
+
+libreoffice (1:7.1.4~rc1-1) experimental; urgency=medium
+
+ * New upstream release candidate
+
+ * debian/patches/libstdc++11.diff: fix build with newer gcc (libstdc++)
+ 11s, from master
+
+ * debian/control.in:
+ - stop suggesting openclipart2-libreoffice (doesn't exist anymore
+ in Debian) (closes: #987900)
+ * debian/rules:
+ - fix SYSTEM_GCC_VERSION detection for gcc 11 (and remove < 10 support)
+
+ -- Rene Engelhard <rene@debian.org> Fri, 21 May 2021 06:52:59 +0200
+
+libreoffice (1:7.1.3~rc2-1) experimental; urgency=medium
+
+ * New upstream release candidate
+
+ * debian/patches/apparmor-gnupg-tofu.diff: apply patch to support tofu+pgp in
+ apparmor profile (closes: #955271)
+ * debian/control.in, debian/libreoffice-common.{maintscript,postinst.in}:
+ apply patch from Adreas Beckmann to fix upgrade buster->bullseye
+ - libreoffice-core: Copy some Conflicts from libreoffice-common for smoother
+ upgrades from buster. Dpkg will otherwise ignore Conflicts that are
+ encountered later against a package that is already deconfigured.
+ - libreoffice-common: Do not use dir_to_symlink for
+ /usr/lib/libreoffice/share/registry, the Breaks/Conflicts cascade does not
+ work reliable here to ensure all packages previously shipping files there
+ are either removed or upgraded first, but not just deconfigured. Fix up
+ the symlink in postinst instead. (Closes: #985297)
+
+ -- Rene Engelhard <rene@debian.org> Sat, 01 May 2021 13:50:02 +0200
+
+libreoffice (1:7.1.3~rc1-1) experimental; urgency=medium
+
+ * New upstream release candidate
+
+ -- Rene Engelhard <rene@debian.org> Wed, 21 Apr 2021 17:47:00 +0200
+
+libreoffice (1:7.1.2~rc2-1) experimental; urgency=medium
+
+ * New upstream release candidate
+
+ * debian/patches/filter-out-lto-flags.diff: as name says, filter out LTO
+ flags for clang-built skia, thanks Matthias Klose
+ * debian/rules, debian/clang-wrapper: add clang wrapper for above, thanks
+ Matthias Klose
+ (closes: #985867)
+
+ * debian/control.ure.in:
+ - stop recommending liblibreoffice-java and a JDK in ure; ure-java
+ is supposed to do it does it already
+
+ -- Rene Engelhard <rene@debian.org> Thu, 25 Mar 2021 20:56:22 +0100
+
+libreoffice (1:7.1.2~rc1-1) experimental; urgency=medium
+
+ * New upstream release candidate
+ - fixes CVE-2021-25633 "Double Certificate Attack"
+ - fixes CVE-2021-25634 "Timestamp Manipulation with Signature Wrapping"
+
+ * debian/tests/control.in: make uicheck-sw depend on -draw, the AutoRedact
+ dialog test apparently needs it (hangs otherwise)
+ * debian/rules:
+ - build with -Wno-psabi on armel/armhf to suppress long obsolete
+ warnings
+
+ -- Rene Engelhard <rene@debian.org> Thu, 11 Mar 2021 20:00:01 +0100
+
+libreoffice (1:7.1.1~rc2-2) experimental; urgency=medium
+
+ * merge from Ubuntu:
+ - Make test patches apply again
+
+ -- Rene Engelhard <rene@debian.org> Thu, 25 Feb 2021 17:44:31 +0100
+
+libreoffice (1:7.1.1~rc2-1) experimental; urgency=medium
+
+ * New upstream release candidate
+
+ * debian/patches/no-openssl.diff: remove ...
+ * debian/rules: ... and use --disable-openssl, thanks Rico
+ * debian/rules, debian/control.ure.in: stop moving jvmaccess and jvmfwk to
+ ure-java; libmerged depends on them so they probably should stay in ure,
+ thanks Rico
+
+ -- Rene Engelhard <rene@debian.org> Thu, 25 Feb 2021 16:34:31 +0100
+
+libreoffice (1:7.1.1~rc1-1) experimental; urgency=medium
+
+ * New upstream release candidate
+ - fixes CVE-2021-25635 "Content Manipulation with Certificate Validation
+ Attack"
+
+ * debian/patches/pdfium-use-system-libopenjpeg.diff: as name says
+ * debian/patches/apparmor-updates.diff: allow one more digit in temp
+ files (closes: #982274)
+ * debian/rules:
+ - use java8_architectures instead of java6_architectures since 8 is LOs
+ runtime baseline (no changes in architecture lists)
+
+ -- Rene Engelhard <rene@debian.org> Thu, 11 Feb 2021 07:20:44 +0100
+
+libreoffice (1:7.1.0~rc3-1) experimental; urgency=medium
+
+ * New upstream release candidate
+
+ -- Rene Engelhard <rene@debian.org> Wed, 27 Jan 2021 20:39:55 +0100
+
+libreoffice (1:7.1.0~rc2-1) experimental; urgency=medium
+
+ * New upstream release candidate
+
+ -- Rene Engelhard <rene@debian.org> Sat, 07 Nov 2020 09:22:25 +0100
+
+libreoffice (1:7.1.0~rc2-1) experimental; urgency=medium
+
+ * New upstream release candidate
+
+ * debian/rules:
+ - don't rm LICENSE.html, it is used by
+ Help -> License Information -> Show License
+ * debian/control.mediawiki.in: remove Homepage: (closes: #978713)
+ * debian/*.mime: stop quoting %s (closes: #950319)
+ * debian/test/control.in: make uicheck-sc depend on libreoffice-writer, too
+ (the openDialogs/uno.Show:License Dialog test opens a new "Writer/Web"
+ document...)
+
+ -- Rene Engelhard <rene@debian.org> Thu, 14 Jan 2021 21:56:12 +0100
+
+libreoffice (1:7.1.0~rc1-1) experimental; urgency=medium
+
+ * New upstream release candidate
+
+ * debian/patches/pdfium-m68k.diff: fix pdfium build on m68k
+
+ * debian/rules:
+ - set MYSQL_FLAVOUR=mariadb (as it's used anyway, and upstreams internal
+ copy is mariadb-connector-c anyway) and build-depend on libmariadb-dev
+ instead of libmariadbclient-dev-compat (closes: #975481)
+ - build-depend on clang (>= 1:11) on armel
+ - fix nocheck -b builds...
+ - use nowindows build profile for (not) building unowinreg
+ * debian/rules, debian/control*in:
+ - honour noinsttest build profile for (not) building
+ -subsequentcheckbase/-smoketest-test-data
+ * debian/rules, debian/control*in:
+ - move unowinreg.dll into /usr/lib/i686-w64-mingw32 (the mingw g++
+ compiler installs its .dlls into /usr/lib/gcc/i686-w64-mingw32)
+
+ -- Rene Engelhard <rene@debian.org> Thu, 17 Dec 2020 23:06:08 +0100
+
+libreoffice (1:7.1.0~beta1-1) experimental; urgency=medium
+
+ * New upstream beta release
+ - adds pdf to DRAWDOCS for bash-completion (closes: #973682)
+
+ * debian/rules:
+ - remove obsolete SHLIBS_OVERRIDE += -Xunordf (closes: #966087, #968546)
+ - enable l10n again
+
+ * debian/tests/control: move ...
+ * debian/tests/control.in: ... here and mark Java-using tests with
+ Architecture:
+ * debian/tests/odk-build-examples*: split non-Java and Java tests and mark
+ Java test with Architecture:
+ * debian/tests/junit, odk-build-examples-java: skip it if using a Zero-using
+ architecture
+ * debian/rules, debian/tests/control.in:
+ - restrict tests using *-nogui to Architectures: where *-nogui
+ actually is built
+ * debian/control.in:
+ - readd -sdbc-hsqldb Recommends as hsqldb is default again since some
+ time...
+ - bump fonts-opensymbol depends to >= 2:102.12 given new bullets used
+ by DOCX documents
+
+ -- Rene Engelhard <rene@debian.org> Sun, 22 Nov 2020 15:09:08 +0100
+
+libreoffice (1:7.1.0~alpha1-1) experimental; urgency=medium
+
+ * New upstream alpha release
+
+ * debian/rules:
+ - add conditional and build-dep for new box2d (again)
+ - don't parse parallel=X manually but use dpkg-devs buildopts.mk
+ - build only en-US for now
+ - try to enable pdfium anywhere since configure says
+ "Disable building PDFium. Results in unsecure PDF signature
+ verification."
+ * debian/control*in, debian/rules:
+ - split Java parts of the URE to ure-java so that libreoffice-java-common
+ can depend on that. (For possible future archs starting with
+ no-java where this then isn't fullfillable instead of silently "working"
+ without actual Java stuff in "ure")
+ - stop building libjuh-java, libridl-java, libjurt-java and libunoil-java.
+ Merge them (and provide them) in(to) liblibreoffice-java.
+
+ -- Rene Engelhard <rene@debian.org> Tue, 27 Oct 2020 18:04:25 +0100
+
+libreoffice (1:7.0.3~rc1-1) experimental; urgency=medium
+
+ * New upstream release candidate
+
+ * debian/rules:
+ - make build-depends for libfoo-x.y.pc-using packages explicitely
+ libfoo (>= x.y), libfoo (<< x.y+1) to help autopkgtest to find the
+ right combination...
+
+ -- Rene Engelhard <rene@debian.org> Thu, 22 Oct 2020 17:01:48 +0200
+
+libreoffice (1:7.0.2-4) unstable; urgency=medium
+
+ * upload to unstable
+
+ -- Rene Engelhard <rene@debian.org> Sun, 18 Oct 2020 10:33:19 +0200
+
+libreoffice (1:7.0.2-3) experimental; urgency=medium
+
+ * debian/patches/liborcus-0.16.diff: build with liborcus 0.16
+ * debian/rules, debian/shlibs.override.orcus: adapt for above
+
+ -- Rene Engelhard <rene@debian.org> Fri, 16 Oct 2020 16:38:46 +0200
+
+libreoffice (1:7.0.2-2) unstable; urgency=medium
+
+ * debian/control.in:
+ - add Conflicts against pre-7.0 packages with configs (closes: #972043)
+
+ -- Rene Engelhard <rene@debian.org> Sun, 11 Oct 2020 22:34:17 +0200
+
+libreoffice (1:7.0.2-1) unstable; urgency=medium
+
+ * LibreOffice 7.0.2 final release (identical to rc2)
+
+ * upload to unstable
+
+ -- Rene Engelhard <rene@debian.org> Thu, 08 Oct 2020 17:23:19 +0200
+
+libreoffice (1:7.0.2~rc2-1) experimental; urgency=medium
+
+ * New upstream release candidate
+
+ * debian/patches/oox-crypto-bigendian.diff: add patch from upstream master
+ to fix oox crypto (and thus CppunitTest_sw_ooxmlencryption) on s390x
+
+ -- Rene Engelhard <rene@debian.org> Wed, 30 Sep 2020 18:43:36 +0200
+
+libreoffice (1:7.0.2~rc1-3) experimental; urgency=medium
+
+ * debian/rules:
+ - Actually add missing ifeq "$(DEB_HOST_ARCH)" "armhf"
+
+ -- Rene Engelhard <rene@debian.org> Thu, 17 Sep 2020 20:28:18 +0200
+
+libreoffice (1:7.0.2~rc1-2) experimental; urgency=medium
+
+ * debian/rules:
+ - fix SYSTEM_GCC_VERSION detection
+
+ -- Rene Engelhard <rene@debian.org> Thu, 17 Sep 2020 20:28:18 +0200
+
+libreoffice (1:7.0.2~rc1-1) experimental; urgency=medium
+
+ * New upstream release candidate
+
+ * debian/rules:
+ - also use --disable-skia on armel on buster-backports
+ - force noopt (thus also build with --disable-optimized) on armhf and
+ use default gcc again
+ - stop creating /usr/lib/libreoffice/share/registry/README
+ * debian/libreoffice-common.links.in:
+ debian/libreoffice-common.maintscript: add a symlink
+ /usr/lib/libreoffice/share/registry -> /etc/libreoffice/registry
+ since some software (e.g. LibreOffice Onlines loolwsd) doesn't honour the
+ path set in LOs config (closes: #969653)
+
+ -- Rene Engelhard <rene@debian.org> Wed, 16 Sep 2020 19:59:51 +0200
+
+libreoffice (1:7.0.1-1) unstable; urgency=medium
+
+ * New upstream release
+
+ * debian/liblibreoffice-java.poms: actually add to install the pom...
+ * debian/control.in:
+ - bump ure dependency for -core to (>= 1:7.0.0) (closes: #969244)
+ - remove article from libofficebean-javas Description:
+ * debian/*.lintian-overrides:
+ - override "codeless-jar", manifest-only jar is intended here
+ - update some overrides
+
+ -- Rene Engelhard <rene@debian.org> Thu, 03 Sep 2020 09:43:55 +0200
+
+libreoffice (1:7.0.1~rc1-2) unstable; urgency=medium
+
+ * debian/control.in:
+ - fix Conflicts against *-unbundled, actually AOO still calls it
+ openoffice.org-unbundled and remove libreoffice-unbundled since it's
+ apparently not used anymore
+
+ * Merge from Ubuntu:
+ - debian/rules:
+ + Use gcc/g++-9 on armhf
+ (only when running the tests, though)
+
+ -- Rene Engelhard <rene@debian.org> Sun, 23 Aug 2020 22:00:45 +0200
+
+libreoffice (1:7.0.1~rc1-1) unstable; urgency=medium
+
+ * New upstream release candidate
+
+ * debian/rules: bump libnumbertext build-dep to 1.0.6 and use internal
+ libnumbertext for buster-backports
+
+ -- Rene Engelhard <rene@debian.org> Fri, 07 Aug 2020 19:30:24 +0200
+
+libreoffice (1:7.0.0-1) unstable; urgency=medium
+
+ * New upstream release
+ - reverts the "Personal edition" nonsense (closes: #965235)
+
+ * debian/patches/no-opencl-per-default.diff: as name says, disable OpenCL
+ per default. Prompted by
+ https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=954849#41 ff.
+ * debian/tests/control: use libreoffice-l10n-zh-tw instead of
+ libreoffice-l10n-ja to test a xx-YY locale so that stuff like #964944
+ is noticed.
+ * debian/rules:
+ - remove Education;Science; from libreoffice-math.desktop (closes: #965338)
+ - build-depend on qtchoser and export QT_SELECT_5 (again) for
+ buster-backports
+
+ -- Rene Engelhard <rene@debian.org> Sun, 01 Aug 2020 15:02:40 +0200
+
+libreoffice (1:7.0.0~rc2-1) unstable; urgency=medium
+
+ * New upstream release candidate
+
+ * debian/control*.in:
+ - fix "compatibility" spelling and one s/package/library/ for consistency.
+ - add explicit depends on liblibreoffice-java for documentation purposes
+ * debian/rules:
+ - symlink oo-ldap.xcd.sample and oo-ad-ldap.xcd.sample to
+ in /etc/libreoffice/registry so that they are not hidden in
+ /usr/lib/libreoffice/share/.registry
+ - move /usr/lib/libreoffice/share/registry/README creation later in rules
+ so that it doesn't get hidden in /usr/lib/libreoffice/share/.registry
+ - fix adding the ucf snippets to zh-CN,zh-TW etc (closes: #964944)
+ - update jh_classpath calls for libreoffice.jar
+
+ -- Rene Engelhard <rene@debian.org> Wed, 15 Jul 2020 18:31:45 +0000
+
+libreoffice (1:7.0.0~rc1-5) unstable; urgency=medium
+
+ * debian/control.in:
+ - fix whitespace
+
+ -- Rene Engelhard <rene@debian.org> Wed, 08 Jul 2020 06:29:17 +0200
+
+libreoffice (1:7.0.0~rc1-4) unstable; urgency=medium
+
+ * debian/patches/disable-shortcuts_tab_navigation-uitest.diff: as
+ name says, hangs in autopkgtest (or chroot), works in the build...
+
+ * debian/rules:
+ - use --with-extra-buildid instead of --with-build-version
+ * debian/control*.in:
+ - make all packages having (moved) config files depend on
+ libreoffice-common (>= 1:7.0.0~alpha~) (closes: #964471)
+
+ -- Rene Engelhard <rene@debian.org> Tue, 07 Jul 2020 21:00:43 +0200
+
+libreoffice (1:7.0.0~rc1-3) unstable; urgency=medium
+
+ * debian/watch: follow rcs
+
+ * debian/control*.in:
+ - add Breaks:/Replaces: openclipart-libreoffice (<= 1:0.18+dfsg-17)
+ (closes: #964251)
+ - fix -dev-gui Breaks
+
+ -- Rene Engelhard <rene@debian.org> Sat, 04 Jul 2020 23:05:58 +0200
+
+libreoffice (1:7.0.0~rc1-2) unstable; urgency=medium
+
+ * upload to unstable
+
+ -- Rene Engelhard <rene@debian.org> Sat, 04 Jul 2020 10:17:27 +0200
+
+libreoffice (1:7.0.0~rc1-1) experimental; urgency=medium
+
+ * New upstream release candidate
+
+ * debian/tests/patches/java-subsequentcheck-standalone.diff: unfuzzy.
+ use $(shell .. | sed) instead of $(subst ..) since the latter doesn't
+ work anymore...
+ * debian/patches/disable-sc-sw-ScriptOrganizer-test.diff,
+ debian/patches/sc-disable-UITest_options.diff: remove, works
+ now (probably because of java-common below..)
+
+ * debian/rules:
+ - remove unused/-needed CLANG= setting and export CLANG_CC/CLANG_CXX
+ instead if needed (don't set it for default clang version)
+ - fix adding {cjk,ctl,ctlseqcheck}_*.xcd to -l10n-* .ucf files
+ - make make check failures fatal again (on amd64/arm64)
+ - don't use clang for skia on armel and build-conflict against clang on
+ it (see #963162, #963167)
+
+ * debian/tests/control:
+ - fix uicheck-*:
+ - add new dependencies (cui needs -writer now, too,
+ sw needs calc for uno.InsertObject)
+ - add libreoffice-java-common to uicheck-{sc,sw} for RunMacros dialog
+ test (doesn't fail without but just prints an exception but...)
+ - disable "smoketest" for now
+
+ * debian/control*.in:
+ - s/progamming/programming/ (closes: #963753)
+ - make -common break libreoffice-l10n (<< 7.0) (and other packages having
+ config files moved) due to registry move to /etc
+
+ * debian/libreoffice-l10n.ucf.in: handle
+ /etc/libreoffice/registry/res/registry_@ISO@.xcd so that the respective
+ language actually gets active
+
+ * debian/*.symbols: remove ure (closes: #963895) even though it means
+ r-deps need to add dependencies manually...
+
+ -- Rene Engelhard <rene@debian.org> Thu, 02 Jul 2020 22:00:34 +0200
+
+libreoffice (1:7.0.0~beta2-2) experimental; urgency=medium
+
+ * debian/patches/apparmor-cleanups.diff: #include <abstractions/user-tmp>
+ (closes: #962903)
+
+ * debian/rules:
+ - re-enable CoinMP
+
+ -- Rene Engelhard <rene@debian.org> Sun, 21 Jun 2020 13:24:03 +0200
+
+libreoffice (1:7.0.0~beta2-1) experimental; urgency=medium
+
+ * New upstream beta release
+ - fixes signing existing PDFs (closes: #955272)
+ - sets A4 in extras/source/shellnew templates (closes: #961473)
+
+ * debian/rules:
+ - revert add conditional and build-dep for new box2d, not used in 7.0
+ - use default libboost*-dev (>= 1.71) in gcc 10 case now that we have
+ a matching default boost
+
+ -- Rene Engelhard <rene@debian.org> Thu, 18 Jun 2020 21:43:26 +0200
+
+libreoffice (1:7.0.0~beta1-1) experimental; urgency=medium
+
+ * New upstream beta release
+
+ * debian/rules:
+ - build l10n again
+ - add conditional and build-dep for new box2d
+ - bump build-dependency to Java 1.9 for module-info support
+ - make liblibreoffice-java depend on libunoloader-java
+ * debian/copyright: add dtoa.
+
+ * merge from Ubuntu:
+ - Don't use main.xcd configured with --disable-gui
+
+ -- Rene Engelhard <rene@debian.org> Wed, 27 May 2020 22:24:38 +0200
+
+libreoffice (1:7.0.0~alpha1-2) experimental; urgency=medium
+
+ * debian/patches/libreoffice.jar-pom.diff: add pom for new
+ libreoffice.jar
+ * debian/patches/bigendian-ustrbuf-hxx.diff: add missing include
+ on bigendian architectures
+ * debian/patches/skia-SkOpts_crc32.diff: add missing SkOpts_crc32
+ to fix skia build on arm
+
+ * debian/control*in:
+ - make -librelogo, -sdbc-postgresql and -report-builder explicitly
+ depend on libreoffice-common (>= 1:7.0.0~alpha~) as otherwise
+ /etc/libreoffice/registry might not exist yet
+ * debian/copyright:
+ - remove tango, add sukapura
+ - add skia
+ * debian/rules:
+ - install libreoffice.jar using mh_* instead of jh_installlibs now
+ that it has a pom
+ - build with --disable-skia on bigendian architectures since skia
+ upstream doesn't care about bigendian and make clang build-dep
+ little endian archs-only.
+
+ -- Rene Engelhard <rene@debian.org> Sun, 10 May 2020 10:36:49 +0200
+
+libreoffice (1:7.0.0~alpha1-1) experimental; urgency=medium
+
+ * New upstream alpha release
+
+ * debian/rules, debian/*.doc-base*: remove, optional now
+ * debian/rules:
+ - install opens___.ttf into /usr/share/fonts/libreoffice
+ instead of /usr/share/fonts/openoffice
+ - pretty-print /usr/lib/libreoffice/program/registry xcds for
+ preparation of ucf usage; populate libreoffice-l10n-*.ucf
+ - run dh_ucf; rename original registry from registry to .registry;
+ make LO look directly in /etc/libreoffice/registry
+ - add .bug-script files running ucfq
+ - remove redland dependency workaround; apparently not needed anymore
+ - the skia build picks up clang if present, explicitly build-depend on
+ clang for it - even if building with gcc otherwise
+ - make report-builder-bin-nogui depend on -base-nogui | -base instead
+ of just -base...
+ - build only with en-US for now
+ * debian/control.in, debian/control.ure.in, debian/rules: adapt for
+ jurt.jar,juh.jar,ridl.jar and unoil.jar being dummies for the new
+ libreoffice.jar now, keep libjurt-java, libjuh-java, libridl-kava and
+ libunoil-java as Depends/Recommends for compatibility for now
+ * debian/rules, debian/control.sdk.in: create new libreoffice-dev-gui
+ package only allowing -core as dependency and move gengal and
+ ui-previewer there (closes: #952347)
+ * debian/*.ucf, debian/*.ucf.in: add files for dh_ucf
+ * debian/libreoffice-common.dirs: create /etc/libreoffice/registry{,/res}
+ * debian/control.in: build libreoffice-nogui metapackage
+ * debian/control.in, debian/rules: remove tango icon package, it's gone
+ upstream (closes: #947489)
+
+ -- Rene Engelhard <rene@debian.org> Wed, 06 May 2020 20:00:34 +0000
+
+libreoffice (1:6.4.4~rc1-1) unstable; urgency=medium
+
+ * New upstream release candidate
+ - fixes size of gtk3 print dialog (closes: #955981)
+
+ * debian/patches/gcc10-replace-boost::bimap-in-sdext.diff: backport from master;
+ fix build with gcc 10 - see #957475
+
+ * debian/watch:
+ - add options for alpha, beta and rc "releases" using dev-builds.
+ * debian/scripts/fix_component_tarballs.sh: add new - re-create the component
+ tarballs after uscan/mk-origtgz
+ * debian/rules:
+ - use new scripts/fix_component_tarballs.sh after uscan in get-orig-source
+ - use boost 1.71 (and internal mdds) if gcc is 10 - see #957475
+
+ -- Rene Engelhard <rene@debian.org> Wed, 29 Apr 2020 21:28:30 +0200
+
+libreoffice (1:6.4.3-1) unstable; urgency=medium
+
+ * LibreOffice 6.4.3 final release (identical to rc2)
+
+ * upload to unstable
+
+ * debian/patches/fix-lo-xlate-lang-nb.diff: norwegian -> norwegian_bokmal
+ for nb
+
+ * merge from Ubuntu:
+ - libreoffice-common: Add Replaces libreoffice-base (<< 1:6.4.0~beta1-2~)
+ (closes: #956450)
+
+ -- Rene Engelhard <rene@debian.org> Fri, 10 Apr 2020 18:51:13 +0200
+
+libreoffice (1:6.4.3~rc2-1) experimental; urgency=medium
+
+ * New upstream release candidate
+
+ * debian/rules:
+ - fix gdb helpers ending up in both libreoffice-core-nogui-dbgsym
+ and libreoffice-writer-nogui-dbgsym
+
+ -- Rene Engelhard <rene@debian.org> Tue, 07 Apr 2020 18:12:32 +0200
+
+libreoffice (1:6.4.3~rc1-3) experimental; urgency=medium
+
+ * tests/patches/uicheck-standalone.diff: make apply again
+
+ * merge from Ubuntu:
+ - libreoffice-math: Add Breaks/Replaces libreoffice-common
+ - debian/patches/poppler-0.86.diff: Fix build with poppler 0.86.0
+
+ -- Rene Engelhard <rene@debian.org> Sat, 28 Mar 2020 10:52:28 +0100
+
+libreoffice (1:6.4.3~rc1-2) experimental; urgency=medium
+
+ * debian/rules:
+ - fix redland dependencies for libreoffice-core-nogui
+
+ -- Rene Engelhard <rene@debian.org> Thu, 26 Mar 2020 17:34:54 +0100
+
+libreoffice (1:6.4.3~rc1-1) experimental; urgency=medium
+
+ * New upstream release candidate
+
+ [ Rene Engelhard ]
+ * debian/patches/Fix-build-with-boost-lesser-than-1.68.diff: add from
+ gerrit, thanks Rico Tschichholz
+
+ * debian/rules:
+ - don't delete libuuilo.so in -core-nogui (closes: #954670)
+ - don't ogltrans stuff in -impress, OGLTrans.so isn't built
+ - use default boost (and thus system-mdds) again and revert
+ BOOST_MINVER= (>= 1.68) change
+
+ [ Jochen Sprickerhof ]
+ * debian/control.in:
+ - Prefer libreoffice-core-nogui for -nogui variants
+ Closes: #954319
+ - Drop -core-nogui in non -nogui packages (if -nogui exists)
+ - Fix report_builder and firebird nogui depends
+
+ -- Rene Engelhard <rene@debian.org> Thu, 26 Mar 2020 15:47:27 +0100
+
+libreoffice (1:6.4.2-2) unstable; urgency=medium
+
+ * debian/control.in:
+ - make libreoffice-common Breaks: libreoffice-core (<< 1:6.4.2~rc1)
+ (closes: #954323)
+ - also add Breaks/Replaces libreoffice-common (<< 1:6.4.2~rc1~) to
+ -nogui (for now)
+ - allow libreoffice-draw-nogui in -impress-noguis Depends:
+ (closes: #954318)
+
+ -- Rene Engelhard <rene@debian.org> Fri, 20 Mar 2020 15:23:39 +0000
+
+libreoffice (1:6.4.2-1) unstable; urgency=medium
+
+ * LibreOffice 6.4.2 final (identical to rc2)
+
+ * debian/patches/gengal-message-core.diff: print message and exit with
+ an error if -core-nogui (and not -core) is installed. See #952347
+
+ * merge from Ubuntu:
+ - Add armhf to OOO_NOGUI_ARCHS
+
+ * upload to unstable
+
+ -- Rene Engelhard <rene@debian.org> Thu, 19 Mar 2020 16:01:22 +0100
+
+libreoffice (1:6.4.2~rc2-1) experimental; urgency=medium
+
+ * New upstream release candidate
+
+ * debian/tests/control:
+ - make smoketest depend on -writer and -math (not their -nogui variants)
+
+ -- Rene Engelhard <rene@debian.org> Wed, 11 Mar 2020 16:21:48 +0000
+
+libreoffice (1:6.4.2~rc1-2) experimental; urgency=medium
+
+ * debian/patches/Revert-tdf130839-Corrects-second-level-left-margin-i.patch:
+ remove again.
+
+ * debian/tests/control: add missing python3-uno to uitest-cui and missing
+ libreoffice-l10n-{he,ja} to uicheck-uitest tests
+ * debian/rules:
+ - explicitely build with libboost1.71-dev (and therefore use internal
+ mdds for now) and set BOOST_MINVER= (>= 1.68)
+ * debian/source/include-binaries:
+ - include tarballs/mdds-1.5.0.tar.bz2
+
+ -- Rene Engelhard <rene@debian.org> Sat, 07 Mar 2020 22:53:34 +0100
+
+libreoffice (1:6.4.2~rc1-1) experimental; urgency=medium
+
+ * New upstream release candidate
+
+ * debian/patches/disable-some-sc-tests-with-internal-cppunit.diff:
+ cleanup - remove; affected only internal cppunit and stable(-backports)
+ already builds with system one
+ * debian/patches/Revert-tdf130839-Corrects-second-level-left-margin-i.patch:
+ temporarily revert upstream patch until we either have boost >= 1.68 as
+ default or it can be built with boost < 1.68
+ * debian/patches/sc-disable-UITest_options.diff: temporarily disable options
+ tests, hang (but works in a "normal" system)
+
+ * debian/rules:
+ - move soffice.cfg modules to corresponding packages and remove *.ui
+ in the -nogui packages
+ - package breeze_dark_svg and sifr_dark_svg into the respective
+ packages
+ - move /usr/lib/libreoffice/program/postgresql-sdbc.ini to
+ /etc/libreoffice
+ - remove fonts-alef from FONTS_RECOMMENDS again; no idea where I saw it
+ - it's not in Debian (yet)
+ * debian/control.in:
+ - update for soffice.cfg moves
+ * debian/tests/*: split uicheck into tests per module containing uitests.
+ hopefully helps for arm64 test timeout
+
+ -- Rene Engelhard <rene@debian.org> Sun, 01 Mar 2020 15:09:06 +0100
+
+libreoffice (1:6.4.1-1) unstable; urgency=medium
+
+ * LibreOffice 6.4.1 final release
+
+ * debian/patches/disable-sc-ScriptOrganizer-test.diff: move ...
+ * disable-sc-sw-ScriptOrganizer-test.diff: ... here and also disable it
+ for sw; exhibiting on buster-backports
+ * debian/patches/make-package-modules-not-suck.diff: add missing comma
+ so that libsduilo.so is actually installed into -draw instead of
+ -core
+ * debian/patches/python3.8.2.diff: go sure; backport python 3.8.2
+ initialization fix from master
+
+ * debian/control.in:
+ - make -draw Replaces: -core (<< 1:6.4.1~rc1-3)
+ - make -base Pre-Depends: dpkg (>= 1.19.1) (closes: #951149)
+ * debian/libreoffice-nlpsolver.bug-script.in: add analogous to
+ wiki-publisher
+ * debian/libreoffice-ogltrans.bug-script.in: remove ...
+ * debian/libreoffice-impress.bug-scrip.in: ... and merge here.
+
+ -- Rene Engelhard <rene@debian.org> Sat, 22 Feb 2020 14:46:04 +0100
+
+libreoffice (1:6.4.1~rc1-2) unstable; urgency=medium
+
+ * update Replaces: in -help-* to libreoffice-help-common (<< 1:6.4.1~rc1-1)
+ (closes: #950833)
+
+ -- Rene Engelhard <rene@debian.org> Fri, 07 Feb 2020 16:26:56 +0100
+
+libreoffice (1:6.4.1~rc1-1) unstable; urgency=medium
+
+ * New upstream release candidate
+ - fixes opengl slide transitions with glm >= 0.9.9 (closes: #917927)
+
+ * debian/patches/no-packagekit-per-default.diff: revert configure revert;
+ add configuration item and use it (closes: #950225)
+ * debian/patches/debian-vendor.diff: handle Debians vendor correctly, extracted
+ from old no-packagekit-per-default.diff
+
+ * debian/rules:
+ - don't install libdbulo.so in -base-nogui (contains Base UI)
+ - generailize OOO_VENDOR setting to use DEB_VENDOR/DEB_PARENT_VENDOR
+ - add fonts-alef to he's FONT_RECOMMENDS
+ - remove appdata files in *-nogui
+
+ -- Rene Engelhard <rene@debian.org> Wed, 05 Feb 2020 22:27:44 +0100
+
+libreoffice (1:6.4.0-1) unstable; urgency=medium
+
+ * LibreOffice 6.4.0 final release (identical to rc3)
+
+ * debian/patches/disable-sc-ScriptOrganizer-test.diff: disable sc
+ ScriptOrganizer test uitest for now - fails on arm64 buildds
+ (and only in sc, not in sw) but works on the porterbox...
+ * debian/libreoffice-l10n-{in,kmr,za}.maintscript: fix (closes: #946470)
+
+ -- Rene Engelhard <rene@debian.org> Wed, 29 Jan 2020 16:25:26 +0100
+
+libreoffice (1:6.4.0~rc3-1) unstable; urgency=medium
+
+ * New upstream release candidate
+
+ -- Rene Engelhard <rene@debian.org> Thu, 23 Jan 2020 18:08:28 +0100
+
+libreoffice (1:6.4.0~rc2-2) unstable; urgency=medium
+
+ * oops, reupload with all languages in control....
+
+ -- Rene Engelhard <rene@debian.org> Thu, 09 Jan 2020 19:46:13 +0000
+
+libreoffice (1:6.4.0~rc2-1) unstable; urgency=medium
+
+ * New upstream release candidate
+
+ * debian/rules:
+ - stop special-casing ure, uno-libs-private, libuno* epoch-wise to avoid
+ confusion (especially since it was missed to apply that special-casing to
+ lib*-java anyways)
+ - use filter for setting BUILD_NOGUI_PACKAGES and add ppc64 to OOO_NOGUI_ARCHS
+ (closes: #948120)
+ - add missing dh_python3 call for python3-access2base
+ * debian/control.*.in:
+ - make libjuh-java Depends: ure since it loadLibrary()'s libjuh.so;
+ same with libjurt-java (libjava_uno.so)
+ - add some explicit dependencies on the new java packages to where they are
+ mentioned in Class-Path:
+ - suggest odbc-mdbtools instead of just mdbtools
+ - remove obsolete alternatives from ${java-runtime-depends} and suggest that
+ instead of java5-runtime in ure
+ * debian/rules, debian/control.in:
+ - make libofficebean-java arch-dep and install libofficebean.so there
+ (into /usr/lib/jni with a symlink from /usr/lib/libreoffice/program);
+ make libreoffice-officebean a transitional package for libofficebean-java
+
+ -- Rene Engelhard <rene@debian.org> Wed, 08 Jan 2020 17:22:52 +0000
+
+libreoffice (1:6.4.0~rc1-6) unstable; urgency=medium
+
+ * debian/control.in, debian/control.ure.in:
+ - fix typo: s/java:Depednds/java:Depends/g
+ * debian/rules:
+ - fix the URE/unoil/officebean jar splitout to actually work as
+ expected (closes: #947909). Fix smoketest.jar move to
+ -smoketest-data
+ - don't try to remove the bogus base-files dependencies manually,
+ use jh_depends -Xbase-files...
+ * debian/control.in, debian/control.ure.in:
+ - update Breaks:/Replaces: and add "reverse" Breaks:/Replaces:, too
+
+ -- Rene Engelhard <rene@debian.org> Fri, 03 Jan 2020 19:34:21 +0100
+
+libreoffice (1:6.4.0~rc1-5) unstable; urgency=medium
+
+ * debian/control.ure.in:
+ - fix Breaks:/Replaces: on ure, it has no epoch... (closes: #947853)
+
+ -- Rene Engelhard <rene@debian.org> Tue, 31 Dec 2019 18:41:06 +0000
+
+libreoffice (1:6.4.0~rc1-4) unstable; urgency=medium
+
+ * debian/rules:
+ - limit parallelism for running the tests to 1 so one can see
+ directly which test fails/hangs; keep the second run in case
+ of a failure nevertheless for flaky tests...
+ - disable coinmp for now, tests hang
+
+ -- Rene Engelhard <rene@debian.org> Mon, 30 Dec 2019 16:54:09 +0100
+
+libreoffice (1:6.4.0~rc1-3) unstable; urgency=medium
+
+ readd test fixes which somewow got lost in preparation of -2:
+
+ * debian/tests/control:
+ - smoktest: add missing -nogui and add missing libreoffice-base-nogui
+ to Depends:; but use calc and core since the test actually seems to want
+ to use something from it
+ - junit: use the "GUI" packages
+ * debian/control*in:
+ - add more Breaks:/Replaces: for the new split-out Java packages (and
+ libreoffice-smoketest-data) (closes: #947446)
+ * debian/libreoffice-common.doc-base: also add Files:
+
+ -- Rene Engelhard <rene@debian.org> Fri, 27 Dec 2019 10:51:35 +0100
+
+libreoffice (1:6.4.0~rc1-2) unstable; urgency=medium
+
+ * debian/rules, debian/control*in:
+ - make -nogui variant less confusing and create them for all "UI"
+ packages (also saves some space since some (not needed for nogui)
+ will be gone from -nogui)
+ * debian/rules, debian/libreoffice-calc-nogui.lintian-overrides:
+ - remove lib*uilo.so and *.desktop from *-nogui
+ * debian/tests/control:
+ - fix typo
+ - use the new -nogui packages created above in the smoketest test
+
+ -- Rene Engelhard <rene@debian.org> Sun, 22 Dec 2019 18:37:42 +0100
+
+libreoffice (1:6.4.0~rc1-1) unstable; urgency=medium
+
+ * LibreOffice 6.4.0 release candidate 1
+ * upload to unstable
+
+ * debian/patches/sc-opengl-optional.diff: don't rely on
+ isVCLOpenGLEnabled if HEAVE_FEATURE_UI isn't defined
+
+ * debian/control.in, debian/rules: create a libreoffice-calc-nogui
+ for use with libreoffice-core-nogui
+ * debian/rules:
+ - cleanup, introduce a BUILD_NOGUI_PACKAGES=y/n and only
+ build -nogui on amd64/i386/arm64/s390x/ppc64el so save build cycles on
+ the other architectures (more or less double build)
+ - add explicit libgl-dev build-dep
+
+ * debian/control.firebird.in: allow libreoffice-core-nogui
+ * debian/control.in:
+ - allow libreoffice-core-nogui for libreoffice-dev
+ - move python-access2base to "python" and libreoffice-sdbc-mysql to
+ "database" like the other -sdbc-*
+ * debian/tests/control:
+ - improve test depends for nogui:
+ + make odk-test-examples/test-extension-* depend on
+ libreoffice-core-nogui only
+ + make smoketest and junit depend on libreoffice-{calc,core}-nogui
+ instead of their GUI counterparts and use the needed packages
+ instead of the "libreoffice" metapackage
+ - make odk-test-examples depend on libofficebean-java instead
+ of libreoffice-officebean
+
+ -- Rene Engelhard <rene@debian.org> Thu, 19 Dec 2019 18:59:30 +0100
+
+libreoffice (1:6.4.0~beta1-4) experimental; urgency=medium
+
+ * re-enable introspection which was accidentially kept disabled after a
+ python3.8 test rebuild...
+ * re-enable building of the "test packages"
+ (-smoketest-data, -subsequentcheckbase)
+
+ -- Rene Engelhard <rene@debian.org> Sun, 15 Dec 2019 10:29:19 +0000
+
+libreoffice (1:6.4.0~beta1-3) experimental; urgency=medium
+
+ * debian/patches/fix-build-with-poppler-0.83.diff: as name says
+
+ * debian/rules, debian/control: bump dh compat to 12 and use
+ debhelper-compat (= 12) in Build-Depends ...
+ * debian/compat: ... and remove this
+ * debian/rules:
+ - run dh_dwz again as it seems to work now
+ - add hyphen-en-us <!nocheck> to Build-Depends; used by writer tests
+ * debian/upstream/metadata: add
+ * debian/*.maintscript: fix again and update version
+ (closes: #946470) (thanks Andreas Beckmann)
+
+ * merge from Ubuntu:
+ - Recommend fonts-noto-extra (fixes various Impress templates)
+
+ -- Rene Engelhard <rene@debian.org> Mon, 09 Dec 2019 18:10:48 +0100
+
+libreoffice (1:6.4.0~beta1-2) experimental; urgency=medium
+
+ * debian/control*in, debian/*.lintian-overrides: fix some minor lintian
+ stuff after the library splitout
+ * debian/control.test-packages.in, debian/rules: move smoketest.jar into
+ libreoffice-smoketest-data
+ * debian/control.in, debian/rules, debian/libreoffice-base.p*.in:
+ simplify and revert diversion of AccessBase basic stuff.
+ * debian/libreoffice-common.docs, debian/libreoffice-common.doc-base,
+ debian/patches/add-access2base-doc.diff: install
+ www.access2base.com/access2base.html into libreoffice-common as doc
+
+ -- Rene Engelhard <rene@debian.org> Sun, 17 Nov 2019 13:34:51 +0100
+
+libreoffice (1:6.4.0~beta1-1) experimental; urgency=medium
+
+ * debian/rules, debian/tests/control: revert -0reprotestX changes
+ * debian/control*in, debian/rules, debian/*.symbols,
+ debian/*.lintian-overrides:
+ follow best practices and split the uno public libraries into extra
+ package per library and move (supposed to be publically importable)
+ access2base.py into python3-access2base
+ * debian/rules: stop hacking changelog; install complete changelog
+ everywhere
+
+ -- Rene Engelhard <rene@debian.org> Fri, 15 Nov 2019 07:58:41 +0100
+
+libreoffice (1:6.4.0~beta1-0reprotest1) experimental; urgency=medium
+
+ * New upstream beta release
+
+ * debian/rules:
+ - add szl to (LANGPACK)ISOS so that we build a Upper Silesian
+ l10n when languages get enabled again
+ * debian/*.maintscript: fix
+
+ -- Rene Engelhard <rene@debian.org> Wed, 13 Nov 2019 22:11:29 +0100
+
+libreoffice (1:6.4.0~alpha1-0reprotest4) experimental; urgency=medium
+
+ * debian/patches/ldl.diff: add missing -ldl for --disable-gui builds
+ to fix build on 32bit archs...
+ * debian/patches/disable-static_assert-on-AtomicCounter-on-armel.diff:
+ fix build on armel
+
+ -- Rene Engelhard <rene@debian.org> Wed, 06 Nov 2019 18:41:06 +0100
+
+libreoffice (1:6.4.0~alpha1-0reprotest3) experimental; urgency=medium
+
+ * debian/rules:
+ - fix setting of --without-lxml
+
+ -- Rene Engelhard <rene@debian.org> Tue, 05 Nov 2019 18:05:49 +0000
+
+libreoffice (1:6.4.0~alpha1-0reprotest2) experimental; urgency=medium
+
+ * debian/rules:
+ - actually add explicit --no-automatic-dbgsym if BUILD_DBGSYM_PACKAGES != y
+
+ -- Rene Engelhard <rene@debian.org> Sat, 19 Oct 2019 11:56:49 +0000
+
+libreoffice (1:6.4.0~alpha1-0reprotest1) experimental; urgency=medium
+
+ * New upstream alpha release
+ - drops gtk2 support (closes: #885143)
+ - fixes the postgresql driver with PostgreSQL 12 (closes: #943873)
+
+ * debian/rules, debian/control*in:
+ - follow upstream split of kde5 into kf5+plasma5. (But use -plasma
+ only). Add transitional libreoffice-kde5 package
+ - remove gtk3_kde5 support since it doesn't fit in the above structure
+ now
+ - adapt for Java baseline bump to >= 1.8
+ - create libreoffice-core-nogui package
+ * debian/rules, debian/control.in, debian/*.maintscript:
+ stop using --link-doc=. a) for -style-* as they cause a circular dependency
+ (closes: #940303) and b) since it doesn't work anymore with the -core-nogui
+ alternative
+ * debian/rules:
+ - add option to build with --disable-gui (as it's now even included in
+ upstreams distro-configs/LibreOfficeOnline.conf) for libreoffice-core-nogui;
+ re-sort the "GUI-only" build-deps
+ - support nojava build profile
+ - stop trying --disable-dependency-tracking as we have even more build-steps
+ now (nogui!), better safe than sorry
+
+ * debian/rules, debian/tests/control:
+ - temporarily disable all languages except en-US,de,he,ja, disable -g
+ (and -dbgsym), don't run make check/build the test packages so that we
+ hopefully don't timeout in the reproducible builds infrastructure
+
+ -- Rene Engelhard <rene@debian.org> Thu, 17 Oct 2019 16:18:14 +0000
+
+libreoffice (1:6.3.3~rc1-1) unstable; urgency=medium
+
+ * New upstream release candidate
+ - fixes images getting black in some circumstances
+ (closes: #941655)
+
+ * debian/scripts/gid2pkgdirs.sh:
+ - stop installing /usr/share/mimelnk (closes: #941439)
+
+ -- Rene Engelhard <rene@debian.org> Sun, 13 Oct 2019 16:39:08 +0000
+
+libreoffice (1:6.3.2-1) unstable; urgency=medium
+
+ * LibreOffice 6.3.2 final release
+
+ -- Rene Engelhard <rene@debian.org> Mon, 23 Sep 2019 12:39:49 +0200
+
+libreoffice (1:6.3.2~rc1-1) unstable; urgency=medium
+
+ * New upstream release candidate
+
+ -- Rene Engelhard <rene@debian.org> Fri, 06 Sep 2019 16:06:05 +0200
+
+libreoffice (1:6.3.1-1) unstable; urgency=medium
+
+ * LibreOffice 6.3.1 final release (identical to rc2)
+
+ * debian/patches/set-Wl-no-as-needed-for-latomic.diff: move ...
+ * debian/patches/latomic.diff: ... here and replace by full configure
+ check
+
+ * debian/rules:
+ - explicitely build with --with-linker-hash-style=sysv on mips*,
+ thanks Aurelien Jarno
+
+ [ merge from Ubuntu ]
+ * re-enable make check on armhf
+
+ -- Rene Engelhard <rene@debian.org> Mon, 02 Sep 2019 19:17:30 +0200
+
+libreoffice (1:6.3.1~rc2-3) unstable; urgency=medium
+
+ * debian/patches/set-Wl-no-as-needed-for-latomic.diff: as name says,
+ we need -Wl,--no-as-needed for -latomic (and gcc9 defaults to
+ --as-needed..), thanks Adam Borowski
+
+ -- Rene Engelhard <rene@debian.org> Fri, 30 Aug 2019 20:24:22 +0200
+
+libreoffice (1:6.3.1~rc2-2) unstable; urgency=medium
+
+ * reupload with complete control...
+
+ -- Rene Engelhard <rene@debian.org> Fri, 30 Aug 2019 18:29:31 +0200
+
+libreoffice (1:6.3.1~rc2-1) unstable; urgency=medium
+
+ * New upstream release candidate
+ - fixes Help-About with gtk2 plugin (closes: #934779)
+ - fixes CVE-2019-9854/CVE-2019-9855
+
+ * debian/control.in:
+ - add kn and ne to libreoffice-l10n-ins depends (closes: #935632)
+
+ -- Rene Engelhard <rene@debian.org> Fri, 30 Aug 2019 06:28:53 +0200
+
+libreoffice (1:6.3.0-2) unstable; urgency=medium
+
+ * debian/control.in:
+ - make -core Conflicts: against libreoffice-mysql-connector (<< 1:6.2.0~)
+ (closes: #933835)
+
+ -- Rene Engelhard <rene@debian.org> Fri, 09 Aug 2019 19:20:41 +0200
+
+libreoffice (1:6.3.0-1) unstable; urgency=medium
+
+ * New upstream release
+ - fixes CVE-2019-9850/CVE-2019-9851/CVE-2019-9852/CVE-2019-9853
+
+ * merge from Ubuntu:
+ - patches/fix-uicheck-tests-on-i386.patch: fix rounding errors on i386
+
+ * debian/rules:
+ - be consequent and disable mergelibs and -g on i386, too
+ - disable running make check on mipsel, mips64el, armel, armhf
+
+ -- Rene Engelhard <rene@debian.org> Tue, 06 Aug 2019 19:44:20 +0200
+
+libreoffice (1:6.3.0~rc2-1) unstable; urgency=medium
+
+ * New upstream release candidate
+
+ * debian/rules:
+ - remove build paths in test.jars Class-Path:
+
+ -- Rene Engelhard <rene@debian.org> Sun, 21 Jul 2019 19:55:13 +0200
+
+libreoffice (1:6.3.0~rc1-2) unstable; urgency=high
+
+ * mention fixed security bugs in 1:6.3.0~beta2-1
+ * make upload urgency=high because of the above
+
+ * debian/control.in:
+ - move librelogo from Recommends to Suggests
+ - bump math depends on fonts-opensymbol to >= 2:102.11
+
+ -- Rene Engelhard <rene@debian.org> Wed, 17 Jul 2019 06:12:01 +0200
+
+libreoffice (1:6.3.0~rc1-1) unstable; urgency=medium
+
+ * New upstream release candidate
+
+ * upload to unstable
+
+ * merge from Ubuntu:
+ - debian/patches/fix-flaky-bridgetest.diff: add safer float
+ comparisons to bridgetest equals() (LP: 1832360)
+
+ * debian/control.qt5.in:
+ - recommend qtgstreamer-plugins-qt5
+ * debian/rules:
+ - handle java version suffixes (strip them), e.g. "-ea"
+ - disable vlc avmedia plugin (bitrotting, unsupported on linux,
+ low popcon
+ * debian/rules, debian/control.in:
+ and merge -avmedia-gstreamer into -core now that it is the
+ only alternative
+
+ -- Rene Engelhard <rene@debian.org> Sun, 07 Jul 2019 18:37:57 +0000
+
+libreoffice (1:6.3.0~beta2-2) experimental; urgency=medium
+
+ * debian/patches/link-with-latomic-on-mips-el-armel-powerpc.diff:
+ as name says
+
+ -- Rene Engelhard <rene@debian.org> Sat, 22 Jun 2019 10:39:57 +0200
+
+libreoffice (1:6.3.0~beta2-1) experimental; urgency=medium
+
+ * New upstream beta release
+ - fixes CVE-2019-9848 and CVE-2019-9848
+
+ -- Rene Engelhard <rene@debian.org> Fri, 21 Jun 2019 19:09:23 +0200
+
+libreoffice (1:6.3.0~beta1-2) experimental; urgency=medium
+
+ * debian/patches/0cf4e7f.diff: add from gerrit, fixes 32bit build for the
+ Qt5 plugin
+
+ -- Rene Engelhard <rene@debian.org> Sun, 02 Jun 2019 20:54:17 +0200
+
+libreoffice (1:6.3.0~beta1-1) experimental; urgency=medium
+
+ * New upstream beta release
+
+ -- Rene Engelhard <rene@debian.org> Sat, 01 Jun 2019 11:43:39 +0200
+
+libreoffice (1:6.3.0~alpha1-2) experimental; urgency=medium
+
+ * debian/patches/c579879.diff: add from gerrit, fixes 32bit build for the
+ Qt5 plugin
+
+ -- Rene Engelhard <rene@debian.org> Wed, 15 May 2019 18:12:04 +0200
+
+libreoffice (1:6.3.0~alpha1-1) experimental; urgency=medium
+
+ * New upstream alpha release
+ - now has ui prompt for printer authentication (closes: #795929)
+
+ * debian/rules:
+ - export JAVA_{SOURCE,TARGET}_VER to 1.7 if building with Java >= 12
+
+ -- Rene Engelhard <rene@debian.org> Mon, 13 May 2019 20:00:56 +0200
+
+libreoffice (1:6.2.4~rc1-1) experimental; urgency=medium
+
+ * New upstream release candidate
+ - supports JRE installations with unknown java.vendor property
+
+ * debian/patches/java.vendor-Debian.diff: remove again as upstream now
+ accepts unknown JDKs
+
+ -- Rene Engelhard <rene@debian.org> Sun, 05 May 2019 21:08:43 +0200
+
+libreoffice (1:6.2.3~rc2-1) experimental; urgency=medium
+
+ * New upstream release candidate
+
+ * debian/rules:
+ - replace various $(findstring for arch checks by $(filter
+
+ -- Rene Engelhard <rene@debian.org> Tue, 16 Apr 2019 22:25:38 +0200
+
+libreoffice (1:6.2.3~rc1-1) experimental; urgency=medium
+
+ * New upstream release candidate
+
+ * debian/patches/mention-java-common-package.diff: update message to
+ reflect current config dir...
+ * debian/patches/java.vendor-Debian.diff: make jvmfwk recognize "Debian"
+ as java.vendor as that's what is set in openjdk 11 >= 11.0.3+4-2
+ - see #926009 (closes: #926318)
+
+ * debian/rules:
+ - give up and disable running make check on mips
+ - bump libxmlsec1 build-dep to >= 1.2.27-3 if building with ICU 64
+ - remove i386 special-casing for openjdk-8 and -9 from old "stack clash
+ fix broken on i386" days preventing removal openjdk-8
+ (closes: #926281)
+
+ -- Rene Engelhard <rene@debian.org> Wed, 03 Apr 2019 17:15:13 +0200
+
+libreoffice (1:6.2.2-1) experimental; urgency=medium
+
+ * New upstream release
+
+ * debian/control.gtk3.in:
+ - make libreoffice-gtk3 recommend gstreamer1.0-gtk3 (see LP: #1820062)
+
+ -- Rene Engelhard <rene@debian.org> Wed, 03 Apr 2019 13:19:34 +0200
+
+libreoffice (1:6.2.2~rc1-1) experimental; urgency=medium
+
+ * New upstream release candidate
+
+ -- Rene Engelhard <rene@debian.org> Mon, 04 Mar 2019 23:18:41 +0100
+
+libreoffice (1:6.2.1~rc2-1) experimental; urgency=medium
+
+ * New upstream release candidate
+
+ * debian/control.in:
+ - move -sdbc-hsqldb from Recommends to Suggests given LO now defaults
+ to firebird and there's a hsqldb->firebird migration running
+
+ * merge from Ubuntu:
+ - debian/rules: call dh_shlibdeps with absolute paths
+ - tests/control: add allow-stderr restriction to test-extension{,-shared}.
+ unopkg now prints out more errors, and it does so on stderr by default.
+
+ -- Rene Engelhard <rene@debian.org> Tue, 26 Feb 2019 22:37:42 +0100
+
+libreoffice (1:6.2.1~rc1-1) experimental; urgency=medium
+
+ * New upstream release candidate
+
+ * debian/rules:
+ - enable id help (closes: #922187)
+
+ -- Rene Engelhard <rene@debian.org> Wed, 13 Feb 2019 07:31:09 +0100
+
+libreoffice (1:6.2.0-2) experimental; urgency=medium
+
+ * patches/emfio-HAVE_MORE_FONTS.diff: add two more #if HAVE_MORE_FONTS
+ to disable those tests (Calibri and Arial not necessarily present)
+ * debian/rules: readd font build-dependencies since stuff apparently still
+ rely on them (and vcl even abort()s if no fonts are installed)
+
+ -- Rene Engelhard <rene@debian.org> Sun, 10 Feb 2019 20:26:09 +0100
+
+libreoffice (1:6.2.0-1) experimental; urgency=medium
+
+ * New upstream release
+
+ * debian/patches/jdk-11.0.2-javadoc.diff: backport from master
+ (closes: #920331)
+ * debian/patches/tdf123077.diff: add from libreoffice-6-1 branch
+ (closes: #920859)
+
+ * debian/patches/aarch64-temporarily-disable-testgetCaughtException.diff:
+ remove again ...
+ * debian/patches/aarch64-call-__cxa_current_exception_type.diff: ... and
+ replace with this (from master)
+
+ * debian/control.transitionals.in: revert making libreoffice-mysql-connector
+ 'all'
+ * debian/libreoffice-mysql-connector.maintscript: remove
+ $DPKG_MAINTSCRIPT_PACKAGE and use -core instead of -common.
+ (closes: #919298)
+ * debian/control.kde*.in: Replaces: libreoffice-kde (<< 1:6.1.0~alpha1-1)
+ (closes: #919103)
+ * debian/rules:
+ - add mesa-opencl-icd | beignet-opencl-icd as alternatives to
+ ocl-icd-libopencl1
+ * debian/control.in: recommend fonts-noto-{,ui}-core instead of transitional
+ fonts-noto-hinted (closes: #920960)
+ * debian/rules, debian/scripts/locale-gen: revert removal, still needed e.g.
+ for sw_odfexports testSpellOutNumberingTypes::Import which hangs otherwise
+
+ [ Vincas Dargis ]
+ * debian/patches/apparmor-opencl.diff: Include OpenCL abstractions to fix
+ OpenCL usage in Calc
+
+ -- Rene Engelhard <rene@debian.org> Fri, 08 Feb 2019 18:34:34 +0100
+
+libreoffice (1:6.2.0~rc2-1) experimental; urgency=medium
+
+ * New upstream release candidate
+ - belarussian -> belarusian (closes: #917795)
+
+ * debian/patches/m68k-fix-parameter-type.patch: as name says,
+ thanks John Paul Adrian Glaubitz (closes: #917539)
+
+ * debian/rules:
+ - revert 1:6.2.0~rc1-2 change
+ * debian/rules, debian/control*in, debian/scripts/gid2pkgdirs.sh:
+ merge -ogltrans into -impress
+ * debian/control.in: bump recommends for apparmor to >= 2.13.1 and conflict
+ against apparmor (<< 2.13.1~) (closes: #918499)
+ * debian/control.in, debian/rules: make apparmor recommends/conflicts
+ dependant on ENABLE_APPARMOR_PROFILES=y
+
+ -- Rene Engelhard <rene@debian.org> Fri, 11 Jan 2019 17:19:56 +0000
+
+libreoffice (1:6.2.0~rc1-2) experimental; urgency=medium
+
+ * debian/rules:
+ - use "mariadb" as MYSQL_FLAVOUR and use libmariadb-dev directly
+ until the mariadb-10.3-induced mess is solved
+
+ -- Rene Engelhard <rene@debian.org> Fri, 21 Dec 2018 23:18:05 +0000
+
+libreoffice (1:6.2.0~rc1-1) experimental; urgency=medium
+
+ * New upstream release candidate
+ - show partial signatures even if cert validation fails
+ (CERT-Bund#2018100828000257)
+
+ * debian/patches/aarch64-temporarily-disable-testgetCaughtException.diff:
+ as name says; the test is new in 6.2, never worked on arm64 (so no
+ regression) and the other, bigger tests (junit, uicheck) work fine.
+ * debian/patches/fix-build-with-poppler-0.71.diff: one more patch
+ for poppler 0.71 (from master) (closes: #915726)
+
+ * debian/libreoffice-base.{postrm,preinst}.in: remove manual
+ --package $DPKG_MAINTSCRIPT_PACKAGE, since dpkg-divert defaults to it
+ since 1.16.0 anyway if not specified (see #912140).
+ * debian/control.in: update -core versioned Breaks: to -kde5, not -kde, thanks
+ Julien Cristau
+ * debian/libreoffice-mysql-connector.maintscript: add, thanks Andreas Beckmann
+ (closes: #915019)
+ * debian/rules:
+ - remove LD_LIBRARY_PATH setting for dh_shlibdeps and use (more) -l's
+ - fix running the odk/build-examples* tests on _all builds
+ - disable gdrive stuff. chromium isn't in buster anymore and gdrive didn't
+ work with chromiums id/secret anyway) (closes: #909152)
+
+ * merge from Ubuntu:
+ [ Evangelos Foutras ]
+ - poppler-fix-build-0-70.patch: fix build failure with poppler >= 0.70
+
+ -- Rene Engelhard <rene@debian.org> Thu, 20 Dec 2018 06:41:55 +0000
+
+libreoffice (1:6.2.0~beta1-1) experimental; urgency=medium
+
+ * New upstream beta release
+
+ * debian/patches/apparmor-mesa.diff: #include mesa abstraction
+ (closes: #905437)
+ * debian/patches/jdbc-driver-classpaths.diff: add org.mariadb.jdbc.Driver
+ classpath to /usr/share/java/mariadb-java-client.jar
+ * debian/patches/disableClassPathURLCheck.diff: add workaround to
+ fix build with openjdks with S8195874 included - add
+ -Djdk.net.URLClassPath.disableClassPathURLCheck=true to JAVAIFLAGS;
+ see https://gerrit.libreoffice.org/#/c/63118/2
+ * debian/patches/disable-dbaccess_complex-for-now.diff: as name says;
+ temporarily - to be investigated.
+
+ * debian/control.transitionals.in: make libreoffice-mysql-connector 'all'
+ * debian/patches/make-package-modules-not-suck.diff: update to move
+ mysql_jdbc back to -base-drivers
+ * debian/patches/use-mariadb-java-instead-of-mysql-java.diff: as name says;
+ use org.mariadb.jdbc.Driver instead of com.mysql.jdbc.Driver
+ * debian/control.in:
+ - add Replaces: for above
+ - Suggest libmariadb-java instead of libmysql-java. See #912916 for more
+ information.
+ * debian/patches/jdbc-driver-classpaths.diff: add org.mariadb.jdbc.Driver
+ classpath pointing to /usr/share/java/mariadb-java-client.jar
+ * debian/libreoffice-base.bug-script.in: add libmariadb-java
+ (closes: #913360, thanks Markus Koschany)
+
+ * debian/libreoffice-base-drivers.NEWS: add NEWS about above change
+
+ -- Rene Engelhard <rene@debian.org> Sun, 18 Nov 2018 01:08:48 +0100
+
+libreoffice (1:6.2.0~alpha1-1) experimental; urgency=low
+
+ * New upstream alpha release
+ - doesn't jump to cursor anymore when saving (closes: #799428)
+
+ * debian/rules:
+ - stop enabling gtk3_kde5, enable qt5 and kde5
+ - remove obsolete GCC_VERSION_5_OR_GREATER variable and checks
+ - run make check on BE archs
+ * debian/rules, debian/control.in:
+ - package karasa_jaga iconset now that we need to go over NEW again
+ because of libreoffice-qt5
+ * debian/rules, debian/patches/*. debian/control*in:
+ - the MySQL Connector isn't a extension anymore, rename to -sdbc-mysql
+ and make -mysql-connector a transitional package; remove mysqlcppconn
+ stuff; not used anymore
+ * debian/rules, debian/control.firebird.in:
+ - enable Firebird on BE archs
+ * debian/uno-libs3.symbols: update
+ * debian/tests/control: mark pyuno-import, uno-import, test-extension,
+ test-extension-shared and the sdk/util/check.pl and apparmor tests as
+ superficial
+
+ -- Rene Engelhard <rene@debian.org> Mon, 22 Oct 2018 21:43:42 +0200
+
+libreoffice (1:6.1.3~rc1-1) unstable; urgency=medium
+
+ * New upstream release candidate
+ - accepts to insert empty field with 'not null' database constraint
+ (closes: #910576)
+
+ * debian/patches/DefaultLabel-only-for-interactively-created-OBJs.diff: add
+ from master (closes: #907710)
+
+ -- Rene Engelhard <rene@debian.org> Wed, 10 Oct 2018 21:25:32 +0000
+
+libreoffice (1:6.1.2-1) unstable; urgency=medium
+
+ * New upstream release
+
+ -- Rene Engelhard <rene@debian.org> Thu, 20 Sep 2018 23:43:47 +0200
+
+libreoffice (1:6.1.1-1) unstable; urgency=medium
+
+ * New upstream release
+
+ * debian/patches/fix-gtk3_kde5-filepicker-infinite-loop.diff: add from
+ libreoffice-6-1 branch: fixes possible infinite loop in gtk3_kde5
+ filepicker (closes: #906987)
+
+ -- Rene Engelhard <rene@debian.org> Mon, 10 Sep 2018 23:38:40 +0200
+
+libreoffice (1:6.1.1~rc1-2) unstable; urgency=medium
+
+ * debian/patches/apparmor-fixes.diff: add patch from master to
+ allow printing to file
+ * debian/patches/do-not-reset-permissions-on-save.diff: as name says,
+ from libreoffice-6-1 branch (closes: #907476)
+
+ * debian/rules: move libdbahsqllo.so from -base-drivers to -base-core
+ (closes: #907397)
+ * debian/control.in:
+ - add Replaces: for above
+ - bump ure Dependency in -core to (>= 6.1.1~) (closes: #907650)
+
+ -- Rene Engelhard <rene@debian.org> Fri, 31 Aug 2018 12:45:39 +0200
+
+libreoffice (1:6.1.1~rc1-1) unstable; urgency=medium
+
+ * New upstream release candidate
+
+ * debian/patches/apparmor-kde.diff: backport AppArmor KDE fixes from
+ master
+ * debian/control.in:
+ - *really* recommend apparmor (>= 2.13)
+
+ -- Rene Engelhard <rene@debian.org> Fri, 24 Aug 2018 18:57:08 +0200
+
+libreoffice (1:6.1.0-1) unstable; urgency=medium
+
+ * Libreoffice 6.1.0 final (identical to rc3)
+
+ * debian/patches/apparmor-fixes.diff: add patch from libreoffice-6-1
+ branch to fix saving of documents in apparmor enforce mode
+ (closes: #905442)
+ * debian/patches/apparmor-cleanups.diff: use dri-enumerate abstraction of
+ apparmor; add from https://gerrit.libreoffice.org/#/c/58589
+
+ * debian/control.in:
+ - recommend apparmor (>= 2.13) for above
+ - make -common also depend on -style-colibre, since it apparently also
+ is needed to have LO draw iit's check/radiobuttons correctly
+ (closes: #904598, #905408, #905819)
+
+ -- Rene Engelhard <rene@debian.org> Sun, 12 Aug 2018 08:13:03 +0200
+
+libreoffice (1:6.1.0~rc3-1) unstable; urgency=medium
+
+ * New upstream release candidate
+
+ * debian/patches/do-not-hide-test-output.diff: also do not hide PythonTests
+ output
+
+ * debian/control.in: add Breaks/Replaces: libreoffice-common (<<
+ 1:6.1.0~alpha1-1) to libreoffice-help-common (closes: #905185)
+ * debian/tests/control, debian/tests/smoketest: use "skippable" restriction
+ and return 77 instead of 0 if running into the timeout
+ * debian/tests/*: use $AUTOPKGTEST_TMP instead of $ADTTMP
+ * debian/rules:
+ - don't suggest libreoffice-spellcheck-tr (for
+ libreoffice-zemberek) anymore - dead upstream. thanks Muhammet Kara
+ - support new "terse" in DEB_BUILD_OPTIONS
+ - replace #!/usr/bin/env perl shebangs in some files by #!/usr/bin/perl
+ - also fix up ../00/usr/share/libreoffice/help/... in doc-base....
+
+ -- Rene Engelhard <rene@debian.org> Thu, 02 Aug 2018 21:06:53 +0000
+
+libreoffice (1:6.1.0~rc2-3) unstable; urgency=medium
+
+ * debian/tests/control:
+ - "timeout" is in coreutils...
+ * debian/rules:
+ - add | firefox at the end of the -help browser depends (closes: #904312)
+
+ -- Rene Engelhard <rene@debian.org> Mon, 23 Jul 2018 18:54:04 +0000
+
+libreoffice (1:6.1.0~rc2-2) unstable; urgency=low
+
+ * upload to unstable
+
+ -- Rene Engelhard <rene@debian.org> Sat, 21 Jul 2018 23:52:12 +0000
+
+libreoffice (1:6.1.0~rc2-1) experimental; urgency=low
+
+ * New upstream release candidate
+
+ * debian/patches/apparmor-allow-java.security.diff: allow
+ /etc/java-??-openjdk/security/java.security read access, denied because
+ it's a symlink (closes: #903900)
+
+ * debian/tests/control: add missing libreoffice-dev dependency for the
+ "smoketest" test
+ * debian/tests/uno: run config_host.mk with (e.g.) BUILD_KDE=n to avoid
+ configure failure because qmake is not correctly found
+ * debian/rules:
+ - don't depend on x-www-browser, only "qutebrowser" provides it.
+ Use firefox-esr | epiphany-browser | konqueror | chromium which is
+ the order xdg-open (which is used to actually open the help) does, too
+ (closes: #904022)
+ - temporarily disable dwz. fails since the change to gcc 8
+
+ -- Rene Engelhard <rene@debian.org> Thu, 19 Jul 2018 22:17:15 +0000
+
+libreoffice (1:6.1.0~rc1-2) experimental; urgency=medium
+
+ * rebuild with correct control (all languages...)
+
+ -- Rene Engelhard <rene@debian.org> Thu, 05 Jul 2018 21:31:20 +0000
+
+libreoffice (1:6.1.0~rc1-1) experimental; urgency=medium
+
+ * New upstream release candidate
+
+ * debian/rules:
+ - make the tests fatal again (where they were before - amd64/arm64),
+ the "broken" hsqldb->firebird auto-migration got disabled for 6.1
+ - fix PYTHON_VERSION override to work again;
+ export PYTHON_{CFLAGS,LIBS} ourselves
+ * debian/control.transitionals.in: make libreoffice-kde "all" again since
+ it its built everywhere since last upload
+ * debian/uno-libs3.symbols: add sal PRIVATE_x.y* symbols (closes: #902898)
+
+ -- Rene Engelhard <rene@debian.org> Wed, 04 Jul 2018 23:50:05 +0200
+
+libreoffice (1:6.1.0~beta2-1) experimental; urgency=medium
+
+ * New upstream beta release
+ - fixes moving keyboard focus to sidebar styles panel after pressing F11
+ (closes: #870476)
+
+ * debian/patches/allow-opensymbol-rebuild.diff: from upstream
+ https://gerrit.libreoffice.org/#/c/54938/, add new --enable-build-opensymbol
+ * debian/patches/gtk3-kde5-32bit.diff: add patch from
+ https://gerrit.libreoffice.org/#/c/55474 to fix gtk3_kde5 filepicker build
+ on 32bit
+ * debian/patches/do-not-hide-test-output.diff: don't use tee since that hides
+ the failure (and -o pipefail doesn't work), just use plain 2>&1 and no log
+
+ * debian/rules:
+ - allow fontforge additionally to of fontforge-nox
+ - remove custom build-opensymbol target; use new --enable-build-opensymbol
+ - fix i386 conditional for not adding a (not fullfillable on stretch
+ even with backports) default-jdk (>= 2:1.9) build-dep
+ - don't enable dwz on stretch-backports, the needed debhelper conflicts
+ against the (needed via libgpgmepp-dev) stable qt5-qmake :/
+ - remove USE_DWZ_MULTIFILE conditional (which was disabled),
+ default since debhelper 11.3
+ - make BUILD_TEST_PACKAGES=y be based on DEB_BUILD_PROFILES, not
+ DEB_BUILD_OPTIONS
+ - enable gtk3_kde also on 32bit archs
+ - ignore test failures for now; broke already in beta1-1 but was hidden by
+ the do-not-hide-test-output.diff bug, so no regression. Needs to be
+ investigated.
+ * debian/control.test-packages.in:
+ - add Build-Profiles: <!nocheck>
+ * debian/control.sdk.in:
+ - add Build-Profiles: <!nodoc> for -dev-doc
+ * debian/control.in:
+ - the colibre change was reverted; make -common depend on -style-tango
+
+ -- Rene Engelhard <rene@debian.org> Sun, 17 Jun 2018 10:09:05 +0200
+
+libreoffice (1:6.1.0~beta1-1) experimental; urgency=medium
+
+ * New upstream beta release
+ - allows rk on .gnupg/random_seed to fix hang on gpg encryption
+ (closes: #899380)
+
+ * debian/tests/patches/odk-build-examples-standalone.diff: make apply again
+ * debian/patches/do-not-hide-test-output.diff: as name says. to prevent
+ slow(er) archs/buildds timing about because e.g. the new uitests might take
+ too long without an output
+ * debian/patches/no-ant-check-if-unneeded.diff: as name says, only check
+ for ant if we really need it for building something
+
+ * debian/rules:
+ - build-depend on fontforge-nox and rebuild opens___.tff from OpenSymbol.sfd
+ - fix numbertext-data-recommends substvar
+ - optimize the build-indep build a bit more
+ + remove build-indep dependency on build-arch to not run the full
+ testsuite on -A (build-indep) builds.
+ Only run the odk "check" (SDK files) and build-example tests
+ + build without --enable-symbols on build-indep builds
+ - enable (gtk3_)kde5 (and qt5) only on 64bit archs for now
+ - make -help-xx depend with = on -help-common and -help-common depend on
+ x-www-browser, too, it already contains HTML
+ - rebuild smoketestdoc.sxw; install it into libreoffice-smoketest-data
+ - move ant to Build-Depends-Indep
+ * debian/tests/odk-build-examples: fix
+ * debian/control.in: move numbertext-data-recommends to Depends: as the
+ numbertext stuff is used for ooxml im/export.. (theoretical, since
+ libnumbertext depends on it already, but...)
+ * debian/copyright: add the various (c)'s of OpenSymbol.sfd
+ * debian/libreoffice-help-common.links: symlink normalize.css to
+ /usr/share/javascript/normalize.css/normalize.css and depend on
+ libjs-normalize.css (closes: #898788), but mention ./help3xsl/normalize.css
+ in copyright
+ * debian/tests/*:
+ - remove build-needed in smoketest and build some needed parts ourselves.
+ Add missing LD_LIBRARY_PATH and use
+ /usr/share/libreoffice/smoketestdoc.sxw. Enable
+ - honour $ADTTMP
+ - rename junit-subsequentcheck to junit
+ - add "uno" test running the bridgetest using /usr/lib/libreoffice/uno.
+ only depends on "ure"
+ - run "perl odk/util/check.pl /usr/lib/libreoffice/sdk"
+ * debian/rules, debian/control.systray.in: the systray "Quickstarter" is
+ finally gone upstream.
+
+ -- Rene Engelhard <rene@debian.org> Fri, 25 May 2018 11:29:12 +0200
+
+libreoffice (1:6.1.0~beta1~git20180507-1) experimental; urgency=medium
+
+ * New upstream snapshot
+
+ * debian/patches/disable-tests-somehow-needing-more-fonts.diff,
+ debian/patches/tdf108963-test.diff: remove. Obsolete after Liberation
+ fix
+
+ * debian/libreoffice-help-common.doc-base: ... rename
+ * debian/libreoffice-help.doc-base.in: ... here and only use as template.
+ Update Index: for localized "index" (text/shared/main0108.html) and fix
+ Section:
+ * debian/rules:
+ - move also the -help-common parts to /usr/share
+ - create/populate libreoffice-help-xx .doc-base files
+ - use internal libetonyek on stretch-backports
+ - use -type f for pupulating Files: in .doc-base to leave out dirs...
+ - stop special-casing i386 to explicitly use openjdk (9), use default-java
+ again and add appropriate versioned build-depends
+ - install the language-specific media/helpimg/xx into their correct packages
+ - fix build with -B/all (unpackaged help) languages
+ - add Build-Conflicts: against "broken" fonts-liberation
+ - remove explicit SAL_USE_VCLPLUGIN="svp" from make check call since it's
+ apparently unneeded (and even actually harmful) now
+ * debian/rules, debian/control.in: add stuff for new libnumbertext usage
+ * debian/lo-java-ref.in: move to Programming/Java
+ * debian/tests/odk-build-examples: build also new split-out
+ CustomTarget_odk/build-examples_java
+
+ -- Rene Engelhard <rene@debian.org> Mon, 07 May 2018 20:42:58 +0000
+
+libreoffice (1:6.1.0~alpha1-1) experimental; urgency=medium
+
+ * New upstream alpha release
+ - fixes cross-file links with xlsx files (closes: #658569)
+ - apparently preserves conditional formatting with copy paste operations
+ (again) (closes: #868349)
+ - fixes crash on typing any character with IME in Wayland
+ (closes: #898632)
+
+ * debian/patches/no-packagekit-per-default.diff: use the new config options
+ to disable the packagekit install stuff
+ * debian/patches/odk-no-dot.diff: remove, see below
+
+ * debian/rules:
+ - install TestExtension.oxt into a new libreoffice-smoketest-data package
+ which can be used by autopkgtests
+ - enable gtk3_kde vclplug (closes: #752230) and "kde5" (kde5be)
+ - re-enable pdfium on arm64 again; is now not using its internal allocator
+ anymore
+ - use new $(call java_dependency, default-jdk) for default-jdk builddep
+ - add Build-Depends-Indep: on graphviz, since Debians doxygen sets
+ HAVE_DOT to YES (see #818787) and upstreams configure.ac now checks for
+ this and fails if "dot" isn't present.
+ * debian/tests/*: add autopkgtest to test install TestExtension.oxt
+ (user and shared)
+ * debian/tests/*: add initial version of a autopkgtest to run the smoketest,
+ build smoketestdoc.sxw here for now (and a full build...). Disabled for now.
+ * debian/control.transitionals.in: add -kde -> kde5 transitional package
+ * debian/libreoffice-sdbc-firebird.bug-script.in: remove, firebird not
+ experimental anymore
+ * debian/control.in:
+ - update for new icon defaults, make -common depend on -style-colibre and
+ -gnome recommend -style-elementary
+ * debian/control*in, debian/rules, debian/libreoffice-help-common.doc-base:
+ build with --with-help=html and split common files into a new
+ libreoffice-help-common
+
+ * merge from Ubuntu:
+ - debian/patches/hide-maths-desktop-file.patch: hide
+ math icon from the shell (see #883734)
+
+ -- Rene Engelhard <rene@debian.org> Fri, 27 Apr 2018 04:57:42 +0000
+
+libreoffice (1:6.0.4~rc1-4) unstable; urgency=medium
+
+ * debian/patches/disable-java-in-odk-build-examples-on-zero-vm.diff:
+ as name says, the test builds many Java projects without a output and on
+ Zero this is slow -> "hangs" gets killed because of inactivity
+ * explicitely disable junit tests when determining that java uses the Zero VM
+
+ -- Rene Engelhard <rene@debian.org> Tue, 24 Apr 2018 11:46:54 +0200
+
+libreoffice (1:6.0.4~rc1-3) unstable; urgency=medium
+
+ * debian/rules:
+ - sigh. readd lost if to disable make check on big-endian archs.
+
+ -- Rene Engelhard <rene@debian.org> Sat, 21 Apr 2018 19:11:50 +0200
+
+libreoffice (1:6.0.4~rc1-2) unstable; urgency=medium
+
+ * debian/rules:
+ - clean up/simplify test on/off/fatal handling and use findstring
+ as everywhere else
+ - disable running make check on armel and mipsel. hangs.
+
+ -- Rene Engelhard <rene@debian.org> Sat, 21 Apr 2018 17:20:41 +0200
+
+libreoffice (1:6.0.4~rc1-1) unstable; urgency=medium
+
+ * New upstream release candidate
+
+ * debian/patches/appstream-ignore-startcenter.diff: add
+ X-AppStream-Ignore=True to startcenter.desktop, thanks Olivier
+ (closes: #892364)
+
+ -- Rene Engelhard <rene@debian.org> Wed, 18 Apr 2018 14:27:06 +0000
+
+libreoffice (1:6.0.3-1) unstable; urgency=medium
+
+ * New upstream release
+
+ * debian/patches/gpg-overly-long-filenames-fix.diff: backport
+ https://gerrit.libreoffice.org/#/c/50978/ fix to fix gpg encryption
+ test ("File name too long")
+ * debian/patches/disable-flaky-tests.diff: remove disabling of
+ testODFEncryptedGPG.
+ * debian/patches/check-for-gpgconf-and-run-user.diff: as name says,
+ don't fail when gpgconf --create-socketdir doesn't work because
+ /run/user/<uid> doesn't exist... Check for it.
+
+ * debian/rules:
+ - add explicit gpg-agent and gpgconf build-dependencies
+ - add explicit python3-distutils build-dependency as
+ python3.6 3.6.5~rc1-2 dropped its python3-distutils dependency...
+
+ -- Rene Engelhard <rene@debian.org> Mon, 02 Apr 2018 14:48:09 +0000
+
+libreoffice (1:6.0.2-1) unstable; urgency=medium
+
+ [ Rene Engelhard ]
+ * New upstream release
+
+ * debian/patches/orcus-0.13.3.diff: backport patches to fix build/tests
+ against orcus 0.13.3
+ * debian/patches/disable-some-sc-tests-with-internal-cppunit.diff: update
+
+ * debian/watch: update for the multiple tarballs
+ * debian/copyright: remove Files-Excluded: for files already removed by
+ upstreams pack script anyway to allow mk-origtargz doing --symlink
+ * debian/scripts/mk-origtargz: own mk-origtargz..
+
+ * debian/rules:
+ - --disable-pdfium on arm64
+ - actually build without -g if ENABLE_SYMBOLS=n
+ - add get-orig-source target for "real" upstream tarballs
+ - fix libvisio dependency
+ - bump runtime (and test) depends for liborcus to >= 0.13.3
+ * debian/control.in:
+ - recommend xdg-utils in -common (for xdg-{open,email})
+
+ [ Olivier Tilloy ]
+ * debian/rules: define ${java-common-depends} when building
+ libreoffice-wiki-publisher and libreoffice-nlpsolver (closes: #891765)
+
+ -- Rene Engelhard <rene@debian.org> Wed, 28 Feb 2018 18:37:57 +0100
+
+libreoffice (1:6.0.1-1) unstable; urgency=high
+
+ * New upstream release
+ - fixes CVE-2018-1055: libreoffice: Remote arbitrary file disclosure
+ vulnerability via WEBSERVICE formula
+
+ * debian/control.in: bump ure Depends for -core to (>= 6.0.0~)
+ (closes: #889074)
+ * debian/rules:
+ - use internal mdds for stretch-backports
+ * debian/tests/control: make uicheck depend on libreoffice-l10n-{he,ja}
+ for the text direction UI Test
+
+ * merge from Ubuntu:
+ - Bump shlibs overrides for libvisio and orcus
+
+ -- Rene Engelhard <rene@debian.org> Thu, 08 Feb 2018 19:29:39 +0100
+
+libreoffice (1:6.0.0-1) unstable; urgency=medium
+
+ * LibreOffice 6.0.0 final release (identical to rc3)
+
+ * upload to unstable
+
+ * debian/patches/glm-0.9.9.diff: fix build with glm 0.9.9 (closes: #888737)
+
+ * merge from Ubuntu:
+ - debian/patches/apparmor-fixes.diff: allow JVM execution
+
+ * debian/rules:
+ - re-enable system-glm; bump libglm-dev build-depdendency to
+ libglm-dev (>= 0.9.9~a2) when using gcc >= 7.3
+ - re-enable -systray. Actually in stock 6.0 upstream debs the feature *is
+ still in the options...
+
+ -- Rene Engelhard <rene@debian.org> Mon, 29 Jan 2018 18:52:54 +0100
+
+libreoffice (1:6.0.0~rc3-2) experimental; urgency=medium
+
+ * debian/patches/disable-flaky-tests.diff: disable testODFEncryptedGPG test;
+ the signing parts work, so...
+
+ -- Rene Engelhard <rene@debian.org> Sat, 27 Jan 2018 14:37:23 +0100
+
+libreoffice (1:6.0.0~rc3-1) experimental; urgency=medium
+
+ * New upstream release candidate
+
+ * debian/patches/apparmor-fixes.diff: add patch from master with syntax
+ fixes. Also include X abstractions and allow .mozilla/firefox/** reading
+ * debian/patches/apparmor-updates.diff: more gpg stuff: gpg(sm), .gnupg/*
+ (both together closes: #887593)
+ * debian/rules, debian/source/include-binaries: temporarily use internal glm;
+ configure check fails since the gcc 7.3 upload
+
+ -- Rene Engelhard <rene@debian.org> Sat, 27 Jan 2018 11:36:59 +0100
+
+libreoffice (1:6.0.0~rc2-1) experimental; urgency=medium
+
+ * New upstream release candidate
+
+ * debian/patches/poppler-0.62.diff: backport from master to fix build with
+ poppler 0.62
+
+ * debian/rules:
+ - rename 30_opensymbol.conf to 30-opensymbol.conf for consistency
+
+ -- Rene Engelhard <rene@debian.org> Thu, 11 Jan 2018 23:05:44 +0100
+
+libreoffice (1:6.0.0~rc1-1) experimental; urgency=medium
+
+ * New upstream release candidate
+ - fixes keyboard navigation for textboxes in slide layout (closes: #870387)
+ - fixes Glue points in Draw (closes: #883989)
+
+ * debian/patches/apparmor-usrmerge.diff: allow also /usr/bin/dash (etc.)
+ - usrmerge...
+
+ * debian/libreoffice-common.bug-script.in: revert running aa-status;
+ Might not exist and actually displaying the status needs root. People
+ shouldn't run reportbug as root, though...
+ * debian/rules:
+ - stop passing --disable-report-builder to build-archs configure since
+ even though it's built the report builder doesn't work then. Move
+ from Build-Depends-Indep: to Build-Depends: again (closes: #875688);
+ - update ar FONT_SUGGESTS: fonts-arabeyes ->
+ fonts-kacst, fonts-hosny-amiri, fonts-sil-scheherazade, fonts-hosny-thabit
+ * debian/rules, debian/control*.in:
+ s/REPORTDESIGN/REPORTBUILDER/ and
+ control.reportdesign.in -> control.reportbuilder.in while we're at it
+ * debian/copyright:
+ - mention sysui/desktop/apparmor/* copyright/license
+ - mention icon_themes/elementary*/* copyright/license
+ * debian/control.in:
+ - remove fonts-noto-unhinted from Recommends: again per
+ upstream suggestion
+ - recommend both fonts-liberation (LO ships 2 + Narrow from 1)
+ * debian/rules, debian/control.in: recommend and build-depend against
+ fonts-liberation2 instead of fonts-liberation since that is actually
+ what LO upstream ships (see above)
+
+ -- Rene Engelhard <rene@debian.org> Wed, 20 Dec 2017 17:41:30 +0000
+
+libreoffice (1:6.0.0~beta2-1) experimental; urgency=medium
+
+ [ Rene Engelhard ]
+ * New upstream beta release
+
+ * debian/patches/apparmor-complain.diff: set complain mode for oosplash
+ and soffice.bin profiles
+ * debian/patches/sal-fix-kfreebsd-build.diff: add from gerrit
+
+ * debian/control.in: remove openjdk conflicts ...
+ * debian/rules: ... and make them Depends in JAVA_RUNTIME_DEPENDS for the
+ Java-using packages. Also allow openjdk-9 everywhere
+ This doesn't prevent usage of the "broken" JDK but otherwise we "break"
+ jodconverter/natbraille in testing... And linux 4.14.2-1 is also supposed to
+ fix the regression finally...
+ This also closes: #882436
+
+ * debian/rules:
+ - stop installing disabled symlinks for apparmor (closes: #883800)
+ - actually install the OpenSymbol fontconfig snippet into a
+ /etc/fonts.d/30_opensymbol.conf
+ - change BRAND_BASE_DIR in fundamentalrc so that we don't get
+ /usr/lib/libreoffice/program/../program/xpdfimport calls. We know
+ the path and the apparmor profile doesn't allow this
+ * debian/libreoffice-common.bug-script.in: run aa-status
+ * debian/control.in: add gnupg to Suggests
+
+ [ intrigeri ]
+ * debian/README.Debian: document how to debug and customize the included
+ AppArmor profiles
+
+ -- Rene Engelhard <rene@debian.org> Fri, 08 Dec 2017 00:44:28 +0100
+
+libreoffice (1:6.0.0~beta1-2) experimental; urgency=medium
+
+ * debian/libreoffice-common.{triggers,postinst}.in,
+ debian/shell-lib-lool.sh: add trigger updating LOOLs systemplate
+ * debian/libreoffice-common.triggers.in: switch to interest-noawait triggers
+
+ * merge from Ubuntu:
+ - debian/patches/fix-includes-in-aarch64-bridge.patch: add from master
+
+ -- Rene Engelhard <rene@debian.org> Mon, 04 Dec 2017 19:01:27 +0100
+
+libreoffice (1:6.0.0~beta1-1) experimental; urgency=medium
+
+ * New upstream beta release
+
+ * debian/patches/ww8export-HAVE_MORE_FONTS.diff: move ...
+ * debian/patches/disable-tests-somehow-needing-more-fonts.diff: ... here
+ and patch also ooxmlexport4
+
+ * debian/rules:
+ - use (dh_)dwz and (if enabled) install the multifile file into
+ uno-libs3-dbgsym.
+ Thanks Matthias Klose for the hint.
+ Make *-dbgsym depend on uno-libs3-dbgsym which should contain the above
+ file and is recommended anyway because of the gdb helpers.
+ - be consequent and enable the junit tests on arm64 now that
+ those work.
+ - stop passing --disable-database-connectivity for no-Base archs
+ (closes: #874274)
+ - explicitly use and depend on openjdk 9 on i386 now that #876069 is fixed.
+ - replace some manual dpkg-parsechangelog calls with
+ $(DEB_VERSION) and $(DEB_DISTRIBUTION) and fix logic for
+ --disable-dependency-tracking
+ - enable missed sr-Latn but merge into -sr
+ - install the apparmor profiles disabled for now (closes: #882597)
+ * debian/libreoffice-sdbc-firebird.maintscript: remove (redundant)
+ $DPKG_MAINTSCRIPT_PACKAGE and update version (closes: #880426)
+ * debian/rules, debian/libreoffice-common.maintscript: fix path in/for
+ apparmor profiles (add missing /). mv_conffile the files to the new
+ name...
+ * debian/control.in: make -core conflict against openjdk-{6,7,8}-jre-headless
+ on i386- -java-common would make more sense, but it's Arch: all..
+ * debian/control.in:
+ - add fonts-noto-hinted, fonts-noto-mono, fonts-noto-unhinted to
+ Recommends
+ - clean up mozilla suggests to just firefox-esr | thunderbird | firefox
+ - add versions to openjdk-{7,8}-jre-headless conflicts now that they are
+ also supposed to be fixed
+ * debian/control.{kde.}.in: suggest the "certificate managers" for gpg:
+ gpa, seahorse, kleopatra | kgpg
+
+ -- Rene Engelhard <rene@debian.org> Sat, 25 Nov 2017 17:17:54 +0000
+
+libreoffice (1:6.0.0~alpha1-1) experimental; urgency=medium
+
+ [ Rene Engelhard ]
+ * New upstream alpha release
+
+ * debian/patches/tdf108963-test.diff: adapt test to what we get; the
+ text _is_ rotated on export, so...
+
+ * merge from Ubuntu, thanks Rico Tzschichholz:
+ - Add "elementary" style package
+
+ * debian/rules:
+ - finally stop building -systray. GNOME 3.26 doesn't show it anymore,
+ and in 6.0 the feature is not completely removed yet but the UI for
+ setting it is already gone anyway....
+
+ [ Rico Tzschichholz ]
+ * Add Kannada (kn) langpack
+
+ -- Rene Engelhard <rene@debian.org> Fri, 20 Oct 2017 13:42:40 +0000
+
+libreoffice (1:5.4.3~rc1-1) experimental; urgency=medium
+
+ * New upstream release candidate
+
+ * debian/patches/no-check-if-root.diff: remove (senseful, IMHO!) check
+ given policy implies "build" should be able to run as root... :(
+ * debian/patches/avoid-throwing-cpp-exceptions-across-libgpeg-c-frames.diff:
+ add from master, fixing CppunitTest_vcl_filters_test on arm*
+ * debian/patches/debian-hardened-buildflags-CPPFLAGS.diff: split this up,
+ into the CPPFLAGS part here ..
+ * debian/patches/debian-hardened-buildflags-no-LO-fstack-protector-strong.diff:
+ and the removal of the explicit default -fstack-protector-strong here.
+ * debian/patches/arm64-bridges-no-stack-protector-strong.diff: add from master:
+ go sure that we build gcc3_linux_aarch64/cpp2uno.cxx only with
+ -fstack-protector. Works for us by chance because of above
+ debian-hardened-buildflags-no-LO-fstack-protector-strong.diff
+ * debian/patches/arm64-disable-sc-functions-test.diff: add patch from master
+ to disable the sc_*_functions_test on arm64 (as for x86).
+
+ * debian/rules:
+ - *really* fix -dbgsym 0775 permissions by manually fixing them after
+ mkdir -p's (dh_fixperms doesn't run on -dbgsym) which apparently
+ create them as 775 (at least on the buildds)
+ - fix libreoffice-dev-doc.doc-base.lo-idl-ref (again)
+ - add missing dependency to build-arch to install-arch
+ - make armhf/arm64 test failures fatal now that above test is fixed which
+ was the only one failing; upstream apparently also builds armhf/arm64
+ flatpaks now for flathub
+ * debian/copyright:
+ - fix various missing-license-paragraph-in-dep5-copyright
+
+ -- Rene Engelhard <rene@debian.org> Fri, 20 Oct 2017 13:40:01 +0000
+
+libreoffice (1:5.4.2-3) unstable; urgency=medium
+
+ * debian/patches/ww8export-HAVE_MORE_FONTS.diff, debian/rules: revert
+ change of -2. Actually doesn't work. (Did in a testbuild, but...)
+
+ -- Rene Engelhard <rene@debian.org> Tue, 10 Oct 2017 21:28:41 +0200
+
+libreoffice (1:5.4.2-2) unstable; urgency=medium
+
+ * debian/patches/ww8export-HAVE_MORE_FONTS.diff: remove again ...
+ * debian/rules: ... and install LOs fc_local.conf to instdir before make
+ check
+
+ * debian/control.{lang,help},in: remove | language-support-translations-*
+ Depends:/Recommends: to unconfuse piuparts
+
+ -- Rene Engelhard <rene@debian.org> Tue, 10 Oct 2017 14:33:23 +0000
+
+libreoffice (1:5.4.2-1) unstable; urgency=medium
+
+ * LibreOffice 5.4.2 final release (identical to rc2)
+
+ * upload to unstable
+
+ * debian/patches/disable-flaky-tests.diff: disable chart2_dump test
+ (closes: #877794)
+ * debian/patches/ww8export-HAVE_MORE_FONTS.diff: temporarily(?) disable
+ testTableKeep test, fails with --without-fonts even though Liberation
+ is in Build-Depends:...
+
+ * debian/libreoffice-sdbc-firebird.maintscript: restore, we need it
+ from upgrades involving jessie since jessies version gets kept on
+ jessie->stretch upgrades... (closes: #877494)
+
+ -- Rene Engelhard <rene@debian.org> Sun, 08 Oct 2017 11:38:20 +0200
+
+libreoffice (1:5.4.2~rc2-1) experimental; urgency=medium
+
+ * New upstream release candidate
+
+ * debian/control.help.in: drop now obsolete Depends on
+ libreoffice-style-default (closes: #877175)
+
+ -- Rene Engelhard <rene@debian.org> Fri, 29 Sep 2017 15:33:05 +0200
+
+libreoffice (1:5.4.2~rc1-1) experimental; urgency=medium
+
+ * New upstream release candidate
+
+ * debian/patches/icu-no-icu-config.diff: don't use icu-config for
+ determining the ICU version; doesn't exist in (Debian's) ICU 59.1 anymore
+
+ * debian/rules:
+ - move STRETCH_BACKPORT conditional for coinmp lower in rules so it
+ gets honoured and make libwps/libmwaw internal unconditionally
+ (RUN_MAKE_CHECK=n on BE archs)...
+ - move images_helpimg.zip to usr/share like the others; remove obsolete
+ helpimg mangling in the "other" images_*.zip
+ * debian/control.in: remove -style-default provides since it doesn't help at
+ all on default changes; depend on tango since that apparently is now the
+ (last) fallback (closes: #874196)
+ * debian/control.gtk?.in: remove -style-tango recommends, obsoleted by
+ above
+
+ -- Rene Engelhard <rene@debian.org> Fri, 22 Sep 2017 09:21:11 +0200
+
+libreoffice (1:5.4.1-1) unstable; urgency=medium
+
+ * New upstream release
+ - fixes middle click paste (closes: #871588)
+
+ * debian/patches/stop-shipping-mimelnk-desktop-files.diff: as name says
+ (closes: #872001)
+ * debian/patches/java9.diff: backport Java 9 patch from master
+
+ * debian/rules:
+ - install appstream stuff into /usr/share/metainfo. sigh.
+ - make -writer-dbgsym recommend -core-dbgsym as it wants some gdb stuff
+ from it
+ - set UNO_LIBS_DBG_ROOT to fix gdb helper installation for uno-libs3 again
+ and make -core-dbgsym recommends uno-libs3-dbgsym (same reason as above)
+ - generate and install apparmor profiles
+ - be consequent and bump the build-dependencies for the DLP libs when
+ we run the tests; based on patch by Rico Tzschichholz
+ - run dh_strip_nondeterminism
+ - disable -kde and the (unmaintained for LO) oxygen theme.
+ Qt4 should go away. See
+ https://lists.debian.org/debian-devel-announce/2017/08/msg00006.html
+ - set locale to en-US.UTF-8 also for make check, the dbaccess tests
+ fail in some frenchy locale...
+ - remove libbz2-dev from Build-Depends, coinutils got fixed
+ - move pagein-{calc,draw,impress,writer} to their respective packages
+ - move dk.mk from -dev-common to -dev as it's not arch-indep, thanks
+ Rico Tzschichholz
+ * debian/scripts/gid2pkgdirs.sh: fix move of types/*.rdb and services/*.rdb
+ to core and move pagein-common there too. They reference libmergedlo.so
+ which doesn't exist on all archs (closes: #873443)
+ * debian/control*in:
+ - move to policy 4.0.1; extra -> optional
+ - Breaks/Replaces for above
+
+ -- Rene Engelhard <rene@debian.org> Tue, 29 Aug 2017 16:39:44 +0000
+
+libreoffice (1:5.4.0-1) unstable; urgency=medium
+
+ * New upstream release
+
+ * upload to unstable
+
+ * debian/patches/examples-fix-SDK_AUTO_DEPLOYMENT-check.diff: don't try
+ to do "auto deployment" when SDK_AUTO_DEPLOYMENT = NO...
+ * debian/patches/libebook-1.2.so.19.diff: backport from master; adds
+ libebook-1.2.so.19 (e-d-s 3.24+) to EApi.cxx
+
+ * debian/rules:
+ - strip librhino-java from java:Depends, we use the internal one still..
+ - add pstoedit, imagemagick and ghostscript as (test) Build-Depends:
+ * debian/control.in:
+ - add ghostscript to the "EPS Suggests"
+ * debian/rules. debian/control.in:
+ - add libsane-suggests substvar to prepare for libsane1
+
+ * merge from Ubuntu, thanks Rico Tzschichholz
+ - don't recommend libreoffice-sdbc-firebird if firebird is disabled
+
+ [ Rico Tzschichholz ]
+ - fix get_libebook_dep.sh for libebook1.2-dev (>= 3.24)
+
+ -- Rene Engelhard <rene@debian.org> Tue, 25 Jul 2017 22:30:57 +0200
+
+libreoffice (1:5.4.0~rc2-1) experimental; urgency=medium
+
+ * New upstream release candidate
+
+ * debian/patches/mediawiki-oor-replace.diff: back to ="fuse" for Paths.xcu
+ as otherwise it overwrites Template paths and breaks the python wizards
+ (closes: #867209)
+
+ * debian/tests/control, debian/uitest: improve, we can only run the test
+ now; remove build-needed
+ * debian/tests/control, debian/tests/sdk-examples: move ...
+ * debian/tests/control, debian/tests/odk-build-examples: ... here and use
+ upstreams odk/build-examples check directly.
+ (Needs zip, python3-uno and libreoffice-officbean as new test Depends:)
+ * debian/tests/odk-build-examples: actually set -e...
+ * debian/rules, debian/tests/control: remove extra hackery to add our
+ Build-Depends(-Indep): to debian/tests/control.in; misses some packages
+ (e.g. ant) and it should work at least since autopktest 3.16 from Jul 2015;
+ use @builddeps@ instead
+ * debian/tests/control, debian/tests/*uno-import.diff: split; make
+ pyuno-import test import pyuno while uno-import does import uno
+ (the uichecks do the former). Add python3 dependency for safety.
+ * debian/test/control: sort by importance
+ * debian/tests/: unapply patch after the make (or on error) so that the
+ next test can patch it...
+ * debian/tests/*: more cleanups for newer autopkgtests; use allow-stderr
+ instead of manual 2>&1
+
+ * debian/rules:
+ - be consequent and set RUN_PYTESTS=n (and RUN_MAKE_UICHECK=n) where we set
+ RUN_MAKE_CHECK=n
+ - be consequent and add $(IGNORE_MAKE_CHECK_FAILURES) also to the "extra"
+ test runs
+ - disable the tests on bigendian archs: hang (failures non-fatal anyway.)
+ - make i386 make check notfatal for now given the i386 Java Stack Clash
+ regression
+ * debian/control.in:
+ - make -common Conflicts: older mediawikis to go sure
+
+ * merge from Ubuntu, thanks Rico Tzschichholz
+ - Bump soname in shlibs.override.orcus
+
+ -- Rene Engelhard <rene@debian.org> Sat, 15 Jul 2017 10:16:28 +0000
+
+libreoffice (1:5.4.0~rc1-1) experimental; urgency=medium
+
+ * New upstream release candidate
+
+ * debian/tests/control.in, debian/tests/uicheck,
+ debian/tests/patches/uicheck-standalone.diff: add initial version
+ of autopgktest running uitest
+
+ * debian/rules, debian/patches/system-xmlsec.diff: backport patch from
+ master and add conditional for system-xmlsec. use it.
+
+ * debian/rules, debian/control.lokit.in:
+ - move /usr/share/gir-1.0/LOKDocView-0.1.gir to libreofficekit-dev and
+ make libreofficekit-dev depend on gir1.2-lokdocview-0.1 as per gir
+ policy
+ * debian/rules:
+ - clean up JRE Depends; we consider java6_architectures as Java arch, so
+ let's remove the Java5 alternatives
+ * debian/copyright, debian/source/include-binaries: remove xmlsec
+ * debian/rules:
+ - fix dh_missing call
+ * debian/tests/sdk-examples: DevelopersGuide/OfficeDev/DesktopEnvironment
+ needs -ljawt. Build this to check this and the JAVA_PROC_TYPE setting also.
+
+ -- Rene Engelhard <rene@debian.org> Mon, 26 Jun 2017 19:25:59 +0200
+
+libreoffice (1:5.4.0~beta2-4) experimental; urgency=medium
+
+ * debian/patches/gb_SUPPRESS_TESTS.diff: add more tests to suppress
+ (from master)
+ * debian/patches/odk-settings-JAVA_PROC_TYPE.diff: set correct
+ JAVA_PROC_TYPE for arm{el,hf}, mips* and ppc64el
+ * debian/patches/gerrit_38597.diff: add from gerrit for master, fixes
+ i386 tests
+
+ * debian/rules, debian/scripts/locale-gen: upstream insists on using
+ en_US.UTF-8 for the tests. "Steal" the locale-gen stuff from gcc
+ * debian/control.in: make -core depend on ure (>= 5.4.0~beta2~)
+ (closes: #864690)
+ * debian/control.in:
+ - make -gstreamer recommend gstreamer1.0-plugins-bad as we apparently
+ want/need gtksink
+
+ * merge from Ubuntu:
+ - debian/tests/patches/java-subsequentcheck-standalone.diff: refreshed
+
+ -- Rene Engelhard <rene@debian.org> Mon, 12 Jun 2017 23:44:55 +0200
+
+libreoffice (1:5.4.0~beta2-3) experimental; urgency=medium
+
+ * debian/patches/series, also-suppress-odk-build-examples.diff: sigh.
+ don't do that yet, not yet ready....
+
+ -- Rene Engelhard <rene@debian.org> Fri, 09 Jun 2017 05:18:08 +0200
+
+libreoffice (1:5.4.0~beta2-2) experimental; urgency=medium
+
+ * debian/patches/disable-db-tests.diff: update
+
+ * debian/rules:
+ - try harder and also export LC_ALL=C.UTF-8 for uitest as the
+ buildd/sbuild sets LC_ALL=POSIX already
+ - fix icon installation in install-indep
+
+ -- Rene Engelhard <rene@debian.org> Thu, 08 Jun 2017 15:55:59 +0200
+
+libreoffice (1:5.4.0~beta2-1) experimental; urgency=medium
+
+ * New upstream beta release
+ - is now able to do "insert->image, choose pdf". Not insert->docunent
+ but close enough, so this closes: #814598
+ (unfortunately only using internal pdfium. sigh.)
+
+ * debian/scripts/gid2pkgdirs.sh, debian/control{,.transitionals}.in:
+ remove extra libreoffice-pdfimport, merge (even though the poppler
+ dependency...) back to -common/-core since it has the above new feature and
+ otherwise it may get confusing what is what.
+
+ * debian/rules, debian/patches/cppunit-optional.diff: as name says;
+ make cppunit build-dep optional and add <!nocheck> to the build-dep
+ * debian/patches/disable-unneeded-test-programs.diff : micro-optimisation;
+ as name says.
+ * debian/gb_SUPPRESS_TESTS.diff: backport from master, allow checks build
+ but not run them
+
+ * tarballs/pdfium-3064.tar.bz2, debian/copyright,
+ debian/source/include-binaries, debian/libreoffice-core.lintian-overrides:
+ include pdfium; override embedded-library for lcms2
+
+ * debian/rules:
+ - adapt for (upcoming) usage of dh_missing
+ - run build-nocheck with --without-junit --without-cppunit to configure
+ and run check with them; build the checks with gb_SUPPRESS_TESTS first
+ before running them
+ - replace symlinks /usr/share/applications/*.desktop. move
+ /usr/lib/libreoffice/share/xdg/*.desktop (except qstart.desktop) to
+ them instead. Fixes e.g. appstream-generator for our appstream data
+ (which cannot handle the symlinks...)
+ - enable running make uicheck
+
+ -- Rene Engelhard <rene@debian.org> Wed, 07 Jun 2017 19:42:57 +0000
+
+libreoffice (1:5.3.3-2) experimental; urgency=medium
+
+ * debian/patches/sensible-lomua.diff: sync upstreams
+ "add xdg-email as the default email route" into here
+
+ * debian/rules:
+ - fix logic error; make -g1 etc work also with noddebs. Build with those
+ flags also if building no -dbgsym
+ - move DPKG_EXPORT_BUILDFLAGS and buildflags.mk include later to make it
+ effective (worked before, but...)
+ - fix /usr/share/libreoffice/program/classes/unoil.jar symlink
+ * debian/control.in:
+ - remove obsolete Pre-Depends
+ * debian/rules, debian/control.in: remove now unneeded dejavu-depends
+ substvar, simply use fonts-dejavu. Move from Depends: to Recommends: like
+ the other fonts
+ * debian/copyright: fix (add missing .'s)
+
+ -- Rene Engelhard <rene@debian.org> Sat, 27 May 2017 10:52:43 +0200
+
+libreoffice (1:5.3.3-1) experimental; urgency=medium
+
+ * New upstream release
+
+ * debian/control.in:
+ - recommend new fonts-open-sans
+
+ -- Rene Engelhard <rene@debian.org> Thu, 04 May 2017 20:33:52 +0200
+
+libreoffice (1:5.3.2-1) experimental; urgency=medium
+
+ * New upstream release
+
+ * debian/patches/help-msg-add-package-info.diff,
+ debian/patches/mention-java-common-package.diff,
+ debian/patches/mediawiki-oor-replace.diff:
+ debian/patches/series: actually update the patches and re-enable...
+
+ * debian/rules:
+ - move /usr/include/libreoffice/sal/typesizes.h symlink to -dev
+ instead of -dev-common (closes: #858199)
+ * debian/control.in:
+ - add missing -java-common Depends: to -script-provider-{bsh,js}
+ * debian/control.mediawiki.in:
+ - add missing JRE depends
+ (thanks to Daniel Richard G. for those two, see #858655)
+ * debian/control.in:
+ - make libreoffice meta-package only recommend libreoffice-java-common
+ (closes: #858655)
+
+ -- Rene Engelhard <rene@debian.org> Wed, 29 Mar 2017 12:48:44 +0200
+
+libreoffice (1:5.3.1-1) experimental; urgency=medium
+
+ * New upstream release
+
+ * debian/rules, debian/libreoffice-dev-doc.links, debian/lo*.in:
+ install SDK documentation into /usr/share/doc/libreoffice/sdk (and adapt
+ dev-docs symlinks/doc-base stuff). Remove extra license file (thanks
+ lintian) which otherwise would still install over the symlink.
+ * debian/control.sdk.in: update -devs libreoffice-dev-doc Conflicts to
+ (<< 1:5.2.5-2~) and add Conflicts: libreoffice (<< 1:5.2.5-2~) to both
+ -dev*- for safety
+ * debian/rules:
+ - enable mergelibs only on 64bit archs (and i386), ld goes to OOM on
+ mips(el) for example...
+ - allow build with gold (maybe for LTO?)
+ - ignore "libreoffice" for --link-doc
+ - fix dh_installdocs calls to install copyright for "libreoffice"
+ - symlink /usr/share/libreoffice/program/classes/unoil.jar to
+ /usr/share/java/unoil.jar to "dedup" it
+ - run rdfind to get duplicated /usr/share/icons/gnome symlinked to
+ hicolor if identical (closes: #835515); add rdlink/symlinks B-D-I
+ - fix generating lo-idl-ref doc-base file
+ * debian/control.in, debian/rules, debian/scripts/cleandupes: remove unused
+ fdupes B-D-I and commented-out usage
+ * debian/rules, debian/control.in: recommend -sdbc-firebird only where it's
+ built (LE) to prepare for it being a dependency when firebird will be the
+ default embedded engine
+
+ -- Rene Engelhard <rene@debian.org> Wed, 08 Mar 2017 02:02:25 +0100
+
+libreoffice (1:5.3.0-1) experimental; urgency=medium
+
+ * New upstream release
+
+ * debian/rules:
+ - add support for building with clang
+ - move from hardcoded C(XX)FLAGS for -g -> -g1 to recommended
+ DEB_C(XX)FLAGS_MAINT_*
+ * debian/missing-sources:
+ - add source of jquery 3.1.1 (from libjs-jquery package) for
+ helpcontent2/source/jquery-3.1.1.min.js
+
+ -- Rene Engelhard <rene@debian.org> Wed, 01 Feb 2017 01:25:24 +0100
+
+libreoffice (1:5.3.0~rc2-1) experimental; urgency=medium
+
+ * New upstream release candidate
+
+ * debian/patches/change-from-glew-to-epoxy.diff: update
+ * debian/patches/m68k-use-mlong-jump-table-offsets.diff: add;
+ as name says
+
+ * debian/rules:
+ - build-depend on gcc-7/g++-7 (>= 7-20170106) for m68k for
+ -mlong-jump-table-offsets
+
+ -- Rene Engelhard <rene@debian.org> Tue, 17 Jan 2017 01:31:09 +0100
+
+libreoffice (1:5.3.0~rc1-2) experimental; urgency=medium
+
+ * debian/rules:
+ - readd somehow lost libgl1-mesa-dev build-dependency...
+
+ -- Rene Engelhard <rene@debian.org> Sat, 24 Dec 2016 01:01:40 +0100
+
+libreoffice (1:5.3.0~rc1-1) experimental; urgency=medium
+
+ * New upstream release candidate
+
+ * debian/patches/change-from-glew-to-epoxy.diff: backport from master;
+ as name says
+ * debian/patches/gtk3-opengl-slideshow.diff: backport from master to fix
+ ogltrans generically with gtk3
+ * debian/patches/disable-flaky-tests.diff: also disable svx.AccessibleShape
+
+ * debian/control.ogltrans.in:
+ - add Conflicts: libreoffice-gtk3 (<< 1:5.2.4~rc2)
+
+ * debian/rules:
+ - change glew conditionals/build-deps to epoxy
+ - ENABLE_GDRIVE=y again on armhf and arm64
+
+ -- Rene Engelhard <rene@debian.org> Fri, 23 Dec 2016 21:17:03 +0100
+
+libreoffice (1:5.3.0~beta2-1) experimental; urgency=medium
+
+ * New upstream beta release
+
+ * debian/patches/m68k-alignment.diff: add patch from John Paul Adrian
+ Glaubitz to fix m68k alignment
+
+ * debian/libreoffice-sdbc-firebird.NEWS: add NEWS entry about the format
+ incompatibility
+ * debian/rules: revert ENABLE_GDRIVE=y on arm* as chromium got uploaded
+ without it to sid and it's gone from experimental again on those
+
+ -- Rene Engelhard <rene@debian.org> Sun, 11 Dec 2016 10:40:18 +0100
+
+libreoffice (1:5.3.0~beta1-1) experimental; urgency=medium
+
+ * New upstream beta release
+
+ * try using just the used tarballs to avoid confusion and to shrink the
+ .orig (they are downloaded anyway and not in the .orig)
+ - remove unneeded tarballs from tarballs
+ - include needed tarballs in include-binaries
+ - update debian/copyright (remove many, add forgotten swingEx
+ fix src -> tarballs; actually add MPL-2.0/ASF blurb)
+ - update README.Debian-source
+
+ * debian/patches/fix-system-lpsolve-build.diff: rename to ..
+ * build-against-shared-lpsolve.diff: ... this to make the purpose more clear
+ * debian/patches/fix-system-lpsolve-build.diff: add new one adding
+ -llpsolve55_pic test/linkage (disabled)
+ * debian/patches/no-openssl.diff: don't uselessly check for openssl and
+ don't require openssl in postgresql-sdbc-impl, not (directly) used
+
+ * debian/scripts/get_libvlc_dep.sh: fix to work again (also) with
+ new multiarchified libvlc5
+
+ * debian/rules:
+ - don't install ChangeLog (now done automatically by dh compat >= 7) as
+ it doubles -common/-core size and increases font-opensymbol *by 10*
+ - ENABLE_GDRIVE=y also on armhf and arm64 as we've chromium there now, too
+ - enable mysql-connector again now that libmysqlcppconn _and_
+ mysql-workbench are built against mariadb.
+ Bump Build-Dependency on libmysqlcppconn to >= 1.1.7-4 to go sure
+ we're getting a >= 1.1.7 dependency
+ Fix adding the libmysqlcppconn-dev Build-Dep in the default case
+ * debian/control.in:
+ - add Breaks: browser-plugin-libreoffice to libreoffice-core
+ (closes: #843980)
+ * debian/control.firebird.in: fix substvar: s/server/engine/
+ * debian/libreoffice-common.maintscript: remove apparently unneeded quotes
+ which now breaks at dpkg-maintscript-helper call... (closes: #844683)
+
+ -- Rene Engelhard <rene@debian.org> Wed, 23 Nov 2016 12:43:18 +0100
+
+libreoffice (1:5.3.0~alpha1-1) experimental; urgency=medium
+
+ * New upstream alpha release
+ - fixes typo in VCL.xcu; s/Tino/Tinos/ (closes: #834580)
+ - fixes (experimental) Gtk print dialog crash (closes: #839701)
+ - fixes copy paste cells between two tables of two documents with Gtk3
+ (closes: #834622)
+ - fixes tooltips when dragging/filling cells with Gtk3 (closes: #831977)
+
+ * debian/control.{lang,help}.in: use ${help-l10n-virtual-version} as
+ versioned Provides
+ * debian/rules, debian/control.transitionals.in: remove jessie->stretch
+ transitionals again
+ * debian/rules, control.gcj.in: cleanup:
+ - remove support for gcj (and thus building -gcj "native") completely;
+ removed upstream; and also openjdk-9 apparently will drop support for
+ source/target 1.5 (which gcj only supports) and gcc-7 apparently even
+ will drop gcj, too
+ (also the officeotron/odfvalidator stuff fails because due to the java-gcj
+ in the path for safety reasons it picks up gcj..)
+ - use java6_architectures for computing OOO_JAVA_ARCHS
+ * debian/copyright: add schema/*/* to Files-Excluded: :/
+ * debian/uno-libs3.symbols: update
+ * debian/rules:
+ - bump dh compat to 10
+ - re-enable firebird (closes: #841253)
+
+ -- Rene Engelhard <rene@debian.org> Thu, 20 Oct 2016 15:46:34 +0200
+
+libreoffice (1:5.2.3~rc1-3) unstable; urgency=medium
+
+ * debian/patches/fix-system-lpsolve-build.diff: fix -L in configure.ac so
+ that it actually checks (against) the shared lib
+
+ -- Rene Engelhard <rene@debian.org> Wed, 19 Oct 2016 22:20:51 +0200
+
+libreoffice (1:5.2.3~rc1-2) unstable; urgency=medium
+
+ * debian/rules:
+ - disable mysql connector given mysql-* will be removed for stretch and
+ mysql-connector-c++ should probably stay mysql for mysql-workbench
+ - if enabling mysql connector, use default (mariadb) as flavour and internal
+ mysqlcppconn
+
+ -- Rene Engelhard <rene@debian.org> Mon, 17 Oct 2016 19:10:29 +0200
+
+libreoffice (1:5.2.3~rc1-1) unstable; urgency=medium
+
+ * New upstream release candidate
+
+ * debian/patches/startcenter-grey-out-not-installed.diff: backport from
+ master, as name says (closes: #813430)
+
+ * debian/rules:
+ - add /usr/include/libreoffice/sal/typesizes.h symlink to multiarch
+ include dir to fix SDK usage e.g in the SDK examples
+ - disable firebird (as sid now got firebird-dev 3.0), and (internal)
+ firebird2.5 doesn't build. But we probably should not switch to 3.0
+ here (yet) before 5.3...
+ - install LOKDocView-0.1.typelib into multiarch dir as recommended by
+ the GI mini policy
+
+ -- Rene Engelhard <rene@debian.org> Wed, 12 Oct 2016 22:21:35 +0200
+
+libreoffice (1:5.2.2~rc2-2) unstable; urgency=medium
+
+ * work around libcoinutils-dev pulling in -lbz2 without depending on it
+ by Build-Depending on it here (temporarily)
+
+ -- Rene Engelhard <rene@debian.org> Fri, 23 Sep 2016 07:24:37 +0200
+
+libreoffice (1:5.2.2~rc2-1) unstable; urgency=medium
+
+ * New upstream release candidate
+
+ * debian/patches/gtk3-lot-of-style-updated-signals.diff: apply follow-up
+ patch to don't throw away font settings every time (closes: #836531)
+
+ -- Rene Engelhard <rene@debian.org> Wed, 21 Sep 2016 21:39:59 +0200
+
+libreoffice (1:5.2.1-3) unstable; urgency=medium
+
+ * debian/patches/gtk3-use-style-updated-signal.diff: backport from master;
+ use style-updated instead of style-set signal. This closes: #837356.
+ * debian/patches/xfce-fallback-list.diff: remove again, didn't help
+
+ * debian/control.in: _really_ remove font depends from libreoffice, really
+ closes: #836416
+ * debian/rules: adapt SYSTEM_GCJ_VERSION detected for gcj-6 (>= 6.2.0-4)...
+
+ -- Rene Engelhard <rene@debian.org> Sat, 17 Sep 2016 01:13:20 +0200
+
+libreoffice (1:5.2.1-2) unstable; urgency=medium
+
+ * debian/rules: install typesizes.h into
+ usr/include/$(DEB_HOST_MULTIARCH)/libreoffice/sal/typesizes.h
+ * debian/control.in:
+ - remove libreoffice-report-builder-bin [kfreebsd-i386 kfreebsd-amd64]
+ Conflicts: from -core, thanks Jon Boden (closes: #836887)
+ - rework libreoffice metapackage "dependencies":
+ + Recommend everything (except GNOME/KDE integration and similar) which
+ the upstream .tar.gz contains:
+ libreoffice-script-provider-bsh,
+ libreoffice-script-provider-js,
+ libreoffice-script-provider-python,
+ libreoffice-ogltrans,
+ libreoffice-librelogo,
+ libreoffice-nlpsolver,
+ libreoffice-pdfimport,
+ libreoffice-report-builder,
+ libreoffice-wiki-publisher
+ libreoffice-sdbc-postgresql
+ + make libreoffice only Recommend the fonts. Mention it recommends
+ extra stuff like fonts to resemble a upstream install, thanks
+ Fabian Greffrath (closes: #836416)
+ - remove obsolete libreoffice-gtk conflicts which makes -core Break: it
+ with bin-NMUs; add (intended) -gtk2/-gtk3 ones...
+
+ * merge from Ubuntu:
+ - uno-libs: Create the libuno_* symlinks in the multiarch libdir
+
+ -- Rene Engelhard <rene@debian.org> Tue, 13 Sep 2016 04:28:17 +0200
+
+libreoffice (1:5.2.1-1) unstable; urgency=medium
+
+ * LibreOffice 5.2.1 final (identical to rc2)
+
+ * debian/patches/xfce-fallback-list.diff: remove gtk3 from fallback list
+ for xfce (closes: #836531)
+
+ * upload to unstable
+
+ * debian/bug-presubj: mention https://wiki.debian.org/AutomaticDebugPackages
+ * debian/control.in: make the libreoffice meta-package depend also on
+ fonts-crosextra-caladea, fonts-crosextra-carlito and fonts-linuxlibertine
+ * debian/README.Debian-source: update (closes: #836186)
+
+ -- Rene Engelhard <rene@debian.org> Sun, 04 Sep 2016 12:25:34 +0200
+
+libreoffice (1:5.2.1~rc2-1) experimental; urgency=medium
+
+ * new upstream release candidate
+
+ * debian/rules:
+ - oops, install libqstart_gtklo.so into /program, not /share
+
+ -- Rene Engelhard <rene@debian.org> Thu, 25 Aug 2016 07:52:16 +0200
+
+libreoffice (1:5.2.1~rc1-1) experimental; urgency=medium
+
+ * new upstream release candidate
+ - drop use of CAIRO_OPERATOR_DIFFERENCE, should fix performance
+ regressions (closes: #832495)
+
+ * debian/rules, debian/control.transitionals.in: readd -gtk as transitional
+ package; depend on -gtk2 (closes: #833676) and -systray
+ * debian/rules: re-enable systray (closes: #825642) now that we need
+ NEW anyway and have a -gtk transitional package (which contained this
+ before it was disabled)
+ * debian/control.gtk2.in: stop providing libreoffice-gtk
+ * debian/rules:
+ - filter-out kfreebsd-i386 and kfreebsd-amd64 explicitly out of
+ OOO_CHECK_ARCHS to save unneeded build-deps (again)
+ - rework MySQL/MariaDB conditionals; allow default-libmysqlclient-dev
+ * debian/libreoffice-gtk.maintscript: readd dir_to_symlink maintscript
+ * debian/control.mysql.in: use default-mysql-server | virtual-mysql-server
+ as MySQL Suggests
+
+ -- Rene Engelhard <rene@debian.org> Tue, 16 Aug 2016 23:23:45 +0200
+
+libreoffice (1:5.2.0-2) unstable; urgency=medium
+
+ * debian/patches/make-package-modules-not-suck.diff: move animcore into
+ DRAW (closes: #833181)
+
+ * debian/control.nlpsolver.in: fix override disparity , use old values
+ (math/extra)
+ * debian/rules, debian/shlibs.override.libcmis: bump libcmis dependency
+ to (>= 0.5.1+git20160603) to assure the advertised google 2-factor-auth
+ stuff is present
+ * debian/control.in:
+ - update libroffice-gtk mentioning in libreoffice's
+ description to say gtk(2|3) (closes: #833694) - thanks Vincent Levebre
+ - remove mention of Quickstarter from libreoffice and libreoffice-gtk2
+ descriptions; gone there since some time
+ - add Replaces:/Breaks: for libanimcorelo.so move
+ * debian/control.systray.in, debian/rules: install the systray stuff into a
+ new -systray package (if enabled)
+ * debian/control.lang.in: suggest libreoffice-hyphenation-fi at -l10n-fi
+ (provided by libreoffice-voikko)
+ * debian/rules:
+ - clean up test disabling, disable on sparc64. Add missing <!nocheck>
+ for junit4
+
+ -- Rene Engelhard <rene@debian.org> Sun, 14 Aug 2016 20:51:51 +0200
+
+libreoffice (1:5.2.0-1) unstable; urgency=medium
+
+ * LibreOffice 5.2.0 final (identical to rc4)
+
+ * debian/patches/curl-7.50.0.diff: add from master; fix build with
+ curl 7.50.0
+
+ * upload to unstable
+
+ -- Rene Engelhard <rene@debian.org> Sat, 30 Jul 2016 07:32:37 +0200
+
+libreoffice (1:5.2.0~rc4-1) experimental; urgency=medium
+
+ * new upstream release candidate
+
+ * debian/patches/jre-update-gt-99.diff: backport from libreoffice-5-2;
+ allow java update version number > 99
+
+ -- Rene Engelhard <rene@debian.org> Fri, 29 Jul 2016 07:31:55 +0200
+
+libreoffice (1:5.2.0~rc3-1) experimental; urgency=medium
+
+ * new upstream release candidate
+
+ * debian/rules:
+ - use (more) dh_* -a instead of deprecated -s
+
+ * debian/rules, debian/scripts/joinctrl.py: use $(PYTHON) (so python3),
+ "python" isn't pulled in (implicitely) anymore; update build-deps
+
+ -- Rene Engelhard <rene@debian.org> Tue, 19 Jul 2016 23:53:14 +0200
+
+libreoffice (1:5.2.0~rc2-1) experimental; urgency=medium
+
+ * new upstream release candidate
+
+ * debian/rules:
+ - use dh_listpackages -a instead of deprecated -s
+
+ -- Rene Engelhard <rene@debian.org> Thu, 07 Jul 2016 08:18:31 +0200
+
+libreoffice (1:5.2.0~rc1-1) experimental; urgency=medium
+
+ * new upstream release candidate
+ - scales gtk3 smooth scaling events... (closes: #826654)
+
+ * debian/patches/sparc64.diff: add sparc64 port, thanks James Clarke
+
+ * debian/vars.sparc64: add
+ * debian/rules: add sparc64 support again
+
+ * debian/control.in:
+ - move ttf-liberation-fonts recommends to -common (closes: #747132)
+ - move libpaper-utils recommends to -core
+
+ * debian/control.nlpsolver.in, debian/rules, debian/scripts/gid2pkgdirs.sh:
+ package the NLPSolver from here (closes: #827474)
+
+ -- Rene Engelhard <rene@debian.org> Wed, 22 Jun 2016 02:57:13 +0200
+
+libreoffice (1:5.2.0~beta2-1) experimental; urgency=medium
+
+ * New upstream beta release
+ - only initalizes the OpenGL context if we need it (closes: #819153)
+
+ -- Rene Engelhard <rene@debian.org> Tue, 07 Jun 2016 20:32:07 +0200
+
+libreoffice (1:5.2.0~beta1-1) experimental; urgency=medium
+
+ * New upstream beta release
+ - fixes SVG t(ext s)pan import (closes: #665094)
+ - fixes Impress slowing down with -gtk(3) and accessibility
+ (closes: #824035)
+ - fixes "LibreOffice RTF Stylesheet Code Execution Vulnerability"
+ (TALOS-CAN-0126 / CVE-2016-4324)
+
+ * debian/rules, debian/control.gtk3.in, debian/*.links: move
+ liblibreofficekitgtk.so into an own package, as we have
+ libreofficekit-{dev,data} anyway. Make liblibreofficekitgtk depend on
+ libreofficekit-data
+ * debian/rules, debian/control.in, debian/libreoffice-gtk.*: rename -gtk
+ to -gtk2
+ * debian/control.sdk.in, debian/rules: move arch-indep SDK stuff into new
+ -dev-common. Move g++-mingw-w64-i686 to BUILD_DEPS_INDEP and only try to
+ (re)build unowinreg.dll in build-indep. Remove arch-qualifiers.
+ * debian/uno-libs3.symbols: update
+ * debian/tests/control.in, debian/tests/sdk-examples: remove unowinreg.dll
+ special-casing, we now have unowinreg.dll in a Arch: all. Depend on that.
+
+ * debian/rules:
+ - add initial build profile support: nodoc and nocheck
+ - move GTK3_MINVER setting down in rules so the conditional gets honoured;
+ gtk3 3.20 is available anywhere in stretch/sid so revert bump to >= 3.20
+ - migrate from --ddeb-migration to --dbgsym-migration
+
+ * debian/libreoffice-calc.lintian-overrides: (temporerily) readd
+ libreoffice-calc: binary-or-shlib-defines-rpath override
+
+ -- Rene Engelhard <rene@debian.org> Thu, 26 May 2016 20:38:51 +0200
+
+libreoffice (1:5.1.3-1) unstable; urgency=medium
+
+ * LibreOffice 5.1.3 final (identical to rc2)
+
+ * debian/patches/kde4-cflags-no-usr-include.diff: don't set $kde_incdir
+ to /usr/include since -isystem /usr/include makes the stuff FTBFS
+ with gcc 6 (closes: #823145)
+ * debian/patches/mdds-1.2.0.diff: backport patch to build with mdds 1.2
+ from master
+
+ * debian/*.lintian-overrides: remove obsolete
+ binary-or-shlib-defines-rpath and no-debconf-config overrides
+
+ * debian/rules:
+ - bump libmdds-dev and liborcus-dev build-deps and update orcus handling
+ - fix another warning for !gcj builds: only try to set GCJ_JAWT_DIR if
+ GCJ_JAWT_DEPENDS is set
+
+ -- Rene Engelhard <rene@debian.org> Sat, 14 May 2016 00:18:49 +0200
+
+libreoffice (1:5.1.3~rc2-3) unstable; urgency=medium
+
+ * debian/rules:
+ - sigh. revert control changes for now, needs more work, apparently..
+
+ -- Rene Engelhard <rene@debian.org> Sun, 08 May 2016 08:31:54 +0200
+
+libreoffice (1:5.1.3~rc2-2) unstable; urgency=medium
+
+ [ Mattia Rizzolo ]
+ * debian/control.in: use nowdays canonical URIs in Vcs-*
+
+ [ Rene Engelhard ]
+ * debian/rules:
+ - remove explicit $(MAKE) -f debian/rules control
+
+ -- Rene Engelhard <rene@debian.org> Sun, 08 May 2016 00:16:51 +0200
+
+libreoffice (1:5.1.3~rc2-1) unstable; urgency=medium
+
+ * New upstream release candidate
+
+ * debian/rules:
+ - print error in control without gcj-jdk installed
+ - don't try to run set GCJ_JAWT_DEPENDS if GCJ_VERSION is unset
+ - disable the tests on kfreebsd-* (see #801865),
+ - move hardcoded (!)kfreebsd-i386 (!)kfreebsd-amd64 to (!)kfreebsd-any.
+ Use linux-any instead of just disabling it for kfreebsd for
+ libbbluetooth-dev B-D; reflects the sense better
+
+ -- Rene Engelhard <rene@debian.org> Thu, 05 May 2016 22:46:40 +0200
+
+libreoffice (1:5.1.3~rc1-1) unstable; urgency=medium
+
+ * New upstream release candidate
+
+ * debian/patcches/GCC-6-PR69273-workaround.diff: remove; AFAICS gcc is
+ fixed
+
+ * debian/rules:
+ - (temporarily) bump libgtk-3-dev build-dep to >= 3.20~ to ensure
+ we build against 3.20
+
+ -- Rene Engelhard <rene@debian.org> Tue, 19 Apr 2016 20:02:18 +0200
+
+libreoffice (1:5.1.2-4) unstable; urgency=medium
+
+ * debian/patches/fix-list-and-comboboxes-with-gtk3-3-20-2.diff:
+ backport from libreoffice-5-1 branch, as name says
+
+ -- Rene Engelhard <rene@debian.org> Sat, 16 Apr 2016 17:55:25 +0200
+
+libreoffice (1:5.1.2-3) unstable; urgency=medium
+
+ * debian/patches/don-t-install-qstart.desktop-if-it-s-disabled.diff:
+ as name says (closes: #820657)
+ * debian/libreoffice-gtk3.maintscript: bump version to also fix
+ stretch updates
+
+ -- Rene Engelhard <rene@debian.org> Mon, 11 Apr 2016 18:54:00 +0200
+
+libreoffice (1:5.1.2-2) unstable; urgency=medium
+
+ * debian/rules:
+ - add boost-filesystem build-dependency...
+
+ -- Rene Engelhard <rene@debian.org> Fri, 08 Apr 2016 07:18:09 +0200
+
+libreoffice (1:5.1.2-1) unstable; urgency=medium
+
+ * New upstream release
+
+ * debian/patches/OPENCL_DLL_NAME.diff: backport from master, use .so.1,
+ not .so
+ * debian/patches/no-packagekit-per-default: disable losessioninstaller
+ per default and make it conditional on --enable-packagekit.
+ * debian/patches/setsdkenv-tripplet.diff: fix setsdkenv_unix.sh to work
+ with *-linux-gnu* (as on e.g. armhf)
+ * debian/patches/sdkname-lo.diff: fix OO_SDK_NAME;
+ s/openoffice.org/libreoffice/
+ * debian/patches/liborcus-0.11.diff: add from master; use liborcus 0.11
+
+ * debian/control*in: add loads of ${misc:Pre-Depends} to packages having
+ .maintscripts calling dir_to_symlink to get proper dpkg Pre-Dependency.
+ Needed e.g. to fix wheezy+wheezy-backports -> jessie+jessie-backports
+ upgrades.
+ * debian/control[,.subsequentcheckbase}.in: remove hardcoded Java depends,
+ use ${java:Depends}
+ * debian/control.in: make -sdbc-hsqldb also depend on ${java-runtime-depends}
+ * debian/libreoffice-{core,sdbc-firebird}.bug-script.in: fix; LO still uses
+ /4 in the profile
+ * debian/ure.bug-script.in: add, run javaldx
+ * debian/libreoffice-report-builder.bug-script.in: remove, no extension
+ anymore since long
+ * debian/libreoffice-mysql-connector.bug-script.in: fix PLATFORMID
+ substitution to actually work
+ * debian/rules:
+ - add conditional to choose mdds version and build with
+ mdds 1.0/liborcus 0.11
+ - move liblosessioninstallerlo.so into -gnome when enabled; better suited
+ there
+ - speed up check target: run $(MAKE) check in parallel and only if failing
+ the second run without parallelism
+ - remove artificial disabling of glTF for armel and mips(el). Probably
+ still don't make sense but enable it for consistency (and because we
+ enable other stuff there which don't make sense that much either)
+ - disable the systray quickstarter (closes: #819878)
+ * debian/tests/*: add "sdk-examples" test test-building some SDK examples
+ to test the SDK itself
+ * debian/control.in: remove recommend on xfonts-mathml (closes: #749979)
+ * debian/control.sdk.in: fix Descriptions
+ * debian/shlibs.override.orcus: 10 -> 11
+ * debian/libreoffice-gtk3.maintscript.in: (re-)add dir_to_symlink also for
+ libreoffice-gtk3 (closes: #820320)
+
+ -- Rene Engelhard <rene@debian.org> Thu, 07 Apr 2016 17:51:26 +0200
+
+libreoffice (1:5.1.2~rc1-1) unstable; urgency=medium
+
+ * New upstream release candidate
+ - -sdbc-postgresql: use proper schema name for type names
+ (closes: #808125)
+ - uses rtl::math::isNan() instead of isnan() (closes: #818829)
+
+ * debian/rules:
+ - decouple BUILD_TEST_PACKAGE and BUILD_DDEBS/BUILD_DBG_PACKAGE,
+ as the tests con't depend on -dbg/-dbgsym anymore (and it fixes
+ -dbg building for jessie-backports). Fix some order: add a if and
+ remove --no-ddeb on jessie (not existing) to make -dbg package building
+ actually work again
+ - use internal libwps for jessie-backports
+ - don't hardcode python3-six in -dbgsyms Recommends
+ * debian/bug-presubj: point to TDF-bugzilla and LOs BT/strace instructions;
+ minor wording fixes
+ * debian/lo-{cpp,java}-ref.in, debian/rules, debian/libreoffice-dev-doc.links:
+ fixups for new doc path since last upload...
+ * debian/watch: add pgpversionmangle
+ * debian/libreoffice-gtk3.links: add /usr/lib/liblibreofficekitgtk.so
+ symlink (closes: #818433)
+
+ -- Rene Engelhard <rene@debian.org> Thu, 17 Mar 2016 08:04:03 +0100
+
+libreoffice (1:5.1.1-1) unstable; urgency=medium
+
+ * LibreOffice 5.1.1 final (identical to rc3)
+
+ * debian/patches/disable-flaky-tests.diff: (temporarily?) disable
+ testFlipAndRotateCustomShape per upstreams advice (closes: #815292)
+
+ * debian/rules:
+ - unset DISPLAY before running make check; some test(s) might fail
+ otherwise
+ * debian/rules, debian/test/*:
+ - stop adding -dbgsym to the test Depends:,
+ ci.debian.net doesn't have the debug archive in sources.list -> fail
+ - clean up: don't add %BUILD_DEPS_ARCH_ALL% to -subsequentcheckbases
+ Depends: as it doesn't really need it; the tests do, add in in
+ tests/control. Only depend on junit, ure, java-common in
+ -subsequentcheckbase. Add libreoffice{,-sdbc-hsqldb} dependencies in
+ tests/control.in
+ - run with verbose=t as the "normal" build
+
+ * merge from Ubuntu:
+ - update autopkgtest runner patch, removing unhelpful build system deps for
+ out-of-tree integration testing
+ - depend on libreoffice-sdbc-hsqldb for autopkgtests
+ - (re)add build version for "About LibreOffice"
+
+ -- Rene Engelhard <rene@debian.org> Mon, 07 Mar 2016 20:31:50 +0100
+
+libreoffice (1:5.1.1~rc3-1) unstable; urgency=medium
+
+ * New upstream release candidate
+
+ * debian/rules:
+ - somewhen m68k vanished from OOO_ARCHS; readd ;)
+ - actually we can use Chromiums Google API keys, so set
+ --with-gdrive-client-{id,secret} properly (closes: #780253).
+ Don't copy them but use chromiums ones directly, which makes this
+ i386/amd64 only, but...
+ - move install location of the SDK docs to
+ /usr/share/doc/libreoffice-dev/sdk/docs as the old locations are
+ "burned". Also sdk/docs matches the upstream structure anyway.
+ (closes: #804317)
+ * debian/scripts/get_libebook_dep.sh: fix to work with new multiarchified
+ libebook
+ * debian/control.sdk.in: remove broken and obsolete -dtd-officedocument1.0
+ Suggests
+
+ -- Rene Engelhard <rene@debian.org> Tue, 01 Mar 2016 00:53:11 +0100
+
+libreoffice (1:5.1.1~rc1-1) unstable; urgency=medium
+
+ * New upstream release candidate
+ - fixes scrolling direction with trackpad in gtk3 (closes: #809363)
+ - fixes distorted images in PDF export (closes: #813586)
+
+ * upload to unstable
+
+ * debian/patches/bash-completion-dir.diff: add from master;
+ install bash completion to "new" /usr/share/bash-completion/completions
+ * debian/patches/kfreebsd-openjdk8-JAVAINC.diff: add
+ -I$JAVA_HOME/include/linux to JAVAINC for kFreeBSD to find jni_md.h
+
+ * debian/rules:
+ - remove sparc64 again, we're actually not ported
+ * debian/libreoffice-common.maintscript:
+ rm_conffile /etc/bash_completion.d/libreoffice.sh
+ * debian/scripts/gid2pkgdirs.sh: adapt for bash_completion move and install
+ without .sh
+ * debian/libreoffice-common.{pre,post}{rm,inst}.in: remove long obsolete
+ (3.4, OOo->LO) maintainer script snippets
+
+ -- Rene Engelhard <rene@debian.org> Wed, 10 Feb 2016 23:34:05 +0100
+
+libreoffice (1:5.1.0~rc3-1) experimental; urgency=medium
+
+ * New upstream release candidate
+
+ * debian/patches/gcc-6.diff: backport gcc 6 compile/test fixes from master
+ (closes: #811686)
+ * debian/patches/GCC-6-PR69273-workaround.diff: add gcc 6 ICE workaround
+ from Stephan Bergmann
+
+ * debian/rules:
+ - -officebean is a arch-dep package, move pom generation and mh_*
+ calls for it to install-arch...
+ - adapt for changed debhelper internals to make out -dbgsym hacks work
+ again and build-depend on debhelper >= 9.20160115
+ - update/clean up up JAVA_RUNTIME_DEPENDS: move gcj-jre after all the
+ openjdks and add openjdk-8-jre
+
+ -- Rene Engelhard <rene@debian.org> Fri, 05 Feb 2016 12:14:51 +0100
+
+libreoffice (1:5.1.0~rc2-1) experimental; urgency=medium
+
+ * New upstream release candidate
+
+ * debian/patches/disable-db-tests.diff,
+ debian/patches/smoketest-disable-extension-tests.diff: make apply again...
+
+ * debian/rules:
+ - fix/update some ddeb conditionals and migrate -dbg to -dbgsym
+ - "supplement" the -dbgsym packages also with the gdb helpers and
+ the appropriate recommends (gdb, python3-six)
+ * debian/tests/control{,in}, debian/rules: generate autopkgtest control
+ with proper depends (-dbg or *-dbgsym) in rules' control target
+ * debian/tests/control: depend on ure-dbg and uno-libs3-dbg, too
+ * debian/tests/junit-subsequentcheck.diff: run
+ ./debian/rules config_host.mk enable_report_builder=no to disable the SRB
+ of which we don't have the (build-)deps in -subsequentcheckbases deps.
+ * debian/control.debug.in: recommend gdb
+ * debian/control.debug.in, debian/rules: move python(3)-six to recommends
+ and recommend python3-six on sid as "gdb" uses python3.
+ * debian/rules:
+ - build-depend on libpng-dev instead of libpng12-dev (closes: #662411)
+
+ -- Rene Engelhard <rene@debian.org> Wed, 13 Jan 2016 17:38:32 +0100
+
+libreoffice (1:5.1.0~rc1-1) experimental; urgency=medium
+
+ * New upstream release candidate
+ - doesn't link evoab2 to gtk2 anymore (closes: #807640)
+ - fixes "LibreOffice Writer Lotus Word Pro TabRack Buffer Overflow
+ Vulnerability"
+ - fixes "LibreOffice Writer Lotus Word Pro 'ReadRootData' Buffer Overflow
+ Vulnerability"
+ - fixes "LibreOffice Writer Lotus Word Pro Bullet Buffer Overflow
+ Vulnerability"
+ (CVE-2016-0794)
+ - fixes "LibreOffice Writer Lotus Word Pro 'TocSuperLayout' Buffer Overflow
+ Vulnerability"
+ (CVE-2016-0794)
+
+ * debian/patches/disable-npapi-plugin-support.diff: as name says,
+ the only serious usecase is the doomed Flash anyway and it's
+ causes a link against gtk2 in -core (closes: #807601)
+
+ -- Rene Engelhard <rene@debian.org> Wed, 16 Dec 2015 10:15:06 +0100
+
+libreoffice (1:5.1.0~beta2-1) experimental; urgency=medium
+
+ * New upstream beta release
+ - fixes crash when selecting the border style in some window managers
+ (closes: #801504)
+
+ * debian/patches/disable-flaky-tests.diff:
+ - disable also libreofficekit_tiledrendering as it SIGSEGVs after OK
+ (but lloconv works) with merged libs
+ - remove checkBookmarks disabling, should work now according to
+ upstream
+ * debian/patches/poms.diff: add "official" upstream poms
+
+ * debian/rules:
+ - fix up .desktop (closes: #804669), remove (D|d)ev and version from
+ Icon= and Exec=
+ - re-enable checks
+ - add sparc64 to OOO_ARCHS
+ - re-enable avahi
+ - install the AppData files now that they are installed upstream and
+ uptodate (closes: #734524)
+
+ * debian/scripts/get_ttf_version.pl, debian/rules: drop fontforge B-D-I;
+ use pure perl for determining the version; taken from upstreams win
+ installer
+
+ * debian/ure.poms, debian/rules: also install ures unoloader.jar into maven
+ * debian/libreoffice-officebean.poms, debian/rules: also install
+ officebean.jar into maven
+ * debian/*.pom.in, debian/rules: remove own poms and create final poms
+ with version from upstreams one
+
+ -- Rene Engelhard <rene@debian.org> Fri, 04 Dec 2015 08:04:18 +0100
+
+libreoffice (1:5.1.0~alpha1-4) experimental; urgency=medium
+
+ * debian/rules:
+ - work around the experimental buildds' resolver bug installing
+ experimental packages per default where they shouldn't and add
+ firebird-dev (>= 3.0) Build-Conflicts:
+
+ -- Rene Engelhard <rene@debian.org> Sun, 08 Nov 2015 10:04:31 +0100
+
+libreoffice (1:5.1.0~alpha1-3) experimental; urgency=medium
+
+ * debian/control{.sdk}.in, debian/rules, debian/libreoffice-dev-doc.links:
+ - stop moving the SDK docs into libreoffice-devs /usr/share/doc (and move
+ the stuff installed into /usr/share/doc/libreoffice/sdk in libreoffice-dev
+ to /usr/share/doc/libreoffice-dev, too) and conflict against
+ libreoffice-dev / libreoffice-dev-doc (<= 1:5.0.3~rc1-2) where needed
+ (closes: #803272, #803306)
+ * debian/control.ure.in:
+ - also break libreoffice-common in ure in addition to Replaces:
+ (closes: #801552, #803565) and make it << 1:4.5.0 which was meant...
+
+ -- Rene Engelhard <rene@debian.org> Sat, 31 Oct 2015 14:15:25 +0100
+
+libreoffice (1:5.1.0~alpha1-2) experimental; urgency=medium
+
+ * debian/patches/fix-xmlparse-with-icu55.diff: backport fix from
+ master fixing l10ntools' XML parsing with ICU 55
+ * debian/patches/icu-56.diff: prepare for ICU 56; fix FTBFS with new
+ charmaps; backported from master
+
+ * debian/rules:
+ - recommend -gtk3 again in gnome as (even in Alpha1)
+ Save As.. works (at least for me...) - closes: #681180
+ - remove l10ntools build hack again, now obsolete
+
+ -- Rene Engelhard <rene@debian.org> Sat, 24 Oct 2015 18:52:43 +0200
+
+libreoffice (1:5.1.0~alpha1-1) experimental; urgency=medium
+
+ * New upstream alpha release
+ - uses HttpURLConnection etc. of the JDK instead of commons httpclient
+ in the Wiki Publisher (closes: #800992)
+
+ * debian/patches/series, debian/patches/disable-tiledrendering-test.diff:
+ remove again, we need the functionality for liblibreofficekitgtk.so
+
+ * debian/rules, debian/vars.mips64*:
+ - add mips64{el,} architecture stuff which is now added upstream
+ * debian/uno-libs3.symbols: update
+ * debian/control.lokit.in:
+ - suggest libgtk-3-dev instead of libgtk2.0-dev
+ - suggest gir-1.2-lokdocview-0.1
+ * debian/control*in, debian/rules:
+ - remove upstream gone kdeab and gnome-vfs, gconf options
+ * debian/control*.in, debian/rules:
+ - package the LOKDocView introspection stuff into gir1.2-lokdocview-0.1
+ - move liblibreofficekitgtk.so into -gtk3 as it's for Gtk3 now
+ * debian/rules:
+ - gtk3 is on per default now (closes: #799399). Keep -gnome depending on
+ -gtk as gtk3 crashes e.g. on "Save as..."
+ - disable the tests for now
+ - also disable the wiki publisher on gcj builds; uses Java 6+ stuff; make
+ -wiki-publisher depend on >= Java 6
+ * debian/rules: prepare for .ddebs: disable manual -dbg build if building
+ ddebs; use dh_strip --ddeb-migration to create .ddebs
+ * debian/libreoffice-core.bug-script.in: dpkg -l -gtk -gtk3 and -kde to list
+ installed VCLplugs
+
+ * merge from Ubuntu:
+ - add am and gug locales
+
+ -- Rene Engelhard <rene@debian.org> Mon, 19 Oct 2015 22:57:36 +0200
+
+libreoffice (1:5.0.3~rc1-2) unstable; urgency=medium
+
+ * debian/*.maintscript: add loads of dir_to_symlink calls to packages
+ moving dir->symlink due to dh_installdocs --link-doc (closes: #801753)
+ * debian/control.in:
+ - make -gnome only recommend -gtk. it doesn't need -gtks libs
+
+ -- Rene Engelhard <rene@debian.org> Mon, 19 Oct 2015 00:01:06 +0200
+
+libreoffice (1:5.0.3~rc1-1) unstable; urgency=medium
+
+ * New upstream release candidate
+
+ * debian/rules:
+ - use dh_installdocs --link-doc=libreoffice-{core,common}
+ - update dh_shlibdeps calls for URE in /usr/lib/libreoffice/program and
+ remove obsolete OOUREDIR
+ - build-depend on default-jdk (>= 2:1.7-52.1) for OpenJDK 7 on kfreebsd-*
+ again
+ * debian/rules, debian/control.in:
+ - readd conflicts against openoffice-unbundled to libreoffice-common.
+ openoffice*-debian-menus contains /usr/bin/soffice
+ * debian/control.in:
+ - update -style-* dependencies based on the recommendation in
+ https://lists.debian.org/debian-openoffice/2015/09/msg00343.html ff.
+ + add various dependencies on fallback to the various -style-*
+ + suggest -breeze instead of -crystal in common, crystal is disabled
+ + depend on -style-default in libreoffice-core
+ * debian/rules, debian/patches/fix-internal-hsqldb-build.diff: use servlet3.1
+ and actually build-depend on it (again) if using internal hsqldb
+ * debian/control.subsequentcheckbase.in:
+ - remove hardcoded dependency openjdk-7-jdk; we get default-jdk in anyway
+
+ -- Rene Engelhard <rene@debian.org> Sun, 11 Oct 2015 12:36:37 +0200
+
+libreoffice (1:5.0.2-1) unstable; urgency=medium
+
+ * New upstream release
+ - fixes crash on gestureLongPress (closes: #798591)
+
+ * debian/*.menu: remove, as per TC resolution
+ * debian/control.in:
+ - remove imagemagick from B-D-I:
+ - mention liblibreofficekitgtk.so in -gtks description
+ - various lintian fixes
+ + add ${misc:Depends}, remove duplicated Priority:
+ + make fonts-opensymbol Multi-Arch: foreign
+ + don't add unneeded XS-Python3-Version:
+ * debian/rules:
+ - stop calling dh_installmenus and stop using convert to convert the icons
+ to xpm
+ - move liblibreofficekitgtk.so into -gtk
+ - lintian fixes:
+ + don't add XS-Testsuite; it defaults to autopkgtest anyway
+ if idebian/tests/control exists
+ + move dh_fixperms after gdb helper install to fix permissions of the
+ gdb stuff
+ - re-enable coinmp; build-dependencies now installable again; bump
+ build-dependencies to the gcc 5 versions
+ * debian/control.{,gtk3.in}, debian/rules: move disabled -gtk3 into extra
+ file so tha it doesn't appear in control when disabled, makes dak think
+ it's NEW.
+
+ -- Rene Engelhard <rene@debian.org> Wed, 23 Sep 2015 13:03:10 +0200
+
+libreoffice (1:5.0.1-2) unstable; urgency=medium
+
+ * debian/patches/series, debian/patches/disable-mediaembedding-test.diff:
+ remove, GTK3 is now disabled
+
+ * debian/rules:
+ - disable gtk3 for now again, too shaky
+ (closes: #799251, #799049, #795131)
+ * debian/control.in, debian/rules:
+ - make -gnome depend on -gtk when gtk3 is disabled
+ (reopens: #681180)
+ * debian/control.in:
+ - add Chris Halls <halls@debian.org> back to Uploaders:
+
+ -- Rene Engelhard <rene@debian.org> Thu, 17 Sep 2015 13:52:16 +0200
+
+libreoffice (1:5.0.1-1) unstable; urgency=medium
+
+ * LibreOffice 5.0.1 final (identical to rc2)
+
+ * debian/patches/mysqlcppconn-libmysqlclient-SONAME.diff: update; fix internal
+ mysqlcppconn build
+ * debian/patches/kde4-rtl.diff: KDE4: fix RTL scrollbar handling, from
+ libreoffice-5-0
+ * debian/patches/795131.diff: backport fix for crashes with clipboard managers
+ in gtk3 backend from master (closes: #795131)
+
+ * debian/rules:
+ - two more s/src/tarballs/ I forgot
+ - add explicit --without-system-libxml for a eventual internal-libxml2 case
+ - add hack to build the just build-time-used l10ntools (and especially
+ helpex)
+ with internal icu,boost,expat so that we get working localized help...
+ - use internal libgltf also for jessie-backports as otherwiese avmedia
+ doesn't build with the needed internal glm
+
+ * merge from Ubuntu:
+ - move --with-help and $(CONFIGURE_FLAGS_LANG) into $(CONFIGURE_FLAGS_INDEP)
+ and use it in build-indep
+
+ -- Rene Engelhard <rene@debian.org> Sat, 29 Aug 2015 16:05:55 +0200
+
+libreoffice (1:5.0.1~rc2-1) unstable; urgency=medium
+
+ * New upstream release candidate
+ - fixes 'LibreOffice Bookmark Status Memory Corruption Vulnerability'
+ (CVE-2015-5214)
+
+ * debian/patches/gtk3-rtl.diff: backport GTK3 RTL fixes (arrows, checkboxes,
+ spin buttons) from libreoffice-5-0 and master
+
+ * debian/rules:
+ - bump libmysqlcppconn-dev and libclucene-dev build-deps to their
+ gcc 5 versions
+ - add explicit dh-python build-dependency
+ - temporarily disable coinmp
+ - fix autogen.sh for autopkgtests by exporting the needed env vars there,
+ too
+ - set TARFILE_LOCATION to tarballs instead of external/tarballs and keep
+ external/ in the "main" orig wo we can just use it unchanged and keep
+ the upstream signature
+
+ * debian/tests/control, debian/tests/pyuno-import: add trivial import uno;
+ test for python3-uno
+
+ * merge from Ubuntu:
+ - autopkgtest updates/fixes
+ - add ENABLE_LTO conditional, off
+ - get-orig-source fixes
+
+ -- Rene Engelhard <rene@debian.org> Mon, 24 Aug 2015 12:16:24 +0200
+
+libreoffice (1:5.0.1~rc1-2) unstable; urgency=medium
+
+ * debian/patches/series: (re-)enable disable-tiledrendering-test.diff;
+ still fails...
+
+ -- Rene Engelhard <rene@debian.org> Sun, 09 Aug 2015 16:40:13 +0200
+
+libreoffice (1:5.0.1~rc1-1) unstable; urgency=medium
+
+ * New upstream release candidate
+
+ * upload to unstable
+
+ * debian/rules:
+ - bump build-depends on libgltf, *collada*, cppunit, liborcus, libcmis to
+ build-depend on their gcc 5 rebuilds. Bump boost build-dep to >= 1.58
+ (closes: #794717)
+ - fix SYSTEM_GCC_CHECK for gcc 5; remove obsolete >= 4.7 check for Qt to get
+ correct build-dep
+ * debian/control.in: suggest breeze-icon-theme in -style-breeze (like the
+ other ones do for oxygen/tango)
+
+ -- Rene Engelhard <rene@debian.org> Sat, 08 Aug 2015 16:06:34 +0200
+
+libreoffice (1:5.0.0~rc5-1) experimental; urgency=medium
+
+ * New upstream release candidate
+
+ * debian/rules:
+ - ENABLE_MERGELIBS=n on kfreebsd-* for now ("Argument list too long")
+ - ENABLE_COLLADA=y (for i386/amd64) now that the libs finally are in
+ Debian
+ - KDE_ICONSET_DEP=libreoffice-style-breeze (closes: #794318)
+ * debian/control.in:
+ - update -l10n conflicts in -common, remove 3.5/3.6, add 4.3/4.4
+ (closes: #794024)
+
+ -- Rene Engelhard <rene@debian.org> Sat, 01 Aug 2015 14:00:45 +0200
+
+libreoffice (1:5.0.0~rc4-1) experimental; urgency=medium
+
+ * New upstream release candidate
+ - fixes 'LibreOffice "PrinterSetup Length" Integer Underflow Vulnerability'
+ (CVE-2015-5212)
+ - fixes 'LibreOffice "Piece Table Counter" Invalid Check Design Error
+ Vulnerability' (CVE-2015-5213)
+
+ * debian/rules:
+ - ENABLE_MERGELIBS=y as it's now upstream default
+
+ -- Rene Engelhard <rene@debian.org> Sat, 25 Jul 2015 11:59:25 +0200
+
+libreoffice (1:5.0.0~rc3-1) experimental; urgency=medium
+
+ * New upstream release candidate
+
+ * debian/rules:
+ - re-enable CVE tests on all platforms again now that the infinite loop with
+ unsigned char-default is supposedly fixed
+
+ -- Rene Engelhard <rene@debian.org> Sun, 12 Jul 2015 13:04:30 +0200
+
+libreoffice (1:5.0.0~rc2-1) experimental; urgency=medium
+
+ * New upstream release candidate
+ - fixes "Arbritary file disclosure vulnerability" (CVE-2015-4551)
+
+ * debian/control.in:
+ - s/cliipart/clipart/ (closes: #787660 again)
+ * debian/rules:
+ - move libunoidllo.so from ure into uno-libs3, too, as
+ libcppuhelpergcc3.so.3 is (now) linked to it
+
+ * debian/rules:
+ - move gnome-open-url (back) to -gnome
+
+ -- Rene Engelhard <rene@debian.org> Sun, 28 Jun 2015 20:18:19 +0200
+
+libreoffice (1:5.0.0~rc1-1) experimental; urgency=medium
+
+ * New upstream release candidate
+ - fixes "Can't use a hash as a reference" deprecation warning/error in
+ lo-xlate-lang (closes: #788613)
+
+ * debian/patches/liborcus.diff: backport build fixes for using liborcus
+ 0.9.1 from master
+
+ * debian/rules:
+ - readd lost move of sal.py/cppu.py and libuno*.so.3-gdb.py
+ into uno-libs3-dbg (closes: #788848)
+ - build-depend on liborcus >= 0.9.0
+
+ * debian/control.in:
+ - make -gnome depend on -gtk3 now that it's enabled upstream if desktop
+ is gnome3 (closes: #681180)
+
+ -- Rene Engelhard <rene@debian.org> Sat, 20 Jun 2015 13:45:07 +0200
+
+libreoffice (1:5.0.0~beta3-1) experimental; urgency=medium
+
+ * New upstream beta release
+
+ * debian/patches/rsc-no-error-about-unknown-switch.diff: don't error out
+ CPPFLAGS (e.g. -Wdate-time) to not FTBFS with the patched reproducible
+ builds toolchain
+
+ * debian/rules:
+ - remove left-over dh_installxmlcatalogs call...
+ - temporarily disable junit tests
+
+ * debian/control{,.in}:
+ - suggest openclipart2-libreoffice | openclipart-libreoffice
+ (closes: #787660)
+
+ * debian/copyright:
+ - remove long gone dmake (closes: #788311)
+
+ -- Rene Engelhard <rene@debian.org> Wed, 10 Jun 2015 14:58:50 +0200
+
+libreoffice (1:5.0.0~beta1-1) experimental; urgency=medium
+
+ * New upstream beta release
+
+ * debian/control{,.lokit.in}, debian/rules, debian/libreofficekit-dev.*:
+ initial LibreOfficeKit packaging
+ * debian/control{,.in}, debian/rules, debian/*xmlcatalogs.in: drop packaging
+ openoffice.org-dtd-officedocument1.0; we've kept this DTD for a obsolete
+ format for too long already
+
+ * debian/rules:
+ - add conditional for system-collada2gltf
+ - oops, also add old openoffice(.org) changelogs to fonts-opensymbol, it
+ already existed in OOO 3.2.1 times (squeeze)
+ - enable l10n again
+
+ -- Rene Engelhard <rene@debian.org> Wed, 20 May 2015 15:22:07 +0200
+
+libreoffice (1:5.0.0~alpha1-1) experimental; urgency=medium
+
+ * new upstream snapshot
+
+ * debian/rules:
+ - adapt for ure folded into /usr/lib/libreoffice/program directly
+ - build only en-US for now
+ * debian/uno-libs3.symbols: update
+ * debian/control.in, debian/rules: disable crystal icons (KDE3); enable
+ breeze (KDE 5)
+
+ -- Rene Engelhard <rene@debian.org> Tue, 21 Apr 2015 21:30:13 +0200
+
+libreoffice (1:4.4.2-1) unstable; urgency=low
+
+ * LibreOffice 4.4.2 final release (identical to rc2)
+
+ * upload to unstable
+
+ * debian/patches/icu-icudata-link-fix-armhf.diff: fix internal icu build
+ on armhf ("stolen" from icu package)
+
+ -- Rene Engelhard <rene@debian.org> Sun, 12 Apr 2015 12:11:31 +0200
+
+libreoffice (1:4.4.2~rc2-1) experimental; urgency=medium
+
+ * New upstream release candidate
+ - fixes "out of bounds write in hwp file filter" (CVE-2015-1774)
+
+ -- Rene Engelhard <rene@debian.org> Fri, 27 Mar 2015 07:07:59 +0100
+
+libreoffice (1:4.4.2~rc1-1) experimental; urgency=medium
+
+ * New upstream release candidate
+
+ * debian/control.ogltrans.in:
+ - capitalize "impress" in description (closes: #779479)
+ * debian/rules:
+ - fix logic to not install sound files (closes: #780497)
+
+ -- Rene Engelhard <rene@debian.org> Sun, 15 Mar 2015 09:42:20 +0100
+
+libreoffice (1:4.4.1~rc2-1) experimental; urgency=medium
+
+ * New upstream release candidate
+
+ * merge from Ubuntu:
+ - adapt/kill ure-link for upstream changes (LP: #1419836)
+ * debian/patches/gcj-no-bitness-check.diff: fix gcj builds, --version
+ doesn't return bitness so it fails on any gcj/64bit platform
+
+ -- Rene Engelhard <rene@debian.org> Fri, 20 Feb 2015 20:01:07 +0100
+
+libreoffice (1:4.4.1~rc1-1) experimental; urgency=medium
+
+ * New upstream release candidate
+
+ * debian/patches/hppa-is-32bit.diff: as name says; don't assume hppa is
+ 64bit, as it isn't in Debian (closes: #776357)
+ * debian/rules:
+ - suggest gstreamer1.0-libav instead of gstreamer1.0-ffmpeg
+ (closes: #776593)
+
+ -- Rene Engelhard <rene@debian.org> Mon, 09 Feb 2015 22:14:43 +0100
+
+libreoffice (1:4.4.0~rc3-1) experimental; urgency=medium
+
+ * New upstream release candidate
+
+ * debian/rules:
+ - move /var/spool/libreoffice into -core, not -common (closes: #775150)
+
+ -- Rene Engelhard <rene@debian.org> Thu, 22 Jan 2015 23:45:29 +0100
+
+libreoffice (1:4.4.0~rc2-1) experimental; urgency=medium
+
+ * New upstream release candidate
+
+ * debian/rules:
+ - use internal libmwaw and libcmis for jessie-backports
+
+ -- Rene Engelhard <rene@debian.org> Sat, 10 Jan 2015 19:10:11 +0100
+
+libreoffice (1:4.4.0~rc1-1) experimental; urgency=medium
+
+ * New upstream release candidate
+
+ -- Rene Engelhard <rene@debian.org> Wed, 17 Dec 2014 23:38:37 +0100
+
+libreoffice (1:4.4.0~beta2-1) experimental; urgency=medium
+
+ * New upstream beta release
+
+ -- Rene Engelhard <rene@debian.org> Sat, 06 Dec 2014 15:10:37 +0100
+
+libreoffice (1:4.4.0~beta1-2) experimental; urgency=medium
+
+ * debian/patches/aarch64-bridges-add-missing-include-osl-mutex.hxx.diff: as
+ name says
+ * debian/patches/powerpc64-bridges-assert-static_assert-to-fix-build.diff: as
+ name says
+
+ -- Rene Engelhard <rene@debian.org> Tue, 25 Nov 2014 17:40:37 +0100
+
+libreoffice (1:4.4.0~beta1-1) experimental; urgency=medium
+
+ * new upstream beta release
+ - fixes postgresql-sdbc-impl install (closes: #769156)
+
+ * debian/rules:
+ - remove --disable-opengl as it's gone upstream; keep OGLTrans.so in
+ -ogltrans
+
+ -- Rene Engelhard <rene@debian.org> Fri, 21 Nov 2014 21:55:03 +0100
+
+libreoffice (1:4.4.0~alpha2-1) experimental; urgency=medium
+
+ * new upstream alpha release
+
+ * debian/rules:
+ - add conditional/includes/libs for system-opencollada
+ - use libmariadb-client-lgpl-dev instead of libmariadbclient-dev
+ when USE_MARIADB=y
+ - bump build-dependency on icu to >= 52 (see
+ https://bugs.freedesktop.org/show_bug.cgi?id=82229#c38)
+ * debian/shlibs.override.icu:
+ - update to actual cuurent SOVERSION...
+ * debian/rules, debian/shlibs.local.libc: revert libc 2.19 hack
+
+ -- Rene Engelhard <rene@debian.org> Fri, 07 Nov 2014 00:05:22 +0100
+
+libreoffice (1:4.4.0~alpha1-3) experimental; urgency=low
+
+ * debian/patches/oox-fix-bigendian-build.diff: one more fix from master
+
+ -- Rene Engelhard <rene@debian.org> Mon, 27 Oct 2014 23:10:49 +0100
+
+libreoffice (1:4.4.0~alpha1-2) experimental; urgency=low
+
+ * debian/patches/oox-fix-bigendian-build.diff: as name says
+ * debian/patches/LibreOfficeKitInit-kfreebsd.diff: fix LibreOfficeKitInit.h
+ on kFreeBSD
+
+ -- Rene Engelhard <rene@debian.org> Wed, 22 Oct 2014 10:20:18 +0200
+
+libreoffice (1:4.4.0~alpha1-1) experimental; urgency=low
+
+ * new upstream alpha release
+
+ * debian/rules, debian/patches/wheezy-backports-python.diff,
+ debian/patches/series: remove wheezy-backports support (making loads
+ of stuff easier/safer) and add (unused yet) jessie-backports support
+ * debian/rules, debian/control.in: remove python2/python-uno support
+ * debian/rules, debian/control.transitionals.in: remove wheezy->jessie
+ transitional packages
+ * debian/rules, debian/control.mozilla.in, patches/install-fixes.diff,
+ debian/scripts/gid2pkgdirs.sh: remove nsplugin stuff; removed
+ upstream...
+
+ * debian/rules:
+ - install tango_testing (if built, RELEASE_BUILD=n) into -tango
+ - add new coinor-libcoinutils-dev build-dependency
+ - bump boost build-dep to >= 1.55, build-depend on libpagemaker-dev
+ - remove deprecated "default" from IMAGES
+
+ -- Rene Engelhard <rene@debian.org> Sun, 19 Oct 2014 23:15:33 +0200
+
+libreoffice (1:4.3.3~rc2~git20141011-1) unstable; urgency=low
+
+ * new upstream snapshot
+ - disables sdremote per default (closes: #749770)
+
+ * debian/rules:
+ - enable coinmp, evoab2 and vlc also on arm64 now, now available
+ * debian/shlibs.override.libc, debian/rules:
+ - go sure and make the package depend on libc6/libc6.1/libc0.1 >= 2.19,
+ see https://bugs.freedesktop.org/show_bug.cgi?id=82229
+
+ -- Rene Engelhard <rene@debian.org> Sat, 11 Oct 2014 15:36:58 +0200
+
+libreoffice (1:4.3.2-2) unstable; urgency=medium
+
+ * debian/patches/sdk-use-sh-to-call-config-guess.diff: as name says;
+ backported from master to cope with non-+x-config.guess after
+ debian/patches/config-sub-guess-update.diff
+
+ * debian/rules:
+ - libnss3-1d-dbg -> libnss3-dbg in DBG_DBG_SUGGESTS
+ - enable coinmp (except on arm64 where it's BD-Uninstallable right now)
+
+ -- Rene Engelhard <rene@debian.org> Wed, 01 Oct 2014 21:37:10 +0200
+
+libreoffice (1:4.3.2-1) unstable; urgency=medium
+
+ * LibreOffice 4.3.2 final release (identical to rc2)
+
+ * upload to unstable
+
+ * debian/rules:
+ - remove arm64 internal vigra workaround again; now built
+ - remove obsolete libxml-parser-perl build-dep
+ - fix technical.dic install for kmr-Latn and debian-presentation.otp
+ install for kmr-Latn and ca-valencia so they end up in the correct
+ package and don't survive clean
+ - enable -kde on arm64; kde-runtime is now available
+
+ * merge from Ubuntu:
+ - adding build-essential to subsequentcheckbase should fix autopkgtest
+ issues
+
+ -- Rene Engelhard <rene@debian.org> Sun, 28 Sep 2014 19:41:26 +0200
+
+libreoffice (1:4.3.2~rc2-1) experimental; urgency=low
+
+ * new upstream release candidate
+ - fixes crashes with e.g. "(1)(2)(3)aa" and brainfuck code
+ (closes: #761226)
+
+ * debian/rules:
+ - bump libgltf build-dep to >= 0.0.1
+ * debian/control*in, debian/rules:
+ - improve kde,vlc,evo2 disabling on arm64, remove actually also
+ from Architecture: of those packages
+
+ -- Rene Engelhard <rene@debian.org> Fri, 19 Sep 2014 18:03:44 +0200
+
+libreoffice (1:4.3.1-2) unstable; urgency=medium
+
+ * debian/patches/ppc64el.diff: backport ppc64el port from upstream
+ libreoffice-4-3 branch
+ * debian/patches/config-sub-guess-update.diff, debian/patches/aarch64.diff:
+ backport aarch64/arm64 port from Fedora/upstream master
+ * debian/patches/ttranslation-merge-fix: add translation fix from upstream
+ master fixing lower case greek letters in math and uppercase "enumeration"
+ letters
+
+ * debian/rules, debian/vars.ppc64el: add ppc64el support and enable
+ * debian/rules, debian/vars.arm64: add arm64 support and enable
+ * debian/rules:
+ - help arm64 by working around (yet) BD-Uninstallable packages:
+ - disabling kde, vlc and evolution
+ - using internal vigra
+ - fix duplicate BOOST_MINVER setting causing a too lax build-dep
+ (>= 1.49.0-4 instead of >= 1.53) for gcc >= 4.8...
+ - fix system-npapi-headers setting, npapi is also needed for the
+ browser-plugins-inside-LO non-feature.
+
+ -- Rene Engelhard <rene@debian.org> Sun, 14 Sep 2014 23:28:45 +0200
+
+libreoffice (1:4.3.1-1) unstable; urgency=low
+
+ * new upstream release
+
+ * debian/patches/system-libgltf.diff: add patch to implement
+ --with-system-libgltf
+ * debian/patches/handle-collada-seperately.diff: as name says,
+ from upstream master
+
+ * debian/rules:
+ - add conditional for system-libgltf and add ENABLE/DISABLE_COLLADA
+ - enable gltf
+ * debian/python-uno.NEWS: retroactively add a entry about python-unos
+ removal in jessie+1 for 1:4.0.0-1
+
+ -- Rene Engelhard <rene@debian.org> Thu, 28 Aug 2014 10:03:11 -0700
+
+libreoffice (1:4.3.0-3) unstable; urgency=medium
+
+ * debian/libreoffice-base.postrm.in: missing \ and broken if check...
+ * debian/rules:
+ - USE_UCPP=y (closes: #748004)
+ - cleanup some OpenGL-related (build-)depends/compile options:
+ + unconditionally build-depend on libgl1-mesa-dev, libgl1-mesa-dev -
+ there is now more than OGLTrans needing it (and libglew-dev pulls it
+ in anyway)
+ + add OOO_GLTF_ARCHS as for OOO_OGLTRANS_ARCHS
+ - stop trying to split libavmediaogl.so into -avmedia-backend-opengl.
+ The (maybe) also used COLLADA libs get (statically) linked into
+ libavmedialo.so (core) anyway and the file types for "Insert 3D Model"
+ are handled in libsd (draw) anyway...
+ * debian/control.ogltrans.in: clarify a bit: s/transitions/slide &/
+
+ * merge from Ubuntu:
+ - suggest Caladea and Carlito from Writer for metric compatibility
+ - move ${java-common-depends} and ${java-runtime-depends} from Recommends
+ to Suggests for -writer
+ - move db drivers back from -base to -base-drivers, even when not building
+ firebird
+
+ -- Rene Engelhard <rene@debian.org> Mon, 18 Aug 2014 16:43:40 +0200
+
+libreoffice (1:4.3.0-2) unstable; urgency=low
+
+ * upload to unstable
+
+ * debian/patches/system-coinmp.diff: add patch to implement
+ --with-system-coinmp
+
+ * debian/rules:
+ - disable firebird on BE-archs as per upstream advice. Experimental
+ feature anyway - and fails the dbacccess_firebird_test test
+ - add conditional for system-coinmp, don't enable yet
+ * debian/libreoffice-sdbc-firebird.bug-script.in: add, as for -gtk3
+
+ -- Rene Engelhard <rene@debian.org> Wed, 06 Aug 2014 18:42:03 +0200
+
+libreoffice (1:4.3.0-1) experimental; urgency=low
+
+ * LibreOffice 4.3.0 release
+
+ * debian/libreoffice-base.postrm.in: fix again..
+
+ -- Rene Engelhard <rene@debian.org> Wed, 30 Jul 2014 08:03:29 +0200
+
+libreoffice (1:4.3.0~rc3-2) experimental; urgency=low
+
+ * Brown paper bag release
+
+ * debian/patches/handle-symlinks-to-icon-themes-correctly.diff: as name says;
+ from upstream
+
+ * debian/rules:
+ - fix typo so export DISABLE_CVE_TESTS=TRUE is actually set
+ - add symlinks for images*.zip again
+ - s/iceweasel-dev/npapi-sdk-dev/. Re-enable system-npapi-headers
+ - ENABLE_AVAHI=n (closes: #749770, #755309)
+ * debian/libreoffice-base.preinst.in: fix version check (closes: #755290)
+ * debian/libreoffice-base.postrm.in: add more checks for the
+ Access2Base diversions; add forgotten recommended abort-upgrade step
+ from policy manual
+
+ -- Rene Engelhard <rene@debian.org> Sat, 19 Jul 2014 09:57:19 +0200
+
+libreoffice (1:4.3.0~rc3-1) experimental; urgency=low
+
+ * new upstream release candidate
+ - packages galaxy icon as the icon scanner expects
+
+ * debian/rules, debian/control.in: revert images.zip Depends: workaround,
+ symlink still seems to be broken somehow, keep that
+ * debian/rules: remove unused (and buggy?) manual --with-images= when not
+ building kde and/or gtk. Obsolete as upstream builds with all images
+ per default anyway. Sync IMAGES with upstream configure.ac (split galaxy
+ and default)
+ * debian/rules: move new images_galaxy.zip into -galaxy
+ * debian/rules: export DISABLE_CVE_TESTS=TRUE on arm*,powerpc*/ppc*,s390*
+ to work around CppunitTest_filter_psd_test hang. Results are ignored
+ anyway, and if it was a real issue it would fail on i386/amd64, too
+ most probably
+ * debian/control.ure.in: add Breaks: libreoffice-core (<< 1:4.3.0~) to
+ uno-libs3 (closes: #754535)
+
+ -- Rene Engelhard <rene@debian.org> Thu, 17 Jul 2014 18:13:15 +0200
+
+libreoffice (1:4.3.0~rc2-1) experimental; urgency=low
+
+ * new upstream release candidate
+
+ * debian/rules:
+ - update webdav conditionals to specify --with-webdav=
+ * debian/vars.alpha: re-add.. (closes: #752284)
+ * debian/*.bug-script.in: remove
+ {pdfimport,presentation-minimizer,presenter-console} bug-scripts
+ as they are not extensions since long
+ * debian/rules:
+ - stop adding vars.$(DEB_HOST_ARCH) content into the maintscripts; unused
+ - don't uselessly rebuild sdext - it's not a extension anymore and thus in
+ "proper" langpacks
+ * debian/control.debug.in: suggest python-six (used by the gdb helpers)
+ * debian/scripts/gid2pkgdirs.sh:
+ install gid_Module_Filters (oox-drawingml-{adj-names,cs-presets})
+ * debian/control.in, debian/rules: specify -b in Vcs-Git:
+ * debian/control.in, debian/rules:
+ - stop moving images*zip to /usr/share and creating symlinks. hardlinks
+ would work but cross-directory hardlinks are frowned upon...
+ - WORKAROUND: make -common depend on all styles as otherwise right now
+ the icon selection breaks badly
+ (closes: #752531)
+
+ -- Rene Engelhard <rene@debian.org> Wed, 02 Jul 2014 07:39:39 +0200
+
+libreoffice (1:4.3.0~rc1-1) experimental; urgency=low
+
+ * new upstream release candidate
+
+ * debian/rules:
+ - use internal np_sdk because the "NPAPI plugins inside LO" part doesn't
+ build (uses a internal/external header mix even with
+ --with-system-npapi-headers) with iceweasel 30.0...
+ - actually add -Npython-uno if ENABLE_PYTHON2=n
+ - install pyuno.rdb for python-uno...
+ - rework python-uno build.
+ Don't build py2uno.so etc but build pyuno.so etc. from the start (as on
+ wheezy-backports where it works as python-only is the "default" build...)
+ also for the python2 build...
+ - remove liborbit2-dev build-dep, not needed since some time
+ * debian/control.in: fix override disparity, add Priority: extra for python-uno
+
+ -- Rene Engelhard <rene@debian.org> Tue, 17 Jun 2014 21:27:01 +0200
+
+libreoffice (1:4.3.0~beta2-2) experimental; urgency=low
+
+ * debian/rules:
+ - re-enable system-libwpd?, -libcdr, -libmspub, -libvisio, -libodfgen
+
+ -- Rene Engelhard <rene@debian.org> Fri, 06 Jun 2014 23:34:02 +0200
+
+libreoffice (1:4.3.0~beta2-1) experimental; urgency=low
+
+ * new upstream beta release
+ - fixes recalculation of cells when deleting a row/column (closes: #749847)
+ - fixes pyuno.so install in scp2 in system-python case (closes: #749998)
+
+ * external/tarballs: fix orcus and zlib again
+
+ * debian/patches/fix-system-glm.diff: backport patch to fix system-glm build
+ from master
+ * debian/patches/make-package-modules-not-suck.diff: fix Repository.mk
+ to install libvclplug_kde* (and kdefilepicker for KDE3) into -kde
+ (closes: #749751)
+ * debian/patches/fix-mysqlc-remote-connections.diff: as name says; from
+ upstream master (closes: #749592) and (hopefully) also closes: #745101
+ * debian/patches/javadoc-optional.diff: disable odk_javadoc tests when JAVADOC
+ is empty
+
+ * debian/rules:
+ - remove | belocs-locales-data alternative from some -l10n-*, removed in
+ 2009
+ - enable system-glm
+ - use internal boost on wheezy-backports, libcmis' internal (not
+ "standard",though) fails with wheezys boost
+ - actually specify --without-doxygen if PACKAGE_SDK_DOCS=n, as on
+ wheezy-backports
+ - fix python dependencies: run dh_python(2|3) as described in the manpage as
+ "Private libraries" to find the stuff in /usr/lib/libreoffice/program and
+ consider it for the dependencies (thus tighten it). Build-depend on
+ dh-python for wheezy-backports
+ Remove (now) unneeded manual hack
+ - cleanup python build-deps: PYTHON_FOR_BUILD is python3 in "standard"
+ builds, so build-depend on that (and on python only when we build python2)
+ - fix install targets for debuild -A:
+ + move gengal and librpt* move to install-common
+ + remove -wiki-publishers LICENSE in install-indep
+ - micro-optimization: use --without-javadoc for build-arch and
+ PACKAGE_SDK_DOCS=n
+ - temporarily disable system-libwpd?, -libcdr, -libmspub, -libvisio,
+ -libodfgen as the needed versions are only in NEW yet...
+ * debian/control.*.in:
+ - add Replaces: libreoffice-core (= 1:4.3.0~beta1-1) for above file move
+ fixes
+ * debian/shlibs.override.lib{wps,odfgen,mwaw}: fix dh_shlibdeps with those
+ libs internal as they are .so.X's (add empty shlibs entry)
+
+ -- Rene Engelhard <rene@debian.org> Fri, 06 Jun 2014 20:13:59 +0200
+
+libreoffice (1:4.3.0~beta1-1) experimental; urgency=low
+
+ * new upstream beta release
+ - fixes unconditional execution of VBA macros (CVE-2014-0247)
+
+ * debian/patches/odk-no-dot.diff: HAVE_DOT=NO in Doxyfiles to prevent loads
+ of error: " Problems running dot: exit code=127, command='dot'"
+ * debian/patches/disable-ftp-nohost-test.diff: remove, seems to work now
+
+ * debian/rules:
+ - move /usr/lib/libreoffice/share/basic/Access2Base from -common to -base,
+ as it clearly is Base-specific
+ * debian/control.in:
+ - add Replaces: for the Access2Base move
+ * debian/libreoffice-base.{preinst,postrm}.in: dpkg-divert dialog.xlc
+ and script.xlc... FIXME: Better, scalable solution..
+ * debian/control.help.in:
+ - make -help-* depend on -style-default (closes: #748434)
+
+ -- Rene Engelhard <rene@debian.org> Fri, 23 May 2014 07:31:12 +0200
+
+libreoffice (1:4.2.4-3) unstable; urgency=low
+
+ * debian/patches/i18npool-icu53.diff: add patches to work with ICU 53
+ * debian/patches/javadoc-generated-dynamic-package.diff: backport fro
+ master: don't use hardcoded filelist for SDK Javadocs (fixes build with
+ OpenJDK8) (closes: #748046)
+ * debian/patches/doxygen-1.8.7.diff: backport from upstream master, fix for
+ build with doxygen 1.8.7 (explicitly specify HTML output...)
+
+ * debian/rules:
+ - add a rm -f $(PKGDIR)-core/$(OODIR)/program/librpt* if
+ ENABLE_REPORTDESIGN=n. Looks hacky and probably is but this
+ (closes: #748075)
+ - enable the junit4 tests only on amd64/i386. slows down other builds and
+ might hang (results ignored on !i386/amd64 anyways.)
+ * debian/control.in:
+ - make -core conflict against -report-builder-bin for
+ kfreebsd-i386 kfreebsd-amd64
+
+ -- Rene Engelhard <rene@debian.org> Thu, 15 May 2014 13:54:55 +0200
+
+libreoffice (1:4.2.4-2) unstable; urgency=low
+
+ * debian/patches/series: re-enable gcj-safe-jni-h-include.diff, now for sid
+ it doesn't find jni.h (worked on falla. sigh.)
+
+ * debian/rules:
+ - actually add kfreebsd-* as GCJ_JDK_ARCHS again
+ - use gcc 4.9 on GCJ_JDK_ARCHS
+ - re-add ENABLE_TEST_PACKAGE=y
+ - use new fonts-* packages for indic fonts where not already done
+ (closes: #747692)
+
+ -- Rene Engelhard <rene@debian.org> Sat, 10 May 2014 18:52:17 +0200
+
+libreoffice (1:4.2.4-1) unstable; urgency=low
+
+ * LibreOffice 4.2.4 release (identical to rc2)
+
+ * upload to unstable
+
+ * debian/patches/fix-wizards.diff: fix fax, letter etc. wizards. backported
+ from libreoffice-4-2 branch...
+ * debian/patches/series: disable gcj-safe-jni-h-include.diff as it adds a
+ -I/usr/lib/gcc/$(DEB_HOST_ARCH)/4.9/include and that doesn't work at least
+ on kfreebsd-* with the current gcc 4.8 + gcc libs 4.9 + gcj 4.9 combo
+
+ -- Rene Engelhard <rene@debian.org> Wed, 07 May 2014 23:07:02 +0200
+
+libreoffice (1:4.2.4~rc2-1) experimental; urgency=low
+
+ * new upstream release candidate
+
+ * debian/patches/kde4-fixes.diff: add patch to "prevent KDE/Qt from
+ interfering with the session manager" from libreoffice-4-2. Remove obsolete
+ rest which was never applied anyway
+ * debian/patches/fix-kfileficker-crashes.diff: as name says, backported from
+ libreoffice-4-2, really - or again? - closes: #743221)
+
+ * debian/rules:
+ - fix HELP_L10N_VIRTUAL_VERSION
+ - re-enable system-libmwaw, -odfgen, -etonyek, -freehand, -libebook,
+ -libabw, -libeot
+ * debian/libreoffice-kde.NEWS:
+ - adapt version, the de-facto disabling of the File Picker only happens
+ now...
+
+ -- Rene Engelhard <rene@debian.org> Mon, 05 May 2014 19:04:05 +0200
+
+libreoffice (1:4.2.4~rc1-1) experimental; urgency=low
+
+ * new upstream release candidate
+
+ * debian/patches/hppa-call.diff: blind fix for hppa build
+ * debian/patches/no-restart-on-empty-buildid.diff: Backport from master;
+ Avoid soffice.bin restarting ad inf when version ini-file buildid is empty
+ - as when we're using the source tarballs...
+
+ * debian/rules, debian/vars.alpha: readd alpha, rumours say it works again
+ (doesn't really matter anyway, but...) (closes: #738157)
+ * debian/rules:
+ - re-enable make check and junit checks (disable flaky checkBookmarks, though
+ as per upstream advice)
+ * debian/control.in: s/connectvity/connectivity/ (closes: #745138)
+
+ -- Rene Engelhard <rene@debian.org> Fri, 18 Apr 2014 13:26:10 +0200
+
+libreoffice (1:4.2.3~rc3-1) experimental; urgency=low
+
+ * new upstream release candidate
+
+ * debian/patches/debian/patches/kde4-fixes-from-libreoffice-4-2.diff: as name
+ says. backport KDE4 fixes from libreoffice-4-2 branch:
+ e.g. "Add a runtime check and configure warning to disable KDE4
+ native file pickers, if the Qt4 glib dispatcher doesn't honor the
+ QEventLoop::ExcludeSocketNotifiers flag." (closes: #743221)
+ This effectively disables the KDE4 File Picker until Qt is fixed.
+
+ * debian/rules, debian/patches/build-connectivitytools.diff: fix
+ -subsequentcheckbase install
+ * debian/tests/*: sync with Ubuntu
+ * debian/rules, debian/lo-*ref.in: lo-common-ref -> lo-idl-ref...
+ * debian/lo-idl-ref.in: .. and fix Index:
+ * debian/control.in: break libreoffice-accessodf (<= 0.1-4) due to changed
+ MessageBox API
+
+ -- Rene Engelhard <rene@debian.org> Fri, 04 Apr 2014 15:14:53 +0200
+
+libreoffice (1:4.2.2~rc1-1) experimental; urgency=low
+
+ * new upstream release candidate
+
+ * debian/patches/sparc-asm-syntax-fix.diff: fix syntax in sparc bridges'
+ asm
+
+ * debian/control.mysql.in:
+ - suggest mariadb-server | mysql-server instead of just mysql-server
+
+ -- Rene Engelhard <rene@debian.org> Wed, 05 Mar 2014 18:10:12 +0100
+
+libreoffice (1:4.2.1-1) experimental; urgency=low
+
+ * new upstream release
+
+ * add src -> external/tarballs move already from 4.3 branch and create
+ new .orig-external tarball
+
+ * debian/rules:
+ - autodoc got replaced by doxygen. bump doxygen build-dep to needed
+ (>= 1.8.4-1) and disable packaging the SDK docs on wheezy-backports.
+ Run dh_doxygen
+ - build-depend on fonts-liberation when running the tests - the
+ sc_macros_tests VBA tests need Arial etc.-similar fonts
+ - add conditionals for new libs used: opencl, firebird, avahi-client,
+ vlc, libetonyek, libfreehand, libe-book, libeot, libabw; add necessary
+ updates/bumps
+ - temporarily disable cppunit _and_ junit4 (and logically also
+ autopkgtests) as it's flaky right now (hangs, ..)
+ - enable gd (scottish_gaelic) l10n
+ - temporarily use internal libmwaw, libodfgen, libetonyek, libfreehand,
+ libe-book, libabw until we have them (in a correct version) in Debian
+ * debian/control.in, debian/rules:
+ - split avmediagst.so into new -avmedia-backend-gstreamer and put new vlc
+ backend into a new -avmedia-backend-vcl. Recommend
+ -gstreamer | -avmedia and make metapackage depend on that, too
+ * debian/control*in, debian/rules, debian/libreoffice-base.NEWS:
+ - create new libreoffice-base-drivers - as name says. Move hsqldb and
+ firebird into own packages. Mention to people that they need
+ to install the new -sdbc-hsqldb
+
+ -- Rene Engelhard <rene@debian.org> Thu, 20 Feb 2014 17:23:17 +0100
+
+libreoffice (1:4.1.5-1) unstable; urgency=low
+
+ * new upstream release
+
+ * debian/patches/kde-yield-fix.diff: backport patch from LO 4.2.0 which
+ rewrites Qt4 based nested yield mutex locking (closes: #728987, #723087)
+
+ * debian/control.ure.in:
+ - add missing second a in "additional" (closes: #734512)
+ * debian/pom.*.xml.in, debian/*.poms, debian/rules:
+ - install maven stuff for juh,jurt,ridl and unoil (based on the poms from
+ http://bertfrees.github.io/snapshots/org/libreoffice/), thanks Sebastian
+ Humenda
+ * debian/tests/junit-subsequentcheck:
+ - temporarily disable the report builder here; Depends: generation for
+ -subsequentcheckbase somehow misses the needed build-deps now...?!
+
+ -- Rene Engelhard <rene@debian.org> Tue, 11 Feb 2014 15:36:06 +0100
+
+libreoffice (1:4.1.4-2) unstable; urgency=medium
+
+ * debian/patches/disable-ftp-nohost-test.diff: temporarly disable test
+ checking for connection to ftp://noname:nopasswd@nohost
+
+ * debian/rules:
+ - adapt dh_shlibdeps call for unordf to librdf0's multiarch usage
+ and build-depend on librdf0-dev (>= 1.0.16-2) (closes: #732770)
+
+ -- Rene Engelhard <rene@debian.org> Sun, 22 Dec 2013 23:41:15 +0100
+
+libreoffice (1:4.1.4-1) unstable; urgency=low
+
+ * new upstream release
+
+ * debian/patches/unopkg-SHARED-quote.diff: properly quote $SHARED, thanks
+ Anthony DeRobertis (closes: #731876)
+
+ * debian/rules:
+ - use new libbsh-java instead of bsh
+ * debian/shlibs.override.libvisio, debian/rules:
+ - bump libvisio dep to >= 0.0.18
+
+ -- Rene Engelhard <rene@debian.org> Sun, 15 Dec 2013 17:13:49 +0100
+
+libreoffice (1:4.1.3-1) unstable; urgency=low
+
+ * new upstream release
+
+ -- Rene Engelhard <rene@debian.org> Mon, 28 Oct 2013 20:32:54 +0100
+
+libreoffice (1:4.1.2-2) unstable; urgency=low
+
+ * debian/patches/fdo70196-no-with_traceback-for-python2.diff: don't use
+ .with_trackeback() in uno.py for python2 (closes: #725491)
+ * debian/patches/fix-system-bluez.diff: don't hardcode
+ -I$(SRCDIR)/bluez_bluetooth/inc in sd...
+ * debian/scripts/gid2pkgdirs.sh: use new gid for
+ ScriptProviderFor{JavaScript,Beanshell}.jar install
+ * debian/control.in:
+ - make -core depend on ure (>= 4.1.2~) (closes: #726909)
+
+ -- Rene Engelhard <rene@debian.org> Mon, 21 Oct 2013 13:34:20 +0200
+
+libreoffice (1:4.1.2-1) unstable; urgency=low
+
+ * new upstream release
+ - fixes debug logging for python3 in pythonscript.py (closes: #719941)
+
+ * debian/rules:
+ - fix curl conditional to really add libcurl4-<whatever>-dev builddep....
+ - disable graphite2 for armel and sparc for wheezy-backports
+ - build using gcj-jdk for kfreebsd-* on wheezy-backports
+ - build galleries only in build-indep, specify --with-galleries=no for
+ build-arch
+ * debian/patches/javadoc-optional.diff: add missing -DJAVADOC for scp2
+ to actually install java/refs...
+
+ -- Rene Engelhard <rene@debian.org> Tue, 01 Oct 2013 18:21:30 +0200
+
+libreoffice (1:4.1.1-1) unstable; urgency=low
+
+ * LibreOffice 4.1.1 final (identical to rc2)
+
+ * upload to unstable
+
+ * debian/patches/translation-updates-and-bugfixes.diff: as name says
+ from libreoffice-4-1-1 branch
+
+ * debian/rules:
+ - hardcode kfreebsd-* as openjdk arch until java-common setting it as
+ default is uploaded
+ - bump librdf0-dev build-dep to >= 1.0.16 to match reality; use
+ internal one on wheezy
+ - *really* build sysui with all languages again in build-arch so .desktop
+ get the translations
+
+ * merge from Ubuntu:
+ - remove uuid build-dep again, just needed for crosscompile msi
+ generation..
+
+ -- Rene Engelhard <rene@debian.org> Wed, 28 Aug 2013 09:59:50 +0200
+
+libreoffice (1:4.1.1~rc2-1) experimental; urgency=low
+
+ * new upstream release candidate
+ - fixes odg/odp font export (closes: #720192)
+
+ * debian/patches/neon-0.30.diff: fix FTBFS with neon 0.30.0
+ * debian/patches/qadevOOo-kfreebsd.diff: make qadevOOo not fail on
+ "gnu/kfreebsd"
+
+ * debian/rules:
+ - don't try to package up -subsequentcheckbase on gcj-using archs
+ as needed stuff isn't built there
+ - build-depend on uuid when running make check
+ - use openjdk also on kfreebsd-* (if not using default-jdk, otherwise that
+ is taken)
+ - "fix" to also ignore check failures on kfreebsd-{i386,amd64} (assuming
+ openjdk use)
+ - use default boost (1.54) again
+ - fix build with a multiarched boost, thanks Bjoern Michaelsen
+ * debian/libreoffice-dev-doc.links: add api -> docs symlink as Javadocs
+ should be in api/
+ * debian/libreoffice-script-provider-python.bug-script: remove, obsolete;
+ it's not an extension anymore
+
+ * merge from Ubuntu:
+ - debian/control.debug.in: s/python-uno/python3-uno/
+
+ -- Rene Engelhard <rene@debian.org> Wed, 21 Aug 2013 18:09:31 +0200
+
+libreoffice (1:4.1.1~rc1-1) experimental; urgency=low
+
+ * new upstream release candidate
+
+ * debian/rules:
+ - remove PYTHONPATH setting in soffice again and add
+ proper PYUNO_LOADER_PYTHONPATH=$ORIGIN to pythonloader.unorc,
+ thanks Fedora for the hint
+ - use default-jdk:
+ + update for java-common (>= 0.49). use java_defaults.mk to populate
+ OOO_JAVA_ARCHS/OOO_GCJ_(JDK_)ARCHS/OOO_OPENJDK_ARCHS
+ + clean up jre depends:
+ remove java-gcj-compat, prefer 7 over 6 except on ia64 (just 7)
+
+ -- Rene Engelhard <rene@debian.org> Tue, 06 Aug 2013 19:36:23 +0200
+
+libreoffice (1:4.1.0-4) unstable; urgency=low
+
+ * debian/rules:
+ - readd PYTHONPATH setting to soffice (as for unopkg)
+ as it's apparently still needed for the python script provider
+ to work (closes: #718403)
+
+ -- Rene Engelhard <rene@debian.org> Thu, 01 Aug 2013 18:12:02 +0200
+
+libreoffice (1:4.1.0-3) unstable; urgency=low
+
+ * debian/rules:
+ - use system-clucene again now that it's in sid
+ - move liblpsolve55.so into -core if used internally, as otherwise
+ -writer doesn't start without -calc installed..?!
+ * debian/libreoffice-common.postrm.in:
+ - add missed || true and use rm -f for javasettinsgunopkginstall.xml...
+ * debian/control.librelogo.in:
+ - apparently librelogo also needs -script-provider-python. Depend on
+ that instead of ${pyuno-depends}, thanks Bjoern Michaelsen
+
+ -- Rene Engelhard <rene@debian.org> Mon, 29 Jul 2013 13:28:36 +0200
+
+libreoffice (1:4.1.0-2) unstable; urgency=low
+
+ * debian/rules:
+ - fix uno.py, actually add starting / in LOs path (closes: #717930)
+ - add -Nlibreoffice-report-builder to jh_depends call for arch-indep
+ packages so it doesn't get added to -java-commons Depends
+ (closes: #717903
+ * debian/libreoffice-common.postrm.in:
+ - don't create /var/lib/libreoffice/share/config/ anymore and
+ remove it (and javaunopkginstall.xml if exists) on purge
+ (closes: #707933)
+
+ -- Rene Engelhard <rene@debian.org> Fri, 26 Jul 2013 20:25:16 +0200
+
+libreoffice (1:4.1.0-1) unstable; urgency=low
+
+ * new upstream release
+
+ * upload to unstable
+
+ * debian/rules:
+ - use internal clucene again; still no action from the clucene
+ maintainers...
+
+ -- Rene Engelhard <rene@debian.org> Wed, 24 Jul 2013 23:54:17 +0200
+
+libreoffice (1:4.1.0~rc3-1) experimental; urgency=low
+
+ * new upstream release candidate
+
+ -- Rene Engelhard <rene@debian.org> Wed, 17 Jul 2013 18:08:19 +0200
+
+libreoffice (1:4.1.0~rc2-2) experimental; urgency=low
+
+ * build with proper DEB_BUILD_OPTIONS so we actually get l10n
+ (closes: #715353)
+
+ * debian/rules:
+ - also filter out binutils so that the mips(el)-only build-dep doesn't
+ end up in -subsequentbases depends for everything
+ * debian/rules, debian/control.in:
+ - revert python3-uno -> python3.3-uno move now that python 3.3 is default
+ and prefer python3-uno (>= 4.0~) in dependencies again
+
+ -- Rene Engelhard <rene@debian.org> Tue, 08 Jul 2013 22:02:06 +0200
+
+libreoffice (1:4.1.0~rc2-1) experimental; urgency=low
+
+ * new upstream release candidate
+
+ * debian/patches/hack-interlck_sparc.diff: hack around sparc build failure,
+ #undef __sparcv8plus, __sparcv9 and __sparc_v9__ for interlck_sparc.o as
+ we otherwise miss osl_InterlockedCountSetV9...
+
+ * debian/rules:
+ - revert gcc 4.6 hack; armel built fine with g++-4.8, including checks,
+ so let's try with it everywhere.
+
+ -- Rene Engelhard <rene@debian.org> Tue, 02 Jul 2013 22:12:36 +0200
+
+libreoffice (1:4.1.0~rc1-1) experimental; urgency=low
+
+ * new upstream release candidate
+
+ * debian/patches/gcj-safe-jni-h-include.diff: fix -I placement...
+
+ * debian/control.sdk.in:
+ - also replace libreoffice-common (<< 4.1.0~beta1) (closes: #710767)
+ * debian/rules:
+ - enable kk (kazakh) l10n (closes: #700835)
+ - fix JAVA_MAINVER setting to actually set 6 for mips(el) and not
+ for ia64.
+ - also build-depend on libc6 (>= 2.17-6) on mips(el)
+ * debian/control:
+ - fix -dbg suggests: s/python/$(PYTHON)/. to suggest python3.3-dbg
+ - temporarily force gcc-4.6(!) (instead of build-conflicting
+ against gcc (>< 4:4.7~) on all archs except *i386/*amd64 until
+ all bridges are ported to the new gcc 4.7+ behaviour
+ - remove last buildd special-casing: build --enable-verbose everyhwere,
+ also on the buildds
+ * debian/patches/make-pyuno-work-for-system-wide-module-install.diff,
+ debian/patches/didable-sw-python.diff, debian/rules:
+ remove patch(es), add the lines to uno.oy during install ("stolen" from
+ Fedora)
+ Otherwise the python-based unit tests fail miserably (sw_python).
+
+ -- Rene Engelhard <rene@debian.org> Sun, 23 Jun 2013 18:07:00 +0200
+
+libreoffice (1:4.1.0~beta2-2) experimental; urgency=low
+
+ * debian/rules:
+ - revert back to using gcj on kfreebsd-*, OpenJDK7 doesn't work (hangs) or
+ still isn't available... (kfreebsd-i386)
+ - fix librpt* move, install path differs between binary-only and full
+ builds, sigh.
+
+ -- Rene Engelhard <rene@debian.org> Mon, 10 Jun 2013 15:31:07 +0200
+
+libreoffice (1:4.1.0~beta2-1) experimental; urgency=low
+
+ * debian/patches/show-the-startcenter.diff: as name says, remove
+ NoDisplay=true from startcenter.desktop
+
+ * new upstream beta release
+ - make distro-pack-install installs .desktop again (closes: #710591)
+
+ * rebuild against libharfbuzz0a/libharfbuzz-icu0 (closes: #710847)
+
+ * debian/control.sdk.in:
+ - update Replaces: for gengal move to -dev (closes: #710767)
+ * debian/rules:
+ - enable graphite2 on all archs now that it's fixed on armel/sparc
+
+ -- Rene Engelhard <rene@debian.org> Wed, 05 Jun 2013 18:52:33 +0200
+
+libreoffice (1:4.1.0~beta1-2) experimental; urgency=low
+
+ * debian/patches/javadoc-optional.diff: make javadoc optional and disable
+ it on gjdoc builds, they miss files we expect.
+
+ * debian/rules:
+ - use OpenJDK 7 on everything including kfreebsd-* - except on
+ mips(el). Stay with 6 there.
+ * debian/control:
+ - regenerate; uses libservlet3.0-java instead of libservlet2.5-java now
+
+ -- Rene Engelhard <rene@debian.org> Tue, 28 May 2013 20:43:19 +0200
+
+libreoffice (1:4.1.0~beta1-1) experimental; urgency=low
+
+ * new upstream beta release
+
+ * debian/rules, control.sdk.in:
+ - dmake finally gone
+ * debian/rules:
+ - add new conditionals: libmwaw, libodfgen, harfbuzz, mariadb
+ (use MySQL instead of MariaDB, though as long as we need mysqlcppconn
+ anyway)
+ - build with explicit --enable-python=system
+ - enable the tightended binutils build-dep, we're in experimental anyway
+ and need orcus and mdds from experimental, too
+ - enable system-clucene again
+ - temporarily disable cleandupes for -l10n-* as it's broken right nwo
+ * debian/uno-libs3.symbols: update
+
+ -- Rene Engelhard <rene@debian.org> Thu, 23 May 2013 10:15:45 +0200
+
+libreoffice (1:4.0.3-3) unstable; urgency=low
+
+ * debian/patches/uno-executables-link-to-xmlreader.diff: fix
+ sp2bv/regcomp/regsingleton/uno-skeletonmaker build on
+ mips(el) by linking explicitly with libxmlreader.so with sids gcc without
+ experimentals binutils.
+
+ * debian/control.in, debian/rules:
+ - depend on fonts-dejavu instead of ttf-dejavu (closes: #708062)
+ - prepare build-depending on experimentals binutils on mips(el), thanks
+ Aurelien Jarno for the hint
+ * debian/copyright:
+ - mention swext/mediawiki/src/filter/odt2mediawiki.xsl copyright/license
+
+ -- Rene Engelhard <rene@debian.org> Mon, 20 May 2013 18:19:56 +0200
+
+libreoffice (1:4.0.3-2) unstable; urgency=low
+
+ * debian/control.in:
+ - add Breaks: libjaxe-java (<= 3.5-2) for saxon9.jar disappearing from
+ -java-common
+ - remove -core Depends: for -style and add Enhances: libreoffice-core
+ for them. Apps should depend on their data files but data files not on
+ the apps
+ * debian/rules:
+ - build with libboost1.53-dev to work around mdds-using sc unit tests
+ failing to build with sids new gcc-4.7
+ - move libxmlreader.so (although not versioned...) and libreg.so.3 (although
+ private...) and it's dependency libstore.so.3 into uno-libs3 as
+ libuno_cppuhelpergcc3.so.3 now links to it (breaks ure->uno-libs3->ure
+ dependency loop)
+
+ (hopefully breaking those two dependency loops closes: #705158, thanks
+ David Kalnischkies - see also #707578)
+
+ -- Rene Engelhard <rene@debian.org> Sat, 11 May 2013 01:20:03 +0200
+
+libreoffice (1:4.0.3-1) unstable; urgency=low
+
+ * LibreOffice 4.0.3 final (identical to rc3)
+
+ * upload to unstable
+
+ -- Rene Engelhard <rene@debian.org> Sun, 05 May 2013 17:55:51 +0200
+
+libreoffice (1:4.0.3~rc3-1) experimental; urgency=low
+
+ * new upstream release candidate
+
+ * debian/control.in:
+ - break zotero-libreoffice-integration (<= 3.0.11.1-26-g08fb709-1), see
+ #705998)
+ - add (commented out for now - as long we are python3.3-uno anyways) the
+ missing Provides: ${python3:Provides}
+ * debian/uno-libs3.symbols: update and cleanup - use (symver) instead
+ of *@...
+ * debian/copyright: mention gbuild (and its makefiles) are MPL-2.0
+
+ -- Rene Engelhard <rene@debian.org> Thu, 02 May 2013 21:06:26 +0200
+
+libreoffice (1:4.0.3~rc1-3) experimental; urgency=low
+
+ * The "the third time is a charm" release
+ * fix check rule again: move - where it actually works; also ignore
+ test failures on s390 and powerpc and simplify logic
+
+ -- Rene Engelhard <rene@debian.org> Sun, 21 Apr 2013 17:14:49 +0200
+
+libreoffice (1:4.0.3~rc1-2) experimental; urgency=low
+
+ * brown paper bag release
+ * fix make -k check || make check rule
+
+ -- Rene Engelhard <rene@debian.org> Fri, 19 Apr 2013 17:47:59 +0200
+
+libreoffice (1:4.0.3~rc1-1) experimental; urgency=low
+
+ * new upstream release candidate
+
+ * debian/control.librelogo.in:
+ - actually use ${pyuno-depends}...
+ * debian/rules:
+ - enable liblangtag on arm*, too now that it's available there
+ - Use internal clucene until clucene 2.x is in unstable. Remove
+ arm* hack for internal clucene as it seems to work in the
+ meanwhile
+ - explicitly set JDK=openjdk again until default-jdk (>= 1:1.7-48)
+ is in unstable (needed for ia64 defaulting to java7)
+ - run make -k check || make check (try to work around spurious failures) and
+ ignore test suite failures (on the second run) on armhf, ia64, sparc,
+ mips(el)
+
+ -- Rene Engelhard <rene@debian.org> Wed, 10 Apr 2013 23:15:27 +0200
+
+libreoffice (1:4.0.2~rc2-2) experimental; urgency=low
+
+ * debian/patches/boost-1.53.diff: backport buildfixes for boost 1.53
+ from master
+
+ * debian/rules:
+ - build-depend on libboost-dev 1.53 when building with gcc 4.8,
+ see 701310/695826 (closes: #701310)
+ - always build -dbg package if we build -subsequentcheckbase, as the
+ test depends on -dbg
+ - build against "new" libhsqldb1.8.0-java
+ - we need to build-depend on python3 even when building python3.3-uno
+ as it contains dh_python3...
+ * debian/control.in:
+ - add Breaks: on libreoffice-writer2latex/libreoffice-writer2xhtml
+ (<< 1.0.2-9) due to LO 4.0 API change
+
+ -- Rene Engelhard <rene@debian.org> Tue, 02 Apr 2013 00:13:23 +0200
+
+libreoffice (1:4.0.2~rc2-1) experimental; urgency=low
+
+ * new upstream release candidate
+ - keeps migrating more user extensions after one failed (closes: #703486)
+
+ [ Rene Engelhard ]
+ * src/17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip: remove
+ lib/servlet.jar..
+ * debian/patches/fix-internal-hsqldb-build.diff: ... and fix internal
+ hsqldb build to use /usr/share/java/servlet-api-2.5.jar
+
+ * merge from Ubuntu:
+ - reverting l10n conflicts as they create an unfortunate mess in image and
+ installer creation (related: lp#957589)
+ * debian/rules, debian/control.in:
+ - temporarily rename python3-uno to python3.3-uno to be able to upload
+ this to unstable without waiting for a python3-defaults transition.
+ * debian/control.in:
+ - mention that python-uno is for old python2 compatibility and move to
+ oldlibs
+ - make -base recommend -writer (because forms in base need it), thanks#
+ Lionel Elie Mamane
+ - make -common break all pre-3.6 extensions (closes: #686666)
+ - revert make -help-en-us break "the others" to work around 682838
+ as it breaks the installer (reopens: #682838)
+ * debian/control.libreloho.in:
+ - librelogo needs -writer (see
+ http://lists.freedesktop.org/archives/libreoffice/2013-March/048222.html)
+
+ [ Bjoern Michaelsen ]
+ * squash and cherry-pick junit autopkgtests from Ubuntu
+
+ -- Rene Engelhard <rene@debian.org> Tue, 26 Mar 2013 14:01:34 +0100
+
+libreoffice (1:4.0.2~rc1-1) experimental; urgency=low
+
+ * new upstream release candidate
+
+ * merge from Ubuntu:
+ - add transitional for -presenter-console
+ - silent some lintian noise for unversioned breaks:
+ + promote Breaks to Conflicts against -binfilter as it will never return
+ + remove Breaks against -style-industrial which is long gone
+ + promote Breaks to Conflicts from langpacks against en-US
+ - remove all traces of -so52
+ * add patches from Benjamin Drung:
+ - Apply fonts package renames from ttf-foo to fonts-foo.
+ - Update machine-readable copyright Format to 1.0
+ - Standards-Version to 3.9.4 (no changes needed).
+ * debian/control.help.in:
+ - remove obsolete ${java-common-depends} Recommends
+ * debian/control*.in, debian/rules:
+ - stop building extra -emailmerge as stuff in -common (wizards) now
+ need pyuno anyway.
+
+ -- Rene Engelhard <rene@debian.org> Wed, 13 Mar 2013 02:07:52 +0100
+
+libreoffice (1:4.0.1~rc1-2) experimental; urgency=low
+
+ * debian/rules:
+ - add correct build-dep on cpp-4.7...
+
+ -- Rene Engelhard <rene@debian.org> Sun, 24 Feb 2013 09:04:59 +0100
+
+libreoffice (1:4.0.1~rc1-1) experimental; urgency=low
+
+ * new upstream release candidate
+ - removes "Impress Remote" menu option unless in experimental mode.
+ (closes: #700728)
+
+ * debian/patches/debian-hardened-buildflags.diff: only set CPPFLAGS here now
+
+ * debian/rules:
+ - use /usr/share/dpkg/buildflags.mk for C(XX)FLAGS, LDFLAGS now that LO
+ honours those from the env in configure. Remove manual passing to make.
+ - conditionalize pyuno build/install more so that we can build only
+ python-uno on wheezy-backports. Bit obscure, but...
+ - explicitly use cpp-4.7 as cpp 4.8 would fail
+ - use $(OOVER) instead of hardcoded 3.6 for the README...
+
+ -- Rene Engelhard <rene@debian.org> Tue, 19 Feb 2013 18:46:05 +0100
+
+libreoffice (1:4.0.0-1) experimental; urgency=low
+
+ * new upstream release
+ - contains new driver for mozab (mork). Automatically enabled thus
+ this closes: #321099
+ - now has a basic(!) gnumeric import in experimental mode
+ (closes: #595708)
+ - supports IFERROR (closes: #662798)
+
+ * debian/control.in:
+ - make -impress suggest bluez (for impress remote control)
+ - make libreoffice depend on / -common recommend python(3)-uno for the
+ new python-based wizards
+ * debian/rules:
+ - add new conditionals for new dependencies: liblangtag, liborcus,
+ libmspub, (u)cpp; remove them for gone saxon, librsvg, db
+ - enable sdrmeote on all archs; b-d on libbluetooth-dev on where we
+ enable bluetooth (!kfreebsd-*)
+ - use gstreamer1.0
+ - use --disable-dependency-tracking instead of gb_FULLDEPS= and
+ --enable-hardlink-deliver instead of gb_Deliver_HARDLINK=T
+ - python3 is default now; reverse logic (use python3 per default and
+ and build python2 in a extra step)
+ - add option to build with --enable-mergelibs, not yet enabled.
+ - remove stlport hacks for i386 - not used/needed anymore upstream
+ * debian/uno-libs3.symbols: update
+ * debian/control*.in, debian/rules, debian/scripts/gid2pkgdirs.sh: binfilter
+ is gone. yay.
+ * debian/*.mime:
+ - don't use obsolete -no-oosplash anymore, thanks Matthijs Kooijman
+ for the patch (closes: #698845)
+ * debian/copyright: update
+ * debian/control.mozilla.in: OOo -> "old OOo and OpenDocument"
+ (closes: #699708)
+
+ -- Rene Engelhard <rene@debian.org> Thu, 07 Feb 2013 00:53:51 +0100
+
+libreoffice (1:3.6.5-1) experimental; urgency=low
+
+ * LibreOffice 3.6.5 release (idential to rc2)
+
+ * debian/rules:
+ - stop using lsb_release -cs, parse dpkg-parsechangelog instead.
+ avoids the base-files issue.
+ * debian/libreoffice-common.triggers.in, debian/rules:
+ - fix trigger to actually be in effect
+ - enable tr,vi help, fully translated according to
+ https://gerrit.libreoffice.org/1895
+
+ -- Rene Engelhard <rene@debian.org> Mon, 28 Jan 2013 21:29:19 +0100
+
+libreoffice (1:3.6.5~rc2-1) experimental; urgency=low
+
+ * new upstream release candidate
+ - fixes --view (closes: #697723)
+
+ * debian/rules:
+ - make -help-en-us break "the others" to work around 682838
+ (closes: #682838)
+ - temporarily remove wheezy backport conditionals as base-files would make
+ us think we should build for wheezy right now
+ - fix gdb helper installation; use upstreams install-gdb-printers
+ * debian/rules, debian/*.triggers.in, debian/libreoffice-common.postinst.in:
+ - re-introduce @OODIR@/share/extensions trigger as we still need to tell
+ LO to sync if a subdir inside share/extension *changes*, but "touch" is
+ enough now
+
+ -- Rene Engelhard <rene@debian.org> Wed, 16 Jan 2013 14:25:29 +0100
+
+libreoffice (1:3.6.4-1) experimental; urgency=low
+
+ * LibreOffice 3.6.4 release (identical to rc3)
+
+ -- Rene Engelhard <rene@debian.org> Tue, 04 Dec 2012 23:23:10 +0100
+
+libreoffice (1:3.6.4~rc3-1) experimental; urgency=low
+
+ * new upstream release candidate
+
+ * debian/patches/poppler_0_21_x.diff: moove from poppler_0_21_0.diff; fix
+ build with 0.21.1 again
+ * debian/patches/bigendian-utext-mixup.diff: backport from libreoffice-3-6
+ branch to fix ooxml regression test failure
+
+ * debian/rules:
+ - don't rely on dictionaries submodule. unused.
+ * debian/control.in:
+ - remove obsolete Pre-Depends on ure (>= 1.5.1+OOo3.1.1-15)
+ (by the way closes: #693626)
+ * debian/control.mozilla.in, debian/rules: rename
+ mozilla-libreoffice -> browser-plugin-libreoffice
+
+ -- Rene Engelhard <rene@debian.org> Wed, 28 Nov 2012 18:40:27 +0100
+
+libreoffice (1:3.6.4~rc1-1) experimental; urgency=low
+
+ * new upstream release candidate
+
+ * debian/patches/poppler_0_21_0.diff: fix build of sdext with poppler
+ 0.21.0
+
+ * merge from Ubuntu:
+ - fix quoting of PYTHON_{CFLAGS,LIBS} (Matthias Klose)
+ * debian/rules:
+ - mention CVE-2012-4233 in 1:3.6.1~rc2-1's changelog
+ - re-enable mozilla plugin
+ - actually make python version-switching work
+ * debian/control.in:
+ - recommend fonts-liberation instead of ttf-liberation
+ (closes: #691949)
+ * debian/libreoffice-core.bug-control:
+ - report-with: fonts-opensymbol instead of transitional ttf-opensymbol
+ * debian/libreoffice-{core,gtk3}.bug-script.in:
+ - find out whether we have Experimental features enabled
+
+ -- Rene Engelhard <rene@debian.org> Fri, 16 Nov 2012 22:20:37 +0100
+
+libreoffice (1:3.6.3~rc2-1) experimental; urgency=low
+
+ * new upstream release candidate
+
+ * debian/patches/soffice-bashisms.diff: fix bashism in soffice for
+ valgrinding (closes: #690717)
+ * debian/patches/he-lucida-sans-unicode.diff: Update default Hebrew font
+ from Lucida Sans to Lucida Sans Unicode, thanks Lior Kaplan
+ * debian/patches/ure-no-etc-opt-ure.diff: exclude /etc/opt/ure from ure
+ search paths (closes: #677601)
+
+ * debian/rules:
+ - fix upstream README(_en-US) install for binary-indep packages
+ - fix typo in finding gcj dir detection, thanks Rico Tzschichholz
+ - don't add version from librsvg*.shlibs (as for libebook) as we
+ dlopen() it anyway.
+
+ -- Rene Engelhard <rene@debian.org> Fri, 26 Oct 2012 15:47:02 +0200
+
+libreoffice (1:3.6.3~rc1-1) experimental; urgency=low
+
+ * new upstream release candidate
+
+ [ Rene Engelhard ]
+ * debian/patches/sensible-lomua.diff: add patch from Dave Steele to
+ make senddoc.sh default to standard mailto handler (closes: #687228)
+
+ * debian/rules:
+ - try again with gcc 4.6 for mips* since apparently testtools/smoketest
+ now work..
+ - document truth and remove alpha from supported architectures
+ - exclude .desktop from dh_link call to get absolute symlinks
+ (closes: #690336)
+
+ [ Bjoern Michaelsen ]
+ * make metapackage explicit in short description
+
+ -- Rene Engelhard <rene@debian.org> Sun, 14 Oct 2012 17:07:23 +0200
+
+libreoffice (1:3.6.2~rc1-1) experimental; urgency=low
+
+ * new upstream release candidate
+ - waits for InternalIPC::ProcessingDone in oosplash (closes: #681185)
+
+ * debian/patches/disable-flaky-unoapi-tests.diff: disable flaky
+ toolkit and sc.ScAccessible* unoapi tests
+ * debian/patches/gcj-safe-jni-h-include.diff: add missing -I...
+ * debian/control.in:
+ - make -core break libreoffice-common (<< 1:3.6.1~rc1) as "unopkg sync"
+ ran in the triggers is gone (closes: #686666)
+ * debian/rules:
+ - fix native-jars dependeny to depend on install-common ...
+ - ... but as this doesn't build then disable it for now...
+ - hack around broken "*" directory in debian/tmp/pkg on kfreebsd-*
+ extremely slowing down the install target...
+ - use xz compression for all binary packages (closes: #687041)
+
+ -- Rene Engelhard <rene@debian.org> Fri, 14 Sep 2012 11:01:04 +0200
+
+libreoffice (1:3.6.1-1) experimental; urgency=low
+
+ * LibreOffice 3.6.1 final release (identical to rc2)
+
+ * debian/rules:
+ - work around possible failure install-common target with missing
+ ca-XV .dirs/.install...
+
+ -- Rene Engelhard <rene@debian.org> Mon, 27 Aug 2012 18:47:58 +0200
+
+libreoffice (1:3.6.1~rc2-1) experimental; urgency=low
+
+ * new upstream release candidate
+ - fixes CVE-2012-4233 / HTB23106
+
+ * debian/patches/debian-debug.diff: patch new gb_SYMBOLS in unxgcc.mk to
+ make ENABLE_SYMBOLS=SMALL (-g1) working again..
+ * debian/patches/debian/patches/kfrebsd-add-missing-P_SEP.diff: fix Java build
+ on kfreebsd (non-broken CLASSPATH)
+
+ * src/2ab442d169156f34c379c968f3f482dd-zlib-1.2.7.tar.bz2: remove
+ zlib-1.2.7/doc/rfc195{0,1,2}.txt (closes: #685133)
+
+ * debian/rules:
+ - save some space/build time: build only with en-US in build-arch first
+ and build sdext/mysqlc (localized help/descriptions) manually with all
+ languages after make check; remove buildd special-casing for
+ languages
+ * debian/control.fonts.in: remove ttf-opensymbol transitional package
+ * debian/control.in:
+ - remove obsolete sharutils, po-debconf and wget | curl build-deps
+
+ -- Rene Engelhard <rene@debian.org> Thu, 23 Aug 2012 22:34:27 +0200
+
+libreoffice (1:3.6.1~rc1-2) experimental; urgency=low
+
+ * debian/rules:
+ - revert "build-depend against libpng-dev instead of libpng12-dev"
+ as it breaks on the buildds which install the libpng from experimental
+ (fails GTK3 pkg-config test) (reopens: #662411)
+ - fix build and install targets to prevent build-arch be called under
+ fakeroot, thanks rleigh for the hints
+
+ -- Rene Engelhard <rene@debian.org> Sat, 18 Aug 2012 11:09:34 +0200
+
+libreoffice (1:3.6.1~rc1-1) experimental; urgency=low
+
+ * new upstream release candidate
+ - fixes splashscreen location in multi-monitor setups
+ (closes: #657444, #431473)
+ - caches fontconfig font substitutions (closes: #631308)
+ - fixes dot handling in KDE File Picker (closes: #645946)
+
+ * debian/patches/build-dont-run-checks.diff: as name says
+
+ * debian/rules:
+ - new conditionals for: doxygen, libcdr, liblcms2
+ - remove liblucene2-java stuff; now clucene is used
+ - build-depend on libxml2-utils, xmllint now needed
+ - build-depend on liboost-date-time-date, we now link to boost...
+ - build-depend against libpng-dev instead of libpng12-dev
+ (closes: #662411)
+ - remove squeeze-backports stuff, add wheezy-backports
+ - install upstreams README(_en-US) (closes: #676340)
+ - clean up some warnings:
+ + readd /usr/lib/`dpkg-architecture -qDEB_HOST_MULTIARCH`/libfakeroot
+ to LD_LIBRARY_PATH for dh_shlibdeps
+ + don't run jh_depends -i/-a, use -p for each package, otherwise it
+ gets confused by help.jar/s*.jar which is just zips, no "real" jar
+ - switch to default-jdk, b-d on default-jdk (>= 1:1.7-48) on ia64 and
+ check for "OpenJDK" in tests yes/no clause for JDK=default
+ - add ENABLE_HELP conditional now that we have --without-help; also
+ add the new --disable-extensions and --disable-database-connectivity to
+ their respective places
+ - split build into build-{arch,indep}
+ - use generic python3.pc instead of pythonX.Y(mu).pc
+ * debian/uno-libs3.symbols: update
+ * debian/libreoffice-common.links.in:
+ - s/libreofficeoasis/libreoffice-oasis/, thanks Jakub Wilk
+ (closes: #683784)
+ * debian/shell-lib-extensions.sh, debian/rules,
+ debian/libreoffice-common.lintian.overrides.in: unopkg sync not
+ necessary anymore; remove. javasettingsunopkginstall.xml also gone
+ * debian/*.p*.in, debian/*.triggers.in: remove obsolete triggers and
+ sync_extensions calls (closes: #677146)
+
+ -- Rene Engelhard <rene@debian.org> Wed, 15 Aug 2012 13:52:20 +0200
+
+libreoffice (1:3.5.4-7) unstable; urgency=high
+
+ * debian/patches/CVE-2012-2665*.diff: fix CVE-2012-2665
+ ("Multiple heap-based buffer overflows in the XML manifest
+ encryption handling code")
+
+ * debian/control.in: drop "| ttf-opensymbol" from -core and -math depends
+ (closes: #682462)
+
+ -- Rene Engelhard <rene@debian.org> Wed, 01 Aug 2012 10:41:17 +0200
+
+libreoffice (1:3.5.4-6) unstable; urgency=medium
+
+ * debian/patches/CVE-2012-2334-clip-max-entries.diff: add additional
+ fix for CVE-2012-2334 from Florian Weimer which we missed to apply
+ so far..
+
+ * debian/templates/soffice-template.desktop.in: fix Icon= (remove
+ obsolete 3), thanks Miros◈aw Zalewski (closes: #678313)
+ * debian/control.in: make -filter-mobiledev Break libreoffice-core
+ (<< 1:3.5~) (closes: #633929)
+ * debian/control.mediawiki.in: add missing epoch to -core dependency
+ * debian/rules: re-enable -gcj
+
+ -- Rene Engelhard <rene@debian.org> Tue, 17 Jul 2012 20:21:31 +0200
+
+libreoffice (1:3.5.4-5) unstable; urgency=low
+
+ * debian/patches/evolution-3.4.diff: as name says,
+ add libebook-1.2.so.13
+
+ * debian/python{,3}-uno.NEWS: add missing )
+ * debian/*.bug-script: add -draw to libreoffice report-with:;
+ report libreoffice-script-provider-python with python(3)-uno
+
+ -- Rene Engelhard <rene@debian.org> Wed, 20 Jun 2012 00:43:59 +0200
+
+libreoffice (1:3.5.4-4) unstable; urgency=high
+
+ * debian/patches/make-shortcuts-in-menus-localized-again.diff:
+ backport from libreoffice-3-5; as name says, regression from 3.5.3
+ * debian/patches/fix-legacy-report-opening.diff: backport fixes from
+ libreoffice-3-5; as name says
+ * debian/patches/s390-remove-fsigned-char.diff: move ...
+ * debian/patches/fix-signed-char-mess.diff: ... here and add same
+ fixes for gbuild modules - and m68k ;)
+
+ * debian/rules:
+ - re-enable Base on armel/armhf; apparently also fixed by
+ yyinput-fix-for-unsigned-char.diff
+ - remove i386/amd64 special-casing, run junit checks on all archs
+ - remove obsolete rm -rf preventing -report-builders contents getting
+ packaged, thanks Björn Michaelsen for pointing out the empty package
+ * debian/changelog:
+ - mention recent security fixes in respective changelog entries
+
+ -- Rene Engelhard <rene@debian.org> Mon, 11 Jun 2012 22:36:47 +0200
+
+libreoffice (1:3.5.4-3) unstable; urgency=medium
+
+ * debian/patches/ppc-readd-fsigned-char.diff: sigh. actually breaks.
+ revert.
+ * debian/patches/s390-remove-fsigned-char.diff: remove -fsigned-char
+ to fix smoketest
+
+ * debian/rules:
+ - re-enable extensions on s390(x)
+ - actually enable evolution on s390x - and don't ship an empty package
+ if -evolution is disabled
+
+ -- Rene Engelhard <rene@debian.org> Wed, 06 Jun 2012 16:43:09 +0200
+
+libreoffice (1:3.5.4-2) unstable; urgency=medium
+
+ * debian/patches/ppc-readd-fsigned-char.diff: backport
+ 7ef203d2bf72f7d96fd10d1297af06e82550a1c4 from master, as name says
+
+ * debian/rules:
+ - sigh. fix $(error clause in gcj builds
+
+ -- Rene Engelhard <rene@debian.org> Tue, 05 Jun 2012 15:13:17 +0200
+
+libreoffice (1:3.5.4-1) unstable; urgency=medium
+
+ * LibreOffice 3.5.4 final (identical to rc2)
+
+ * upload to unstable
+
+ * debian/patches/tests-fix-build-with-jdk7.diff: backport root fix
+ 7e6a58014864ddafe534ed7a08ecca75fa4e4860 from libreoffice-3-5;
+ remove other parts ...
+ * debian/patches/jdk7.diff: ... and move here. Also add internal hsqldb
+ buildfix.
+ * debian/patches/fix-Test-BigPtrArray-on-64bit-bigendian.diff: backport test
+ fix from Fedora, should fix s390x (closes: #666746), thanks Aurelien
+ Jarno
+ * debian/patches/yyinput-fix-for-unsigned-char.diff: add from Fedora;
+ Fixes database opening tables on ppc if -fsigned-char is removed
+
+ * debian/rules:
+ - exclude s390(x) from OOO_REPORTDESIGN_ARCH to not make "libreoffice"
+ depend on -report-builder-bin there as extensions (and also
+ -report-builder-bin) are disabled there.
+ - re-enable Base on powerpc et al. (closes: #667047)
+
+ * merge from Ubuntu:
+ - add control tags as per 'firefox distro add-on support'-spec
+
+ -- Rene Engelhard <rene@debian.org> Mon, 04 Jun 2012 13:16:25 +0200
+
+libreoffice (1:3.5.4~rc2-1) experimental; urgency=low
+
+ * new upstream release candidate
+
+ * debian/rules:
+ - really disable -gcj package completely (not just empty package)
+ - surrender and disable mozilla plugin. broken again for whatever
+ non-LO reason.
+
+ -- Rene Engelhard <rene@debian.org> Sat, 26 May 2012 10:36:27 +0200
+
+libreoffice (1:3.5.4~rc1-1) experimental; urgency=low
+
+ * new upstream release candidate
+
+ -- Rene Engelhard <rene@debian.org> Thu, 17 May 2012 23:24:57 +0200
+
+libreoffice (1:3.5.3-3) unstable; urgency=low
+
+ [ Rene Engelhard ]
+ * debian/patches/ignore-sc_cellrangesbase-fails.diff:
+ make .IGNORE actually work
+ * debian/patches/wiki-publisher-add-missing-xsls.diff:
+ add missing .xsls for -wiki-publisher
+ * debian/rules:
+ - (temporarily) stop building -gcj even on kfreebsd-* to be able to get into
+ testing (otherwise gcc-defaults is blocking...)
+ * debian/mysqlcppconn-mysqlclient-SONAME.diff: move ...
+ * debian/mysqlcppconn-libmysqlclient-SONAME.diff: ... and dynamically determine
+ libmysqlclient_r.so.XX in internal mysqlcppconn
+
+ [ Andreas Beckmann ]
+ * debian/shell-lib-extension.sh: set HOME to $INSTDIR also for
+ unopkg list --bundled (Closes: #669271). Most probably also
+ closes: #619263 as $HOME isn't touched anymore.
+
+ -- Rene Engelhard <rene@debian.org> Tue, 15 May 2012 00:22:05 +0200
+
+libreoffice (1:3.5.3-2) unstable; urgency=low
+
+ * upload to unstable
+
+ * debian/patches/mozilla-profile-absolute-paths.diff: add patch from
+ libreoffice-3-5 branch to respect absolute paths for mozilla profile
+ (closes: #659733)
+ * debian/patches/more-robust-nss-initialization.diff: add patch from
+ master to fall back to without profile if path is invalid or profile
+ does not exist
+ * debian/patches/fix-bean.diff: add patch from master to fix bean after
+ switching to gbuild
+
+ -- Rene Engelhard <rene@debian.org> Mon, 07 May 2012 19:11:04 +0200
+
+libreoffice (1:3.5.3-1) experimental; urgency=low
+
+ * LibreOffice 3.5.3 final (identical to rc2)
+
+ [ Rene Engelhard ]
+ * debian/patches/ignore-sc_cellrangesbase-fails.diff: as it says; gives
+ OK but (sometimes!) segfaults after it.
+ * debian/patches/smoketest-disable-db-insert-delete-seek-tests.diff: move ...
+ * debian/patches/disable-db-tests.diff: ... here and also disable dbaccess
+ complex patch if Base disabled
+
+ * debian/rules:
+ - guard libdbalo.so mv with feq PACKAGE_BASE=y...
+ - use make -k check
+
+ [ Björn Michaelsen ]
+ * add missing mimetypes to impress.desktop (LP: #904212)
+
+ -- Rene Engelhard <rene@debian.org> Wed, 02 May 2012 00:45:13 +0200
+
+libreoffice (1:3.5.3~rc2-1) experimental; urgency=low
+
+ * new upstream release candidate
+
+ * debian/patches/gcc-4.4.dif: fix gtk3 build with gcc 4.4
+
+ * debian/rules:
+ - only ship (and build) unowinreg.dll for i386/amd64. Probably not used
+ on other archs and it saves us the g++-mingw-w64-i686 build-dep there
+ - use gcc 4.4 on mips a) for consistency b) as 3.5.3~rc1-1 bus errord on
+ ball, too
+ - readd move of libdbalo.so to -base-core (closes: #670350)
+ * debian/shell-lib-extension.sh: also set HOME to $INSTDIR for unopkg
+ (as -env=UserInstallation doesn't work (anymore) - closes: #669271
+ * debian/libreoffice-common.postrm.in: fix typo to actually try to rm -rf
+ /var/lib/libreoffice/share/prereg
+
+ -- Rene Engelhard <rene@debian.org> Wed, 25 Apr 2012 03:09:29 +0200
+
+libreoffice (1:3.5.3~rc1-1) experimental; urgency=low
+
+ * new upstream release candidate
+ - additional fixes for png for SA47244/CVE-2012-1149
+
+ [ Rene Engelhard ]
+ * debian/rules:
+ - build-depend on new g++-mingw-w64-i686 instead of the whole thing
+ - use gcc 4.4 on mipsel
+ * debian/libreoffice-common.links: move ...
+ * debian/libreoffice-common.links.in: ... here again as we need to
+ subsitute @OODIR@ (closes: #669138)
+
+ [ Björn Michaelsen ]
+ * add visio mimetype to libreoffice draw desktop file
+
+ -- Rene Engelhard <rene@debian.org> Sat, 21 Apr 2012 15:54:28 +0200
+
+libreoffice (1:3.5.2-4) unstable; urgency=medium
+
+ * debian/patches/icu-4.9.diff: backport fix from libreoffice-3-5
+ for ICU >= 4.9 support
+ * debian/patches/fix-system-lpsolve-build.diff: use -Wl$(COMMA)-rpath as
+ otherwise gbuild strips everything after the , away;
+ makes it actually set the rpath and fixes gcc 4.7 build
+ * debian/patches/tests-fix-build-with-jdk7.diff: fix tests (connecticity
+ and dbaccess) build with OpenJDK7 for some modules, thanks Douglas Mencken
+ for the hint. Not complete yet so this disables sfx2,sw,unoxml tests for
+ jdk7
+ * debian/patches/gcc-4.7.diff: add also fix for sal/qa/osl/osl_Mutex.cxx
+ * debian/patches/disable-sc-sw-unoapi-subsequentcheck-for-now.diff: move ..
+ * debian/patches/disable-unoapi-subsequentcheck-for-now.diff: ... here and
+ disable all unoapi tests, still too flaky (should be better in master...)
+
+ * debian/rules:
+ - readd gcc-$(GCC_VERSION), g++-$(GCC_VERSION) build-deps if
+ GCC_VERSION != ""....
+ - actually add epoch to libqt4-dev builddeps...
+ - revert JDK7 test workaround from last upload again
+ - build-depend on make >= 3.81-8.2 instead of 3.82 now that sid is also fixed;
+ PARALLEL_BUILD=y again
+ * debian/python{,3}-uno.preinst.in: only run extension stuff when upgrading
+ from version where the extension was here ...
+ * debian/libreoffice-script-provider-python.preinst.in: ... and copy
+ (old version) here
+ * debian/control.in:
+ - readd libreoffice-core (<< 1:3.5~), libreoffice-common (<< 1:3.5~)
+ conflicts again (lost when moved to -script-provider-python) to help
+ upgrades (closes: #666523)
+ - make libreoffice-core Pre-Depend on ure
+ * debian/debian/shell-lib-extensions.sh: run unopkg list before trying
+ to sync; hopefully catches cases where unopkg doesn't (yet) work
+ (closes: #668193)
+
+ -- Rene Engelhard <rene@debian.org> Mon, 16 Apr 2012 09:02:21 +0200
+
+libreoffice (1:3.5.2-3) unstable; urgency=low
+
+ * brown paper bag release;
+ rebuild .dsc/.debian.tar.gz with correct gcc epoch in
+ Build-Conflicts: and with proper arch-qualifiers...
+
+ * debian/rules:
+ - use gnutls for neon again
+ - disable junit tests on OpenJDK7-using archs, building
+ fails
+ - add ulimit -c unlimited before make check call to catch
+ backtraces on sporatic soffice.bin crashes "failing" the build;
+ build-depend on gdb if RUN_MAKE_CHECK=y
+
+ -- Rene Engelhard <rene@debian.org> Wed, 11 Apr 2012 13:44:02 +0200
+
+libreoffice (1:3.5.2-2) unstable; urgency=low
+
+ * debian/patches/gcc-4.7{,-i386.-amd64}.diff: backport gcc 4.7 build and
+ runtime(!) fixes for i386/amd64 from master
+ * debian/patches/odk-jni-include.diff: remove ...
+ * debian/patches/safe-jni-h-include.diff: ... in favour of this using
+ gcj --print-file-name include/jni.h. thanks doko
+
+ * debian/shell-lib-extensions.sh, debian/*bug-script.in:
+ use --bundled instead of --shared; that's what we do and without bundled
+ we don't get the info with unopkg list
+ * debian/rules:
+ - strip ure from uno-libs3.substvars again after the .symbols change
+ (closes: #667465)
+ - remove hack to use same gcc version as gcj version again
+ - build-depends on libqt4-dev (>= 4.8) if SYSTEM_GCC_VERSION is 4.7...
+ * debian/libreoffice-core.preinst.in: silence rmdir
+ * debian/rules, debian/control.in, debian/*.triggers.in,
+ debian/scripts/gid2pkgdirs.sh: split script-provider-for-python out of
+ python(3)-uno out to libreoffice-script-provider-python where it belongs
+ * debian/control.in:
+ - build-conflict against
+ gcc (>= 4:4.7~) [!i386 !amd64 !kfreebsd-i386 !kfreebsd-amd64],
+ g++ (>= 4:4.7~) [!i386 !amd64 !kfreebsd-i386 !kfreebsd-amd64]
+
+ -- Rene Engelhard <rene@debian.org> Sat, 07 Apr 2012 14:30:41 +0200
+
+libreoffice (1:3.5.2-1) unstable; urgency=low
+
+ * LibreOffice 3.5.2 final (same as rc2)
+
+ * debian/patches/gtk3-hack-explicit-gmodule.diff: explicitly link to
+ gmodule, as we otherwise get undefined references to g_mdoule_ in the
+ gtk3 VCLplug...
+ * debian/patches/debian-hardened-buildflags.diff: remove extraneous ""'s
+ breaking the build on ia64 as the hardened LDFLAGS is empty there
+
+ * debian/rules:
+ - enable Base stuff on s390x again, libebook1.2-dev available now
+ - (temporarily?) build with libneon-dev (openssl) to work around #667043
+ * debian/uno-libs3.lintian-overrides:
+ - override shlibs-declares-dependency-on-other-package and
+ symbols-declares-dependency-on-other-package
+ * debian/control*.in:
+ - make extensions conflicts against libreoffice-core (<< 1:3.5~),
+ libreoffice-common (<< 1:3.5~) to (hopefully) help unopkg be working
+ when called on upgrades 3.4 -> 3.5 (closes: #666523)
+ * debian/control{,.lang}.in:
+ - suggest libreoffice-grammarcheck{,-@LCODE@} (e.g. provided by
+ lightproof)
+
+ -- Rene Engelhard <rene@debian.org> Wed, 04 Apr 2012 09:25:32 +0200
+
+libreoffice (1:3.5.2~rc2-1) unstable; urgency=low
+
+ * new upstream release candidate
+ - fixes gvfs build for glib (closes: #665574)
+ - avoids looping on busted escher records e.g. ppt (CVE-2012-2334)
+
+ * upload to unstable
+
+ * debian/rules:
+ - make make check failure abort again
+ - readd apparently lost explicit --with-num-cpus=1 when PARALLEL_BUILD=n,
+ the configure check apparently doesn't prevent us from failing (anymore)
+ * debian/rules, debian/uno-libs3.symbols:
+ - add ure dependency for stuff linked to uno-libs3, too
+
+ -- Rene Engelhard <rene@debian.org> Wed, 28 Mar 2012 08:18:15 +0200
+
+libreoffice (1:3.5.1-1) experimental; urgency=low
+
+ [ Rene Engelhard ]
+ * new upstream release
+ - fixes up excessive numbers of "JRE is defective" messages
+ (closes: #602127)
+ - fixes populating "Recent Documents" after a profile upgrade
+ (closes: #660185)
+ - fixes nsplugin to create a correct
+ com.sun.star.ucb.SimpleFileAccess instance (closes: #661747)
+ - disables problematic reading of external entities in internal
+ raptor copy (CVE-2012-0037)
+
+ * debian/patches/armhf-bridges-doubles.diff: some more armhf fixes
+ (+ testcase) from master
+ * debian/patches/debian-hardened-buildflags.diff: use hardened
+ buildflags from dpkg-buildflags (closes: #656643)
+ * debian/patches/debian-opt.diff: fix to actually make test and grep
+ work
+ * debian/patches/bibliography-no-crash-if-no-base.diff: backport fix
+ from libreoffice-3-5 to not crash Tools -> Bibliography if -base isn't
+ installed (closes: #602953, #598809)
+ * debian/patches/pyuno_fix_python2.diff: backport from libreoffice-3-5.
+ As name says, fix breakages in python2 after python3 fixes
+
+ * debian/rules: rename ext-sources to src, as done upstream
+ * debian/control.fonts.in: make ttf-opensymbol Priority: extra, thanks
+ lintian
+ * debian/rules:
+ - --with-mingw -> --with-mingw-cross-compiler; remove obsolete
+ "export MINGWSTRIP" hack
+ - don't set ENABLE_SDBC_POSTGRESQL=n when building no extensions, as
+ this isn't an extension anymore
+ - remove obsolete "export MINGWSTRIP" hack
+ - fix (>= 1.1.9) for libcommons-logging-java to actually work, thanks
+ Rico Tzschichholz
+ - chmod 755 setsdkenv_unix
+ - also disable graphite on alpha (closes: #661294)
+ - actually filter-out also armhf and powerpc powerpcspe ppc64 s390x for
+ OOO_REPORTDESIGN_ARCHS
+ - remove -O0 setting via ARCH_FLAGS, already handled by debian-opt.diff
+ * debian/control.in: build-conflict against
+ libc0.1-dev (= 2.13-26) [kfreebsd-i386 kfreebsd-amd64]
+ * debian/control.mozilla.in: stricten dependencies to 3.5, thanks
+ Mario Holbe for the observation
+ * debian/rules, debian/control.mozilla.in: update nsplugin conditional
+ to actually disable nsplugin build (and get rid of xulrunner-dev build-dep)
+ if disabled
+ * debian/*.triggers, debian/*.prerm.in:
+ - add activate triggers for /usr/lib/libreoffice/share/extensions to
+ the respetive extensions. Run sync_extensions after rm -rf'ing the
+ dir already in preinst (upgrade) (closes: #658646)
+
+ [ Bjoern Michaelsen ]
+ * debian/patches/fix-quickstart-shutdown.diff: fix logout with
+ quickstarter (closes: #632920, #605268)
+
+ -- Rene Engelhard <rene@debian.org> Mon, 12 Mar 2012 22:15:54 +0100
+
+libreoffice (1:3.5.0-2) experimental; urgency=low
+
+ [ Rene Engelhard ]
+ * debian/patches/armhf-bridges*.diff: add armhf bridges fixes from
+ Jani Monoses (LP: #900636)
+ * debian/patches/revert-468fe685e3c58c84bce6d9a48b931dcc21682679.diff:
+ remove, obsolete
+ * debian/patches/icu-arm.diff: fix internal icu build on arm.
+ * debian/patches/move-binfilter-mimetypes-in-extra-desktop-file.diff:
+ as name says; imported from Fedora
+ * debian/patches/passwordTest-test-old-password-algorith-too.diff: as name
+ says (see fdo#45171 and #659733/#659720)
+ * debian/patches/getMIMEDescription-mismatch.diff: update with proper
+ ./configure check, thanks Lubok Lunak...; also update internal header
+
+ * debian/rules:
+ - remove obsolete (and buggy) conditional icu-on-arm-fails breaking
+ the build
+ - apply patch from Rico Tzschichholz to update some configure flags
+ to new names in 3.5.x; remove some obsolete ones
+ - don't try to mv libvclplug_gtk3.so if not built, thanks Rico
+ Tzschichholz again
+ - disable base (libebook1.2-dev missing and nsplugin (xulrunner-dev
+ missing) on s390x
+ - disable *all* extensions on s390*, extension mechanism broken
+ * debian/source/components: remove, unused and causes lintian error
+
+ [ Bjoern Michaelsen ]
+ * debian/libreoffice-common.postrm.in: remove mismerged superfluous fi
+ (closes: #660580)
+
+ -- Rene Engelhard <rene@debian.org> Wed, 22 Feb 2012 08:34:06 +0100
+
+libreoffice (1:3.5.0-1) experimental; urgency=low
+
+ * LibreOffice 3.5.0 final release (identical to rc3)
+
+ * debian/patches/no-rcX-in-final.diff: don't show rc3, it's not a rc
+ amymore...
+ * debian/patches/make-gengal-work-again.diff: register gengal.bin
+ executable to get proper rpath and remove gengalrc
+ * debian/patches/odk-fix-rdb-paths.diff: backport fix to fix rdb path
+ in settings/std.mk in the SDK
+
+ * debian/rules:
+ - install found .gdb-py files into respective -dbg packages
+ - add additional libpoppler-private-dev build-dep for new popplers
+ * debian/control.in, debian/libreofice-common.p*:
+ apply patch from Colin Watson to use Pre-Depends rather than
+ 'dpkg-maintscript-helper supports' guards (closes: #659867)
+ * debian/watch: point to download.documentfoundation.org/libreoffice/src
+ instead of dev-builds
+
+ -- Rene Engelhard <rene@debian.org> Tue, 14 Feb 2012 17:56:49 +0000
+
+libreoffice (1:3.5.0~rc3-1) experimental; urgency=low
+
+ * new upstream release candidate
+
+ * debian/patches/SwTblBoxFormula-destructor.diff: work around link error
+ on armel by specifying explicit SwTblBoxFormula destructor, thanks
+ Michael Meeks
+ * debian/patches/ia64-oox-size.diff: build oox on ia64 with -Os
+ as otherwise it gets too big to link
+ * debian/patches/mediwiki-oor-replace.diff: replace oor:fuse by oor:replace
+ for -wiki-publishers config (hopefully closes: #616011)
+
+ * debian/rules:
+ - give gb_FULLDEPS= to actual make check call, not debian/rules
+ check
+ - simplify -dbg/--enable-symbols conditionals
+ - build with default boost again but add build-dep on g++-4.6 (>= 4.6.2-12)
+
+ -- Rene Engelhard <rene@debian.org> Sat, 04 Feb 2012 11:27:46 +0100
+
+libreoffice (1:3.5.0~rc2-2) experimental; urgency=low
+
+ * debian/rules:
+ - fix another merge error to really fix patch rule in check
+ - enable ca-XV, put into -{l10n,help}-ca
+
+ -- Rene Engelhard <rene@debian.org> Sun, 29 Jan 2012 17:00:47 +0100
+
+libreoffice (1:3.5.0~rc2-1) experimental; urgency=low
+
+ * new upstream release candidate
+
+ * debian/rules:
+ - fix patch rule in check
+ - fix merge errors: $(ARCH) -> $(DEB_HOST_ARCH)
+ - install full changelog only for packages with the same name in OOo
+ times; strip pre-libreoffice entries otherwise.
+ - (re-)enable -script-provider-js
+ * debian/libreoffice-common.postrm.in: fix merge:
+ @OOBRANDDIR@/@OOBASISDIR@ -> @OODIR@
+
+ -- Rene Engelhard <rene@debian.org> Fri, 27 Jan 2012 09:23:07 +0000
+
+libreoffice (1:3.5.0~rc1-1) experimental; urgency=low
+
+ * new upstream release candidate
+
+ * debian/patches/gbuild-JavaClassSet-honour-JAVAFLAGS.diff: honour
+ JAVAFLAGS (-source 1.5 -target 1.5)
+
+ * debian/rules:
+ - fix Java stuff in SDK install (don't remove /usr/share/libreoffice/sdk)
+ - work around smoketest failure; disable base for powerpc(spe)/ppc64 as
+ for armel
+ - switch to .xz tarballs, upstream will only provide those...
+
+ * merge from ubuntu-precise-3.5:
+ - re-enable junit tests
+
+ -- Rene Engelhard <rene@debian.org> Fri, 20 Jan 2012 10:19:36 +0000
+
+libreoffice (1:3.5.0~beta3-1) experimental; urgency=low
+
+ * new upstream beta release
+
+ * debian/patches/fix-ARM-detection-in-set-soenv.diff: fix for armhf...
+ * debian/patches/revert-468fe685e3c58c84bce6d9a48b931dcc21682679.diff:
+ fix armhf build in bridges...
+ * debian/patches/ppc-fix-soffice.sh.diff: make soffice.sh on ppc correct
+ * debian/patches/jdbc-driver-threading.diff: backport fix for
+ Attach/Detach-CurrentThread slowness from libreoffice-3-5
+ (closes: #644957)
+
+ * debian/libreoffice-core.preinst.in:
+ - rm -f /var/lib/libreoffice/basis3.4/program/services.rdb on upgrade
+ (and for safety on install, too) (closes: #650341)
+ * debian/libreoffice-{common,core}.postrm.in:
+ - on remove, remove all /var/lib content on remove (prereg/bundled
+ basisX.Y)
+ * debian/rules:
+ - stop creating a dependency on ure for uno-libs3 in .shlibs, use
+ uno-libs3 instead
+ - specify correct --with-servlet-api= after recent libcommons-logging-java
+ changes
+ * debian/uno-libs3.symbols:
+ - use uno-libs3, not ure as dependency
+ * debian/control.ure.in:
+ - remove obsolete cli-uno-bridge Suggests
+
+ * merge from ubuntu-precise-3.5:
+ - add debian multiarch support for Qt4
+ - no dependencies needed for full builds
+ + propagate gb_FULLDEPS
+ - get rid of obsolete BrOffice specialcasing (LP: #884786)
+ - enable l10n
+ * merge from libreoffice_3.5.0_beta2-2ubuntu2
+ - enable gio, disable gvfs
+
+ -- Rene Engelhard <rene@debian.org> Tue, 17 Jan 2012 10:03:24 +0000
+
+libreoffice (1:3.5.0~beta2-2) experimental; urgency=low
+
+ * debian/patches/fix-ARM-detetcion-in-set-soenv.diff: as name says
+ * debian/patches/make-package-modules-not-suck.diff: add missing , so
+ that kde4be1.uno.so correctly ends up in -kde
+
+ * debian/smoketest/patches/smoketest-disable-db-insert-delete-seek-tests.diff,
+ debian/rules: make patch apply again
+
+ * debian/rules:
+ - force boost to 1.46 due to ICE with 1.48
+ - prevent creating bogus gcc- build-dependency on gcj archs
+
+ -- Rene Engelhard <rene@debian.org> Fri, 30 Dec 2011 00:11:06 +0100
+
+libreoffice (1:3.5.0~beta2-1) experimental; urgency=low
+
+ [ Rene Engelhard ]
+ * new upstream beta release
+ - fixes SA47244/CVE-2012-CVE-2012-1149
+ ("LibreOffice Integer Overflow" when allocation memory for images)
+
+ * debian/*:
+ - use "core" sources, no libreoffice-build anymore. Loads of updates.
+
+ * debian/patches/*: move from patches/hotfixes to patch the code
+ directly without libreoffice-build
+
+ * debian/rules, debian/vars.*, debian/*.links.in:
+ - loads of updates for new envfile name and gone LIBSUFFIX
+ * debian/rules:
+ - enable new build against Gtk3
+ - bump python b-d to >= 2.6 as we don't work with earlier anymore.
+ Also build python3-uno
+ - add new conditionals and build-deps for new (libvisio,librsvg,gettext,
+ libcmis) libraries and libexttextcat switch - and those we needed to move
+ from libreoffice-builds' distro-configs. Adapt for changed configure
+ options
+ - add new conditionals and build-deps for new libvisio,librsvg,gettext,
+ libcmis usage and libexttextcat switch - and those we needed to move
+ from libreoffice-builds' distro-configs
+ - run new "make check" instead of solenv/bin/subsequenttests and
+ manual smoketest
+ - remove fakeroot hackaround
+ * debian/rules, debian/make-package-modules-not-suck.diff: migrate loads of
+ mv's in debian/rules to proper scp2 patches
+ * debian/rules, debian/control.in:
+ - move from self-defined UPSTREAM_VERSION/ARCH etc. to use
+ /usr/share/dpkg/*.mk
+ * debian/control.in:
+ - update descriptions for new Gtk(3) print dialog
+ - move libreoffice, libreoffice-l10n-{in,za} to new metapackages
+ section
+ * debian/control.fonts.in: ttf-opensymbol should be in oldlibs, thanks
+ lintian
+ * debian/patches:
+ - migrate reportdesign-mention-package.diff from libreoffice/build
+ - migrate jdbc-driver-classpaths.diff from libreoffice/build
+ - migrate mysqlcppconn-mysqlclient-SONAME.diff from libreoffice/build
+ - migrate system-python-{ure-bootstrap,uno-path}.diff and
+ pyuno-ooodir.diff from libreoffice/build
+ - migrate split-icons-search-usr-share.diff from libreoffice/build
+ * debian/vars.armhf: add
+
+ [ Bjoern Michaelsen ]
+ * debian/rules:
+ - set CURDIR before first use and use safe method to set it
+ - update GIT_ vars, add GIT_BASEURL for local mirrors
+ - update get-orig-source
+ - build needs the ext-sources
+ * debian/README:
+ - update most outdated README sections
+ * debian/patches:
+ - migrate mention-java-common-package.diff from libreoffice/build
+ - migrate help-msg-add-package-info.diff from libreoffice/build
+ - update help-msg-add-package-info.diff, replace openoffice.org with
+ libreoffice
+ - migrate sensible-ooomua.diff from libreoffice/build and rename to
+ sensible-lomua; add icedove and thunderbird as fallbacks
+ - migrate sensible-browser.diff from libreoffice/build
+
+ -- Rene Engelhard <rene@debian.org> Tue, 27 Dec 2011 10:16:18 +0000
+
+libreoffice (1:3.4.4-2) unstable; urgency=medium
+
+ * debian/patches/libebook-1.2.so.11.diff: remove ...
+ * debian/patches/libebook-1.2.so.12.diff: ... for this and update
+ accordingly (evolution 3.2)
+ * debian/patches/wordml2ooo_draw.xsl-add-missing-include.diff: backport
+ patch from master to add missing include (closes: #648250)
+
+ * debian/rules:
+ - recommend fonts-thai-tlwg instead of ttf-thai-tlwg (closes: #648785)
+ - disable mono in prepartion for mono transition
+ * debian/control.in, debian/rules:
+ - correctly disable SRB on gcj-archs
+ * debian/rules, debian/control.fonts.in:
+ - rename ttf-opensymbol to fonts-opensymbol
+
+ -- Rene Engelhard <rene@debian.org> Mon, 21 Nov 2011 22:35:03 +0000
+
+libreoffice (1:3.4.4-1) unstable; urgency=low
+
+ * New upstream release
+ - repackage liblayout and seamonkey in ext-sources to remove
+ RFC/I-Ds (closes: #645753)
+
+ * debian/patches/update-sdbc-postgresql.diff: update to 0.8.1
+ * debian/patches/update-libreoffice.1.diff: update libreoffice.1 for
+ new long parameters (closes: #646800)
+
+ * debian/rules:
+ - don't try to use internal jfreereport on ia64; disable the SRB
+ instead.
+ - fix USE_SYSTEM_TEXTCAT_DATA for squeeze
+ - change debug in DEB_BUILD_OPTIONS not to do -g only but also
+ --enable-debug
+ * debian/watch:
+ - point to libreoffice-bootstrap-(\d.\d.\d).\d.tar.bz2 in debian/watch;
+ does not suffice but we should reference the source and not binaries
+ * debian/rules, debian/*.menu.in:
+ - also add icon version to debian menus (closes: #645953)
+ * debian/control.in:
+ - remove suggests on menu (closes: #647371)
+
+ -- Rene Engelhard <rene@debian.org> Mon, 07 Nov 2011 23:33:54 +0100
+
+libreoffice (1:3.4.3-4) unstable; urgency=low
+
+ * debian/patches/poppler-0.17.x.diff: backport patches from master to
+ make pdfimport build with poppler 0.17.x
+ * debian/patches/update-sdbc-postgresql.diff: add check for
+ PQconnectdbParams in -lpq
+
+ * debian/rules:
+ - use jh_classpath instead of manual MANIFEST.MF hacking for jurt.jar
+ - build-depend on libpoppler-cpp-dev
+ - fix libsslX.Y.Z in -dbgs suggests for multiarch
+ - use internal jfreereport on squeeze-backports
+ - keep -g1 on squeeze-backports
+ - use mingw-w64 for unowinreg.dll build (closes: #642954)
+ - build-dep on libpq-dev (>= 9.0~) for PQconnectdbParams
+ - add libhunspell-1.3-0-dbg to DBG_DBG_SUGGESTS
+ - remove PYTHON_HELPER conditional, we use dh_python2 anywhere and
+ lintian just spits out false positives...
+
+ * merge from ubuntu-oneiric-3.4:
+ - hard hack to make upload happy: Pre-Depends on xz-capable dpkg
+ for -dbg
+
+ -- Rene Engelhard <rene@debian.org> Sat, 08 Oct 2011 12:08:04 +0200
+
+libreoffice (1:3.4.3-3) unstable; urgency=low
+
+ * debian/patches/jdk-1.7.0-vendorname.diff: backport from master; allow
+ "Oracle Corporation" JDK >= 1.7.0 (closes: #642425)
+ * debian/patches/s390x.diff: add patch from aurel32 to fix build on s390x
+ (closes: #642951)
+
+ * debian/rules:
+ - build against "normal" pentaho libraries again, in new upstream versions
+ (closes: #641594)
+ - build with -g on {,kfreebsd}{i386,amd64} (similar to linux-2.6's -dbgs)
+ as policy says. Compress with xz
+ - allow openjdk 7; build against it on ia64 even when the rest is at 6
+ - stop building -gcj on all openjdk-archs, keep it on gcj-using archs
+ - build with gcc 4.6 again, add build-conflicts on g++ 4.6.1-10 and -11
+
+ * merge from ubuntu-oneiric-3.4:
+ - fixing crash on closing document with footnotes (LP: #854626)
+ - fixing crash on screen resolution change (LP: #852819)
+
+ -- Rene Engelhard <rene@debian.org> Wed, 28 Sep 2011 13:41:27 +0200
+
+libreoffice (1:3.4.3-2) unstable; urgency=medium
+
+ [ Rene Engelhard ]
+ * debian/patches/no-deprecated-options-in-qstart-wrappers.diff: use --writer
+ instead of -writer (closes: #638868)
+ * debian/patches/fix-sample-icc-1.3.2-patch.diff: backport from master:
+ re-enable patch hunk to fix PDF A/1-a export on 64bit archs, thanks lmamane
+ for the patch (closes: #633480)
+ * debian/patches/update-sdbc-postgresql.diff: update SDBC PostgreSQL
+ driver to Lionels new LibreOffice version.
+ * debian/patches/handle-NULL-display-gracefully.diff: backport from
+ libreoffice-3-4
+
+ * debian/control.in:
+ - remove obsolete Pre-Depends on debconf in ure
+ - add Breaks: on incompatible -cores on -common (basis-link symlink)
+ (closes: #641357)
+ * debian/control.postgresql.in: add (>= 8,4) to postgresql suggests to make
+ more visible that we need >= 8.4 of PostgreSQL. Update Homepage for new
+ LibreOffice location
+ * debian/control.reportdesign.in: make -report-builder depend on
+ -report-builder-bin (>= ${base-version}) (closes: #640900)
+ * debian/rules:
+ - re-enable -sdbc-postgresql
+ - fix adding PYTHONPATH to unopkg (closes: #625878)
+ - temporarily build with gcc 4.5 as gcc 4.6.1-10 breaks the vcl build
+ * debian/libreoffice-common.links, debian/rules:
+ - fix mimetype icon links for hicolor (closes: #641860)
+
+ [ Lionel Elie Mamane ]
+ * debian/rules: we need translate-toolkit (>= 1.9.0)
+
+ -- Rene Engelhard <rene@debian.org> Sat, 17 Sep 2011 08:28:13 +0000
+
+libreoffice (1:3.4.3-1) unstable; urgency=low
+
+ * New upstream release
+ - fixes Out-of-bounds read in DOC sprm (CVE-2011-2713)
+
+ * debian/patches/fdo35784.diff: add patch from fdo35784, thanks lmamane
+ * debian/patches/mipsel-jfw-plugin-arch.diff: fix JFW_PLUGIN_ARCH
+ (s/mips32/mipsel/) in jvmfwk for mipsel, thanks Aurelien Jarno
+ * debian/patches/oosplash-javaldx-path.diff: fix javaldx path in oosplash
+ (closes: #637829)
+
+ * debian/rules:
+ - try build with openjdk on mipsel again now that jvmfwk knows the
+ correct arch
+ - fix SYSTEM_STUFF for ENABLE_JAVA=n
+ - don't try to run dh_nativejava if ENABLE_JAVA=n
+ - adapt for /usr/lib/jvm/java-6-openjdk -> /usr/lib/jvm/java-6-openjdk-$ARCH
+ move in OpenJDK
+
+ -- Rene Engelhard <rene@debian.org> Wed, 31 Aug 2011 08:10:59 +0000
+
+libreoffice (1:3.4.2-2) experimental; urgency=low
+
+ * debian/patches/make-gengal-work-again.diff: as name says
+ * debian/patches/fix-distro-config.diff: really use system sane.h
+
+ * debian/rules:
+ - fix syntax of graphite removal from SYSTEM_STUFF (forgot s/+=/:=/)
+ - install gengal again
+ - on sid (and when building with debug), compress -dbg with xz; make bzip2
+ compression unconditional
+
+ -- Rene Engelhard <rene@debian.org> Tue, 16 Aug 2011 12:55:45 +0000
+
+libreoffice (1:3.4.2-1) experimental; urgency=low
+
+ * new upstream release
+
+ * debian/patches/*: migrate to libreoffice-build/hotfixes where possible
+ * debian/rules:
+ - try gcj again on mipsel, stay with OpenJDK for mips
+ - use system-graphite again, disable graphite on armel and sparc for
+ the time being as we don't have a graphite2 which doesn't fail its tests
+ there yet
+
+ -- Rene Engelhard <rene@debian.org> Thu, 11 Aug 2011 08:13:02 +0000
+
+libreoffice (1:3.4.1-4) experimental; urgency=low
+
+ * debian/rules:
+ - don't statically check for /build/buildd- but use grep, which will
+ catch also /build/buildd2- as on lucatelli2...
+ - reverse conditional to not build reportbuilder to really disable
+ its build on gcj archs (apparently ant and envvars still broken due
+ to multiarch)
+ - add libstlport4.6-dev builddep only when something is in
+ OOO_STLPORT_ARCHS, don't rely on LINK_TO_STLPORT. Not set on !i386...
+
+ -- Rene Engelhard <rene@debian.org> Thu, 28 Jul 2011 09:31:12 +0000
+
+libreoffice (1:3.4.1-3) experimental; urgency=low
+
+ * debian/patches/fix-bridges-cpp-uno-depends.diff: fix mising depends in
+ bridges' build.lst which can cause FTBFS on s390(x), arm, ia64, hppa, alpha
+ * debian/patches/no-prctl-on-kfreebsd.diff: don't try to #include <sys/prctl.h>,
+ it doesn't exist for FreeBSD
+
+ * debian/rules:
+ - also set ON_BUILDD=y if $(CURDIR) begins with /build/buildd-
+ - build-depend on javahelper >= 0.37~ instead of >= 0.37 to help
+ squeeze-backpors
+
+ -- Rene Engelhard <rene@debian.org> Fri, 22 Jul 2011 16:06:11 +0000
+
+libreoffice (1:3.4.1-2) experimental; urgency=low
+
+ [ Rene Engelhard ]
+ * debian/patches/vbaobj-visibility-fix.diff: fix sc build on i386, imported
+ from Fedora
+
+ * debian/libreoffice-common.postinst.in, libreoffice-core.postinst.in,
+ debian/shell-lib-components.sh:
+ check for /@OOBASISDIR@/program/.services.rdb before using it
+ (closes: #633396) and replace manual call of the function by
+ dpkg-trigger. Also run the trigger in -cores postinst
+ (thanks Jonathan Nieder)
+ * debian/control.in:
+ - make new -common break old -evolution/-filter-binfilter
+ * debian/rules:
+ - also -Xlibreoffice-dbg on jh_depends... (closes: #633540)
+ - update ENABLE_OPENGL configure flags, now --enable-opengl is default
+ upstream
+ - fix build with make 3.82: remove space after, in $(call; build-depend
+ on make >= 3.82 if PARALLEL_BUILD=y
+ - fix -javafilter.destop Exec=
+ - remove obsolete libstlport4.6-dev build-conflict, thanks Björn
+ Michaelsen
+ - fix conditional for translate-toolkit
+ - explicitly specify --without-stlport
+ - temporarily build with internal graphite2 until the system graphite2
+ package is ready for use
+ * debian/copyright: s/Specificatin/Specification/, thanks Jakub Wilk
+ * merge from ubuntu-oneiric-3.4:
+ - gconf also needs liborbit2-dev
+ - bump libebook so name to allow for libebook-1.2.so-11 too
+ - disable --dynamic-list-cpp-new/--dynamic-list-cpp-typeino
+ as they SIGSEGV ld from binutils-2.21.52.20110707
+
+ [ Nelson A. de Oliveira ]
+ * debian/*menu.in, debian/*mime:
+ - Fix deprecated options when calling soffice and libreoffice
+ (closes: #634001)
+
+ -- Rene Engelhard <rene@debian.org> Wed, 20 Jul 2011 22:28:52 +0200
+
+libreoffice (1:3.4.1-1) experimental; urgency=low
+
+ * new upstream release
+ - handles various table columns differing in case correct
+ (closes: #617596)
+ - should fix embedding of (some) fonts in PDFs (closes: #616117)
+ - (still) use libreoffice-build for now; not tagged,
+ use 069b0a4b4f052255c97ece23f0e37be85921fe27
+
+ * debian/patches/debian-debug.diff: readd option to build with small
+ symbols (removed upstream), otherwise we get a too big -dbg (760M, 2G I-S)
+ * debian/patches/update-debian-opt.diff: call dpkg-buildflags correctly
+
+ * debian/rules:
+ - bump build-dep on libmdds-dev to >= 0.5.0
+ - build-depend on libgraphite2-dev instead of libgraphite-dev
+ - update for new extension and mingw configure switches
+ - temprarily don't install gengal, not built anymore since the switch to
+ GNU Make...
+ - install .component files to registered-components
+ - build-dep on translate-toolkit, now needed for translations module
+ * debian/control.sdk.in, debian/rules:
+ - stop building with STLport on i386, just create a symlink in ure.
+ Should suffice for compat with binary-only OOo extensions
+ * debian/control.in, debian/rules:
+ - the script providers are now extensions. split js and bsh out into
+ extra packages (also closes: #603595)
+ * debian/uno-libs3.symbols: update
+ * debian/rules, debian/patches/packcomponents-remove-split-components.diff:
+ remove evoab, binfilter and kdeab deregistering into patch patching
+ the new packcomponents
+ * debian/shell-lib-components.sh: add new update_services_rdb() merging
+ "default" services.rdb and the .component files from registered-components
+ * debian/libreoffice-common.triggers.in, libreoffice-*.p*.in:
+ new trigger running update_services_rdb, remove obsolete maintainer scripts
+ * debian/changelog: mention VU#953183/CVE-2011-2685 in 1:3.3.3-1
+ * debian/control.in:
+ - fix description: s/libreoffice-hyphenation/hyphen/,
+ s/libreoffice-thesaurus/mythes/
+ * debian/rules:
+ - don't try to change libreoffice-base when we don't built it
+ - build-depend on javahelper (>= 0.37) and use -s
+ * debian/source.lintian-overrides:
+ - override new libreoffice source: dh_pycentral-is-obsolete line 3214
+ and libreoffice source: dh_python-is-obsolete line 3223
+
+ -- Rene Engelhard <rene@debian.org> Wed, 06 Jul 2011 16:00:18 +0200
+
+libreoffice (1:3.3.3-4) unstable; urgency=low
+
+ * The "Don't trust, test-install even libreoffice-officebean" release.
+
+ * debian/rules:
+ - bump javahelper build-dep to (>= 0.35)
+ - exclude ure for jh_depends. Readd it manually for -officebean. jh_depends
+ would add a ure (>= ${source:Version}) which doesn't match the ure
+ versioning scheme.
+
+ -- Rene Engelhard <rene@debian.org> Fri, 01 Jul 2011 16:37:17 +0000
+
+libreoffice (1:3.3.3-3) unstable; urgency=low
+
+ * brown paper pag release.
+
+ * debian/patches/mips-openjdk-jre-paths.diff: oops, forgot JRELIBIR when
+ porting the patch from gabrielli..
+
+ -- Rene Engelhard <rene@debian.org> Thu, 30 Jun 2011 21:39:44 +0000
+
+libreoffice (1:3.3.3-2) unstable; urgency=low
+
+ * debian/patches/bsh-hardcode-path.diff,
+ debian/patches/disable-rhino.diff: add hacks to fix build
+ with the still broken gcj multiarch/ant combo. Disable rhino completely
+ as we can't patch the envvar usage out in a sane way
+ * debian/patches/disable-sdbc-postgresql.diff: also disable the build
+ * debian/patches/mips-openjdk-jre-paths.diff: add missing jre/ to
+ set_soenv for MIPS
+
+ * debian/rules:
+ - make multiarch changes conditional and skip them for squeeze
+ (Daniel Baumann)
+ - move evolocal.odb into -evolution proper
+ - use OpenJDK on mips(el), seems to work. (ia64 still SIGSEGVs)
+ * debian/libreoffice-filter-binfilter.links.in: actually create symlink
+ for libbindet*so in registered-components
+ * debian/control.in:
+ - move libpaper-utils from Suggests to Recommends
+ - fix libreoffice Description: - -filter-binfilter is not installed
+ per default since longer (only suggested)
+ * debian/control.in, debian/rules: move libpq-dev builddep to a
+ conditional
+ * debian/rules, debian/control*in:
+ - run jh_depends and add ${java:Depends} where we have Java
+
+ -- Rene Engelhard <rene@debian.org> Wed, 29 Jun 2011 10:03:21 +0200
+
+libreoffice (1:3.3.3-1) unstable; urgency=medium
+
+ * new upstream release
+ - fixes VU#953183: 'Lotus Word Pro' document import filter
+ multiple vulnerabilities (CVE-2011-2685)
+
+ [ Rene Engelhard ]
+ * debian/patches/disable-optional-outplace-ole.diff: as name says; makes
+ toolbars work in e.g. Base edit forms (closes: #617319)
+
+ * debian/rules:
+ - disable -sdbc-postgresql until fixed (closes: #620100)
+ - stop moving vbaevents*.uno.so to -calc. Move libvbaswobj*uno.so
+ to -writer
+ - make -l10n-sw (if enabled) depend on locales (>= 2.13-5)
+ - adapt GCJ_JAWT_DIR handling for new multiarch dirs and explicitly
+ give -l to the libgcj_bc.so.1 multiarch dir to dh_shlibdeps...
+ * debian/control.in:
+ - build-conflict against libmdds-dev (>= 0.4.0)
+ * debian/rules, debian/*lintian-overrides:
+ fix/override (some) new Java related lintian warnings
+ * debian/rules, debian/libreoffice-filter-binfilter*.in:
+ oops, we forgot to do (de-)registering for libbindet*.so
+
+ [ Björn Michaelsen ]
+ * debian/patches/jurt-soffice-location.diff: add the fallback
+ /usr/lib/libreoffice/program/soffice to jurts NativeLibraryLoader;
+ we know where it is
+
+ -- Rene Engelhard <rene@debian.org> Tue, 14 Jun 2011 08:30:21 +0000
+
+libreoffice (1:3.3.2-4) unstable; urgency=low
+
+ * debian/patches/gcc4.6.0.diff: fix build with gcc 4.6, imported from
+ Fedora
+ * debian/patches/odk-jni-include.diff: add hack to also include e.g.
+ /usr/lib/gcc/x86_64-linux-gnu/4.6.1/include explicitly to work around gcj
+ mismatches
+
+ * debian/rules:
+ - disable smoketest on sparc, flaky
+
+ -- Rene Engelhard <rene@debian.org> Sun, 01 May 2011 09:09:08 +0000
+
+libreoffice (1:3.3.2-3) unstable; urgency=low
+
+ * debian/rules, debian/control.in:
+ - readd recommends for libtextcat-data though libtextcat0 depends on it.
+ Makes more clear what we need now (see #620568)
+ * debian/rules:
+ - run dpkg -s gcj-jdk on openjdk-using archs only when we build -gcj,
+ as otherwise it's not installed on the buildds (and we end up with a
+ eventually "wrong" gcc).
+ - restrict parallel=x to 2, at least 6 breaks, and don't experiment :)
+ - don't reference -ctl-he anymore and fix CTLSequenceChecking setting
+ in ctl_he.xcd (closes: #622301)
+ - enable is (icelandic) l10n
+ * debian/control.in:
+ - build-conflict against at3-dev-tools, it installs a moc-qt3 alternative
+ for moc, which might hose the KDE VCLplug build - and configure insists
+ on ../bin/moc relative to libQt.so (thus /usr/bin/moc) now
+ * debian/control.gcj.in: move -gcj into Section: java
+ * debian/*.lintian-overrides*: update for new lintian 2.5.0 (s#/usr#usr#g)
+
+ -- Rene Engelhard <rene@debian.org> Sat, 16 Apr 2011 10:03:50 +0000
+
+libreoffice (1:3.3.2-2) unstable; urgency=medium
+
+ * debian/patches/fix-evolution-local.diff: backport from libreoffice-3-3
+ branch
+
+ * debian/rules:
+ - really use internal libtextcat on squeeze (thanks dba)
+ - re-enable -evolution
+ - hack around gcc vs. libgcj mismatch for jni.h, explicitly build against
+ (and use) gcc x.y matching the gcj-x.y-jdk version
+ - remove obsolete s390 and armel gcc builddeps
+ * debian/libreoffice-common.postinst.in:
+ - try to remove /etc/openoffice if it's empty
+ * debian/*.mime:
+ - s/LibreOffice/OpenOffice.org/, it's OOo 1.0 file format after all
+ - add print= for OpenDocument mimetypes (closes: #619569)
+ * debian/rules, debian/*.mime:
+ - remove obsolete KDE 3 stuff
+ * debian/shlibs.override.kde: remove, obsolete
+ * debian/rules, debian/libreoffice-common.links.in:
+ - remove fingerprint link, create on the fly in rules; we don't want
+ this if we use the internal data
+
+ -- Rene Engelhard <rene@debian.org> Fri, 01 Apr 2011 22:37:37 +0000
+
+libreoffice (1:3.3.2-1) unstable; urgency=low
+
+ * LibreOffice 3.3.2 final (identical to rc2)
+
+ * debian/patches/update-debian-opt.diff: update debian-opt.diff:
+ + don't hardcode -Os for m68k, mips, ARM
+ + use dpkg-buildflags when available to honour noopt and to make support
+ generic
+
+ * debian/rules:
+ - don't add shell-lib-conffiles.sh to maintscripts anymore
+ - remove lenny-backport support; lenny hasn't a dpkg-maintscript-helper
+ - make base-files build-conflict also work after 6.0.1
+ - build with system libtextcat now that that is patched
+ - call dh_python2 with -ppython-uno to work around #619005
+ * debian/libreoffice-common.p*.in:
+ - remove hardcoded rm_conffile. use dpkg-maintscript-helper
+ - move psprint.conf, sofficerc and soffice.sh (closes: #619113)
+ * debian/shell-lib-conffiles.sh: remove
+ * debian/control.in:
+ - Standards-Version: 3.9.1 (no changes needed)
+ - make conflicts on libtextcat-data versioned
+
+ -- Rene Engelhard <rene@debian.org> Tue, 22 Mar 2011 13:46:25 +0000
+
+libreoffice (1:3.3.2~rc2-1) unstable; urgency=low
+
+ * new upstream release candidate
+
+ * debian/patches/arm-optimization.diff, debian/rules:
+ - remove ARM fixes introduced in last revision again,
+ better solution upstream
+
+ * debian/control.mediawiki.in:
+ - make -wiki-publisher depend on -java-common
+ * debian/rules:
+ - use dh_python2 (closes: #616871)
+ * debian/control.in:
+ - add replaces and (versioned) conflicts against mozilla-openoffice.org
+ (closes: #618550)
+
+ * merge from Ubuntu:
+ - added ppc fixes (LP: #727118)
+
+ -- Rene Engelhard <rene@debian.org> Thu, 17 Mar 2011 07:59:52 +0000
+
+libreoffice (1:3.3.1-1) unstable; urgency=low
+
+ * LibreOffice 3.3.1 final (identical to rc2)
+
+ * debian/patches/arm-optimization.diff: add explicit support for
+ optimization for armv4t/6/7, based on i117017
+ * debian/patches/javaldx-LibreOffice.diff: s/openoffice.org/libreoffice/
+ for javaldx (closes: #614103)
+ * debian/patches/alpha-no-relax.diff: use -Wl,--no-relax on alpha
+ (https://bugs.freedesktop.org/show_bug.cgi?id=32224)
+ * debian/patches/disable-impress-media-embedding.diff: temp fix from
+ upstream; disable impress media embedding patches so that avmedia gets
+ file urls passed correct again (closes: #612940)
+
+ * debian/rules:
+ - --with-arm-target=7 on armhf, explicit --with-arm-target=4
+ (armv4t) for armel
+ * debian/libreoffice-common.links: s/openofficeorg3/libreoffice/
+ (closes: #614100)
+
+ -- Rene Engelhard <rene@debian.org> Wed, 23 Feb 2011 09:07:55 +0100
+
+libreoffice (1:3.3.1~rc2-1) unstable; urgency=low
+
+ * new upstream release candidate
+
+ * debian/control.in:
+ - update for new git
+ * debian/rules, debian/soffice.sh, debian/README.Debian:
+ - more s/OOo/LibreOffice/ (closes: #613215)
+ * debian/rules:
+ - disable evolution2 support for now as it doesn't work with
+ evolution 2.32
+ - build -ogltrans for armhf
+ * debian/control.in, debian/control.{kab,evolution}.in, debian/rules:
+ - move -evolution and -kab into own files so they get automatically
+ be removed from control when disabled
+
+ -- Rene Engelhard <rene@debian.org> Fri, 18 Feb 2011 14:43:18 +0000
+
+libreoffice (1:3.3.1~rc1-2) unstable; urgency=low
+
+ * debian/libreoffice-preinst.in: remove files in /user and /share one
+ by one (closes: #613083)
+
+ -- Rene Engelhard <rene@debian.org> Sat, 12 Feb 2011 19:52:55 +0100
+
+libreoffice (1:3.3.1~rc1-1) unstable; urgency=low
+
+ * new upstream release candidate
+
+ * debian/patches/odk-settings-fix-STLPORTLIB.diff: fix STLPORTLIB setting
+ (aka make it empty) on kfreebsd-*,powerpc,sparc
+
+ * debian/rules:
+ - allow squeeze backports
+ - explicitly set export HOME=$(CURDIR)/debian/smoketest for the
+ smoketest, as it otherwise fails if $HOME is not there/broken (as on
+ buildds)
+ - fixup PRODUCTNAME_BR also in javafilter.desktop and startcenter.desktop
+ (closes: #612598)
+ * debian/control.sdk.in:
+ - conflict against openoffice.org-dev-doc (closes: #612494)
+ * debian/shell-lib-extensions.sh: properly set INSTDIR and d also in
+ sync_extensions() (closes: #612572)
+ * libreoffice-common.preinst.in: rm -rf /share and /user when upgrading from
+ versions before 3.3.0-3
+ * libreoffice-common.postinst.in: run sync_extensions() in postinst when
+ upgrading from versions before 3.3.0-3 explicitly
+
+ -- Rene Engelhard <rene@debian.org> Thu, 10 Feb 2011 22:29:50 +0000
+
+libreoffice (1:3.3.0-2) unstable; urgency=low
+
+ * upload to unstable
+
+ * debian/patches/fixed-close-parentheses-with-icu-4.4.diff: add fix for
+ closing parantheses with icu >= 4.4 from fdo#32171 (closes: #601078)
+ * debian/patches/nsplugin-LibreOffice.diff:
+ s/OpenOffice.org Plug-in/LibreOffice Plug-in/g
+
+ * debian/rules:
+ - fix parallel=n handling to also work if parallel=N is not the first or
+ only option, thanks Kees Cook
+ - install jar.sos in /usr/lib/gcj/libreoffice instead of /openoffice
+ (closes: #611276)
+ - don't hardcode TMP=/tmp for make install, thanks Jani Monoses for the
+ pointer
+ - build-depend on default-jdk in the JDK=default case only. Add
+ gcj-native-helper/default-jdk-builddep build-dep when building the
+ jars native
+ * debian/control.gcj.in:
+ - depend on gcj-jre instead of (the virtual) java-gcj-compat
+ (closes: #609657)
+ * debian/control.in:
+ - make -core conflict against libreoffice-style-* (<< 1:3.3.0-1)
+ (closes: #611279)
+ * debian/watch:
+ - update to look after the binaries in stable/, not src, as that
+ version is different
+ * debian/README.Debian, debian/control.in, control.lang.in:
+ update for new names of hyphenation patterns and thesauri
+ (hyphen-*/mythes-*). Actually make -l10n-* suggest mythes-*
+
+ -- Rene Engelhard <rene@debian.org> Sun, 06 Feb 2011 10:34:53 +0000
+
+libreoffice (1:3.3.0-1) experimental; urgency=low
+
+ * LibreOffice 3.3.0 final (identical to rc4)
+
+ * debian/patches/bridges-mkstemp-error-better-message.diff: make failure to
+ create temp file because /tmp vanished more clear; backported from master
+ * debian/patches/pyuno-demo-fix-PYTHONPATH.diff: fix insecure PYTHONPATH
+ usage in pyuno demos (closes: #605178)
+
+ * debian/rules:
+ - remove obsolete (commented-out) FIXME section as /usr/share for icons
+ works again since longer. Fixes actual splitout of the images to the
+ various -style-* packages, thanks Matthias Klose for the pointer
+ - really substitute ${PRODUCTNAME_BR} ${PRODUCTVERSION} in Name[pt_BR]
+ (closes: #610345)
+ - error-out on control target if /usr/include/ldap_features.h is not
+ existing
+ - stop renaming libreoffice.sh to ooffice.sh now that have transitional
+ packages cleaning up office.sh from openoffice.org-common
+ * debian/control.in
+ - readd versioned ttf-opensymbol depends bogusly removed by
+ "Remove obsolete OOo versions in dependencies." (closes: #610917)
+ - some more s/OOo/LibreOffice/
+ - make libreoffice-common conflict against
+ openoffice.org-common (<< 1:3.3.0~)
+ * debian/libreoffice-common.preinst.in: rm_conffile
+ /etc/bash_completion.d/ooffice.sh if upgrading from older libreoffice-common
+ * debian/changelog: mention fixed security issues in previous changelog
+ entries
+
+ -- Rene Engelhard <rene@debian.org> Tue, 25 Jan 2011 12:42:33 +0100
+
+libreoffice (1:3.3.0~rc4-1) experimental; urgency=low
+
+ * LibreOffice 3.3.0 rc4
+ - fixes right/left margin settings in report builder on 64bit
+ archs (closes: #607715)
+
+ * debian/copyright: update Upstream-{Maintainer,Source}
+ * libreoffice-emailmerge.preinst.in: remove (closes: #610205)
+ * debian/rules:
+ - also substitute ${PRODUCTNAME_BR} ${PRODUCTVERSION} correctly
+ (closes: #610345)
+ - fix to not install {intro,about}-pt_BR.png into -common if not
+ building pt-BR (file conflict common/-l10n-pt-br)
+ * debian/control.in:
+ - add Vcs-Browser:, thanks Nelson A. de Oliveira
+
+ -- Rene Engelhard <rene@debian.org> Wed, 19 Jan 2011 10:03:33 +0100
+
+libreoffice (1:3.3.0~rc3-2) experimental; urgency=low
+
+ * debian/patches/fix-mesa-headers-check.diff: readd, still needed;
+ forgot to actually push this upstream
+
+ -- Rene Engelhard <rene@debian.org> Thu, 13 Jan 2011 22:45:04 +0100
+
+libreoffice (1:3.3.0~rc3-1) experimental; urgency=low
+
+ * LibreOffice 3.3.0 rc3
+ - includes OpenOffice.org 3.3.0 release branch milestone 19, so:
+ + fixes CVE-2010-3702 and CVE-2010-3704 for the (unused) internal
+ xpdf copy
+ + fixes CVE-2010-4494 for the (unused) internal libxml2 copy
+ + fixes possible heap overflow when reading manipulated TGA images
+ (CVE-2010-4643)
+
+ * debian/patches/java-common-message-LibreOffice.diff: fix patched-in
+ java-common message to say libreoffice-java-common (closes: #609660)
+ * debian/patches/presenter-screen-fix-description.diff: fix for correctly
+ generating -presenter-consoles description.xml
+
+ * debian/rules
+ - bump SPI (c) upto 2011
+ - remove debian source package 1.0 format support, we don't
+ support stuff older than lenny anyways and lenny is able to
+ handle 3.0 (quilt)
+ - stop creating libreoffice -> ooffice symlink
+ - install LibreOffices new technical.dic (closes: #425791),
+ obsoletes Debian.dic
+ - lintian fixes (permissions, really remove some of the LICENSE files)
+ * debian/control.in, debian/rules, *.xmlcatalogs.in: rename
+ libreoffice-dtd-officedocument1.0 back to
+ openoffice.org-dtd-officedocument1.0. It's OpenOffice.org 1.x' dtd,
+ so... Fix description to say OpenOffice.org 1.x instead of
+ LibreOffice 1.x and .xmlcatalogs.in itself
+ ("/OpenOffice.org//DTD OfficeDocument 1.0"). Make package properly
+ versioned.
+ * debian/source/local-options: abort-on-upstream-changes
+ * debian/rules, debian/*.manpages, debian/README.Debian: update for
+ oo* -> lo*/libreoffice
+ * debian/control.in:
+ - remove openoffice.org-{base,math,draw,impress,calc}
+ Replaces: again, as we don't ship oo* wrappers/manpages anymore
+ but lo*.
+ - actually add Replaces: on openoffice.org-common (closes: #602867)
+ - change Homepage: to point to www.libreoffice.org
+
+ -- Rene Engelhard <rene@debian.org> Wed, 12 Jan 2011 02:47:36 +0100
+
+libreoffice (1:3.3.0~rc2-3) experimental; urgency=low
+
+ [ Rene Engelhard ]
+ * debian/patches/fix-mesa-headers-check.diff: backport fix from
+ master: check for mesaa headers only when OpenGL enabled.
+
+ * debian/rules
+ - merge OOo lenny-backport fixes
+ + keep 3.0 (quilt) for lenny-backports now that it supports it
+ + really use internal mythes
+ + disable gconf as gconftool-2 -g /desktop/gnome/interface/accessibility
+ hangs in the smoketest in a lenny chroot
+ - add explicit --with-system-mesa-headers
+ - update hsqldb conditionals for new SYSTEM_STUFF variable.
+ - fix report-builder install to actually install the files
+ - remove unneeded LICENSE files in the extensions
+
+ [ Matthias Klose ]
+ * debian/rules:
+ - Cleanup architecture specific configuration handling.
+ - Move architecture specific config before distro specific config.
+ - Add build support for dh_python2.
+ - Do not re-introduce arm (old ARM ABI).
+ - Add a helper macro gen_no_archs to generate macros OOO_NO_<foo>_ARCHS
+ from OOO_<foo>_ARCHS. Use these macros in build dependencies.
+ - Factor out SYSTEM_GCC_VERSION macro.
+ - Don't special case CC_PREFIX on sparc, not needed.
+ - Eliminate the explicit macros for the configuration of system
+ components.
+ * debian/control.in:
+ - Remove packages and versions in build dependencies,
+ which are present in the last old stable release.
+ - Avoid empty filed in build dependencies.
+ - Adjust for slightly changed OOO_NO_BASE_ARCHS macro.
+ * debian/scripts/joinctrl.py:
+ - Normalize whitespace in dependencies and similar fields.
+
+ -- Rene Engelhard <rene@debian.org> Sat, 01 Jan 2011 19:29:18 +0100
+
+libreoffice (1:3.3.0~rc2-2) experimental; urgency=low
+
+ [ Rene Engelhard ]
+ * debian/rules:
+ - use dpkg -s instead of apt-cache show (closes: #607873)
+ - install modes.sxd into /usr/share/doc/python-uno directly, not a
+ extra doc/
+ - fix mingw32/gcc-mingw32 conditional to not break with gcc 4.5,
+ thanks Matthias Klose
+
+ [ Matthias Klose ]
+ * debian/rules:
+ - Remove leading whitespaces.
+ - Avoid some duplicate shell calls.
+ * debian/control*.in:
+ - Remove obsolete OOo conflicts, replaces and provides.
+ - Remove obsolete OOo versions in dependencies.
+
+ -- Rene Engelhard <rene@debian.org> Tue, 28 Dec 2010 13:35:57 +0100
+
+libreoffice (1:3.3.0~rc2-1) experimental; urgency=low
+
+ * LibreOffice 3.3.0 rc2
+ - fixes CVE-2010-4008 for the (unused) internal libxml2 copy
+ - fix config path in soffice (closes: #606432)
+ - includes OpenOffice.org 3.3.0 release branch milestone 18, so:
+ + fixes export of group shapes to ppt (closes: #607377)
+
+ * stop versioning libreoffice-build and ext-sources-libreoffice-build
+ as releases of them now match LibO releases, makes building from git
+ easier, thanks Chris Halls
+
+ * stop building a broffice package. Most BrOffice things is now at
+ runtime (LANG=pt-BR), which is apparently what the BrOffice people
+ wanz. Put intro and about for pt-BR into -l10n-pt-br. fix .desktop files
+ (closes: #593123)
+
+ * debian/patches/do-not-switch-workspaces-of-wm.diff: backport fix from
+ OOo 3.4 to not switch workspaces of wm when using awesome
+ (closes: #607051) and set it to "false" so it's never done on any wm
+ (closes: #380748)
+
+ * debian/rules:
+ - re-enable sdbc-postgresql
+ - add conditional for squeeze-backports (Daniel Baumann)
+ (closes: #606368) - disabled for now as lsb_release returns squeeze
+ on sid right now...
+ - apparently we need -with-extension-integration explicitly now; install
+ the extensions from debian/tmp instead of -common/-core
+ - use new --with-helppack-integration as we otherwise don't get the help
+ installed
+ - follow "universial" builds with "tag libreoffice x.y.z" in
+ --with-build-version
+ * debian/control.in:
+ - remove libreoffice-core conflicts against itself, thanks Julian
+ Andres Klode (closes: #606480)
+ * debian/README.Debian-source: update to reflect current source package
+ format and document building form vcs (Chris Halls)
+ * debian/README.qa, debian/control*in, debian/rules: fix various URLs and
+ Homepage: fields
+
+ -- Rene Engelhard <rene@debian.org> Tue, 21 Dec 2010 19:37:54 +0100
+
+libreoffice (1:3.3.0~rc1-1) experimental; urgency=low
+
+ * LibreOffice 3.3.0 rc1
+ - includes OpenOffice.org 3.3.0 release branch milestone 17, so:
+ + fixes CVE-2010-4253: Heap based buffer overflow, PPT files.
+
+ * debian/patches/splash-progressbarcolor.diff: update for new artwork
+ * debian/patches/buildfix-patches.diff: remove
+ reportdesogn-mention-package-l10n.diff patch, upstream
+
+ * debian/broffice.lintian-overrides: oops forgot s/broffice.org/broffice/
+ here...
+ * debian/libreoffice-{filter-mobiledev,dev}.lintian-overrides,
+ libreoffice-{base,calc,draw,impress,math,writer}.lintian-overrides.in,
+ more lintian fixes
+ * debian/uno-libs3.symbols: tighten depends to (>= 1.7.0+LibO3.3.0~beta3)
+ for osl_{set,clear}Environment@UDK_3.11 (closes: #604201, #605897)
+ * debian/patches/smoketest-disable-db-insert-delete-seek-tests.diff:
+ rediff again - seems it got broken last time (closes: #603008)
+ * debian/rules:
+ - don't try to add application/vnd.openofficeorg.extension to
+ startcenter.desktop, it's already there, thanks Axel Beckert
+ - adapt for new .oxt packaging of postgresql-sdbc
+ - remove libwpd 0.9 conditional, now 0.9 is needed as 0.8 support is gone
+ - add explicit --prefix=/usr
+ * debian/control.postgresql.in: bump depends to 3.3
+ * debian/control.in: remove Breaks on -sdbc-postgresql again
+
+ -- Rene Engelhard <rene@debian.org> Mon, 06 Dec 2010 11:29:46 +0100
+
+libreoffice (1:3.3.0~beta3-2) experimental; urgency=low
+
+ * debian/patches/postgresql-sdbc-0-7-6-b.diff: update PostgreSQL driver
+ to 0.7.6b, needing for OOo/LibO 3.3 support
+
+ * debian/rules:
+ - actually install debian-presentation.odp to -common...
+ (really closes: #602043)
+ - create fake -help-sk package with symlink and depening on -help-cs
+ (closes: #600335)
+ * debian/rules: add support to build with libwpd 0.9.x(libwp{s,g} 0.2.0.
+ Will be the only option from next version on anyway...
+ * debian/control.ure.in: Breaks: openoffice.org-core (<< 1:3.3~) due to
+ upstream (private library) symbol breakage (closes: #603549)
+ * debian/control.in:
+ - as LibO is independent from Sun and doesn't need to obey
+ what Sun thinks is "integral part of the office", stop libreoffice
+ depending on the officebean (closes: #459332)
+ - readd imagemagick to B-D-I, we actually use it in install-indep, thanks
+ Kai Wasserbäch
+ * debian/uno-libs3.symbols: update
+ * debian/*.lintian-overrides.in: update for libreoffice
+ * debian/*.menu: update icon= and use libreoffice -xy
+
+ -- Rene Engelhard <rene@debian.org> Thu, 18 Nov 2010 02:08:59 +0100
+
+libreoffice (1:3.3.0~beta3-1) experimental; urgency=low
+
+ * LibreOffice 3.3 beta3
+ - Set correct default formula syntax value in case it's not
+ explicitly set (closes: #527535)
+ - includes OpenOffice.org 3.3.0 release branch milestone 10, so:
+ + fixes several vulerabilities:
+ . soffice script does not treat empty LD_LIBRARY_PATH like unset one
+ (CVE-2010-3689)
+ . Crash in WW8DopTypography::ReadFromMem (CVE-2010-3454)
+ . Crash in SwRTFParser::ReadNumSecLevel (CVE-2010-3452)
+ . Out of bounds write in WW8ListManager::WW8ListManager()
+ (CVE-2010-3453)
+ . Loading certain RTF document leads to corrupt table model
+ (CVE-2010-3451)
+
+ * debian/patches/buildfix-patches.diff:
+ openoffice.org-report-builder -> libreoffice-report-builder
+ * debian/patches/hack-no-rm-fr-of-smoketest-userconfig.diff: don't try
+ to remove user dir on smokest, rm -f -r mysteriously fails
+
+ * debian/control.in:
+ - make -math depend on ttf-opensymbol (>> 2:2.4.3~) (closes: #603203)
+ - remove build-dep on imagemagick
+ - replace old openoffice.org-{base,math,draw,impress,common,kde,writer,calc}
+ (closes: #602866)
+ - stop build-depending on libpam0g-dev, pam-needing stuff gone
+ * debian/copyright:
+ - update again, it's actually supposed to be "Copyright (c) 2000, 2010
+ LibreOffice contributors and/or their affiliates."
+ - add dmake/dbug/*, thanks Alexander Schmehl
+ * debian/rules:
+ - revert system-{graphite,cppunit,stlport} changes in 1:3.3.0~beta2-2
+ - stop building with --enable-hids per default again, slows down the build
+ and we don't use the VCL Testtool anyway
+ - use new --enable-broffice
+ - remove manual installing of LibO splash (LibO now also supports intro.png)
+ - update .desktop file/icon installation to actually give sensible results
+ (Exec= and Icon=; fix up broffice.org changes) (closes: #602883)
+ - stop trying to change the product name in ooo*.res and versionrc;
+ apparently it is not needed anymore (and doing so breaks BrOffice.org
+ About) (closes: #602868)
+ - we need to explicitly add --enable-build-unowinreg now
+ - also disable the "subsequent tests" on non-openjdk builds
+ * debian/broffice.org.p*.in: adapt diversions for new intro.png;
+ remove ooo*.res/versionrc diversions
+ * debian/soffice-template.desktop.in: update for LibreOffice and ..
+ * debian/templates/soffice-template.desktop.in: ... move here
+ * debian/templates/debian-presentation*: add Debian presentation template,
+ thanks Raphael Hertzog (closes: #602043)
+ * debian/rules, debian/control.in: add Bugs: header to divert reports on
+ backports to debian-backports@l.d.o
+ * debian/rules, debian/control.in: hi-IN -> hi
+ * debian/watch: update to look for libreoffice-build
+ * debian/smoketest/smoketest-disable-db-insert-delete-seek-tests.diff:
+ rediff (closes: #603008)
+ * debian/control.in, debian/rules: remove .org from BrOffice stuff
+ * debian/broffice.org.*: move ...
+ * debian/broffice.* ... here
+
+ -- Rene Engelhard <rene@debian.org> Fri, 12 Nov 2010 23:23:52 +0000
+
+libreoffice (1:3.3.0~beta2-2) experimental; urgency=low
+
+ * debian/patches/buildfix-patches.diff: don't apply fields-table-formula.diff
+
+ * debian/control.in:
+ - add missing build-depends on automake
+ * debian/rules, control.lenny_squeeze_transitional.in:
+ - remove lenny->squeeze transitional packages, obsolete and not
+ needed here anyways with the OOo -> LibO move
+ * debian/rules:
+ - temporarily disable system-{graphite,cppunit,stlport} on i386,
+ will be reeenabled when beta3 included the necessary patches to
+ make this work
+ - fix clean to remove some generated localize-related files
+ * debian/copyright: update
+
+ -- Rene Engelhard <rene@debian.org> Mon, 18 Oct 2010 15:26:07 +0200
+
+libreoffice (1:3.3.0~beta2-1) experimental; urgency=low
+
+ * welcome, LibreOffice 3.3 beta 2 (aka 3.2.99.2)
+ - includes OpenOffice.org 3.3.0 release branch milestone 9, so:
+ + fixes hebrew text in sheet tabs when using system fonts
+ (closes: #433231)
+ + fixes directory traversal vulnerability in OOo (CVE-2010-3450)
+
+ * switch to new LibreOffice build infrastructure (more or less ooo-build,
+ though), update Homepage:.
+ LO uses own splash, so this indirectly closes: #529709
+
+ * debian/*: loads of OpenOffice.org -> LibreOffice changes
+
+ * debian/rules:
+ - add and rework target(s) for new external sources handling upstream
+ - updates for (OOo) 3.3 and its various configuration changes
+ - move oo-*ldap.xcd.sample to /usr/share/openoffice.org-common/examples
+ - unpack extensions to /usr/lib/openoffice/share/extensions instead of
+ shipping the oxt
+ - adapt jar locations to actually match Java policy: public jars
+ inside /usr/share/java (and /usr/lib/ure/...) and "internal" ones
+ to /usr/share/java/basisX.Y/program/classes. Keep the symlinks there
+ - remove WITH_SPLIT option, upstream vanilla tarballs not supported by
+ new ooo-build build anymore
+ - temporarily disable -sdbc-postgresql as unopkg apparently has problems
+ with .zips now...
+ - use convert directly for copnverting to 24bpp bmp instead of using fix_bmp_rgb
+ - opens___.ttf has an own version number; reflect this in the package version
+ * debian/control.in, debian/rules: adapt for "Test Cleanup". Build-depend
+ on libcppunit-dev and junit4. Remove xvfb.
+ * debian/*.{pre,post},{inst,rm}.in, debian/shell-lib-{components,extensions}:
+ cleanup. remove unused THIS_SCRIPT. Use dpkgs DPKG_MAINTSCRIPT_PACKAGE
+ instead of THIS_SCRIPT
+ * debian/shell-lib-extensions.sh: remove add_extension(), not needed anymore;
+ add new validate_extensions() and sync_extensions()
+ * debian/*.postinst.in, debian/*.prerm.in: Remove unopkg calls for
+ extensions in prerm and postinst, as we don't need them anymore
+ * debian/control*in: remove Pre-Depends: on openoffice.orgVER-common
+ * debian/*.preinst.in: when upgrading from a m84 or newer, don't run unopkg
+ remove anymore
+ * debian/control.in:
+ - move binfilter to suggests (and remove from openoffice.orgs
+ Description), it is not in the default install anymore
+ - generalize -style-* Breaks: in common to always break -style-*
+ (<< ${basis-version}) and add a Breaks on (>= 1:{next-basis-version})
+ so that we don't "loose" icons because of not-matching basis. Thanks
+ Michael Tokarev for pointing this out.
+ * debian/uno-libs3.symbols: update
+ * debian/icons: remove again
+ * debian/broffice.org*: update diversions
+ * debian/Recovery.xcu: remove, we now need to to this in main.xcd
+ * debian/rules, debian/scripts/vars.powerpcspe: add powerpcspe support
+ (Sebastian Andrzej Siewior) - closes: #594038
+ * debian/openoffice.org-common.triggers, debian/shell-lib-extensions.sh:
+ add trigger for openoffice.org-common to run unopkg sync after all
+ extensions in /usr/lib/openoffice/share/extensions have been
+ installed/updated
+ * debian/control.in, debian/rules: stop building industrial package
+ * debian/scripts/fix_bmp_rgb: remove
+ * debian/catalog.xml: move ...
+ * debian/catalog.xml.in: ... here and fix path to dtd
+ * debian/udk*in, debian/xmerge-javadoc.in: Sun Microsystems, Inc -> Oracle
+
+ -- Rene Engelhard <rene@debian.org> Wed, 13 Oct 2010 19:34:53 +0200
+
+openoffice.org (1:3.2.1-7) unstable; urgency=low
+
+ * debian/patches/add-some-missing-german-translations.diff: as named,
+ thanks Andre Schnabel
+ * debian/patches/pdf-link-export-fix.diff: import from ooo-build master;
+ don't export PDFs with damaged xref table (closes: #594275)
+
+ * debian/control.in:
+ - we use bc in debian/rules control, we probably should build-dep on it
+ * debian/rules:
+ - change Class-Path: of jurt.jar to contain /usr/lib/ure/lib hardcoded
+ as otherwise libjpipe.so (needed in the Java bridge) is not found...
+ * debian/scripts/fix_image_rgb: -resize to 548x364 to work around
+ i#95472 (closes: #513746)
+
+ -- Rene Engelhard <rene@debian.org> Wed, 22 Sep 2010 17:58:25 +0200
+
+openoffice.org (1:3.2.1-6) unstable; urgency=high
+
+ * debian/patches/reduce-height-on-dialogs-for-netbooks.diff: add
+ patch from ooo-build-3-2-1 branch to reduce the PDF export and Recovery
+ dialogs to fit on Netbooks (closes: #531930)
+ * debian/patches/regcomp-fix-spelling.diff: succesful -> successful
+ (closes: #593440)
+ * debian/patches/shift-translations.diff: some translations must be shifted
+ in the itemlist; backported from ooo-build-3-2-1 branch (closes: #593234)
+ * debian/patches/SA40775.diff: fix CVE-2010-2935 and CVE-2010-2936
+ aka SA40775: two buffer-overflow vulnerabilities in OpenOffice.org Impress
+
+ * merge from Ubuntu (thanks Loic Minier):
+ - Pass the same -v to "dh_makeshlibs --" (for dpkg-gensymbols) as to
+ "dh_gencontrol --" (for dpkg-gencontrol); some symbols are missing from
+ the symbols files and hence ure symbols have bogus dep on ure >=
+ source-version which can't be satisfied as ure uses another versioning
+ scheme
+
+ -- Rene Engelhard <rene@debian.org> Thu, 19 Aug 2010 15:52:11 +0200
+
+openoffice.org (1:3.2.1-5) unstable; urgency=medium
+
+ * debian/patches/odk-configure-honour-ure-link.diff: fix the (unneeded)
+ configure.pl of the SDK to honour ure-link (closes: #588495)
+ * debian/patches/fix-i113084.diff; fix easy to trigger crash in macro
+ recorder (from upstream)
+ * debian/patches/fix-i113461.diff: do not freeze after erasing non-breaking
+ space inserted by French AutoCorrection (from upstream)
+
+ * debian/rules:
+ - for safety, add a build-conflicts against libhsqldb-java (>> 1.8.1~)
+ - move startcenter.png install to the rest of hicolor icons install;
+ don't install ooo-build desktop icons when using sysui desktops
+ - move LDAP.xcu.sample to /usr/share/openoffice.org-common/examples
+ * debian/control.in:
+ - make new -common Breaks: older openoffice.org-core (closes: #587750)
+ * debian/control.kde.in:
+ - remove obsolete Pre-Depends:
+
+ -- Rene Engelhard <rene@debian.org> Wed, 28 Jul 2010 22:26:58 +0200
+
+openoffice.org (1:3.2.1-4) unstable; urgency=medium
+
+ * debian/patches/fix-smoketest-without-java.diff: complete fix,
+ I missed some parts and had the conditional wrong...
+ * debian/patches/fix-system-saxon.diff: fix configure check/makefile
+ for system saxon; doesn't work at runtime yet, though
+
+ * debian/rules:
+ - fix builds without Java
+ - update smoketest conditional, enable smoketest uncoditionally when
+ building without Java
+ - build without the layout dialogs again, broken in various ways
+ (closes: #587171, #575908)
+ - use the vanilla app icons when USE_OOO_BUILD_DESKTOPS=n (closes: #512731);
+ install fixed startcenter.png
+ * debian/control.in, debian/rules:
+ - build for only the default python again (closes: #587402)
+ * debian/icons/sysui: add fixed startcenter.png to match the rest from
+ 3.3
+
+ -- Rene Engelhard <rene@debian.org> Tue, 29 Jun 2010 09:42:53 +0200
+
+openoffice.org (1:3.2.1-3) unstable; urgency=low
+
+ * ooo-build:
+ - update (3.2.1.4)
+
+ * debian/rules:
+ - make smoketest install into debian/smoketest/tmp as some buildds
+ only have a 128m /tmp...
+ - don't run smoketest on gcj archs when on the buildds
+
+ -- Rene Engelhard <rene@debian.org> Wed, 16 Jun 2010 22:16:01 +0200
+
+openoffice.org (1:3.2.1-2) unstable; urgency=low
+
+ * debian/patches/powerpc-fixes.diff: add powerpc fix and powerpcspe
+ support, thanks Sebastian Andrzej Siewior
+ * debian/patches/fix-smoketest-without-java.diff: disable tests which
+ need Java if Java is disabled
+ * debian/patches/fix-nodep-check.diff: fix ooo-builds check whether
+ we can enable nodep=true to actually work with system dmake. Big effect
+ on build time
+ * debian/patches/installer-globals-max-1-regcomp.diff: only try to register
+ one component at a time
+ * debian/patches/kde4-statusbar-redrawing-border-width.diff: backport; add
+ better border width (closes: #584322)
+
+ * debian/control.in:
+ - update Vcs-Bzr:
+ * debian/rules:
+ - run smoketest for armel again (the logic was flawed anyway and
+ disabled smok)etest for all archs)
+ * debian/smoketest/*, debian/rules: disable Database{Insert,Delete,Seek}
+ tests on armel. No regression. Base (still) unusable, though :/
+ * debian/rules, debian/control*in: disable Base and associated stuff for
+ armel (As Base is now gone this closes: #585829)
+
+ -- Rene Engelhard <rene@debian.org> Mon, 14 Jun 2010 17:33:19 +0200
+
+openoffice.org (1:3.2.1-1) unstable; urgency=medium
+
+ * OpenOffice.org 3.2.1 final (OOO320_m19)
+
+ * translation-updates-20100529: oops, this has to be ....
+ * translation-updates-20100526: ... this
+
+ * ooo-build:
+ - update (3.2.1.3)
+
+ * debian/patches/hu-translation-fixes.diff: add hu translation fixes
+ from ooo-build-3-2-1 branch
+ * debian/patches/backport-ftruncate-check.diff: add from ooo-build-3-2-1
+ branch - check for success of ftruncate(). Fixes OOo start when $HOME is
+ on cifs
+ * debian/patches/fix-incorrect-automatic-print-area-assignment.diff: as
+ the name says, also from ooo-build-3-2-1 branch
+ * debian/patches/fix-save-performance-with-hidden-rows.diff: add patch
+ from ooo-build-3-2-1 branch to fix performance when saving with hidden
+ rows (closes: #582785)
+
+ * debian/rules:
+ - use Oracles tarballs again
+ - actually remove $(STAMP_DIR) in clean
+ * debian/changelog: mention security fix in rc1s changelog
+
+ -- Rene Engelhard <rene@debian.org> Sat, 05 Jun 2010 07:02:54 +0200
+
+openoffice.org (1:3.2.1~rc2-2) experimental; urgency=low
+
+ * debian/patches/extensions-mozilla-plugin-pc-if-libxul.diff: remove
+ again ..
+ * debian/patches/fix-bashisms-in-configure.diff: in favour of the
+ correct fix (== vs. = breaking with dash)
+
+ * debian/rules:
+ - use system mdds
+ - fix variable to not add kfreebsd-i386 to OOO_MONO_ARCHS twice but
+ to actually add it to OOO_MOZILLA_ARCHS
+ - OpenJDK crashes on runtime on armel, run the tests using gcj, still
+ breaks though so disable smoketest on armel for now
+
+ -- Rene Engelhard <rene@debian.org> Sun, 30 May 2010 19:43:23 +0200
+
+openoffice.org (1:3.2.1~rc2-1) experimental; urgency=low
+
+ * OpenOffice.org 3.2.1rc2 (OOO320_m18)
+
+ * ooo-build:
+ - update (3.2.1.2)
+ - also add cifs to the locking conditionals in soffice.sh
+ - redraw the status bar when needed in KDE4 (closes: #570570)
+
+ * translation-updates-20100529: update GSIs from ftp.linux.cz
+
+ * debian/control.lenny_squeeze_transitional.in: move packages to
+ localization, where they belong
+ * debian/control.in:
+ - add Breaks: -style-* as with new -common and old -style the newly branded
+ startcenter is broken, thanks Mechtilde Stehmann
+ * debian/rules,
+ debian/openoffice.org-{filter-binfilter,evolution,kab}.bug-script.in:
+ fix component bug scripts and add the kab one
+ * debian/rules:
+ - start a next try to run the smoketest after the build. move the tests in
+ the non-fakeroot part of the build (call test in build)
+ - explicitly set LD_PRELOAD so that we don't get loads of
+ libfakeroot-sysv.so preloading errors during make install anymore
+ - temporarily use "split" tarballs again
+ * debian/rules, debian/po/*, debian/control*in, debian/*.lintian*:
+ remove debconf error when OOo is running again (closes: #565692)
+ * debian/broffice.org.postinst.in: guard against $2 being empty
+
+ -- Rene Engelhard <rene@debian.org> Wed, 26 May 2010 01:37:03 +0200
+
+openoffice.org (1:3.2.1~rc1-2) experimental; urgency=low
+
+ * ooo-build:
+ - update (3.2.1.1)
+ - cws-kfreebsdport01v2.diff: update to fix SDK for kfreebsd-*
+ - fix-arm-eabi-bridge.diff: update with newest patch also fixing
+ extensions
+ - reportbuilder-mention-package-l10n.diff: don't remove translation we
+ should keep (dbuimiscres.src)
+
+ * debian/rules, debian/control.in: stop building libmythes-dev (now built
+ again by mythes)
+ * debian/rules:
+ - re-enable extensions on armel
+ - make grep -v for RID_STR_EXTENSION_NOT_PRESENT stricter so that
+ we don't catch dbumiscres.src
+ * debian/copyright: mention mdds
+
+ -- Rene Engelhard <rene@debian.org> Fri, 14 May 2010 10:04:51 +0200
+
+openoffice.org (1:3.2.1~rc1-1) experimental; urgency=low
+
+ * OpenOffice.org 3.2.1 rc1 (aka OOO320_m17)
+ - avoids execution of python code when browsing macros (CVE-2010-0395)
+ - fixes crash when copying text to clipart and then exporting with RTF.
+ Although not being RTF upstream says this also closes: #575109
+
+ * ooo-build:
+ - update (3.2.0.99.3)
+
+ * translation-updates-20100506: update GSIs from ftp.linux.cz
+
+ * debian/patches/fix-system-mythes-for-mythes-1.2.diff: adapt build
+ for mythes 1.2
+
+ * debian/rules,
+ debian/openoffice.org-{report-builder,presentation-minimizer}.*:
+ adapt for new .oxt filenames for -report-builder and
+ -presentation-minimizer
+ * debian/copyright: update for (C) Oracle
+ * debian/rules:
+ - get intro.bmp (still needed due to oosplash) from intro.png, remove
+ unused intro.png again
+ - update get-orig-source target for 3.0 (quilt)
+ - fix/update get-orig-source to current state wrt hyphenation patterns
+ * debian/broffice.org.*: update diversions for new about.png
+
+ -- Rene Engelhard <rene@debian.org> Sun, 09 May 2010 18:55:41 +0200
+
+openoffice.org (1:3.2.0-9) unstable; urgency=low
+
+ * debian/patches/cws-kfreebsdport01v2.diff: add kFreeBSD port patches,
+ thanks Petr Salinger (closes: #578023)
+ * patches/fix-localized-filenames.diff: backport fix from upstream to
+ fix the "localized" names of the extras when the en-US version is used
+ * debian/patches/debian/patches/fix-arm-eabi-bridge.diff: updated patch
+ from caolan from cws armeabi02 to fix the ARM EABI bridges
+ * debian/patches/fix-calc-formula-option-tree.sdf.diff: fix ooo-build patch
+ for xx-IN -> xx move
+
+ * debian/control*.in:
+ - Build-Depends: libc0.1 (>= 2.10.2-7) [kfreebsd-i386 kfreebsd-amd64]
+ * debian/rules:
+ - fix langpacks target to actually remove extra LICENSE* and README*
+ files again
+ - fix build with new dpkg 1.15.7
+ - fix es translation for SC_OPCODE_SUBSTITUTE, thanks Margarita Manterola
+ (closes: #578767)
+ - enable kfreebsd-{i386,amd64}
+ - actually add subsitution for java-runtime-depends to dh_gencontrol -i call
+ * debian/scripts/vars.kfreebsd-*: add PLATFORMID
+ * debian/shlibs.override.libc: force libc0.1 dependency to (>= 2.10.2-7)
+ * debian/control.in, debian/rules: use textcat data from
+ libtextcat-data-utf8 if the same with "ours". B-D-I on libtextcat-data-utf8
+ to find that out
+ * merge from Ubuntu:
+ - add ENABLE_SDBC_POSTGRESQL variable and disable the build of the
+ arch-dep extensions when we don't package them anyways
+ - change the way components like -evolution or -filter-binfilter are
+ registered so that we do not need to pre-depends on
+ openoffice.org-core anymore (thanks Michael Vogt)
+ * debian/rules, debian/control.sdk.in: stop suggesting/recommending
+ java2-compiler, add the JAVA_RUNTIME_DEPENDS we already use instead.
+ * debian/control.in, debian/rules: move netpbm, fdupes and xml-core to
+ Build-Depends-Indep
+
+ -- Rene Engelhard <rene@debian.org> Sat, 01 May 2010 18:05:16 +0200
+
+openoffice.org (1:3.2.0-8) unstable; urgency=low
+
+ * Brown paper bag release.
+
+ * debian/rules:
+ - fix OOO_BINFILTER_ARCHS setting so that we don't build it for arm(el)
+ again
+ - fix builds without arch-dep extensions to not fail at dh_genchanges
+ - add Replaces: to l10n-xx for l10n-xx-in (for safety, seems to work
+ otherwise as the filenames change)
+ * debian/control.mysqlc.in: s/OOO_ARCHS/OOO_ARCH_DEP_EXTENSIONS_ARCHS/
+ * debian/changelog: remove bogus changelog entry
+
+ -- Rene Engelhard <rene@debian.org> Thu, 15 Apr 2010 09:35:00 +0200
+
+openoffice.org (1:3.2.0-7) unstable; urgency=low
+
+ * ooo-build:
+ - update (3.2.0.10)
+
+ * debian/patches/branch-update-bc571534c9b7435429003010d733e9c3a34df32d.diff:
+ remove
+ * debian/patches/es-fix-buleano.diff: fix spanish "boolean value" translation
+ (closes: #576842)
+ * debian/patches/nsplugin-path-handle-relative-symlinks.diff: add patch
+ from upstream to handle relative symlinks (closes: #570452)
+ * debian/patches/nsplugin-long.diff: add patch from issue 110747 to fix
+ the plugin on 64bit archs
+
+ * debian/rules, debian/shlibs.*: fix shlib-dependencies to not depend
+ on the kdelibs5 transitional package anymore when built with KDE 4.4
+ * debian/rules:
+ - remove trailing ), breaking the libmysqlcppconn-dev build-dep on sparc
+ - disable binfilter building on mips(el) like we do on arm(el) to save
+ build time
+ - remove libnpsoplugin.so symlinks in dirs except /usr/lib/mozilla
+ (which is the canonical location)
+ * debian/scripts/vars.s390x: add, we have S390X conditionals in rules
+ after all
+ * debian/rules, debian/control*in: GAH, I missed that armel has broken
+ arch-dep extensions, Reintroduce %OOO_ARCH_DEP_EXTENSIONS_ARCHS%
+ * debian/control.in: add also Pre-Depends on -common for -evolution to
+ work around APT bug (thanks Ubuntu..).
+ Do the same for -filter-binfilter to make it have orrect Pre-Depends:
+ again
+ * debian/rules, debian/control.lenny_squeeze_transitional.in: add
+ transitional packages for xx-IN -> xx move as Conflicts/Provides/Replaces
+ alone doesn't seem to work
+
+ -- Rene Engelhard <rene@debian.org> Tue, 13 Apr 2010 15:28:02 +0200
+
+openoffice.org (1:3.2.0-6) unstable; urgency=low
+
+ * debian/patches/cws-linuxaxp01.diff: update
+ * debian/patches/branch-update-f7b99eb375dea6024a48ca1b41f8bc76c220a38e.diff:
+ move ...
+ * debian/patches/branch-update-bc571534c9b7435429003010d733e9c3a34df32d.diff:
+ ... here and update to current git
+ - removes (bogus) last hunk in last interator usage fix (closes: #576665)
+
+ * debian/rules:
+ - remove obsolete filter-out for libmysqlcppconn-dev builddep so it
+ actually gets added for i386...
+ - add -F0 to QUILT_OPTIONS
+ - re-enable arch-dep extensions for m68k
+ - fix rule for replacing the old -in packages to not add it in
+ uppercase (closes: #576721)
+ - fix python-uno install for 2.6. $(shell is bad here
+ * debian/rules, debian/control*in: remove %OOO_ARCH_DEP_EXTENSIONS_ARCHS%
+ again
+
+ -- Rene Engelhard <rene@debian.org> Wed, 07 Apr 2010 00:27:20 +0200
+
+openoffice.org (1:3.2.0-5) unstable; urgency=low
+
+ * ooo-build:
+ - update (3.2.0.9)
+ - branch_directly_to_cpp_vtable_call_on_arm.diff: adds
+ ARM bridges fix from issue 105359
+
+ * debian/patches/update-mysqlc.diff: "update" MySQL Connector to the
+ version which (unnannounced) went in to 3.2.1
+ * debian/patches/cws-linuxaxp01.diff: add alpha port from issue 110145
+ * debian/patches/fix-system-redland.diff: remove redland patches
+ allowing to use system-redland and reset security preferences (from issues
+ 108911 and 110523)
+ * debian/patches/branch-update-f7b99eb375dea6024a48ca1b41f8bc76c220a38e.diff:
+ update ooo-build-3-2 branch
+ - Fix invalid iterator usage in X11SalGraphics::drawPolyPolygon
+ (closes: #575758)
+
+ * debian/shell-lib-extensions.sh: handle non-existant basis-link
+ (closes: #561498)
+ * debian/rules:
+ - re-enable system-mysqlcppconn (also in the STLport case)
+ - re-enable armel, disable arch-dep extensions for it now, though
+ - fix build with 1.0 source format. Add missing uuencode for the extra
+ "3.0 (quilt)" components. Use "normal" quilt for patching, add build-dep
+ - disable system-boost on lenny
+ - remove ant1.7 workaround, add build-conflicts against ant 1.8.0-{1,2,3}
+ - update get-ooo-build and get-orig-source tergets to create
+ .orig-ooo-build-X.Y.z.tar.gz, too and remove obsolete vcsupdate target
+ - fix libservlet2.x-java package/jar name detection, thanks calc for the
+ info
+ - enable alpha
+ - enable system-redland
+ - due to the reland change: switch to libcurl4-gnutls-dev (closes: #391671)
+ - sort arch lists, patch from Chris Cheney
+ - install uno.py and unohelper.py for all supported python versions
+ (closes: #476213)
+ * debian/README.Debian-source: update for 3.2, mention new extra compnents
+ * debian/scripts/vars.alpha: add
+ * debian/control*.in:
+ - remove full-featured from short description to accommodate longer
+ language names (closes: #566606)
+ - Standards-Version: 3.8.4 (no changes)
+ - fix python-unos description
+ - fix Breaks: on -sdbc-postgresql for lenny-backports (allow -4~...)
+ - hack: "lower" Pre-Depends: on -java-common to -common for -report-builder.
+ Add -java-common to Depends: instead (closes: #571771)
+ * debian/po:
+ - add nb.po, thanks Bjørn Steensrud
+ - add vi.po, thanks Clytie Siddall (closes: #576122)
+
+ -- Rene Engelhard <rene@debian.org> Mon, 05 Apr 2010 15:24:55 +0200
+
+openoffice.org (1:3.2.0-4) unstable; urgency=low
+
+ * debian/patches/update-postgresql-sdbc-to-0.7.6a.diff:
+ update PostgreSQL driver to 0.7.6a (closes: #572590).
+ Hack around 0.7.6+... > 0.7.6a+... by keeping 0.7.6 as version.
+ * debian/control.in:
+ - add Breaks: openoffice.org-sdbc-postgresql (<< 1:0.7.6+OOo3.2.0-4)
+ for -base
+ * debian/copyright: update
+
+ -- Rene Engelhard <rene@debian.org> Fri, 05 Mar 2010 16:41:14 +0100
+
+openoffice.org (1:3.2.0-3) unstable; urgency=low
+
+ * debian/control.in: update Vcs-Bzr:
+ * debian/rules:
+ - build-depend on ant1.7 on gij-using archs (see #571532)
+ - conditionalize armel build; re-enable on lenny-backport - that still
+ should work
+ - change build version to omit openoffice.org-core but mention ooo-build
+ release instead
+
+ -- Rene Engelhard <rene@debian.org> Wed, 03 Mar 2010 13:49:25 +0100
+
+openoffice.org (1:3.2.0-2) unstable; urgency=low
+
+ * ooo-build:
+ - update (3.2.0.7)
+ - really localize the layout dialogs (closes: #570378)
+ - gcc-HelpLinker.diff: work around HelpLinker miscompile with gcc 4.3
+ by using -O0, thanks Phillip Matthias Hahn (see #555026)
+
+ * debian/control.in:
+ - make -base depend on -java-common (>= 1:3.2.0~) (closes: #570335). Also
+ fix conflicts against -help for 2.4 and 3.1. Thanks Tim Richardson
+ - stop -filter-binfilter pre-depending on new(er) core to unbreak
+ upgrades (closes: #570361) though stricly it'd be needed...
+ - remove obsolete X-Vcs-Git: - we use ooo-builds release tarballs now
+
+ * debian/rules, debian/source/*: migrate to "3.0 (quilt)" with bzip2
+ compression
+ * debian/po: add sk.po, thanks Ivan Masár (closes: #571225)
+
+ -- Rene Engelhard <rene@debian.org> Thu, 25 Feb 2010 12:48:40 +0100
+
+openoffice.org (1:3.2.0-1) experimental; urgency=low
+
+ * OpenOffice.org 3.2.0 final (same as RC5)
+
+ * ooo-build:
+ - update (023b7794da1e7eda6857466b839562177b13c903)
+ - fix logic for nfs/smb detection to actually work; also export
+ STAR_PROFILE_LOCKING_DISABLED=1 when on nfs|smb/FILE_LOCKING=no
+ (closes: #568672) and also copy it over to unopkg (closes: #568036).
+ Also split home on nfs and file on nfs tests, thanks Alex Bodnaru
+ - actually apply mysqlcppconn-mysqlclient-SONAME.diff (closes: #560788)
+ - desktop-initial-preference-5.diff: add InitialPreference=5 to make
+ OOo have a priority over koffice or even okular for ODF documents
+ (closes: #549940)
+
+ * debian/control.in:
+ - build-conflict against graphicsmagick-imagemagick-compat (<< 1.3.9¨),
+ suggest imagemagick | graphicsmagick-imagemagick-compat instead of
+ vice-versa (closes: #569124)
+ - build-depend on libjpeg-dev instead of libjpeg62-dev
+ * debian/rules:
+ - wrap KDELIBS_MINVER for KDE4 into ifneq "$(LENNY_BACKPORT)" "y" as it
+ for some reason also gets used for lenny-backports which has KDE3..
+ * debian/control.ure.in: fix uno-libs3*'s ure replaces
+ * debian/changelog: mention security fixes in last uploads
+ * debian/po:
+ - add ro.po, thanks Ionel Mugurel Ciobica
+ - add updated ar.po, fr.po (closes: #568596), ja.po (closes: #568605), ru.po
+ * debian/ure.preinst, debian/shell-lib-{extensions,components}:
+ - add a || true to db_input/db_go where missing (closes: #569840)
+
+ -- Rene Engelhard <rene@debian.org> Mon, 15 Feb 2010 19:57:40 +0100
+
+openoffice.org (1:3.2.0~rc5-2) experimental; urgency=low
+
+ * ooo-build:
+ - update (f390aa944ea0330c26a983408766293df1cc4c3f)
+
+ * debian/rules:
+ - re-enable -gcj again as gcc-defaults migrated
+ - add explicit build-dep on mingw32-runtime when using gcc-mingw32,
+ see #567698
+ * debian/control.in:
+ - update Java packages in openoffice.orgs description
+
+ -- Rene Engelhard <rene@debian.org> Thu, 04 Feb 2010 13:50:05 +0100
+
+openoffice.org (1:3.2.0~rc5-1) experimental; urgency=low
+
+ * OpenOffice.org 3.2.0 release candidate 5 (OOO320_m12)
+
+ * ooo-build:
+ - update (d1c34f500fba2e2bd02377587e8c3d0414d8f23c)
+ - fix-es-accelerators.diff: fix "accelarators" for es (closes: #567384)
+
+ * debian/rules:
+ - move from manual installing of the bug files to dh_bugfiles, bump
+ debhelper builddep
+ * debian/*.control.bug, debian/*.script.bug.in, debian/presubj: move ...
+ * debian/*.bug-control, debian/*.bug-script.in, debian/bug-presubj: ... here
+ * debian/control.in:
+ - make -base conflict against openoffice.org-report-builder (<< 1.2.0~) and
+ openoffice.org-report-builder-bin (<< 1:3.2.0~)
+ * debian/control*in:
+ - make -core depends on ure (>= 1.5.1+OOo3.1.1-15) to get
+ above fix and make all extensions/conflicts conflict against older ures.
+ (closes: #566832, #566829, #566189)
+ - make -core conflict against ure (>= 1.6.0~), thanks Alex Bodnaru
+ (closes: #566062)
+ * debian/ure.templates.in, debian/po/*: Add debconf note for the "broken
+ rdbs" problem.
+ * debian/po: add updated de,po it.po, cs.po, es.po, zh_CN.po,
+ sv.po (closes: #568017), pt.po (closes: #568026), eu.po (closes: #568077)
+
+ -- Rene Engelhard <rene@debian.org> Wed, 03 Feb 2010 21:53:49 +0100
+
+openoffice.org (1:3.2.0~rc4-1) experimental; urgency=low
+
+ * OpenOffice.org 3.2.0 release candidate 4 (OOO320_m11)
+
+ * ooo-build:
+ - update (88ffff08f56f252264b491d0022e05d0d7639747)
+ - src: add fixed es GSI from issue 108563
+
+ * debian/rules:
+ - re-enable system-stlport as a updated patch works with STLport 4.6
+ - also exclude /var/lib/openoffice/basisX.Y/program/services.rdb at
+ dh_md5sums
+ - build without VERBOSE=true (normal) mode on all buildds now in a try
+ to mitigate buildd log size
+ * debian/shell-lib-{extensions,components}.sh: add echos instead of debconf
+ message on DEBIAN_FRONTEND = noninteractive so that people in that case also
+ know what goes on
+ * debian/openoffice.org-common.tenplates,in, debian/rules, debian/po*: Move
+ debconf template to shared/openofficeorg-running (see #566644); Unfuzzy.
+ * debian/control.presenter.in: depend on (our) OOo 3.2
+ * debian/control.in: Breaks: openoffice.org-presenter-console (<< 1.0.3~)
+
+ -- Rene Engelhard <rene@debian.org> Wed, 27 Jan 2010 18:29:51 +0100
+
+openoffice.org (1:3.2.0~rc3-1) experimental; urgency=low
+
+ * OpenOffice.org 3.2.0 release candidate 3 (OOO320_m10)
+
+ * ooo-build:
+ - update (86bf4b50ea8d350ecaed08451b32f86710d611c0)
+
+ * merge 1:3.1.1-14
+
+ -- Rene Engelhard <rene@debian.org> Sun, 17 Jan 2010 15:08:05 +0100
+
+openoffice.org (1:3.1.1-14) unstable; urgency=medium
+
+ * ooo-build:
+ - update (2953d9ac150d05f8774712294a792302bc15ade1)
+
+ * debian/rules
+ - fix conditionals to also add gcj-jdk builddep in non--gcj-build cases
+ as we have archs needing it also for "normal" builds
+ - add -Xjavasettingsunopkginstall.xml so that it doesn't end up in
+ .md5sums, thanks Loic Minier
+
+ -- Rene Engelhard <rene@debian.org> Fri, 15 Jan 2010 13:04:39 +0100
+
+openoffice.org (1:3.2.0~rc2-1) experimental; urgency=low
+
+ * OpenOffice.org 3.2.0 release candidate 2 (OOO320_m9)
+ - fixes table wizard problem; get data source correctly (closes: #553612)
+
+ * ooo-build:
+ - switch to ooo-build-3-2 branch
+ - update (fd8a89475d134bb24f8082e94f3bf0fefbea3bd5)
+
+ * debian/control.in:
+ - actually fix Vcs-Bzr:
+
+ * debian/rules:
+ - use internal STLport and use system-graphite also on i386 (4.6 won't
+ work)
+ - work around weird crash in the build by build-conflicting against
+ libstlport4.6-dev when building with internal STLport
+ - remove explicit GCC_VERSION := 4.4 setting
+
+ * merge 1:3.1.1-12 and -13
+
+ -- Rene Engelhard <rene@debian.org> Tue, 12 Jan 2010 23:37:02 +0100
+
+openoffice.org (1:3.1.1-13) unstable; urgency=medium
+
+ * ooo-build:
+ - switch to own debian-3-1-1 branch
+ - update (6feb90398c1e18eb4951af3c1be4f4d4c8e6861a)
+
+ * debian/rules:
+ - actually also remove armel from OOO_JAVA_ARCHS and OOO_MOZILLA_ARCHS;
+ remobe stray arm from OOO_MOZILLA_ARCHS
+ - temporarily disable -gcj to get a chance to get into testing
+ (gcc-defaults is blocked)
+ - per request from the security team: use internal mysqlcppconn for
+ all archs (consistency), instead of only for i386
+ * debian/shell-lib-{extensions,components}.sh: add missing .lock to actually
+ check for the extistence of the lockfile and not for the profile dir, thanks
+ Chris Cheney
+
+ -- Rene Engelhard <rene@debian.org> Tue, 12 Jan 2010 23:25:59 +0100
+
+openoffice.org (1:3.1.1-12) unstable; urgency=medium
+
+ * ooo-build:
+ - update (bfe183f5f669daea3dd91d13fea47b2ddc8e370)
+ - odk-unowinreg-osdir.diff: add missing -I.../include/linux also for
+ gcj
+
+ - surrender and disable armel until the bug in the bridges is fixed...
+ - disable mono on sparc
+
+ -- Rene Engelhard <rene@debian.org> Fri, 25 Dec 2009 23:05:26 +0100
+
+openoffice.org (1:3.2.0~rc1-1) experimental; urgency=low
+
+ * OpenOffice.org 3.2.0 release candidate 1 (OOO320_m8)
+
+ * ooo-build
+ - update (26ed7c54320e44e0d31005c7db78194257ec80c8)
+ - fixes vba macros not honouring macro security settings (CVE-2010-0136)
+ - makes "Always allow saving of document" configurable (closes: #478130)
+ - src: add OOO320 GSIs from ftp.linux.cz
+
+ * debian/rules:
+ - re-enable eo; enable ast (asturian)
+ - enable hppa, use gcj-jdk
+ - --enable-layout
+ - install Recovery.xcu (see below)
+
+ * debian/Recovery.xcu: add Recovery.xcu to make OOo handle
+ GNOME session close (see issue 105172)
+
+ * merge 1:3.1.1-9 to 1:3.1.1-11
+
+ -- Rene Engelhard <rene@debian.org> Sat, 19 Dec 2009 17:06:02 +0000
+
+openoffice.org (1:3.1.1-11) unstable; urgency=low
+
+ * ooo-build:
+ - update (89b6191f14b42664b9c46395722ccecd562418c4)
+ - fixes vba macros not honouring security settings (CVE-2010-0136)
+ - debian-opt.diff: build with -O2 instead of -Os. Fixes FTBFS on ppc
+
+ * debian/control.in:
+ - bump ttf-opensymbol dep to (>= 1:3.0), we need it for some bullets
+ (closes: #561182)
+ - make -common depend on ure (hopefully closes: #544621)
+ * debian/rules:
+ - build-depend on g++-4.4 (>= 4.4.2-5) on armel because of various
+ wrong code generation fixes. Thanks Matthias Klose.
+ - bump build-dep for mono to >= 2.4.2.3 and adapt for csc -> mono-csc
+ change
+ - don't add LIBSUFFIX/PLATFORMID to the arch-indep packages' maintainer
+ scripts, as it will "only" be the system where the upload was built
+ on anyway, thanks Kurt Roeckx
+ - move libcalc??.so into -base as it actually is a db driver, not a
+ calc component. Makes Base start up without -calc installed now...
+
+ -- Rene Engelhard <rene@debian.org> Sat, 19 Dec 2009 18:05:14 +0100
+
+openoffice.org (1:3.1.1-10) unstable; urgency=low
+
+ * ooo-build:
+ - update (6929a9d4285be22b2e6d682bab6d0c5bca2e8fa5)
+ - mysqlcppconn-mysqlclient-SONAME.diff: use libmysqlcppconn.so.16 instead
+ of libmysqlcppconn.so also in the internal mysqlcppconn copy...
+
+ * debian/rules:
+ - only build-depend on (gcc-)mingw32 when we actually enable the SDK
+ - build-depend on kdelibs5-dev (>= 4:4.3.4) when building against KDE4
+ - when building with internal mysqlcppconn, add explicit dep on
+ libmysqlclient. Together with the new patch above this closes: #560788
+ * debian/shlibs.local.in: force a kdebase-runtime >= 4:4.3.4 dependency
+
+ -- Rene Engelhard <rene@debian.org> Sat, 12 Dec 2009 23:48:31 +0100
+
+openoffice.org (1:3.1.1-9) unstable; urgency=low
+
+ * ooo-build
+ - update (3bb313baf6ad6669913cee47884a438c75bf88be)
+ - open-url-support-iceanimals.diff: support ice{ape,dove,weasel}
+ in open-url (closes: #543652)
+ - add support for building with internal mysql-connector-cpp (as
+ upstream does) to ooo-build infrastructure; disable
+ debian-mysqlc-build-against-stlport-hack.diff for now
+
+ * debian/rules:
+ - re-enable sparc
+ - fix install on no-Java builds
+ - build-depend on libmysqlcppconn*-dev (>= 1.1.0~r791) to build against
+ version with fixed visibility of (e.g.) SQLException
+ This closes: #558240 for !i386 at least.
+ Build with internal libmysqlcppconn on i386 for now...
+ - don't build-depend on openjdk on archs using gcj-jdk...
+ - remove cacao-oj6-jre support, gone
+
+ -- Rene Engelhard <rene@debian.org> Wed, 09 Dec 2009 00:28:39 +0100
+
+openoffice.org (1:3.2.0~ooo320m6-1) experimental; urgency=low
+
+ * OpenOffice.org 3.2.0 release branch milestone 6
+ - fixes "OpenOffice.org XPM Import Integer Overflow" (CVE-2009-2949)
+ and "OpenOffice.org GIF Import Heap Overflow" (CVE-2009-2950
+ - fixes "OOO sprmTDefTable issue" (CVE-2009-3301) and
+ "OOO sprmTSetBrc issue" (CVE-2009-3302)
+
+ * ooo-build
+ - update (405cdcba2ee1f14ddac18095cff2e2c3df907719)
+ - cws-linuxhppa1.diff: backport hppa port (closes: #484116)
+
+ * debian/rules:
+ - enable l10n again (closes: #558030)
+ - enable new languages:
+ om (Oromo) including help, is (Icelandic), ug (Uighur),
+ si (Sinhala), id (Indonesian) and as now fixed: oc (occitan)
+ - remove removed languages: lo
+ - fix install on no-Java builds
+ - add BUILD_HPPA conditional, don't enable it yet
+ - add symlink /usr/lib/openoffice/basisX.Y/help -> /usr/share/... to work
+ around regression.... (see i107283)
+ - remove beta splash workaround and fix regex to also catch one-digit
+ milestones...
+ - HELP_L10N_VIRTUAL_VERSION:=3.2
+ * debian/control.in, debian/rules: adapt for upstream xx-IN -> xx rename
+ (except hi-IN and pa-IN)
+ * debian/scripts/vars.hppa: add
+
+ -- Rene Engelhard <rene@debian.org> Sun, 29 Nov 2009 23:07:48 +0100
+
+openoffice.org (1:3.2.0~beta-2) experimental; urgency=low
+
+ * ooo-build:
+ - update (752257c78e21cb4702b80ab4be02f5677c37ffe7 - 3.1.99.2)
+
+ * debian/control.in:
+ - make -core conflict against -style-* (<< 1:3.2.0~beta)
+ - make all styles depends on -core (>= 1:3.2.0~beta)
+ Thanks Mechtilde Stehmann for pointing this out.
+ * debian/rules:
+ - add conditional to disable the layout dialogues. Disable it as it
+ still has some bugs (closes: #554274)
+ - if ooo-build/ChangeLog exist, install it as upstream changelog
+ - build with g{cc,++} 4.4
+ * debian/uno-libs3.symbols: add symbol file
+
+ * merge 1:3.1.1-7 and 1:3.1.1-8
+
+ -- Rene Engelhard <rene@debian.org> Mon, 23 Nov 2009 21:27:01 +0100
+
+openoffice.org (1:3.1.1-8) unstable; urgency=low
+
+ * debian/changelog:
+ - fix typo: s/endianess/endianness/
+ * debian/rules:
+ - just build-depend on libgcj-common (>= 1:4.4.1)
+ - fix usr/lib/openoffice/ure removal to not fail if the dir does
+ not exist anymore (e.g. on the non-mono archs)
+ * debian/control.in:
+ - fix Vcs-Bzr:
+ * debian/openoffice.org-common.lintian-overrides.in: move ...
+ * debian/openoffice.org-common.lintian-overrides: ... here
+
+ -- Rene Engelhard <rene@debian.org> Mon, 16 Nov 2009 20:49:08 +0100
+
+openoffice.org (1:3.1.1-7) unstable; urgency=low
+
+ * ooo-build
+ - update (06bcdf6420e39ef6aff6f313bc9626b9fdac6b06)
+ - icc-use-sal-endianness-and-types.diff: use correct endianness
+ in icc (closes: #536348)
+ - xulrunner-1.9.1.diff: fix build with xulrunner 1.9.1
+
+ * debian/po:
+ - add
+ - fi.po (thanks Esko Arajärvi, closes: #554031)
+ - fr.po (thanks L.F.Templeton, closes: #554374)
+ - es.po (thanks Francisco Javier Cuadrado, closes: #554713)
+ - gl.po (thanks Marce Villarino, closes: #554988)
+ - it.po (thanks Vincenzo Campanella, closes: #556111)
+ * debian/rules:
+ - revert build-dep bump for armel, as it does not help as of latest
+ findings and the bug probably is in OOo...
+ - remove useless empty dir /usr/lib/openoffice/ure in -core
+ - bump libgcj-common build-dep to 1:4.4.1-1 to fix lintian warnings
+ (command-with-path-in-maintainer-script)
+ - install /usr/share/openoffice/shell-lib-extensions.sh only with 644;
+ thanks lintian
+ - MOZILLA=libxul (closes: #555912)
+ * debian/openoffice.org-common.lintian-overrides.in: override
+ E: openoffice.org-common: no-debconf-config
+
+ -- Rene Engelhard <rene@debian.org> Fri, 13 Nov 2009 19:21:47 +0100
+
+openoffice.org (1:3.2.0~beta-1) experimental; urgency=low
+
+ * OpenOffice.org 3.2.0 beta (OOO320_m2)
+ - fixes internal libxmlsec copy for CVE-2009-0217
+ - paste into memo field doesn't replace existing content anymore
+ (closes: #482473)
+ - has many performance improvements for Base (closes: #488202)
+ - unifies paper handling between modules, fixes for paper handling
+ (closes: #488667)
+ - supports opening of encrypted OOXML files (closes: #540442)
+ - now you can add notes even when there are more document windows.
+ Note that they are not updated on-the-fly when typing (closes: #538109)
+ - now has ooo-builds patch integrated so we have synced behaviours e.g.
+ with text in cells and SUM (closes: #504604)
+ - now honours ACLs (closes: #216596, #548881)
+ - no duplicate shortcut in Insert Menu anymore (closes: #550510)
+
+ * ooo-build:
+ - update (07111fca568ecb76a941c231af94a4f29f5f2a75)
+
+ * debian/rules:
+ - revert back to internal redland libs because odfmetadata2 now is in.
+ As we don't have conflicting build-deps anymore revert to building
+ using libcurl4-openssl-dev
+ - build with --enable-hids to get a hid.lst build we can use later
+ for the testtool
+ - enable graphite; it's now upstream; don't use system-graphite on i386
+ for now
+ - bump libnss3-dev build-deps to >= 3.12.3
+ - fix --with-lang= passing to configure. Don't do it when we build only
+ en-US
+ - update get-orig-source target for new way of downloading the tarballs
+ from cgit.freedesktop.org
+ - bump libboost-dev build-dep to >= 1.38
+ - for now, only build with en-US
+ - work around the fact that this is a beta version but has no beta splash
+ but we're supposed to use the "Developer Snapshot" splash
+ - move help and images*.zip into /usr/share (see #218067)
+ * debian/control.mediawiki.in:
+ - we don't need a strict depends on lucene anymore, remove it again.
+ Bump dependencies to >= 1:3.0.0~ matching description.xml
+ * debian/control.reportdesign.in, debian/control.mysql.in:
+ - bump depends on >= 3.2 (for mysql for safety)
+ * debian/control.in:
+ - make openoffice.org depend on ttf-sil-gentium-basic as those fonts
+ are included in OOos source now (for graphite support)
+ * debian/control.in, debian/rules:
+ - remove hardcoded libldap2-dev builddep and add ENABLE_LDAP conditional.
+ Only suggest it because it's now dlopen()'ed anyway.
+
+ -- Rene Engelhard <rene@debian.org> Sat, 31 Oct 2009 19:21:37 +0100
+
+openoffice.org (1:3.1.1-6) unstable; urgency=low
+
+ [ Rene Engelhard ]
+ * ooo-build:
+ - update (8a4d08ec440c3c5eaf664b5732eb79d2c6ed9896)
+ - fixes wrong filter texts in KDE4 fpicker (closes: #551774)
+ - Correct fix for the mirrored range selection bug in RTL mode.
+ (closes: #548767)
+
+ * debian/templates: apply changes from debian-l10n-english review
+ (closes: #552370)
+ * debian/po:
+ - debconf-updatepo; update de.po
+ - add
+ - zh_CN.po (thanks Aron Xu)
+ - cs.po (thanks Michal Simunek, closes: #552327)
+ - ar.po (thanks Ossama Khayat, closes: #552381)
+ - ja.po (thanks Hideki Yamane, closes: #552460)
+ - eu.po (thanks Piarres Beobide, closes: #552703)
+ - sv.po (thanks Martin Bagge, closes: #552740)
+ - pt.po (thanks Pedro Ribeiro, closes: #553284)
+ * debian/rules:
+ - add conflict against (<< <minor version of lucene OOo was built with)
+ for -help-en-us as newer versions necessarily don't create indexes a old
+ version can read...
+ - actually add lucene-depends to -wiki-publishers dh_gencontrol call
+ (closes: #553370)
+ * debian/control.in:
+ - conflict against libhsqldb-java (>= 1.8.1~)
+ * debian/templates, debian/openoffice.org-common.templates.in
+ debian/rules: move templates to openoffice.org-common so that they get
+ installed into openoffice.org-common per default, not openoffice.org...
+
+ [ Rail Aliev ]
+ * debian/po:
+ - update ru.po, tr.po
+
+ -- Rene Engelhard <rene@debian.org> Sat, 31 Oct 2009 19:15:10 +0100
+
+openoffice.org (1:3.1.1-5) unstable; urgency=low
+
+ * ooo-build:
+ - update (01bbcda85cb32be9eb5334430fb208ec5ca60041)
+ - fixes german translation (s/Verwerfen/Abbrechen/) (closes: #550453)
+ - kde4_fpicker_fixes2.diff
+ - fixes text for checkboxes (closes: #544691)
+ - makes filters work (closes: #550467)
+ - src:/: update GSIs from ftp.linux.cz: ga nb nn sl
+
+ * debian/control.in:
+ - move -style-* recommends at -common to suggests (closes: #550126)
+ - build-depend on po-debconf
+ - build-depend on binutils (>= 2.20) and g{cc,++}-4.4 (>= 4.4.1-6) for
+ armel when building with gcc 4.4, see http://gcc.gnu.org/PR40521
+ - make -core provide openoffice.org-headless
+ * debian/shell-lib.sh, debian/shell-lib*.sh, debian/*.lintian-overrides*,
+ debian/rules: only add the functions needed to the respective maintainer
+ scripts to prevent some bad side-effects, thanks Steve Langasek...
+ * debian/shell-lib-{components,extensions}.sh: check for known OOo-using
+ services (docvert-openoffice.org) and stop/start them
+ * debian/rules:
+ - install extension shell lib for use by extensions not from here
+ - enable el help (thanks Fotis Tsamis for telling it is enough translated)
+ - move one missed place from bc to expr and fix expr statement, thanks
+ Chris Cheney again
+
+ -- Rene Engelhard <rene@debian.org> Sat, 17 Oct 2009 16:34:53 +0200
+
+openoffice.org (1:3.1.1-4) unstable; urgency=low
+
+ * ooo-build:
+ - update (db285975a659e1b3cd36bc16e5add7a0c427ac58)
+ - fix typo to make with-STLport build build
+
+ -- Rene Engelhard <rene@debian.org> Mon, 05 Oct 2009 22:15:02 +0200
+
+openoffice.org (1:3.1.1-3) unstable; urgency=low
+
+ * The "Goodbye sparc!" release. :-(
+
+ * ooo-build:
+ - update (4d4be60ad4dfc84b85b0ea1d4b21b8d74212673d)
+ - Fixed range selection for RTL languages. (closes: #548767)
+ - fix some Extended Tips abbreviations for Italian (closes: #478761)
+ - apply optional-icon-themes.diff so that OOo doesn't list not-installed
+ icons anymore (closes: #416877)
+
+ * merge from Ubuntu:
+ - Add support to turn off building on sparc.
+ * debian/rules:
+ - don't build sparc. Too many random(!) build failures
+ - add ENABLE_S390X conditionals. enable. forgotten so far although OOo
+ claims to support s390x
+ - enable mysql-connector
+ - use expr instead of bc so we get a proper kdelibsX-dev also with bc
+ not installed
+ - remove bogus (.*på engelsk) from GSI_da to fix some functions
+ (closes: #548608)
+ - fix lang= handling for DEB_BUILD_OPTIONS
+ - point --with-external-{dict,hyph,thes}-dir to the new locations
+ - build against libneon27-gnutls-dev (closes: #534243)
+ * debian/control.in:
+ - break dict/hyphen patterns/thesauri packages with the old location
+ - stop making -common have a hard depends on the default iconset; make
+ it depend on openoffice.orgVER-style-default | openoffice.orgVER-style
+ and make -gtk/-kde only recommend -style-tango/-style-{crystal,oxgen}.
+ Provide openoffice.orgVER-style on all -style-* (closes: #423021)
+ Stop -style-* depending on -common (closes: #406778)
+ * debian/control.mysql.in: remove bogus conflicts, add Homepage:
+ * debian/shell-lib.sh:
+ - check whether OOo is running before (de-)registering extensions or
+ components (closes: #548721, #546723)
+ - run unopkg with -v to have more info and to see where it breaks when
+ it breaks. Removing "Adding extension XY .. done" echos
+ * debian/templates, debian/po: add debconf error shown when OOo is running
+
+ -- Rene Engelhard <rene@debian.org> Sun, 04 Oct 2009 02:42:13 +0200
+
+openoffice.org (1:3.1.1-2) unstable; urgency=low
+
+ [ Rene Engelhard ]
+ * ooo-build:
+ - update (1f44d9a5c0c024cba36a904b0b04dd09aca9e205)
+ * debian/rules:
+ - bump libmysqlcppconn-dev builddep for new snapshot of mysqlnative and
+ adapt for STLport flavour
+ - fix parallel=X handling to actually works, thanks to Wouter Verhelst for
+ pointing it out
+ - add export PYTHONPATH into /usr/lib/openoffice/program/unopkg, too.
+ Thanks Frederic Peters (closes: #545482)
+ * debian/control.in:
+ - s/msttcorefonts/ttf-mscorefonts-installer/. Former is a transitional
+ package even in lenny
+ - conflict against mozilla-plugin-vlc (<< 1.0)
+ - actually add Pre-Depends: for -filter-binfiler, thanks Chris Cheney
+ for the pointer
+ * debian/control.mysql.in:
+ - remove conflicts against OOo >= 3.3
+ * debian/changelog:
+ - mention fixed security issues in ~ooo310m15-1 and rc2-1 uploads
+
+ [ Rail Aliev ]
+ * debian/rules:
+ - use the official tarballs in get-orig-source when WITH_SPLIT=n is set
+ - prevent empty GCJ_JAWT_DIR when libgcj10-awt is installed
+ - remove ooo-build directory before "git clone"
+ - remove download.list file produced by download target
+ * debian/control.in, debian/control.mediawiki.in,
+ debian/control.minimizer.in, debian/control.mysql.in,
+ debian/control.postgresql.in, debian/control.presenter.in:
+ - drop the fields inherited from source package
+
+ -- Rene Engelhard <rene@debian.org> Sat, 12 Sep 2009 14:13:08 +0200
+
+openoffice.org (1:3.1.1-1) unstable; urgency=low
+
+ * OpenOffice.org 3.1.1 final release.
+ * upload to unstable
+
+ * ooo-build:
+ - update (e73e72f999097ca3ab08ec48cddec798d6128075 - 3.1.1.1)
+ - new-SQLLEN.diff: fix ODBC libs for "new" SQLLEN (closes: #539642)
+ - prevent-multiple-window-resize-calls-when-maximised.diff: add;
+ fixes window resize behavior when using Gtk plugin under KDE,
+ thanks Chris Halls (closes: #542387)
+ - fixes save to UTF8 paths in KDE4 filefpicker (closes: #536664)
+
+ * debian/rules:
+ - use upstreams tarballs
+
+ * debian/control.mysql.in, debian/rules,
+ debian/openoffice.org-mysql-connector.*: add support for "mysqlnative"
+ driver 1.0.0 alongside the already packages sdbc_postgresql one. Use
+ internal libmysqlcppconn on i386 for now... Don't enable it yet.
+ * debian/control.mediawiki.in: don't depend on liblucene2-java but on
+ ${lucene-depends}, so that we don't pick up a liblucene2-java depends
+ when we use internal lucene...
+
+ -- Rene Engelhard <rene@debian.org> Fri, 28 Aug 2009 09:06:36 +0200
+
+openoffice.org (1:3.1.1~rc2-1) experimental; urgency=low
+
+ * OpenOffice.org 3.1.1 rc2 (OOO310_m19)
+ - fixes CVE-2009-2414 / CVE-2009-2416 for the (unused) inernal libxml2
+ copy
+
+ * ooo-build:
+ - update (28051d9210b60491d4de238a41f03d96035b0f29)
+ - src: update GSIs from ftp.linux.cz: bg bn el ga mk nb nn sk sl uz
+
+ * debian/control.in:
+ - Standards-Version: 3.8.3 (no changes needed)
+ * debian/rules:
+ - make sure debian/scripts/get_libebook_dep.sh is executable
+ - move libsdfilt* to -draw
+ - remove result/ and test/ from OOos own copy of libxml2, too...
+ (see #331534)
+ - use gcc-mingw32 instead of mingw32 when we build with gcc 4.4
+ - use gcj-jdk/java-gcj-compat-dev on kfreebsd-*
+ - make -l10n-tr suggest openoffice.org-spellcheck-tr to catch
+ openoffice.org-zemberek analogous to openoffice.org-voikko
+ * debian/rules, debian/openoffice.org-filter-binfilter-*:
+ Move libbf_migratefilter* back to -filter-binfilter as it's linked to
+ libs there. Add the regcomp (un)registering.
+ * debian/source.lintian-overrides:
+ - remove, lintian is fixed to not complain about these anymore
+
+ -- Rene Engelhard <rene@debian.org> Fri, 21 Aug 2009 13:41:02 +0200
+
+openoffice.org (1:3.1.1~rc1-1) experimental; urgency=low
+
+ * OpenOffice.org 3.1.1 release candidate 1 (aka OOO310_m18)
+ - imports tables in RTL context with (almost) correct alignment
+ (closes: #528836)
+
+ * ooo-build:
+ - switch to ooo-build-3-1-1
+ - update (00d9bf9f96938abe869a36085e72b3fe360b9e95)
+ - fixes hyperlink opening in calc (closes: #533874)
+
+ * debian/rules, debian/control.kde.in, debian/openoffice.org-kab*:
+ also add/revoke libkab1.so to fix similar bug as with -evolution in -2
+ * debian/control.in, debian/rules, debian/scripts/get_libebook_dep.sh:
+ don't hardcode libebook1.2-9 as depends. Get libebook version on the fly.
+ Add Build-Dependency on libebook1.2-dev.
+ * debian/control.pdfimport.in:
+ - mention that -pdfimport is for opening PDFs in Draw (closes: #538062)
+ * debian/rules:
+ - remove debian/*.install and debian/*.dirs in clean
+ * merge from Ubuntu:
+ - don't depend on openoffice.org at -l10n-{in,za}, as it would install also
+ not-wanted stuff
+ - add conditional to disable gnome-vfs; add a confitional for gconf as
+ we need a diect libgconf2-dev builddep anyway when we enable GConf
+ - remove locolor, don't include gnome. Switch everything to use hicolor
+ - rename ooo-*desktop to openoffice.org*desktop to use standard name
+ for .desktop files (gnome-shell)
+
+ -- Rene Engelhard <rene@debian.org> Sat, 08 Aug 2009 14:31:27 +0200
+
+openoffice.org (1:3.1.1~ooo310m15-1) experimental; urgency=high
+
+ * OpenOffice.org 3.1.1 development milestone 15 (OOO310_m15)
+ - fixes import of (non-RTL) ww8 tables (closes: #535971)
+ - fixes CVE-2009-0200 ("OpenOffice.org sprmTDelete integer underflow")
+ and CVE-2009-0201 ("OpenOffice.org sprmTInsert buffer overflow")
+
+ * ooo-build:
+ - update (ccbde7123a771221cf05adccf8ab86a1e01cf583)
+ - src: update GSIs from ftp.linux.cz (bg cs el fi ga km uz)
+
+ * debian/rules:
+ - update graphite conditionals
+
+ -- Rene Engelhard <rene@debian.org> Mon, 06 Jul 2009 23:13:13 +0200
+
+openoffice.org (1:3.1.1~ooo310m14-1) experimental; urgency=low
+
+ * OpenOffice.org 3.1.1 development milestone 14 (OOO310_m14)
+ - fixes some (random) crashes in "uno" (closes: #472461)
+
+ * ooo-build:
+ - update (f3f544d7348651fc9b84d8038bf20b4d208a9c3d aka
+ ooo-build 3.1.0.98.2)
+ - "Slightly better way to prevent progress bar instantiation."
+ (closes: #534658)
+
+ * debian/rules:
+ - fix typo in kde-icons-oxygen Suggests (closes: #534261)
+ - stop running dh_desktop on sid, thanks lintian
+
+ -- Rene Engelhard <rene@debian.org> Tue, 30 Jun 2009 16:23:30 +0200
+
+openoffice.org (1:3.1.1~ooo310m13-1) experimental; urgency=low
+
+ * OpenOffice.org 3.1.1 development milestone 13 (OOO310_m13)
+ - fixes sort when involving formulas (closes: #529430)
+
+ * ooo-build:
+ - use 'master' again (9bb64f6fa29ac3c7db1ad54a222010c6f9d4a115)
+ + adds "a JVM and" to javaldx' message if no Java is found
+ (closes: #532549)
+
+ * debian/rules:
+ - WITH_SPLIT=n, enable milestone detection again, use ooo-build tarballs
+ - add conditionals for KDE4, enable -kde for KDE4 again (closes: #528487)
+ - don't set VERBOSE=true on ia64/buildd now that the quiet-buildd.diff
+ is more complete.
+ - remove explicit gcj-4.3 builddep again
+ * debian/control.in:
+ - build-conflict against libmono-dev 2.4+dfsg-2 on sparc - -3 is fixed
+ * debian/README.Debian: mention kde4 for OOO_FORCE_DESKTOP
+ * debian/control*in, debian/rules: add -style-oxygen package and synchroniize
+ style handling in rules by just relying on $(IMAGES)
+ * debian/ttf-opensymbol.*.in: remove; removes fc-cache calls (see
+ debian-devel)
+
+ -- Rene Engelhard <rene@debian.org> Sat, 20 Jun 2009 14:08:52 +0200
+
+openoffice.org (1:3.1.0-5) unstable; urgency=low
+
+ * ooo-build:
+ - update (5947487f5c17fc66f1e11d4eec055c0df95f64c1 - 3.1.0.6)
+ - Fix build with glibc-2.10.1 and above/ICU 4.2
+ * debian/rules:
+ - BOOST_VERSION=default (closes: #531118)
+ - remove mono-jit (>= 1.9+dfsg-2) B-D as it's apparently gone
+ in mono 2.4 and lenny has -6 anyway.
+ - bump LPSOLVE_MIN_VERSION and SUITESPARSE_MIN_VERSION for
+ suitesparse 3.4.0
+ - add explicit gcj-4.3 builddep to work around #532065
+ * debian/shell-lib.sh:
+ - don't rely on
+ /u/l/openoffice/basis-link/share/config/javasettingsunopkginstall.xml
+ - find out the basis and specify /var/lib/openoffice/basisX.Y directly
+ (hopefully closes: #530694, #531116, #531750)
+ * debian/control.in:
+ - add Pre-Depends: openoffice.org-comon to the various extension
+ Add -java-common and ${java-runtime-depends} for the Java extensions.
+ (hopefully closes: #529521)
+ - add Pre-Depends: openoffice.org-core (>= 3.1.0-2) to -evolution
+ (hopefully closes: #529519)
+
+ -- Rene Engelhard <rene@debian.org> Fri, 12 Jun 2009 18:33:45 +0200
+
+openoffice.org (1:3.1.0-4) unstable; urgency=low
+
+ * ooo-build:
+ - update (3f777bce5cbe0665fb840eee9cfe08fd9e1c710e)
+
+ * debian/rules:
+ - use gcj-jdk instead of java-gcj-compat-dev (closes: #526292)
+ - add | java5-runtime | jre to JAVA_RUNTIME_DEPENDS (closes: #509690)
+ - use /usr/lib/gcc/aotcompile.py instead of (gone)
+ /usr/share/pyshared/aotcompile.py
+ * debian/control.in:
+ - make -evolution depend on libebook1.2-9 (which is dlopen()ed)
+ * debian/openoffice.org-common.preinst.in, debian/rules:
+ - again move javasettingsunopkginstall.xml to
+ /var/lib/openoffice/basisX.Y/share/config to match what $OOO_BASE_DIR
+ would do...
+ * debian/shell-lib.sh:
+ - adapt to rely on /usr/lib/openoffice/basis-link instead of
+ hardcoding the path
+
+ -- Rene Engelhard <rene@debian.org> Sun, 24 May 2009 00:01:51 +0200
+
+openoffice.org (1:3.1.0-3) unstable; urgency=low
+
+ * ooo-build:
+ - update (c1a864706b14df89477cbafffdaba519fbc6c4e9 - 3.1.0.2)
+
+ * debian/openoffice.org-common.preinst.in: use mkdir -p, not mkdir
+ (closes: #529518)
+ * debian/rules:
+ - add explicit build-dep on gcj when building native jars, now needed
+ due to java-gcj-compat changes....
+ * debian/shell-lib.sh:
+ - check whether $rdb exists in revoke_from_services_rdb() before running
+ regview on it as it doesn't when the new -evolution is first unpacked in
+ a upgrade run before the new -core.
+
+ -- Rene Engelhard <rene@debian.org> Wed, 20 May 2009 09:43:43 +0200
+
+openoffice.org (1:3.1.0-2) unstable; urgency=low
+
+ * ooo-build:
+ - switch to ooo-build-3-1 branch
+ (cda7535b832b1b354eedf6aacd0260d628ff9884)
+ - odk-use-correct-L.diff: specify correct -L in settings.mk
+ (closes: #529020)
+
+ * debian/rules:
+ - add support for boost-defaults
+ - more fixes for GCC_VERSION setting
+ - introduce new BASIS_VERSION variable
+ - HSQLDB_MINVER= (>> 1.8.0.9) for lenny, thanks Tim Retout
+ - move services.rdb to /var/lib/openoffice/basisX.Y/program
+ - deregister libevoabl?.so from services.rdb in install-arch as Base
+ now fails when its not present (closes: #527910)
+ * debian/control.in, debian/rules:
+ - allow flex again, bump build-dep for flex if we use gcc 4.4 for safety
+ * debian/control.in:
+ - update openclipart-openoffice.org conflicts to (<= 0.18+dfsg-7)
+ - make -emailmerge Pre-Depend on ${python:Depends}, python-uno
+ (closes: #522022, #527558)
+ - make -common conflict against -core having another basisX.Y than -common
+ (closes: #528854)
+ * debian/copyright:
+ - actually add Files: section matching the upstream tarballs
+ * debian/rules, debian/broffice.org.{preinst,postrm}.in,
+ soffice-template.desktop.in: add extra .desktop files and soffice.* from
+ extras/source/shellnew to /usr/share/templates for KDE (closes: #512737)
+ * debian/rules, debian/shell-lib.sh, openoffice.org-common.preinst.in:
+ - move javasettingsunopkginstall.xml once again to keep the path structure
+ (now in /var/lib/openoffice/share/config)
+ * debian/shell-lib.sh
+ - add functions revoke_from_services_rdb() and register_to_services_rdb()
+ * debian/openoffice.org-evolution.*.in:
+ - add maintainer scripts for registering/revoking libevoabl?.so
+
+ -- Rene Engelhard <rene@debian.org> Mon, 18 May 2009 18:44:12 +0200
+
+openoffice.org (1:3.1.0-1) unstable; urgency=low
+
+ * OpenOffice.org 3.1.0 final (no source changes to rc2)
+ * upload to unstable
+
+ * ooo-build:
+ - update (ed83f8ef25c224f80ded79eb91c845064b407421)
+ - forces OpenJDK javadoc even on gcj builds, fixes odk build breakage
+ - use 3.1s new feature of setting JDBC CLASSPATHs in DataAcess.xcu
+ directly
+
+ * debian/rules:
+ - move python version setting before the python conditionals deciding
+ thanks Chris Cheney)
+ - remove arch specifier from openjdk build-dep
+ - fix GCC_VERSION handling to work again with OOo build calling
+ e.g. i486-linux-gnu-gcc
+ - remove changing jvmfwk3rc for adding JDBC CLASSPATHs
+ - keep -kde/-kab enabled on lenny-backports
+ - build with -openssl flavour of curl on lenny-backports
+ * debian/watch: move from ftp.stardiv.de (not master anymore) to
+ ftp.gwdg.de
+ * debian/control.in:
+ - also suggest libjtds-java
+ * debian/control.reportdesign.in, control.presenter.in:
+ - update depends/conflicts to match description.xml
+
+ -- Rene Engelhard <rene@debian.org> Wed, 06 May 2009 00:08:13 +0200
+
+openoffice.org (1:3.1.0~rc2-1) experimental; urgency=low
+
+ * OpenOffice.org 3.1.0 rc2 (OOO310_m11)
+ * ooo-build
+ - update (43f5c40737796e18d399275bd6f65237e98f66c8)
+ - moves default-system-fpicker.diff into the common set
+ (closes: #523314)
+
+ * debian/control.in, debian/control.kde.in, debian/rules:
+ - disable -kde and -kab as they're for KDE3 (closes: #523899). Improve
+ BUILD_KDE conditional
+ * debian/control.in, debian/broffice.org.postrm.in, debian/rules:
+ - Standards-Version: 3.8.1. Fix DEB_BUILD_OPTIONS lang= parsing to actually
+ work with DEB_BUILD_OPTIONS being separated by spaces as introduced
+ in 3.8.0. (ccache,lang=en-US de -> ccache lang=en-US,de)
+ * debian/rules, debian/control.debug.in:
+ - fix lintians dbg-package-missing-depends
+ * debian/rules, debian/control.in:
+ - remove writer2latex remains as it a) is not a "bundled extension"
+ anymore and b) is not in the code anymore either. Still available
+ externally.
+ * debian/rules debian/openoffice.org-gcj.*post*:
+ - remove postinst/postrm of -gcj, let dh_nativejava -o do the job
+ * debian/rules:
+ - remove Python26 special-casing, we now have a generic patch for 2.4 and
+ 2.6
+ - remove scsolver stuff, scsolver is gone from ooo-build
+ * debian/control.in:
+ - make openoffice.org-common recommends xfonts-mathml (closes: #525245)
+
+ -- Rene Engelhard <rene@debian.org> Sat, 25 Apr 2009 15:26:24 +0200
+
+openoffice.org (1:3.1.0~rc1-2) experimental; urgency=low
+
+ * ooo-build:
+ - update (9c5c8322f541550ca0bd605169aa40d9fd654d98)
+
+ * debian/shell-lib.sh: export PYTHONPATH="/@OOBASISDIR/program" as
+ regstering mailmerge.py aparently calls "import pythonloader" which
+ does not work anymore without (closes: #522536)
+ * debian/control.in:
+ - fix override dispariry (-l10n-in/-l10n-za -> localization)
+ * debian/rules, debian/shell-lib.sh:
+ - move javasettingsunopkginstall.xml to /var/lib/openoffice and adapt
+ unopkg calls (closes: #523044)
+ * debian/control.in, debian/control.ogltrans.in, debian/rules:
+ OOo is fixed to not crash when OGLTrans.uno.so is not there anymore,
+ re-enable splitout to -ogltrans
+
+ -- Rene Engelhard <rene@debian.org> Fri, 10 Apr 2009 13:35:28 +0200
+
+openoffice.org (1:3.1.0~rc1-1) experimental; urgency=low
+
+ * OpenOffice.org 3.1.0 rc1 (OOO310_m9)
+
+ * ooo-build:
+ - update (b6c58e692ac4fa15ec666a3fbd79c98eed78c46e)
+ - src: add GSI_ro.sdf.bz2 from ftp.linux.cz (DEV300), closes: #522180
+ * debian/rules:
+ - add conditional to use python-support
+ * debian/control.in, debian/control.ogltrans.in, debian/rules:
+ - don't put OGLTrans into -ogltrans, services.rdb references it and
+ Impress crashes horribly if it's not there (closes: #521035). Add
+ Conflict/Replaces/Provides.
+ * debian/rules, ooo-build/*: switch to Fedoras solution for PyUNO. Replace
+ RPATH with os.path.append in uno.py and just install uno*.py into
+ site-packages (closes: #520944)
+ * debian/control{,sdk,reportdesign}.in:
+ - add last three ${misc:Depends}, even where we have no Depends: line
+ otherwise
+
+ -- Rene Engelhard <rene@debian.org> Fri, 03 Apr 2009 14:35:15 +0200
+
+openoffice.org (1:3.0.1-9) unstable; urgency=high
+
+ [ Rene Engelhard ]
+ * debian/rules:
+ - use libcurl4-gnutls-dev (closes: #521741, #391671)
+
+ [ Ben Finney ]
+ * debian/control*.in:
+ + Re-work each package synopsis to avoid self-reference.
+ (Closes: Bug#520611)
+
+ -- Rene Engelhard <rene@debian.org> Sun, 29 Mar 2009 23:00:35 +0200
+
+openoffice.org (1:3.0.1-8) unstable; urgency=high
+
+ [ Rene Engelhard ]
+ * ooo-build:
+ - update (81a9da548b0e400b574bfe4e78b06b16982cd270), now in git
+ *without* ChangeLog...
+ * debian/rules:
+ - fix saxon conditional. use internal saxon because system-saxon
+ breaks various filters....
+ - add arm to OOO_MOZILLA_ARCHS again as it FTBFSes on the lenny backport
+ otherwise because iceape-dev is not installed.
+ - remove "openoffice" symlink, add "openoffice.org$(VER)" (closes: #511232),
+ upstream has openoffice.org3 launcher in /usr/bin, too
+ - build with java-gcj-compat on mipsel (and mips, too as IMHO it doesn't
+ make sense to build mips and mipsel with different JDKs) so that it
+ builds...
+ * debian/rules, debian/control.qa.in, debian/openoffice.org-qa-tools-*:
+ - remove -qa-*, broken and unused anyway
+
+ [ Ben Finney ]
+ * debian/control*.in:
+ + Replace deprecated ‘${Source-Version}’ with ‘${binary:Version}’ for
+ architecture-dependent packages.
+ + Replace deprecated ‘${Source-Version}’ with ‘${source:Version}’ for
+ architecture-independent packages.
+ (Closes: Bug#520475)
+ + more ${misc:Depends}
+ (Closes: Bug#519644)
+ + Follow Lintian's recommendation to avoid dependency on a Debian ‘-1’
+ revision.
+ (Closes: Bug#520604)
+
+ -- Rene Engelhard <rene@debian.org> Wed, 25 Mar 2009 19:20:05 +0100
+
+openoffice.org (1:3.1.0~ooo310m6-1) experimental; urgency=low
+
+ * OpenOffice.org 3.1.0 development snapshot OOO310_m6
+ - build without -march=armv5te for arm (closes: #501957)
+ - lbnames.h supports gcc 4.4 (closes: #505669)
+ - now has overline supports for word (closes: #228392)
+ - About box now fixes en-US tense and adds missing comma (closes: #470521)
+ - fixes bridges for SELinux (hopefully closes: #440105)
+ - doesn't decrement date on input to 1 day past on some $TZ anymore
+ (closes: #512644)
+ - new orig without rfc314.txt (closes: #516784)
+ - removes bogus /rs in some localized dialogs (closes: #514398)
+ - fixes actions in the edit area after slideshow (closes: #520161)
+ * ooo-build:
+ - back on trunk (r15564)
+ - updates openoffice.1 to remove --version (closes: #505768)
+ - mentions ; vs , change in the help (closes: #519828)
+ - src: add OOO310 GSIs from ftp.linux.cz
+ * debian/shlibs.override.icu: update for new icu
+ * debian/shlibs.override.xmlsec: remove, xmlsec went static
+ * debian/rules:
+ - bump minimal ICU version for sid to >= 4.0.0
+ - various 3.1-related updates
+ - remove option for internal writer2latex as it's now a (bundled) extension
+ upstream too and we have it packaged already.
+ Hardcode --without-writer2latex
+ - add conditional for enabling graphite, now that ooo-build has a surrected
+ --enable-graphite again (and upstream a cws for it)
+ - temporarily disable the Report Builder extension until rptfix04
+ - move install of make install-installed file from cp -a to dh_install;
+ this also moves hid.lst to -qa-tools
+ - explicitly specify --with-stlport in USE_STLPORT=y case as
+ ./configure now only defaults to STLport on i386. Add note
+ about STLport and some upcoming system stuff
+ - remove build-conflict on libxul-dev for MOZILLA != libxul again;
+ configure fixed
+ - remove -unbundled conflict when VER = "" because upstreams packages
+ now are called openoffice.orgX-*.
+ - tighten hsqldb depends to 1.8.0.10 with the lock fix
+ - only specify --with-lang= when we don't only build en-US. en-US is
+ default anyway and not specifying --with-lang=en-US afais speeds up the
+ en-US only build even more
+ - OGLTrans seems to work now in sid (even for amd64), so re-enable
+ (closes: #517335)r
+ - update pentaho libs (build-)depends to the -OOo31 versions
+ - enable ca and fi help
+ * debian/control*in:
+ - update for new sections:
+ - -dbg -> debug, -l10n-* -> localization, -officebean -> java,
+ -base -> database, ttf-opensymbol -> fonts, *cli* -> cli-mono
+ * debian/rules, debian/startcenter.desktop: remove own startcenter.desktop;
+ OOo now has one upstream
+ * debian/control.ure.in: suggest java5-runtime instead of java2-runtime as
+ jvmfwk stopped displaying JVMs < 1.5.0 and conflict against Java
+ extensions using the (wrong for OOo 3) $ORIGIN in their maintainer
+ scripts to not break upgrades as the old Java config is invalidated....
+ * debian/control.mediawiki.in: depend on liblucene2-java until i#98680 is
+ fixed
+ * debian/rules, debian/scripts/openoffice-xlate-lang:
+ - add openoffice-xlate-lang symlink in debian/scripts, use
+ debian/scripts/openoffice-xlate-lang
+ * debian/rules, debian/control.in: add support for building against an other
+ python than the "current" (default) one
+ * debian/copyright:
+ - update
+ - migrate to http://wiki.debian.org/Proposals/CopyrightFormat format
+
+ -- Rene Engelhard <rene@debian.org> Wed, 18 Mar 2009 14:55:31 +0100
+
+openoffice.org (1:3.0.1-7) unstable; urgency=high
+
+ * brown papaer bag release
+ * debian/openoffice.org-emailmerge.postinst.in:
+ - add missing @ (closes: #520146)
+
+ -- Rene Engelhard <rene@debian.org> Wed, 18 Mar 2009 10:32:49 +0100
+
+openoffice.org (1:3.0.1-6) unstable; urgency=low
+
+ [ Rene Engelhard ]
+ * ooo-build:
+ - update (15544)
+ * debian/rules:
+ - remove ure (>= ...) from uno-libs3s Depends: (closes: #519138)
+ * debian/control.in:
+ - s/experimental/unstable/ in Vcs-Bzr
+ * debian/openoffice.org-qa-tools.{postrm,preinst},
+ openoffice.org-emailmerge.postinst.in, debian/rules: don't hardcode the
+ dir, use @OOBASISDIR@
+
+ [ Ben Finney ]
+ * debian/control.in:
+ + add nosmart+ to Vcs-Bzr:
+ + ‘Depends: ${misc:Depends}’ as recommended by Lintian for
+ debhelper(7).
+ (Closes: Bug#519644)
+
+ -- Rene Engelhard <rene@debian.org> Sat, 14 Mar 2009 12:10:56 +0100
+
+openoffice.org (1:3.0.1-5) unstable; urgency=high
+
+ * ooo-build:
+ - update (r15496)
+ * debian/shell-lib.sh:
+ - $ORIGIN -> $OOO_BASE_DIR
+ * debian/presubj:
+ - directly point to http://wiki.debian.org/OpenOffice#debug in IV
+ (closes: #517987)
+ * debian/README.Debian:
+ - remove openoffice.debian.net (closes: #517978)
+ * debian/control.in:
+ - remove http://udk.openoffice.org/python/python-bridge.html from
+ python-unos description, we already have it in Homepage:
+ * merge from Ubuntu:
+ - fix PYTHON_SITE for python2.6 (print(sysconfig.get_python_lib())
+ - Update rebuild-gcj-db snippet.
+
+ -- Rene Engelhard <rene@debian.org> Tue, 10 Mar 2009 18:22:17 +0100
+
+openoffice.org (1:3.0.1-4) unstable; urgency=low
+
+ * ooo-build:
+ - update (r15428)
+ * debian/rules
+ - MONO2=y (closes: #517738)
+ - re-enable lsb_release -cs call and build-conflict against base-files = 5
+ for sid
+ * debian/control.in:
+ - make -core conflict against < OOo3 -java-common (closes: #517001)
+
+ -- Rene Engelhard <rene@debian.org> Sat, 28 Feb 2009 15:02:26 +0100
+
+openoffice.org (1:3.0.1-3) unstable; urgency=low
+
+ * ooo-build:
+ - update (r15395)
+ * debian/rules:
+ - build with boost 1.37
+ - add libdbX.Y-dbg to DBG_DBG_SUGGESTS
+ - @ICONVERSION@ is 3 and not 30 (closes: #516257)
+ * debian/control.in:
+ - add Conflicts: openoffice.org-core (<< ${Source-Version}) for
+ openoffice.org-common (closes: #516090)
+ - readd build-dep changing for suitesparse 3.2.0, bump to 1:3.2.0-2
+ and make lenny backport compatible..
+
+ -- Rene Engelhard <rene@debian.org> Sun, 22 Feb 2009 00:14:31 +0100
+
+openoffice.org (1:3.0.1-2) unstable; urgency=low
+
+ [ Rene Engelhard ]
+ * upload to unstable
+ * ooo-build:
+ - update (r15324)
+ * debian/openoffice.org-common.links: add symlinks to the mimetype icons so
+ that they adhere to the Icon Naming Specification, thanks Guido Günther
+ (closes: #512792)
+ * debian/rules:
+ - add Recommends openoffice.org-math to openoffice.org-writer
+ - specify ARCH_FLAGS as -O0 when DEB_BULD_OPTIONS contains noopt
+ (closes: #514166)
+ - only build-dep on mono 2.0.1 when MONO2=y
+ - MONO2=n and revert lp-solve build-dep on the one built against
+ suitesparse 3.2.0/suitesparse builddep so that we build in sid right
+ now.
+ - build against default db (4.7) now (as librd0-dev depends on libdb-dev
+ which depends on libdb-dev...)
+ * debian/openoffice.org-{base,calc}.overrides.lintian: override
+ desktop-command-not-in-package here, too (like in all the other modules)
+
+ [ Chris Halls ]
+ * ooo-build/patches/dev300/sfx2-recent-files.diff:
+ Update recent files list after save as and open (closes: #505879)
+
+ -- Rene Engelhard <rene@debian.org> Tue, 17 Feb 2009 00:57:26 +0100
+
+openoffice.org (1:3.0.1-1) experimental; urgency=low
+
+ * OpenOffice.org 3.0.1 final (except for Windows identical with rc2)
+ * ooo-build
+ - update (r15151)
+ * debian/rules:
+ - add build-conflicts against xulrunner-dev is MOZILLA != libxul
+ - build-depend on libsuitesparse (>= 3.2.0) and a lp-solve also built
+ against it to prepare the transition
+ * debian/control.in:
+ - allow imagemagick for build again, as it seem to create the splash
+ correctly now
+ * debian/scripts/fix_image_rgb, debian/rules: use convert instead of
+ gm convert
+ * debian/openoffice.org-common.preinst.in: fix typo to actually also remove
+ dictionary.lst.old
+
+ -- Rene Engelhard <rene@debian.org> Mon, 26 Jan 2009 15:30:02 +0100
+
+openoffice.org (1:3.0.1~rc2-2) experimental; urgency=low
+
+ * ooo-build:
+ - update (r15097)
+ * debian/rules:
+ - update xulrunner build-dep in MOZILLA=libxul case for current reality
+ - use UREPACKAGEVERSION for determining ures version, more correct and
+ also includes the micro. Remove +OOo3.0.0~ suffix as ure now is at 1.4.1
+ and we bump .shlibs anyway
+ - create .so symlinks in UREs dir in -dev so that we have some even if
+ the SDK mechanism which creates a dir in $HOME fails.
+ - stop adding a extra text/rtf as writer.desktop now already contains
+ it upstream (closes: #512417)
+ * debian/control.in:
+ - make -common conflict against dictionaries-common (<< 0.98.14)
+ - move from Breaks: to Conflicts: as otherwise the experimental buildds
+ fail to install -common...
+ * merge from Ubuntu:
+ - make ure only Suggest a JRE
+
+ -- Rene Engelhard <rene@debian.org> Thu, 22 Jan 2009 09:56:13 +0100
+
+openoffice.org (1:3.0.1~rc2-1) experimental; urgency=low
+
+ * OpenOffice.org 3.0.1 rc2 (OOO300_m15)
+ * ooo-build:
+ - update (r15061):
+ - remove workaround for #i97491 again (closes: #511459)
+ * build without stray ure.links (closes: #509793)
+ * debian/startcenter.desktop.in: use ooo-gulls.png as Icon
+ * debian/rules:
+ - apply Python26 patchset if building with python 2.6
+ - install libsalalloc_malloc.so.3 into -qa-tools
+ - remove rest of if(n)eq ETCH_BACKPORT conditionals
+ - fix extra license/readme file removal
+ - remove empty .../ure/lib dir in -common
+ - fix OOSDKDIR setting and move all $(OODIR)/sdk to $(OOSDKDIR)
+ - install ooo-build/NEWS
+ * debian/control.reportdesign.in:
+ - add missing Depends: on ${java-runtime-depends}
+ * debian/control.in:
+ - only recommend ttf-liberation and change it to
+ ttf-liberation | msttcorefonts (closes: #509193)
+ - fix -kdes description: remove KDE adressbook mentioning, it's in -kab
+ - -common Breaks: openclipart-openoffice.org (<= 0.18+dfsg-5)
+ * debian/rules, control.gcj.in: disable ppc for -gcj as gij doesn't work
+ there anyway (#478760). Fix Architecture: of -gcj to not include
+ non-Java archs.
+ * debian/rules, debian/broffice.org.{preinst,postrm}.in: also change
+ UI-brand.xcu for BrOffice.org
+ * debian/presubj: point to OpenOffice.orgs README sections
+ ("Problems During Program Startup" and "File Locking").
+
+ -- Rene Engelhard <rene@debian.org> Tue, 13 Jan 2009 07:56:06 +0100
+
+openoffice.org (1:3.0.1~rc1-2) experimental; urgency=low
+
+ * ooo-build:
+ - update (r14911):
+ - work around #i97491: do not move soffice into
+ openoffice.org-common (closes: #509435)
+ * debian/rules: (temporarily?) comment out soffice changing in -common.
+ * debian/control{,in}: fix Vcs-Bzr:
+
+ -- Rene Engelhard <rene@debian.org> Mon, 22 Dec 2008 23:58:48 +0100
+
+openoffice.org (1:3.0.1~rc1-1) experimental; urgency=low
+
+ * OpenOffice.org 3.0.1 rc1 (OOO300_m14)
+ - fixes usage of flash v9 plugin (closes: #434510)
+ * ooo-build
+ - switch to ooo-build-3-0-1 branch (r14903)
+ * debian/source.lintian-overrides: override bogus (lintian bug #511859)
+ missing-build-dependency-for-dh_-command
+ * debian/rules:
+ - update .so -> -dev merging to the fact that 3.0s SDK does not have
+ the .so symlinks for libuno_* anymore but only for the internal xmlsec.
+ - install vnd.openofficeorg.extension.desktop and /openoffice.applications
+ directly from sysui and make install-*/broffice use the directories
+ for the respective flavour directly
+ - also install /usr/share/mime-info/openoffice.keys for broffice.org
+ - remove "Lohit Hindi" addition for hi-INs help, obsolete since (at least)
+ 3.0.0
+ * debian/README, debian/rules: remove obsolete targets, explain
+ make patch.apply
+ * debian/control.in:
+ - openoffice.org-base-core needs to depend on openoffice.org-core....
+ * debian/openoffice.org-common.postinst.in: remove; call to
+ update-openoffice-dicts is obsolete because OOo does not honour
+ dictionary.lst anymore
+ * debian//openoffice.org-common.preinst: remove
+ /etc/openoffice/dictionary.lst*
+ * debian/shell-lib.sh: remove long obsolete "trap {...}". bashism anyway.
+ Thanks lintian.
+
+ -- Rene Engelhard <rene@debian.org> Sat, 20 Dec 2008 01:28:26 +0100
+
+openoffice.org (1:3.0.0-6) experimental; urgency=low
+
+ * ooo-build:
+ - update (r14697)
+ - mailmerge-ssl-ehlo.diff: fix SMTP dialog for SSL (closes: #507448)
+ * debian/rules:
+ - changes for mono 2.0 transition (thanks Jo Shields):
+ - build-depend on mono-devel (>= 2.0.1), bump MONO_MINVER to >= 2.0.1
+ - add overrides for MCS, GMCS to /usr/bin/csc and MKBUNDLE2 (mkbundle)
+ - if we enable gio, install ucpgio1.uno.so properly into -gnome and fix
+ -gnomes description ((GNOME) VFS -> GIO)
+ - add hackaround to use ENABLE_QA_TOOLS=n on ia64 as "jar" segfaults
+ there (and only there) (closes: #507135)
+
+ -- Rene Engelhard <rene@debian.org> Wed, 03 Dec 2008 21:07:08 +0100
+
+openoffice.org (1:3.0.0-5) experimental; urgency=low
+
+ * ooo-build:
+ - update (r14608)
+ - sensible-browser.diff: fix "typo" (sic!) (closes: #505429)
+ - i95118.diff: add patch from i#i95118 to make user scripts found again
+ and python extensions deployable again (closes: #504140)
+ - pythonloader-no-DEBUG.diff: don't set DEBUG=1 in pythonloader.py
+ (closes: #491922)
+ - src: update GSIs from ftp.linux.cz
+ * debian/rules:
+ - update ENABLE_GIO conditional, either we want gio or gnome-vfs
+ - install the extension.desktop with Type=MimeType (to
+ /usr/share/mimelnk/application/vnd.openofficeorg.extension.desktop) and
+ install icons for it from ooo-build. Also actually install
+ openoffice.org.xml for shared-mime-info (closes: #502737)
+ - don't add | java5-runtime to JAVA_RUNTIME_DEPENDS as we don't work
+ with cacao-oj6
+ - add lucene-depends substitution also to binary-arch since openoffice.org
+ is not Arch: all and it doesn't get the liblucene2-java dep otherwise.
+ * debian/startcenter.desktop.in:
+ - MimeType=application/vnd.openofficeorg.extension
+ * debian/control.postgresql.in:
+ - only suggest postgresql
+ * debian/control.in:
+ - conflict against cacao-oj6-jre (closes: #495694)
+ * debian/broffice.org.{preinst,postrm}.in: add
+ /usr/share/mimelnk/application/vnd.openofficeorg.extension.desktop
+
+ -- Rene Engelhard <rene@debian.org> Wed, 26 Nov 2008 01:29:22 +0100
+
+openoffice.org (1:3.0.0-4) experimental; urgency=low
+
+ * ooo-build:
+ - update (r14425)
+ - no-latex-filter-without-writer2latex.diff: don't include LaTeX stuff
+ in Writers filter list with --without-writer2latex (closes: #502549)
+ - sensible-browser.diff: run kde-open on mailto: URLs in kde-open-url.sh
+ instead of removed sensible-ooomua (closes: #502852)
+ * debian/rules:
+ - update libstlport_gcc.so symlink to be in ure/lib (closes: #502812)
+ - add option to run the API tests (cwscheckapi)
+ - build with java-gcj-compat on ia64 again, at least temporarily
+ (closes: #502422)
+ * debian/rules, debian/broffice.org.{preinst,postrm}.in: fix Setup.xcu
+ diversion
+ * debian/control.in:
+ - make -common conflict against older broffice.orgs
+
+ -- Rene Engelhard <rene@debian.org> Thu, 30 Oct 2008 15:54:36 +0100
+
+openoffice.org (1:3.0.0-3) experimental; urgency=low
+
+ * ooo-build:
+ - update (r14320)
+ * debian/copyright, debian/README.Debian-source: fix
+ * debian/rules:
+ - don't run the smoketest again as it still causes weird build/install
+ failures on the buildds
+ - remove etch-backport conditionals, add lenny-backport conditionla -
+ use internal lucene there.
+ - update LD_LIBRARY_PATH setting in the SDK wrapper scripts for the
+ URE
+
+ -- Rene Engelhard <rene@debian.org> Thu, 16 Oct 2008 21:25:56 +0200
+
+openoffice.org (1:3.0.0-2) experimental; urgency=low
+
+ * ooo-build:
+ - update (r14305)
+ - xmlhelp-system-lucene-fix.diff/extensions-system-java.diff: don't
+ hardcode unxlngx6.pro...
+ * debian/rules:
+ - make ootestapi find OOoRunnerLight.jar by setting the necessary symlink
+ * debian/control.qa.in:
+ - make -qa-api-tests depend on Java as it needs OOoRunnerLight.jar to be
+ run to be used. Make -qa-tools suggest it.
+
+ -- Rene Engelhard <rene@debian.org> Tue, 14 Oct 2008 08:16:45 +0200
+
+openoffice.org (1:3.0.0-1) experimental; urgency=low
+
+ * OpenOffice.org 3.0.0 final (identical to rc4)
+ * ooo-build
+ - update (r14292)
+ - system-python-ure-bootstrap.diff: set URE_BOOTSTRAP variable if not
+ there with system-python, thanks Daniel Watkins (closes: #501028)
+ * debin/rules:
+ - remove now obsolete ADDITIONAL_SECTIONS="DebianBaseSystem*"
+ - build against KDE3 again. In contrast to building against KDE4 it works
+ in runtime (and also works with KDE4)
+ - run smoketest during build again to prevent e.g. #501664 happening again.
+ Put it into a mktemp -q -d generated dir instead of in the build tree
+ so that it doesn't break the install after it....
+ * debian/control.in:
+ - make openoffice.org metapackage depend on liblucene2-java.
+
+ -- Rene Engelhard <rene@debian.org> Sat, 11 Oct 2008 22:02:43 +0200
+
+openoffice.org (1:3.0.0~rc4-1) experimental; urgency=low
+
+ * OpenOffice.org 3.0 release candidate 4 (OOO300_m9)
+ * ooo-build:
+ - update (r14207)
+ - unxsplash-rework.diff: don't run the external oosplash with -nologo
+ (no splash anyway) and with the (new) -no-oosplash
+ - src: update GSIs (et ro sk)
+ * debian/*.mime: run with -no-oosplash (closes: #396276)
+ * debian/control.in:
+ - make the openoffice.org metapackage depend on
+ openoffice.org-report-builder-bin as the libs contained there are
+ in the standard OOo install and the SRB needs it (even more when
+ installed not from the deb)
+ * debian/rules:
+ - create symlinks cli_xyz.config -> cli_xyz.dll.config as policy*dll
+ apparently references the former
+
+ -- Rene Engelhard <rene@debian.org> Mon, 06 Oct 2008 01:27:08 +0200
+
+openoffice.org (1:3.0.0~rc3-1) experimental; urgency=high
+
+ * OpenOffice.org 3.0 release candidate 3 (OOO300_m8)
+ - fixes CVE-2008-2238 (multiple EMF parser flaws)
+ * ooo-build:
+ - update (r14129)
+ - soffice-detect-mozilla-certificates.diff: only do a full find for
+ cert8.db when we don't find it with just maxdepth 2 (closes: #499062)
+ - src: update GSIs (et ga ku sk)
+ * debian/rules:
+ - remove extraneous LICENSE file again
+ - re-enable Mono packages
+ - oops, remove $TMPD in get-orig-source
+ * debian/openoffice.org-report-builder-bin.overrides.lintian: fix
+ * debian/control.in:
+ - conflict against non-matching versions of -qa-ui-tools now that
+ the new "testautomation" module follows cwses
+
+ -- Rene Engelhard <rene@debian.org> Sun, 28 Sep 2008 13:57:01 +0200
+
+openoffice.org (1:3.0.0~rc2-1) experimental; urgency=high
+
+ * OpenOffice.org 3.0 release candidate 2 (OOO300_m7)
+ - fixes CVE-2008-2237 (WMF META_ESCAPE Integer Overflow Vulnerability
+ - catches exception on (malformed) ODGs referencing not existing
+ images (closes: #494644)
+ - makes -report-builder depend on 3.0 *exactly*.
+ * ooo-build:
+ - use ooo-build-3-0 branch
+ - update (r14043)
+ - really fixes ppc/openjdk build
+ - math-draw-generic-name.diff: add GenericName for
+ Draw (closes: #498922) and Math (closes: #498924)
+ - sc-skip-overlapped-cells.diff: check the vadility of row numbers
+ (closes: #499374)
+ - src: update GSIs
+ * debian/rules:
+ - fix USE_SCSOLVER conditional
+ - re-enable hu
+ - HELP_L10N_VIRTUAL_VERSION:=3.0
+ - various conditional updates for new extension configure defaults
+ - --with-java-target-version=1.5 for builds with openjdk/cacao-oj6
+ - also complain in binary-indep when Mono is disabled
+ * debian/control.reportdesign.in:
+ - depend on OOo base and java-common with >= ${base-version} and conflict
+ against them with >= ${base-version}.1. According to the bug this
+ closes: #497204
+ * debian/shlibs.override.icu: update for OOo 3.0s icu 3.6
+ * debian/openoffice.org-presentation-minimizer.preinst.in: oops, fix version
+ comparison
+
+ -- Rene Engelhard <rene@debian.org> Tue, 23 Sep 2008 14:58:14 +0200
+
+openoffice.org (1:3.0.0~ooo300m3-3) experimental; urgency=low
+
+ * ooo-build:
+ - update (r13694)
+ + config_office-openjdk-paths.diff: add missing paths or fix
+ client/server mismatch for builds with OpenJDKon !i386/amd64
+ (closes: #496479)
+ * debian/rules:
+ - update lucene2 version; enable system-lucene now that it's in main
+ - add conditonal for cacao-oj6-jdk (which doesn't work, though,
+ testtool fails with the same error as seen in #495694)
+ - gcj-dbtool (which we use since we build with OpenJDK) is in gij, not
+ gij-X.Y and only the latter is pulled in by java-gcj-compat-dev. Add
+ builddep (closes: #496480)
+ - create debian/usr/bin/moc during the build, pointing to the right moc.
+ moc is an alternative and can point to the wrong Qts moc.
+ * debian/control.ure.in:
+ - Section: libdevel for uno-libs3-dbg to fix override disparity
+ * debian/control.reportdesign.in:
+ - -report-builder-bin contains librpt* which is linked against libraries
+ from -base so that one should depend on -base, not -report-builder
+
+ -- Rene Engelhard <rene@debian.org> Wed, 27 Aug 2008 18:53:13 +0200
+
+openoffice.org (1:3.0.0~ooo300m3-2) experimental; urgency=low
+
+ * ooo-build:
+ - update (r13660)
+ + bin/package-ooo: add OFFICE_BASE_HOME and OO_SDK_URE_HOME with
+ correct contents to setsdkenv (closes: #496219)
+ - src: update GSIs (bg et ga nb nn ro sk)
+ * debian/rules:
+ - make bin/piece/* also executable
+
+ -- Rene Engelhard <rene@debian.org> Sat, 23 Aug 2008 17:55:41 +0200
+
+openoffice.org (1:3.0.0~ooo300m3-1) experimental; urgency=low
+
+ * OpenOffice.org 3.0 release branch milestone 3 (OOO300_m3)
+ - deleting cell contents while spellchecking window is open does now
+ not crash in calc anymore in some circumstances (but the text is not
+ editable) (closes: #490549)
+ - package-ooo: fix install to make help land properly in -help-xx.
+ * merge 1:2.4.1-7
+ * ooo-build:
+ - update (r13651)
+ - src: get OOO300 GSIs from ftp.linux.cz
+ * debian/rules:
+ - Add SYSTEM_LUCENE conditional, disable it yet as liblucene2-java is
+ in contrib
+ - Add SYSTEM_REDLAND conditional
+ - re-enable the SDK
+ - enable mn (Mongolian); build all languages again (except hu which is
+ broken and just contains Swedish right now)
+ - build against kde4
+ - update JAVA_RUNTIME_DEPENDS; add cacao-oj6-jre as alternative, bump
+ java2-runtime to java5-runtime as we now stricly need a 1.5-capable
+ JRE
+ - don't run ldconfig in ure package, thanks lintian
+ - add Replaces: for above help fix, ended up in -common in beta2-1
+ - update get-orig-source
+ - adapt for new source split
+ - remove xalan/xerces conditionals, add saxon ones
+ - build with OpenJDK
+ - add conditional to decide whether to build with Suns Solver or Koheis
+ as ooo-build supports it. Use Suns solver for now
+ - add build-dep on libpoppler-dev (>= 0.8.0) as there's now a patch
+ making "xpdfwrapper" build against poppler. yay.
+ * debian/rules, debian/control.help.in: recommend
+ liblucene2-java/openoffice.org-java-common. We don't depend on it as we
+ don't want to make the help depend on Java (lucene is needed for "search"
+ now)
+ * debian/rules, debian/control.etch_lenny_transitional.diff: remove
+ etch->lenny transitional package
+ * debian/rules, debian/scripts/vars.m68k: yes, we do have a m68k port now...
+ * debian/rules, debian/control.in:
+ - -style-andromeda is back (contains the "Classic" theme)
+ - split kab support into -kab to not make -kde depend on kdepimlibs5
+ * debian/rules, debian/control.mono.in:
+ - update for cli_types.dll split due to the three layer OOo and other
+ restructuring inside OOo. Don't make ure contain/depend on cli*dll as
+ that would make all OOo packages depend on mono and people might not
+ want/need it
+ - Install more (upstream-generated) .config and policy* files for the mono
+ bridge
+ - make cli-uno-bridge conflict against the old libuno-cli-types1.1-cil
+ * debian/control.in:
+ - fix -andromedas Replaces:
+ - Homepage: http://www.go-oo.org, thanks Renato Yamane
+ - move bsh from Depends to Suggests at -java-common
+ * debian/control.ure.in:
+ - uno-libs3-dbg is Priority: extra
+ * openoffice.org-presentation-minimizer.prerm.in: fix removal
+ * debian/rules, debian/control.in,
+ openoffice.org-headless.lintian-overrides: libvclplug_svp is now in
+ -coreXY upstream. Follow.
+
+ -- Rene Engelhard <rene@debian.org> Thu, 21 Aug 2008 21:09:34 +0200
+
+openoffice.org (1:2.4.1-7) unstable; urgency=medium
+
+ * ooo-build:
+ - update to debian-2-4-1 branch
+ * debian/control.mono.in:
+ - Section: libs to fix override disparity
+ * merge from experimental/3.0:
+ - debian/control.in:
+ + remove xutils build-dep, nas was using xmkmf and it's long gone here
+ * debian/control.in:
+ - Standards-Version: 3.8.0 (already following it)
+ - For upgrades from bpo packages add a Replaces on
+ openoffice.org-java-common to -base because of hsqldb, see below.
+ (closes: #494512)
+ * debian/copyright:
+ - wrap "Debian package authors:" line to please lintian
+ * debian/rules:
+ - remove obsolete [$(OOO_ARCHS)] qualifier from python-dev builddep
+ (closes: #491623)
+ - put hsqldb.jar also to -base with internal hsqldb so that we don't
+ get file differences between sids package and backports.
+ * debian/rules, debian/control.reportdesign.in:
+ - split librpt* out into a -report-builder-bin package. Newer versions of
+ the SRB also often work with older librpt*/OOo, but that would not work
+ with the current packaging due to shlibdeps.
+
+ -- Rene Engelhard <rene@debian.org> Wed, 20 Aug 2008 16:14:21 +0200
+
+openoffice.org (1:3.0.0~beta2-1) experimental; urgency=low
+
+ * OpenOffice 3.0.0 beta2 (BEB300_m3)
+ - Base now doesn't quit anymore on "recently used files" in the wizard
+ when those got deleted/moved (closes: #452810)
+ - now properly complains about missing permissions when trying to write
+ to a read-only location (closes: #238906)
+ - fixes printing of handouts in grayscale mode (closes: #416309)
+ * ooo-build:
+ - update (r13171)
+ * debian/template.desktop.in: move to ..
+ * debian/startcenter.desktop.in: .. this and run ooffice now, which
+ will bring us to the new StartCenter. Reuse writers icon.
+ * debian/*.overrides.lintian*: move ..
+ * debian/*.lintian-overrides*: here.
+ * debian/scripts/installoverrides: remove
+ * debian/rules:
+ - run dh_lintian
+ - lots of updates for removed $UPD, removed files and changed locations
+ and the "three-layer OOo" (of which we merge the layers in ooo-build)
+ - bump ant builddep to ant (>= 1.7.0) and additonally build-dep on
+ ant-optional when we build the mediawiki extension
+ - remove scsolver conditionals, not disableabe in Suns version.
+ Remove obsolete mvs
+ - support default-jdk-builddep, begin support of openjdk-6-jdk for
+ building, still default to java-gcj-compat-dev
+ - move ure Java stuff to /usr/share/java (as before in -java-common)
+ - temporarily disable SDK package (until jsc21)
+ - update get-orig-source target
+ - add --enable-gio conditional, disable it for now since it breaks OOo
+ - start of KDE4 support
+ - add BUILD_GTK conditional
+ - BUILD_ONLY_EN_US=y
+ - remove spellchecking symlink and specify the new configure options for
+ specifying dictionary/hyphenation/thesauri paths.
+ - disable mono, known-broken right now, will be fixed with m22 onwards
+ * debian/rules, debian/control.in:
+ - make openoffice.org-core Pre-Depend on ure (>= 1.4+OOo3.0.0~)
+ (unfortunately ure didn't update it's version although 3.0.0 needs new
+ symbols) and update dh_makeshlibs to add a corresponding shlibs
+ * debian/control.ure.in:
+ - remove unneeded ${shlibs:Depends} for ure-dbg
+ * debian/openoffice.org-core.shlibs.local, debian/rules:
+ - don't use a .shlibs.local for the URE libs anymore. Get the URE
+ dependency via the normal .shlibs mechanism
+ * debian/rules, debian/control.in,
+ debian/control.{minimizer,presenter,mediawiki}.in,
+ debian/openoffice.org*.{preinst,prerm,postinst}.in,
+ debian/openoffice.org*.{script.bug}:
+ - package the new Presenter Console, Wiki Publisher and PDF Import
+ extensions
+ - update/add Presentation Minimizer conditionals
+ * debian/broffice.org.{preinst,postrm}.in,
+ debian/openoffice.org-dtd-officedocument1.0.xmlcatalogs,
+ - update
+ * debian/rules, debian/control.in: URE is now a part of the "three-layer
+ office". Remove PACKAGE_URE conditionals and make -core depend on ure.
+ * debian/copyright: LGPL v3; update
+ * debian/scripts/vars.*: add PLATFORMID (not kfreebsd-* yet...)
+ * debian/control.in:
+ - s/cupsys/cups/
+ - remove xutils build-dep, nas was using xmkmf and it's long gone here
+ * debian/openoffice.org-presentation-minmizer*: update for new ID
+ * debian/rules, debian/control.ure.in: package the public UNO libs
+ into a specific uno-libs3 package
+
+ -- Rene Engelhard <rene@debian.org> Sun, 13 Jul 2008 03:09:05 +0200
+
+openoffice.org (1:2.4.1-6) unstable; urgency=low
+
+ * ooo-build
+ - update (r13167)
+ * debian/rules:
+ - only try to copy debian/tmp/pkg/openoffice.org-{help,l10n}-xx when
+ it's there
+ * debian/control.mono.in, debian/rules:
+ - hrm, we probably shouldn't make binary-arch depend on binary-indep.
+ Hardcode cli-uno-bridges dependencies instead of relying on
+ dh_clideps
+
+ -- Rene Engelhard <rene@debian.org> Fri, 11 Jul 2008 22:25:33 +0200
+
+openoffice.org (1:2.4.1-5) unstable; urgency=medium
+
+ * ooo-build:
+ - update (13085)
+ * debian/rules:
+ - re-enable Java for armel, gcj-4.3 OOM reportedly fixed. Add build-dep
+ on gcj-4,3 (>= 4.3.1-2) for armel
+ * debian/rules, debian/control.mono.in, debian/*.installcligac: split
+ cli_*dll in various subpackages to make the packages CLI policy compliant.
+ Rename libuno-cil to cli-uno-bridge. Move the files in libuno*-cil to
+ /usr/lib/cli/uno-1.x
+ * debian/rules, debian/control.in:
+ - split emailmerge out into an own package. Don't make -writer depend on
+ python-uno anymore so that -writer (and openoffice.org) still can be
+ installed when python-uno is not installable (like at python-defaults
+ changes)
+ * debian/openoffice.org-emailmerge*: unopkg add --shared mailmerge.py
+ to register mailmerge.py as it otherwise doesn't seem to work
+ (closes: #488875)
+
+ -- Rene Engelhard <rene@debian.org> Mon, 07 Jul 2008 21:32:28 +0200
+
+openoffice.org (1:2.4.1-4) unstable; urgency=medium
+
+ * ooo-build
+ + update (r12994)
+ + sw-field-patch-fix-competing-protection.diff: for the competing
+ protection problem from n#400884 (really closes: #477653)
+ + distro-configs/Common.conf.in: randr re-enabled per default
+ * debian/rules:
+ - re-enable randr
+ - re-enable mono, mono seems to be fixed on amd64
+ * debian/control.in:
+ - make openoffice.org metapackage depend on ttf-liberation. Remove
+ msttcorefonts suggestion.
+ * debian/openoffice.org-core.postrm.in:
+ - fix. rm -rf /var/spool/openoffice, not /var/spool/openoffice2
+
+ -- Rene Engelhard <rene@debian.org> Tue, 01 Jul 2008 23:06:23 +0200
+
+openoffice.org (1:2.4.1-3) unstable; urgency=medium
+
+ * ooo-build:
+ - update (r12885)
+ + cws-cmcfixes47-sw.diff: backport fix from 3.0 to not open Word
+ documents read-only (closes: #477653)
+ + cws-cmcfixes47-extensions.diff: fix mozilla plugin for 64-bit mozilla
+ API
+ + distro-configs/Common.conf.in: --disable-randr (closes: #485833)
+ * debian/rules:
+ + re-enable mozilla plugin for 64bit archs
+ + add ENABLE_RANDR conditional, remove libxrandr2 Recommends:
+
+ -- Rene Engelhard <rene@debian.org> Fri, 13 Jun 2008 23:41:39 +0200
+
+openoffice.org (1:2.4.1-2) unstable; urgency=low
+
+ * ooo-build:
+ - update (r12856)
+ + ooo86080.unopkg.bodge.diff: fix bashism: s/==/=/ (closes: #485706)
+
+ -- Rene Engelhard <rene@debian.org> Wed, 11 Jun 2008 09:04:10 +0200
+
+openoffice.org (1:2.4.1-1) unstable; urgency=low
+
+ * OpenOffice.org 2.4.1 final
+ * upload to unstable
+ * ooo-build:
+ - update (r12837)
+ * debian/control.in:
+ - only recommend -fitler-binfilter. (closes: #484287)
+ - conflict against libgtk2.0-0 = 2.12.10-1 on amd64 because of
+ #484580 and #484758.
+ * debian/rules:
+ - install also other resolutions than 48x48 for the ooo-build/desktop
+ icons, thanks Chris Cheney
+ * debian/rules, debian/broffice.org.*.in:
+ - fixup openoffice.applications (closes: #485437) and stop specifying
+ unopkg with full paths (we don't do it for ooffice either and
+ /usr/bin/unopkg does it)
+ * debian/copyright:
+ - update
+
+ -- Rene Engelhard <rene@debian.org> Mon, 09 Jun 2008 20:15:06 +0200
+
+openoffice.org (1:2.4.1~rc2-1) experimental; urgency=low
+
+ * OpenOffice.org 2.4.1 rc2 (OOH680_m17)
+ * ooo-build:
+ - update (r12720)
+ * debian/control.in:
+ - s/meta package/metapackage/
+ * debian/rules:
+ - fix typo in installing bug scripts/presubj for arch-indep packages
+
+ -- Rene Engelhard <rene@debian.org> Fri, 30 May 2008 13:42:13 +0200
+
+openoffice.org (1:2.4.1~rc1-1) experimental; urgency=low
+
+ * OpenOffice.org 2.4.1 rc1 (OOH680_m16)
+ - now doesn't need a patched icu (public SetBreakType) anymore for
+ building
+ * ooo-build:
+ - use ooo-build-2-4-1 branch
+ - update (r12682)
+ + allows to change broken java configuration
+ This closes: #451928, #452925
+ Most probably also closes: #454996
+ * debian/rules:
+ - we also need to build-depend on libnss3-dev (closes: #481996)
+ - re-enable system-icu for etch backports
+ - add get-orig-source target
+ - remove overseen $(OOO_ARCHS); make control/maintscripts depend on all
+ .ins for it (removes duplicate contro.gcj.in). Thanks Chris Cheney
+ - disable mono on amd64 and OGLtrans on 64-bit archs
+ - improve USE_STLPORT/ENABLE_MONO/ENABLE_OGLTRANS/MOZILLA conditionals to
+ add the right build-deps even when the arch we generate it doesn't build
+ e.g. with STLport
+ * debian/control.in:
+ - remove libicu build-conflicts
+ * debian/control.in, debian/rules:
+ - libsapdbc-java was removed, stop suggesting it and adding it to OOos
+ CLASSPATH
+
+ -- Rene Engelhard <rene@debian.org> Tue, 27 May 2008 22:44:43 +0200
+
+openoffice.org (1:2.4.1~ooh680m14-1) experimental; urgency=low
+
+ * OpenOffice.org 2.4.1 snapshot OHO680_m14
+ * ooo-build:
+ - update (r12554)
+ * debian/rules:
+ - update for new xulrunner 1.9 packaging using iceape-dev.
+ Use MOZILLA=iceape (closes: #480813)
+ - specify -Nopenoffice.org-gcj when building without Java
+ - remove extra dependency changing for libhyphen0, we now get a
+ dependeny on 2.4 "for free"; build-dep on libhyphen-dev (>= 2.4)
+ * debian/control.qa.in:
+ - fix -qa-tools' depends
+ * debian/copyright: fix "Obtained from", mention go-oo.org. Remove obsolete
+ section about odk/sdk_oo
+
+ -- Rene Engelhard <rene@debian.org> Mon, 12 May 2008 11:38:39 +0200
+
+openoffice.org (1:2.4.0-6) unstable; urgency=low
+
+ * ooo-build:
+ - update (r12409)
+ * debian/rules:
+ - fix debian/rules to add archs to OOO_SCSOLVER_ARCHS when they build OOo
+ to not get useless build-deps there
+ - support xulrunner 1.9
+ - fix java-gcj-compat-dev build-depends conditional logic to set the
+ right versioned build-dep for !etch
+ - correct control.mono.in inclusion regardless of host architecture
+ - explicitly set ENABLE_REPORTDESIGN=n in arch conditonals for
+ disabling java (-> arm(el)). Only depend on openoffice.org-writer2latex
+ when Java is enabled
+ - also install pythonscript.py into $(SITE_PACKAGES)
+ * debian/control.in:
+ - make the openoffice.org metapackage depend on ttf-dejavu, since upstream
+ OOo ships it
+ * debian/scripts/vars.ppc64: actually add
+ * debian/control.in, debian/rules:
+ - remove the "build libmythes-dev only" option as OOo is now enabled
+ on all important archs. Remove the now unndeeded arch specifiers
+ on builddeps. Hopefully makes mips(el) parse the builddep line
+ again without segfault...
+ * debian/control.in:
+ - make impress recommend libxrandr2 as OOo now can detect size
+ changes through it
+ - build-depend against libxrandr-dev
+
+ -- Rene Engelhard <rene@debian.org> Thu, 01 May 2008 16:25:12 +0200
+
+openoffice.org (1:2.4.0-5) unstable; urgency=low
+
+ * rebuild with python-central 0.6.4 (closes: #476678)
+ * ooo-build
+ - use ooo-build-2-4 branch
+ - update (r12270)
+ + patches/src680/configures-explicit-arch.diff: fix up for
+ the internal icu build
+ + patches/src680/sc-openformula-frequency.diff: fixed a silly regression
+ that prevents the built-in FREQUENCY function from working properly
+ (closes: #477104)
+ + patches/src680/sdk-settings-honour-linux.diff: honour also linux
+ as in s390-ibm-linux instead of only linux-gnu (closes: #477153)
+ * debian/rules:
+ - revert libstlport4.6-dev builddep bump. Will break our builddeps
+ for etch-backports and testing now has already -ldbl
+ - set PACKAGE_NPSOPLUGIN=n when MOZILLA= (--disable-mozilla)
+ - enable scsolver for armel (lp-solve now available)
+ * debian/control.in, debian/rules:
+ - only add a dependency on openoffice.org-officebean to openoffice.org
+ when openoffice.org-officebean is actually built (i.e. we build with
+ Java), thaks Chris Cheney
+ * debian/changelog: mention the various security fixes in OOH680_m5 and
+ OOH680_m6
+ * merge from Ubuntu:
+ - debian/rules:
+ + Correct control.mozilla.in inclusion regardless of host architecture
+
+ -- Rene Engelhard <rene@debian.org> Mon, 21 Apr 2008 17:02:51 +0200
+
+openoffice.org (1:2.4.0-4) unstable; urgency=medium
+
+ * rebuild against python 2.5 (closes: #476220)
+ * ooo-build:
+ - update (r12156)
+ + disables cjk-character-units-*.diff as they cause some problems
+ (closes: #474028)
+ + emf+-canvas-vcl-non-closed-polygon.diff: fixed invalid access
+ (closes: #465423)
+ + sw-hindi-numbers.diff: revert change for i#81577 to fix number
+ displaying in hebrew docs
+ + fixes uninitialized memory in manual spellchecking (closes: #469894)
+ - src: update GSIs from ftp.linux.cz: bg da et fi ga mk nb nn
+ * debian/rules:
+ - handle new aotcompile.py location in java-gcj-compat-dev due to
+ python-central >= 0.6 (closes: #475987)
+ - bump libstlport4.6-dev builddep to ensure building against
+ libstlport4.6ldbl
+ - re-enable system-hunspell
+ - bump libhyphen0 dep to 2.3-1-3
+ - set MOZILLA= when arch not in OOO_MOZILLA_ARCHS
+ - fix OOO_OGLTRANS_ARCHS conditional
+ - disable Java (OOM) and mozilla (no xulrunner/nss/nspr available yet)
+ on armel
+ * debian/rules, ooo-build/patches/src680/configures-explicit-arch.diff:
+ explicitly specify --host and --build (closes: #475037)
+ * debian/control.in, debian/control.reportdesign.in: Fix long
+ description, thanks Gerfried Fuchs (closes: #475992)
+ * merge from Ubuntu:
+ - debian/*.mime:
+ + Update and sort mime-types.
+ - debian/rules:
+ + Use openjdk-6-jre instead of icedtea-java7-jre.
+ - debian/control.reportdesign.in:
+ + change %OOO_ARCHS% to %OOO_JAVA_ARCHS%
+
+ -- Rene Engelhard <rene@debian.org> Mon, 14 Apr 2008 12:23:51 +0200
+
+openoffice.org (1:2.4.0-3) unstable; urgency=low
+
+ * The "Third time is a charm?" release.
+
+ * ooo-build:
+ - update (r12025 - ooo-build 2.4.0.5)
+ + now installs a /usr/bin/unopkg wrapper (closes: #319548)
+ - src: update GSIs from ftp.linux.cz: et ga
+ * debian/shell-lib.sh, debian/openoffice.org{,-common}.preinst.in:
+ - don't query docbook-xmls conffiles but ours....
+ * debian/rules:
+ - actually add text/rtf to ooo-writer.desktop (closes: #472952)
+ * debian/openoffice.org-common.manpages: install unopkg.1
+
+ -- Rene Engelhard <rene@debian.org> Fri, 28 Mar 2008 10:53:56 +0100
+
+openoffice.org (1:2.4.0-2) unstable; urgency=low
+
+ * Brown paper bag release.
+ * build with a correct control to get the needed libstlport4.6-dev builddep
+ on i386
+ * debian/rules:
+ - remove arm also from OOO_MOZILLA_ARCHS and OOO_NPSOLPLUGIN_ARCHS. Fix
+ "build-only-mythes" conditional to actually be on effect for arm
+
+ -- Rene Engelhard <rene@debian.org> Fri, 28 Mar 2008 00:28:17 +0100
+
+openoffice.org (1:2.4.0-1) unstable; urgency=low
+
+ * OpenOffice.org 2.4.0 final
+ * ooo-build:
+ - update (r11988)
+ + buildfix-oox-depends-on-unotools.diff: make oox
+ depend on unotools (closes: #471633)
+ + sc-fix-value-iterator.diff; fixes e.g MIN function
+ (closes: #471416)
+ * debian/control.in:
+ - remove obsolete libsndfile1-dev builddep
+ - also build-conflict against nvidia-glx-legacy-dev
+ - fix Vcs-Bzr:
+ * debian/*.lintian-overrides*: remove "unused-override"s
+ * debian/openoffice.org-{core,ogltrans}.control.bug:
+ Report-With: infos about fglrx and nvidia drivers
+ * debian/rules:
+ - disable binfilter builds for arm(el)
+ - disable arm builds completely as it's "an obsolete arch". Still keep
+ armel (won't block testing migration)
+ - don't build-depend on g{cc,++}-4.3 on s390 anymore as it's the default
+ now anyway. Build-depend on gcc (>> 4.3.0) and g++ (>> 4.3.0)
+ instead
+ - fix l10n-sr up to not conflict against -sr-cs as that's our
+ etch->lenny transitional package.
+
+ -- Rene Engelhard <rene@debian.org> Wed, 26 Mar 2008 22:42:18 +0100
+
+openoffice.org (1:2.4.0~rc6-1) unstable; urgency=low
+
+ * OpenOffice.org 2.4.0 rc6 (aka OOH680_m12)
+ * ooo-build:
+ - update (r11918)
+
+ -- Rene Engelhard <rene@debian.org> Sun, 16 Mar 2008 21:07:25 +0100
+
+openoffice.org (1:2.4.0~rc5-1) unstable; urgency=low
+
+ * OpenOffice.org 2.4.0 rc5 (aka OOH680_m11)
+ * ooo-build:
+ - update (r11890)
+
+ -- Rene Engelhard <rene@debian.org> Thu, 13 Mar 2008 12:22:53 +0100
+
+openoffice.org (1:2.4.0~rc4-1) unstable; urgency=low
+
+ * OpenOffice.org 2.4.0 rc4 (aka OOH680_m10)
+ * ooo-build:
+ - update (r11862)
+ - ubuntu-soffice-config.diff: set $HOME from getent if not set
+ (closes: #431976)
+ - src:
+ - update GSIs from ftp.linux.cz: bg da et fi ga mk ro uz
+ * debian/rules:
+ - suggest libnss-1d-dbg instead of libnss3-0d-dbg (closes: #469872)
+ * debian/control.in:
+ - GTk -> GTK+, thanks lintian
+ * debian/udk*ref.in
+ - Apps/Programming -> Programming, thanks lintian
+
+ -- Rene Engelhard <rene@debian.org> Mon, 10 Mar 2008 21:08:38 +0100
+
+openoffice.org (1:2.4.0~rc3-1) unstable; urgency=low
+
+ * OpenOffice.org 2.4.0 rc3 (aka OOH680_m9)
+ * ooo-build
+ - update (r11840)
+ * debian/rules:
+ - enable s390 build (don't enable mono); force gcc 4.3 to workaround
+ ICE(s)
+ * debian/control.in:
+ - build-depend on libxtst-dev
+
+ -- Rene Engelhard <rene@debian.org> Fri, 07 Mar 2008 08:22:20 +0100
+
+openoffice.org (1:2.4.0~rc2-1) unstable; urgency=low
+
+ * OpenOffice.org 2.4.0 rc2 (aka OOH680_m8)
+ - fixes printing of control elements (closes: #467168)
+ * ooo-build:
+ - update (r11750)
+ * debian/rules, debian/control.ure.in:
+ - introduce ure:Version variable (closes: #466932)
+ * debian/rules:
+ - fix self-reference of GCJ_JAWT_DEPENDS on etch-backports
+ (closes: #466932)
+ * debian/control.in:
+ - remove obsolete libstartup-notification0-dev builddep
+
+ -- Rene Engelhard <rene@debian.org> Thu, 28 Feb 2008 23:00:39 +0100
+
+openoffice.org (1:2.4.0~rc1-3) unstable; urgency=low
+
+ * ooo-build:
+ - update (r11700)
+ + cws-ia64port01.diff: backport ia64 port
+ + ubuntu-soffice-config.diff: remove disabling of thai autohinting,
+ thanks Theppitak Karoonboonyana (closes: #467180)
+ * debian/rules:
+ - use readlink -f for determining libstlport_gcc.so.4.6s location
+ (closes: #466040)
+ - BUILD_IA64=y
+ - --disable-mono for arm(el)
+ - add GCJ_JAWT_DIR to LD_LIBRARY_PATH for a try to fix FTBFS on mips
+ - install pythonloader.py into $(PYTHON_SITE) (closes: #466412)
+ - temporarily build with internal hunspell (closes: #459943)
+ - build with libdb4.6 (closes: #464754)
+ - add symlink /usr/share/doc/openoffice.org-dev/index.html ->
+ /usr/lib/openoffice/sdk/index.html. Is the other way around like
+ the submitter suggested but still closes: #420804 AFAIS.
+ Replace non-working link to license.html with link to
+ http://www.gnu.org/licenses/lgpl.html
+ - openoffice$(VER) -> $(OODIRNAME)
+ - build against libsuitesparse-3.1.0; adapt build-depends to require
+ the new version (and the lp-solve built against libsuitesparse-3.1.0)
+ - add ttf-thai-tlwg FONT_SUGGESTS
+ * debian/control.in:
+ - only recommend openoffice.org-writer2latex at -writer. Add it
+ to the "openoffice.org" metapackage as Depends (closes: #466170)
+ - only suggest -style-{hicontrast,industrial} (closes: #466494)
+
+ -- Rene Engelhard <rene@debian.org> Mon, 25 Feb 2008 18:46:30 +0100
+
+openoffice.org (1:2.4.0~rc1-2) unstable; urgency=low
+
+ * upload to unstable
+ * ooo-build:
+ - update (r11592)
+ * debian/rules:
+ - build-depend on debhelper >= 5.0.51~ for dh_icons, thanks lintian
+ - make arm build really use --without-java for the build
+ * debian/libuno-cil.installcligac.in:
+ - also register cli_uno_bridge.dll (although versioned 0.0.0.0) into the
+ GAC
+ * debian/openoffice.org-core.control.bug:
+ - s/openoffice.org-filter-so52/openoffice.org-filter-binfilter/
+ * debian/openoffice.org-{report-builder,ogltrans}.control.bug:
+ - add report-with: openoffice.org-base / openoffice.org-impress
+ * debian/*.script.bug:
+ - new bug scripts listing all extensions (-core) or the extension infos
+ (-report-builder, -sdbc-postgresql, -presentation-minimizer)
+
+ -- Rene Engelhard <rene@debian.org> Fri, 15 Feb 2008 14:15:08 +0100
+
+openoffice.org (1:2.4.0~rc1-1) experimental; urgency=low
+
+ * OpenOffice.org 2.4.0 rc1 (aka OOH680_m7)
+ * ooo-build:
+ - update (r11558)
+ - src: update GSIs from frp.linux.cz (mk, ro, uz, vi)
+ * debian/control.in:
+ - fix logic error, we of course should conflict against old
+ openoffice.org-calcs in the new common, not the other way around
+ (really closes: #464544).
+ Go safe for the future; make -common Conflicts: against all the modules
+ (<< ${base-version})
+ - build-conflict against flex (= 2.5.34-1) on amd64
+ - s/python/Python/, thanks lintian. Add Homepage: field for python-uno
+ * debian/control.qa.in:
+ - add ${shlibs:Depends}, thanks lintian
+ * debian/control.ure.in:
+ - make ure-dbg depend on ure, thanks lintian
+ * debian/control.postgresql.in:
+ - s/postgresql/PostgreSQL/, thanks linttian
+
+ -- Rene Engelhard <rene@debian.org> Wed, 13 Feb 2008 09:28:35 +0100
+
+openoffice.org (1:2.4.0~ooh680m6-3) experimental; urgency=low
+
+ * ooo-build:
+ - update (r11531)
+ * debian/control.in:
+ - make -calc conflict against openoffice.org-common (<< 1:2.3.0)
+ (closes: #464544)
+
+ -- Rene Engelhard <rene@debian.org> Fri, 08 Feb 2008 00:19:05 +0100
+
+openoffice.org (1:2.4.0~ooh680m6-2) experimental; urgency=low
+
+ * ooo-build:
+ - update (r11513)
+ * debian/rules:
+ - add some missing/fix arch qualifiers to libsuitesparse-dev/libgcj-bc
+ builddeps
+ - fix typos in specifying the libxml.jar and libfonts.jar
+ - reinstate Common-math.xcu moving (somewhen got lost(?)) to prevent
+ file conflicts on upgrade
+ * debian/control.ogltrans.in:
+ - bump depends to force fixed openoffice.org-common containing the correct
+ Impress.xcs
+
+ -- Rene Engelhard <rene@debian.org> Wed, 06 Feb 2008 02:09:14 +0100
+
+openoffice.org (1:2.4.0~ooh680m6-1) experimental; urgency=low
+
+ * new upstream snapshot (OOH680_m6)
+ - fixes CVE-2007-4770 and CVE-2007-4771 for the (unused) internal icu
+ copy
+ * ooo-build:
+ - update (r11494)
+ * debian/rules:
+ - stop adding libgcj9-0-awt to java-runtime-depends. Make
+ java-gcj-compat depends of officebean versioned to force 1.0.77-4 which
+ already depends on the -awt package now
+ - specify --with-XXXX-jar for the report-builder jars explcitely
+
+ -- Rene Engelhard <rene@debian.org> Sun, 03 Feb 2008 23:02:29 +0100
+
+openoffice.org (1:2.4.0~ooh680m5-1) experimental; urgency=high
+
+ * new upstream snapshot (OOH680_m5)
+ - adds https support for WebDAV (closes: #244280)
+ - officially adds possibility to input formulas starting with -/+
+ (closes: #433360)
+ - now queries CUPS for printers again when opening the print dialogue;
+ not only on startup (closes: #290016)
+ - doesn't link libofficebean.so with -lgcj anymore (closes: #441202)
+ - fixes CVE-2007-5745, CVE-2007-5746, CVE-2007-5747 and
+ CVE-2008-0320
+ * ooo-build:
+ - use trunk again (r11432)
+ - src:
+ + use (new) OOH680 GSIs from ftp.linux.cz
+ . new: ro, gd
+ + add eu GSI from Issue 85486
+ * debian/rules, debian/scripts/vars.mips{,el}, debian/scripts/vars.arm{,el}:
+ (re)add conditionals and vars for new mips(el)/armel and revived arm
+ support; enable
+ * debian/rules, debian/scripts/vars.ia64: first preparations for the
+ (upcoming) ia64 port
+ * debian/rules:
+ - fix configure flags for "no mozilla" case, we need to specify
+ --without-system-mozilla explicitly
+ * debian/control.in, debian/rules,
+ debian/openoffice.org-presentation-minimizer*:
+ - package the new "Presentation Minimizer" extension as
+ openoffice.org-presentation-minimizer
+ * debian/control.ure.in, debian/rules, debian/ure.overrides.lintian.in:
+ - package the URE
+ * debian/rules:
+ - build against OpenSSL versions of curl and (especially) neon again
+ as the webdav ucp now directly links against openssl...
+ (reopens: #391671). Use system-openssl.
+ - ENABLE_OPENGL=y
+ - bump dmake builddep
+ - fix BUILD_BINFILTERS conditional to work
+ - add PACKAGE_WRITER2LATEX / USE_EXTERNAL_WRITER2LATEX conditionals
+ - s/stlport4/stlport/
+ - fix ENABLE_JAVA=n build, build the help as it doesn't need Java anymore,
+ don't build report-builder
+ - enable the report-builder using the internally-built jars for the etch
+ backport now that this is possible
+ - temporarily build the report-builder using the internally-built jars
+ - fix SYSTEM_XALAN conditional to not reset SYSTEM_XML_APIS
+ bogusly
+ - enable eu and ro langpacks, enable eu help
+ - s/libjfreereport-java/libpentaho-reporting-flow-engine-java/
+ - update for gcj 4.3; detect libgcj package name/libjawt dir automatically
+ - add icedtea-java7-jre to JVM alternatives for JVM recommends/depends.
+ Place it before sun-java?-jre
+ - don't try to create a libstlport_gcc.so symlink if we don't build
+ with stlport and the readlink will fail :)
+ * debian/control.in:
+ - remove Provides: writer2latex from -writer, bogus (we only provide
+ libwriter2latex-java at all, and that with an old version). Depend
+ on openoffice.org-writer2latex.
+ - build-depend on graphicsmagick-imagemagick-compat instead of simply
+ graphicsmagick as ooo-builds Makefile.shared now uses "convert".
+ Suggest graphicsmagick-imagemagick-compat | imagemagick.
+ - suggest only ttf-dejavu instead of ttf-dejavu | ttf-bitstream-vera;
+ OOo now contains the DejaVu fonts. Closes: #461279
+ - add USE_SYSTEM_JFREEREPORT conditional
+ - build-depend on flex-old instead of flex, see Issue 85508
+ - another Replaces: (-core) missed the epoch, thanks Chris Cheney
+ - make openoffice.org-writer conflict against -java-common (<< 1:2.3.1)
+ (closes: #462477)
+ * debian/control.ogltrans.in:
+ - depend on openoffice.orgVER-core and openoffice.orgVER-impress
+ >> 2.4.0~m237
+ * debian/openoffice.org-ogltrans.*.in:
+ - remove, ooo-build makes this pre-registered
+ * debian/openoffice.org-{ogltrans,base-core}.overrides.lintian:
+ - override RPATH warning
+ * merge from Ubuntu:
+ - debian/rules:
+ + Use java-runtime-depends variable for java dependencies.
+ + make -gcj depend on libhsqldb-java-gcj
+ + some minor parallel build conditional improvements
+
+ -- Rene Engelhard <rene@debian.org> Tue, 29 Jan 2008 00:25:31 +0100
+
+openoffice.org (1:2.3.1-3) unstable; urgency=low
+
+ * debian/control.in:
+ - update VCS headers...
+ - add build-conflicts on broken libmono-devs
+ * debian/rules:
+ - add build-dep on mono-{1,2}.0-devel for new mono packages
+ (closes: #458541)
+ - mono is now also building sparc packages; enable it
+
+ -- Rene Engelhard <rene@debian.org> Fri, 28 Dec 2007 16:51:47 +0100
+
+openoffice.org (1:2.3.1-2) unstable; urgency=low
+
+ * ooo-build:
+ - update (r11083)
+ + buildfix-sal-system.h-no-asm-sigcontext.h.diff: don't include
+ <asm/sigcontext.h>, thanks Aurelien Jarno
+ + disables SVGImport
+ * debian/rules:
+ - fix PYTHONPATH setting and remove aotcompile.pyc in clean, too...
+ - we also need -l$(PKGDIR)-base/$(OODIR)/program for dh_shlibdeps
+ as report-builder links against libdbu
+ - remove libsvg conditional; SVGImport is incomplete and now disabled
+ in ooo-build
+ - etch backport fixes
+ - use db4.4
+ - use internal icu
+ - use STLport on all archs
+ * debian/rules, debian/control*.in:
+ - add ENABLE_REPORTDESIGN conditional; disable it for etch backports
+ - verbosize -report-builders description
+ * debian/control.in:
+ - add missing epoch to -base-core's Replaces: (closes: #454625)
+ - add Replaces: openoffice.org-common (<< 1:2.3.1) to
+ openoffice.org-writer as the MediaWiki things moved into -writer
+ upstream (closes: #455961)
+ * debian/copyright:
+ - UTF-8'ize, thanks lintian
+
+ -- Rene Engelhard <rene@debian.org> Wed, 12 Dec 2007 23:08:31 +0100
+
+openoffice.org (1:2.3.1-1) unstable; urgency=low
+
+ * OpenOffice.org 2.3.1 final (identical to rc1);
+ mention CVE-2007-4575 in rc1s changelog
+ * merge 2.3.0.dfsg-3 (closes: #453130)
+ * upload to unstable
+ * ooo-build
+ - use ooo-build-2-3 branch
+ - update (r11041)
+ + patches/src680/fpicker-kde-dialog.diff: keeps filename between 2
+ directories now (closes: #427908)
+ + fixes right() function in StarBasic (closes: #452267)
+ + disables GnomeVFS section for !Novell (closes: #451849)
+ - src: update mk GSI from ftp.linux.cz
+ * debian/control.gcj.in:
+ - "fix" override disparity of -gcj
+ * debian/control.in:
+ - make -l10n-in depend on -mr-in, too
+ * debian/control.ogltrans.in, debian/rules,
+ debian/openoffice.org-ogltrans*:
+ - package the new "OpenGL rendered transitions" UNO package as
+ openoffice.org-ogltrans when ENABLE_OPENGL=y.
+ * debian/rules:
+ - add $(OOO_ARCHS) to the mesa builddeps
+ - fix build with new dpkg-dev
+ - re-enable cy langpack
+ - build against libhyphen-dev which contains a shared lib for ATLinuxhyph
+ now
+ * debian/rules, debian/aotcompile-256M-default.diff: work around
+ java-gcj-compat-devs defaults causing (at least) the i386 buildd
+ to OOMing while building the native jars
+ * debian/control.in, debian/rules:
+ - put libdba680l?.so into a -base-core package. Make -base, -writer and
+ -calc depend on it (closes: #381083)
+ * debian/README.Debian-source
+ - update
+ * debian/shell-lib.sh:
+ - run unopkg with -env:JFW_PLUGIN_DO_NOT_CHECK_ACCESSIBILITY=1 because
+ otherwise the first run with gcj won't find a JRE (and might fail the
+ install then). Flush the cache after removing as unopkg doesn't remove
+ files on uninstall but marks them as "to-be-removed-on-next-start".
+ Thanks Caolan McNamara.
+ * debian/README.Debian:
+ - update
+
+ -- Rene Engelhard <rene@debian.org> Wed, 05 Dec 2007 07:15:05 +0100
+
+openoffice.org (1:2.3.0.dfsg-3) unstable; urgency=low
+
+ * ooo-build:
+ - update (r10855)
+ + patches/emf+/emf+-cppcanvas-emfplus.diff: fix big endian builds
+
+ -- Rene Engelhard <rene@debian.org> Sat, 17 Nov 2007 13:54:47 +0100
+
+openoffice.org (1:2.3.1~rc1-1) experimental; urgency=high
+
+ * OpenOffice.org 2.3.1 rc1 (OOG680_m9)
+ - fixes CVE-2007-4575
+ * ooo-build:
+ - src: remove vi and ar again (integrated)
+ * debian/rules:
+ - bump (build-)dep for external hsqldb to >= 1.8.0.9-1
+ - fix milestone detection...
+ * debian/control.in:
+ - build-conflict against libicu36-dev (<= 3.6-7), libicu-dev (<= 3.8-1)
+ because we need a function which was private in those versions...
+ * debian/README.Debian-source
+ - update
+
+ -- Rene Engelhard <rene@debian.org> Thu, 15 Nov 2007 13:29:04 +0100
+
+openoffice.org (1:2.3.0.dfsg-2) unstable; urgency=low
+
+ * ooo-build:
+ - update (r10834)
+ + pyuno-rpath-ooodir.diff: fix (closes: #316030)
+ * debian/README.Debian-source:
+ - update
+
+ -- Rene Engelhard <rene@debian.org> Thu, 15 Nov 2007 13:26:48 +0100
+
+openoffice.org (1:2.3.0.dfsg-1) unstable; urgency=low
+
+ * clean jfreereport sources included in OOo from binary-only jars
+ * upload to unstable
+ * ooo-build
+ - update (r10794)
+ - jvmfwk-detect-removed-java.diff: try autodetection if it is allowed
+ and the current JRE has been removed (hopefully closes: #416242,
+ please reopen if not)
+ - src:
+ - update GSIs from ftp.linux.cz: da km mk sl vi
+ - add ar GSI from from i#83301
+ * debian/rules:
+ - since 2.3.0 final we need --enable-dbus explicitly
+ - remove obsolete glitz build-dep
+ - re-enable -gcj (closes: #449201) and bump build-dep on
+ java-gcj-compat-dev for this
+ - fix logic error preventing mozilla-openoffice.org having
+ real content, oops (closes: #449528)
+ - use system jfreereport libs
+ - re-enable ar langpack
+ - add libfontconfig1-dbg to DBG_DBG_SUGGESTS
+ - Adapt for STLport5 patchset not applied anymore. Remove STLport5
+ support.
+ - Build --without-stlport4 (closes: #294105). Keep STLport4 for i386
+ now due to compatibility with upstream OOo and binary-only stuff
+ - fix -dbg suggests on libstdc++6 (we want libstdc++6-4.x-dbg)
+ * debian/control.in:
+ - XS-Vcs-* -> Vcs-*
+ - add a conflict against libicu38 (= 3.8~d01-1)
+ * debian/control.{,gcj}.in:
+ - depend/recommend (on) java-gcj-compat instead of gij | java-gcj-compat
+ as "gij" alone doesn't seem to be sufficient to make OOo know there's
+ a "Free Software Foundation" JDK (closes: #440899)
+ - s/j2re1.4/sun-java5-jre/
+ * debian/shell-lib.sh: fix again to match what a plain upstream build
+ creates when embedding the extension in the installset...
+
+ -- Rene Engelhard <rene@debian.org> Tue, 13 Nov 2007 08:34:15 +0100
+
+openoffice.org (1:2.3.0-4) experimental; urgency=medium
+
+ * ooo-build:
+ - update (r10582)
+ * debian/control.mozilla.in:
+ - recommend konqueror-nsplugins (closes: #446911)
+ * debian/control.in:
+ - build-conflict against libicu-dev (= 3.8~d01-1) and rebuild against
+ libicu-dev 3.8-1 (closes: #447735)
+ - stop recommending nfs-common because people now need to install
+ nfs-common anyway when they want to use NFS (closes: #424761)
+ * deian/rules:
+ - fix qstart.desktop installation. Yes, it's not obsolete (why did I thnk
+ that?) and ended up in the wrong package (closes: #447732)
+
+ -- Rene Engelhard <rene@debian.org> Wed, 24 Oct 2007 11:19:24 +0200
+
+openoffice.org (1:2.3.0-3) experimental; urgency=medium
+
+ * ooo-build:
+ - update (r10550)
+ + ooo82608.vcl.gtkbadfree.diff: backport fix from i#82608 to fix
+ bad free on theme resources (closes: #444741)
+ - src/: (re)add biblio.tar.bz2
+ * debian/rules:
+ - readd $(OOO_ARCHS) at neon builddep which got lost
+ - add a libstlport_gcc.so symlink in /usr/lib/openoffice/program when
+ using STLport4 to not rely on libstlport4.6-dev where binary-only
+ components would expect a libstlport_gcc.so
+ - look for Autodoc_DiagnosticMessages.txt in the correct path...
+ - add conditional for --enable-opengl (cws transogl1)
+ * debian/control.in:
+ - build-conflict against nvidia-glx-dev for safety
+ - build-conflict against broken libicu36-devs on amd64, see #447275
+ * debian/control.in, debian/rules:
+ - adapt for new qstart implementation in ooo-build, which apparently
+ makes ooqstart and qstart.desktop obsolete
+
+ -- Rene Engelhard <rene@debian.org> Sat, 20 Oct 2007 18:13:43 +0200
+
+openoffice.org (1:2.3.0-2) experimental; urgency=low
+
+ * ooo-build:
+ - update (r10478)
+
+ [ Rene Engelhard ]
+ * debian/rules:
+ - remove bogus curl conditional which was temporary but slipped in...
+ - fix Developer Snapshot detection to match on x.y.z~mX
+ - migrate from num-cpus= to parallel= in DEB_BUILD_OPTIONS, the latter
+ is the quasi standard and will also be used by -j of the new
+ dpkg-buildpackage
+ - fix ooo-extension.desktop fixing and actually install it in the right
+ target...
+ - we build against libcurl3-gnutls, so build against -gnutls for neon, too
+ - default to -P<number of cores> for PARALLEL_BUILD=y
+ - build against neon 0.27.x
+ - get rid of Autodoc_DiagnosticMessages.txt completely
+ * debian/control.in:
+ - make -report-builder depend on -java-common (>= 1:2.3.0~oog680m1) as
+ that apparently is needed
+ - remove long obsolete debconf depends; we don't use debconf anymore
+ * debian/copyright:
+ - point to /usr/share/common-licenses/LGPL-2.1 instead of just LGPL
+ as OOo is LGPL 2.1 only
+ * debian/control.mozilla.in, debian/rules:
+ - don't build mozilla-openoffice.org on amd64/ppc64, broken
+ * debian/*.overrides.lintian.in: adapt for new lintian
+ * merge from Ubuntu:
+ - debian/control.in: Build openoffice.org-officebean only on architectures
+ with java support
+
+ [ Mirco Bauer ]
+ * debian/rules:
+ - use LC_ALL=C instead of LANG=C for date call, else LC_ALL or LC_TIME
+ might override it.
+ - added mono-jit-dbg and mono-dbg to suggest list for debug packages
+ * debian/control.mono.in:
+ - enhanced package description
+
+ -- Rene Engelhard <rene@debian.org> Tue, 16 Oct 2007 17:31:47 +0200
+
+openoffice.org (1:2.3.0-1) experimental; urgency=low
+
+ * OpenOffice.org 2.3.0 final (identical to 2.3.0rc3)
+ * ooo-build:
+ - update (r10301)
+ + sc-preserve-imp-opts.diff: fix order (closes: #403128), thanks
+ Nagy Elemer Karoly
+ + ucb-no-CURL_NO_OLDIES.diff: don't build with -DCURL_NO_OLDIES
+ (closes: #442338)
+ * debian/changelog:
+ - mention fix for the tiff bug in 2.3.0~src680m224-1s changelog
+ * debian/rules:
+ - honour nocheck at test:
+ * debian/control.in: Build-Conflict against libc6-dev (= 2.6.1-3) and
+ libc6-dev (= 2.6.1-3) on i386/amd64 as sigcontext.h is broken
+ there.
+
+ -- Rene Engelhard <rene@debian.org> Sun, 16 Sep 2007 11:11:08 +0200
+
+openoffice.org (1:2.3.0~rc3-1) experimental; urgency=low
+
+ * OpenOffice.org 2.3.0rc3 (OOG680_m5)
+ * ooo-build:
+ - update (r10271)
+ + build with hash-style=both
+ + (temporarily) disables SELinux patch again (closes: #441380)
+ - src: update GSIs: da mk; remove *.log
+ * debian/rules:
+ - add support to build/run unit tests. For now, ignore all errors
+ (bugs in the build); disable per default
+ * debian/README.Debian-source: update
+ * debian/watch: add
+ * debian/openoffice.org-impress.mime: run Impress with -show for .pps
+
+ -- Rene Engelhard <rene@debian.org> Tue, 11 Sep 2007 21:28:10 +0200
+
+openoffice.org (1:2.3.0~rc2-1) experimental; urgency=low
+
+ * OpenOffice.org 2.3.0rc2 (OOG680_m4)
+ * ooo-build:
+ - update (r10223)
+ - src: update GSIs: bg cs da et vi
+ * debian/rules:
+ - build against db4.5 on sid (closes: #431786)
+ - build with system-boost again
+ - remove apparently obsolete OOO_LICENSE change to the GSIs (except
+ lv and sr-CS/sh-YU which apparently still need it)
+ - do not corrupt the ku GSI
+ * debian/control.*.in:
+ - migrate to new Homepage: field instead of adding it to the package
+ description
+ * debian/README.Debian-source: s/2.2.0/2.3.0/
+
+ -- Rene Engelhard <rene@debian.org> Fri, 7 Sep 2007 08:10:26 +0200
+
+openoffice.org (1:2.3.0~rc1-1) experimental; urgency=low
+
+ * OpenOffice.org 2.3.0rc1 (OOG680_m3)
+ * ooo-build:
+ - update (r10187)
+ + jvmfwk-gij-paths.diff: update for new gcj-4.2 packages
+ + jawt-check-cleanup.diff: clenup jawt check to not expect -lgcj
+ (only needed with long obsolete libgcjawt). As we now only
+ have a dependency on libjawt.so which all supported JDKs have,
+ and don't have a dependency on a specific gcj lib anymore we
+ can just depend (or-ed) on all supported JDKs.
+ Indirectly closes: #439287
+ + ooo80816.selinux.bridges.diff: add patch from Fedora to make OOo
+ work under SELinux (closes: #440105)
+ + src/: update GSIs from ftp.linux.cz: bg cs eo et fi mk vi
+ * debian/README.Debian: mention myspell-hy, myspell-fa, hunspell-ar
+ * debian/rules:
+ - BUILD_JARS_NATIVE=n until gcj-4.2 is unbroken
+ - actually install the binfilters...
+ - don't specify --with-java=gij anymore to use javac -> ecj from
+ java-gcj-compat on sid
+ - (build-)depend on libhsqldb-java (>= 1.8.0.8-1)
+ - don't run dh_icons on etch backports
+ - remove PATH setting for icu tools, now handled by configure
+ - remove $(PATCHSET)64 handling, obsolete
+ - temporarily disable cy, as it breaks building sbasics help
+
+ -- Rene Engelhard <rene@debian.org> Sun, 2 Sep 2007 09:12:11 +0200
+
+openoffice.org (1:2.3.0~oog680m2-1) experimental; urgency=medium
+
+ * new upstream snapshot (OOG680_m2)
+ - doesn't "translate" function names into german in hebrew calc anymore
+ (closes: #365964)
+ * ooo-build:
+ - update (r10111)
+ - ooo59127.vcl.honourcairofont.diff: fix for gdk hang. [CC]
+ (closes: #433870)
+ - cairo-canvas-ppc-fix.diff: fix endianness to fix yellow color in
+ presentation mode under cairo (closes: #339439)
+ - src: update GSIs from ftp.linux.cz: bg cs et fi gl sl vi
+ * debian/control.in:
+ - fix libpq-dev builddep, thanks calc
+ - make the openoffice.org metapackage depend on openoffice.org-officebean as
+ the officebean is a "standard part of the office"
+ * debian/control.qa.in:
+ - make -qa-tools conflict against openoffice.org-core (<< 1:2.3.0~oog680m2) as m1 breaks
+ the testtool and it's already uploaded..
+ * debian/rules:
+ - remove some more occurances of conditionals I missed to remove
+ in 2.3.0~src680m225-1
+ - remove RID_STR_EXTENSION_NOT_PRESENT translation from the GSIs so that
+ it is not merged (we changed the string)
+ - bump HELP_L10N_VIRTUAL_VERSION to 2.3
+ * merge from Ubuntu:
+ - fix JAWT_DEPENDS for new gcj-4.2
+
+ -- Rene Engelhard <rene@debian.org> Thu, 23 Aug 2007 00:21:59 +0200
+
+openoffice.org (1:2.3.0~oog680m1-1) experimental; urgency=low
+
+ * new upstream snapshot (OOG680_m1)
+ - makes unopkg being able to handle bundled Java extensions
+ * ooo-build:
+ - update (r10077)
+ + cws-dba23e.diff: fix system-hsqldb
+ - src/: Get fixed be-BY GSI from Issue 79966
+ * debian/shell-lib.sh, debian/openoffice.org-report-builder.{pre,post}*.in:
+ impove maintainer scripts (based on cws jl68). Check whether the extension
+ is registered before trying to remove it (it's not in case unopkg fails,
+ and we should be able to recover)
+ * debian/control.in:
+ - make -report-builder depend on -core >> 1:2.3.0~oog680m1 as we need the
+ fixes from cws jl68
+ - add Homepage: for the report-builder extension
+ * debian/control.in:
+ - fix -devs description; Xmerge Javadoc is not there for now, mention
+ gsicheck instead
+ * debian/rules:
+ - fix control target dependencies
+ - remove hack for #340468; seems to be not needed anymore
+ - readd MySQL, MaxDB and PostgreSQL JDBC drivers to
+ UNO_JAVA_JFW_CLASSPATH_URLS (removed in m224-1 due to the hsqldb
+ problems fixed in dba23e)
+ - one more lintian/.desktop fix
+ - build-depend on libicu-dev; 3.8 changed the -dev name (and 3.4 and 3.6
+ provide libicu-dev)
+ - update for OOG680
+ - handle epochs in $(BINARY_VERSION)
+ - fix X-KDE-Protocols addition to not add it a second, third etc. time on
+ incremental builds
+ - ooo-extension.desktop also needs Application; removed
+ * debian/control.{postgresql,}.in, debian/rules,
+ debian/openoffice.org-sdbc-postgresql.*: package PostgreSQL SDBC Driver
+ from http://dba.openoffice.org/drivers/postgresql/ (closes: #346475)
+ * debian/copyright: update from readlicense_oo/html/THIRDPARTYLICENSE.html
+ (removing stuff which is not (anymore) in OOos source...) and
+ reportdesign/util/THIRDPARTYLICENSE.html
+
+ -- Rene Engelhard <rene@debian.org> Thu, 16 Aug 2007 12:59:20 +0200
+
+openoffice.org (2.3.0~src680m225-1) experimental; urgency=low
+
+ * new upstream snapshot (SRC680_m225)
+ * ooo-build:
+ - update (r10029)
+ - src: update GSIs from ftp.linux.cz: bg cs dz et fi mk sk
+ * debian/control.in:
+ - build-conflict against gjdoc (= 0.7.8-2) [RE]
+ - make -base suggest -report-builder and -report-builder enchance
+ Base [RE]
+ * debian/rules:
+ - clean up multi-threaded build support [CC, RE]
+ - remove share/xdgs .desktop files (except qstart.desktop), not
+ needed [RE]
+ - enable system-libwpg on sid [RE]
+ (it's on p.d.o/~rene/libwpg while in NEW)
+ - fix PRUNE_OOOBUILD conditional [RE]
+ - remove removal of the Sun logo from the BrOffice.org splashs again,
+ upstream now also has nologo versions for them [RE]
+ * debian/*:
+ - remove Ubuntu conditionals added in -1 again, it makes
+ the rules for Debian even harder to read/understand than
+ it's even now... [RE]
+ * debian/soffice.sh, debian/rules:
+ - install /etc/openoffice/soffice.sh, merged from Ubuntu. [CC, RE]
+ * debian/rules, debian/overrides.lintian:
+ - fix or override (package depends on package containing the file)
+ lintians new desktop warnings [RE]
+ * debian/rules, debian/control.in, debian/openoffice.org-report*:
+ component got renamed to sun-report-builder. sigh. adapt [RE]
+
+ -- Rene Engelhard <rene@debian.org> Wed, 8 Aug 2007 18:39:20 +0200
+
+openoffice.org (2.3.0~src680m224-1) experimental; urgency=high
+
+ * new upstream snapshot (SRC680_m224)
+ - fixes joining cells in writer tables (closes: #218281)
+ - fixes text width in PDF export (closes: #408209)
+ - adds fy_NL localedata (closes: #413205)
+ - adds option to ignore printer settings from documents (closes: #428646)
+ - fixes sheet printing in calc (what to print now choosable easily)
+ (closes: #386250)
+ - fixes tiff heap overflow (CVE-2007-2834)
+ * ooo-build:
+ - use trunk again
+ - update (r10006)
+ + apply Split section. Fixes the binfilter split so that StarWriter
+ 3.0-5.0 etc. do not appear anymore when -filter-binfilter is not
+ installed (indirectly closes: #421274)
+ - src/:
+ + add updated GSIs from ftp.linux.cz:
+ af be-BY bg cs cy da dz eo et fi ga ka ku lt mk nb ne nn sl tg vi
+ + add uz GSI from cwx localisation21 [RE]
+ * debian/rules, debian/Adobe-Core35_AFMs-314.tar.gz.uu: remove, unneeded
+ [RE]
+ * debian/rules:
+ - update for 2.3 [RE]
+ - add ppc64 test-wise [RE]
+ - re-enable mr-IN since now fixed [RE]
+ - build-depend on libneon26 again, got fixed and is the only supported
+ version since m219 anyway [RE]
+ - add conditional for system-libsvg, enable it for sid/experimental [RE]
+ - install headless vcl plugin into -headless [RE]
+ - remove debian/libuno-cil.installcligac in clean [RE]
+ - set HELP_L10N_VIRTUAL_VERSION to $(shell $(UPSTREAM_VERSION) | tr [~]
+ [\\-]) [CC]
+ - suggest libc*-dbg [RE]
+ - build with --enable-openxml to get the OOXML extensions for the bash
+ completion [RE]
+ - don't manually split binfilters anymore [RE]
+ - build-depend on gperf for OOXML patchset [RE]
+ - fix some stuff for etch backports [RE]
+ - install splash screens directly from OOos source tree after fixing
+ their RGBness and removing the Sun logo from the BrOffice.org splash
+ while we don't have a nologo variant upstream yet (thanks Martin Hasch
+ for the conversion hint and André Schnabel for the needed (gm) convert
+ statement for the "Sun removal") [RE]
+ - migrate to graphicsmagick as convert from imagemagick (at least etchs)
+ does create a broken BMP out of the Sun logo removal step.. [RE]
+ - re-enable km again due to demand of the Khmer people... [RE]
+ - uuencode all ooo-build/desktop icons [CC]
+ - add USE_SYSTEM_VIGRA conditional, enable it [RE]
+ - install *updchk* again, as the extension manager UI now apparently
+ needs this one, too... [RE]
+ - wrap various java code with ENABLE_JAVA [CC]
+ - wrap ooo-build pruning with PRUNE_OOOBUILD [CC]
+ - simplify uuencode/uudecode code [CC]
+ - add DBVER substition [CC]
+ - fix testtoolrc (non)installation [RE]
+ - enable uz langpack [RE]
+ * debian/control.in:
+ - build-depend on libxml-parser-perl [RE]
+ - Add XS-Vcs-{Bzr,Svn} fields [RE]
+ - we need to build-depend on dmake (>= 1:4.7) [RE]
+ - build-depend on netpbm [RE]
+ - remove imagemagick; add graphicsmagick [RE]
+ - remove version from java-common-depends since it is substituted [CC]
+ * debian/*.menu, debian/*.overrides.lintian:
+ - update for 2.3 [RE]
+ * debian/README.Debian-source: update [RE]
+ * merge from Ubuntu:
+ - make system-dmake conditional [RE]
+ - add Ubuntu conditonals [CC]
+ * debian/br{intro,about}.bmp.uu: remove, obsolete [RE]
+ * debian/scripts/fix_image_rgb: add [RE]
+ * debian/openoffice.org-core.shlibs.local: add
+ libuno_purpenvhelpergcc3 [RE]
+ * debian/rules, debian/openoffice.org-reportdesigner*: properly
+ install/package the reportdesigner extension [RE]
+ * debian/rules, debian/*.menu.in, debian/*.overrides.lintian.in:
+ add version number to the icon= entry dynamically [RE]
+ * debian/NEWS: remove, obsolete [CC]
+
+ (CC = Chris Cheney)
+
+ -- Rene Engelhard <rene@debian.org> Sun, 5 Aug 2007 17:42:24 +0200
+
+openoffice.org (2.2.1-7) unstable; urgency=low
+
+ * ooo-build:
+ + update (r9936)
+ + src:
+ - add he GSI from Issue 79651
+ . fixes hardcoded 2.0.3 in recovery dialog (closes: #432770)
+ . removes bogus 2.0.3 from Help->About ttle (closes: #432771)
+ * merge from 2.3/experimental branch:
+ - debian/rules:
+ + fix some stuff for etch backports
+ + suggest libc*-dbg
+ + re-enable km again due to demand of the Khmer people...
+ - debian/*.mime: move Star* into a -filter-binfilter.mime [RE]
+ * debian/control.in:
+ - add build-conflicts against
+ libxul-dev (= 1.8.0.13~pre070720-0etch1) - broken security update, see
+ #434844
+ * debian/README.Debian: update for myspell-af and
+ openoffice.org-hyphenation-it
+ * debian/rules:
+ - suggest openoffice.org-ctl-he at -l10n-he
+
+ -- Rene Engelhard <rene@debian.org> Mon, 30 Jul 2007 22:17:05 +0200
+
+openoffice.org (2.2.1-6) unstable; urgency=low
+
+ * ooo-build:
+ - update (r9849)
+ * debian/*.menu:
+ - adapt to the new menu sections
+ - fix icon=
+ * debian/openoffice.org-*.overrides.lintian:
+ - update overrides for menu icons
+ * debian/rules:
+ - fix order in USE_LIBCURL4
+ - fix setting of path for the ICU utils, thanks calc
+ - (temporarily) stop install xmerge javadoc as its build broke with ant
+ 1.7.0. Fixes FTBFS because files were tried to be installed which aren't
+ there (the ant step doesn't fail...)
+ - build against lp-solve (>= 5.5.0.10-4) and libsuitesparse
+ (closes: #433486)
+
+ -- Rene Engelhard <rene@debian.org> Wed, 18 Jul 2007 10:28:49 +0200
+
+openoffice.org (2.2.1-5) unstable; urgency=low
+
+ * ooo-build:
+ - update (r9703)
+ + libpaper-support.diff: backport suppressing of
+ "paperconf: command not found" from cws vcl79 (closes: #430141)
+ * debian/control.mozilla.in:
+ - stop recommending mozilla-browser (closes: #431269)
+ * debian/rules:
+ - remove FontOOo from /usr/lib/openoffice/share/basic/launcher/script.xlb,
+ see issue 79153
+ - stop running the smoketest again...
+ - revert to using libstlport4.6, sorry Torsten...
+
+ -- Rene Engelhard <rene@debian.org> Wed, 4 Jul 2007 10:48:34 +0200
+
+openoffice.org (2.2.1-4) unstable; urgency=low
+
+ * debian/rules: fix lp-solve builddeps, oops
+
+ -- Rene Engelhard <rene@debian.org> Fri, 29 Jun 2007 17:47:56 +0200
+
+openoffice.org (2.2.1-3) unstable; urgency=low
+
+ * debian/shell-lib.sh: do not parse /var/lib/dpkg/status diretcly, use
+ dpkg-query -W -f='${Conffiles}'
+ * ooo-build:
+ - update (r9666)
+ + distro-configs: --disable-access, broken, thanks Mechtilde Stehmann
+ for the reminder
+ + fix smoketestoo_native
+ * debian/rules:
+ - --disable-access; remove BUILD_MDBTOOLS conditionals, see above
+ - improve test target; make it honour nocheck for DEB_BUILD_OPTIONS,
+ run smoketest per default
+ - remove some ifeq "$(ETCH_BACKPORT)" "y" conditionals, one to go...
+ - make -gcj depend on bsh-gcj
+ - add (Build-)Conflicts against libcairo2 (= 1.4.8-1) (closes: #430135),
+ cairo 1.4.10 is fixed
+ - install xmerge javadoc into -dev-doc
+ - change ooo-template.desktop also for BrOffice.org
+ * debian/broffice.org*.in: add diversion for ooo-template.desktop
+ * debian/openoffice.org-impress.mime: add pps
+ * debian/openoffice.org.control.bug: fix thinko (s/base/core/)
+ * debian/control.mozilla.in: remove unneeded ${misc:Depends} at
+ mozilla-openoffice.org
+
+ -- Rene Engelhard <rene@debian.org> Fri, 29 Jun 2007 01:04:37 +0200
+
+openoffice.org (2.2.1-2) unstable; urgency=low
+
+ * ooo-build:
+ - update (r9584)
+ + canvas_x64.diff: fixes vanvas build with internal boost on amd64
+ * debian/rules:
+ - adapt libmythes-dev build for canonical upstream tarball name
+ (closes: #428850)
+ - do not add the internal libxmlsec to openoffice.org-cores .shlibs
+ - add SYSTEM_LIBWPG conditional, not enabled anywhere yet
+ - use internal boost on amd64, too (closes: #425528 again)
+ - fix typos (s/oooqstart/ooqstart/)
+
+ -- Rene Engelhard <rene@debian.org> Thu, 14 Jun 2007 16:53:01 +0200
+
+openoffice.org (2.2.1-1) unstable; urgency=low
+
+ * OOo 2.2.1 final release without source changes
+ (with new, fixed orig.tar.gz removing some non-free stuff which
+ were left in to the scripts' bug and a overseen upstream change)
+ * mention CVE-2007-0245 fix in 2.2.1~rc1-1's changelog
+ * ooo-build:
+ - update (r9562)
+
+ -- Rene Engelhard <rene@debian.org> Fri, 8 Jun 2007 17:24:56 +0200
+
+openoffice.org (2.2.1~rc3-3) unstable; urgency=low
+
+ * ooo-build
+ - update (r9534)
+ + wpgimporter.diff: wpgimport moved intro -draw
+ * debian/control.in:
+ - update Replaces:
+ * debian/rules:
+ - fix debian/rules typo at adding libmono0-dbg to -dbgs Suggests
+ which made OOo FTBFS on archs where mono is enabled
+
+ -- Rene Engelhard <rene@debian.org> Wed, 6 Jun 2007 12:59:10 +0200
+
+openoffice.org (2.2.1~rc3-2) unstable; urgency=low
+
+ * ooo-build:
+ - update (r9520)
+ * debian/rules:
+ - use internal boost (closes: #425528)
+ - add libmono0-dbg to -dbgs Suggests:
+ - handle libgcj8-0-awt of gcj-4.2
+ * build in a clean env without DEB_BUILD_OPTIONS="lang=en-US de" to
+ actually build with all languages... *sigh*, again (closes: #427547)
+
+ -- Rene Engelhard <rene@debian.org> Mon, 4 Jun 2007 23:10:26 +0200
+
+openoffice.org (2.2.1~rc3-1) unstable; urgency=low
+
+ * OOo 2.2.1rc3 (aka OOF680_m18)
+ - fixes CVE-2007-2754 for the (unused) internal freetype copy
+ * ooo-build:
+ - update (9495)
+ + distro-configs/Debian*conf.in: --without-nas
+ * debian/rules:
+ - stop symlinking simpress' help files as that breaks searching
+ in it. ship them again instead of hardlinking them as hardlinks
+ are not allowed/discouraged (closes: #411693)
+ - build-depend on libcurl{3,4}-gnutls-dev (closes: #391671)
+ - remove unneeded diriso setting at help copying. confusing and not
+ needed anymore.
+ - fix qstart.desktop - again (closes: #415180)
+ * debian/control.in:
+ - remove libaudio-dev builddep
+ - add Replaces: broffice.org (<< 2.2.1~rc1) to openoffice.org-common
+ to fix upgrades from etch with broffice.org installed. Thanks
+ Otavio Salvador for the report
+
+ -- Rene Engelhard <rene@debian.org> Fri, 1 Jun 2007 11:05:29 +0200
+
+openoffice.org (2.2.1~rc1-1) unstable; urgency=high
+
+ * OOo 2.2.1rc1 (aka OOF680_m16)
+ - fixes RTF parser heap overflow (CVE-2007-0245)
+ * build in a clean env without DEB_BUILD_OPTIONS="lang=en-US" to
+ actually build with all languages, oops
+ * ooo-build:
+ - update (r9418)
+ - distro-configs/Debian*.conf.in: remove --with-libpaper-link
+ libpaper is GPL. (closes: #423906)
+ - libpaper-support.diff: update to version in cws vcl78 using the
+ paperconf command.
+ * merge 2.2.0-7 (closes: #422492, #422530)
+ * debian/rules:
+ - don't remove updatefeed.uno.so, the extension manager needs it
+ (closes: #422870)
+ - fix some files in the udk-common-ref doc-base file
+ - updates for 2.2.1
+ - remove generated udk-common-* doc-base files in clean
+ - don't add Autodoc_DiagnosticMessages.txt into udk-{cpp,common}-refs
+ doc-base.
+ * debian/broffice.org.*.in:
+ - add about.bmp to the diversions
+ * debian/control.in:
+ - Stop build-depending on libpaper-dev; suggest libpaper-utils (see above)
+ - (again) only suggest the packages from -style-*. Somehow got lost.
+ (closes: #423950)
+
+ -- Rene Engelhard <rene@debian.org> Tue, 15 May 2007 13:15:22 +0200
+
+openoffice.org (2.2.1~oof680m15-1) experimental; urgency=low
+
+ * new upstream milestone (OOF680_m15)
+ * ooo-build:
+ - update (r9359)
+
+ -- Rene Engelhard <rene@debian.org> Sat, 5 May 2007 00:04:02 +0200
+
+openoffice.org (2.2.0-7) unstable; urgency=low
+
+ * ooo-build:
+ - update (r9364)
+ + default to OPENGL_SUPPORT=no (closes: #422492)
+ + prefer /gcj-4.1-71/libjvm.so over /gcj-4.1/libjvm.so
+ * debian/rules:
+ - use tail -n 1 instead of grep ^ii in the gcj-4.1 dpkg -l check
+ as it apparently isn't always ii after installed (like in sbuild/on the
+ buildds)... Same change at the libc6 check for consistency although
+ libc6 probaby should be ii always even on the buildds :)
+ - move oovbaapi.rdb back into -core (closes: #422530)
+ * debian/rules, debian/control.in:
+ - build against libcurl4 on sid
+
+ -- Rene Engelhard <rene@debian.org> Tue, 8 May 2007 11:28:09 +0200
+
+openoffice.org (2.2.0-6) unstable; urgency=low
+
+ * ooo-build:
+ - update (r9346)
+ + jvmfwk-gij-paths.diff: add /gcj-4.1-71/libjvm.so to fix FTBFS with
+ new libgcj7-1
+ * debian/rules:
+ - stop creating a xt.jar symlink (closes: #412671)
+
+ -- Rene Engelhard <rene@debian.org> Fri, 4 May 2007 23:22:16 +0200
+
+openoffice.org (2.2.0-5) unstable; urgency=low
+
+ * ooo-build:
+ - switch to ooo-build-2-2 branch
+ - update (r9331)
+ + adds crashfix for impress crashing with STLport5.1 on exit
+ (closes: #421297)
+ * debian/control.in:
+ - add forgotten Conflicts to -common against older -writer etc due to the
+ wrapper scripts/ooqstart changes
+ - make new -base,-writer,-mobiledev,-officebean pre-depend on new
+ -java-common, make java-common conflict against old versions of above
+ packages.
+ * debian/rules:
+ - move oovbaapi.rdb into -calc as the rest of VBA stuff is there
+ - remove unneeded updatefeed.uno.so
+ - make classes a normal dir again (and add symlinks in it) instead of it
+ being a symlink itself since it breaks the UNO bootstrap mechanism
+ some stuff (including extensions) seem to rely on...
+ - add ice* to senddoc again, got lost with the upgrade to 2.2.0
+ (closes: #411387)
+ - install tenmplate.desktop as ooo-template.desktop
+ - handle new libgcj7-1-awt...
+ - fix links to the DevelopersGuide (closes: #420803)
+ - fix "openoffice" command, symlink to ooffice instead of gone ooo-wrapper
+ (closes: #421030)
+ - fix acor_*.dat fixing (closes: #401651)
+ - cleanup:
+ - split binary-* targets, remove binary-common
+ - remove makebinariestar, we now have a -dbg
+ - fix some links in the UDK Java docs
+ * debian/libuno-cil.installcligac.in:
+ - remove cli_uno_bridge.dll
+ * debian/openoffice.org-{base,writer,officebean,filter-mobiledev,java-common,dev}.preinst.in:
+ - add; remove classes symlink if found since dpkg doesn't replace a
+ symlink with a dir
+ * debian/template.desktop.in:
+ - add from Ubuntu (changed in Debian to read "OpenOffice.org"
+ instead of a "OpenOffice.org From Template" and remove now obsolete
+ translation; and to show it) per user requests...
+ * debian/rules, debian/udk-{java,common,cpp}.ref.in:
+ - register UDK documentation with doc-base (closes: #420805)
+ * debian/control.in, debian/rules:
+ - don't depend on libxerces2-java-gcj, libxalan2-java-gcj on etch
+ backports
+
+ -- Rene Engelhard <rene@debian.org> Wed, 2 May 2007 20:12:24 +0200
+
+openoffice.org (2.2.0-4) unstable; urgency=low
+
+ * Upload to unstable
+ * ooo-build:
+ - update (r9238)
+ + apply CairoFonts patchset
+ * debian/rules:
+ - build-depend on libgtk2.0-dev (>= 2.10) as CairoFonts needs it
+ - build against libportaudio2 (portaudio v19)
+ - work around loads of fakeroot warnings by adding /usr/lib/libfakeroot
+ to LD_LIBRARY_PATH ourself.
+ - remove version number from qstart.desktop
+ - remove temporarily added mono-build-deps again
+
+ -- Rene Engelhard <rene@debian.org> Mon, 16 Apr 2007 20:40:03 +0200
+
+openoffice.org (2.2.0-3) experimental; urgency=low
+
+ * ooo-build:
+ - update (r9218)
+ * debian/control.in:
+ - lower Recommends added in last revision to Suggests since
+ aptitude users otherwise would get the whole kde/gnome chain installed
+ although they just want crystal/industrial icons.
+ - make mozilla-openoffice.org depend on openoffice.org-core. remove
+ conflicts; also remove unneeded ${perl:Depends}
+ * debian/rules:
+ - add missing mkdir -p at mono-openoffice.pc install, doh..
+
+ -- Rene Engelhard <rene@debian.org> Thu, 12 Apr 2007 09:36:29 +0200
+
+openoffice.org (2.2.0-2) experimental; urgency=low
+
+ * ooo-build:
+ - update (r9212)
+ + merge ubuntu-soffice-config.diff from Ubuntu. Makes variables residing
+ in soffice configurable (and disables autohinting for thai)
+ * debian/rules:
+ - etch backport fixes (no mono, system-lpsolve fixes)
+ - fix standalone libmythes build for new upstream archive type
+ - revert to build with libneon25
+ (closes: #406926, #396094, #401286, #410917)
+ - run dh_installcligac, thanks Mirco Bauer
+ - install mozilla plugin as it now apparently seems to work. (closes: #418270)
+ Conflict against openoffice.org-core (<< 2.2.0-2)
+ * debian/libuno-cil.installcligac.in: add
+ * debian/control.in:
+ - make -style-crystal recommend kde-icons-crystal;
+ make -style-industrial recommend gtk2-engines, gnome-themes,
+ industrial-icon-theme; make -style-hicontrast recommend
+ gtk2-engines; make -style-tango suggest tango-icon-theme
+ - make -dtd-officedocument1.0's description say what DTD is
+ (closes: #417068)
+ - make -writer Suggest -base (see #381083)
+ - remove "instructions for using the package" from the descriptions
+ (closes: #392629)
+ * debian/control.mozilla.in: update
+ * debian/copyright, debian/README.Debian-source: minor updates
+ * debian/libuno-cil.{prerm,postinst}.in: remove
+ * merge from openoffice.org_2.2.0-1ubuntu2.diff.gz:
+ - build pt help
+ - recommend nfs-common at -core
+
+ -- Rene Engelhard <rene@debian.org> Sun, 8 Apr 2007 19:21:03 +0200
+
+openoffice.org (2.2.0-1) experimental; urgency=low
+
+ * 2.2.0 final release.
+ * ooo-build:
+ - update (r9112)
+ + libpaper-support.diff, libpaper-link.diff: add (closes: #412067)
+ * debian/rules:
+ - follow upstreams mono pkg-config rename to mono-openoffice.pc
+ - fix glibc 2.5 check
+ * debian/control.in:
+ - build-depend on libpaper-dev
+ - fix duplicate Replaces: at -style-andromeda, thanks lintian
+ * debian/ttf-opensymbol.post{inst,rm}.in: use fc-cache -fs
+ * debian/libuno-cil.{prerm,postinst}.in: fix typo
+
+ -- Rene Engelhard <rene@debian.org> Fri, 30 Mar 2007 14:20:45 +0200
+
+openoffice.org (2.2.0~rc4-1) experimental; urgency=low
+
+ * new upstream release candidate
+ * ooo-build:
+ - update (r9064)
+ * debian/rules, debian/control.in:
+ - rename -style-default to -style-andromeda
+ * debian/libuno-cil.prerm.in: fix, doh
+ * debian/libuno-cil.*.in, debian/broffice.org.*.in:
+ - remove hardcoded usr/lib/openoffice, use @OODIR@
+ - add @VER@ for desktop files
+ * debian/rules:
+ - temporary increase mono build-deps (all packages which differ in
+ experimental to sid when we install mono-gmcs mono-mcs libmono-dev
+ cli-common-dev) as autobuilding otherwise fails in experimental...
+ - install tango icons
+ - fix dh_shlibdeps call for glibc 2.5
+ * debian/control.in:
+ - add -style-tango package; make -gtk depend on -tango instead of
+ -industrial as tango now is default on GNOME
+
+ -- Rene Engelhard <rene@debian.org> Thu, 22 Mar 2007 18:29:38 +0100
+
+openoffice.org (2.2.0~rc4~oof680m13-1) experimental; urgency=low
+
+ * new upstream milestone
+ * ooo-build:
+ - update (r9022)
+ + added senddoc-add-mutt.diff: add mutt to senddoc, thanks Gregor Hermann
+ for the patch (closes: #411631)
+ + added helpcontent-fr-and.diff: fix wrong function description translation
+ for French, thanks Sebastien Blondeel (closes: #412117)
+ * debian/libuno-cil.prerm.in:
+ - use gacutil -us
+ * debian/control.in:
+ - remove version info from broffice.org/openoffice.orgs
+ package description, hardcoded and redundant
+ * debian/rules:
+ - fix permission of some examples, thanks lintian
+ - generalize mono-ooo.pc installation to not fail when OOO_VERSION changes
+ in ooo-build
+ - enable system-libwps
+ - install scsolvers ChangeLog into -calc
+ - fix <ooodir>/share/xdg/qstart.desktops Exec=, thanks Fabian Greffrath
+ for noticing (closes: #415180)
+ - bump libhunspell-dev builddep to surely build against 1.1.5s (a bit) changed
+ ABI... Since libhunspell-1.1-0 so far was only in experimental, OOo was
+ the only external app using it yet and 1.1.5 is the first official
+ upstream version with shared lib, just build against that and forget the
+ "old" ABI...
+ * debian/rules, debian/control.in: fix binfilter substvar setting for
+ -filter-so52 -> filter-binfilter move and fix the indentation of the
+ binfilter description. Remove now superfluous Suggests at the
+ openoffice.org metapackage and make -writer use the substvar for its
+ Recommends:
+
+ -- Rene Engelhard <rene@debian.org> Tue, 20 Mar 2007 21:47:20 +0100
+
+openoffice.org (2.2.0~rc2-1) experimental; urgency=high
+
+ * new upstream releasse candidate.
+ - fixes bibliography database encoding (closes: #186010)
+ - "Hide slide" option now renamed on hidden slides (closes: #335720)
+ - fixes StarCalc format file parser stack overflow (CVE-2007-0238)
+ - fixes escaping of hyperlinks (CVE-2007-0239)
+ - internal (unused here) libwpd copy fixes CVE-2007-0002
+ * ooo-build:
+ - use trunk
+ - update
+ - src/:
+ - remove obsolete GSI files
+ - add OOF680 GSIs from ftp.linux.cz
+ * debian/control*, debian/rules:
+ - rename -filter-so52 to -filter-binfilter due to upstream move of some
+ other filters to the "binfilters"
+ * debian/rules:
+ - build -l10n-gl/-help-gl (galician)
+ - 2.2 updates
+ - make desktop file changing/installation handle extension.desktop and
+ make broffice target changing it
+ - bump mono build-deps; the C# climaker is done but needs mono (>= 1.2.3).
+ We also need mono-gmcs. Also add versioned mono-utils build-dep to work
+ around #412970.
+ - use br{intro,about}.bmp for BrOffice.org splash/about
+ - temporarily disable smoketest build completely (idlc somehow
+ fails to create temporary file)
+ - add lp-solve (>= 5.5.0.10-2) builddep (we now expect the shared lib)
+ and make -calc depend on it when we use system lp-solve
+ - build-depend on libhunspell-dev (>= 1.1.4-6) on sid
+ - use internal altlinuxhyph for etch backports, thanks Otavio Salvador
+ - remove defaulting to parallel builds since the formerly biggest bottleneck
+ now is none anymore (HelpLinker)
+ - Bump cli-common-dev builddep. Run dh_makeclilibs. Fix comment.
+ - we need to specify --enable-mono explicitly when we want mono
+ - install mono-ooo.pc into libuno-cil
+ - enable libuno-cil on i386 and amd64 (ppc has no suitable mono yet and
+ fails due to #412967 anyway, neither has sparc a mono anyway)
+ * debian/scripts/vars.*: add mips and kfreebsd-i386/-amd64
+ * debian/control*.in:
+ - make the openoffice.org metapackage depend on -filter-mobiledev and
+ -filter-binfilter (the latter doesn't have the obvious package name
+ anymore and not having it gives a confusing error)
+ - verbosize libuno-cils description, put it into libs
+ - make libuno-cil depend on mono-gac
+ * debian/rules, debian/control.mono.in: add OOO_MONO_ARCHS variable
+ * debian/broffice.org.{preinst,postrm}.in: also divert ooo-extension.desktop
+ * debian/*broffice.org.{bmp,png}.uu: remove, obsolete ...
+ * debian/br{intro,about}.bmp.uu: ... and use these from svx/res from
+ cws_oof680_nativebroffice
+ * debian/libuno-cil.{postinst,prerm}.in: add; run gacutil
+ * debian/openoffice.org-filter-so52.*: remove ...
+ * debian/openoffice.org-filter-binfilter.*: ... add this
+ * merge from openofficeorg--unstable--2.0.4:
+ - debian/rules:
+ + change open-url to know ice*
+
+ -- Rene Engelhard <rene@debian.org> Thu, 1 Mar 2007 12:58:45 +0100
+
+openoffice.org (2.1-4) experimental; urgency=low
+
+ * ooo-build:
+ - update (r8890 / ooo-build-2-1 branch)
+ + src/: add libwps-0.1.0~svn20070129.tar.gz and
+ libwpd-0.8.8.tar.gz (unused...)
+ * debian/control*in:
+ - make -gcj Depend on libxerces2-java-gcj and libxalan2-java-gcj
+ * debian/rules:
+ - prepare for system-libwps by adding conditional for it, to be enabled
+ once libwps gets out of NEW
+ - bump libaltlinuxhyph-dev builddep to ensure we build with OOo 2.1s
+ hyphenation code
+ - remove obsolete --with-system-gcc
+ - readd libdb4.4-java builddep until some patch ordering problems in
+ ooo-build are sorted out and we actually can apply no-db-jar.diff
+ (closes: #409281)
+ - the smoketest hangs on amd64, disable it for amd64
+ * debian/rules:
+ - update cvsupdate target for svn
+ - change senddoc to know iceape and iceweasel. Do it here since it's easy
+ to change with sed and we don't need a debian-specific ooo-build for
+ this (closes: #411387)
+ * debian/openoffice.org-writer.mime:
+ - add application/vnd.ms-works
+ * merge from openofficeorg--unstable--2.0.4:
+ - debian/control.help.in:
+ + fix descriptions ("help of OpenOffice.orgs help"..)
+ - debian/rules:
+ + work around ooo-build not removing the generated
+ openoffice{,-extra}.{applications,keys} from desktop/ by
+ running make clean there before the global make distclean.
+ + disable ar langpack, broken
+
+ -- Rene Engelhard <rene@debian.org> Tue, 20 Feb 2007 00:31:11 +0100
+
+openoffice.org (2.1-3) experimental; urgency=low
+
+ * ooo-build:
+ - update (r8669)
+ * debian/changelog:
+ - recode to UTF-8 to shut lintian up
+ * debian/rules:
+ - do not install Helvetica-Narrow*.afm because it confuses OOo...
+ - stop build-depending on libdb4.4-java, not needed anymore due to
+ the C++ HelpLinker
+ - update for new location of 48x48 px icons in ooo-build
+ - LIBSTLPORT_MINVER= (>= 5.0.99rc2-5) in the STLPORT5 case
+ - use libstlport4.6 in the etch backport case, the needed 5.1 is stuck
+ in sid
+ - xvfb needs xauth (xbase-clients) and xfonts-base is also needed; add
+ both to build-depends
+ - link directly to xml-apis.jar instead of hard-coding jaxp-1.2.jar
+ and remove depends on libjaxp1.2-java since libxalan2-java has the
+ link we use and it depends on the right version, too (closes: #406783)
+ - readd lost touch at build target
+ - remove install-arch stampdir after dh_strip --dbg-package because
+ dh_strip is not idempotent
+ - fix stlport (build-)deps generation
+ * debian/README.Debian:
+ - s/oopadmin/spadmin/ (closes: #406760)
+ * merge from openoffice.org_2.1-2ubuntu4.patch:
+ - make packaging of SDK conditional
+ - don't compress example python files
+
+ -- Rene Engelhard <rene@debian.org> Sat, 27 Jan 2007 19:02:06 +0100
+
+openoffice.org (2.1-2) experimental; urgency=low
+
+ * ooo-build:
+ - now in svn. update (r8549)
+ + odk-no-strip.diff: don't strip ODKs programs
+ + odk-platform-sparc.diff: add SPARC to settings.mk (closes: #403623)
+ + cws-cmcfixes30.diff: backport cws cmcfixes30, fixes
+ CVE-2006-6628 (closes: #404105)
+ * debian/rules:
+ - don't remove ODK programs from -dbg anymore
+ - don't hardcode 680, use SRCNUM variable
+ - add also links in /usr/lib/ice{ape,weasel} for libnpsoplugin.so
+ - when not building using firefox/xulrunner, disable mozilla, there's no
+ mozilla-dev anymore
+ - uri-encode is now a binary in -core; don't try to fix it's shebang :-)
+ - don't expect/install opens___.ttf in ooo-build, got removed. Remove -N
+ hack when we don't want to build ttf-opensymbol, add it to control as
+ other conditional packages
+ - prepare to build-depend on libgtk2.0-dev (>= 2.10) when applying the
+ CairoFonts patch. Do not do it yet because libgtk2.0-0 (>= 2.10) as in
+ experimental removes sids GNOME on an upgrade
+ - build against stlport5(.1) again (closes: #364814)
+ - update get-ooo-build for svn
+ - fix SDK wrapper scripts to quote $@ (closes: #405974)
+ - "build" in smoketestoo_native. Add build-dep on xvfb if we do that.
+ * debian/control.in:
+ - update broffice.org and openoffice.org descriptions version-wise
+ * debian/scripts/vars.*:
+ - readd, readd LIBSUFFIX; the maintscripts target gives warnings without
+ it and we might need it in future anyway (e.g. for lib diversions)
+ * debian/*broffice.org*.uu: update BrOffice.org images, thanks Claudio
+ * debian/changelog :):
+ - mention CVE-2006-5870 in 2.0.4-1 changelogs entry
+ * debian/README.Debian:
+ - mention uzbek dictionary
+
+ -- Rene Engelhard <rene@debian.org> Wed, 10 Jan 2007 01:15:20 +0100
+
+openoffice.org (2.1-1) experimental; urgency=low
+
+ * OpenOffice.org 2.1 final
+ * ooo-build:
+ - update
+ + add patch from Fedora to honour fontconfig font hinting
+ (closes: #385798)
+ + src/:
+ - update GSIs from ftp.linux.cz
+ * debian/control*.in:
+ - one more %CONTRIB% to be removed, oops
+ - update/fix -style-*'s Replaces
+ - update -dev-docs replaces...
+ * debian/openintro_debian.bmp.uu, debian/rules:
+ - remove intro.bmp hacks again, now in ooo-build :)
+ * debian/rules:
+ - bump HELP_L10N_VIRTUAL_VERSION to 2.1
+ - temporary disable km build; breaks in sdraws and simpress' help
+ * merge 2.0.4.dfsg.1-1 to 2.0.4.dfsg.2-2
+
+ -- Rene Engelhard <rene@debian.org> Thu, 14 Dec 2006 09:28:43 +0100
+
+openoffice.org (2.1~rc2-1) experimental; urgency=low
+
+ * OpenOffice.org 2.1 rc2 (OOE680_m6)
+ - remove non-free afms (closes: #401325) and other non-free stuff (db 4.2
+ docs, non-free ppds) from orig.tar.gz
+ * ooo-build:
+ - update
+ * debian/control.in:
+ - bump dmake builddep to dmake (>= 1:4.6)
+ - fix -style-defaults short description
+ - fix l10n-ins Depends:, oops
+ * debian/rules:
+ - remove sarge backport conditionals, prepare for etch backport
+ - also extract $(TAG)/lingucomponent/inc to fix libymthes-dev-only build
+ with pch
+ - work around ooqstart not being able to handle 2.1's new splash image;
+ install openintro_debian.bmp as intro.bmp
+ * debian/rules, debian/*.menu, debian/*.overrides.lintian:
+ - update menu stuff for 2.1
+ * debian/rules, debian/ control.sarge_etch_transitional.in:
+ - remove sarge->etch transitional packages
+ * debian/openintro_debian.bmp.uu: add, original intro.bmp converted to RGB
+ * debian/rules, debian/presubj, debian/*.control.bug:
+ - add (report)bug stuff
+ * debian/README.Debian-source: update
+ * merge 2.0.4-6 and -7
+
+ -- Rene Engelhard <rene@debian.org> Mon, 4 Dec 2006 01:45:38 +0100
+
+openoffice.org (2.1~m190-1) experimental; urgency=low
+
+ * OpenOffice.org SRC680_m190 on the way to 2.1
+ * ooo-build:
+ - use HEAD again; update
+ * debian/rules:
+ - update for milestone versioning
+ - stop depending on libxt-java at -java-common; unneeded and xt.jar is
+ removed from the installset
+ - update for SRC680/ooo-build changes (ooqstart, pch)
+ - re-enable -dbg; use -g1, though
+ * merge from
+ doko@ubuntu.com--2006-pkg-openoffice/openofficeorg--unstable--2.0.4:
+ - patch-38/40: Split out the four style files into their own packages.
+ - Let the -gtk package depend on the industrial style.
+ - Let the -kde package depend on the crystal style.
+ - Let the -common package recommend all style packages.
+ ( Fix package descriptions to tell the truth )
+ * debian/control.in:
+ - make -common depend on the default style
+ - add metapackages (l10n-in and -l10n-za for all Indic/South African
+ languages)
+ - add some missing VERs
+
+ -- Rene Engelhard <rene@debian.org> Mon, 30 Oct 2006 20:04:06 +0100
+
+openoffice.org (2.0.4.dfsg.2-3) unstable; urgency=high
+
+ * ooo-build:
+ - cws-cmcfixes30.diff: add writer parts of cws cmcfixes30, fixes
+ CVE-2006-6628 (closes: #404105)
+ * debian/changelog :):
+ - mention CVE-2006-5870 in 2.0.4-1 changelogs entry
+
+ -- Rene Engelhard <rene@debian.org> Fri, 5 Jan 2007 21:06:58 +0100
+
+openoffice.org (2.0.4.dfsg.2-2) unstable; urgency=high
+
+ * ooo-build:
+ - use special debian-2-0-4 branch, merge two important fixes
+ from ooo-build-2-0-4
+ - ooo68047.vcl.zwj.diff: import from Fedora, fix important regression
+ in 2.0.3 for South Asian scripts (closes: #403275)
+ - src:
+ + update to fixed dz GSI, thanks Pema Geyleg
+ * debian/rules:
+ - enable dz help
+ - update OOO_BUILD_BRANCH
+ * debian/control.in:
+ - update -dev-docs replaces...
+ * merge from openofficeorg--experimental--2.1:
+ - debian/control.in:
+ + make -l10n-{in,za} Arch: all...
+
+ -- Rene Engelhard <rene@debian.org> Sat, 16 Dec 2006 01:29:02 +0100
+
+openoffice.org (2.0.4.dfsg.2-1) unstable; urgency=high
+
+ * again new .orig.tar.gz :/:
+ - remove the rest of the ppds, except the two generic printers
+ ("All Rights Reserved")
+ * ooo-build:
+ - update
+ - src/:
+ + add dz GSI from savannah (dzongha-gnome)
+ - bin/openoffice-xlate-lang: add dz
+ * debian/rules:
+ - enable -l10n-dz, add FONT_SUGGESTS (ttf-dzongkha)
+ - re-add free afms, thanks Frank Küster
+ - add Mhz, GHz and THz to the exclusion list for the AutoCorrect
+ (closes: #401651)
+ - fix SDK docs install wrt index.html (closes: #397375)
+
+ -- Rene Engelhard <rene@debian.org> Mon, 11 Dec 2006 11:08:01 +0100
+
+openoffice.org (2.0.4.dfsg.1-1) unstable; urgency=high
+
+ * new orig tar.gz:
+ - remove non-free afms (closes: #401325) and other non-free stuff (db 4.2
+ docs, non-free ppds)
+ * ooo-build:
+ - update (many important fixes, some translations)
+ * debian/rules:
+ - fix DH_COMPAT setting
+ * merge from openofficeorg--experimental--2.1:
+ - debian/control.in:
+ + bump dmake builddep to dmake (>= 1:4.6)
+ - debian/README.Debian-source: update
+
+ -- Rene Engelhard <rene@debian.org> Sun, 3 Dec 2006 21:56:24 +0100
+
+openoffice.org (2.0.4-7) unstable; urgency=high
+
+ * The "Not everything which looks like sufficiently translated is" release
+
+ * ooo-build
+ - update
+ - major printing fix
+ * debian/rules:
+ - prefer Lohit Hindi in -help-hi-in's *.css files
+ - disable sk, mk, bg help (< 45%)
+ - enable hi-IN help (51%), make -help-in Depend on ttf-devanagari-fonts
+ since without Lohit Hindi we get broken headers/bold text
+ * debian/control.help.in:
+ - make -help-XY depend on -l10n-XY since -help-XY seems to have no
+ effect when -l10n-* isn't there and the UI is switched to
+ that language. By the way this closes: #258841
+
+ -- Rene Engelhard <rene@debian.org> Wed, 8 Nov 2006 00:26:14 +0100
+
+openoffice.org (2.0.4-6) unstable; urgency=medium
+
+ * ooo-build:
+ - update
+ + new sk,cs translations
+ + distro-configs/Debian*conf.in: re-enable --with-system-odbc-headers to
+ actually build with the headers from system... (somewhen/-how got lost)
+ * ooo-build/src:
+ - add uk GSI from upstream IZ
+ * ooo-build/bin/openoffice-xlate-lang:
+ - add uk (ukrainian)
+ * debian/rules:
+ - enable uk langpack
+ - re-enable build with system-boost again, works now
+ * debian/*.mime:
+ - use e.g. "soffice -writer" instead of "oowriter" since ooowriter returns
+ immediately with ooqstart and this breaks e.g. mutt. (closes: #396276)
+ * merge from openofficeorg--experimental--2.1 branch:
+ + add metapackages (l10n-in and -l10n-za for all Indic/South African
+ languages)
+ + add some missing VERs
+ + re-enable -dbg; use -g1, though
+ + sort ISOS/LANGPACKISOS again
+
+ -- Rene Engelhard <rene@debian.org> Fri, 3 Nov 2006 22:40:49 +0100
+
+openoffice.org (2.0.4-5) unstable; urgency=medium
+
+ * Brown paper bag or: "Don't use an older .diff.gz/.dsc for final
+ building" release.
+
+ * ooo-build:
+ - update
+ - buildfix-hsqldb-1-8-0-7.diff: fix build with hsqldb 1.8.0.6/7
+ * debian/rules:
+ - enable system hsqldb again..
+ * debian/control.in:
+ - also suggest hunspell-dictionary at openoffice.org
+
+ -- Rene Engelhard <rene@debian.org> Mon, 30 Oct 2006 04:40:39 +0100
+
+openoffice.org (2.0.4-4) unstable; urgency=medium
+
+ * debian/rules:
+ - build with internal hsqldb due to graitous hsqldb upload (1.8.-0.7) to
+ sid breaking API....
+
+ -- Rene Engelhard <rene@debian.org> Sat, 28 Oct 2006 18:32:01 +0200
+
+openoffice.org (2.0.4-3) unstable; urgency=medium
+
+ * ooo-build:
+ - update
+ * ooo-build/src:
+ - add new/fixed ca GSI (http://people.debian.org/~jordi/ca.sdf.bz2),
+ thanks Jordi Mallach
+ - add updated ku GSI from http://download.ferheng.org/ooo2/GSI_ku.sdf.bz2
+ * debian/rules:
+ - WITH_AGG=n; not used in OOo yet (although built-in), just in the source
+ because of "internal [Sun] reasons..."
+ - stop adding ($(BUILDER)) to OOO_VENDOR. It ends up only in the res files
+ and therfore only has an effect on the initial l10n (_all) upload
+ and appears on all archs (also if they've been built on the buildd) which
+ is not what was intended
+ - add LOCALES_DEPENDS for or-IN, was added to glibc together with as-IN;
+ update some LOCALES_DEPENDS for new locales packages
+ - enable or-IN, ss, ns, nr, ve, ts langpacks
+ * debian/control.*.in:
+ - suggest iceweasel and iceape-browser
+ - bump FONT_SUGGESTS Suggests to Recommends
+
+ -- Rene Engelhard <rene@debian.org> Wed, 25 Oct 2006 15:29:39 +0200
+
+openoffice.org (2.0.4-2) unstable; urgency=high
+
+ * ooo-build:
+ - update
+ - fixed system-icu.diff now also working with 3.4 again
+ - SDK installation fixed to not fail with many languages
+ - openoffice-xlate-lang: eo added
+ - allow unpacking of help_images_<iso>.tar.gz and extras_<iso>.tar.gz
+ - disable "Shrink" patchset, (closes: #393857)
+ - src:
+ - remove de GSI, old and obsolete; thanks to Eric Hoch for finding this
+ - add eo GSI from http://people.ubuntu.com/~doko/edgy
+ - add help_images_sl.tar.gz and extras_sl.tar.gz from ftp.linux.cz
+ to fix/update sl's help images/extras
+ * debian/rules:
+ - enable -gcj
+ - add "locales (>= 2.3.6.ds1-1) | locales-all (>= 2.3.6.ds1-1)" Depends
+ for -l10n-as-in
+ - enable as-IN and eo langpacks
+ - revert to building with libstlport4.6 (closes: #392698, reopens: #364814)
+ * debian/control.in:
+ - make -common conflict against 2.0.4~rc3-1 -core which would still expect
+ the libcu*.so.26 symlinks here. See #393597.
+ - once again, change the Mozilla suggestions (this time also in the
+ package descriptions): remove all transitional packages except
+ thunderbird (still "normal" in testing), add icedove in front of
+ "thunderbird". Keep mozilla-browser since it's still present in unstable.
+ - Analogous with the xlibmesa-gl | libgl1 suggestion, just keep libgl1
+ - remove oooqs-kde Suggests since we conflict against it anyway now
+ (closes: #389616)
+ * debian/scripts/aot-compile: remove, obsolete
+ * debian/README.Debian: (minor) updates, mention statd-not-running problem.
+
+ -- Rene Engelhard <rene@debian.org> Wed, 18 Oct 2006 21:06:21 +0200
+
+openoffice.org (2.0.4-1) unstable; urgency=medium
+
+ * The "Happy Birthday OpenOffice.org!" release.
+
+ * OpenOffice.org 2.0.4 final.
+ * ooo-build:
+ - update; use ooo-build-2-0-4 branch
+ - system-icu.diff, cws-icuupgrade.diff: icu 3.6 support
+ - soffice-detect-mozilla-certificates.diff: prefer firefox, actually
+ support thunderbird. Also handle multiple profiles in e.g.
+ ~/mozilla/firefox and profiles with spaces (closes: #391392), thanks
+ Ben Wheeler
+ - apply CalcSolver patchset for amd64, too now that it builds again
+ - disable speed-chart.diff (closes: #391875)
+ - sd-slideshowimpl-check-for-viewframe.diff: backport revision 1.31.60.1
+ from cws impress107 to fix crash on the impress wizard (i#69530)
+ (closes: #389473)
+ - cws-cmcfixes28.diff: backport some important fixes (64bit,
+ CVE-2006-5870, ...) (closes: #405679)
+ * debian/rules:
+ - build with system icu again
+ - build also native versions of officebean.jar, sdbc_hsqldb.jar and
+ writer2latex.jar if building -gcj
+ - move scsolver also into -calc on amd64
+ - make get-ooo-build use ooo-build-2-0-4 branch
+ - update milestone detection for ~-versioning
+ - fix regcomp wrapper installation
+ * debian/control.in:
+ - put firefox at the beginning of the Mozilla suggests since firefox
+ should be prioritized, add thunderbird. Keep
+ mozilla-{firefox,thunderbird} after it and move mozilla-browser to
+ the end. (to be removed)
+ - stop conflicting against openoffice.org-gcj at -java-common
+ - Build-Conflict against libstlport5.0-dev (= 5.0.2-10) (see #392131)
+ * debian/README.Debian-source: add
+ * merge from
+ doko@ubuntu.com--2006-pkg-openoffice/openofficeorg--unstable--2.0.4:
+ - patch-34: Add gij as an alternative dependency for a java runtime.
+ - patch-36:
+ Build again the openoffice.org-gcj package using the updated
+ java-gcj-compat-dev build infrastructure; don't build native
+ code for ridl.jar, avoiding a crash in the JVM. Adjust
+ dependencies and suggestions.
+ * merge from patches.ubuntu.com:
+ - use %OOO_ARCHS% at -gcjs Architecture: and add Enhances:
+ - some minor rules improvements
+ - make usage of ooo-build .desktop files possible
+ ( add it into a USE_OOO_BUILD_DESKTOPS conditional )
+
+ -- Rene Engelhard <rene@debian.org> Thu, 12 Oct 2006 21:26:11 +0200
+
+openoffice.org (2.0.4~rc3-1) unstable; urgency=high
+
+ * OpenOffice.org 2.0.4 rc3
+ - handles missing Setup.xcu at unopkg (closes: #388215, 387224)
+ * ooo-build:
+ - update
+ * debian/control.in:
+ - fix typo in -gnomes description (closes: #389423)
+ * debian/rules:
+ - temporarily build with internal icu again. icu 3.6 doesn't seem
+ to be sufficiently compatible... (closes: #390106, #390128)
+ Most probably also closes: #390133, #390136.
+ * debian/rules, debian/shlibs.override.icu:
+ - add shlibs overrides for internal icu
+ * merge from
+ doko@ubuntu.com--2006-pkg-openoffice/openofficeorg--unstable--2.0.4:
+ - patch-27: Build using db4.4. (closes: #341649)
+
+ -- Rene Engelhard <rene@debian.org> Mon, 2 Oct 2006 21:44:01 +0200
+
+openoffice.org (2.0.4~rc2-2) unstable; urgency=high
+
+ * ooo-build:
+ - update
+ - debian-opt.diff: build with -O2 on i386 and sparc, too (closes: #198694)
+ - src/: add ka GSI from Ubuntu
+ * debian/rules:
+ - build-depend against libicu36-dev
+ - remove shlibs.local for libstlport5.0, fixed. Bump STLPORT_MINVER
+ - remove unneeded libupdchk680*so
+ - fix broffice.org resources changing
+ - add new broffice target instead of doing it in binary-arch since
+ it will not do what we want on the buildds. The files and diversions
+ we need are only created on a "normal" build. Make binary-indep depend
+ on broffice
+ * debian/control.*.in:
+ - make -help-* depend on -writer (closes: #388397)
+ - make -common conflict against openoffice.org-debian-menus from the
+ www.openoffice.org packages
+ - make broffice.org Arch: all
+ * merge from Ubuntu
+ - Don't build the ti-ER locale; we are limited in the number of
+ languages that we can build; ka (Georgian) was requested by users,
+ ti-ER not.
+
+ -- Rene Engelhard <rene@debian.org> Sun, 24 Sep 2006 11:11:30 +0200
+
+openoffice.org (2.0.4~rc2-1) unstable; urgency=low
+
+ * OpenOffice.org 2.0.4 rc2
+ * ooo-build:
+ - update [RE]
+ - config_office-dbus-check.diff: proper configure check for dbus [RE]
+ - soffice-detect-mozilla-certificates.diff: detect mozilla certificates
+ (closes: #345703, #373224) [RE]
+ - src: GSI updates from ftp.linux.cz (af, da, sl)
+ * debian/rules, debian/control.in:
+ - add hardcoded depends for -officebean on libgcj7-awt (libjawt.so)
+ which isn't picked up by dpkg-shlibs [RE]
+ * debian/rules, debian/control.in, debian/*broffice.org*:
+ - add a broffice.org package; diverting necessary files from
+ openoffice.org-* away. [RE, CH]
+ * debian/rules:
+ - only match on o*.1 for manpage symlink changing - do not move
+ libxmlsec1*.so.1... [RE]
+ - remove dbus workaround again, specify --disable-dbus when disabling
+ dbus; enable it again for sid [RE]
+ - enable amd64 debs (closes: #376134). Actually already in accident in the
+ last upload but withdrawn after the buildd build.
+ * debian/control.in:
+ - add versioned conflicts against openoffice.org-common at
+ openoffice.org-dtd-officedocument1.0 (closes: #386763) [RE]
+ - add missing Replaces: against -l10n-en [RE]
+
+ -- Rene Engelhard <rene@debian.org> Sat, 16 Sep 2006 11:53:48 +0200
+
+openoffice.org (2.0.4~rc1-1) unstable; urgency=medium
+
+ * OpenOffice.org 2.0.4 rc1
+ * upload to unstable
+ * debian/rules:
+ - add shlibs.local entry for libstlport5.0 to force dependency on
+ libstlport5.0 >= 5.0.2-7 to go safe
+ - disable -dbg package
+ * debian/control.in:
+ - temporarily hack around and build-conflict against libdbus-glib1-dev
+ to force disabling of the dbus things (breaks with dbus update...). Will
+ be fixed properly...
+
+ -- Rene Engelhard <rene@debian.org> Fri, 8 Sep 2006 16:53:46 +0200
+
+openoffice.org (2.0.4~ood680m2-2) experimental; urgency=low
+
+ * ooo-build:
+ - update
+ - lfs.diff: allow to build with -D_FILE_OFFSET_BITS=64 (closes: #245861)
+ - configure.in: do not try to copy unowinreg.dll on non-Java builds
+ (which don't have --with-mingwin specified). Really closes: #384727
+ - src/: GSI updates again (bg, et, ne, sk, sl, ve). Remove ar and fa.
+ * debian/rules:
+ - enable build against stlport5, namely libstlport5.0 (closes: #364814)
+ - binfilter builds with stlport5 now, remove disabling
+ - use system-boost again since build with stlport5 fails without it
+ - build against libneon26
+ - chmod 644 testtoolrc, thanks lintian again
+ - handle new ooo-build/current directory created by ooo-build instead of
+ ooo-build/$(TAG), create symlink for ooo-build/$(TAG), thanks Matthias
+ Klose
+ - bump debhelper and python-dev build-deps, thanks Matthias Klose again
+ - revert unneeded $(DIST) change above, wrong var and the cause was
+ configure.in, see above (doh!)
+ - add gstreamer0.10-ffmpeg to the gstreamer suggests
+ - add missing ifeq "$(ENABLE_JAVA)" "y"'s to -qa-* packaging
+ - remove creating soffice symlink; now done by ooo-build already
+ - add STLPORT_VER=500 to the SDKs settings.mk if we build with STLport5 to make
+ stuff using it use -lstlport instead of -lstlport_gcc
+ - move qstart.desktop into -gtk (as ooqstart is in -core, and libegg* in
+ -gtk..)
+ - re-enable Java on amd64, seems to work on current amd64/sid now
+ * debian/openoffice.org-core.manpages: remove, bogus
+
+ -- Rene Engelhard <rene@debian.org> Sun, 3 Sep 2006 22:57:05 +0200
+
+openoffice.org (2.0.4~ood680m2-1) experimental; urgency=low
+
+ * new upstream milestone (OOD680_m2)
+ * ooo-build:
+ - update
+ - new GStreamer patchset for avmedia using GStreamer. Inserting Sounds
+ works now (although due Insert->Movie and Sound only) so this
+ closes: #332194
+ - src/: GSI updates from ftp.linux.cz (bg da et ga mk sk sl ss ve)
+ * debian/rules:
+ - enable gstreamer
+ - chmod 644 unowinreg.dll, thanks lintian
+ - fix README.qa installation
+ - fix NEWS.Debian non-installation in libmythes-dev. Do not install
+ the OpenOffice.org README and README.Debian into libmythes-dev
+ - specify --with-mingwin also on $(DIST) Debian64/DebianSarge
+ (closes: #384727)
+ - enable ku langpack
+ - bump python-central builddep to >= 0.5
+ - move testtoolrc into -qa-tools
+ - install main_transform.xsl again... (don't remove help/ in -common...)
+ - remove unneeded (and broken) sed which was forgotten to be removed
+ * debian/control.in, debian/rules:
+ - suggest gstreamer0.10-plugins-*
+ - suggest -dbg packages for libs we use at -dbg
+ * debian/openoffice.org-qa-tools.overrides.lintian:
+ - override binary-or-shlib-defines-rpath
+ - override executable-not-elf-or-script (bogus)
+ * debian/openoffice.org-calc.manpages:
+ - add, forgotten at last upload
+ * debian/pycompat: add, thanks lintian
+ * debian/source.lintian-overrides: override openoffice.org source:
+ missing-build-dependency python-central (>= 0.5). False positive...
+ * debian/openoffice.org.preinst.in:
+ - fix logic error - don't remove psprint.conf and sofficerc is "$2" is
+ empty (we didn't have "openoffice.org" before - so that both don't
+ vanish. If they vanished without you wanting that, use
+ dpkg -i --force-confmiss on openoffice.org-common to restore them
+
+ -- Rene Engelhard <rene@debian.org> Sun, 27 Aug 2006 13:29:15 +0200
+
+openoffice.org (2.0.4~ood680m1-1) experimental; urgency=low
+
+ * new upstream milestone (OOD680_m1)
+ * ooo-build:
+ - update
+ + bin/package-ooo: install gid_Module_Optional_Grfflt into -draw directly
+ + system-xmlsec.diff: use xmlsec1-nss for pkg-config, not xmlsec1
+ + disable printer-properties-disable.diff (closes: #373974, #353595)
+ + distro-configs/Common.conf.in: --with-use-shell=bash
+ + src/:
+ . update GSI files from ftp.linux.cz
+ (be-BY bg cs da et ga lv mk nb nn sk sl ss)
+ . remove ar (broken bz2)
+ * debian/rules:
+ - enable installation of ooqstart/libeggtray again since ooo-build is now
+ fixed wrt this
+ - enable -dbg package
+ - enable pyuno and binfilters on amd64
+ - stop creating -l10n-en-us, merge its files back into the main
+ packages, install en-US' resources consequently into -common
+ - remove empty /usr/lib/openoffice/help directories
+ - move gcj classmap creation into the right conditional
+ - fix clean target for ooo-build changes
+ - remove unowinreg.dll build/strip, now done upstream, remove manual
+ install; mv the one installed by OOo to the right place
+ - fix no-java build (don't try to move around writer2latex.jar)
+ - enable packaging of -qa-* (requested by OOo QA) and fix README.qa
+ installation
+ - remove .testtoolrc installing at all (seems to be a sneaked-in file);
+ rm -f it when it should appear
+ - add USE_GSTREAMER conditional (gstreamer support for avmedia is
+ progressing...); remove .wav files only if not building with GStreamer
+ - move mingw32 build-dep into ifeq "$(DIST)" "Debian" and specifiy
+ --with-mingwin=i586-mingw32msvc-g++
+ - install manpages using dh_installman, still not optimal but better than
+ the broken manpage installation before
+ * debian/control*.in:
+ - fix -dbgs description
+ - stop depending on -l10n-en-us at -core and -common since now merged back
+ into -common (closes: #335266). Also makes sarge->etch upgrades with
+ plain apt-get possible without apt trying to remove openoffice.org
+ (closes: #360489)
+ - add -l10n-hi and -help-en transitional packages (to -l10n-hi-in and
+ -help-en-us) for sarge->etch upgrade; add Replaces:
+ openoffice.org-help-en at -help-en-us
+ - hardcode << 2.0 in the hardcoded help conflicts against sarge at core;
+ that's what meant and using ${base-version} breaks with the ~ semantics
+ - remove -gtks conflicts and fix it's description
+ - remove build-dep on tcsh
+ - add openoffice.orgVER-l10n-${help-l10n-virtual-version} suggest
+ - add missing Replaces: for Embedding-*.xcu move upstream
+ - since ooqstart now is in -core, also conflict against ooqstart-gnome and
+ oooqs-kde there. Probably should be removed then after this enters
+ sid...
+ - add patch from Matthias Klose to improve some Replaces:/Conflicts and
+ Provides:
+ * debian/rules, debian/control*in:
+ - introduce new BASE_VERSION variable and use this one for base-version
+ - introduce HELP_L10N_VIRTUAL_VERSION and ${help-l10n-virtual-version}
+ since we cannot use base-version there with ~ ( ~ not allowed in
+ package names)
+ - remove >= 2.4 (and python-minimal at all) at python build-deps since
+ default in sid is now 2.4
+ * debian/control.in, debian/rules, debian/*.xmlcatalogs:
+ - split OfficeDocument 1.0 DTD out into own package (closes: #321876)
+ * merge 2.0.3-5 and -6
+
+ -- Rene Engelhard <rene@debian.org> Sat, 19 Aug 2006 16:23:39 +0200
+
+openoffice.org (2.0.3+2.0.4m179-1) experimental; urgency=low
+
+ * new upstream milestone m179 on the way to OOo 2.0.4
+ * since we upload to experimental, which has python 2.4 as default
+ we can as well build against 2.4 now (closes: #336284)
+ * ooo-build:
+ - use HEAD
+ - apply xmlhelp-use-libxslt-from-system.diff again; crashes supposedly
+ fixed
+ - src: GSI updates for SRC680 from ftp.linux.cz
+ * debian/control.in:
+ - bump python-dev builddep to (>= 2.4) as the experimental buildds
+ otherwise won't pick it up from exeperimental, version python and
+ python-minimal (newly added) ones, too since iirc the experimental
+ buildds still won't take it otherwise. To be removed again when this
+ goes to sid.
+ - remove build-conflicts on dmake 4.5 again since dmake 4.5 works here
+ - make -writer provide writer2latex
+ - add openoffice.orgVER-filter-mobiledev
+ * debian/rules:
+ - use i586-mingw32msvc-g++ now as unowinreg is now a .cxx with extern "C"'s
+ - we upload to experimental anyway, so let's enable amd64 packages for the
+ time this is in experimental. Will be disabled for sid again.
+ - (re-)add USE_LIBXSLT conditional, enable it
+ - move mobile devices filters (AportisDoc, Pocket{Word,Excel} into an own
+ package
+ - build with internal xmlsec
+ - build pt langpack
+ - rework override for internal libxmlsec libs, doesn't work with also
+ overriding the UNO libs, create shlibs.local from the different
+ overrides
+ - add conditional to install/not install the quickstarter stuff; disable
+ it for now because it crashes
+ * merge from
+ doko@ubuntu.com--2006-pkg-openoffice/openofficeorg--unstable--2.0.3:
+ - move ooqstart to -core
+
+ -- Rene Engelhard <rene@debian.org> Tue, 1 Aug 2006 11:53:34 +0200
+
+openoffice.org (2.0.3-6) unstable; urgency=medium
+
+ * debian/control.in:
+ - fix Replaces: at -draw (closes: #383388)
+ - remove obsolete Suggests on prelink
+ - add openoffice.orgVER-l10n-${base-version} suggest
+ - tighten depends at -impress to -draw - also = ${Source-Version}
+ - make -gtk conflict against oooqs-kde (closes: #383405)
+ * debian/openoffice.org-hunspell.overrides.lintian: obsolete, remove
+ * debian/rules:
+ - fix .wav removal to not leave an empty sounds/ dir behind
+
+ -- Rene Engelhard <rene@debian.org> Thu, 17 Aug 2006 17:31:01 +0200
+
+openoffice.org (2.0.3-5) unstable; urgency=low
+
+ * build against python 2.4 (closes: #336284)
+ * ooo-build:
+ - update
+ + bin/package-ooo: install gid_Module_Optional_Grfflt into -draw directly
+ + system-xmlsec.diff: use xmlsec1-nss for pkg-config, not xmlsec1
+ + disable printer-properties-disable.diff (closes: #373974, #353595)
+ * debian/README.Debian:
+ - mention new helps, pl mentioned already in 2.0.3-4 but the rest
+ was forgotten...
+ * debian/control.*.in:
+ - some substitutions with %OOO_ARCHS% which were forgotten
+ - suggest libsqliteodbc
+ - add patch from Matthias Klose to tighten up dependencies and conflicts
+ to force every part to be the same version
+ - fix typo in conflicts for sarges openoffice.org-help-tr
+ * debian/rules:
+ - fix dependencies to not build libmythes*.a twice
+ - fix some hardcoded occurances of /usr/lib/openoffice, use $(OODIR)
+ - move fcfg_{draw,impress}graphics*.xcu out of -common into their
+ respective packages (overseen at the move of libflash* and
+ libsvgfilter*) and remove manual move of libflash*/libsvgfilter* to
+ draw, now done by ooo-build directly
+ - fix unowinreg.dll installation, it belongs into ../win
+ - fix system-lp-solve conditional to readd lost libufsparse build-dep
+ - fix parallel build conditional not *really* not use anything else than 1
+ on the buildds
+ * debian/README.Debian: update
+ * merge from
+ doko@ubuntu.com--2006-pkg-openoffice/openofficeorg--unstable--2.0.3:
+ - patch-27:
+ + Re-add dependency of -writer on python-uno, if python-uno is built.
+ + Remove the sound files from the gallery. The media framework isn't
+ yet built in 2.0.3.
+ + Remove unused bitmap files.
+
+ -- Rene Engelhard <rene@debian.org> Sat, 12 Aug 2006 23:51:51 +0200
+
+openoffice.org (2.0.3-4) unstable; urgency=low
+
+ * ooo-build
+ - update:
+ + ooqstart-honour-sofficerc.diff: fix to not segfault if
+ /etc/openoffice/sofficerc cannot be fopen()'ed (closes: #380420)
+ - src:
+ + update da and sl GSIs from ftp.linux.cz
+ + get fa and ku GSIs from Ubuntu
+ * debian/rules:
+ - move chmoding of files from scripts/setperms to configure target,
+ and remove call to scripts/setperms. Fixes error when running
+ debian/rules get-ooo-build without an existing ooo-build directory
+ in the source [CH]
+ - get-ooo-build - do not run configure during autogen.sh [CH]
+ - fix nostrip logic to actually invoke i586-mingw32msvc-strip on
+ unowinreg.dll [RE]
+ - fix fcfg_*_filters.xcu installation so that they properly go into
+ -java-common [RE]
+ - enable pl help, thanks Mateusz Skowronski [RE]
+ - readd --with-vendor=$(OOO_VENDOR) (closes: #379739) [RE]
+ - make SARGE_BACKPORT=y automatically set; use new DISTREL
+ (lsb_release -cs) [RE]
+ - define OOO_ARCHS variable; subsitute %OOO_ARCHS% in control. [RE]
+ * debian/control.in:
+ - rename NO_JAVA_ARCHS to OOO_JAVA_ARCHS and reverse semantics [RE]
+ - remove %AMD64%, add %OOO_ARCHS% for the Architecture field and also
+ for the builddeps only needed for OOo (most) and not for libmythes-dev [RE]
+ * scripts/setperms, scripts/xcftobmp, scripts/Makefile,
+ scripts/gen_lib_list, debian/openoffice.org-thesaurus-en-us.post*in:
+ - remove obsolete files (move fixperms stuff into rules) [CH, RE]
+ * merge from patches.ubuntu.com: [RE]
+ - some build fixes / enhancements / beautifications
+ - parallel build facility. Enhance/fix it as following:
+ when num-cpus= not specified detection using getconf. Default to 2 to
+ do stuff while helpcontent2 is building. Use 1 on the buildds (see
+ -devel).
+ num-cpu= is still usable to manually set/override it.
+ - enable bg, km, mk, ru, sk, sl help
+ * merge from
+ doko@ubuntu.com--2006-pkg-openoffice/openofficeorg--unstable--2.0.3: [RE]
+ - patch-11 / patch-13: pycentral fixes (make pycentral stuff dependant on
+ new USE_PYCENTRAL conditional, instead of SARGE_BACKPORT).
+
+ -- Rene Engelhard <rene@debian.org> Sun, 30 Jul 2006 13:57:23 +0200
+
+openoffice.org (2.0.3-3) unstable; urgency=low
+
+ * ooo-build:
+ - patches/src680/vcl-glyph-cjk-embolden.diff: properly conditionalize
+ so that our configure check has sense and this works on sarge
+ - patches/scsolver/scsolver-source-service-service-cxx.diff:
+ fix g++ 3.3 build
+ * debian/rules:
+ - fix ibm JDK build-dep
+ - re-enable system-neon
+ - build unowinreg.dll using i586-mingw32msvc-gcc and install it
+ (closes: #377531); build-depend on mingw32
+ - run dh_makeshlibs using -n to not get useless ldconfig calls, thanks
+ lintian
+ - don't install .testtoolrc when not packaging the testtool; install it
+ with 644 (thanks lintian) into -qa-tools instead of -common
+ - move jar.sos from <oodir>/program/classes-native to
+ /usr/lib/gcj-$(GCJ_VERSION); still not working, though :/
+ - move libflash and libsvgfilter to draw, export filters only used
+ there (and impress where flash makes most sense if at all depends on
+ -draw anyway...)
+ - clean up README installation (closes: #351229)
+ * debian/control.in:
+ - add missing %CONTRIB% at -gtk...
+ - improve grammar in python-unos description, thanks Thue Janus Kristensen
+ (closes: #377186)
+ - add conflicts against -writer, -calc etc (<< ${base-version}) at -core
+ and -common (closes: #377852); bump depends at -writer, -calc etc to
+ depend on 2.0.3-2 with the border/{check,radio}boxes fix
+ - build-conflict against dmake 4.5 version in experimental
+ - make openoffice.org-gtk-gnome Architecture: i386 powerpc sparc %AMD64%
+ to not show this on archs which never had a openoffice.org-gtk-gnome
+ - move conflict against ooqstart-gnome from -gnome to -gtk
+ - mention Quickstarter in -gtks description
+ * debian/rules, debian/shell-lib.sh, debian/openoffice.org.*.in,
+ debian/ttf-opensymbol.*.in:
+ - clean up maintainer scripts and their generation. As a side effect this
+ closes: #377261
+ - update *rm_conffile* functions; add openoffice.org.{pre,post}.inst.in to
+ remove psprint.conf and sofficrc if unchanged; fixes needless conffile
+ prompts because those conffiles moved from openoffice.org to
+ opanoffice.org-common (closes: #346282), thanks Justin Przyby and
+ Bill Allombert
+ * debian/openoffice.org-core.shlibs.local: add, local shlibs setting nothing
+ * debian/openoffice.org-gtk.overrides.lintian: add, also override
+ binary-or-shlib-defines-rpath for -gtk
+ * debian/README.Debian: s/irc.freenode.net/irc.debian.org/
+
+ -- Rene Engelhard <rene@debian.org> Sun, 23 Jul 2006 03:03:42 +0200
+
+openoffice.org (2.0.3-2) unstable; urgency=low
+
+ * ooo-build:
+ - src:
+ - readd lost mdbtools tarball, needed for sarge backport
+ - add relicensed rhino.patch from cws misclic (old, "sun confidential"
+ one was removed from the orig)
+ - patches:
+ - apply: fix sarge backport, add CalcSolver again
+ - update; use ooo-build-2-0-3 branch
+ - disable SpeedImageList patchset (closes: #376316, #376776)
+ - disable disable-rhino patch
+ * debian/control.in:
+ - remove dbus,neon,curl,some X11 builddeps (see below why)
+ - replace openoffice.org-dev (<< 2.0.3-2) at -dev-doc
+ - remove duplicate depends at -gtk
+ * debian/rules:
+ - also set [LD_LIBRARY_]PATH at install stage, thanks Matthias Klose
+ - add libdbus-glib-1-dev (>= 0.60) builddep for sid, not needed/built on
+ sarge (dbus too old..)
+ - remove GCC_VERSION=3.3 setting for sarge; 3.3 is default there anyway
+ - add curl, libxinerama, libxkbfile and render build-deps into a
+ conditional to avoid |'s in controls builddeps. Fixes apt-get build-dep
+ for openoffice.org...
+ - fix <oodir>/sdk/docs symlink in -dev-doc; remove the link from -dev to
+ avoid file conflicts.
+ - add conditional for system-neon and system-neon builddeps. Enable
+ system-neon on sarge, disable it temporaily for sid to get these
+ packages into testing without the neon/subversion/perl combo blocking
+ the security fixes.
+ - use g{cc,++} 4.1 on sparc again
+ * debian/README.Debian: update dictionary/thesauri info
+
+ -- Rene Engelhard <rene@debian.org> Wed, 5 Jul 2006 22:24:28 +0000
+
+openoffice.org (2.0.3-1) unstable; urgency=high
+
+ * new upstream release
+ - security fix:
+ - fix memory corruption bug; it was possible to write values to
+ arbritrary memory when opening special files. (CVE-2006-3117)
+ * ooo-build/:
+ - update
+ - don't enable CalcSolver patchset for amd64 [RE]
+ - stop moving docdir in package-ooo [RE]
+ * debian/control*.in:
+ - change dependency of -gnome to gtk to (= ${Binary-Version}), needed for
+ when we change the version using -v to dh_gencontrol [RE]
+ - add alternative dependency for dbus on sarge [CH]
+ - add missing conflicts against old help packages [RE]
+ - make -help conflict with older OOos [RE]
+ - stop -common depending on -core to resolve circular dependency [RE]
+ (closes: #375877)
+ * debian/rules:
+ - reorganise debhelper/pyuno build dependencies [CH]
+ - Sarge backport differences: [CH]
+ - use internal agg, altlinuxhyph, bsh, hsqldb and xmlsec
+ - do not use XULRunner
+ - add missing -- at libmyspell-dev only builds' dh_gencontrol call [RE]
+ - build using system-boost on amd64 [RE]
+ - don't install scsolver on amd64 [RE]
+ - fix nojava build [RE]
+ - build against system-lpsolve (and system-colamd) [RE]
+ - don't specify --with-vendor=Debian anymore due to ooo-build changes [RE]
+ - fix file conflict between -dev/-dev-doc; remove broken ln -s, update
+ SDK docs installation and move the docs to
+ /usr/share/doc/openoffice.org-dev/docs with a symlink
+ /usr/share/doc/openoffice.org-dev-doc/docs to it [RE, CH]
+ - configure with --with-docdir=/usr/share/doc/openoffice.org
+
+ -- Rene Engelhard <rene@debian.org> Wed, 28 Jun 2006 22:30:34 +0200
+
+openoffice.org (2.0.2.99.2.0.3rc6-1) unstable; urgency=medium
+
+ * new upstream release candidate (2.0.3rc6).
+ - adds menu shortcut hint for "Tabelle" in German (closes: #364333)
+ - drop-down boxes in KDE for RTL languages fixed (closes: #286246)
+ - security fixes:
+ - fix macro handling security bug; it was possible to embed macros
+ in documents without OOo seeing them and executing them without
+ any user interaction. (CVE-2006-2198)
+ - disable Java applets feature because it's possible to write Java
+ applets breaking out of the sandbox (CVE-2006-2199)
+ * ooo-build:
+ - update
+ + now falls back to english help when no local one is there
+ (closes: #345152)
+ + src/: GSI updates for OOC680 [RE]
+ * debian/rules:
+ - enable ta-IN (Tamil), te-IN (Telugu), ti-ER (Tigrigna Eritrea),
+ fa (Farsi) and tg (Tajik) langpacks [RE]
+ - add conditional to build against XULRunner; enable it (closes: #364062),
+ bump libxmlsec builddeps' version [RE]
+ - allow locales-all in LOCALES_DEPENDS. Although it does provide
+ locales we have one case a versioned depends and as we all know
+ versioned provides don't work. Note that locales-all does *not*
+ work out of the box, read its README.Debian. [RE]
+ - add "soffice" symlink in /usr/bin to /usr/lib/openoffice/program/soffice
+ for the UNO bootstrap... (closes: #369924) [RE]
+ - native jar build/*.post* fixes; don't enable it though because again
+ broken... [RE]
+ - create libjava_uno -> libjava_uno.so link, again something like that
+ *sigh*. Should find out the root cause... [RE]
+ - re-enable lo langpack [RE]
+ - cleanup conditionals, split definitions and tests, distro- and
+ arch-specific stuff [CH, RE]
+ - fix typo in makebinariestar, thanks Joo Martin [RE]
+ - more updates for new python policy on sid (closes: #373468): [RE]
+ + add Provides: ${python:Provides} and XB-Python-Version:
+ ${python:Versions} to python-uno
+ + build-depend on python-central (>= 0.4.10), python (>= 2.3.5-7)
+ and debhelper (>= 5.0.37.1)
+ + run dh_pycentral
+ - add build-dep on dpkg-dev (>= 1.13.19) for ${source:Version] support
+ when we build the native stuff [RE]
+ - don't build qadevOOo when we don't package the QA tools [RE]
+ - build with internal boost again to work around scscolver build failure [RE]
+ - add conditional to build against system liblpsolve55, not enabled yet
+ since we need to wait for a suitable lp_solve in Debian [RE]
+ - (temporarily) use g{cc,++} 4.0 on sparc [RE]
+ - add conditionalsfor using stlport5, not enabled yet; adapt rules for changed
+ flag by the STLport5 patches [RE]
+ * debian/control.*.in:
+ - remove hardcoded libnss3/libnspr4 depends and subsitute it by
+ ${mozilla-nss-depends} substvar replaced by hardcoded values as
+ before with mozilla and nothing with XULRunner (libs gotten via
+ .shlibs) [RE]
+ - remove more hardcoded -core deps (mozilla); add firefox in
+ Recommends; also add the OOo modules the Plugin supports file formats
+ for there (all..) [RE]
+ - stop recommending specific g++-x.y versions at -dev, suggest just g++
+ since we use the default g++ anyway since a long time... [RE]
+ - fix descriptions, thanks Fillipus Klutiero (closes: #372831) [RE]
+ - use ${source:Version} at -gcjs -java-common depends to make it
+ bin-NMU-safe, thanks Steve Langasek
+ * debian/README.Debian: mention openoffice.org-hyphenation-*
+ * merge Ubuntu changes: [RE]
+ - split control.*.in lines; merge them together in control
+ - merge doko@ubuntu.com--2006-pkg-openoffice/openofficeorg--unstable--2.0.1:
+ + patch-84: split -gtk out of -gnome (partially merged, gconfbe* should
+ remain in -gnome)
+
+ -- Rene Engelhard <rene@debian.org> Wed, 21 Jun 2006 19:05:55 +0200
+
+openoffice.org (2.0.2-3.4pre) UNRELEASED; urgency=low
+
+ * rebuild against libgcj7 (closes: #369984)
+ * ooo-build:
+ - update
+ + add Debian.dic
+ + enable "simple-install mechansm" for the SDK
+ + help-msg-add-package-info.diff: mention help packages names
+ in the "help not found" error.
+ + system-neon-0.26.diff: allow building against neon 0.26.x
+ + actually apply Lockdown patchset, doh
+ + ooqstart-honour-sofficerc.diff: make ooqstart handle sofficerc again
+ (Logo=0/1)
+ + really make kde-open-url use & (closes: #336528 again)
+ + handle gnome-screensaver during Impress presentation
+ + make splash progress bar black until the color is read from sofficrc
+ again since a white progress bar a white background
+ (OOo-standard-splash) is bad(tm) ;)
+ + completely remove the Internet - Mozilla Plug-In option for now;
+ we don't ship the plugin because it's buggy and we shouldn't show the
+ option then (closes: #364067)
+ * debian/rules:
+ - update cli-common build-depends
+ - run dh_makeshlibs -V to add .shlibs. You still need to set a
+ LD_LIBRARY_PATH to /usr/lib/openoffice/program to catch the libs, but...
+ - adapt to new SDK installation, move SDK docs to
+ /usr/share/doc/openoffice.org-dev-doc with symlink from "old" location
+ - disable Java for native amd64 for now - until regcomp doesn't segfault
+ at registering Java components anymore
+ - remove libgamin-dev workaround; not needed anymore
+ - make -l10n-fi suggest openoffice.org-spellcheck-fi instead of only
+ myspell-dictionary-fi to suggest both myspell-fi and Soikko.
+ - remove rest of $(DIST) Debian/Ubuntu. switching.
+ Getting unmaintained and old and changing too fast to keep up.
+ - merge changes from doko@ubuntu.com--2006-pkg-openoffice:
+ + install gsicheck into -dev
+ + add application/rtf to ooo-writer.desktop
+ + add X-KDE-Protocols=file,http,smb to the .desktop files
+ + some cleanups
+ + add ml-IN (ttf-malaylam-fonts) and or-IN (ttf-oriya-fonts) to
+ FONT_SUGGESTS
+ + build lv, ne, nr, ml-in langpacks
+ - add ftp,webdav to X-KDE-Protocols=
+ - also suggest ttf-devanagari-fonts for ne and mr-in
+ - remove manual installing of hid.lst
+ - extend NO_JAVA_ARCHS to all Debian supported Linux archs to make
+ libmxthes-dev buildable on them because many of them have problems
+ installing the Java builddeps. Better solution, also excluding the
+ OOo-only build-deps pending.
+ - add te-IN (ttf-telugu-fonts), ta-IN (ttf-tamil-fonts) and
+ fa (ttf-farsiweb) FONT_SUGGESTS in preparation for 2.0.3
+ - enable Java for sparc mow that the needed java-gcj-compat-dev is
+ uploaded; bump builddep
+ - make hsqldb2 symlink really work (closes: #340468)
+ - remove unneeded space from desktop file Name='s when $(VER) isn't set
+ - install resume.ott and project-proposal.ott templates from ooo-build
+ * debian/control.in:
+ - remove depends on openoffice.org-core (>> ${base-version}) from the
+ arch-dep packages; now done via dpkg-shlibdeps
+ - Standards-Version: 3.7.2 - no changes needed
+ - make openoffice.org-gnome depend on gconf2, thanks Matthias Klose
+ - merge changes from doko@ubuntu.com--2006-pkg-openoffice:
+ + make -core depend on fontconfig
+ - add libdbus-glib-1-dev builddep for the gnome-screensaver patch
+ - build-depend on x11proto-render-dev | render-dev since render-dev now is
+ a dummy package (closes: #369101)
+ - add -Python-Version: current for new python policy
+ - stop suggesting ooqstart-gnome at -gnome since we conflict with it,
+ thanks Adam C Powell IV for noticing (closes: #370230); also don't talk
+ about "Base" in -gnomes description.
+ * debian/rules, debian/control*in:
+ - for sarge backports move the packages to contrib since we use
+ a non-free JDK as (build-)dependency.
+ * debian/README.Debian: update, mention Slovak myspell dictionary
+
+ -- Rene Engelhard <rene@debian.org> Tue, 6 Jun 2006 12:25:18 +0200
+
+openoffice.org (2.0.2-3) unstable; urgency=low
+
+ * ooo-build:
+ - use ooo-build-2-0-2 branch
+ - sensible-browser.diff: run sensible-browser with & in
+ kde-open-url (closes: #336528)
+ - src/: add ar, br, lo and mk GSIs
+ * debian/rules:
+ - update get-ooo-build (and make it actually work, doh)
+ - stop trying to build the javadocs independently, doesn't really
+ work. Add fat warning when executing binary-all on an arch not
+ enabled for Java
+ - add FONT_SUGGESTS for ar and lo
+ - enable ar, br, lo and mk langpacks
+ - use rm -f at libnpsoplugin.so/nsplugin rm, fixes sparc build
+ - move gengal into -dev; gengal.bin is there
+ - rm l10n.fdupes in clean
+ - bump java-gcj-compat-dev builddep for sparc; we need gcj/gij 4.1...
+ Not enabled yet since we need java-gcj-compat-dev using 4.1 which
+ is only in experimental...
+ - disable -lt help (closes: #361442)
+ - add "OpenOffice.org Draw" also to GNOMEs/KDEs "Graphics" Menu
+ - readd "openoffice" symlink as openoffice(1) mentions it
+ - make it possible to build only libmythes-dev and therefore build it
+ for all architectures
+ - cleanup
+ - don't install NEWS.Debian into libmythes-dev
+ - use dh_installchangeslogs to install the ooo-build changelog
+ - run dh_installdocs with -A to make README.Debian.gz appear in all
+ packages. Together with the update this closes: #348780)
+ * debian/control.in:
+ - add missing [$(NO_JAVA_ARCHS)] pieces
+ - make -core conflict against openoffice.org-gnome (<< 2.0.2)
+ (closes: #358470)
+ - remove one more duplicate section (closes: #356901)
+ - make openoffice.org suggest openoffice.org-help-${base-version}
+ (closes: #362861)
+ - make libmythes-dev Architecture: any
+ * debian/source.lintian-overrides: override
+ "package-lacks-versioned-build-depends-on-debhelper", bogus error here.
+ * debian/README{,.Debian}: update
+ * merge doko@ubuntu.com--2006-pkg-openoffice/openofficeorg--unstable--2.0.1:
+ + patch-73: remove empty help directories from -l10n-*
+
+ -- Rene Engelhard <rene@debian.org> Sun, 23 Apr 2006 21:10:08 +0200
+
+openoffice.org (2.0.2-2) unstable; urgency=low
+
+ * debian/rules:
+ - actually define CCODE in the control.help.in rule
+ - revert %U -> %F change, breaks opening of remote files
+ - remove /usr/lib/openoffice/share/fonts/truetype/opens___.ttf from
+ -common, we have the right version from ooo-build installed into
+ ttf-opensymbol
+ - create symlink /usr/lib/openoffice/program/libhsqldb2 ->
+ /usr/lib/openoffice/program/libhsqldb2.so, hopefully closes: #340468
+ - remove README_* from /usr/lib/openoffice/share/readmes and
+ /usr/lib/openoffice/readmes; install README and README.html into
+ /usr/share/doc/openoffice.org-common
+ - enable hu, da, en-GB, nl, lt help
+ - move scsolver.uno.so into -calc
+ - readd lost USE_SYSTEM_HUNSPELL variable; set it to y for sid to actually
+ build with system-hunspell
+ - remove USE_SABLOT/USE_LIBXSLT conditionals.
+ - create wrapper scripts setting LD_LIBRARY_PATH for the SDK binaries
+ again, thanks Miguel Telleira de Esteban for the report.
+ * debian/control.*in:
+ - make openoffice.org-help-* Suggests at -l10n-* unversioned
+ (closes: #343111)
+ - add missing Replaces against -common (<= 2.0.1-5) at -gnome
+ * ooo-build:
+ - src/: update bg, el, et, lt, ne, br, sk, sl GSIs from ftp.linux.cz
+ update hu from hu.openoffice.org
+ - CVS update:
+ - build with --with-alloc=system instead of internal malloc/calloc/free
+ implementation
+ - opens___.ttf fixed wrt 0x2212 minussign glyph (closes: #357125)
+ - enable CalcSolver patchset
+ - stop applying xmlhelp-use-system-libxslt.diff; works on i386 but ppc
+ crashes; and just not specifying --with-system-lixbslt doesn't work
+ either.
+ * debian/control.in, debian/control.gcj.in, debian/rules: disable -gcj
+ build, the wizards don't work with it installed. move -gcj into
+ control.gcj.in, conflict against openoffice.org-gcj to
+ openoffice.org-java-common to force it off the system for those who
+ already installed it.
+ * debian/openoffice.org-gcj-{pre,post}{inst,rm}.in: use gij instead of
+ gcj (closes: #356984)
+ * debian/openoffice.org-common.preinst.in: rm_conffile obsolete
+ /etc/bash_completion.d/ooo-wrapper.sh
+ * merge doko@ubuntu.com--2006-pkg-openoffice:
+ - patch-48: link to the online versions of the non-free DevelopersGuide
+ stuff not in -dev-doc in the html files referencing it.
+ - patch-55 (parts; without dicdir-symlinking yet) and patch-57:
+ + Symlink some identical draw and impress files in the help packages.
+ (4% smaller).
+ + Symlink identical template files in the l10n packages (20% to 70%
+ smaller)
+
+ -- Rene Engelhard <rene@debian.org> Sat, 18 Mar 2006 14:01:25 +0100
+
+openoffice.org (2.0.2-1) unstable; urgency=low
+
+ * new upstream release
+ - should fix behaviour on NFS (closes: #335742)
+ - should fix NullPointerException with at the wizards (closes: #343761)
+ - parallel building now should work (closes: #152718)
+ * debian/control*in:
+ - add Suggests on pstoedit and imagemagick
+ - build-depend on libneon25-dev | libneon24-dev; build with neon 0.25
+ - don't build -hunsell anymore, now in -core; add appropriate
+ Conflicts:/Replaces:/Provides:
+ - make the langpacks suggest hunspell-dictionary-@LCODE@ additionally to
+ myspell-dictionary-@LCODE@
+ - fix duplicate Replaces: and Section: fields, thanks lintian
+ - add openoffice.org-dbg
+ - make openoffice.org-gnome unconditionally conflict against
+ ooqstart-gnome, -gnome now has a quickstarter
+ - update Architecture: for libuno-cil, s390's gone long ago
+ - add FONT_SUGGETS=", ttf-khmeros" for -l10n-km.
+ - remove mozilla-openoffice.org from control.in, move it to
+ control.mozilla.in.
+ remove openoffice.org-dbg from control.in, move it to
+ control.debug.in. Request from ftpmasters.
+ * ooo-build/src: add OOB680 GSIs from ftp.linux.cz and bs GSI from
+ http://vedran.root.ba/GSI_bs.sdf.bz2, thanks Vedran Ljubović
+ * debian/rules:
+ - remove system-myspell stuff from the CXXLIBS conditional;
+ hunspell replaced myspell and we really don't need to link with
+ libmyspell just for ulingu stuff.
+ - specify --with-system-{xalan,xerces,xml-apis,xt} in appropriate places;
+ in ooo-build the hardcoded stuff got replaced with dynamic ones. add
+ appropriate conditionals.
+ - enable help build
+ - add system-altlinuxhyph conditional, enable it for sid; bump necessary
+ build-dep to >= 0.1.1-8
+ - add conditional for libxslt usage (externally) instead of internal
+ libsablotron. enable it.
+ - enable bs (bosnian) langpack
+ - chmod 644 two SDK Documentation build.xml files, thanks lintian
+ - bump libdb4.2 builddep to the non-miscompiled ones - (>= -23.1)
+ - move libvbaobj* and vbaevents* into -calc, they are linked to
+ libsc* and calc-only anyway (thanks Matthias Klose and Noel Power)
+ - add conditionals for building a -dbg package. only possible on sid.
+ disable it per default, though due to its size (324 MB deb, 1 GB i-s)
+ - add mozilla-openoffice.org / -gcj to control if wanted.
+ - make debian/control target depend on debian/control.help.in, thanks
+ Matthias Klose
+ - Recommend -gcj at -java-common
+ * debian/openoffice.org-core.overrides.lintian: override
+ wrong-name-for-upstream-changelog
+ usr/share/doc/openoffice.org-core/changelog.ooo-build.gz
+ * merge changes from doko@ubuntu.com--2006-pkg-openoffice:
+ - patch-5: Only suggest the binfilter package, if it is built.
+ - patch-21/22: keep unmodified uuencoded files, keep time stamps
+ - SMALL_SYMBOLS logic fix
+ - patch-35:
+ - Unconditionally conflict with ooqstart-gnome. -gnome, now contained
+ in the openoffice.org-gnome package.
+ - Make ooo-wrapper aware of ooqstart
+ - Recompile java code to native code from byte code.
+ - don't hardcode !sparc, introduce NO_JAVA_ARCHS variable
+ - build with --enable-lockdown, --enable-atkbridge
+ - manpage installation fixes
+ - patch-37/38/39: possibility to build openoffice.org-qa-{tools,api-tests}
+
+ -- Rene Engelhard <rene@debian.org> Mon, 6 Mar 2006 23:47:17 +0100
+
+openoffice.org (2.0.1-5) unstable; urgency=high
+
+ * doh, fix broken build-depends logic wrt neon, remove hardcoded build-dep;
+ make it a conditional in debian/rules; enable it for sarge
+ * disable mdbtools support until mdbtools is fixed (see #34595)
+
+ -- Rene Engelhard <rene@debian.org> Thu, 2 Mar 2006 21:29:39 +0100
+
+openoffice.org (2.0.1-4) unstable; urgency=low
+
+ * rebuild with internal neon; neon 0.25.x was uploaded as neon and 0.24.x
+ will be gone :/. External neon (0.25.x) will be re-enabled with OOo 2.0.2
+
+ -- Rene Engelhard <rene@debian.org> Tue, 21 Feb 2006 23:36:35 +0100
+
+openoffice.org (2.0.1-3) unstable; urgency=low
+
+ * debian/rules:
+ - add SMALL_SYMBOLS switch to control debug symbol generation,
+ and default to 'y' to reduce package build time and space [CH]
+ - build he langpack [RE]
+ - stop installing/packaging the mozilla plugin. At least for now. Buggy.
+ - If DEB_BUILD_OPTIONS contains from=<project>, continue
+ build from this project [CH]
+ - Update get-ooo-build target [CH]
+ - Parallel building support: set DEB_BUILD_OPTIONS=num-cpus=<n>
+ for n projects to be built in parallel [CH]
+ * ooo-build/src:
+ - add GSI_he.sdf.gz [RE]
+ * ooo-build/patches/*: disable disable-visibility-feature.diff again
+ and don't apply cws-i18nshrink.diff which was the cause [RE]
+ * debian/control.in:
+ - fix openoffice.org-help-ko conflict (s/fff/ff), thanks Matthias
+ Klose [RE]
+ - remove now unneccessary python depends from -common [RE]
+ - suggest the improved Bitstream Vera fonts (ttf-dejavu) as an alternative
+ to ttf-bitstream-vera [RE]
+ * debian/sensible-ooomua: remove, obsolete with now imporoved senddoc,
+ thanks Matthias Klose (closes: #335026, #350796) [RE]
+ * ooo-build/patches/cairo-smooth-curves.diff: disabled, causes drawing
+ problems (closes: #349757) [AP]
+
+ -- Rene Engelhard <rene@debian.org> Thu, 16 Feb 2006 01:02:30 +0100
+
+openoffice.org (2.0.1-2) unstable; urgency=low
+
+ * ooo-build/patches/src680/apply: apply full Debian patchset for Debian64
+ (closes: #345611)
+ * debian/rules:
+ - rework/update/fix help installation
+ - fix desktop files to use %F instead of %U, extracted from Ubuntus
+ .diff.gz...
+ - move libeggtray* and libqstart_gtk* into the right package (-gnome
+ instead of -kde; they were in the wrong loop, oops)
+ - re-enable hunspell and the binfilters
+ - Suggest locales (>= 2.3.5-12) | belocs-locales-data for km and sr-cs
+ instead of only belocs-locales-data since 2.3.5-12 apparently added
+ km_KH and sr-CS support.
+ * debian/control.*in:
+ - bump libdb4.2-java builddep to libdb4.2-java (>= 4.2.52-21) for sid
+ - remove obsolete libxp-java and libjaxp1.2-java builddeps (leave
+ libjaxp1.2-java for sarge, though, as we need to use Suns JDK...)
+ - fix control.help.in
+ - make all of openoffice.org's dependencies on the modules versioned, to
+ make sure they are all in sync
+ - add Replaces: for the libeggtray* and libqstart_gtk* move
+ * ooo-build/bin/openoffice-xlate-lang: ga is gaelic, not galician
+ (closes: #347787)
+ * ooo-build/patches/src680/disable-visibility-feature.diff: disable,
+ sometimes causes segfaults, thanks YABUKI Yukiharu. This most probably
+ closes: #347491.
+
+ -- Rene Engelhard <rene@debian.org> Sun, 15 Jan 2006 11:22:57 +0100
+
+openoffice.org (2.0.1-1) experimental; urgency=low
+
+ * OOo 2.0.1 final release.
+ * ooo-build/*:
+ - use ooo-build-2-0-1 branch
+ - patches/src680/cws-unxlngs04.diff: backport upstream sparc build fix
+ with g++-4.0 and remove g++-3.4 builddep on sparc (closes: #343011)
+ - remove jurt patch introduced in 2.0.0-5 again. Not clear whether that
+ really makes sense, and a similar patch for lib at the beginning makes
+ the build fail. Not to mention System.mapLibraryName() does somehow
+ now also give me libfoo.so also where #340468 was reproducible. To be
+ investigated.
+ * debian/rules:
+ - install the Java UNO sources for IDEs like eclipse into -dev.
+ - use ibm-j2sdk1.4 as JDK for the sarge backport on ppc
+ * debian/control*:
+ - fix typo in -gtk-gnomes description (closes: #343343)
+ * debian/openoffice.org-writer.mime:
+ - add text/rtf mimetype (closes: #344718)
+
+ -- Rene Engelhard <rene@debian.org> Tue, 20 Dec 2005 23:59:48 +0100
+
+openoffice.org (2.0.0+2.0.1rc4-1) experimental; urgency=low
+
+ * update to SRC6808_m145 (2.0.1rc4)
+ * debian/control.in:
+ - Replace openoffice.org-dev (<< 2.0.0) from openoffice.org-dev-doc;
+ index.html moved. Analogous with -core and -base with libdbp680*so.
+ * debian/rules:
+ - update for 2.0.1
+ + rework SDK installation
+ + install libeggtray* libqstart_gtk* into -gnome
+ + package split fixes
+ + add system-agg conditional; enable it for sid
+ - new langpacks: en-za, th, sl, hi-in
+ - add ttf-devanagari-fonts to @FONT_SUGGESTS@ for -l10n-hi-in
+ - add Conflicts:/Replaces:/Provides: in -l10n-hi-in against -l10n-hi
+ - bump hunspell package version number to 1.2-x since we need to get
+ bigger and the 1.1 we have is functionally identical to 1.1. Temporary
+ disable -hunspell because we'd need a epoch when we upload a rc to
+ experimental and then to unstable. Avoid that, and re-enable -hunspell
+ when we upload 2.0.1 final.
+
+ -- Rene Engelhard <rene@debian.org> Fri, 9 Dec 2005 15:36:06 +0100
+
+openoffice.org (2.0.0-5) unstable; urgency=low
+
+ * debian/control.in:
+ - add Replaces: openoffice.org-debian-files on openoffice.org to fix
+ sarge/etch upgrades (it contains now README.Debian.gz) (closes: #342610)
+ - fix Architecture: of libmythes-dev (s/\$/%/)
+ - remove -gnomes Conflicts against openoffice.org-gtk-gnome and
+ add a transitional openoffice.org-gtk-gnome packages to let
+ openoffice.org-gtk-gnome "upgraded" instead of removed
+ - improve -filter-so52 description to also say "StarOffice" (instead
+ of only "Star Office" which apparently doesn't get recognized) and
+ "format"....
+ - bump oooqs-kde conflicts to also match -6+bX
+ - Replace/Provide openoffice.org-java from -core, -base and -dev
+ to ensure propoer upgrades when people have openoffice.org-java
+ installed
+ * debian/rules:
+ - check for the build link using -L and not -f
+ - substitute @OO_SDK_URE_HOME@ to empty value in setsdkenv*
+ (closes: #341271)
+ - Create also link in /usr/lib/firefox/plugins to support the
+ "firefox" package.
+ * ooo-build/patches/src680/jurt-ensure-dot-so-at-libname.diff: add;
+ quick'n'dirty patch to ensure libname ending with .so for dynamic library
+ loading from Java (closes: #340468)
+ * debian/*.menu, debian/README: s/Openoffice/OpenOffice/, thanks
+ Peter Eisentraut (closes: #342612)
+
+ -- Rene Engelhard <rene@debian.org> Fri, 9 Dec 2005 00:22:14 +0100
+
+openoffice.org (2.0.0-4) unstable; urgency=low
+
+ * Brown paper bag release.
+ * fix builddeps:
+ - it has to be [!sparc] instead of [! sparc]
+ - readd mozilla-dev and libnss-dev
+
+ -- Rene Engelhard <rene@debian.org> Wed, 30 Nov 2005 09:18:02 +0100
+
+openoffice.org (2.0.0-3) unstable; urgency=low
+
+ * ooo-build/patches/src680/pyuno-rpath-ooodir.diff: set RPATH to
+ /usr/lib/openoffice/program instead of /usr/lib/openoffice2/program
+ (closes: #316030)
+ * merge sarge backport fixes from 2.0.0-1bpo1 and -1bpo2, see below
+ * debian/control.in:
+ - move -java-common depends from -core to openoffice.org (closes: #337309)
+ and add Recommends: for it to those who miss it (-base already Depends:
+ on it)
+ - fix typo in -gnomes Description (closes: #338523)
+ - add conflicts against the completely obsolete openoffice.org-crashrep
+ to force it off the systems (closes: #303543)
+ - fix -gcjs depends, don't depend on openoffice.org2-common.
+ - don't build-depend on libxinerama-dev and libxkbfile-dev since they
+ didn't exist in sarges xfree86. Build-Depends on libxinerama-dev |
+ xlibs-static-dev (<= 4.3.0.dfsg.1-15)
+ - remove versioned gcj-4.0, gij-4.0, libgcj6-dev and gjdoc builddeps, we
+ don't need it on sarge and java-gcj-compat gets them in in the right
+ versions anyway
+ - remove java-gcj-compat, libxt, libxalan2-java, libxerces2-java and ant
+ builddeps, to be added from %BUILD_DEPS%
+ - remove versioned builddeps on libaltlinuxhyph-dev, libwpd8-dev et. al
+ which just were because of transitions and therfore only should apply to
+ sid. Will be readded through %BUILD_DEPS%
+ * debian/rules:
+ - add $PYTHOMHOME/site-packages to PYTHONPATH in pythonloader.unorc
+ (closes: #336655)
+ - don't build-depend on libgamin-dev on sarge backports,
+ thanks Jérôme Warnier
+ - enable lt langpack
+ - don't build empty used_libs...
+ - add missing sarge backport conditional to the system-icu conditional
+ - use system xt.jar also on sarge
+ - add java-gcj-compat-dev and libxt-dev build-deps here in the
+ ENABLE_JAVA/SARGE_BACKPORT conditional and build-depend on j2sdk1.4 on
+ sarge. Also add libxalan2-java and libxerces2-java builddeps here again
+ in case we are building for sid. Same for the versioned ant dependency
+ which is/was just there to force using the ant in main.
+ - readd libaltlinuhyph, libwpd8-dev et. al builddeps in the right
+ conditionals
+ - fix kdelibs4 builddep to be unversioned on sarge and add needed epoch to
+ it
+ - fix libstlport4.6 (build-)deps to be fullfillable on sarge
+ - bump libwpd-dev and kdelibs4-dev builddeps to ensure building against
+ the c2a-transitioned ones (closes: #341056)
+ - move dh_fixperms in front of dh_strip in the hope that this will fix
+ the stripping problems on XFS
+ - Suggest openclipart-openoffice.org instead of openclipart. Actually do
+ so ;) and change openoffice.org description accordingly.
+ - Add a build link in the package root to make it easier to find the
+ tree [CH]
+ - Fix install rules so they can be rerun without errors [CH]
+ - fixup .gz.gz manpage symlinks (closes: #338288)
+ * debian/sensible-ooomua: remove unneeded space from shebang, thanks Matej
+ Cepl (closes: #337970)
+ * debian/*.mime: fix nametemplate= and two more occurances of "oodraw2"
+ (closes: #315428, #335313). Also two more of the 1.1.x files'
+ descriptions.
+ * merge XML catalog stuff from 1.1.x
+ * debian/README.Debian: readd and update/remove obsolete stuff
+ (closes: #339321)
+ * Fix building without debuild: [CH]
+ - work around bug in tcsh: Unknown colorls variable `su'
+ - add /usr/sbin to search path (some icu utils are here)
+
+ -- Rene Engelhard <rene@debian.org> Mon, 28 Nov 2005 12:07:20 +0100
+
+openoffice.org (2.0.0-2) unstable; urgency=low
+
+ * ooo-build/patches/src680/use-free-xt-xp-jaxp-from-system.diff:
+ use xt-0.20050823.jar instead of xt.jar; on the buildds the files are
+ hardlinked into the solver and there apparently OOos installer has
+ problems to acces the symlink (/usr/share/java/xt.jar) over the hardlink...
+ * ooo-build/patches/src680/system-icu.diff: update to "safer patch" from IZ
+ (closes: #335262)
+ * debian/*.mime: fix, remove the 2 suffix which was stil there
+ and fix the descriptions of the 1.1.x formats (closes: #335313)
+ * fix typo in -gnome's Suggests
+ * ooo-build/src: translation updates
+ * debian/rules:
+ - the helpimgs are missing when we don't build with help so repack
+ the zips and add them during the build.
+ - start adding necessary conditionals for sarge backport; when building
+ a sarge backport:
+ - use gcc/g++ 3.3
+ - use internal xmlsec, hunspell, hsqldb, bsh, mdbtools, xt, xp, xalan,
+ xerces and portaudio
+ - disable cairo canvas
+ - (re)enable Java but use Blackdowns Java *ugh* to build (otherwise we'd
+ need a gcc-4.0 backport, too...)
+ - don't install libcommuni* and libsimplecm* if we don't package the
+ testtool and actually set PACKAGE_TESTTOOL=n
+ * debian/control.in:
+ - tighten libxt-java builddep to >= 0.20050823-1
+ * rename openoffice.org-jars-native to openoffice.org-gcj
+ * debian/*.in: fix some thinkos in the maintainer scripts wrt the shell-lib
+ and remove call to the (now non-existing) openoffice.org-debian-files
+ hooks. Also fix case statement so old conffiles actually are removed
+ (closes: #337147)
+
+ -- Rene Engelhard <rene@debian.org> Wed, 2 Nov 2005 22:31:46 +0100
+
+openoffice.org (2.0.0-1) unstable; urgency=low
+
+ * OOo 2.0 final release. (closes: #334914)
+ - fixes hebrew nekudots (closes: #262156)
+ - new languages:
+ vi, ca, sr-CS, el, st, ts, ga
+ * rename back to openoffice.org and upload to unstable.
+ * ooo-build/patches/src680/sal-when-to-run-crash-report.diff: don't try to
+ run crash_report if it's not built (closes: #270223)
+ * ooo-build/patches/src680/help-messagebox.diff: tell that no help was
+ found if it wasn't instead of some obscure message (closes: #330447)
+ * patches/src680/sparc-bridges-use-g++-3.4.diff: add hack to use g++-3.4 for
+ the sparc bridges
+ * ooo-build/src: translation updates
+ * build also ttf-opensymbol
+ * ooo-build/bin/package-ooo: don't install a wrapper script for jvmsetup
+ which doesn't exist anymore (closes: #324160)
+ * debian/control*in:
+ - let -core conflict against openoffice.org2-l10n-1.9.1{08,14,21,25}.
+ Needs better automatic solution...
+ - let the langpacks conflict against the numerical previous and next
+ -langpack versions
+ - only Recommend openoffice.org-core, analogous to 1.1.x to make
+ tasksel happy
+ - add ${cli:Depends} to libuno-cil
+ - Suggest c-shell at -dev to make lintian happy
+ - add @LOCALES_DEPENDS@
+ - add libmythes-dev
+ - build-depend on libicu34-dev
+ - readd unixodbc-dev builddeps for Debian
+ - add Conflicts:/Provides:/Replaces: against the old packages where
+ appropriate and needed
+ - build-depend on g++-3.4 on sparc
+ - really remove -base dependency on -gnome
+ - only set a binsuffix when $(VER) is not empty; otherwise build
+ with --with-binsuffix=no
+ - change build-dependency against libcurl from libcurl3-dev to
+ libcurl3-openssl-dev | libcurl3-dev to cope with the reorganization of
+ the curl packages
+ * debian/rules:
+ - run dh_desktop...
+ - suggest culmus for a prospective -he langpack
+ - use -s instead of -a in binary-arch
+ - fix installation of mono stuff (don't install the .dlls into -common...)
+ and set MONO_SHARED_DIR for dh_clideps
+ - chmod 755 setsdkenv_unix.*
+ - do classmap creation, taken from eclipse, thanks. Still no effect,
+ though...
+ - enable cairo canvas build, disabled per default though
+ - add extra sysui build step back because of changed upstream behaviour
+ - enable rw, it doesn't work with "locales" but with
+ "belocs-locales-data", so add a new LOCALES_DEPENDS variable letting
+ it depending on belocs-locales-data and "the rest" on
+ "locales | belocs-locales-data". Same for the other languages not
+ supported by plain locales.
+ - disable bs and lt, somehow doesn't work anymore, to be investigated
+ - add preliminary support for builds without Java; useful for backports
+ or for archs where Java still make problems
+ - add the possibility to build a non-PIC version of libmythes here and
+ to package libmythes-dev from here (if $(USE_EXTERNAL_MYTHES) != "y").
+ Use that, updates of mythes would need a rebuild of OOo anyway so this
+ is quite overkill.. Requested by Martin Pitt.
+ - remove ooonologo installation, now done via ooo-build patch
+ - add manpage symlink for ooffice, thanks Matthias Klose
+ - add conditional to optionally build without STLport and use the "normal"
+ STL.
+ - add system-icu and system-xmlsec conditionals; enable both
+ - move psprint.conf and sofficerc into /etc/openoffice; add a dummy
+ sofficrc just referencing /etc/openoffice/sofficerc in ../program to
+ make OOo work...
+ - Remove the "<app> makes it possible" from the German desktop
+ translations.
+ - install (and create) GNOME .keys, .mime and .applications
+ - install DicOOo
+ - install dictionary.lst symlink (closes: #320831)
+ - disable --with-system-sablot; breaks displaying of help, thanks Matthias
+ Klose
+ - export JAVA_HOME in debian/rules; otherwise the registration of
+ the Java compponent somehow fail
+ - several updates for 1.9.x -> 2.0; get desktop-integration version
+ from productversion.mk directlay instead of from the changelog
+ - use ooo-build-2-0 branch
+ - if we build without Java, run the Javadoc buildstep manually and
+ copy the files in install-indep; otherwise -dev-doc (_all) would
+ eventually miss the Javadocs depending on where it was build...
+ * debian/copyright: update FSF address, thanks lintian
+ * debian/*.overrides.lintian: update; override rpath warnings globally since
+ we have different files with different names on the different archs and
+ override csh-considered-harmful.
+ * debian/openoffice.org-jars-native.post*.in: update
+ * debian/shlibs.override.internal: override also libxmlsec1-nss
+ * debian/copyright: update for new LGPL-only licensing and refer to
+ /usr/share/common-licenses/LGPL, thanks lintian
+ * debian/*.mime: Register appliations for OpenDocument types, thanks
+ Matthias Klose
+ * debian/openoffice.org2-*: rename to openoffice.org-*, and update for 2.0
+ * debian/shell-lib.sh: add conffile handling (remove, move)
+ * debian/openoffice.org-common.preinst.in: remove
+ /etc/bash_completion.d/openoffice; obsoleted by
+ /etc/bash_completion.d/ooo-wrapper.sh and
+ /etc/openoffice/autoresponse.conf (obsolete because there's no "setup"
+ anymore)
+ * debian/ttf-opensymbol.postinst.in: don't run fc-cache if fontconfig
+ was not yet configured (closes: #303693)
+
+ -- Rene Engelhard <rene@debian.org> Thu, 20 Oct 2005 21:26:05 +0200
+
+openoffice.org2 (1.9.125-1) experimental; urgency=low
+
+ * Update to m125 (aka 2.0beta2)
+ - does not stat any font twice anymore on cold startup (closes: #243659)
+ * ooo-build/src:
+ - translation updates from ftp.linux.cz again; get bg from
+ wget http://icobgr.info/ooo/GSI_bg.sdf.bz2 directly since ftp.linux.cz's
+ version is broken
+ * debian/rules:
+ - enable hunspell component. Fix to specify -Nopenoffice.org2-hunspell
+ when we don't enable it. Fix typo preventing libhunspell-dev actually
+ be added to %BUILD_DEPS%
+ - generate setsdk_unix.{,c}sh
+ - add mysql.jar, sapdbc-7.5.00.jar and postgresql.jar (from libmysql-java /
+ libsapdbc7.5.01-java / libpg-java) to the CLASSPATH
+ - remove stale SUGGESTS from debian/rules control. Exchange it with
+ FONT_SUGGESTS; for now adding ttf-{bengali,gujarati,punjabi}-fonts to
+ the Suggests of -bn / -pa-in / -gu-IN.
+ - add debian/rules to the dependencies of the control target. debian/rules
+ changes can make debian/control change, too (conditionals,
+ @FONT_SUGGESTS@)
+ - since ooo-build now has system-mdbtools implemented, add conditional for
+ this; enable mdbtools support and build with system mdbtools
+ - update cairo conditional
+ - add missing , to some BUILD_DEPS settings
+ - bump kdelibs4-dev builddep to >= 3.4.2 since there KDE has transitioned;
+ eclipcitely build-dep on libgamin-dev to work around install problems
+ with GNOME, thanks Adeodato Simo for the workaround and hint. Enable it.
+ - handle gzip compressed GSIs
+ - some conditional cleanup for Ubuntu, add BUILD_AMD64 conditional
+ - fix typo in opens___.ttf installing
+ - uncomment LD_ASSUME_KERNEL call, was uncommented for testing and then
+ not re-enabled again....
+ - the mono support is now enabled per default in ooo-build; disable it
+ (still needs the .dll's from the OOo windows installset)
+ - build hicontrast iconset
+ - install libkab1.so into -kde
+ * debian/control*.in:
+ - add openoffice.org2-hunspell
+ - -dev Recommends: java-gcj-compat-dev
+ - Suggest also libmysql-java | libpg-java | libsapdbc7.5.01-java
+ (JDBC Drivers) at -base
+ - Suggest g++-4.0 | g++-3.4 at -dev instead of the other way round,
+ request of Mattias Klose
+ - let -base Depend on java-gcj-compat | j2re1.4 | java2-runtime insteadf
+ of just Recommending it since the internal db needs it. Recommend
+ java-gcj-compat | j2re1.4 | java2-runtime on -writer for the
+ Java-needing features. Substitute gij-4.0 dependency on -jars-native
+ with java-gcj-compat, too
+ - let -core Conflict against openoffice.orgVER-unbundled (provided by the
+ official OOo packages from Sun) to prevent a openoffice.org-writer
+ sneaking in which would fullfill our dependencies when these packages
+ are openoffice.org-* but wouldn't work at all together with "the rest"
+ of our packages. Provide openoffice.orgVER-bundled as the counterpart -
+ the packages from Sun conflict against it.
+ - add @FONT_SUGGESTS@
+ - s/myspell-dictionary-@CODE@/myspell-dictionary-@LCODE@/, oops
+ - add Architecture: all to ttf-opensymbol...
+ - remove unixodbc builddeps for Debian, unixodbc-dev uninstallable
+ - add %AMD64%, substituted by amd64 if we want to build amd64, too
+ - Standards-Version: 3.6.2 (no changes needed)
+ - mention KDE Addressbook integration at -kde and Suggest kaddressbook
+ - temporaryily let -common depend on -l10n-en-us until some package split
+ issues are sorted out...
+ * debian/*.overrides.lintian: add lintian overrides
+ - binary-or-shlib-defines-rpath, we use RPATH to OOo own dir; makes sense
+ here
+ - menu-icon-missing, bogus warning, the icons are in -common and not
+ in -writer, -calc, etc
+ - menu-item-contains-unknown-tag, kderemove="y" *is* a valid tag
+ * debian/javasettings*xml: remove, useless
+
+ -- Rene Engelhard <rene@debian.org> Sat, 27 Aug 2005 21:36:28 +0200
+
+openoffice.org2 (1.9.121-2) experimental; urgency=low
+
+ * rebuild in a clean environment on i386 to get a dependency on
+ libstlport4.6c2 (closes: #320728)
+ * ooo-build/src:
+ - translation updates: af bg cs cy da en-GB et hu lt nb nn sk xh zu
+ * ooo-build/patches/src680/pyuno-rpath-ooodir.diff: add
+ /usr/lib/openoffice2/program to pyunos rpath, thanks Matthias Klose
+ for the patch (closes: #316030)
+ * ooo-build/patches/src680/tab-key-for-autocomplete.diff: allow [tab] key
+ for autocompleting (closes: #206362) [JM]
+ * debian/control*.in:
+ - s/CODE/CCODE/, thanks Matthias Klose
+ - let openoffice.org2-dev Suggest libmythes-dev
+ - on amd64, build-depend on unixodbc-dev (>= 2.2.11)
+ - remove s390 from Architecture: apparently porting for 2.0 not ready...
+ - improve -filter-so52 description; don't say ".. Binary filters for..."
+ thanks James Troup
+ - remove libhsqldb-java (>= 1.8.0.0-2) builddep. now added via
+ %BUILD_DEPS%
+ - build-depend on libaltlinuxhyph-dev (>= 0.1.1-7), we use libhnj_pic.a
+ which was introduced there
+ - remove now unneeded rpm builddep
+ - provide openoffice.org2-l10n-x.y.z from the langpacks, not
+ openoffice.org-l10n-x.y.z, thanks Jacek Politowski (closes: #322598)
+ * debian/rules:
+ - move CONFIGURE_FLAGS setting for firefox after CONFIGURE_FLAGS
+ initialization, thanks Matthias Klose again
+ - add --with-system-mythes and appropriate builddep to the C++ libs
+ conditional; enable it for Debian.
+ - add system-portaudio conditional; enable it for Debian
+ - build only en-US on the buildds (user "buildd")
+ - fix/update cairo conditional, thanks Martin Kretzschmar. Don't
+ explicity build-depend on glitz. cairo does that already for us.
+ - improve GSI extraction; do not fail if there are no GSIs to merge,
+ thanks Martin Kretzschmar
+ - don't install th_gen_idx.pl anymore; we have it in libmythes-dev already
+ - use mozilla-dev on Ubuntu, too. firefox-dev in Ubuntu is broken.
+ Request by Matthias Klose.
+ - ooo-build now has --enable-cairo as default, disable it
+ - add conditional for the new mdbtools-using Access import stuff but
+ disable it for now
+ - readd lang= handling as known from 1.1.x to build only one language
+ - system-hsqldb is now conditional in ooo-build; add appropriate
+ conditional here, too to use it and set the right (build-)depends
+ - copy the icons from -debian-menus, not from the redhat one.
+ Don't do a extra sysui build step anymore since that's not needed
+ anymore.
+ - add pyuno conditionals, the pyuno build is disabled on amd64..
+ - add conditional for hunspell support, don't enable it yet
+
+ -- Rene Engelhard <rene@debian.org> Thu, 11 Aug 2005 20:43:23 +0200
+
+openoffice.org2 (1.9.121-1) experimental; urgency=low
+
+ * Update to m121
+ * ooo-build/patches:
+ - backport caolans python mailmerge script.
+ * ooo-build/distro-configs/Debian{,64}.conf.in:
+ - --with-dynamic-xinerama
+ * ooo-build/src:
+ - add up-to-date GSIs from ftp.linux.cz to update the translations.
+ Also add new lt from there.
+ * debian/rules:
+ - build against system-cxxlibs and system-stlport; version builddeps
+ correctly
+ - remove bogus touch in install-arch target
+ - fix debian/rules wrt pyuno config; generate pythonloader.unorc.
+ Still needs LD_LIBRARY_PATH set to work, though...
+ - install ooo-build/doc/using-mysql-databases.txt and
+ ooo-build/doc/data-from-remote-mysql-server.txt into -base's
+ /usr/share/doc
+ - use sparc-linux-gnu-g++ instead of sparc-linux-g++, the latter isn't
+ anymore...
+ - build also xh (xhosa), merged from Ubuntu, and bs (bosnian), thanks
+ Safir Secerovic
+ - add missed - at the sparc-linux compiler prefix
+ - link to system hsqldb
+ - make build with system-boost conditional
+ - build with firefox-dev on Ubuntu
+ - fix up manpage symlinks (closes: #315633)
+ - use the Ximian desktop icons (closes: #319045)
+ - build also lt language pack
+ - add cs and et to HELPISOS, full translation of helpcontent2 there
+ - add conditional for the newly enabled cairo canvas, disable it for now
+ since Debians version are too old
+ * debian/control.in:
+ - oops, ] missing in Build-Conflicts...
+ - s/seperate/seperately/
+ - suggest also tdsodbc in -base, and beautify description a bit
+ - let openoffice.org2-writer depend on python-uno (>> ${base-version} for
+ the python email mailmerge.
+ - readd imagemagick build-depends; we use convert and therefore still
+ need it, oops, thanks Matthias Klose... (closes: #317541)
+ - (Build-)Depend on libhsqldb-java (>= 1.8.0.0-2)
+ - Build-Depend on libxinerama-dev and libxkbfile-dev also on Debian (X.org
+ now in...); remove Build-Dep on xlibs-static-pic
+ - -gnome doesn't need to depend on -base (closes: #318074)
+ - remove mozilla-dev from Build-Depends; will be added through
+ %BUILD_DEPS%
+ - minor description fixes
+ - allow "firefox" in the mozilla or relationships
+ - build-depend on gcj-4.0 (>= 4.0.1) and gij-4.0 (>= 4.0.1) and remove
+ explicit build-dep on binutils (>= 2.16) since gcj-4.0 depends on gcc-4.0
+ 4.0.1-2 which has that depends alrready.
+
+ -- Rene Engelhard <rene@debian.org> Mon, 25 Jul 2005 16:52:36 +0200
+
+openoffice.org2 (1.9.114-1) experimental; urgency=low
+
+ * Update to m114
+ - contains build fixes for java-gcj-compat's split and libjawt
+ being renamed to libgcjawt. See below (closes: #316951)
+ * ooo-build/distro-configs/Debian64.conf.in: added (closes: #315643)
+ * New patches:
+ - pyuno-rpath.diff: fix pyunos rpath (closes: #316059) [RE]
+ * Patches removed:
+ - bean-no-libgcjawt.diff: remove, obsolete, Debian has now libgcjawt, too
+ and there's a configure check now [RE]
+ * debian/rules:
+ - fix classes (thinko..) and uno_packages (typo..) link creation,
+ thanks Fridrich Strba for noticing. Also link only the cache dir and
+ not the whole uno_packages [RE]
+ - don't use internal libgcc_s / libstdc++ anymore, thanks Joerg Jaspert
+ for noticing [RE]
+ - improve shlibs override mechanism and split the stdlibs one from the
+ "normal" one where we need to work around shortcomings in dpkg-shlibdeps
+ for the internal libxmlsec. Make the installation of the system-stdlibs
+ if wanted find the right files themselves instead of specifying it and
+ create the shlib overrides file after that, too [RE]
+ - fix manual installing of de-sun-ified splashscreen, now upstream
+ default for "community builds" but still not default with ooo-build
+ since we don't use the EPM packaging mechanism... [RE]
+ - exclude unowinreg.dll from installing in -dev.. [RE]
+ - move th_gen_idx.pl to /usr/share/openoffice2/bin and install it with
+ 755, not 644 ;-) [RE]
+ - move gengal stuff to -dev [RE]
+ - move legacy_binfilters.rdb to -filter-so52 [RE]
+ - remove extra license files... [RE]
+ - (temporarily) disable the binfilters [RE]
+ - --with-images="industrial crystal" to build the crystal iconset
+ without the KDE VClplug (C++).. [RE]
+ - some improvements wrt g++/gcc, external C++ libs, external STLport and
+ build-depends handlig for those, thanks Matthias Klose and Martin
+ Kretzschmar [RE]
+ - add new conditional for enabling gcj-dbtool support when we want to
+ build the jars to jar.sos. Add infrastructure to package them into a new
+ package. On i386 only yet, but disabled atm since it somehow does not
+ work on runtime :/. [RE]
+ - use file:/// in the paths we subsitute in the config files,
+ thanks Joerg Barfurth [RE]
+ - new languages merged; build also af be-BY bn bg hr hu cs da nl en-GB
+ et fi gu-IN pa-IN km sk nb nn pl tr. Also build cy and zu; let the GSIs
+ from ftp.linux.cz be merged for that [RE]
+ - set DPKG=dpkg in sysui build [RE]
+ - base is now a optional component upstream; use the gid and remove the
+ install hacks for the files upstream installs but leave them for the
+ rest and extend them to put all db related stuff (obc, jdbc, sdbc,
+ hsqldb, other drivers, ..) into -base ..... -evolution now depends
+ on -base [RE]
+ - two en-US binfilter resources sneak into -calc/-math, move them into
+ -l10n-en-us [RE]
+ - move officebean.jar to -officebean [RE]
+ - expand uuencoding of source files to src/GSI*bz2 and remove GSI*.sdf in
+ clean [RE]
+ * debian/control*in:
+ - remove libart and imagemagick builddeps; not needed anymore [RE]
+ - fix Java suggestions in -core. java-gcj-compat depends on gij-4.0 so we
+ can simplify that too [RE]
+ - Recommend Java at -base instead of just suggesting and add
+ java-gcj-compat there, too [RE]
+ - add gjdoc (>= 0.7.5-1) to Build-Depends:
+ - cleanup Suggests and Recommends of the various packages: [RE]
+ - make -base Suggest unixodbc, libmyodbc | odbc-postgresql | mdbtools,
+ too and Suggest libmyodbc | odbc-postgresql | mdbtools in -core
+ additionally to the already existing unixodbc.
+ - make -gnome Suggest openoffice.org2-evolution and evolution, too
+ - make -evolution Recommend evolution
+ - make -kde Suggest konqueror and kmail, too
+ - description improvements [RE]
+ - add Replaces: for the various moved files [RE]
+ - let -dev suggest g++-3,4 | g++-4.0 instead of g++-4.0 alone. [RE]
+ - Build-Depend on java-gcj-compat-dev (>= 1.0.28-8) instead of just
+ java-gcj-compat [RE]
+ - add openoffice.org2-jars-native [RE]
+ - remove gcc-3.4 and g++-3.4 in favour for for %BUILD_DEPS% [RE]
+ - add %BUILD_DEPS%, subsitutetd my *manual* debian/rules control [RE]
+ - make -evolution dependn -base, it uses a odb file [RE]
+ - add Build-Conflicts: linux-kernel-headers (= 2.6.12+0rc6-1) [powerpc]
+ * debian/openoffice.org2-jars-native.postinst.in: add, register the compiled
+ jars into an own gcj database [RE]
+ * debian/openoffice.org2-jars-native.postrm.in: add, remove the db on
+ removal [RE]
+ * debian/openoffice.org2-core.postrm.in: add, remove UNO cache on
+ removal [RE]
+ * debian/javasettings_Linux_x86.xml: add. [RE]
+ * debian/openintro_debian.xcf.uu, debian/ooologonotextintro.bmp.uu:
+ remove, not needed anymore
+
+ -- Rene Engelhard <rene@debian.org> Wed, 6 Jul 2005 09:32:21 +0200
+
+openoffice.org2 (1.9.108-1) experimental; urgency=low
+
+ * Merge Ubuntu m76 packaging into Debian experimental [CH]
+ * Update to upstream milestone 108 and upload to experimental
+ (closes: #311320): [RE]
+ - doesn't delete files anymore when /tmp is full (closes: #277619)
+ - embedding videos should be possible now (closes: #227265)
+ - fixes spreadsheet csv import (closes: #228117)
+ - mouse over hint for default folder now exists (closes: #242611)
+ - fixes context menu behaviour in calc (closes: #174621)
+ - can directly export .html to .doc (closes: #224221)
+ - now uses LC_PAPER and if available CUPS to determine papersize,
+ default for !en_US now is A4 (closes: #256845)
+ - images now in exchangeable .zips (closes: #236784)
+ - now uses libneon24 (closes: #251728)
+ - does not crash on Tools->Bibliography Database on powerpc anymore
+ (closes: #216848)
+ - does not crash on usage of DEC2BIN() on powerpc anymore (closes: #260438)
+ - locale setting visible inside OOo now (closes: #273822)
+ - doesn't crash on files with ":" in it anymore (closes: #195239)
+ - doesn't mangle underlining in PDF export anymore (closes: #241298)
+ - fixes formula rendering (closes: #257011)
+ - does not allow (and therefore not crash with) dots in table name
+ anymore (closes: #257398)
+ - Java should be detected correctly (closes: #146292)
+ - does not crash anymore when closing documents opened from ftp
+ (closes: #292796)
+ - document restore is attempted (closes: #249407)
+ - renaming a tab now renames the right-clicked tab instead of the current
+ one (closes: #257013)
+ - now complains about missing JRE on the Java features if Java's not found
+ or activated (closes: #284056)
+ * ooo-build/bin/package-ooo:
+ - install ucpgvfs1.so, gconfbe1.so and gnome-set-default-application
+ (gid_Module_Optional_Gnome) [RE]
+ - install Javafilters (gid_Module_Optional_Javafilter) [RE]
+ (closes: #266889, #222984)
+ - pyuno installation enhancements [RE]
+ - install oobase wrapper and some ooo-build utilities [RE]
+ * ooo-build/distro-configs/*.conf.in: [RE]
+ - update; use system libs/headers where possible (C vs. C++)
+ - --with-java=gij --with-jdk-home=/usr/lib/jvm/java-gcj
+ --with-ant-home=/usr/share/ant1.6
+ - --enable-pasf --with-system-sndfile
+ - --enable-openldap, build LDAP backend with OpenLDAP, not Mozilla
+ - --enable-binfilter
+ - re-enable --with-system-altlinuxhyph
+ - use --enable-symbols
+ - --with-system-boost
+ * build with java, use gij/gcj.
+ (closes: #289542, #265134)
+ * debian/control*.in:
+ - update build dependencies: dmake -> dmake (>= 4.3-1)
+ - add Build-Depends: gij-4.0 (>= 4.0-0pre10), gcj-4.0 (>= 4.0-0pre10),
+ g++-3.4, gcc-3.4, libldap2-dev, libexpat1-dev, libbgnomevfs2-dev,
+ libsndfile1-dev, libant1.6-java, fastjar, libgcj6-dev (>= 4.0-0pre10),
+ libxt-java, libxp-java, libjaxp1.2-java, libboost-dev,
+ libxalan2-java (>= 2.6.0-1), libxerces2-java, libdb4.2-dev,
+ libdb4.2-java [RE]
+ - (temporarily) remove unneeded/-used (libstlport4.6, libdb4.2*,
+ libmyspell-dev, kdelibs4-dev, ...) or obsolete
+ (evolution-data-server-dev, ...) build-depends [RE]
+ - build-depend on libneon24-dev instead of libneon23-dev [RE]
+ - version libnss-dev builddep (>= 1.7.5-1) [RE]
+ - fix -cores description, it's arch-dependant and update
+ openoffice.orgs description and Suggests [RE]
+ - add mozilla-openoffice.org [RE]
+ - make openoffice.org-core depend on libnss3 (>= 1.7.5) and libnspr4,
+ they have no .shlibs (and no real SONAME anyway...)... [RE]
+ - Suggest openoffice.org2-thesaurus; conflict against
+ openoffice.org-thesaurus once we have a solution to let both co-exist
+ with the "normal" dictionaries-common system.
+ (They are incompatible and The OOo1 Thesauri make OOo2 crash..) [RE]
+ - add openoffice.org2-officebean [RE]
+ - remove openoffice.org-java stuff [RE]
+ - Suggest mozilla-browser | mozilla-firefox | mozilla-thunderbird since
+ we need the Mozilla profile for XML Security... [RE]
+ - add openoffice.org2-filter-so52 [RE]
+ - add openoffice.org-help-* stuff [RE]
+ - fix langpack Suggests [RE]
+ - add openoffice.org2-base [RE]
+ - (re)add openoffice.org2-dev[-doc] [RE]
+ - build-depend on and Recommend java-gcj-compat [RE]
+ - let -common depend on python-minimal | python for sensible-ooomua.
+ python-minimal should suffice once it will be in sid for etch [RE]
+ - let -common depend on libxt-java, libxalan2-java (in main in
+ experimental..) and libxerces2-java, we symlink it to the system
+ one.. [RE]
+ - -impress needs to Depend on -draw [RE]
+ - fix some suggestions; don't point them to the 1.1.x packages [RE]
+ * debian/rules:
+ - remove CONFIGURE_OPTIONS, now done by ooo-build and
+ distro-configs/Debian.conf[.in] [RE]
+ - compress manpages... [RE]
+ - move gnome-open-url.bin into -gnome [RE]
+ - create links to /usr/bin/g{cc,++,cj,ij}-x.y in debian/usr/bin and
+ change path to use them, ooo-build doesn't honor CC and CXX [RE]
+ - fix installation of Gnome stuff to get ucpgvfs1.so, gconfbe1.so,
+ fps_gnome.uno.so and gnome-set-default-application packaged [RE]
+ - move libnpsoplugin.so and nsplugin (Mozilla plugin) into own package [RE]
+ - work around the fact that dh_shlibdeps doesn't report anything on
+ TLS/NPTL-enabled systems by setting LD_ASSUME_KERNEL="2.4.27" before
+ executing it... [RE]
+ - use dh_python instead of setting the dependencies manually. And we miss
+ the postinst snippets without it anyway... [RE]
+ - use java-gcj-compat [RE]
+ - work around changed upstream behaviour in sysui and build sysui with
+ RPM=rpmbuild set ourselves to get the icons we want [RE]
+ - install unohelper.py into /usr/lib/python2.3/site-packages [RE]
+ - include pyuno/doc and pyuno/demo in python-pyuno package [RE]
+ - generate -help-* sections when help should be built (see below) [RE]
+ - install officebean stuff into -officebean to avoid
+ atk/pango/cairo/libgcj6-awt deps on -core, Suggest -officebean from
+ -core, though [RE]
+ - move the "binfilters" (SO 5.2) filters into their own package because
+ of the size and because there shouldn't be that much people needing
+ SO 5.2 filters anymore, and those who do can install this package :) [RE]
+ - some cleanup [RE]
+ - support installation of localized helps and langpacks (although that needs
+ to be enhanced to avoid duplicated files needlessly) [RE]
+ - build the "Sun languages" (de, es, fr, it, ja, ko, pt-BR, ru, sv,
+ zh-CN, zh-TW) in addition to en-US, package -l10n-*. Help not yet because
+ that somehow doesn't build on ppc and helpcontent2 needs xmlhelp which
+ needs XmlSearch which needs non-free jars included in the source.... [RE]
+ - move OOo Base stuff into -base [RE]
+ - add preliminary support for installing/packaging the Mono bindings,
+ don't do that per default yet, doesn't yet fully build with Mono alone.
+ Builddeps on mono-mcs, cli-common and libmono-dev also missing (since we
+ don't build it per default we don't need it in Build-Depends yet) [RE]
+ - install libs which belong into -writer, -draw, -impress etc. into their
+ right package instead of -core (OOo's split sucks) [RE]
+ - disable -kde for now, it's C++ :)
+ - change user directory to ~/.openoffice/1.9.X [RE]
+ - build openoffice.org2-dev[-doc] again [RE]
+ - move Java jars from $OODIR/classes to /usr/share/java/openoffice2;
+ create a symlink for compatibility to documentations and other stuff
+ expecting them in $OODIR/classes....; same with the UNO packages cache
+ and /var/spool/openoffice2/uno_packages/cache (addresses #218067) [RE]
+ - readd special compiler handling for sparc [RE]
+ - install sensible-ooomua [RE]
+ * debian/sensible-ooomua: add, merge from Ubuntu, thanks Matthias Klose [RE]
+ * debian/*: merge openoffice.org-debian-files' contents [RE]
+
+ -- Rene Engelhard <rene@debian.org> Sun, 12 Jun 2005 14:20:16 +0200
+
+openoffice.org2 (1.9.76-0ubuntu4) hoary; urgency=low
+
+ * Add rpm to build dependencies - needed to generate sysui .desktop entries
+
+ -- Chris Halls <chris.halls@credativ.co.uk> Thu, 17 Feb 2005 09:46:08 +0000
+
+openoffice.org2 (1.9.76-0ubuntu3) hoary; urgency=low
+
+ * New patch buildfix-jvmfwk-stdio.diff to fix powerpc build failure
+ * buildfix-odk-quoting: Add more quoting (i386 build failure)
+
+ -- Chris Halls <chris.halls@credativ.co.uk> Wed, 16 Feb 2005 18:50:04 +0000
+
+openoffice.org2 (1.9.76-0ubuntu2) hoary; urgency=low
+
+ * New patch buildfix-odk-quoting.diff to quote directory names
+ containing 'C#' (i386 build failure)
+ * wm-icons.diff: include stdio.h (powerpc build failure)
+ * Enable the 64bit patchset when building on amd64
+
+ -- Chris Halls <chris.halls@credativ.co.uk> Tue, 15 Feb 2005 17:18:34 +0000
+
+openoffice.org2 (1.9.76-0ubuntu1) hoary; urgency=low
+
+ * New upstream milestone m76. Tarball also contains ooo-build
+ extra icons.
+ * New package: python-uno containing python bindings. Initial cut:
+ set LD_LIBRARY_PATH=/usr/lib/openoffice2/program before importing uno
+ in Python (closes: #220226)
+ * debian/rules:
+ - Add oobase menu entry to openoffice.org2-common
+ - Install oo2 icons and mimetypes
+ * debian/control.in:
+ - Add generated dependencies to ensure component packages and core
+ package versions are kept in sync
+
+ -- Chris Halls <chris.halls@credativ.co.uk> Sat, 12 Feb 2005 01:20:50 +0000
+
+openoffice.org2 (1.9.66-0ubuntu8) hoary; urgency=low
+
+ * debian/control: Bah. The great dependency mechanism generated deps
+ for Debian now. Reran debian/control in Ubuntu.
+
+ -- Chris Halls <chris.halls@credativ.co.uk> Fri, 21 Jan 2005 14:20:59 +0000
+
+openoffice.org2 (1.9.66-0ubuntu7) hoary; urgency=low
+
+ * debian/scripts/setperms: Move file list from debian/rules
+ * debian/control.in:
+ - New syntax for distro-specific build dependencies:
+ %Distroname=foo, bar% is added to control file if
+ Distroname matches output of lsb_release -si
+ - move ubuntu-only deps within %Ubuntu= .. %
+ - add xlibs-dev to Ubuntu build-deps
+
+ -- Chris Halls <halls@debian.org> Fri, 21 Jan 2005 12:23:40 +0000
+
+openoffice.org2 (1.9.66-0ubuntu6) hoary; urgency=low
+
+ * debian/control.in add more Build-Deps, thanks rene:
+ bzip2, libjpeg62-dev, libxml2-dev
+
+ -- Chris Halls <chris.halls@credativ.co.uk> Thu, 20 Jan 2005 00:54:59 +0000
+
+openoffice.org2 (1.9.66-0ubuntu5) hoary; urgency=low
+
+ * debian/control.in remove libqt3-dev build-dep
+
+ -- Chris Halls <chris.halls@credativ.co.uk> Tue, 18 Jan 2005 15:22:07 +0000
+
+openoffice.org2 (1.9.66-0ubuntu4) hoary; urgency=low
+
+ * debian/control.in: add libqt3-mt-dev build-dep
+
+ -- Chris Halls <chris.halls@credativ.co.uk> Tue, 18 Jan 2005 14:48:35 +0000
+
+openoffice.org2 (1.9.66-0ubuntu3) hoary; urgency=low
+
+ * debian/control.in: add build-dep on libarts1-dev
+
+ -- Chris Halls <chris.halls@credativ.co.uk> Tue, 18 Jan 2005 13:19:30 +0000
+
+openoffice.org2 (1.9.66-0ubuntu2) hoary; urgency=low
+
+ * [debian/rules] Make ooo-build/configure and ooo-build/bin/[a-z]*
+ executable before trying to execute them
+ * [debian/control] Add build-dependency on libpng12-dev | libpng-dev,
+ libqt3-dev, kdelibs4-dev
+
+ -- Matt Zimmerman <mdz@ubuntu.com> Mon, 17 Jan 2005 19:57:43 -0800
+
+openoffice.org2 (1.9.66-0ubuntu1) hoary; urgency=low
+
+ * New packaging for upcoming 2.0 release
+ * Move to using ooo-build based build/packaging process
+ * Reorganise package layout:
+ - openoffice.org-bin -> openoffice.org-core
+ - openoffice.org -> openoffice.org-common
+ - openoffice.org-l10n-en -> openoffice.org-l10n-en-us
+ - openoffice.org is a new metapackage that depends on all components and
+ is arch dependent to work around tasksel problems (closes: #252135)
+ - new packages: openoffice.org-writer, -calc, -impress, -draw, -math
+ (closes: #279962)
+ * debian/rules:
+ - remove most of the file; obsoleted by ooo-build scripts
+ - automate conversion of sources->.uu and back
+ - remove get-ooo-icons target
+ - add download target that runs script in ooo-build
+ * debian/control.in:
+ - add new build dependencies: libnspr-dev, libnss-dev,
+ evolution-data-server-dev, kdelibs4-dev, libarchive-zip-perl,
+ mozilla-dev, libstartup-notification0-dev
+ * debian/README: remove some obsolete documentation
+ * add Build-Depends: libxinerama-dev (Ubuntu only)
+ * use evolution-data-server 1.2 (Ubuntu only)
+ * use libebook-1.2 (Ubuntu only)
+
+ -- Chris Halls <chris.halls@credativ.co.uk> Mon, 17 Jan 2005 15:25:49 +0000
+
+openoffice.org (1.1.4-7) unstable; urgency=low
+
+ * remove obsolete builddeps
+ * build with internal unixxodbc headers; unixodbc-dev currently is
+ uninstallable because of Qts C++ transition
+ * fix s390 and sparc to not link using "gcc ... -lstdc++" which gets
+ libstdc++.so.6 where we need and want libstdc++.so.5. Use $(CC).
+ * link with -lhnj_pic and tighten libaltlinuxhyph-dev builddep
+
+ -- Rene Engelhard <rene@debian.org> Thu, 18 Aug 2005 14:22:01 +0200
+
+openoffice.org (1.1.4-6) unstable; urgency=low
+
+ * The "Always-control-what-patch-did" release.
+ * debian/MANIFEST.*: fix ulingu location; ulingu was patched in at
+ the wrong place
+ * ooo-build/patches/OOO_1_1_4/xmlhelp-fix-db-prototypes.diff: fix db4
+ prototype mismatch leading s390 to FTBFS
+ * debian/rules: fix to not generate a libstlport4.6-dev dependency on -dev
+ and copy the internal stlport headers.
+
+ -- Rene Engelhard <rene@debian.org> Thu, 11 Aug 2005 13:49:02 +0200
+
+openoffice.org (1.1.4-5) unstable; urgency=low
+
+ * Brown paper bag release.
+ * debian/control.in:
+ - remove libebook-dev build-depends...
+ - acually build-depend on g++-3.3, not on 3.4
+ - build-depend on dpkg-dev, not on dpkg
+ * ooo-build/patches/OOO_1_1/config-switches.diff: don't use db_cxx and
+ libdb_cxx. we don't use the C++ bindings anymore
+ * debian/rules:
+ - now that KDE disable is default, ignore failures on the MANIFEST check
+ if KDE is *en*abled...
+ * debian/MANIFEST.*: update
+ * debian/openoffice.org-bin.install: install libulingu (closes: #320749)
+
+ -- Rene Engelhard <rene@debian.org> Mon, 1 Aug 2005 11:48:00 +0200
+
+openoffice.org (1.1.4-4) unstable; urgency=low
+
+ * ooo-build/patches/OOO_1_1_4/apply:
+ - apply Gcc34 patchset [RE]
+ * ooo-build/patches/OOO_1_1/hebrew-culmus.diff: add Miriam Mono CLM at the
+ beginning of the hebrew UI font possinilities to fix the UI with newer
+ culmus versions (closes: #269152, #306642)
+ * ooo-build/patches/vcl/vcl-unx-gtk-frame-m110.diff: fix dead-key brokeness
+ with -gtk-gnome [MM] (closes: #316256, #315421)
+ * debian/rules:
+ - use DEBB_HOST_ARCH_OS to cope with changed dpkg, build-depend on
+ dpkg (>= 1.13.9) (closes: #293015) and use sparc-linux-gnu-g*
+ instead of sparc-linux-g*
+ - build with gcc/g++ 3.3
+ - disable KDE package because KDE will be transitioned to the new C++
+ ABI
+ - --with-dynamic-xinerama
+ - build with the internal versions of the C++ libraries (closes: #317762)
+ * debian/control.in:
+ - add g++-3.3 to Build-Depends
+ - only build-depend on libdb4.2-dev, we don't use the C++ API anymore
+ in 1.1.4
+ - build-depend against libxinerama-dev and libxkbfile-dev instead of
+ xlibs-static-pic
+ - remove libstlport4.6-dev, libmyspell-dev, libwpd8-dev and kdelibs4-dev
+ from build-depends
+ * debian/po:
+ - add vi.po, thanks Clytie Siddall (closes: #311625)
+
+ -- Rene Engelhard <rene@debian.org> Sat, 30 Jul 2005 00:11:54 +0200
+
+openoffice.org (1.1.4-3) unstable; urgency=low
+
+ * fix langpack conflicts (closes: #306193)
+ * readd ca desktop files translation, thanks Jordi Mallach
+ * Upload to unstable
+
+ -- Rene Engelhard <rene@debian.org> Tue, 7 Jun 2005 15:13:05 +0200
+
+openoffice.org (1.1.4-2) experimental; urgency=low
+
+ * debian/rules:
+ - --with-system-libwpd
+ * debian/control.in:
+ - add libwpd8-dev builddep
+ - tighten depends... (closes: #304107)
+ * merge 1.1.3-8 and -9
+
+ -- Rene Engelhard <rene@debian.org> Fri, 15 Apr 2005 11:32:39 +0200
+
+openoffice.org (1.1.4-1) experimental; urgency=low
+
+ * New upstream release. (closes: #296390)
+ - fixes crash on opening some documents, closes: #273011
+ * New patches:
+ - qpro-*.diff: Quattro Pro import support...
+ * Modified patches:
+ - sysui-mimetypes.diff: add Quattro Pro mimetypes [RE]
+ - wpd/*, config-switches.diff : adapt for libwpd 0.8.0 and
+ system-libwpd [FS, RE] - build with internal libwpd until
+ libwpd8 gets out of NEW...
+ * debian/control.in:
+ - update dependencies and virtual packages [RE]
+ * debian/scripts/vars: update [RE]
+ * debian/MANIFEST.*: update [RE]
+ * debian/openoffice.org.install: update [RE]
+ * ooo-build: back in branch ooo-build-1-3 [RE]
+
+ -- Rene Engelhard <rene@debian.org> Wed, 23 Feb 2005 23:50:47 +0100
+
+openoffice.org (1.1.3-9) unstable; urgency=high
+
+ * Urgency because of security bug...
+ * New patches:
+ - cws-heapbug_CAN-2005-0941.diff: fix CAN-2005-0941 ("OpenOffice DOC
+ document Heap Overflow") with patch extracted from upstream CVS
+ (see bug #304412) [RE]
+
+ -- Rene Engelhard <rene@debian.org> Tue, 12 Apr 2005 20:30:36 +0200
+
+openoffice.org (1.1.3-8) unstable; urgency=medium
+
+ * New patches:
+ - no-sans-serif-default.diff: don't use SansSerif as default font
+ thanks Matthias Klose [RE]
+ - autosave-on.diff: turn Autosave on per default; every 15 mins and
+ with confirmation (closes: #289800)
+ * debian/control.in, debian/rules: disable gnomevfs, broken
+ (closes: #297999) [RE]
+ * debian/control.in:
+ - Suggests ooqstart-gnome, not oooqstart-gnome (closes: #299673) [RE]
+ - Depend and Build-Depend on xml-core. [RE]
+ - Depend on libfontconfig1, thanks Jonas Meurer for catching this
+ (closes: #300260)
+ * debian/rules:
+ - copy local XML Catalog into the OOo DTD dir and use
+ dh_installxmlcatalogs to generate XML Catalogs, thanks Kjetil Kjernsmo
+ for proposing and helping ;-) (closes: #299430) [RE]
+ - only create link to README.Debian.gz in -kde if -kde is enabled,
+ thanks Matthias Klose [RE]
+ * debian/catalog.xml, debian/openoffice.org.xmlcatalogs: add [RE]
+
+ -- Rene Engelhard <rene@debian.org> Sun, 20 Mar 2005 16:59:07 +0100
+
+openoffice.org (1.1.3-7) unstable; urgency=high
+
+ * debian/rules:
+ - fix get-ooo-build to get right ooo-build branch [RE]
+ - add missing else to get the language-build special casing for the
+ buildds work again, makes them not build OOo completely twice.... [RE]
+ - fix typo at uuencoding, >, not >> [RE]
+ - minor fixes for clean target [RE]
+ * debian/control.in:
+ - version conflict with kwin-style-baghira (<< 0.6) [CH]
+
+ -- Rene Engelhard <rene@debian.org> Fri, 25 Feb 2005 12:16:36 +0100
+
+openoffice.org (1.1.3-6) unstable; urgency=high
+
+ * Brown paper bag release.
+ * Modified patches:
+ - vfs-uno-uri.diff: actually add USE_GNOMEVFS conditional
+ (closes: #293551) [RE]
+
+ -- Rene Engelhard <rene@debian.org> Sat, 19 Feb 2005 10:44:28 +0100
+
+openoffice.org (1.1.3-5) unstable; urgency=high
+
+ * New patches:
+ - psprint-nocupsupdates: Don't try to re-enumerate CUPS queues - the 1.1
+ codebase was not ready for this and it causes strange behaviour in some
+ cases (closes: #289715, #284579) [CH]
+ - libgl-soname.diff: dlopen() libGL.so.1, not libGL.so [RE]
+ - dmake43.diff: fix dmake check in configure.in to allow dmake 4.3 [RE]
+ - font-substitution-fixups: Fix substitution problems, like preferring
+ fonts without language coverage [DW]
+ * Modified patches:
+ - sc-filter-hide-filteredrows.diff: fix row unhiding in calc
+ (closes: #289013) [JB]
+ * Removed patches:
+ - sc-paste-insert-rows.diff (closes: #288708) [MM]
+ * debian/control.in:
+ - Suggest xlibmesa-gl | libgl1 [RE]
+ - Conflict against kwin-style-baghira, kwin-baghira (<< 0.6) [RE]
+ - Suggest openclipart but conflict against
+ openclipart-openoffice.org 0.17+dfsg-4 because the gallery files there
+ conflicts with the OOo ones [RE]
+ * debian/rules:
+ - readd special-casing of built languages for Debian [RE]
+ - link to README.Debian.gz in /usr/share/doc/openoffice.org (provided
+ by openoffice.org-debian-files) from -kde and -gtk-gnome (it contains
+ the info that the fpickers are disabled by default) [RE]
+ - install and make the GNOME/KDE menus use
+ ximian-openoffice-{calc,writer,draw,impress,math,template,web}
+ as icons (closes: #294634) and move the oopadmin entry from Office to
+ System [RE]
+ * debian/ttf-opensymbol.postrm.in:
+ - use rm -f for trying to remove fonts.cache* (closes: #288515) [RE]
+ * Ubuntu changes merge: [CH]
+ - build gnomevfs library sanely (closes: #293551)
+ * ooo-build: Branched at debian-1-1-3 for Sarge release [CH]
+
+ -- Chris Halls <halls@debian.org> Wed, 16 Feb 2005 23:11:25 +0000
+
+openoffice.org (1.1.3-4) unstable; urgency=low
+
+ * Modified patches:
+ - vcl-gtk-rtl-fix.diff: move to end of [VCLPlug] section
+ (closes: #248273) [CH]
+ - native-fpicker-not-defaukt.diff: Use OpenOffice.orgs File Picker
+ for Load/Save per default instead of the GNOME/KDE ones.
+ (closes: #284487)
+ * ooo-build/openoffice-xlate-lang: add missing mappings [RE]
+ * chmod ooo-build/bin/openoffice-xlate-lang with 755; without it
+ the langpack link creation may not be effective. Use &&... [RE]
+ * debian/control.in:
+ - suggest oooqs-kde / oooqstart-gnome at -kde / -gtk-gnome [RE]
+ - mention -kde and -gtk-gnome in openoffice.orgs description [RE]
+ * debian/rules:
+ - fix typo in the disable-kde-for-ubuntu section, thanks martink [RE]
+ - fix clobbering of DEBHELPER_OPTIONS [CH]
+ - don't special case buildd user for built languages
+ (not needed since the binary-arch/indep split and breaks Ubuntu) [CH]
+ - don't add splashscreen on Ubuntu [CH]
+ - fix typo and substiute missed variables in setsdkenv_unix generation [RE]
+ - remove calc ca translation of the desktop files, CVS does weird things
+ with it (which results in breaking the encoding); also remove the rest
+ for consistency (closes: #284139) [RE]
+ - remove some more files clean target [RE]
+
+ -- Rene Engelhard <rene@debian.org> Sun, 2 Jan 2005 19:45:23 +0100
+
+openoffice.org (1.1.3-3) unstable; urgency=low
+
+ * Modified patches:
+ - sysui-mimetypes.diff: add some more for RTF and MS Word, add
+ MimeType= entry to math.desktop too, thanks Nathanial McCallum and
+ Matthias Klose [RE]
+ - updated backport of psprint to include several CUPS fixes [CH]
+ closes: #262278: slow startup if CUPS server unreachable
+ closes: #265398: CUPS printer device options missing
+ closes: #282837: Paper format resets to US Letter
+ - sc-no-delete-filteredrows: introduce checking for the existance of
+ RowFlags for a row. Fixes crashes when deleting columns/rows in calc.
+ (closes: #283353) [CH]
+ * debian/control.in:
+ - add Builddep on lsb-release [RE]
+ - change kdelibs4-dev builddep to kdelibs4-dev | ubuntu-artwork to
+ disable it for Ubuntu [RE]
+ * debian/rules: use lsb_release -is to differentiate whether we build for
+ Debian or Ubuntu and disable the KDE stuff when building on Ubuntu, thanks
+ Matthias Klose for the lsb_release hint. Honour DEB_BUILD_OPTIONS=withkde
+ to enable build with KDE on Ubuntu [RE]
+ * debian/openoffice.org.post{inst,rm}.in: remove postinst and
+ do not run update_desktop_database in postrm; undefined. dh_desktop does
+ insert a run to update-desktop-database already anyway...
+ (closes: #282864) [RE]
+ * debian/scripts/vars: update KDE icons version [CH]
+
+ -- Chris Halls <halls@debian.org> Tue, 30 Nov 2004 18:11:17 +0000
+
+openoffice.org (1.1.3-2) experimental; urgency=low
+
+ * New patches:
+ - lt-fixes.diff: fixes for -lt langpack, thanks
+ Mantas Kriauèiûna <mantas@akl.lt> (closes: #280757)
+ * debian/control.in:
+ - evoluton is in Section: gnome so put openoffice.org-evolution there, too
+ instead of editors [RE]
+ - add arm to Architecture:'s except -java (FIXME: does arm have a
+ JDK 1.4?) (closes: #260435) [RE]
+ * debian/rules:
+ - remove patch apply conditionals on arm, now in ooo-build proper [RE]
+ * debian/patches/linux-arm-support.diff: remove, now in ooo-build proper [RE]
+ * debian/MANIFEST.arm: remove bogus blank line [RE]
+ * merge 1.1.2dfsg1-2 and -3 [RE]
+
+ -- Rene Engelhard <rene@debian.org> Tue, 23 Nov 2004 00:10:52 +0100
+
+openoffice.org (1.1.3-1) experimental; urgency=low
+
+ * New upstream release.
+ - fixes KDE clipboard exchange (closes: #237232)
+ - fixes import of .docs with FormControls (closes: #276669)
+ * New major patches:
+ - vfs-*: GNOME VFS Support [MM]
+ [ This means we now have integrated all of the major Ximian
+ patches and thefore this closes: #201494 ]
+ - vclplug/*: VCLPlug Backport from 2.0 tree [MM]
+ [ getstyle-gnome / msgbox-gnome are not built and needed anymore, so
+ this closes: #268176, #268179.
+ This also contains a psprint backport containing the vcl24 cws, so
+ this also closes: #265148, #254239, #260007)
+ - wpd/*: WordPerfect filter support [MM et al.], linking to a
+ libwpd snapshot statically for now...
+ - evo2/*: Evolution2 Addressbook supoort; needed since Evo2 is now in sid;
+ this kills evo1 support, though...
+ * New minor patches:
+ - print-do-not-change-document.diff: do not mark document modified
+ when printing per default [PM] (closes: #271883)
+ - crash-ppd-parse.diff: Fix crash if OOo can't parse the CUPS ppd for a
+ printer (closes: #269773) [MM]
+ * Removed patches:
+ - disable-odk-build: We now build the odk but with a patch to skip
+ the removed non-free documentation... [RE]
+ * New packages: [RE]
+ - openoffice.org-kde: KDE UI Plugin and KDE File Picker for OpenOffice.org
+ - openoffice.org-gtk-gnome: Gtk UI Plugin and GNOME File Picker for
+ OpenOffice.org
+ - openoffice.org-gnomevfs: GNOME VFS support for OpenOffice.org
+ - openoffice.org-dev: OpenOffice.org SDK - development files
+ - openoffice.org-evolution: Evolution Adressbook support for
+ OpenOffice.org
+ (split out from the main package because this now needs
+ evolution-data-server and gnome libs...)
+ - New language packs:
+ + -eu (Basque)
+ + -lt (Lithuanian)
+ + -kn (Kannada)
+ + -tn (Tswana)
+ + -gl (Galician)
+ * debian/control*.in:
+ - simplify builddeps by removing woody backport specifics [RE]
+ - add kdelibs4-dev and libgnomevfs2-dev to Build-Depends: [RE]
+ - add libstartup-notification0-dev to Build-Depends: [RE]
+ - add openoffice.org-kde, openoffice-org-gtk-gnome,
+ openoffice.org-gnomevfs, openoffice.org-dev and
+ openoffice.org-evolution [RE]
+ - tighten depends [RE]
+ - increase openoffice.org-mimelnks Recommends: on kdelibs-data to
+ >> 4:3.3.0 [RE]
+ - increase debhelper build-depends to >= 4.2.21 since we use
+ dh_desktop [RE]
+ - openoffice.org Suggests: -gnomevfs, -kde | -gtk-gnome [RE]
+ - change -mimelnk description to say that we ship additioal mimelnks
+ to those in kdelibs-data [RE]
+ - add libebook-dev to Build-Depends: [RE]
+ - Build Conflict against broken (dh_desktop) debhelper 4.2.22 [RE]
+ * debian/rules:
+ - use ooo-build-1-3 branch of ooo-build [RE]
+ - --enable-kde --enable-gtk --enable-libsn [RE]
+ - stop installing more mimelnks since they are now part of KDE 3.3's
+ kdelibs-data [RE]
+ - add some missing makefile rule dependencies and add missing rm -rf's
+ of the debian/<package> trees [RE]
+ - remove the python-depends substvar and the logic in debian/rules;
+ use dh_python instead for generating the appropriate depends... [RE]
+ - run dh_perl and add ${perl:Depends} to openoffice.org-devs (configure.pl)
+ and openoffice.orgs (openoffice-xlate-lang) _Suggests:_ :) [RE]
+ - add pieces to integrate writerperfect support (fetch libwpd snapshot,
+ uu{en,de}coding, etc.) [MK]
+ - add gnomevfs-lib.sh to -gnomevfs maintainer scripts [RE]
+ - add LIBSUFFIX as defined in debian/scripts/vars.$(ARCH) to the
+ maintainer scripts
+ - fix .desktop files to support StartupNotify [RE]
+ - run dh_desktop, we need it to get update-desktop-database runs in
+ the maintainerscripts which is needed [RE]
+ - remove po-debconf workaround for woody, use normal po-debconf
+ mechanism (in dh_installdebconf) now [RE]
+ - remove woody backport specifics [RE]
+ * debian/openoffice-xlate-lang:
+ - add Basque, Lithuanian, Kannada, Tswana and Galician [RE]
+ * debian/scripts/vars:
+ - update [RE]
+ - use ooo-icons_1_1-10 [MK]
+ - add URL and version to/of the libwpd snapshot [MK]
+ * debian/MANIFEST.*: update [RE, MK]
+ * debian/openoffice.org-bin.install: update [RE, MK]
+ * debian/openoffice.org-java.install: install officebean.jar and
+ libofficebean.so (thanks Markus Plessing for the latter) [RE]
+ * debian/openoffice.org-gtk-gnome.install, openoffice.org-kde.install,
+ debian/openoffice.org-gnomevfs.install: add [RE]
+ * debian/openoffice.org-dev.install: add [RE]
+ * debian/openoffice.org-evolution.install: add [RE]
+ * debian/openoffice.org-dev.links.in: add [RE]
+ * debian/gnomevfs-lib.sh: add [RE]
+ * debian/desktop-lib.sh: remove [RE]
+ * debian/openoffice.org-bin.templates.master: rename to .templates [RE]
+ * debian/po/*: update for plain po-debconf usage [RE]
+
+ -- Rene Engelhard <rene@debian.org> Sun, 31 Oct 2004 16:41:36 +0100
+
+openoffice.org (1.1.2dfsg1-3) unstable; urgency=low
+
+ * New patches: [RE]
+ - sigh, and again: actually apply hebrew-culmus.diff (closes: #280084)
+ * debian/patches/linux-arm-support: [RE]
+ - don't define PYTHONLIB=-lpython; the error was in the unxlngr.mk
+ settings; comment out LINKFLAGSDEFS
+ * debian/control.lang.in:
+ - stop depending on openoffice.org at -l10n-*. Just recommend it.
+ Conflict against the older and the next upstream version to get the
+ desired effect instead. This allows re-inclusion of them in tasksel and
+ per-language metapackages (closes: #281645) [RE]
+ * debian/rules:
+ - remove autogenerated maintainer scripts in clean,
+ thanks Matthias Klose for noticing (closes: #281423) [CH]
+ - merge some minor changes from 1.1.3 rules file [CH]
+ - remove desktop-lib.sh addition to maintscripts [RE]
+ - fix wizard/bitmap link creation to exclude -l10n-en since this
+ produces a link / directory conflict between openoffice.org and
+ openoffice.org-l10n-en (closes: #281643) and fix it up to actually
+ work in all cases, oops [RE]
+ * debian/desktop-lib.sh: remove, now included in shell-lib.sh [RE]
+ * debian/shell-lib.sh: merge desktop-lib.sh [RE]
+ * debian/ttf-opensymbol.*: [RE]
+ - move .post{inst,rm} to .post{inst,tm}.in and add hook variables
+ * debian/openoffice.org*.{post,pre}{inst,rm}.in: [RE]
+ - add, run update_desktop_database on configure/remove and add necessary
+ pieces to get openoffice.org and openoffice.org-bin purged cleanly
+ (closes: #281473, #273547) [RE]
+
+ -- Rene Engelhard <rene@debian.org> Mon, 22 Nov 2004 00:00:54 +0100
+
+openoffice.org (1.1.2dfsg1-2) unstable; urgency=medium
+
+ * New patches:
+ - now actually apply sysui-mimetypes.diff... (closes: #272638)
+ - hebrew-culmus.diff: prioritize the culmus fonts (Ellinia CLM)
+ for hebew UI fonts (closes: #280084)
+ - sysui-impress-comment.diff: fix field, s/Commment/Comment/ [RE]
+ * debian/rules:
+ - link to the english wizard/bitmap directory in the various langpacks
+ to be able to access the localized-not-not-localized bitmaps. Fixes
+ several Autopilots... (closes: #216647)
+ * debian/patches/linux-arm-support.diff:
+ - use $(CC) instead of hardcoding cc
+ - fix makefile.mk targets
+ - fix boost patch to not include atomic_count_linux.hpp to make
+ sc build
+ - define PYTHONLIB=-lpython in pyuno to make it build
+
+ -- Rene Engelhard <rene@debian.org> Thu, 11 Nov 2004 09:31:44 +0100
+
+openoffice.org (1.1.2dfsg1-1) unstable; urgency=medium
+
+ * Remove non-free stuff from the .orig.tar.gz: [RE]
+ - neon/download/neon-0.23.5.tar.gz: contains FDL docs...
+ - external/common/*: propriatary sun Jars
+ * New patches:
+ - l10n-YTL.diff: backport tr_TR localedata patch from
+ cws_srx645_trcurrency to add YTL (.tr currency as of 2005-01-01)
+ support; make it default [RE]
+ - sysui-mimetypes.diff: add MimeType entries to the
+ .desktop files (closes: #272638) [RE]
+ - fix-jars.patch: patch to be able to use free jars, thanks
+ Marco Pratesi [RE]
+ * Modified patches:
+ - sysui-translations.diff: fix ca encoding, thanks Jordi Mallach
+ (closes: #275968)
+ * debian/control.in:
+ - remove Jan-Hendrik Palic from Uploaders: [RE]
+ * debian/rules:
+ - add LIBSUFFIX as defined in debian/scripts/vars.$(ARCH) to the
+ maintainer scripts [RE]
+ - add the libxerces2-java, libxp-java, and libxt-java .jars to
+ XCLASSPATH. Check for them at the appropriate place and symlink to
+ them from external/common since for xt and xp the addition to the
+ classpath doesn't work in readlicense_oo and officecfg :/ [RE]
+ * debian/java-lib.sh: use ${LIBSUFFIX} instead of hardcoded li to
+ make it work on !i386
+ * debian/desktop-lib.sh: add, run update-desktop-database -q in
+ postinst and postrm [RE]
+ * debian/ttf-opensymbol.postrm: fix (we need to test for $1 = remove)
+ and rm /usr/share/fonts/truetype/openoffice/fonts.cache* on purge to
+ get ttf-opensymbol purged cleanly (closes: #270729)
+
+ -- Rene Engelhard <rene@debian.org> Fri, 29 Oct 2004 20:28:06 +0200
+
+openoffice.org (1.1.2-5) unstable; urgency=high
+
+ * Urgency because printing (more than before!) and formatting in impress
+ were severly broken
+ * New patches:
+ - desktop-debug-fix.diff: fix desktop project to build with debug=yes,
+ thanks Josh Triplett (Issue 28330)
+ * Modified patches:
+ - psprint-cups.diff: (temporarily) revert -4 changes
+ (closes: #273298, #273335, #272710, #273850)
+ (reopens #265148, #254239 and #260007)
+ * debian/po:
+ - add nl.po, thanks Luk Claes and Jeroen van Wolffelaar
+ (closes: #274896)
+
+ -- Rene Engelhard <rene@debian.org> Wed, 6 Oct 2004 00:10:35 +0200
+
+openoffice.org (1.1.2-4) unstable; urgency=high
+
+ * Urgency because of temporary file permissions and important CUPS
+ fixes...
+ * New patch:
+ - tmpfile-mask.diff: ensure temporary files are only readable by the
+ user - IZ#33357, CAN-2004-0752 (closes: #271503) [CH]
+ * Modified patches:
+ - psprint-cups.diff: Backport pl's fixes from m51 to fix some crashes,
+ PPD problems and hanging when a CUPS server isn't available [CH]
+ closes: #265148: Cannot print with CUPS
+ closes: #254239: cups printer device options missing
+ closes: #260007: does not start if cups server not available
+ * debian/rules:
+ - fix broken if statement breaking with-Java builds, thanks martink
+ (closes: #268173) [CH]
+ - oops, exchange spaces to a tab at installing internal db for Java builds,
+ thanks Konstantin Seiler (closes: #267979) [RE]
+ - ignore CVS dirs when checking for the berkeleydb version on Woody
+ backports, thanks Konstantin Seiler again (closes: #268172)
+ * debian/control.*:
+ - yet another s/openoffice.org/OpenOffice.org/ in the langpack
+ descriptions [RE]
+ - add Build-Conflicts: against libidn11 (<< 0.5.2-1) since libcurl3
+ needs those newer versions but didn't declare it because of broken
+ .shlibs in libidn11 [RE]
+ - remove www-browser from openoffice.orgs Suggests: [RE]
+ - tighten language packs depends (closes: #266042) [RE]
+ - conflict against openoffice.org-debian-files (= 1.1.2-3+1) and
+ openoffice.org-debian-files (= 1.1.2-3+2) because they miss important
+ stuff [RE]
+
+ -- Rene Engelhard <rene@debian.org> Thu, 16 Sep 2004 23:10:01 +0200
+
+openoffice.org (1.1.2-3) unstable; urgency=medium
+
+ * ARM architecture support added, thanks Peter Naulls [PN],
+ not yet enabled
+ * New patches:
+ - sparc-v8-fixes: do not use the cas statement on sparc, makes
+ libsal.so.3.1.0 v8-compatible (closes: #256347), thanks Jim Watson [RE]
+ * Modified patches:
+ - system-curl: fix includes for libcurl3, curl/types.h is now
+ /* not used */ [RE]
+ * debian/control.in:
+ - just Recommend fontconfig instead of depending on it at
+ ttf-opensymbol [RE]
+ - extend -java description with the two line "intro" of the other pkgs
+ and tell in the description that the user needs to register his
+ JDK/JRE manually [RE]
+ - version libaltlinuxhyph build-dependency with (>= 0.1.1-6) since
+ arm needs it built with -fPIC [RE]
+ - build-depend on libcurl3-dev instead of libcurl2-dev to build against
+ libcurl3 and remove build-conflicts on libcurl2-dev (= 7.12.0-1)
+ (closes: #260390) [RE]
+ - remove libpng12-dev | libpng2-dev, libjpeg62-dev and libtiff3g-dev
+ from Build-Depends:, would be needed for --enable-crashdump=STATIC
+ which we don't use [RE]
+ - remove openoffice.org-crashrep (closes: #251408) [RE]
+ - move java-additional-depends substvar to openoffice.org-java [RE]
+ * debian/openoffice.org-java.install:
+ - Add java_uno_accessbridge.jar and wildcards for other architectures [CH]
+ * debian/rules:
+ - add ARM to checks in makebinariestar [PN, RE]
+ - add hack to apply Linux/ARM support patch [RE]
+ - get/use ooo-build-1-1 branch of ooo-build in get-ooo-build [RE]
+ - on Java builds, remove jvm*.res from the langpacks; they are supposed
+ to put into -java only and they otherwise cause file conflicts, thanks
+ Joseph Cole for the report [RE]
+ - fix installing of libdb_java*.so so it is installed on -java on builds
+ with included libdb, not in -bin... [RE]
+ * debian/openoffice.org-bin.install:
+ - add ARM support [PN]
+ * debian/MANIFEST.arm: add [PN, RE]
+ * debian/scripts/vars.arm: add [PN]
+ * debian/patches/linux-arm-support.diff: add as hack until it could be
+ added to ooo-build... [RE]
+ * debian/openoffice.org-crashrep.install: remove
+ * debian/openoffice.org-java.postinst.in: add; tell the user to execute
+ /usr/lib/openoffice/program/jvmsetup [RE]
+
+ -- Rene Engelhard <rene@debian.org> Tue, 27 Jul 2004 20:55:29 +0200
+
+openoffice.org (1.1.2-2) unstable; urgency=low
+
+ * New patches:
+ - readd-lzwc.diff: readd LZW code now that the patent expired
+ everywhere (closes: #172181) [RE]
+ * Modified patches:
+ - gui-fonts-kde: Fix case where font size is -1 points and size
+ must be obtained from pixel height field (closes: #254543) [CH]
+ - psprint-cups.diff: Backport pl's fixes from IZ#30914/7 to fix printing
+ with CUPS queues with multiple instances, and ensure 'Add a printer'
+ button is not enabled in spadmin when CUPS is used
+ (closes: #250981, #251888) [CH]
+ * debian/control*.in:
+ - s/openoffice.org/OpenOffice.org/ in the descriptions
+ (closes: #254047) [RE]
+ - Conflicts: openoffice.org-l10n-1.1.1 [RE]
+ * debian/rules:
+ - prevent backups of .bmp files in ooo-build, to prevent dpkg-source
+ errors after build/clean/build cycle [CH]
+ - change instdb.ins to not register own mimetypes on workstation
+ installs anymore and mention this problem in NEWS
+ (closes: #241222) [RE]
+ - add NoDisplay=true into /usr/share/applnk/OpenOffice.org1.1/.directory
+ to hide the extra menu on KDE 3.2 (closes: #231901) [RE]
+ - remove absolute paths from the .desktop files to make it
+ themeable (closes: #214932) [RE]
+
+ -- Rene Engelhard <rene@debian.org> Fri, 9 Jul 2004 15:05:09 +0200
+
+openoffice.org (1.1.2-1) experimental; urgency=low
+
+ * New upstream release.
+ - closes: #216973: openoffice spews lpc errors on startup
+ * New packages:
+ - ttf-opensymbol. Split out from openoffice.org because it may
+ be useful alone. [RE]
+ - new language packs [RE]:
+ + -he (hebrew) (closes: #236801)
+ + -cy (Welsh)
+ + -zu (Zulu)
+ + -ns (Northern Sotho)
+ + -af (Afrikaans)
+ + -nb (Norwegian bokmal) and -nn (Norwegian nynorsk)
+ + -hi (Hindi) - renamed from -hi-in
+ * Modified patches:
+ - config-switches: new switches [RE]
+ - disable-{fontoo,myspell-dicts}: disable install of the respective
+ stuff [RE]
+ * debian/control.*:
+ - add ttf-opensymbol [RE]
+ - tighten interpackage- and langpack dependencies to 1.1.2 [RE]
+ - openoffice.org Depends: ttf-opensymbol [RE]
+ * debian/rules:
+ - reverse mozilla logic since it changed upstream [RE]
+ - add logic to add Conflicts:/Provides:/Replaces: to -hi for
+ -hi-in [RE]
+ - --disable-fontooo, --without-myspell-dicts [RE]
+ * debian/MANIFEST.*: update [RE]
+ * debian/*.install: update [RE]
+ * debian/scripts/vars: update [RE]
+ * debian/local/openoffice-xlate-lang: add new languages and uncomment
+ hebrew [RE]
+
+ -- Rene Engelhard <rene@debian.org> Mon, 28 Jun 2004 11:12:37 +0200
+
+openoffice.org (1.1.1-4) unstable; urgency=medium
+
+ * New packages:
+ - openoffice.org-java. This package is not built by default
+ for main and will be uploaded to contrib, to provide the Java
+ features of openoffice.org [CH]
+ * New patches:
+ - security-sonames: dlopen() libcrypt.so.1 / libpam.so.0, not
+ libcrypt.so / libpam.so [RE]
+ - java-patch-blackdown: find j2se1.4 .deb installation [CH]
+ - java-blackdown-ver: accept JDK version "1.4.1", reported by
+ Blackdown version [CH]
+ * Modified patches:
+ - config-switches: cleanup, minor beautifications [RE]
+ - xinerama-pic-on-all-archs: make actually do something on !i386,
+ substitute #if defined ( X86 ) around the Xinerama code to
+ #if defined ( LINUX ) [RE]
+ - system-curl: add -lXt since some curl versions seems to need it
+ (woody....) [RE]
+ - system-nas: likewise.
+ - system-fontconfig: support .ttc fonts, too (closes: #218746)
+ - system-myspell: make complete (closes: #254052)
+ * debian/control.*:
+ - remove Provides: of openoffice.org-thesaurus-en,
+ openoffice.org-thesaurus from openoffice.org overseen at the split [RE]
+ - use >> 1.1.1-2 instead of >= 1.1.1-3 in the tightened interpackage
+ relationships [RE]
+ - add openoffice.org-java [CH, RE]
+ - build-conflict against libcurl2-dev (= 7.12.0-1) [RE]
+ - s/libdb3++-dev | libdb++-dev/libdb4.2++-dev/ [RE]
+ - Conflict: against openoffice.org-spellcheck-nb-no (<= 20020814-1) and
+ openoffice.org-spellcheck-nn-no (<= 20021023-1) [RE]
+ * debian/shlibs.woody.local:
+ - force removal of bogus libfreetype6 dependency on woody backport. [RE]
+ * debian/rules:
+ - add | debconf-2.0 to the debconf depends substitution [RE]
+ - hardcode 4.2 to work around weird FTBFS (closes: #254177) [RE]
+ * debian/openoffice.org-java.install: add [CH, RE]
+ * debian/openoffice.org-java.{postrm,preinst}.in: add [CH, RE]
+ * debian/scripts/dbdevver: remove [RE]
+ * debian/MANIFEST.*: update [RE]
+ * debian/openoffice.org-bin.install: update [RE]
+
+ -- Rene Engelhard <rene@debian.org> Mon, 28 Jun 2004 20:58:13 +0200
+
+openoffice.org (1.1.1-3) unstable; urgency=medium
+
+ * Urgency because of several FTBFSes and security-bug in neon..
+ * New patches:
+ - print-resolution-generic: improve generic printer, resolution [MM]
+ - build-arch-flags: support ARCH_FLAGS to change compiler flags
+ from envrionment [MM]
+ - java-use-xslt-filters: Install Java filters (if Java enabled) [MM]
+ - version-strike: OOO_BUILD_EXTENSION can specify a version suffix
+ for OOo to display [MM]
+ - setup-upgrade,license: No click-through license screen, upgrade from
+ 1.1.0 properly [MM]
+ - Various other SuSE patches merged, see changelog.ooo-build.gz [MM]
+ - psprint-cups: Backport native CUPS support upstream 2.0 [CH]
+ - psprint-bad-ttf-nametable-fix: fix more malformed TrueType fonts [DW]
+ - allow-s390x: allow s390x uname -m output in set-soenv on S390 [RE]
+ - word-count: fix translations [MK]
+ - officecfg-parallel-build-fix: make officecfg parallel build safe [DW]
+ * Modified patches:
+ - print-fontconfig: Fix broken afm metrics on Woody backport [CH]
+ - system-db: fix again for Java case. $(CC) -E apparently doesn't like
+ java.in anymore....
+ * debian/control.in:
+ - extend build-conflicts on libart, 2.3.16-4 too is broken.
+ 2.3.13 introduced new functions. build-conflict on 2.3.16-4... [RE]
+ - tighten Depends: openoffice.org Depends: openoffice.org-bin (>= 1.1.1-3)
+ and vice versa [RE]
+ - Build-Depends:
+ + ugh, "gimp" exists only in sid currently, build-depend on
+ gimp | gimp1.2 [RE]
+ + reverse xlibs-dev | libxext-dev et al. builddeps in spirit of the
+ xlibs-split, remove unneccessary xlibs-pic (>= 4.2.1-6) piece since it
+ is a metapackage and we already have xlibs-static-pic there [RE]
+ + do not require python-dev on woody [RE]
+ + add libneon23-dev | dpkg-dev (<< 1.10) [RE]
+ + add libstlport4.6-dev (>= 4.6.2-1) | dpkg-dev (<< 1.10) [RE]
+ + add libcupsys2-dev [RE]
+ + substitute g++-3.0 [!powerpc] conditionals with dpkg-dev (<< 1.10)
+ because some people still have g++-3.0 installed on their sid boxes -
+ thanks Sebastien Bacher for reporting and Adam Conrad for the hint [RE]
+ * debian/rules:
+ - add support for building using KDE icon set, use
+ DEB_BUILD_OPTIONS=kdeicons [CH]
+ - build with system-python only on sid, woody's default python is too
+ old [RE]
+ - build with security-fixed system libneon23 on sid [RE]
+ - remove .orig files that would (probably) otherwise get into install
+ set (closes: #247781) [CH, RE]
+ - build with system STLport; do not create useless stlport-home, just
+ use --with-stlport4-home=/usr [RE]
+ - get-ooo-build: Gnome CVS module name has changed from openoffice to
+ ooo-build [CH]
+ - make solver.langpacks target a noop if not all langpacks are built -
+ helps builds with delouput... [RE]
+ * debian/scripts/vars:
+ - add KDE icon locations [CH]
+ * debian/README:
+ - add a section about how to build the Woody backport [CH]
+ - document DEB_BUILD_OPTIONS=kdeicons [CH]
+ * debian/po:
+ - add Turkish debconf template translation, thanks Mehmet Türker
+ (closes: #246073) [RE]
+ - add Catalan debconf template translation, thanks Aleix Badia i Bosch
+ (closes: #248745) [RE]
+ * ooo-build/bin/scale-icons: use prefix instead of suffix for the converted
+ icons to not confuse imagemagick, thanks Daniel Kobras
+ (closes: #247313) [RE]
+ * debian/openintro_debian.xcf.uu: modified for better text and Debian logo
+ alignment [MK]
+
+ -- Rene Engelhard <rene@debian.org> Fri, 21 May 2004 19:18:24 +0200
+
+openoffice.org (1.1.1-2) unstable; urgency=high
+
+ * Urgency because of FTBFS and security-bug....
+ * New patches:
+ - sysui-translations.diff: add .fi and .ca translations to sysui; remove
+ german stuff for not german languages - thanks Martin-Éic Racine
+ Jordi Mallach and Sebastien Bacher (closes: #236796)
+ - build-use-old-libart.diff: Adapt from Red Hat patch to use older version
+ of libart for Woody backport [DW, CH]
+ - build-pl-conditionals.diff: introduce conditionals into build.pl [DW]
+ - neon.patch-CAN-2004-0179.diff: Fix format string vulnerability
+ in neon [DW]
+ - datasources_types_add_mysql.diff: back, the strings were not fixed for
+ catalan, thanks Jordi Mallach [RE]
+ * Modified patches:
+ - system-freetype.diff: Fix for Woody backport - use -lfreetype to link
+ internal freetype [CH]
+ - system-python.diff: nearly complete, just some rc files missing [MK]
+ - config-switches.diff et al.: new system python stuff; make disabing
+ x11_extensions, sane and unixodbc projects build cleaner using
+ the new conditionals (see above) [RE]
+ * debian/control.in:
+ - modify libdb, libmyspell, libaltlinuxhyph, libcurl and newer
+ libart build dependencies to not require them in Woody backport;
+ version the libcurl2-dev build-dependency to require >= 7.9.8 and
+ lower the libart-2.0-dev one to >= 2.3.8 [RE, CH]
+ - Standards-Version: 3.6.1 (no changes needed)
+ - build-depend on gimp instead of gimp-perl, we now use script-fu [RE]
+ - add python-dev to Build-Depends: [RE]
+ - Build-Conflict: on libart-2.0-dev (= 2.3.16-3) because it lost his
+ shlibs versioning in this version... [RE]
+ * debian/rules:
+ - disable use of external libdb and libmyspell for woody builds,
+ it won't work because we have to use g++-3.0 on woody and libdb3_cxx is
+ C++ built with g++-2.95... thanks Severin Greimel for the pointer [RE]
+ - disable use of external libcurl for woody builds, too old... [CH]
+ - disable use of extrnal libaltlinuxhyhph headers on woody builds... [CH]
+ - fix debian/rules makebinariestar target for !i386 [RE]
+ - --with-python=/usr/bin/python [RE]
+ - use ifeq ($(ARCH)-linux,sparc-linux) for the check when setting the
+ compiler to sparc-linux-*, thanks Robert Millan [RE]
+ - fix removal of version numbers to remove them from all cases [RE]
+ * debian/scripts/xcftobmp:
+ - use script-fu since gimp-perl is removed from sid [MK, RE]
+ * Remove extra logic to generate Depends on debianutils (>2.0) for
+ non-Woody backport: OOo gives a reasonable error message if
+ sensible-browser is not available, and this would have forced us to
+ ship another package for the backport [CH]
+ * debian/MANIFEST.*: updated [RE]
+ * debian/scripts/vars:
+ - use ooo-icons -9 [RE]
+
+ -- Rene Engelhard <rene@debian.org> Thu, 15 Apr 2004 18:35:48 +0200
+
+openoffice.org (1.1.1-1) unstable; urgency=low
+
+ * 1.1.1 final release; generate a new .orig.tar.gz from the official
+ source .tar.bz2 [RE]
+ * debian/control.in:
+ - Tighten dependencies between packages to ensure all main packages are at
+ least 1.1.1rc3 (closes: #239193) [CH, RE]
+ * debian/rules:
+ - Remove new binary bitmaps for Red Hat [CH]
+ - remove version infos from the remaining .desktop files to get
+ them synchron (closes: #224313) [RE]
+ - fix libdb version check to reject db4.0 on Java builds [RE]
+ - fix libhpi existence check to be only executed on Java builds; it
+ otherwise searches beginning from / which wastes much ressources... [RE]
+ * debian/shell-lib.sh:
+ - add message() taken from xfree86 (closes: #233424) [RE]
+
+ -- Rene Engelhard <rene@debian.org> Tue, 30 Mar 2004 03:59:37 +0200
+
+openoffice.org (1.1.0+cvs20040317-1) unstable; urgency=low
+
+ * New CVS co (SRX645_m35 as of 20040317) -> 1.1.0+1.1.1rc3 [RE]
+ * New patches:
+ - icu-build-no-extras: do not build extras/ in icu, works around
+ ld errors which occurs here (see #210608)... [RE]
+ - system-unixodbc: use system unixODBC headers [RE]
+ * Modified patches:
+ - config-switches.diff: implement --with-system-unixodbc-headers [RE]
+ * debian/rules:
+ - --with-system-unixodbc-headers [RE]
+ * debian/control.in:
+ - add unixodbc-dev to Build-Depends: [RE]
+
+ -- Rene Engelhard <rene@debian.org> Wed, 17 Mar 2004 23:38:00 +0100
+
+openoffice.org (1.1.0+cvs20040312-1) experimental; urgency=low
+
+ * CVS co of OpenOffice_1_1_1 tag as of 20040312. binary packages versioned
+ 1.1.0+1.1.1rc2. [RE]
+ * New patches:
+ - system-neon: build and link dynamically against system neon
+ (now only against 0.23 which isn't in Debian anymore :/ ) [RE]
+ - system-x11-extensions: use system X11 extensions headers for build
+ ((X)render.h, renderproto.h) [RE]
+ - norwegian-translation.diff: Norwegian Bokmal and Norwegian Nynorsk
+ translation -- not yet complete, add basic stuff;
+ thanks Gaute Hvoslev Kvalnes [RE]
+ * Modified patches:
+ - extra-languages: add NORBOK and NORNYN [RE]
+ * debian/rules:
+ - remove mimelnk files KDE 3.2 took over (closes: #234670) and remove
+ the version info of the remaining ones in openoffice.org-mimelnk.
+ - --with-system-x11-extensions-headers [RE]
+ * debian/control.in:
+ - Make openoffice.org-mimlnk recommend kdelibs-data (>> 4:3.2.0) and
+ therefore only suggest it from openoffice.org [RE]
+ - add libxrender-dev | xlibs-dev (<< 4.3.0-1) and
+ render-dev | xlibs-dev (<< 4.3.0-1) to Build-Depends: [RE]
+ * debian/local/openoffice-xlate-lang:
+ - add (yet commented) 47:nb-NO:NORBOK:Norwegian (Bokmal) and
+ 79:nn-no:NORNYN:Norwegian (Nynorsk) [RE]
+ * debian/po:
+ - add cs.po, thanks Miroslav Kure (closes: #237576) [RE]
+ * debian/MANIFEST.*: update [RE]
+
+ -- Rene Engelhard <rene@debian.org> Sat, 13 Mar 2004 15:39:24 +0100
+
+openoffice.org (1.1.0+cvs20040229-1) experimental; urgency=low
+
+ * CVS co of mws_srx645 as of 2004-02-29, call the binary packages
+ 1.1.0+1.1.1rc, though because the change between the two things is just
+ set-locale-c...
+ - does not create empty .netscape and .netscape6 directories
+ anymore at workstation install (closes: #234800)
+ - does not display unknown characters as ?? anymore (closes: #204636)
+ * New binary packages:
+ - sl (Slovenian) language pack - overseen in previous release, thanks
+ Primoz Bratanic
+ - et (Estonian) language pack - strings now added :)
+ - hi-in (Hindi / India) language pack
+ - th (Thai) language pack
+ * New patches:
+ - set-locale-c: set LC_MESSAGES to C in gccinstlib.pl since we parse
+ gcc output and it fails now (at least with de_DE locale) with the new
+ translated gcc. [RE]
+ * debian/rules:
+ - dynamically determine which db to use since we need to use db4.1 for
+ Java builds but want to use 3.2 for "normal" ones still; add
+ --with-db-jar=/usr/share/java/libdb4.1-java.jar to CONFIGURE_FLAGS for
+ Java builds. Thanks Martin for the pointer again [RE]
+ - remove hardcoded installing of libdb_java-3.2.so for Java builds [RE]
+ * debian/control*:
+ - s/libdb3++dev/libdb3++-dev | libdb++-dev/ [RE]
+ - add new ${java-additional-depends} substvar which adds a
+ dependency to libdbX.Y-java on java builds [RE]
+ - depend on openoffice.org-debian-files (>> 1.1.0+1.1.1rc) [RE]
+ - bump version of -l10n virtual package; openoffice.org depends on
+ openoffice.org-10n-en (>> 1.1.0+1.1.a) | openoffice.org-l10n-1.1.1 [RE]
+ * debian/local/openoffice-xlate-lang:
+ - add 50:sl:SLOVENIAN:Slovenian, add 66:th:THAI:Thai,
+ 91:hi-IN:HINDI:Hindi (India) and (commented out because not yet
+ working) 97:he:HEBREW:Hebrew [RE]
+ - uncomment Estonian and move it in [RE]
+ * debian/openoffice.org*.install: update [RE]
+ * debian/MANIFEST.*: update [RE]
+ * debian/po:
+ - add da.po, thanks Claus Hindsgaul (closes: #233268) [RE]
+ * debian/scripts/vars:
+ - use ooo-icons_OOO_1_1-8 (closes: #237313) [RE]
+ * merge 1.1.0-6 [RE]
+
+ -- Rene Engelhard <rene@debian.org> Wed, 3 Mar 2004 08:14:51 +0100
+
+openoffice.org (1.1.0+1.1.1a-1) experimental; urgency=low
+
+ * New upstream (pre-)release. [RE, MK]; thanks Martin for the patch
+ porting.
+ * New binary packages: [RE]
+ - hu (Hungarian) language pack
+ - split thesaurus out into openoffice.org-thesaurus-en [RE]
+ * New patches:
+ - 111a-right-version: call the version right (1.1.1a instead of
+ 1.1.0) [RE]
+ * debian/rules:
+ - install dictlistinfo file into openoffice.org-thesaurus-en-us but
+ leave a dummy /usr/share/myspell/infos/ooo/openoffice.org file
+ in openoffice.org [RE]
+ * debian/scripts/vars:
+ - use patch dir OOO_1_1_1 [RE]
+ - use ooo-icons_OOO_1_1-7 [RE]
+ * debian/local/openoffice-xlate-lang:
+ - add 36:hu:HUNG:Hungarian and 77:et:ESTONIAN:Estonian - latter
+ commented since it somehow doesn't work (yet) [RE]
+ * debian/openoffice*.install, debian/openoffice*.dirs:
+ - remove thesaurus pieces from openoffice.org.install and move them
+ to openoffice.org-thesaurus-en-us.install [RE]
+ * debian/MANIFEST.*:
+ - 1.1.1a updates [RE]
+
+ -- Rene Engelhard <rene@debian.org> Tue, 20 Jan 2004 03:21:17 +0100
+
+openoffice.org (1.1.0-6) unstable; urgency=low
+
+ * Modified patches:
+ - config-switches: add -L$XINC -lXt to the extra libs for the
+ nas and curl checks - fails on woody otherwise. Do not check for
+ the libdb_cxx.so symlink when we supply the version with
+ --with-db-version=A.B. Same Argument ;) [RE]
+ - system-db: fix to actually work in all circumstances [RE]
+ - recent-files: remove usage of rtl_ in the interface exposed
+ by recent-files.hxx (closes: #228324), create ~/.recently-used
+ if it does not exist (closes: #230912) [AB]
+ - psprint-handle-no-solar-java: Patch did not apply as indended,
+ fixed [CH]
+ - sc-show-sensitize: do not mark cells als multiselect
+ (closes: #229012) [AS]
+ - gtk-themeing: Fix text colour problems in some themes e.g. Mist [DW]
+ * debian/control.in:
+ - Build-Conflicts: g++-3.3 (= 1:3.3.3-0pre1) due to enum failure [CH, RE]
+ - openoffice.org Conflicts with old package openoffice.org-gnome
+ (closes: #224675) [CH]
+ - Mention prelink in description (closes: #229564) [CH]
+ * debian/po:
+ - add es.po. Thanks Javi Castelo (closes: #232209) [RE]
+
+ -- Chris Halls <halls@debian.org> Mon, 16 Feb 2004 10:05:01 +0100
+
+openoffice.org (1.1.0-5) unstable; urgency=low
+
+ * Modified patches:
+ - recent-files.diff: #include <assert.h>, fixes build failure on
+ powerpc [RE]
+
+ -- Rene Engelhard <rene@debian.org> Fri, 16 Jan 2004 21:25:20 +0100
+
+openoffice.org (1.1.0-4) unstable; urgency=low
+
+ * New patches:
+ - xinerama-pic-on-all-archs: build with libXinerama_pic.a on all archs
+ when building with it available [RE]
+ - sensible-browser: call sensible-browser for external programs
+ (HTTP/HTTPS/FTP) (closes: #222625) [RE]
+ - nswrapper-mozilla-not-netscape: run mozilla in nswrapper.sh, not
+ netscape, patch taken from SuSE [RE]
+ - system-db: build with system libdb3 [RE]
+ - system-nas: build and link dynamically with system libaudio [RE]
+ - font-de-bitstreamize-en: Put bitstream Vera fonts much lower in the
+ font selection order because of missing glyphs and no italics in Serif
+ font (closes: #214588) [CH]
+ - no-splash-takeover: don't let splash screen take over
+ (closes: #175131 ??) [DW]
+ - gui-alpha-hypertoolbar: Fix htmltoolbar image alpha [MM]
+ - pagein-speedup: Knock 50ms+ off pagein time [MM]
+ - path-home-documents: Use ~/Documents as default document path if it
+ exists [MM, CH]
+ - recent-files: Add support for the freedesktop.org ~/.recently-used
+ spec [MM]
+ - sd-export-no-spell-check: do not underline "wrong" words in HTML
+ export [MK]
+ - system-sane: build with system sane.h [RE]
+ - system-freetype: merged patch; use system freetype and fix for freetype
+ 2.1.7 [RE]
+ - system-curl: build with system curl [RE]
+ - system-myspell: build and link dynamically with system myspell [RE]
+ - system-altlinuxhyph: build with system altlinuxhyph (statically for now
+ since there is no dynamic one) [RE]
+ - build-sparc-assembler: Use $(CC) for sparc assembler
+ (closes: #218065) [CH]
+ * Modified patches:
+ - config-switches.diff: add new --with-system-* flags [RE]
+ * Removed patches:
+ - berkelydb-handle-no-solar-java: merged into system-db [RE]
+ - gui-ft-dynlink-system, freetype_2_1_7: merged into system-freetype [RE]
+ * debian/rules:
+ - Fix uudecode/encoding of OpenSymbol font [CH]
+ - select DebianWoody patchset for builds on woody [CH]
+ - --with-system-db --with-system-nas --with-system-freetype (except on
+ woody), --with-system-sane, --with-system-curl, --with-system-myspell,
+ --with-system-altlinuxhyph
+ - generate a list in openoffice.org-bin which contains used libs which
+ then can used from oooprelink [RE]
+ - on Sparc, use sparc-linux-{gcc,g++} to force 32bit compile/link, instead
+ of ARCH_PREFIX variable [CH]
+ - don't change the location of OpenSymbol in the openoffice.org Woody
+ backport, since we only ship openoffice.org-bin [CH]
+ * debian/control.in:
+ - Remove Recommends: x-ttcidfont-conf since Debian fontconfig has defoma
+ support now (thanks to Ozgur Murat Homurlu) [CH]
+ - add Suggests: www-browser, libxrender1, msttcorefonts [RE, CH]
+ - Build-Depends:
+ + add xlibs-pic (>= 4.2.1-6) | xlibs-static-pic | g++-3.0 [!powerpc] [RE]
+ + add libdb3++-dev [RE]
+ + add libaudio-dev | nas-dev [RE]
+ + add xlibs-dev | libx11-dev, xlibs-dev | libsm-dev, xlibs-dev |
+ libxt-dev, xlibs-dev | libxext-dev, xlibs-dev | libice-dev
+ for not requiring xlibs-dev when it is only a metapackage
+ (as in X > 4.3.0-0pre1v5) and the splitted packages only are
+ installed [RE]
+ + add libsane-dev [RE]
+ + add libcurl2-dev | libcurl-dev [RE]
+ + add libmyspell-dev (>= 1:3.1-1) [RE]
+ + add libaltlinuxhyph-dev - add libhnj-dev to Build-Conflicts: [RE]
+ - fix langpack descriptions to not tell that help is included
+ in them [RE]
+ * debian/scripts/*:
+ - add gen_lib_list [RE]
+ * debian/MANIFEST.*:
+ - remove curl and db pieces [RE]
+ * debian/openoffice.org*.install:
+ - remove curl and db pieces [RE]
+ * debian/openoffice.org-bin.config:
+ - ask prelink question only if prelink is installed, thanks nobse [RE]
+ * debian/openoffice.org-bin.templates.master:
+ - remove unnecessary question from template (closes: #223304) [RE]
+ * debian/po:
+ - add it.po, thanks Andrea Tasso (closes: #226640) [RE]
+ * ooo-build/patches/OOO_1_1_0/apply:
+ - add a second patchset, DebianWoody [CH, RE]
+ * debian/README:
+ - Remove comment about -PPn failing with Perl 5.8 - it was fixed by
+ Dan's parallel-build-fix.patch [CH]
+
+ -- Rene Engelhard <rene@debian.org> Tue, 13 Jan 2004 18:41:53 +0100
+
+openoffice.org (1.1.0-3) unstable; urgency=low
+
+ * New patches:
+ + solar-use-fork: use fork in tools/source/solar/solar.c to make it build
+ with 2.5/2.6 kernels, thanks Ken Foskey (IZ #17241) [RE]
+ + datasources_types_add_mysql: add missing MySQL entries in datasource
+ dialog (closes: #218036), thanks Josep Monés i Teixador for the
+ patch [RE]
+ + i18n-search-all: Fall back to any lanugage pack instead of crashing
+ if no -en or -de installed (closes: #171623) [CH]
+ + ooo111-general-io-error-sxi: fix a General I/O Error when saving in ooo
+ formats (closes: #208687), extracted from cws_srx645_softdist01
+ (IZ#19381, thanks Eike Rathke for the pointer) [MK]
+ + gnome-desktop-force: Introduce a new envvar, OOO_FORCE_DESKTOP that
+ can be set to 'gnome', 'kde' or 'none' to override OOo's desktop
+ detection [MM, PL, CH]
+ + gui-scale-ruler.diff: Reduce the font size of the toolbar font slightly
+ so the ruler is not so cluttered [MM]
+ + freetype-2_1_7-include.diff: fix includes for freetype 2.1.7 [RE]
+ * Modified patches:
+ + setup-in-bind-mount: Use official fix from IZ#20459 using
+ realpath(); also return non-zero exit code on failure. [CH]
+ + layout-vcl-window: Fix reverse size calculation [CH]
+ + gui-font-scale: Window::ImplPointToLogic has a reverse
+ (ImplLogicToPoint) which was not modified, fixed. [CH]
+ + gui-font-default-size: Reduce the default menu font size back again
+ (closes: #218585) [CH]
+ + gui-fonts-kde: [CH]
+ - Respect the 'use system UI fonts' setting instead of always
+ assuming the user wants it.
+ - Check KDEDIR and KDEHOME for settings, thanks to Nikita V.
+ Youshchenko (closes: #218914)
+ - Add gui-scale-ruler hack here too
+ + solenv-set-solar-java-only-if-unset: Java hadn't been disabled on
+ sparc builds. [CH]
+ * Use Ximian icons version 1.1-6 and update MANIFESTs [CH]
+ * debian/rules:
+ - Merge -gnome back into main packages and exclude msgbox-gnome
+ and getstyle-gnome from shared lib dependency generation [CH].
+ This closes: #207647 because the package doesn't exist anymore...
+ - Don't set C++ compiler on Woody to 'ccache ccache g++' and
+ simplify ccache logic [CH]
+ - Add lang=<isocode> option to DEB_BUILD_OPTIONS. With this
+ set, resources for only the given language will be generated
+ and the build will be faster [CH]
+ - if we are building under a user 'buildd' build only resources for
+ en [RE]
+ - Remove openoffice/program directory from dh_shlibdeps
+ invocation - now there are more warnings again but ldd does
+ not crash sometimes when used with fakeroot [CH]
+ - Replace diff usage of obsolete -0 flag with -U0 [CH]
+ - Don't enable debug symbols with gcc-3.0 (Woody backport),
+ because gcc-3.0 -g1 generates huge debug info [CH]
+ - Change $(TOOLS_DIR) to $(OOO_BUILD) [CH]
+ - Use Ximian's enhanced OpenSymbol font with extra glyphs [CH]
+ - Move sed operation on instdb.ins to disable desktop integration files
+ copy into install-arch target. This was the cause of error messages
+ about failure to copy files into ~/.gnome and ~/.kde. [CH]
+ - Split 'solver' target into two passes. 'solver' only builds BUILDLANG;
+ 'solver.langpacks' builds all languages. This speeds up the development
+ cycle and binary-only autobuilds. [CH]
+ - Add a couple of package development helper targets: [CH]
+ + upstreamclean: restore source tree back to a known state. removes all
+ sources (except debian and ooo-build) and unpacks the .orig.tar again
+ + cvsupdate: updates debian and ooo-build from latest CVS
+ * debian/control*:
+ - Build-Depends:
+ - libfontconfig1-dev | g++-3.0 to build without fontconfig on
+ Woody [CH]
+ - add missing libfreetype6-dev | g++-3.0 [RE]
+ - xsltproc version in Woody is too old and fails, so
+ require version >= 1.0.30 [CH]
+ - Tighten openoffice.org, openoffice.org-bin dependencies to
+ force -1 with the java libs off the system (closes: #218928) [CH]
+ - openoffice.org and -bin Replaces: openoffice.org-gnome [CH]
+ - openoffice.org Suggests: openoffice.org-gnome removed [CH]
+ - improve and actualize package descriptions [RE]
+ - move -mimelnk to Section: kde [RE]
+ * debian/MANIFEST.powerpc:
+ - Remove python-core so powerpc doesn't have to be built with
+ IGNORE_MANIFEST_CHANGES=1 [CH]
+ * debian/openoffice.org.install:
+ - include gallery/htmltheme to fix impress html export button styles [MK]
+ * Build and package our own internal version of libfreetype.
+ Depends: libfreetype (<< 2.1.0) can now be removed and OOo
+ is compatible with other backports that need a newer
+ libfreetype (X 4.3, Gnome 2 etc.) [CH]
+
+ -- Chris Halls <halls@debian.org> Tue, 18 Nov 2003 16:27:27 +0100
+
+openoffice.org (1.1.0-2) unstable; urgency=low
+
+ * The "Wohoo-we-are-going-to-main" release.
+ Many thanks to Josh Triplett (JT)..
+
+ * Build without a JDK. (closes: #211288) [JT]
+ * Added patches:
+ - system-zlib: use system zlib (based on Mandrake's) [RE]
+ - system-getopt: use the getopt from system's glibc
+ (from Mandrake) [RE]
+ - allow-no-jdk.diff [JT]: If java is disabled with --disable-java,
+ don't look for a JDK, but do look for xsltproc, and set XSLTPROC
+ in set_soenv.
+ - solenv-set-solar-java-only-if-unset.diff [JT]: Set the
+ SOLAR_JAVA variable conditionally with "*=".
+ - readlicense-oo-xsltproc.diff [JT]: Use xsltproc to replace
+ java for xml transforms in readlicense_oo.
+ - officecfg-xsltproc.diff [JT]: Use xsltproc to replace java
+ for xml transforms in officecfg.
+ - berkeleydb-handle-no-solar-java.diff [JT]: If SOLAR_JAVA is
+ not set, don't pass --enable-java to the configure script, and
+ don't expect the jar when finished.
+ - ridljar-handle-no-solar-java.diff [JT]: If SOLAR_JAVA is not
+ set, don't attempt to zip up the compiled java files, since they
+ will not be built.
+ - jurt-handle-no-solar-java.diff [JT]: Don't build jpipe with
+ SOLAR_JAVA not set.
+ - jvmaccess-handle-no-solar-java.diff [JT]: Don't build jvmaccess
+ with SOLAR_JAVA not set.
+ - jni-uno-handle-no-solar-java.diff [JT]: Don't build jni_uno
+ with SOLAR_JAVA not set.
+ - javaunohelper-handle-no-solar-java.diff [JT]: Don't build
+ javaunohelper with SOLAR_JAVA not set
+ - psprint-handle-no-solar-java.diff [JT, RE]: Don't use jvmaccess
+ to get JDK font path with SOLAR_JAVA not set.
+ - sj2-handle-no-solar-java.diff [JT]: When SOLAR_JAVA is not set,
+ replace java applet support with stubs that throw an exception.
+ - setup2-handle-no-solar-java.diff [JT]: Don't build jvmsetup
+ or use jvmaccess for java-related setup with SOLAR_JAVA not set.
+ - scp-handle-no-solar-java.diff [JT]: Don't ship various
+ java-related files that will no longer be built, but ship the
+ stubbed out libj from sj2 because setup fails without it.
+ - svg-handle-no-solar-java.diff [JT]: Disable SVG import support
+ with SOLAR_JAVA not set, since it depends on compile-time and
+ run-time java support.
+ - xsltvalidate-handle-no-solar-java.diff [JT]: Disable java
+ components with SOLAR_JAVA not set.
+ - xsltfilter-handle-no-solar-java.diff [JT]: Disable java
+ components with SOLAR_JAVA not set.
+ - desktop-handle-no-solar-java.diff [JT]: Don't build javaldx
+ with SOLAR_JAVA not set, and check for javaldx in soffice.sh
+ before using it.
+ - gui-fonts-kde: Get KDE font weight and size, and use menuFont
+ for menus [CH]
+ - gui-font-default-size: Make internal default font size 12pt instead
+ of 8pt (closes:#207957) [CH]
+ * Modified patches:
+ - print-fontconfig / padmin-nofontconfig: make conditional
+ - config.switches.diff: add --enable-fontconfig, --with-system-zlib;
+ check whether we have a system dmake and don't build dmake if we have
+ * debian/MANIFEST.*:
+ - remove java files [JT]
+ * debian/openoffice.org.install:
+ - remove java files [JT]
+ * debian/openoffice.org-bin.install:
+ - Add wildcard suffix for Sparc libraries [CH]
+ - remove java files [JT]
+ * debian/openoffice.org-bin.config:
+ - fix to make dpkg-reconfigure actually affect anything... [RE]
+ * debian/README:
+ - update documentation to reflect that OpenOffice.org no longer requires
+ a JDK to build, but can optionally be built with one. [JT]
+ - remove instructions about prebuilt mozilla files needed because we
+ now build without on those platforms [CH]
+ - remove obsolete information old patch system [CH]
+ - remove documentation for downloadpatch and rsyncpatch targets [JT]
+ * debian/rules:
+ - ignore python-core for the MANIFEST check [RE]
+ - Fix Gnome desktop Exec= line, thanks to MK for spotting the problem
+ (closes: #214673) [CH]
+ - conditionalize java support based on finding jdkhome in
+ DEB_BUILD_OPTIONS [JT]:
+ - Add appropriate configure flag (--disable-java or
+ --with-jdk-home=$(JDK_HOME)) to CONFIGURE_FLAGS [JT]
+ - set and export IGNORE_MANIFEST_CHANGES when building with a JDK [JT]
+ - prefix BUILDCMD with classpath when building with a JDK [JT]
+ - check for a valid JDK and the necessary java jars when building with
+ a JDK [JT]
+ - remove --with-jdk-home=$(JDK_HOME) from configure invocation in favor
+ of CONFIGURE_FLAGS [JT]
+ - move installation of files only built with a JDK into debian/rules
+ surrounded by a conditional [JT]
+ - removed (commented out) distcc section; you can use CCACHE_PREFIX or
+ distcc's masquerading instead without needing special support [CH]
+ - reorganise the build targets that are run before configure so backups
+ are only made once, and it is possible to repatch without converting
+ all the icons again [CH]
+ - removed obsolete dbs targets from stampdir_targets [JT]
+ - removed downloadpatch and rsyncpatch targets, which depend on obsolete
+ debian/patches directory [JT]
+ - install ooo-build changelog as changelog.ooo-build.gz instead
+ of changelog.Ximian+Debian.gz [RE]
+ - use oo-xvfb-run instead of xvfb-run for woody compatibility and
+ call it with -a... [RE]
+ - --enable-fontconfig when building on sarge/sid.
+ Install OpenSymbol font into the right place conditionally [RE]
+ - --with-system-zlib [RE]
+ - when we are building on an user "buildd" (as used on the buildds)
+ enable deloutput automatically [RE]
+ - use system dmake [RE]
+ * debian/scripts/detect_java.sh:
+ - removed [JT]
+ * debian/setperms:
+ - remove chmod of scripts/detect_java.sh [JT]
+ - remove chmod of obsolete dbs packaging scripts [JT]
+ * debian/control*:
+ - Build-Depends:
+ - add zlib1g-dev [RE]
+ - remove j2sdk1.3 and lib*-java [JT]
+ - add xsltproc [JT]
+ - add dmake [RE]
+ - lower autoconf builddep to just autoconf [RE]
+ - Bump virtual l10n package to 1.1.0.final; openoffice.org conflicts
+ with l10n-1.1.0 to force versions without the Ximian icons off the
+ system. (closes: #214703: all icons have magenta background) [CH]
+ - Move from contrib to main [JT]
+ - remove Recommends: openoffice.org from -crashrep since it depends:
+ on openoffice.org anyway ;) [RE]
+ * Use Ximian icons version 1.1-4 [CH]
+ * Removed obsolete dbs packaging scripts [JT, RE]:
+ - debian/doogie-build-system
+ - debian/scripts/fix.source.patch
+ - debian/scripts/getglibcversion
+ - debian/scripts/lib
+ - debian/scripts/patch.apply
+ - debian/scripts/patch.unapply
+ - debian/scripts/source.patch
+ - debian/scripts/source.unpack
+ - debian/scripts/unfix.source.patch
+ - debian/scripts/messages
+
+ -- Chris Halls <halls@debian.org> Thu, 23 Oct 2003 17:39:44 +0200
+
+openoffice.org (1.1.0-1) unstable; urgency=low
+
+ * New upstream version: 1.1.0 [CH, RE]
+ * package now builds on powerpc; issue a warning is a file is found
+ which could lead to ppc builds fail (closes: #206238) [RE], thanks
+ Kevin Hendricks for pointing the problem out.
+ * more Ximian merge:
+ + print-fontconfig [MM], padmin-nofontconfig [CH]: use fontconfig for font
+ configuration. Remove font dialog from padmin.
+ + add Ximian iconset (except the intro and about icons..) [RE, MK]
+ added patches:
+ + gui-icon-composite: Compositing fixes for alpha bg's
+ + gui-tbx-ctrl-bg
+ + gui-tbx-new-size
+ + gui-new-icons: fix 'new' button sizing IZ#15208
+ + glyph-cache-speedup [MM]: cache last glyph IZ#15237
+ + print-dialog [MM]: dialog remembers save path & type correctly IZ#17967
+ + print-error [MM]: Warn the user about printer errors IZ#17966
+ + gui-ft-pt-not-pixel, gui-ft-use-system-font [MM]: Fix some font sync
+ settings brokeness IZ#15507,#16683
+ + capitalization [MM]: Turn off auto caps in impress
+ * Updated patches:
+ + obsolete parts of doc-defaults.diff removed in favour of being
+ configurable through app-compatible.diff (closes: #212157) [MM]
+ * New patches:
+ + gui-menu-new-wizard-translation [MK]: Translate File->New, ->Wizard
+ menus when using langpacks (closes: #180973)
+ + use-unzip-not-jar [RE]: use unzip for unpacking in dictionaries,
+ not jar xf...
+ + debian-splash [RE]: use a "Debian splashscreen" and modify about
+ information accordingly..
+ + setup-in-bind-mount [CH]: Work around 'absolute programpath cannot be
+ found.' error when running setup in a bind mount IZ#20459
+ + build-sparc-boost [CH]: fix atomic dec/inc for Sparc IZ#15502
+ * debian/rules:
+ + fix typos, makes mozilla autodisable actually work, thanks
+ Jerome Warnier [RE]
+ + move installing of the mozilla files into debian/rules surrounded
+ by a conditional... [RE]
+ + add pieces to uudecode the Ximian icons and to restore the old ones
+ after the build.. [MK, RE]
+ + make apply.pl executable in patch.unapply too... (closes: #213309) [MK]
+ + put splashscreen modified for Debian as uuencoded xcf in -- uudecode it
+ and convert it to bmp during build (thanks Alexander Wirt for his
+ xcftobmp) [RE]
+ + split install target into install-arch and install-indep parts [CH]
+ * debian/openoffice.org{,-bin}.install:
+ + remove mozilla files [RE]
+ + install usr/lib/openoffice/share/gallery/htmlexpo/*.png [MK]
+ + move OpenSymbol font to fontconfig managed directory
+ /usr/share/fonts/truetype/openoffice [CH]
+ * debian/control.in:
+ + Build-Depends:
+ - allow libpng2-dev, too - thanks again nobse (closes: #207774) [RE]
+ - add imagemagick for the icon stuff [MK]
+ - add xutils [RE]
+ - add binutils (>= 2.14.90.0.6-3) for sparc because ld crashes
+ on earlier versions (see bug#205548) [CH]
+ - add libfontconfig1-dev for new fontconfig support [CH]
+ - add libc6 (>= 2.3.2-1) for powerpc [RE]
+ - remove bzip2, not needed anymore [RE]
+ - add gimp-perl | gimp1.2-perl for converting the splash screen [RE]
+ - readd xvb, xbase-clients and xfonts-base [RE]
+ + remove libc6 (<< 2.2.5-13) from Build-Conflicts: [RE]
+ + openoffice.org-mimelnk: only suggest openoffice.org (closes: #211398) [RE]
+ + fix Architecture: of -crashrep and -gnome [RE]
+ + Tighten inter-package version dependencies to >> 1.1.0 [CH]
+ * debian/po:
+ + add japanese debconf template translation, thanks Kenshi Muto
+ (closes: #207714) [RE]
+ + add french debconf template translation, thanks Michel Grentzinger
+ (closes: #208841) [RE]
+ + add brazilian portugese debconf template translation, thanks
+ Andre Luis Lopes (closes: #210831) [RE]
+ * debian/scripts:
+ + add xcftobmp [RE]
+ * debian/scripts/vars{,.*}:
+ + add OOO_ICONS_VER variable [MK]
+ + Use patchset OOO_1_1_0 [CH]
+ + Add ARCH_PREFIX for build commands to be run using 'sparc32' on
+ sparc [CH]
+ + disable mozilla for all archs !i386 [CH, RE]
+ * debian/setperms:
+ + add xcftobmp [RE]
+
+ -- Chris Halls <halls@debian.org> Thu, 2 Oct 2003 20:04:15 +0200
+
+openoffice.org (1.0.99+1.1rc3-1) unstable; urgency=low
+
+ * New upstream version
+ + Printing of 3D objects finally works! we now use libart,
+ thanks to code contributed by Ximian
+ * Join forces with Ximian. Patches are selectively picked from a shared
+ pool; they are not all completely integrated yet.
+ * Thanks to Martin Kretzschmar (MK) for several updates to the packaging
+ and Michael Meeks (MM) of Ximian for new patches
+ * Patches updated and transferred:
+ + 023_without_fonts -> system-vera-fonts, now complete [MK, CH]
+ + 033_scpzip_dontpackswitch -> build-lang-no-pack, now no
+ files are copied needlessly [MM]
+ * Patches resynced and transferred:
+ + 022_config_switches -> config-switches [MK,CH]
+ + 024_system_python -> system-python [MK]
+ + 902_remove_rpaths -> icu-no-rpath [MK,CH]
+ + 032_select_instsets -> build-instsetoo-langext [CH]
+ * Patches transfered without changes: [CH]
+ + 002_dmake_tempnam -> dmake-tempnam
+ + 011_stlportlink -> stlport-dynamic-link
+ + 021_SAL_DEBUG -> debug-ooo
+ + 022_config_switches -> config-switches
+ + 025_aclocal_update -> config_aclocal
+ + 041_sv_HTML_typo -> spell-sv-HTML
+ + 901_disable_langcheck -> setup-no-langcheck
+ + 905_remove_lzwc -> disable-lzwc
+ * Patches removed - integrated upstream:
+ + 023_jdk_kaffe [CH]
+ + 040_newlangs
+ * Patch removed, out of sync with upstream: [CH]
+ + 906_set_gnome_menu_right
+ * Start the assimilation of Ximian's [MM] patches. You can find the list in
+ ooo-build/patches/OOO_1_1_RC3/apply. More to come later:
+ + noopt-debug: Use -O0 for build debug=true IZ#17181
+ + deliver-compare: Don't touch a header unless changed IZ#8817
+ + build-optimized-link
+ + stlport-defeat-include: Remove -DBUILD IZ#12782
+ + thread-yield: Drop sched_yields, good for 2.6 kernel IZ#9277
+ + gui-sw-insert-symbol: Start with symbol font in 'Insert symbol' IZ#15512
+ + list-box-click: Make clickable on right of text IZ#17182
+ + gui-sc-paste: Bring up the import text dialog in calc when pasting
+ several lines of text from another app. IZ#15509
+ + gui-sc-cursor: Highlight current cell with two lines
+ + unzip-cleanup: Don't export extra symbols IZ#17841
+ + doc-defaults: Fix office 97 filter flags
+ + debug-appinit: Better error message if initialisation fails IZ#8581
+ + bmp32: Add support for 32 bit bitmaps & icons
+ + icon-render: Speedup icon rendering [don't alloc the whole strip size]
+ + gui-insensitive: Make insensitive icons look pleasent
+ + gui-tbxcust: high quality interpolate for tbx button selector
+ + gui-toolbox, gui-toolbox-tristate, gui-toolbox-prelight:
+ . make the toolbox separators look saner, mouseover triangles
+ . resize & make set large icons as the default.
+ . Make tri-states look un-pressed - don't confuse the clients
+ . Don't draw uber-ugly prelight mess
+ + gui-font-scale, gui-font-antialias-size: Use Xft dpi font scaling IZ#15507
+ + gui-font-size-unbreak: don't fix font sizes IZ#16682
+ + help-fallback-en: Fall back to English help if no native help
+ (closes: #206578)
+ + gui-ft-dynlink-system, gui-ft-21-compat: Use system libfreetype
+ + gui-ft-set-hint: Use the hinting parameters that we use on the rest of
+ the desktop
+ + gui-keybindings:
+ + gui-startup-declutter: Don't ask for registration first time
+ + gui-autocomplete: Basic file completion in file dialog
+ + gui-appear: Always open a new window when asked instead of opening an
+ old one
+ + inst-destdir: Initial support for DESTDIR variable in setup IZ#12781
+ + word-count: Add word count menu item to Tools menu
+ + gui-toolbox-cleanup: Hide the URI box in the toolbar
+ + gui-sc-delete: Fix delete key in calc IZ#17965
+ + gui-metric-fonts: Improve default font selections
+ + i18n-use-lang, i18n-use-locale, i18n-cleanup: Use LANG to determine
+ locale
+ + app-compatible: When COMPATIBLE is set, export to MS formats by default
+ + sd-export-html-descr, sd-export-html-theme, sd-export-html: Save to web
+ in PNG instead of broken GIFs (closes:#181764)
+ + config-disable-mozilla: Add configure switch to disable mozilla (still
+ enabled in the packages)
+ + gtk-themeing: ensure gtk styles
+ + gui-beep-less: Don't continually beep annoyingly ... IZ#18440
+ + crash-bindings: Fix nasty bindings related crasher X#45971, IZ#18773
+ * Patches added
+ + compile-msgbox-gnome: compile module instead of using precompiled binary
+ [RE]
+ + sw-export-bg-style: 'no color' background style was not exported to .doc
+ format. IZ#18671 [CH]
+ + zoom-combobox: Select zoom level in menubar (not yet complete) [MK]
+ * Build using gcc 3.3 [CH]
+ * Drop the usage of dbs. We're now using tarballs in the same format as
+ upstream (except the orig.tar.gz has the patented LZW code removed and some
+ binary tarballs). Patches are now shared and can be found in the Gnome
+ CVS, module openoffice. [CH]
+ * rules:
+ + change build.pl options to work with rc3 [MK, CH]
+ + use setup -nogui instead of a fake X server [MK]
+ + build no longer needs xvfb [MK]
+ + clean target doesn't delete the whole tree anymore [CH]
+ + patch.apply and patch.unapply call Ximian's script now [MK,CH]
+ + --enable-symbols=SMALL for tracing crash dumps
+ + new target: get-ooo-build to retrieve ooo-build using anonCVS
+ + --enable-mozilla to use mozilla libs if MOZILLA!=n [CH]
+ + disable MOZILLA integration and MANIFEST check for Woody
+ backport [CH]
+ * scripts/vars:
+ + Add TOOLS_DIR for Ximian directory
+ + Add PATCH_DIR to point to correct 'apply' for this version
+ + Move VER from rules
+ + Remove old dbs vars
+ + vars.sparc: Add MOZILLA=n to disable mozilla
+ * control.in:
+ + Build-Depend on autoconf (>= 2.54), thanks nobse (closes: #206711)
+ + add libart-2.0-dev (>= 2.3.13) to Build-Depends [MK]
+ + remove xvfb, xbase-clients, xfonts-base [CH]
+ + Tighten g++ build dependency to g++ 3.3.1 on unstable [CH]
+ + add missing suggests to prelink [RE]
+ + add Suggests: to openoffice.org-hyphenation and
+ openoffice.org-thesaurus [RE]
+ + fix typo in openoffice.org description (closes: #206322) [RE]
+ + add missing conflicts: against "old-style"
+ openoffice.org-spellcheck-fr-fr [RE]
+ + mention openoffice.org-{hyphenation,thesaurus,gnome,mimlnk} in
+ openoffice.org's description [RE]
+ + tighten dependency on openoffice.org-debian-files to 1.1rc-3, which
+ fixes several bugs [CH]
+ + precompiled mozilla libs use libstdc++5 so drop libstdc++3 build
+ dependency (closes: #178820) [CH]
+ * openoffice.org.install:
+ + install wildcard *.bmp from share/config/symbol [CH]
+ * openoffice.org-bin.templates.master:
+ + make prelink question more verbose (closes: #206009) [RE]
+ * Add licenses for third-party licenses in THIRDPARTYLICENSEREADME.html to
+ copyright [CH]
+ * openoffice.org-help-en: not included any more, split out to extra
+ source package [RE]
+ * compile msgbox-gnome and getstyle-gnome on all archs to make
+ them not being 0-byte files there [RE, MM]
+ * Woody backport: disable Mozilla and ignore MANIFEST changes. Thanks to
+ Jerome Warnier for his build reports [CH]
+ * Add MANIFEST.sparc [CH]
+
+ -- Chris Halls <halls@debian.org> Thu, 28 Aug 2003 15:33:52 +0200
+
+openoffice.org (1.0.99+1.1rc-1) unstable; urgency=low
+
+ * The openoffice.org1.1 packages are now openoffice.org, back in unstable
+ * New upstream release 1.1rc
+ - Support for upgrade of previous version user data (closes: #189323)
+ - PickListSize increased to 9 (closes: #171417)
+ - jvmsetup recognizes JVM (closes: #198484)
+ - builds with gcc 3.2.3 (closes: #195359)
+ - mailer profiles added (closes: #170699)
+ - loading of ODBC library fixed (closes: #179233)
+ - user soffice link is absolute not relative (closes: #198785)
+ - Smoother mouse scolling (closes: #183095)
+ - Support for controlling autohinting using environment vars
+ (closes: #189088)
+ * Patches removed - integrated upstream: [CH]
+ - 020_gpc_optional
+ - 035_deliver_linkopt
+ - 036_setup2_nofail_installed
+ - 037_parallel_IZ14307
+ - 038_acc_idl_parallel
+ - 039_uname_error
+ - 904_libodbc_soname
+ * Patches resynced: [CH]
+ + 021_SAL_DEBUG
+ + 032_select_instsets
+ + 040_newlangs
+ * New patches: [CH]
+ + 041_sv_HTML_typo: correct typo in Options->HTML compatibility
+ for sv (closes:#199960) IZ#16437
+ + 002_dmake_tempnam: Fix tempfile vulnerability in dmake. IZ#7800
+ + 022_config_switches: Add --disable-rpath option
+ + 025_aclocal_update: regenerate aclocal.m4 after configure.in changes
+ + 901_disable_langcheck: Disable lanuage test in setup upgrade
+ + 902_remove_rpaths: Remove rpaths in vcl & icu makefiles
+ * New patches which are work in progress and not yet ready to be used by the
+ package build system: [CH]
+ + (part of 022_config_switches): add --without-fonts and --with-python flags
+ + 023_jdk_kaffe: Accept Kaffe as a known JDK. Officecfg can be built
+ using Kaffe now, but the rest of the build will fail. Thanks to Jarno
+ Elonen. IZ#16252
+ + 024_system_python: Use the installed Python instead of the one in the
+ OOo tarball to build pyuno
+ * New binary packages: [RE]
+ + openoffice.org-crashrep: OpenOffice.org crash reporting tool
+ + openoffice.org-gnome: GNOME desktop integration
+ * debian/rules: [CH]
+ + For Woody backport: add xalan2.jar to classpath
+ + add program directory to dh_shlibdeps search path; removes some
+ harmless warnings
+ + Fix HTML and From Template desktop icons (closes: #201505)
+ * debian/control.in:
+ + openoffice.org-mimelnk Conflicts: openoffice.org (<< 1.0.3-3) [CH]
+ + Correct typo in ttf-bitstream-vera, thanks Eloy (closes: #203638) [CH]
+ + Change dependencies for 1.0.99+1.1rc [CH, RE]
+ + Update debian-openoffice URL [CH, RE]
+ + Remove build-deps: libstlport4.5-full, libfreetype6-dev, g++ (you'll
+ need 3.2 or 3.0). These will go back in in the next revision or so but
+ we're leaving them out for this revision because there are some problems
+ not yet fully worked out. [CH]
+ + Add Conflicts from 1.0.x packages, and oooqs-kde (<= 1.0rc3-2) [CH]
+ + fix suggestion of KDE quickstarter [RE]
+ + Provide/Conflict/Replace Knoppix openoffice-de-en packages
+ (closes: #203289) [RE]
+ * Introduce new concept for langpack dependencies. Langpacks should now
+ provide openoffice.org-l10n-<version>, which openoffice.org uses to
+ Depends: on any langpack that provides it, and Conflicts with older
+ incompatible versions to force them off the system on upgrade. [CH, RE]
+ + oo.o Depends: openoffice.org-l10n-en | openoffice.org-l10n-1.1.0, and
+ langpacks Provide openoffice.org-l10n-1.1.0.
+ + openoffice.org Conflicts: openffice.org-l10n, which was provided by
+ pre-1.1 langpacks
+ * Add Sparc to architecture list. This probably won't work yet: [CH]
+ + debian/control.in: Add sparc to architectures for -bin package
+ + scripts/vars.sparc: Set variables for Sparc
+ * MANIFESTs updated for 1.1rc
+ * debian/local/openoffice-dpack-lang:
+ + Exclude crash_dump.res because the filename isn't properly localised
+ [CH]
+ * Move files under <ooo-root>/user from openoffice.org-l10n-en to
+ openoffice.org to prevent setup file copy errors when -en langpack
+ is not installed (closes: #150714) [CH]
+ * let all -l10n-* foo Suggest: -l10n-hyphenation, -l10n-spellcheck
+ and -l10n-thesaurus. Add Provides to openoffice.org for the
+ hyphenations and the english thesaurus openoffice.org already
+ provides. [RE]
+ * compile with -O1 on all architectures until glibc 2.3.2
+ enters sid; this should solve the "relocation errors"
+ problem; please reopen if not... (closes: #191989) [RE]
+ * Move Gnome desktop files to /usr/share/applications, thanks to
+ Jerome Warnier for the discussion at debcamp. [CH]
+ * Back to using system libfreetype, now supported directly by upstream [CH]
+ * add question whether we should prelink [RE]
+ * one more long description fix to not let lines -zh-* and pt-br
+ descriptions be too long.. [RE]
+ * move -help-en to contrib/doc.
+
+ -- Chris Halls <halls@debian.org> Tue, 5 Aug 2003 15:35:25 +0200
+
+openoffice.org1.1 (1.1beta2-2) experimental; urgency=low
+
+ * Upload to experimental :)
+ * New langpacks: Catalan, Brazillian Portuguese, Slovak, Finnish
+ (closes: #170924)
+ * Pull Post-beta2 Updates from beta2 CVS branch
+ + plain text import fixed (closes: #182452)
+ + Gcc 3.3 and flex compilation fixes (closes: #188877)
+ + Add ro_RO Romainian locale
+ + Add missing Czech translations
+ + Add Catalan, Slovak to default lanaguage list
+ + Sparc bridge added
+ + Spellchecker improvements using ngram matching
+ + Support Bitstream Vera fonts for user interface
+ * Patches created from upstream fixes on other branches:
+ + 904_libodbc_soname: Fix loading of libodbc. IZ#14940
+ + 037_parallel_IZ14307: Fix SRS parallel build dependencies
+ * New patches:
+ + 038_acc_idl_parallel: Parallel build failure in accessibility
+ + 040_newlangs: Turn on pt-BR and fi language file generation
+ * Patches removed from patchset:
+ - 028_help_fallback_en: There is a new configuration mechanism now
+ - 039_uname_error: Fix "Try `uname --help' for more information" message
+ (thanks Eric Anderson, closes: #196039)
+ - 900_vcl_xinerama_externC: Fixed upstream
+ * KDE icons started OOo 1.0 instead of 1.1; fixed.
+ * Missing KDE group icon fixed
+ * s390 updates from Gerhard Tonn
+ * debian/control.in:
+ + Build-Depends: flex | flex-old
+ + OOo.org Suggests: oooqs-kde and ttf-bitstream-vera
+ + Remove gs from suggests (PDF support is now built in)
+ * debian/rules:
+ + Fix buildprj and builduntil targets
+ + Add suport to override the compiler version by setting GCCVER
+ + downloadpatch/rsyncpatch targets will not touch the patches
+ if they are already applied
+ + Improve patchapply/patchunapply stampfile handling
+ + Copy icons from pt to pt-BR (not included in -2 langpack)
+
+ -- Chris Halls <halls@debian.org> Wed, 4 Jun 2003 08:10:59 +0200
+
+openoffice.org1.1 (1.1beta2-1) experimental; urgency=low
+
+ * New upstream - official beta2 release
+
+ -- Chris Halls <halls@debian.org> Mon, 19 May 2003 19:46:26 +0200
+
+openoffice.org1.1 (1.1beta1.prebeta2-1) experimental; urgency=low
+
+ * Initial packages for 1.1 branch, based on 1.0.3-2 packaging
+ * New upstream - 1.1 beta 2 CVS from 2003-05-13
+ + Native export to PDF, Flash and XHTML formats (closes: #176932)
+ + Macro recorder
+ + Improved import/export of Microsoft(R) Office formats
+ + Import/export of XML formats including DocBook
+ + CTL (Complex text layout) support
+ + Support for mobile device formats
+ + Improved clipboard support
+ + Font rendering support can be configured by environment variables
+ + Many, many bug fixes and usability improvements
+ - Save chart as... now works (closes: #181765)
+ - spellcheck treats em-dashes as word separators (closes: #174657)
+ + Czech language support
+ + Patches reworked for 1.1
+ - 020_remove_gpc - now optional and controlled by configure;
+ renamed to 020_gpc_optional. IZ#10477
+ + Patches resynced
+ - 021_SAL_DEBUG
+ - 032_select_instsets
+ - 035_deliver_linkopt
+ - 033_scpzip_dontpackswitch
+ + New patches created from CVS
+ - 036_setup2_nofail_installed.diff
+ (IZ#14404: setup -net fails if workstation install present)
+ + Patches removed - integrated upstream
+ - 029_libsane_soname
+ - 024_freetype_macros
+ - 030_officecfg_usejavavar
+ - 034_rename_inflate
+ - 500_remove_s390oe
+ - 904_libodbc_soname
+ + Patches no longer needed because of upstream changes
+ - 001_IZ13031_printfix
+ - 023_user_fontpath
+ + Patches temporarily removed until we have time to resync
+ - 501_s390_build
+ - 502_stlportlink
+ - 903_system_freetype
+ * Add Czech langpack - openoffice.org-l10n-cs
+ * Change /usr/lib/openoffice to /usr/lib/openoffice1.1 to allow
+ the packages to coexist until we replace 1.0.x
+ * Add links created by OOo setup app to MANIFEST file lists and
+ include in openoffice.org1.1.install
+ * setperms: add new script names. chmod lines removed from rules.
+ * Build with internal stlport until a build error is fixed
+ * Some files that would otherwise conflict with the 1.0.x packages are
+ temporarily removed (Icons and KDE shortcuts). Gnome files renamed.
+ * Add to build-depends: libcrimson-java, libxalan-java, libxalan2-java
+ (needed for JDK < 1.4)
+ * shorten some lines in long descriptions (Rene)
+ * split KDE mimelinks out to openoffice.org1.1-mimelink to avoid file
+ conflicts with koffice wanting to have them for OOo import; now
+ OOo and KOffice can use the ones of this package, thanks Ben
+ Burton for pointing that problem out (Rene)
+ * Fix permissions when unpacking source by adding detect_java.sh to setperms
+ * Add configimport utiltity to -bin for updating the OOo configuration from
+ the command line
+
+ -- Chris Halls <halls@debian.org> Thu, 15 May 2003 20:20:08 +0200
+
+openoffice.org (1.0.3-2) unstable; urgency=low
+
+ * 001_IZ13031_printfix: Hotfix for bug in 1.0.3. OOo hangs
+ when printing to a non-default printer. (closes: #189283)
+ * add upstream patch fixing transex3 to compile with flex 2.5.31
+ (closes: #188877), thanks Ken
+ * Conflict against 1.0.2 langpacks to force them off the system
+ (closes: #189034)
+ * Link against dynamic libstlport on s390. Patch 502_stlportlink
+ from Gerhard.
+
+ -- Chris Halls <halls@debian.org> Wed, 16 Apr 2003 16:47:57 +0200
+
+openoffice.org (1.0.3-1) unstable; urgency=low
+
+ * new upstream version
+ + Bugfix release only
+ + closes: #178459 (IZ #11797):
+ "Crash in Options | Load/Save | HTML Compatibility with invalid locale"
+ + remove patches merged upstream:
+ - 031_define_fixes
+ - 033_fix_noproc_crash
+ - most of 036_parallel_build_fixes
+ - 907_gcc3.0_memmgr
+ + closes: #184725 "only opens 9 documents"
+ + Performance on 2.5 kernels should be better - many yield() calls
+ removed.
+ + closes: #182314 "crashes frequently when switching from online to
+ regular layout"
+ + closes: #148961 "Currency Format dropdown is confusing"
+ * If building on Woody, depend on libfreetype6 (=2.0.9-1) to prevent breakage
+ caused by upgrading libfreetype6 to testing or unstable.
+ * fixed the patch 906_set_gnome_menu_right.diff, its not in
+ sysui/unix/office/gnome, it is in sysui/oounix/office/gnome.
+ It puts all icons except those for Setup and PrinterAdmin into
+ Application/Office under GNOME2 (closes: #168719, #169281, #186820)
+ * debian/rules build script changes:
+ + add build-arch and build-indep targets
+ + rename 'buildall' target to 'solver'
+ + add new target builduntil-<prjname> to build a project including all its
+ prerequesites
+ + add new option to restart build from a given project directory with
+ DEB_BUILD_OPTIONS=startfrom=<project>
+
+ -- Chris Halls <halls@debian.org> Thu, 10 Apr 2003 17:23:18 +0200
+
+openoffice.org (1.0.2-2) unstable; urgency=low
+
+ * Remove duplicate English templates/autocorrect/styles in other language packs
+ (closes: #155487, #171515, #177903. #177993, #179346)
+ * Re-enable system libfreetype, thanks to Gwenole Beauchesne for pointing us
+ to the problem. New patch: 034_rename_inflate (closes: #179912)
+ * Make the package build without modification on Woody:
+ + Build-Depends: g++ (>=3.2.2) | g++-3.2 | g++-3.0 [!powerpc]
+ + Automatically detect whether to use gcc. gcc-3.2 or gcc-3.0 as compiler
+ + Make memmgr.cxx patch needed for gcc-3.0 conditional.
+ New patch: 907_gcc3.0_memmgr
+ + Remove libstdc++ from MANIFEST lists, since this is not used and the
+ filename is different on Woody
+ * Change Build-Depends: libstdc++3[!powerpc] to [i386]
+ * Add documentation of buildprj target in debian/rules
+ * fix typo in package description (closes: #179301)
+ * Modify build system not to generate complete installation sets for
+ foreign languages, reducing the space needed to build the packages by
+ about 1.5Gb. New patch: 908_scpzip_dontpackswitch
+ * openoffice-dpack-lang: Generate langpacks directly from the solver instead
+ of unpacking from the installation sets. Hardlink files where possible to
+ save space.
+ * Add support for 'instsetext' setting, which controls which installation
+ sets are created. Binary-only builds no longer need to create extra
+ installation sets. New patch: 032_select_instsets
+ * Patch 031_define_fixes is back, thanks to Gwenole Beauchesne for updating
+ to 1.0.2
+ * Patch 030_officecfg_userjavavar: Unhardcode Java compiler from 'java' to
+ $JAVA
+ * Check that /proc exists before starting the build.
+ * New patch 033_fix_noproc_crash: handle a NULL pointer which otherwise
+ crashes idlc when there is no /proc.
+ * Document the changed build targets in debian/README
+ * Reduce disk usage during build by ~0.5Gb by adding a -link option to
+ deliver.pl which links files in the solver instead of copying.
+ New patch: 035_deliver_linkopt
+ * Use system libstlport, but only if the gcc transition has taken place.
+ Enforced by Build-Depends: libstlport4.5-full(>= 4.5.3-9) | g++ (<< 3.2.2)
+ * Remove Build-Conflicts: libgcj[23]-dev. This was fixed upstream in 1.0.2.
+ * The hook script has moved to /usr/share/openoffice.org-debian-files.
+ dependencies tightened for smooth upgrades
+ * Fix Gnome icon path (closes: #180132)
+ * Move hook script from /usr/lib to /usr/share
+ * Add some parallel build fixes.
+ * Add support to reduce the disk space needed with
+ DEB_BUILD_OPTIONS=delouput
+ * Bison 1.875a works - removed workaround and updated build dependencies
+ (closes: #177438)
+
+ -- Chris Halls <halls@debian.org> Tue, 11 Feb 2003 20:54:51 +0100
+
+openoffice.org (1.0.2-1) unstable; urgency=low
+
+ * New upstream release:
+ # 6635: Fix for problem with OroborusX 0.8 window manager
+ # 5242: Calc not recalculating certain Excel imported shared formulas if they were moved.
+ # 6478: Nicaraguan currency symbol is C$ instead of $C
+ # 7284 #,##0, number format code displays wrong value
+ # 7230 enable ca_ES locale, correct es_ES locale data
+ # Calc: formulas containing the FORMULA() function need RecalcModeAlways
+ # Calc: Insert/Delete/Col/Row: restart RelName listeners on every sheet, not just the modified sheet
+ # 8026 import number format codes containing trailing General subformat correctly
+ # correct fi_FI Finnish date format codes 3738 add sl_SI Slovenian locale data
+ # 6844 add et_EE Estonian locale data
+ # 3552 spreadsheet functions STDEV, STDEVP, VAR, VARP, DEVSQ, DSTDEV,
+ DSTDEVP, DVAR, DVARP could give a #VALUE error if all values were
+ equal with roundoff errors
+ + Build/configure system patches incorporated upstream, special thanks to
+ Kevin Hendricks & Ken Foskey for all their efforts:
+ 001_gcc_version_check, 003_enable_dmake_clean_patch,
+ 010_use_libstdc++_from_debian, 012_set_compiler_vars,
+ 013_use_compiler_vars, 014_lbnames_gcc_3.2, 015_dont_unset_home
+ 025_compilerflags, 026_parallel_build,
+ 029_stlport_stolen_from_OO642C.uu
+ 030_stlport_gcc32_includes
+ 032_stlport_linkage
+ 033_nas_build_general_compiler-fix
+ 036_parallel_build_fixes
+ 037_parallel_build_ignore_deperrs
+ + Remove other patches now applied upstream:
+ 027_unoil_com_sun_star_document-build_error_fix
+ 028_fix_x_naming
+ 030_WM_CLASS_property
+ 034_IZ6635_catch_WIN_PROTOCOLS
+ 035_CJKfontcrash_STABLE1_fix
+ 150_ppc_bridge_fix
+ + Other patches updated for 1.0.2:
+ 500_remove_s390oe, 501_s390_build: s390 update, thanks to Gerhard
+ 020_remove_gpc: removed unused section
+ + Drop patch 031_define_fixes, because it no longer applies
+ * Revert back to internal freetype because of an internal problem in OOo
+ setup with 903_system_freetype applied. (closes: #176840, #176841)
+ * Building from unstable and without system freetype should get rid of
+ these bugs:
+ closes: #170044: All OO programs crash with "relocation error"
+ closes: #173678: OOo Impress file kills PPC version
+ closes: #175228: Long title crashes Impress on PowerPC
+ * move the special libc6 Build-Dependency to Build-Conflicts and
+ make it powerpc specific
+ * Now that gcc-3.2 is the default, build using gcc/g++, but leave support
+ for specific versions in GCC3VAR (closes: #177453)
+ * New patch: 029_libsane_soname to fix loading of libsane system library;
+ suggest libsane.
+ * Update package description and add description of the functionality
+ provided by Recommended/Suggested packages
+ * debian/rules: Don't use tcsh to call build
+ * Reverse order of parameters in hook script calls
+ * debian/control.in: Change libpam build dependency to
+ libpam0g-dev|libpam-dev to help autobuilders
+
+ -- Chris Halls <halls@debian.org> Wed, 15 Jan 2003 17:35:07 +0100
+
+openoffice.org (1.0.1-7) unstable; urgency=low
+
+ * Patches from OOO_STABLE_1 branch:
+ + Fix crash with Oroborus: 034_IZ6635_catch_WIN_PROTOCOLS
+ (closes: #171556)
+ + Default CJK font selection crash: 035_CJKfontcrash_STABLE1_fix
+ * Include the patches for debian-S390 (thnx to Gerhard Tonn)
+ * dropped the libstdc++3 dependency (needs rebuilding of mozilla :) )
+ * Export CC in build targets (closes: #171254)
+ * Apply Gerhard's patch to Link stlport with $(CXX) (closes: #171238)
+ * fixed some lintian errors and beautify openoffice.org-l10n-*
+ descriptions
+ * Using freetype from Debian again - 903_system_freetype.diff. This change
+ happened in -6 but was missing from the changelog. Added
+ build-depdendency libfreetype6-dev.
+ * debian/rules: chmod a+x our scripts in build.prepare
+ * let openoffice.org-l10n-* and openoffice.org-bin Depend on openoffice.org
+ again
+ * Add langpack conflict with Woody -5 backport too (closes: #172992)
+ * Recommends: x-ttcidfont-conf, because we can now use all available defoma
+ fonts if this package is installed.
+ * Build against libfreetype from unstable (closes: #172448)
+ * Some patches for parallel building. These are not complete; -Pn/-PPn is
+ not supported. 036_parallel_build_fixes, 037_parallel_build_ignore_deperrs
+ * debian/rules: add support for passing any parameters to build.pl using
+ DEB_BUILD_OPTIONS="build=-parm arg" syntax.
+
+ -- Chris Halls <halls@debian.org> Mon, 16 Dec 2002 20:08:33 +0100
+
+openoffice.org (1.0.1-6) unstable; urgency=low
+
+ * Upload to unstable attempt #2
+ * fixed Dependencies (closes: #162240)
+ * changed Depends: from openoffice.org-l10n-* to openoffice.org
+ to Recommends: (closes: #165036)
+ * Remove -fno-rtti compiler flag for PPC
+ * In debian/rules use dpkg-architecture to set $ARCH.
+ * Set maintainer to debian-openoffice mailing list
+ * Clean up Build-Dependencies (closes: #162428)
+ * Revert back to internal libstlport until after the gcc transition.
+ (029_stlport_stolen_from_OO642C, 030_stlport_gcc32_includes)
+ * Fix window titles (030_WM_CLASS_property from Mandrake)
+ * Remove obsolete patches: 004_zipdep_not_found,
+ 011_link_against_stlport_gcc_3.1)
+ * Revert back to compiling i386 with -mcpu=pentiumpro, since it will make
+ OOo run faster on the majority of machines (P5 generation is too
+ slow for OOo, but it will still work fine if someone really wants to run
+ it).
+ * Fix naming of X: s/XWindows/X Window/ (028_fix_x_naming)
+ * Remove diversion of bug submissions for subpackages to openoffice.org, now
+ that they are no longer unknown to the BTS.
+ * Clean up debian/rules a little
+ * Include regcomp binary
+ * Title of About box is translated now (closes: #162984)
+ * Work around dpkg warning 'i386-none not found in mapping table'
+ * Debian specific files (man pages, wrapper script, ...) split out
+ to separate source package (openoffice.org-debian-files)
+ * Add patch from Mandrake to fallback to English help if translated help is
+ not available, thanks to Gwenole Beauchesne. 028_help_fallback_en.diff
+ (closes: #156044)
+ * Fix problem in clean rule when using pbuilder, thanks to Nicolas Boos
+ * Add pre/post-install/rm hooks into openoffice.org-debian-files
+ * Improve detection of JDK path
+
+ -- Chris Halls <halls@debian.org> Tue, 12 Nov 2002 07:38:14 +0100
+
+openoffice.org (1.0.1-5) unstable; urgency=low
+
+ * Upload to Debian (closes: #74715, #101762, #116878)
+ * Remove non-free LZW compression code: Save to html no longer works if
+ there are graphics in the document.
+ * Move English help to a separate package, openoffice.org-help-en. There
+ is no translated help available with the source - this must be packaged
+ separately. (closes: #156044)
+ * Remove the English help that was duplicated in every language pack, and
+ Suggests: openoffice-help-<lang> | openoffice-help for each langpack.
+ * Move to gcc 3.2 for both architectures
+ * Use official libstlport packages (thanks Torsten Werner). Always link
+ to the shared library, even in bootstrap and setup2.
+ * Fix mime commands, thanks Bastian Kleineidam
+ * README.Debian: add troubleshooting guide for crashes caused by fonts,
+ and an introduction with summary of the changes between these packages
+ and upstream
+ * Add upstream README to docs directory and update copyright
+ * Describe the build system in more detail in debian/README
+ * 026_parallel_build.diff - update build.pl from CVS to support -PP for
+ parallel module builds, and support -PPn in DEB_BUILD_OPTIONS
+ * Remove upstream's -mcpu=pentiumpro and enable RTTI
+ * Add another clean target (clean-objdirs)
+ * Add support for distcc - this is enabled if DISTCC_HOSTS is set
+ * Change ccache support to use CC/CXX variables instead of links
+ * Change archive section to 'unstable', now all prerequisites are in the
+ archive.
+ * Add Rene Engelhard to uploaders
+
+ -- Chris Halls <chris.halls@gmx.de> Tue, 13 Aug 2002 15:23:13 +0200
+
+openoffice.org (1.0.1-4) experimental; urgency=low
+
+ * In README.Debian, document Xserver bug with Matrox and X Windows look &
+ feel (thanks Philip Armstrong). Add more information about locales and
+ language packs, including the known issues. Explain why fonts in writer
+ are not available if served by a font server.
+ * link /usr/bin/ooffice -> openoffice for consistency with other command
+ names, other distro packages and for Evolution (thanks Jack Howarth)
+ * Redirect bug reports for subpackages to openoffice.org until the BTS knows
+ about the packages
+ * debian/rules: create 2 new clean targets to recover disk space without
+ cleaning the whole build: clean-debdir (850M) and clean-instsetoo (2.5Gb).
+ Remove package/DEBIAN directories on rerun of target, so conffiles don't
+ appear multiple times.
+ * In TODO, explain what is needed for an upload to contrib
+
+ -- Chris Halls <chris.halls@gmx.de> Tue, 30 Jul 2002 18:25:34 +0200
+
+openoffice.org (1.0.1-3) experimental; urgency=low
+
+ * fix PowerPC build (thanks Jack Howarth)
+ - move files from openoffice.org*_all.deb to openoffice.org-bin*_$(ARCH).deb
+ /usr/lib/openoffice/program/applicat.rdb
+ /usr/lib/openoffice/program/instdb.ins
+ - delete patch 005_gcc3_misc_changes, because it is not needed for PowerPC
+ and this patch was only PowerPC related.
+ * Update description with text from upstream's FAQ and mention spelling
+ dictionaries
+ * Conflict openoffice.org[-bin] against <= 1.0.1-2 because of the files that
+ moved
+ * Suggest openoffice.org-spellcheck-<lang> in all language packs, and
+ explain about dictionaries in the langpack descriptions
+
+ -- Chris Halls <chris.halls@gmx.de> Fri, 26 Jul 2002 14:44:03 +0200
+
+openoffice.org (1.0.1-2) experimental; urgency=low
+
+ * Fix dependencies so it is possible to install a foreign language pack
+ without -en as well (thanks, Gregor Hoffleit)
+ * openoffice.org conflicts with individual language packs (<< 1.0.1)
+ * Remove HTML2TEXT variable (thanks, Jerome Warnier)
+
+ -- Chris Halls <chris.halls@gmx.de> Wed, 24 Jul 2002 21:44:47 +0200
+
+openoffice.org (1.0.1-1) experimental; urgency=low
+
+ * New upstream version
+ + upgrade of the mozilla integration from 0.9.5 to 1.0
+ + several fixes to font handling code
+ + improved portability
+ + improvements to handling of locales
+ + and numerous other minor bugfixes
+ * Due to popular demand and general confusion, set the default user install
+ directory to ~/.openoffice/1.0.1, including when setup is run manually
+ * New commands in /usr/bin: oocalc,oodraw,ooimpress,oomath,oowriter,oopadmin
+ * Bring back global desktop integration without cluttering the home directory
+ thanks to Gwenole's method of editing instdb.ins after setup
+ * KDE desktop interation is tested, Gnome not yet.
+ * Add setup to menu entries again
+ * Tighten up dependencies so that all components must be 1.0.1
+ * Build system changes:
+ + Create extra make target for unpacking language packs
+ + Add support for debug builds. To build a project with debugging symbols:
+ debian/rules buildprj PRJ=<project-to-build> DEB_BUILD_OPTIONS=debug
+ + Improve 'install' target dependencies
+ * Add manpages and fix lintian warnings (Rene Engelhard)
+ * Update mailcap entries and add MS Office document types
+
+ -- Chris Halls <chris.halls@gmx.de> Thu, 11 Jul 2002 16:17:59 +0200
+
+openoffice.org (1.0.0-pre1.0.1rc3) experimental; urgency=low
+
+ * Fix broken openoffice script for upgrades.
+ * Jan
+ -inluded 016_ppc_bridge_fix.diff, for propper powerpc-build *yeah*
+
+ -- Chris Halls <chris.halls@gmx.de> Wed, 10 Jul 2002 17:16:59 +0200
+
+openoffice.org (1.0.0-pre1.0.1rc2) experimental; urgency=low
+
+ * Recompiled against fixed libstlport package
+ * Change user directory to ~/OpenOffice.org1.0.1. Note there is
+ *no support* from upstream to upgrade the user directory, and I have seen
+ too much corruption from 1.0.0 to be prepared to attempt to support it in
+ just these packages, so you must change your user settings by hand for
+ now. The openoffice wrapper will warn if it sees ~/.openoffice still.
+ * Update some sections of README
+
+ -- Chris Halls <chris.halls@gmx.de> Tue, 9 Jul 2002 21:33:16 +0200
+
+openoffice.org (1.0.0-pre1.0.1rc1) experimental; urgency=low
+
+ * New upstream: 1.0.1 release candidate
+ (from CVS OpenOffice_1_0_1 of 7/3/2002)
+ * Jan- Hendrik Palic:
+ - Switched to gcc-3.1/g++3.1 to build OpenOffice.org on PPC. i386 does
+ not work with gcc-3.1 yet.
+ - much work on the patches:
+ + all changes to oo_1.0_src/config_office/configure.in went to
+ 001_configure.in_gcc-3.x-fixes.diff
+ o set compilervars
+ o detecting the right include for gcc-3.1/g++-3.1
+ o java will be detected right on powerpc, so we can build
+ automaticly, without setting the location of javac twice
+ + link against -lstlport_gcc_3.1 (soname changed in libstlport)
+ this went into 011_link_agains_stlport_gcc_3.1.diff
+ + 005_gcc3_misc_changes.diff did the last changes to compile
+ OpenOffice.org by gcc-3.1/g++-3.1
+ + 010_use_libstdc++_from_debian.diff is changed to use this patch with
+ OpenOffice.org-1.0.1
+ - debian/rules:
+ + copies the mozlibs into source from some place (sorry,no package yet)
+ but I will link OpenOffice.org again mozilla 1.0 from debian
+ (I have to recompile Mozilla with gcc-3.1/g++3.1)
+ - debian/control
+ + fixes the builddependencies for using gcc-3.1/g++-3.1 for all arches.
+ + added buildconflict to libgcj3-dev
+ - killed extra-dependencies on debian/script/vars.powerpc
+ - sets USE_GCC3 to y in debian/script/vars.powerpc
+ - changed debian/rules to use gcc-3.1
+ * Chris Halls
+ - Fix errors like openoffice: [: it-CH: binary operator expected
+ - Remove patches integrated upstream:
+ 008_clk_tck_gcc-3.diff, 015_setup_oognomeappmath.diff,
+ 016_fontcache_copy_weight.diff, 021_lingu_cvsupdates.diff,
+ 022_psprint_fontmanager.diff
+ - New patch: 015_dont_unset_home.diff - removes unset HOME so ccache works
+ again
+ - Properly detect GNOME2 session manager, thanks to Gary Coady
+ - Remove languages from oo-xlate-lang that are not yet available
+ (ca and fi)
+ - link against -lstlport_gcc_3.x (soname changed in libstlport) - this was
+ one of the showstoppers for getting OOo into main. Correct lib is
+ determined from the compiler in use
+ - Fix patch.unapply to work with arch dir
+ - Make patch.apply pipe *.uu patches through uudecode for binary patches
+ - set SAL_DEBUG=strace or gdb for debugging
+ - move global dictionary.lst into /etc/openoffice
+ - openoffice.org Suggests openoffice.org-spellcheck
+ - ooo-l10n-de Suggests German dictionaries
+
+ -- Chris Halls <chris.halls@gmx.de> Fri, 5 Jul 2002 20:52:06 +0200
+
+openoffice.org (1.0.0-6) experimental; urgency=low
+
+ * Fix names of suggested ooqstart-gnome and update-mime
+ * Revert 903_system_freetype.diff - the OpenSymbol font can not be displayed
+ unless you use a font server, which means most users will not be able to
+ use bullets. This appears to be some problem with the different
+ libfreetype versions. Spadmin will crash if you try to add the
+ OpenSymbol font directly, and I cannot see what is going on in gdb without
+ creating a debug build.
+ * Move libmozab libraries to -bin package
+
+ -- Chris Halls <chris.halls@gmx.de> Tue, 25 Jun 2002 17:57:22 +0200
+
+openoffice.org (1.0.0-5) experimental; urgency=low
+
+ * Patches from upstream CVS (slated for 1.0.1):
+ - 021_lingu_cvsupdates.diff:
+ + Register own hypenation dictionaries (IZ #45555, IZ #4687)
+ + Fix segfault under Thesaurus (IZ #4435)
+ + Enable shared spellchecking capabilities
+ - 022_psprint_fontmanager.diff (made by Gwenole)
+ + Improve font server discovery
+ * Martin Quinson:
+ - Auto select user install directory and language
+ - Support for install by user in other directories, not
+ just ~/.openoffice
+ * Patches copied from Gwenole Beauchesne at Mandrake:
+ - 023_user_fontpath.diff
+ + Use SAL_FONTPATH_USER for user font path
+ - 903_system_freetype.diff
+ + Use the system libfreetype instead of the internal library
+ * Chris Halls:
+ - openoffice.org-bin conflicts with earlier packages (<= -3)
+ - openoffice.org Suggests: mime-support, menu
+ - Add new systemwide configuration: /etc/openoffice/openoffice.conf
+ - Correct l10n typo in README.Debian
+ - Build-depend on libfreetype6-dev
+ - Patch 024_freetype_macros.diff for building with libfreetype6 >= 2.1.0
+ - Fix spadmin command and menus: place a wrapper in /usr/bin/spadmin.
+ - Move psprint.conf and sofficerc into /etc/openoffice (now conffiles)
+ - Remove LANGLIST=01 from response files
+ - Move arch-specific dependencies to openoffice.org-bin
+ - Patch 904_libodbc_soname.diff: dlopen libodbc.so.1 instead of
+ libodbc.so. Added unixodbc to Suggests. Thanks to Steve Langasek for
+ the help.
+ - Add Suggests: cupsys-bsd. With this package installed, printer queues
+ will appear in the print dialog without having to use spadmin.
+ - Lots of updates to README.Debian and TODO
+ - Update package description
+
+ -- Chris Halls <chris.halls@gmx.de> Thu, 13 Jun 2002 17:26:35 +0200
+
+openoffice.org (1.0.0-4) experimental; urgency=low
+
+ * John M Cooper:
+ - Add Debian menu entries
+ * Jan-Hendrik Palic:
+ - Update JDK home directory for PPC
+ * Chris Halls:
+ - Fix mime support (update-mime was not called in postinst)
+ - Build foreign languages
+ - Split off architecture-dependent files into openoffice.org-bin
+ package and depend on it. This package will not need to be updated as
+ frequently as the main openoffice.org package.
+ - Remove workaround for libstdc in rules, because patch
+ 902_remove_libstdc_from_scp solves the problem.
+ - Use dh_install instead of dh_movefiles. Build-depend on debhelper >=
+ 4.0.9 because of a problem with globbing with dh_install
+ - Build-depend on perl-base because perl is used in some scripts
+ - Add instsetoo target to recreate install sets
+ - Update README.Debian and TODO
+ - Workaround for issue #4494: unset SESSION_MANAGER if session manager is
+ gnome-session
+ - Make Menu entries use openoffice wrapper. spadmin can be run from the
+ menu and setup is removed from the menu.
+ * Patches copied from Gwenole Beauchesne at Mandrake:
+ - 015_setup_oognomeappmath: fix error message on user setup
+ - 016_fontcache_copy_weight: Fix bug in font cache (font when printed
+ appear bold etc, IZ #4366)
+ - 902_remove_libstdc_from_scp.diff: also remove libgcc_s.so from .deb
+ * Martin Quinson:
+ - Foreign language support!
+ - Generate multiple packages and control file for lanaguage support
+ automatically.
+ - Adapt openoffice-xlate-lang and openoffice-dpack-lang from Mandrake's
+ packages
+
+ -- Chris Halls <chris.halls@gmx.de> Thu, 30 May 2002 11:39:37 +0200
+
+openoffice.org (1.0.0-3) unstable; urgency=low
+
+ * Chris Halls:
+ - Remove desktop integration from default setup so we can do it ourselves
+ as described in sections C-E of
+ http://installation.openoffice.org/how_to_repackage_oo.html
+ This removes the error messages reported by users during setup (except
+ for one about mathdoc.desktop - this is an upstream problem). It also
+ removes the menu entries in the KDE menus... ahem!
+ - Add a small README, describing how to get started and mentioning the
+ fact that some problems and workarounds are in TODO.Debian.
+ - debian/rules: OOo setup now returns exit code 0 when happy, so remove
+ the workaround
+ - Updated TODO tasks
+ * John M Cooper:
+ - Add mime support for native files
+
+ -- Chris Halls <chris.halls@gmx.de> Tue, 7 May 2002 14:38:17 +0200
+
+openoffice.org (1.0.0-2) unstable; urgency=low
+
+ * Peter Novodvorsky:
+ - Patch 014_fix_ashism_in_configure_in.diff for builing with /bin/sh=bash
+ * Chris Halls
+ - Add Conflicts: openoffice to make sure the older package is deinstalled
+ (thanks to Martin Quinson)
+ - Revert Java support for user setup to none
+
+ -- Chris Halls <chris.halls@gmx.de> Fri, 3 May 2002 11:37:18 +0200
+
+openoffice.org (1.0.0-1) unstable; urgency=low
+
+ * New upstream - now offically 1.0
+ + Updated icons
+ + Hyphenation added (By Peter!)
+ * Peter Novodvorsky:
+ - Build without gpc
+ * Chris Halls
+ - openoffice can be started with command line paramter, and gives basic
+ diagnostics if there is a problem with user setup
+ - MANIFEST files are now sorted with LC_ALL=C (Thanks, Bastian Kleineidam)
+ - Removed XFree references from README and TODO
+ - Add KDE .desktop files and icons again (still not fully correct)
+ - Use debhelper 4
+ - Use dh_shlibdeps to generate dependencies
+ - Generate configure using autoconf during build.
+ - Removed references to XFree86 packages
+ - Upstream tarball is .bz2 - saves 16MB source tarball size. Needs
+ Build-Dependency bzip2
+ * Jan-Hendrik Palic:
+ - Add TODO list. If you have problems, please check if these are already
+ mentioned here.
+
+ -- Chris Halls <chris.halls@gmx.de> Thu, 2 May 2002 12:12:06 +0200
+
+openoffice.org (0.641d.cvs20020424-1) unstable; urgency=low
+
+ * New Upstream and fully powerpc build without changes at debian/rules while
+ build :)
+ * put cp commands for copiing the libmozab2.so/libmozabdrv2.so
+ libs on i386 and not at powerpc
+ * deleted these to files from openoffice.org.files, so dh_movefiles should
+ not mentioned them!
+
+ -- Jan-Hendrik Palic <jan.palic@linux-debian.de> Wed, 24 Apr 2002 19:12:18 +0200
+
+openoffice.org (0.641d.cvs20020423-1) unstable; urgency=low
+
+ * Sync with upstream CVS
+ - patch 009_define_XSetIMValues.diff and 011_class_SwpHtStart_SAR.diff
+ fixed in upstream CVS
+ * Jan-Hendrik Palic:
+ - Adding some more changes for $ARCH=powerpc (build finished, but not the
+ packaging to deb)
+ - debian/script/patch.apply: apply $ARCH- specific patches
+ - added debian/patches/powerpc, it contents the patches for powerpc
+ - edited rules: dh_gencontrol for using $ARCH_DEPENDS
+ (I got this hint from PGI)
+ - added 150_no_mozab.diff and and 151_no_mozab2.diff fixing build and
+ setup process.
+ debian/scripts/{vars|vars.i386|vars.powerpc}
+ - moved the GCC3 Var from debian/scripts/vars to debian/script/vars.$ARCH
+ (PPC Build doesn't work with gcc-3.0 and will not be supported by gcc 3.1)
+ debian/control
+ - change build-deps (gcc,g++,libstd++2.10-dev) for building with gcc2 on
+ powerpc and gcc3 on i386.
+ - change archicitecture to only i386 and powerpc
+ - add powerpc manifest file
+ * Chris Halls
+ - Update Bugs and Description with bug report information
+ - debian/openoffice.org.files: use wildcards for filenames which differ
+ between powerpc and i386 builds
+ - First attempt at KDE menu items/icons/mime types packaging
+ (experimental)
+
+ -- Chris Halls <chris.halls@gmx.de> Wed, 24 Apr 2002 11:02:45 +0200
+
+openoffice.org (0.641d.cvs20020417-1) unstable; urgency=low
+
+ * sync with upstream CVS
+ * We have a .deb for i386!
+ * Chris Halls
+ - Remove 005_no_mozab.diff
+ - Generate diagnostic output during setup
+ - setup always returns error code 1 (duh!), so
+ ignore it and examine the logfiles for success
+ - debian/MANIFEST: update for this version
+ - debian/openoffice.*: rename to openoffice.org.*
+ - debian/control: change stlport dependency to remove warning
+ and update Uploaders
+ - debian/openoffice.org.links: update library versions
+
+ -- Chris Halls <chris.halls@gmx.de> Thu, 18 Apr 2002 18:15:31 +0200
+
+openoffice.org (0.641d.cvs20020415-2) unstable; urgency=low
+
+ * removed the libstdc from scp (thnx Jeff)
+ * the package name changed to openoffice.org, we change rules to :)
+ (thnx again Jeff)
+
+
+ -- Jan-Hendrik Palic <palic@billgotchy.de> Mon, 15 Apr 2002 18:30:30 +0200
+
+openoffice.org (0.641d.cvs20020412-1) unstable; urgency=low
+
+ * add jdkhome to debian/script/vars, because of changing jdk dirs on several
+ arches (Chris)
+ * uses gcc3 be default (Jan)
+ * fixed the hardlinked g++-3.0.4 includes from 3.0.1 to 3.0.4 (Chris)
+ * fixed build error (see patch 011) (Chris)
+ * enables the buildprozess with ccache (Chris)
+ * switches from csh to tcsh (Chris)
+ * clean up the 001 patch (Chris)
+ * fixes the gcc3 buildenv: (Chris)
+ set COMPCC and COMPPCXX variables -- patch 012
+ use these variables -- patch 013
+ ran autoconf for producing configure -- patch 901
+ patch 900 is to be removed
+ * add builddepend libgpcl-dev (thnx Joerg Friedrich)
+
+ -- Jan-Hendrik Palic <jan.palic@linux-debian.de> Thu, 11 Apr 2002 17:53:10 +0200
+
+openoffice.org (0.641d.cvs20020405-1) unstable; urgency=low
+
+ **mechanix@debian.org**
+ * Remove extraneous Build-Depends:; add debhelper, tcsh.
+ * Don't require gcc-2.95; not all arches have it.
+ * Change section until we don't need a non-free jdk anymore.
+ * Disable 000 (gpc) patch; build gpc internally.
+ * Update build system to real and uptodate DBS. Work around some problems
+ when bash is called as /bin/sh.
+
+ **jan.palic@linux-debian.org**
+ * removed the 000_dont_require_gpcl_sources.diff:
+ no depends of libgcpl anymore, but weed to copy gpc.{ch} to
+ $(SOURCE_TREE)/solver/$(BUILDNUM)/$(ARCHBUILDDIR)/inc/external/.
+ * added 002_remove_stlport_from_installation_set.diff:
+ don't build stlport,use libstlport4.0 from debian
+ * added 003_enable_dmake_clean_patch.diff:
+ implement a dmake clean, like make clean.
+ * added 004_zipdep_not_found.diff:
+ fixes the zipdeb not found errormessage.
+ * added 005_no_mozab.diff:
+ no build of the mozillacomponents including in the OpenOffice source.
+ * added 006_exception_sprecs.diff:
+ fixes some exceptions.
+ * added 007_gpc_include_patch.diff:
+ includes the nessesary gpc.{ch} files.[NONFREE]
+ * added 008_clk_tck_gcc-3.diff:
+ corrected the defines for gcc in $(oo_src)/tools/src/datetime/ttime.cxx
+ * added 900_gccV3_is_gcc-3.0.diff:
+ makes configure able to see gcc3 as gcc3
+ * addes 902_setupzip_r1_71_plus_GCCfix:
+ some fixes for building OpenOffice.org with gcc3
+ * Patch 002 is from nidd@debian.org
+ # Patch 003 is from the openoffice-dev mailinglist.
+ * Patches 004 - 006 are from Gwenole Beauchesne <gbeauchesne@mandrakesoft.com>
+ Copyright by Mandrake Soft.
+ * Patches 007 - 008/900-902 are from Chris Halls
+ * Added buildconflict with libgcj2-dev ... there are wrong includes related
+ to java.
+ * switched name to openoffice.org
+ * switched to ooo_stable1 release (641d)
+ * added xbase-clients/xfonts-base to build-depend, because of xauth-call in oo-xvfb-run
+ * added libstlport4.5_4.5.3.gcc3-1 to the builddepends .. to buil
+ OpenOffice.org with gcc3
+
+ **chris.halls@nikocity.de**
+ * splitted up the build process. You may build with debian/rules $MODULE
+ singel moduled of OpenOffice.
+ * chnaged from xvfb to xvfb-run, because there were some problems with
+ connecting the XServer ...
+ * changed under debian/local/scripts to oo-xvfb-run, which fixes the
+ no-screens-found-bug while building OpenOffice
+ * includes patch to accept gcc3 in ./configure
+ * includes patch for building includes stlport4 with gcc
+ -- Debian-OpenOffice-Team <debian-openoffice@lists.debian.org> Tue, 26 Feb 2002 13:18:36 +0100
+
+openoffice (0.641c-0.1) unstable; urgency=low
+
+ * new upstream release (next try)
+ * removed patches
+ 001_dump_filters.diff
+ 003_finish_build_quietly.diff
+ beause, the aren't needed anymore
+
+ -- Jan-Hendrik Palic <jan.palic@linux-debian.de> Tue, 29 Jan 2002 22:35:29 +0100
+
+openoffice (0.638c-1) unstable; urgency=low
+
+ * Initial release.
+
+ -- Peter Novodvorsky <nidd@debian.org> Tue, 23 Oct 2001 02:26:50 +0300
+
diff --git a/debian/control b/debian/control
new file mode 100644
index 000000000..b62c8c0c8
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,5161 @@
+Source: libreoffice
+Section: editors
+Priority: optional
+Maintainer: Debian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
+Uploaders: Rene Engelhard <rene@debian.org>, Chris Halls <halls@debian.org>
+Build-Depends: autoconf,
+ automake,
+ bc,
+ binutils (>= 2.37-9) [ppc64],
+ bison,
+ bzip2,
+ clang (>= 1:11) [armel],
+ clang (>= 1:12) [ppc64el],
+ clang (>= 1:8.0.1) [alpha amd64 arm64 armhf i386 ia64 kfreebsd-amd64 kfreebsd-i386 mipsel mips64el],
+ coinor-libcoinmp-dev (>= 1.8.3-3),
+ coinor-libcoinutils-dev (>= 2.10.14+repack1-1~),
+ cpp,
+ debhelper (>= 10.10.4),
+ debhelper-compat (= 12),
+ default-jdk (>= 2:1.9) [!hppa !hurd-i386 !kfreebsd-amd64 !kfreebsd-i386 !hurd-i386 !powerpcspe !s390 !sparc] <!nojava>,
+ dh-python <!nopython>,
+ dpkg-dev (>= 1.20.1),
+ dwz (>> 0.12-3),
+ firebird-dev (>= 3.0.0.32483.ds4-4) [!hppa !kfreebsd-amd64 !kfreebsd-i386 !mips64 !powerpcspe !s390 !sparc],
+ flex (>= 2.3.35),
+ fontforge-nox | fontforge,
+ g++ (>= 4:7),
+ gcc (>= 4:7),
+ gobject-introspection (>= 1.32.0),
+ gperf (>= 3.1),
+ java-common (>= 0.61) <!nojava>,
+ javahelper (>= 0.37~) <!nojava>,
+ junit4 (>= 4.8.2-2) [amd64 arm64] <!nocheck !nojava>,
+ libabsl-dev,
+ libabw-dev (<< 0.2~),
+ libabw-dev (>= 0.1),
+ libarchive-zip-perl [!hppa !kfreebsd-amd64 !kfreebsd-i386 !mips64 !powerpcspe !s390 !sparc] <!nojava>,
+ libavahi-client-dev,
+ libbase-java [!hppa !kfreebsd-amd64 !kfreebsd-i386 !mips64 !powerpcspe !s390 !sparc] <!nojava>,
+ libbluetooth-dev [linux-any],
+ libboost-date-time-dev (>= 1.71),
+ libboost-dev (>= 1.71),
+ libboost-filesystem-dev (>= 1.71),
+ libboost-iostreams-dev (>= 1.71),
+ libboost-locale-dev (>= 1.71),
+ libbox2d-dev,
+ libc0.1 (>= 2.10.2-7) [kfreebsd-any],
+ libcairo2-dev,
+ libcdr-dev (<< 0.2~),
+ libcdr-dev (>= 0.1),
+ libclucene-dev (>= 2.3.3.4-4.1),
+ libcups2-dev,
+ libcurl4-gnutls-dev (>= 7.68),
+ libdbus-1-dev (>= 0.60),
+ libdconf-dev (>= 0.15.2),
+ libdragonbox-dev (>= 1.1.3),
+ libe-book-dev (<< 0.2~),
+ libe-book-dev (>= 0.1),
+ libebook1.2-dev,
+ libeot-dev,
+ libepoxy-dev (>= 1.2),
+ libepubgen-dev (<< 0.2~),
+ libepubgen-dev (>= 0.1.0),
+ libetonyek-dev,
+ libetonyek-dev (<< 0.2~),
+ libexpat1-dev,
+ libexttextcat-dev (>= 3.4.1),
+ libfixmath-dev,
+ libflute-java (>= 1.1.6) [!hppa !kfreebsd-amd64 !kfreebsd-i386 !mips64 !powerpcspe !s390 !sparc] <!nojava>,
+ libfontconfig-dev,
+ libfonts-java (>= 1.1.6) [!hppa !kfreebsd-amd64 !kfreebsd-i386 !mips64 !powerpcspe !s390 !sparc] <!nojava>,
+ libformula-java (>= 1.1.7) [!hppa !kfreebsd-amd64 !kfreebsd-i386 !mips64 !powerpcspe !s390 !sparc] <!nojava>,
+ libfreehand-dev (<< 0.2~),
+ libfreehand-dev (>= 0.1),
+ libfreetype-dev (>= 2.8.1),
+ libgirepository1.0-dev (>= 1.32),
+ libgl-dev,
+ libglib2.0-dev (>= 2.38.0),
+ libglib2.0-dev (>= 2.4),
+ libglm-dev (>= 0.9.9~a2),
+ libgpg-error-dev,
+ libgpgme-dev,
+ libgpgmepp-dev (>= 1.14),
+ libgraphite2-dev (>= 0.9.3),
+ libgstreamer-plugins-base1.0-dev,
+ libgstreamer1.0-dev,
+ libgtk-3-dev (>= 3.20.0),
+ libharfbuzz-dev (>= 2.1.0),
+ libhsqldb1.8.0-java (>> 1.8.0.10) [!hppa !kfreebsd-amd64 !kfreebsd-i386 !mips64 !powerpcspe !s390 !sparc] <!nojava>,
+ libhunspell-dev (>= 1.1.5-2),
+ libhyphen-dev (>= 2.4),
+ libice-dev,
+ libicu-dev (>= 52),
+ libjpeg-dev,
+ libkf5config-dev,
+ libkf5coreaddons-dev,
+ libkf5i18n-dev,
+ libkf5kio-dev,
+ libkf5windowsystem-dev,
+ liblangtag-dev (>= 0.4),
+ liblayout-java (>= 0.2.10) [!hppa !kfreebsd-amd64 !kfreebsd-i386 !mips64 !powerpcspe !s390 !sparc] <!nojava>,
+ liblcms2-dev,
+ libldap2-dev,
+ libloader-java (>= 1.1.6) [!hppa !kfreebsd-amd64 !kfreebsd-i386 !mips64 !powerpcspe !s390 !sparc] <!nojava>,
+ liblockfile-bin,
+ liblpsolve55-dev (>= 5.5.0.13-5+b1),
+ libmariadb-dev,
+ libmdds-dev (<< 2.1~),
+ libmdds-dev (>= 2.0),
+ libmspub-dev (<< 0.2~),
+ libmspub-dev (>= 0.1),
+ libmwaw-dev (<< 0.4~),
+ libmwaw-dev (>= 0.3.1),
+ libmythes-dev (>= 2:1.2),
+ libnspr4-dev,
+ libnss3-dev (>= 3.12.3),
+ libnumbertext-dev (>= 1.0.6),
+ libodfgen-dev (<< 0.2~),
+ libodfgen-dev (>= 0.1),
+ libopenjp2-7-dev,
+ liborcus-dev (<< 0.18~),
+ liborcus-dev (>= 0.17.2),
+ libpagemaker-dev,
+ libpagemaker-dev (<< 0.1~),
+ libpentaho-reporting-flow-engine-java (>= 0.9.4) [!hppa !kfreebsd-amd64 !kfreebsd-i386 !mips64 !powerpcspe !s390 !sparc] <!nojava>,
+ libpng-dev (>= 1.6),
+ libpoppler-cpp-dev,
+ libpoppler-dev (>= 0.14.0),
+ libpoppler-private-dev,
+ libpq-dev (>= 9.0~),
+ libqt5x11extras5-dev (>= 5.6),
+ libqxp-dev,
+ libqxp-dev (<< 0.1~),
+ librdf0-dev (>= 1.0.16-2),
+ librepository-java (>= 1.1.6) [!hppa !kfreebsd-amd64 !kfreebsd-i386 !mips64 !powerpcspe !s390 !sparc] <!nojava>,
+ librevenge-dev,
+ librevenge-dev (<< 0.1~),
+ libsac-java [!hppa !kfreebsd-amd64 !kfreebsd-i386 !mips64 !powerpcspe !s390 !sparc] <!nojava>,
+ libsane-dev,
+ libserializer-java (>= 1.1.6) [!hppa !kfreebsd-amd64 !kfreebsd-i386 !mips64 !powerpcspe !s390 !sparc] <!nojava>,
+ libsm-dev,
+ libstaroffice-dev,
+ libstaroffice-dev (<< 0.1~),
+ libsuitesparse-dev (>= 1:3.4.0),
+ libtiff-dev,
+ libvisio-dev (<< 0.2~),
+ libvisio-dev (>= 0.1),
+ libwebp-dev,
+ libwpd-dev (<< 0.11~),
+ libwpd-dev (>= 0.10),
+ libwpg-dev (<< 0.4~),
+ libwpg-dev (>= 0.3),
+ libwps-dev (<< 0.5~),
+ libwps-dev (>= 0.4),
+ libx11-dev,
+ libx11-xcb-dev,
+ libxaw7-dev,
+ libxcb-icccm4-dev,
+ libxcb1-dev,
+ libxext-dev,
+ libxinerama-dev,
+ libxkbfile-dev,
+ libxml-java (>= 1.1.6) [!hppa !kfreebsd-amd64 !kfreebsd-i386 !mips64 !powerpcspe !s390 !sparc] <!nojava>,
+ libxml2-dev (>= 2.8),
+ libxml2-utils,
+ libxmlsec1-dev (>= 1.2.28),
+ libxrandr-dev,
+ libxrender-dev,
+ libxslt1-dev,
+ libxt-dev,
+ libxtst-dev,
+ libzmf-dev,
+ libzmf-dev (<< 0.1~),
+ libzxingcore-dev (>= 1.2.0),
+ llvm [alpha amd64 arm64 armel armhf i386 ia64 kfreebsd-amd64 kfreebsd-i386 mipsel mips64el ppc64el],
+ lp-solve (>= 5.5.0.13-5+b1),
+ maven-repo-helper,
+ pkg-config,
+ python3,
+ python3-dev (>= 3.3) <!nopython>,
+ python3-distutils <!nopython>,
+ qt5-qmake (>= 5.6),
+ qtbase5-dev (>= 5.6),
+ qtbase5-dev-tools (>= 5.6),
+ unixodbc-dev (>= 2.2.11),
+ unzip,
+ x11proto-render-dev,
+ xsltproc,
+ zip,
+ zlib1g-dev
+Build-Depends-Arch: firebird3.0-server-core [!hppa !kfreebsd-amd64 !kfreebsd-i386 !mips64 !powerpcspe !s390 !sparc] <!nocheck>,
+ fontconfig [!armel !kfreebsd-amd64 !kfreebsd-i386 !mips !mipsel !mips64el !s390x] <!nocheck>,
+ fonts-crosextra-carlito [!armel !kfreebsd-amd64 !kfreebsd-i386 !mips !mipsel !mips64el !s390x] <!nocheck>,
+ fonts-dejavu [!armel !kfreebsd-amd64 !kfreebsd-i386 !mips !mipsel !mips64el !s390x] <!nocheck>,
+ fonts-kacst [!armel !kfreebsd-amd64 !kfreebsd-i386 !mips !mipsel !mips64el !s390x] <!nocheck>,
+ fonts-liberation2 [!armel !kfreebsd-amd64 !kfreebsd-i386 !mips !mipsel !mips64el !s390x] <!nocheck>,
+ fonts-linuxlibertine [!armel !kfreebsd-amd64 !kfreebsd-i386 !mips !mipsel !mips64el !s390x] <!nocheck>,
+ fonts-noto-core [!armel !kfreebsd-amd64 !kfreebsd-i386 !mips !mipsel !mips64el !s390x] <!nocheck>,
+ gdb [!armel !kfreebsd-amd64 !kfreebsd-i386 !mips !mipsel !mips64el !s390x] <!nocheck>,
+ ghostscript [!armel !kfreebsd-amd64 !kfreebsd-i386 !mips !mipsel !mips64el !s390x] <!nocheck>,
+ gpg [!armel !kfreebsd-amd64 !kfreebsd-i386 !mips !mipsel !mips64el !s390x] <!nocheck>,
+ gpg-agent [!armel !kfreebsd-amd64 !kfreebsd-i386 !mips !mipsel !mips64el !s390x] <!nocheck>,
+ gpgconf [!armel !kfreebsd-amd64 !kfreebsd-i386 !mips !mipsel !mips64el !s390x] <!nocheck>,
+ hunspell-en-us [!armel !kfreebsd-amd64 !kfreebsd-i386 !mips !mipsel !mips64el !s390x] <!nocheck>,
+ hyphen-en-us [!armel !kfreebsd-amd64 !kfreebsd-i386 !mips !mipsel !mips64el !s390x] <!nocheck>,
+ imagemagick [!armel !kfreebsd-amd64 !kfreebsd-i386 !mips !mipsel !mips64el !s390x] <!nocheck>,
+ libcppunit-dev (>= 1.14) [!armel !kfreebsd-amd64 !kfreebsd-i386 !mips !mipsel !mips64el !s390x] <!nocheck>,
+ libcppunit-dev (>= 1.15.1-4) [alpha amd64 arm64 ia64 mips64 ppc64 ppc64el sparc64] <!nocheck>,
+ libe-book-dev (>= 0.1.2) [!armel !kfreebsd-amd64 !kfreebsd-i386 !mips !mipsel !mips64el !s390x] <!nocheck>,
+ libetonyek-dev (>= 0.1.8) [!armel !kfreebsd-amd64 !kfreebsd-i386 !mips !mipsel !mips64el !s390x] <!nocheck>,
+ libmwaw-dev (>= 0.3.21),
+ libnumbertext-data (>= 1.0.11) <!nocheck>,
+ libstaroffice-dev (>= 0.0.3) [!armel !kfreebsd-amd64 !kfreebsd-i386 !mips !mipsel !mips64el !s390x] <!nocheck>,
+ libwps-dev (>= 0.4.12) [!armel !kfreebsd-amd64 !kfreebsd-i386 !mips !mipsel !mips64el !s390x] <!nocheck>,
+ locales [!armel !kfreebsd-amd64 !kfreebsd-i386 !mips !mipsel !mips64el !s390x] <!nocheck>,
+ poppler-data [!armel !kfreebsd-amd64 !kfreebsd-i386 !mips !mipsel !mips64el !s390x] <!nocheck>,
+ pstoedit [!armel !kfreebsd-amd64 !kfreebsd-i386 !mips !mipsel !mips64el !s390x] <!nocheck>,
+ python3-lxml [!armel !kfreebsd-amd64 !kfreebsd-i386 !mips !mipsel !mips64el !s390x] <!nocheck !nopython>
+Build-Depends-Indep: ant (>= 1.7.0) [!hppa !kfreebsd-amd64 !kfreebsd-i386 !mips64 !powerpcspe !s390 !sparc] <!nojava>,
+ ant-optional (>= 1.7.0) [!hppa !kfreebsd-amd64 !kfreebsd-i386 !mips64 !powerpcspe !s390 !sparc] <!nojava>,
+ apparmor <!nocheck>,
+ dh-apparmor,
+ doxygen (>= 1.8.4) <!nodoc>,
+ gettext,
+ graphviz <!nodoc>,
+ junit4 (>= 4.8.2-2) <!nojava>,
+ libbsh-java <!nojava>,
+ node-normalize.css,
+ node-prismjs,
+ rdfind,
+ symlinks
+Build-Conflicts: amd-libopencl1,
+ fontconfig-config (= 2.14.1-1) <!nocheck>,
+ fontconfig-config (= 2.14.1-2) <!nocheck>,
+ fontconfig-config (= 2.14.1-3) <!nocheck>,
+ fonts-opensymbol <!nocheck>,
+ nvidia-glx-dev,
+ nvidia-glx-legacy-dev,
+ nvidia-libopencl1
+Standards-Version: 4.0.1
+Vcs-Git: https://salsa.debian.org/libreoffice-team/libreoffice/libreoffice.git
+Vcs-Browser: https://salsa.debian.org/libreoffice-team/libreoffice/libreoffice
+Bugs:
+Homepage: http://www.libreoffice.org
+
+Package: libreoffice
+Architecture: alpha amd64 arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 m68k mips mipsel mips64 mips64el powerpc powerpcspe ppc64 ppc64el s390 s390x sparc sparc64
+Section: metapackages
+Depends: libreoffice-base [!hppa !kfreebsd-amd64 !kfreebsd-i386 !mips64 !powerpcspe !s390 !sparc],
+ libreoffice-calc,
+ libreoffice-core (= ${binary:Version}),
+ libreoffice-draw,
+ libreoffice-impress,
+ libreoffice-math,
+ libreoffice-report-builder-bin [!hppa !kfreebsd-amd64 !kfreebsd-i386 !mips64 !powerpcspe !s390 !sparc],
+ libreoffice-writer,
+ ${misc:Depends},
+ ${pyuno-depends}
+Recommends: fonts-crosextra-caladea,
+ fonts-crosextra-carlito,
+ fonts-dejavu,
+ fonts-liberation,
+ fonts-liberation2,
+ fonts-linuxlibertine,
+ fonts-noto-core,
+ fonts-noto-extra,
+ fonts-noto-mono,
+ fonts-noto-ui-core,
+ fonts-sil-gentium-basic,
+ libreoffice-nlpsolver,
+ libreoffice-report-builder [!hppa !kfreebsd-amd64 !kfreebsd-i386 !mips64 !powerpcspe !s390 !sparc],
+ libreoffice-script-provider-bsh,
+ libreoffice-script-provider-js,
+ libreoffice-script-provider-python,
+ libreoffice-sdbc-mysql,
+ libreoffice-sdbc-postgresql,
+ libreoffice-wiki-publisher,
+ ${java-common-depends}
+Suggests: cups-bsd,
+ firefox-esr | thunderbird | firefox,
+ ghostscript,
+ gnupg,
+ gpa,
+ hunspell-dictionary,
+ hyphen-hyphenation-patterns,
+ imagemagick | graphicsmagick-imagemagick-compat,
+ libgl1,
+ libreoffice-gnome | libreoffice-plasma,
+ libreoffice-grammarcheck,
+ libreoffice-help (= ${help-l10n-virtual-version}),
+ libreoffice-l10n (= ${help-l10n-virtual-version}),
+ libreoffice-librelogo,
+ libxrender1,
+ myspell-dictionary,
+ mythes-thesaurus,
+ openclipart-libreoffice,
+ pstoedit,
+ unixodbc,
+ ${gstreamer-plugins-suggests},
+ ${java-runtime-depends},
+ ${libsane-suggests},
+ ${ooo-officebean-dep}
+Conflicts: libreoffice-dev (<= 1:5.0.3~rc1-2),
+ libreoffice-dev-doc (<= 1:5.0.3~rc1-2)
+Description: office productivity suite (metapackage)
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This metapackage installs all components of libreoffice:
+ * libreoffice-writer: Word processor
+ * libreoffice-calc: Spreadsheet
+ * libreoffice-impress: Presentation
+ * libreoffice-draw: Drawing
+ * libreoffice-base: Database
+ * libreoffice-math: Equation editor
+ It also recommends additional packages (e.g. fonts) in order to match an
+ upstream LibreOffice install as closely as possible.
+ .
+ You can extend the functionality of LibreOffice by installing these
+ packages:
+ * hunspell-*/myspell-*: Hunspell/Myspell dictionaries
+ for use with LibreOffice
+ * libreoffice-l10n-*: UI interface translation
+ * libreoffice-help-*: User help
+ * mythes-*: Thesauri for the use with LibreOffice
+ * hyphen-*: Hyphenation patterns for LibreOffice
+ * libreoffice-gtk(2|3): Gtk UI Plugin, GNOME File Picker support
+ * libreoffice-gnome: GIO backend
+ * unixodbc: ODBC database support
+ * cups-bsd: Allows LibreOffice to detect your CUPS printer queues
+ automatically
+ * libsane: Use your sane-supported scanner with LibreOffice
+ * libxrender1: Speed up display by using Xrender library
+ * libgl1: OpenGL support
+ * openclipart-libreoffice: Open Clip Art Gallery with LibreOffice index
+ files
+ * firefox-esr | thunderbird | firefox:
+ Mozilla profile with Certificates needed for XML Security...
+ * openjdk-11-jre | openjdk-8-jre | java8-runtime:
+ Java Runtime Environment for use with LibreOffice
+ * pstoedit / imagemagick / ghostscript: helper tools for EPS
+ * gstreamer0.10-plugins-*: GStreamer plugins for use with LibreOffices
+ media backend
+ * libpaper-utils: papersize detection support via paperconf
+ * bluez: Bluetooth support for Impress (slideshow remote control)
+
+Package: libreoffice-nogui
+Architecture: amd64 arm64 armhf i386 ppc64 ppc64el s390x
+Section: metapackages
+Depends: libreoffice-base-nogui [!hppa !kfreebsd-amd64 !kfreebsd-i386 !mips64 !powerpcspe !s390 !sparc],
+ libreoffice-calc-nogui,
+ libreoffice-core-nogui (= ${binary:Version}),
+ libreoffice-draw-nogui,
+ libreoffice-impress-nogui,
+ libreoffice-math-nogui,
+ libreoffice-report-builder-bin-nogui [!hppa !kfreebsd-amd64 !kfreebsd-i386 !mips64 !powerpcspe !s390 !sparc],
+ libreoffice-writer-nogui,
+ ${misc:Depends},
+ ${pyuno-depends}
+Recommends: libreoffice-script-provider-bsh,
+ libreoffice-script-provider-js,
+ libreoffice-script-provider-python,
+ libreoffice-sdbc-mysql,
+ libreoffice-sdbc-postgresql,
+ ${java-common-depends}
+Suggests: ghostscript,
+ gnupg,
+ gpa,
+ hunspell-dictionary,
+ hyphen-hyphenation-patterns,
+ imagemagick | graphicsmagick-imagemagick-compat,
+ libreoffice-grammarcheck,
+ myspell-dictionary,
+ mythes-thesaurus,
+ pstoedit,
+ unixodbc,
+ ${java-runtime-depends}
+Description: office productivity suite (metapackage, no GUI)
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This metapackage installs all components of libreoffice:
+ * libreoffice-writer: Word processor
+ * libreoffice-calc: Spreadsheet
+ * libreoffice-impress: Presentation
+ * libreoffice-draw: Drawing
+ * libreoffice-base: Database
+ * libreoffice-math: Equation editor
+ .
+ WITHOUT GUI SUPPORT.
+ .
+ This package is intended mostly for scripting needs.
+
+Package: libreoffice-l10n-za
+Section: metapackages
+Architecture: all
+Depends: libreoffice-l10n-af,
+ libreoffice-l10n-en-za,
+ libreoffice-l10n-nr,
+ libreoffice-l10n-nso,
+ libreoffice-l10n-ss,
+ libreoffice-l10n-st,
+ libreoffice-l10n-tn,
+ libreoffice-l10n-ts,
+ libreoffice-l10n-ve,
+ libreoffice-l10n-xh,
+ libreoffice-l10n-zu,
+ ${misc:Depends}
+Description: office productivity suite -- South African language packages
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package is a metapackage installing l10n packages for all 11 South
+ African languages.
+
+Package: libreoffice-l10n-in
+Section: metapackages
+Architecture: all
+Depends: libreoffice-l10n-as,
+ libreoffice-l10n-bn,
+ libreoffice-l10n-gu,
+ libreoffice-l10n-hi,
+ libreoffice-l10n-kn,
+ libreoffice-l10n-ml,
+ libreoffice-l10n-mr,
+ libreoffice-l10n-ne,
+ libreoffice-l10n-or,
+ libreoffice-l10n-pa-in,
+ libreoffice-l10n-ta,
+ libreoffice-l10n-te,
+ ${misc:Depends}
+Recommends: fonts-indic
+Description: office productivity suite -- Indic language packages
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package is a metapackage installing l10n packages for all available
+ indic languages.
+
+Package: libreoffice-core
+Architecture: alpha amd64 arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 m68k mips mipsel mips64 mips64el powerpc powerpcspe ppc64 ppc64el s390 s390x sparc sparc64
+Depends: fontconfig,
+ fonts-opensymbol (>= 2:102.12),
+ libreoffice-common (>> ${base-version}),
+ ure (>= 1:7.4.0~),
+ ${misc:Depends},
+ ${shlibs:Depends}
+Recommends: libpaper-utils, ${gstreamer-plugins-suggests}
+Breaks: browser-plugin-libreoffice,
+ libreoffice-avmedia-backend-gstreamer (<< ${binary:Version}),
+ libreoffice-base (<< ${binary:Version}),
+ libreoffice-calc (<< ${binary:Version}),
+ libreoffice-common (<< 1:5.4.1),
+ libreoffice-dev (<< ${binary:Version}),
+ libreoffice-draw (<< ${binary:Version}),
+ libreoffice-evolution (<< ${binary:Version}),
+ libreoffice-gnome (<< ${binary:Version}),
+ libreoffice-gtk2 (<< ${binary:Version}),
+ libreoffice-gtk3 (<< ${binary:Version}),
+ libreoffice-impress (<< ${binary:Version}),
+ libreoffice-kde4 (<< ${binary:Version}),
+ libreoffice-kde5 (<< ${binary:Version}),
+ libreoffice-kf5 (<< ${binary:Version}),
+ libreoffice-officebean (<< ${binary:Version}),
+ libreoffice-pdfimport (<< 1:5.4~),
+ libreoffice-qt5 (<< ${binary:Version}),
+ libreoffice-writer (<< ${binary:Version})
+Conflicts: libreoffice-avmedia-backend-vlc,
+ libreoffice-core-nogui,
+ libreoffice-filter-binfilter,
+ libreoffice-mysql-connector (<< 1:6.2.0~)
+# for bullseye, copied from libreoffice-common, see #985297
+ ,
+ libreoffice-base (<< 1:7.0.0~alpha~),
+ libreoffice-calc (<< 1:7.0.0~alpha~),
+ libreoffice-draw (<< 1:7.0.0~alpha~),
+ libreoffice-impress (<< 1:7.0.0~alpha~),
+ libreoffice-math (<< 1:7.0.0~alpha~),
+ libreoffice-report-builder (<< 1:7.0.0~alpha~),
+ libreoffice-writer (<< 1:7.0.0~alpha~),
+Replaces: libreoffice-avmedia-backend-gstreamer,
+ libreoffice-common (<< 1:6.3.0~rc1~),
+ libreoffice-core-nogui,
+ libreoffice-pdfimport (<< 1:5.4~)
+Description: office productivity suite -- arch-dependent files
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the architecture-dependent core files of
+ LibreOffice. See the libreoffice package for more information.
+
+Package: libreoffice-core-nogui
+Architecture: amd64 arm64 armhf i386 ppc64 ppc64el s390x
+Depends: fontconfig,
+ fonts-opensymbol (>= 2:102.12),
+ libreoffice-common (>> ${base-version}),
+ ure (>= 1:7.4.0~),
+ ${misc:Depends},
+ ${shlibs:Depends}
+Recommends: libpaper-utils
+Breaks: browser-plugin-libreoffice,
+ libreoffice-avmedia-backend-gstreamer (<< ${binary:Version}),
+ libreoffice-base (<< ${binary:Version}),
+ libreoffice-calc,
+ libreoffice-common (<< 1:5.4.1),
+ libreoffice-dev (<< ${binary:Version}),
+ libreoffice-draw (<< ${binary:Version}),
+ libreoffice-evolution (<< ${binary:Version}),
+ libreoffice-gnome (<< ${binary:Version}),
+ libreoffice-gtk2,
+ libreoffice-gtk3,
+ libreoffice-impress (<< ${binary:Version}),
+ libreoffice-kde4,
+ libreoffice-kde5,
+ libreoffice-kf5,
+ libreoffice-officebean (<< ${binary:Version}),
+ libreoffice-pdfimport (<< 1:5.4~),
+ libreoffice-qt5,
+ libreoffice-writer (<< ${binary:Version})
+Conflicts: libreoffice-avmedia-backend-vlc,
+ libreoffice-core,
+ libreoffice-filter-binfilter,
+ libreoffice-mysql-connector (<< 1:6.2.0~)
+Provides: libreoffice-bundled
+Replaces: libreoffice-avmedia-backend-gstreamer,
+ libreoffice-common (<< 1:6.3.0~rc1~),
+ libreoffice-core,
+ libreoffice-pdfimport (<< 1:5.4~)
+Description: office productivity suite -- arch-dependent files (no GUI variant)
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the architecture-dependent core files of
+ LibreOffice without GUI support for server-based or commandline usage of
+ LibreOffice.
+
+Package: libreoffice-common
+Architecture: all
+Depends: libreoffice-style-colibre,
+ ure,
+ ${misc:Depends},
+ ${numbertext-data-recommends}
+Suggests: libreoffice-style
+Recommends: fonts-liberation2 | ttf-mscorefonts-installer, apparmor (>= 2.13.1~),
+ poppler-data,
+ xdg-utils,
+ ${pyuno-depends},
+ ${textcat-data-recommends}
+Conflicts: broffice,
+ libreoffice-base (<< 1:7.0.0~alpha~),
+ libreoffice-base-nogui (<< 1:7.0.0~alpha~),
+ libreoffice-calc (<< 1:7.0.0~alpha~),
+ libreoffice-calc-nogui (<< 1:7.0.0~alpha~),
+ libreoffice-draw (<< 1:7.0.0~alpha~),
+ libreoffice-draw-nogui (<< 1:7.0.0~alpha~),
+ libreoffice-evolution (<< 1:7.0.0~alpha~),
+ libreoffice-filter-mobiledev,
+ libreoffice-gnome (<< 1:7.0.0~alpha~),
+ libreoffice-impress (<< 1:7.0.0~alpha~),
+ libreoffice-impress-nogui (<< 1:7.0.0~alpha~),
+ libreoffice-l10n (<< 7.0),
+ libreoffice-l10n-4.3,
+ libreoffice-l10n-4.4,
+ libreoffice-librelogo (<< 1:7.0.0~alpha~),
+ libreoffice-math (<< 1:7.0.0~alpha~),
+ libreoffice-math-nogui (<< 1:7.0.0~alpha~),
+ libreoffice-report-builder (<< 1:7.0.0~alpha~),
+ libreoffice-sdbc-postgresql (<< 1:7.0.0~alpha~),
+ libreoffice-wiki-publisher (<< 1.2.0+LibO5.4.0~rc2),
+ libreoffice-writer (<< 1:7.0.0~alpha~),
+ libreoffice-writer-nogui (<< 1:7.0.0~alpha~),
+ openoffice.org-unbundled,
+ python3-uno (<< 1:7.0.0~alpha~)
+Provides: libreoffice-l10n-en-us
+Breaks: libreoffice-base (<< 1:6.4.0~beta1-2~),
+ libreoffice-core (<< 1:6.4.2~rc1),
+ libreoffice-core (<< 4:${oover}~),
+ libreoffice-core (>= 4:${next-oover}~),
+ libreoffice-core-nogui (<< 4:${oover}~),
+ libreoffice-core-nogui (>= 4:${next-oover}~),
+ libreoffice-evolution (<< 1:7.0.0~alpha),
+ libreoffice-gnome (<< 1:7.0.0~alpha),
+ libreoffice-help (<< 5.4),
+ libreoffice-help-5.2,
+ libreoffice-l10n (<< 7.0),
+ libreoffice-librelogo (<< 1:7.0.0~alpha),
+ libreoffice-report-builder (<< 1:7.0.0~alpha),
+ libreoffice-sdbc-postgresql (<< 1:7.0.0~alpha),
+ libreoffice-style-andromeda (<< 1:${oover}~),
+ libreoffice-style-crystal (<< 1:${oover}~),
+ libreoffice-style-crystal (>= 1:${next-oover}~),
+ libreoffice-style-galaxy (<< 1:${oover}~),
+ libreoffice-style-galaxy (>= 1:${next-oover}~),
+ libreoffice-style-hicontrast (<< 1:${oover}~),
+ libreoffice-style-hicontrast (>= 1:${next-oover}~),
+ libreoffice-style-tango,
+ libreoffice-writer2latex (<< 1.0.2-9),
+ libreoffice-writer2xhtml (<< 1.0.2-9),
+ openclipart-libreoffice (<= 1:0.18+dfsg-17),
+ python3-uno (<< 1:7.0.0~alpha)
+Replaces: libreoffice-base (<< 1:6.4.0~beta1-2~),
+ libreoffice-pdfimport (<< 1:5.4~),
+ openclipart-libreoffice (<= 1:0.18+dfsg-17)
+Description: office productivity suite -- arch-independent files
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the architecture-independent files of
+ LibreOffice.
+
+Package: libreoffice-java-common
+Architecture: all
+Depends: liblibreoffice-java,
+ libreoffice-common,
+ libunoloader-java,
+ ure-java,
+ ${java:Depends},
+ ${misc:Depends}
+Breaks: libunoil-java (<< 1:6.4.0~rc1-6)
+Replaces: libunoil-java (<< 1:6.4.0~rc1-6)
+Description: office productivity suite -- arch-independent Java support files
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the architecture-independent files of
+ the Java support for LibreOffice (Java classes, scripts, config snippets).
+
+Package: libreoffice-help-common
+Architecture: all
+Depends: libreoffice-common, ${help-common-depends}, ${misc:Depends}
+Breaks: libreoffice-common (<< 1:6.1.0~alpha1-1)
+Replaces: libreoffice-common (<< 1:6.1.0~alpha1-1)
+Description: office productivity suite -- common files for LibreOffice help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the common files (e.g. language-independent, media) files
+ for the LibreOffice Help.
+
+Package: libreoffice-writer
+Architecture: alpha amd64 arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 m68k mips mipsel mips64 mips64el powerpc powerpcspe ppc64 ppc64el s390 s390x sparc sparc64
+Depends: libreoffice-base-core (= ${binary:Version}) [!hppa !kfreebsd-amd64 !kfreebsd-i386 !mips64 !powerpcspe !s390 !sparc],
+ libreoffice-common (>= 1:7.0.0~alpha~),
+ libreoffice-core (= ${binary:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends}
+Recommends: libreoffice-math
+Suggests: fonts-crosextra-caladea,
+ fonts-crosextra-carlito,
+ libreoffice-base,
+ ${java-common-depends},
+ ${java-runtime-depends}
+Replaces: libreoffice-common (<< 1:6.4.2~rc1~)
+Breaks: libreoffice-common (<< 1:6.4.2~rc1~)
+Description: office productivity suite -- word processor
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the wordprocessor component for LibreOffice.
+
+Package: libreoffice-writer-nogui
+Architecture: amd64 arm64 armhf i386 ppc64 ppc64el s390x
+Depends: libreoffice-base-core (= ${binary:Version}) [!hppa !kfreebsd-amd64 !kfreebsd-i386 !mips64 !powerpcspe !s390 !sparc],
+ libreoffice-common (>= 1:7.0.0~alpha~),
+ libreoffice-core-nogui (= ${binary:Version}) | libreoffice-core (= ${binary:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends}
+Recommends: libreoffice-math-nogui
+Suggests: fonts-crosextra-caladea,
+ fonts-crosextra-carlito,
+ libreoffice-base,
+ ${java-common-depends},
+ ${java-runtime-depends}
+Replaces: libreoffice-common (<< 1:6.4.2~rc1~), libreoffice-writer
+Breaks: libreoffice-common (<< 1:6.4.2~rc1~)
+Conflicts: libreoffice-writer
+Description: office productivity suite -- word processor (no GUI variant)
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the wordprocessor component for LibreOffice.
+
+Package: libreoffice-calc
+Architecture: alpha amd64 arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 m68k mips mipsel mips64 mips64el powerpc powerpcspe ppc64 ppc64el s390 s390x sparc sparc64
+Depends: libreoffice-base-core (= ${binary:Version}) [!hppa !kfreebsd-amd64 !kfreebsd-i386 !mips64 !powerpcspe !s390 !sparc],
+ libreoffice-common (>= 1:7.0.0~alpha~),
+ libreoffice-core (= ${binary:Version}),
+ ${lpsolve-dep},
+ ${misc:Depends},
+ ${shlibs:Depends}
+Suggests: ocl-icd-libopencl1 | mesa-opencl-icd | beignet-opencl-icd
+Replaces: libreoffice-common (<< 1:6.4.2~rc1~)
+Breaks: libreoffice-common (<< 1:6.4.2~rc1~)
+Description: office productivity suite -- spreadsheet
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the spreadsheet component for LibreOffice.
+
+Package: libreoffice-calc-nogui
+Architecture: amd64 arm64 armhf i386 ppc64 ppc64el s390x
+Depends: libreoffice-base-core (= ${binary:Version}) [!hppa !kfreebsd-amd64 !kfreebsd-i386 !mips64 !powerpcspe !s390 !sparc],
+ libreoffice-common (>= 1:7.0.0~alpha~),
+ libreoffice-core-nogui (= ${binary:Version}) | libreoffice-core (= ${binary:Version}),
+ ${lpsolve-dep},
+ ${misc:Depends},
+ ${shlibs:Depends}
+Replaces: libreoffice-calc, libreoffice-common (<< 1:6.4.2~rc1~)
+Breaks: libreoffice-common (<< 1:6.4.2~rc1~)
+Conflicts: libreoffice-calc
+Description: office productivity suite -- spreadsheet (no GUI variant)
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the spreadsheet component for LibreOffice
+ for use with libreoffice-core-nogui.
+
+Package: libreoffice-impress
+Architecture: alpha amd64 arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 m68k mips mipsel mips64 mips64el powerpc powerpcspe ppc64 ppc64el s390 s390x sparc sparc64
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ libreoffice-core (= ${binary:Version}),
+ libreoffice-draw (= ${binary:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends}
+Replaces: libreoffice-common (<< 1:6.4.2~rc1~),
+ libreoffice-ogltrans (<< 1:6.1.4-2~)
+Conflicts: libreoffice-ogltrans (<< 1:6.1.4-2~)
+Provides: libreoffice-ogltrans
+Breaks: libreoffice-common (<< 1:6.4.2~rc1~)
+Suggests: bluez
+Description: office productivity suite -- presentation
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the presentation component for LibreOffice.
+
+Package: libreoffice-impress-nogui
+Architecture: amd64 arm64 armhf i386 ppc64 ppc64el s390x
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ libreoffice-core-nogui (= ${binary:Version}) | libreoffice-core (= ${binary:Version}),
+ libreoffice-draw-nogui (= ${binary:Version}) | libreoffice-draw (= ${binary:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends}
+Replaces: libreoffice-common (<< 1:6.4.2~rc1~), libreoffice-impress
+Conflicts: libreoffice-impress, libreoffice-ogltrans (<< 1:6.1.4-2~)
+Breaks: libreoffice-common (<< 1:6.4.2~rc1~)
+Suggests: bluez
+Description: office productivity suite -- presentation (no GUI variant)
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the presentation component for LibreOffice.
+
+Package: libreoffice-draw
+Architecture: alpha amd64 arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 m68k mips mipsel mips64 mips64el powerpc powerpcspe ppc64 ppc64el s390 s390x sparc sparc64
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ libreoffice-core (= ${binary:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends}
+Replaces: libreoffice-common (<< 1:6.4.2~rc1~),
+ libreoffice-core (<< 1:6.4.1~rc1-3),
+ libreoffice-impress (<< 1:5.2.0-2)
+Breaks: libreoffice-common (<< 1:6.4.2~rc1~),
+ libreoffice-core (<< 1:6.4.1~rc1-3),
+ libreoffice-impress (<< 1:5.2.0-2)
+Description: office productivity suite -- drawing
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the drawing component for LibreOffice.
+
+Package: libreoffice-draw-nogui
+Architecture: amd64 arm64 armhf i386 ppc64 ppc64el s390x
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ libreoffice-core-nogui (= ${binary:Version}) | libreoffice-core (= ${binary:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends}
+Replaces: libreoffice-common (<< 1:6.4.2~rc1~),
+ libreoffice-draw,
+ libreoffice-impress (<< 1:5.2.0-2)
+Breaks: libreoffice-common (<< 1:6.4.2~rc1~), libreoffice-impress (<< 1:5.2.0-2)
+Conflicts: libreoffice-draw
+Description: office productivity suite -- drawing (no GUI variant)
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the drawing component for LibreOffice.
+
+Package: libreoffice-math
+Architecture: alpha amd64 arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 m68k mips mipsel mips64 mips64el powerpc powerpcspe ppc64 ppc64el s390 s390x sparc sparc64
+Depends: fonts-opensymbol (>= 2:102.11),
+ libreoffice-common (>= 1:7.0.0~alpha~),
+ libreoffice-core (= ${binary:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends}
+Replaces: libreoffice-common (<< 1:6.4.2~rc1~)
+Breaks: libreoffice-common (<< 1:6.4.2~rc1~)
+Description: office productivity suite -- equation editor
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the equation editor component for LibreOffice.
+
+Package: libreoffice-math-nogui
+Architecture: amd64 arm64 armhf i386 ppc64 ppc64el s390x
+Depends: fonts-opensymbol (>= 2:102.11),
+ libreoffice-common (>= 1:7.0.0~alpha~),
+ libreoffice-core-nogui (= ${binary:Version}) | libreoffice-core (= ${binary:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends}
+Replaces: libreoffice-common (<< 1:6.4.2~rc1~), libreoffice-math
+Conflicts: libreoffice-common (<< 1:6.4.2~rc1~), libreoffice-math
+Description: office productivity suite -- equation editor (no GUI variant)
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the equation editor component for LibreOffice.
+
+Package: libreoffice-base-core
+Architecture: alpha amd64 arm64 armel armhf i386 ia64 m68k mipsel mips64el powerpc ppc64 ppc64el s390x sparc64 mips
+Depends: libreoffice-core-nogui (= ${binary:Version}) | libreoffice-core (= ${binary:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends}
+Suggests: libreoffice-base
+Replaces: libreoffice-base-drivers (<< 1:6.1.1~rc1-2)
+Description: office productivity suite -- shared library
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains common libraries of LibreOffice Base used by
+ Base, Writer and Calc.
+ .
+ If you need full Base functionality (or actual database drivers), please
+ install libreoffice-base (and/or libreoffice-base-drivers and/o
+ libreoffice-sdbc-*).
+
+Package: libreoffice-base
+Architecture: alpha amd64 arm64 armel armhf i386 ia64 m68k mipsel mips64el powerpc ppc64 ppc64el s390x sparc64 mips
+Section: database
+Pre-Depends: dpkg (>= 1.19.1)
+Depends: libreoffice-base-core (= ${binary:Version}),
+ libreoffice-base-drivers (= ${binary:Version}),
+ libreoffice-common (>= 1:7.0.0~alpha~),
+ libreoffice-core (= ${binary:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends}
+Suggests: libreoffice-report-builder, python3-uno, unixodbc
+Recommends: libreoffice-writer, ${java-common-depends}, ${java-runtime-depends}
+Replaces: libreoffice-common (<< 1:6.4.2~rc1~)
+Breaks: libreoffice-common (<< 1:6.4.2~rc1~)
+Description: office productivity suite -- database
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the database component for LibreOffice.
+
+Package: libreoffice-base-nogui
+Architecture: amd64 arm64 armhf i386 ppc64 ppc64el s390x
+Section: database
+Depends: libreoffice-base-core (= ${binary:Version}),
+ libreoffice-base-drivers (= ${binary:Version}),
+ libreoffice-common (>= 1:7.0.0~alpha~),
+ libreoffice-core-nogui (= ${binary:Version}) | libreoffice-core (= ${binary:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends}
+Suggests: libreoffice-report-builder, python3-uno, unixodbc
+Recommends: libreoffice-writer, ${java-common-depends}, ${java-runtime-depends}
+Replaces: libreoffice-base, libreoffice-common (<< 1:6.4.2~rc1~)
+Breaks: libreoffice-common (<< 1:6.4.2~rc1~)
+Conflicts: libreoffice-base
+Description: office productivity suite -- database (no GUI variant)
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the database component for LibreOffice.
+
+Package: libreoffice-style-breeze
+Architecture: all
+Enhances: libreoffice-core
+Depends: libreoffice-style-colibre, ${misc:Depends}
+Suggests: breeze-icon-theme
+Provides: libreoffice-style
+Recommends: libreoffice-common
+Description: office productivity suite -- Breeze symbol style
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the "breeze" symbol style, default style for KDE 5.
+
+Package: libreoffice-style-colibre
+Architecture: all
+Enhances: libreoffice-core
+Depends: ${misc:Depends}
+Provides: libreoffice-style
+Recommends: libreoffice-common
+Description: office productivity suite -- colibre symbol style
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the "colibre" symbol style - a icon theme
+ which follow Microsoft(R) Offices color scheme.
+
+Package: libreoffice-style-sifr
+Architecture: all
+Enhances: libreoffice-core
+Depends: libreoffice-style-breeze, ${misc:Depends}
+Provides: libreoffice-style, libreoffice-style-hicontrast
+Replaces: libreoffice-style-hicontrast
+Conflicts: libreoffice-style-hicontrast
+Recommends: libreoffice-common
+Description: office productivity suite -- Sifr symbol style
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the "sifr" symbol style (an adaption of the Gnome
+ symbolic theme), needs to be manually enabled in the LibreOffice option
+ menu.
+
+Package: libreoffice-style-elementary
+Architecture: all
+Depends: libreoffice-style-colibre, ${misc:Depends}
+Enhances: libreoffice-core
+Provides: libreoffice-style
+Recommends: libreoffice-common
+Description: office productivity suite -- Elementary symbol style
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the "elementary" symbol style, default style
+ for GTK+/Gnome.
+
+Package: libreoffice-style-karasa-jaga
+Architecture: all
+Depends: ${misc:Depends}
+Enhances: libreoffice-core
+Provides: libreoffice-style
+Recommends: libreoffice-common
+Description: office productivity suite -- Karasa Jaga symbol style
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the "karasa_jaga" symbol style.
+
+Package: libreoffice-style-sukapura
+Architecture: all
+Depends: ${misc:Depends}
+Enhances: libreoffice-core
+Provides: libreoffice-style
+Recommends: libreoffice-common
+Description: office productivity suite -- Sukapura symbol style
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the "sukapura" symbol style.
+
+Package: libreoffice-gnome
+Architecture: alpha amd64 arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 m68k mips mipsel mips64 mips64el powerpc powerpcspe ppc64 ppc64el s390 s390x sparc sparc64
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ libreoffice-core (= ${binary:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends}
+Recommends: libreoffice-style-elementary, ${gnome-gtk-recommends}
+Suggests: libreoffice-evolution, seahorse
+Section: gnome
+Enhances: libreoffice
+Provides: libreoffice-gtk-gnome
+Replaces: libreoffice-gtk (<< 1:5.0.0~rc2-1), libreoffice-gtk3 (<< 1:7.2.0~)
+Conflicts: libreoffice-gtk3 (<< 1:7.2.0~)
+Description: office productivity suite -- GNOME integration
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the GIO support.
+ .
+ You can extend the functionality of this by installing these packages:
+ .
+ * libreoffice-evolution: Evolution addressbook support
+ * evolution
+
+Package: python3-uno
+Section: python
+Architecture: alpha amd64 arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 m68k mips mipsel mips64 mips64el powerpc powerpcspe ppc64 ppc64el s390 s390x sparc sparc64
+Enhances: libreoffice
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ libreoffice-core-nogui (= ${binary:Version}) | libreoffice-core (= ${binary:Version}),
+ ${misc:Depends},
+ ${python3:Depends},
+ ${shlibs:Depends}
+Conflicts: python-uno
+Replaces: libreoffice-common (<< 1:4.4.0~beta2),
+ libreoffice-core (= 1:4.3.0~beta1-1)
+Build-Profiles: <!nopython>
+Description: Python-UNO bridge
+ The Python-UNO bridge allows use of the standard LibreOffice API
+ with the Python scripting language. It additionally allows
+ others to develop UNO components in Python, thus Python UNO components
+ may be run within the LibreOffice process and can be called from C++
+ or the built in StarBasic scripting language.
+Homepage: http://udk.openoffice.org/python/python-bridge.html
+
+Package: libreoffice-script-provider-python
+Architecture: all
+Section: python
+Depends: libreoffice-common,
+ libreoffice-core-nogui | libreoffice-core,
+ ${misc:Depends},
+ ${python3:Depends},
+ ${pyuno-depends}
+Build-Profiles: <!nopython>
+Description: Python script support provider for LibreOffice scripting framework
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ The Scripting Framework allows LibreOffice users to write and run macros
+ in multiple languages including LibreOffice Basic, Python, Java, BeanShell
+ and JavaScript. These macros can then be assigned to menus, toolbars,
+ keyboard shortcuts, events and embedded objects.
+ .
+ This package contains the script provider to support Python.
+
+Package: libreoffice-script-provider-bsh
+Architecture: all
+Section: java
+Depends: liblibreoffice-java,
+ libreoffice-common,
+ libreoffice-core-nogui | libreoffice-core,
+ ${java-common-depends},
+ ${java-runtime-depends},
+ ${java:Depends},
+ ${misc:Depends}
+Description: BeanShell script support provider for LibreOffice scripting framework
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ The Scripting Framework allows LibreOffice users to write and run macros
+ in multiple languages including LibreOffice Basic, Python, Java, BeanShell
+ and JavaScript. These macros can then be assigned to menus, toolbars,
+ keyboard shortcuts, events and embedded objects.
+ .
+ This package contains the script provider to support BeanShell.
+
+Package: libreoffice-script-provider-js
+Architecture: all
+Section: web
+Depends: liblibreoffice-java,
+ libreoffice-common,
+ libreoffice-core-nogui | libreoffice-core,
+ ${java-common-depends},
+ ${java-runtime-depends},
+ ${java:Depends},
+ ${misc:Depends}
+Description: JavaScript script support provider for LibreOffice scripting framework
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ The Scripting Framework allows LibreOffice users to write and run macros
+ in multiple languages including LibreOffice Basic, Python, Java, BeanShell
+ and JavaScript. These macros can then be assigned to menus, toolbars,
+ keyboard shortcuts, events and embedded objects.
+ .
+ This package contains the script provider to support JavaScript.
+
+Package: libreoffice-sdbc-hsqldb
+Depends: libreoffice-core-nogui | libreoffice-core,
+ ${java-common-depends},
+ ${java-runtime-depends},
+ ${java:Depends},
+ ${misc:Depends},
+ ${shlibs:Depends}
+Architecture: alpha amd64 arm64 armel armhf i386 ia64 m68k mipsel mips64el powerpc ppc64 ppc64el s390x sparc64 mips
+Section: database
+Enhances: libreoffice-base-drivers
+Description: HSQLDB SDBC driver for LibreOffice
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ The HSQLDB SDBC Driver allows one to use the HSQLDB embedded database from
+ LibreOffice without any wrapper layer such as ODBC or JDBC.
+
+Package: libreoffice-sdbc-mysql
+Section: database
+Architecture: alpha amd64 arm64 armel armhf i386 ia64 m68k mipsel mips64el powerpc ppc64 ppc64el s390x sparc64 mips
+Depends: libreoffice-core-nogui | libreoffice-core,
+ ${misc:Depends},
+ ${shlibs:Depends}
+Suggests: default-mysql-server | virtual-mysql-server
+Description: MariaDB/MySQL SDBC driver for LibreOffice
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ The MariaDB/MySQL driver allows one to use the MariaDB or MySQL
+ database from LibreOffice without any wrapper layer such as ODBC or JDBC.
+
+Package: libreoffice-base-drivers
+Depends: libreoffice-core-nogui | libreoffice-core,
+ ${misc:Depends},
+ ${shlibs:Depends}
+Architecture: alpha amd64 arm64 armel armhf i386 ia64 m68k mipsel mips64el powerpc ppc64 ppc64el s390x sparc64 mips
+Section: database
+Suggests: libjtds-java,
+ libreoffice-sdbc-mysql | libmyodbc | libmariadb-java,
+ libreoffice-sdbc-postgresql | odbc-postgresql | libpg-java,
+ libsqliteodbc | tdsodbc | odbc-mdbtools
+Recommends: libreoffice-sdbc-hsqldb [alpha amd64 arm64 armel armhf i386 ia64 m68k mipsel mips64el powerpc ppc64 ppc64el s390x sparc64 mips],
+ ${base-firebird-recommends}
+Replaces: libreoffice-base (<< 1:4.3.0-3), libreoffice-core (<< 1:6.2.0~beta1~)
+Breaks: libreoffice-base (<< 1:4.3.0-3)
+Description: Database connectivity drivers for LibreOffice
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the database connectivity drivers used by LibreOffices
+ database functionality:
+ - ODBC
+ - JDBC
+ - dBase
+ - Calc
+ - Flat files
+ .
+ You can extend this by installing:
+ .
+ * unixodbc: ODBC database support
+ * libmyodbc | odbc-postgresql | libsqliteodbc | tdsodbc | odbc-mdbtools: ODBC
+ drivers for:
+ - MySQL
+ - PostgreSQL
+ - SQLite
+ - MS SQL / Sybase SQL
+ - *.mdb (JET / MS Access)
+ * libmariadb-java | libpg-java | libjtds-java: JDBC Drivers
+ for:
+ - MySQL/MariaDB
+ - PostgreSQL
+ - MS SQL Server and Sybase
+ * libreoffice-sdbc-hsqldb: embedded HSQLDB SDBC Driver
+ * libreoffice-sdbc-firebird: Firebird SDBC Driver
+ * libreoffice-sdbc-postgresql: PostgreSQL SDBC Driver
+ * libreoffice-sdbc-mysql: MySQL/MariaDB SDBC Driver
+
+Package: python3-access2base
+Section: python
+Architecture: all
+Homepage: http://www.access2base.com/access2base.html
+Depends: libreoffice-base,
+ libreoffice-common (>= 1:6.4.0~beta1-2~),
+ python3-uno,
+ ${misc:Depends},
+ ${python3:Depends}
+Replaces: libreoffice-base
+Description: interface between Python and the LibreOffice Access2Base library
+ Access2Base is a LibreOffice/OpenOffice Basic library of macros for
+ (business or personal) application developers and advanced users.
+ .
+ Their syntax and their meaning are directly inspired by MSAccess.
+ The macros are callable from
+ - a LibreOffice / OpenOffice Base application,
+ - any LibreOffice / OpenOffice document wanting to access data
+ stored in databases.
+ .
+ This package contains an interface between Python (user) scripts
+ and Access2Base.
+
+Package: libofficebean-java
+Section: java
+Depends: liblibreoffice-java,
+ ${java-runtime-depends},
+ ${java:Depends},
+ ${misc:Depends},
+ ${shlibs:Depends}
+Recommends: libreoffice-core-nogui | libreoffice-core
+Architecture: alpha amd64 arm64 armel armhf i386 ia64 m68k mipsel mips64el powerpc ppc64 ppc64el s390x sparc64 mips
+Replaces: libreoffice-officebean (<< 1:6.4.0~rc2-1)
+Breaks: libreoffice-officebean (<< 1:6.4.0~rc2-1)
+Description: generic Java Bean wrapper for LibreOffice components
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the Java library for the LibreOffice Office Bean
+ for embedding LibreOffice in custom Java applications.
+
+Package: libreoffice-l10n-af
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-af | myspell-dictionary-af,
+ hyphen-af,
+ libreoffice-grammarcheck-af,
+ libreoffice-help-af,
+ mythes-af
+Description: office productivity suite -- Afrikaans language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Afrikaans.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-am
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-am | myspell-dictionary-am,
+ hyphen-am,
+ libreoffice-grammarcheck-am,
+ libreoffice-help-am,
+ mythes-am
+Description: office productivity suite -- Amharic language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Amharic.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-ar
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: fonts-hosny-amiri,
+ fonts-hosny-thabit,
+ fonts-kacst,
+ fonts-sil-scheherazade,
+ libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-ar | myspell-dictionary-ar,
+ hyphen-ar,
+ libreoffice-grammarcheck-ar,
+ libreoffice-help-ar,
+ mythes-ar
+Description: office productivity suite -- Arabic language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Arabic.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-as
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales (>= 2.3.6.ds1-1) | locales-all (>= 2.3.6.ds1-1),
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-as | myspell-dictionary-as,
+ hyphen-as,
+ libreoffice-grammarcheck-as,
+ libreoffice-help-as,
+ mythes-as
+Description: office productivity suite -- Assamese language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Assamese.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-ast
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-ast | myspell-dictionary-ast,
+ hyphen-ast,
+ libreoffice-grammarcheck-ast,
+ libreoffice-help-ast,
+ mythes-ast
+Description: office productivity suite -- Asturian language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Asturian.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-be
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-be | myspell-dictionary-be,
+ hyphen-be,
+ libreoffice-grammarcheck-be,
+ libreoffice-help-be,
+ mythes-be
+Description: office productivity suite -- Belarusian language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Belarusian.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-bg
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-bg | myspell-dictionary-bg,
+ hyphen-bg,
+ libreoffice-grammarcheck-bg,
+ libreoffice-help-bg,
+ mythes-bg
+Description: office productivity suite -- Bulgarian language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Bulgarian.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-bn
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: fonts-beng, libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-bn | myspell-dictionary-bn,
+ hyphen-bn,
+ libreoffice-grammarcheck-bn,
+ libreoffice-help-bn,
+ mythes-bn
+Description: office productivity suite -- Bengali language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Bengali.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-br
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-br | myspell-dictionary-br,
+ hyphen-br,
+ libreoffice-grammarcheck-br,
+ libreoffice-help-br,
+ mythes-br
+Description: office productivity suite -- Breton language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Breton.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-bs
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-bs | myspell-dictionary-bs,
+ hyphen-bs,
+ libreoffice-grammarcheck-bs,
+ libreoffice-help-bs,
+ mythes-bs
+Description: office productivity suite -- Bosnian language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Bosnian.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-ca
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-ca | myspell-dictionary-ca,
+ hyphen-ca,
+ libreoffice-grammarcheck-ca,
+ libreoffice-help-ca,
+ mythes-ca
+Description: office productivity suite -- Catalan language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Catalan.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-cs
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-cs | myspell-dictionary-cs,
+ hyphen-cs,
+ libreoffice-grammarcheck-cs,
+ libreoffice-help-cs,
+ mythes-cs
+Description: office productivity suite -- Czech language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Czech.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-cy
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-cy | myspell-dictionary-cy,
+ hyphen-cy,
+ libreoffice-grammarcheck-cy,
+ libreoffice-help-cy,
+ mythes-cy
+Description: office productivity suite -- Welsh language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Welsh.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-da
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-da | myspell-dictionary-da,
+ hyphen-da,
+ libreoffice-grammarcheck-da,
+ libreoffice-help-da,
+ mythes-da
+Description: office productivity suite -- Danish language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Danish.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-de
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-de | myspell-dictionary-de,
+ hyphen-de,
+ libreoffice-grammarcheck-de,
+ libreoffice-help-de,
+ mythes-de
+Description: office productivity suite -- German language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ German.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-dz
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: fonts-dzongkha, libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-dz | myspell-dictionary-dz,
+ hyphen-dz,
+ libreoffice-grammarcheck-dz,
+ libreoffice-help-dz,
+ mythes-dz
+Description: office productivity suite -- Dzongkha language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Dzongkha.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-el
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-el | myspell-dictionary-el,
+ hyphen-el,
+ libreoffice-grammarcheck-el,
+ libreoffice-help-el,
+ mythes-el
+Description: office productivity suite -- Greek language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Greek.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-en-gb
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-en-gb | myspell-dictionary-en-gb,
+ hyphen-en-gb,
+ libreoffice-grammarcheck-en-gb,
+ libreoffice-help-en-gb,
+ mythes-en-gb
+Description: office productivity suite -- English_british language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ English_british.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-en-za
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-en-za | myspell-dictionary-en-za,
+ hyphen-en-za,
+ libreoffice-grammarcheck-en-za,
+ libreoffice-help-en-za,
+ mythes-en-za
+Description: office productivity suite -- English_southafrican language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ English_southafrican.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-eo
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-eo | myspell-dictionary-eo,
+ hyphen-eo,
+ libreoffice-grammarcheck-eo,
+ libreoffice-help-eo,
+ mythes-eo
+Description: office productivity suite -- Esperanto language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Esperanto.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-es
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-es | myspell-dictionary-es,
+ hyphen-es,
+ libreoffice-grammarcheck-es,
+ libreoffice-help-es,
+ mythes-es
+Description: office productivity suite -- Spanish language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Spanish.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-et
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-et | myspell-dictionary-et,
+ hyphen-et,
+ libreoffice-grammarcheck-et,
+ libreoffice-help-et,
+ mythes-et
+Description: office productivity suite -- Estonian language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Estonian.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-eu
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-eu | myspell-dictionary-eu,
+ hyphen-eu,
+ libreoffice-grammarcheck-eu,
+ libreoffice-help-eu,
+ mythes-eu
+Description: office productivity suite -- Basque language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Basque.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-fa
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: fonts-farsiweb, libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-fa | myspell-dictionary-fa,
+ hyphen-fa,
+ libreoffice-grammarcheck-fa,
+ libreoffice-help-fa,
+ mythes-fa
+Description: office productivity suite -- Farsi language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Farsi.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-fi
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-fi | myspell-dictionary-fi | libreoffice-spellcheck-fi,
+ hyphen-fi | libreoffice-hyphenation-fi,
+ libreoffice-grammarcheck-fi,
+ libreoffice-help-fi,
+ mythes-fi
+Description: office productivity suite -- Finnish language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Finnish.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-fr
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-fr | myspell-dictionary-fr,
+ hyphen-fr,
+ libreoffice-grammarcheck-fr,
+ libreoffice-help-fr,
+ mythes-fr
+Description: office productivity suite -- French language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ French.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-ga
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-ga | myspell-dictionary-ga,
+ hyphen-ga,
+ libreoffice-grammarcheck-ga,
+ libreoffice-help-ga,
+ mythes-ga
+Description: office productivity suite -- Gaelic language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Gaelic.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-gd
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-gd | myspell-dictionary-gd,
+ hyphen-gd,
+ libreoffice-grammarcheck-gd,
+ libreoffice-help-gd,
+ mythes-gd
+Description: office productivity suite -- Scottish_gaelic language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Scottish_gaelic.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-gl
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-gl | myspell-dictionary-gl,
+ hyphen-gl,
+ libreoffice-grammarcheck-gl,
+ libreoffice-help-gl,
+ mythes-gl
+Description: office productivity suite -- Galician language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Galician.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-gu
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: fonts-gujr, libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-gu | myspell-dictionary-gu,
+ hyphen-gu,
+ libreoffice-grammarcheck-gu,
+ libreoffice-help-gu,
+ mythes-gu
+Description: office productivity suite -- Gujarati language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Gujarati.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-gug
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-gug | myspell-dictionary-gug,
+ hyphen-gug,
+ libreoffice-grammarcheck-gug,
+ libreoffice-help-gug,
+ mythes-gug
+Description: office productivity suite -- Guarani language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Guarani.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-he
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: culmus, libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-he | myspell-dictionary-he,
+ hyphen-he,
+ libreoffice-grammarcheck-he,
+ libreoffice-help-he,
+ mythes-he
+Description: office productivity suite -- Hebrew language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Hebrew.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-hi
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-hi | myspell-dictionary-hi,
+ hyphen-hi,
+ libreoffice-grammarcheck-hi,
+ libreoffice-help-hi,
+ mythes-hi
+Description: office productivity suite -- Hindi language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Hindi.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-hr
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-hr | myspell-dictionary-hr,
+ hyphen-hr,
+ libreoffice-grammarcheck-hr,
+ libreoffice-help-hr,
+ mythes-hr
+Description: office productivity suite -- Croatian language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Croatian.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-hu
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-hu | myspell-dictionary-hu,
+ hyphen-hu,
+ libreoffice-grammarcheck-hu,
+ libreoffice-help-hu,
+ mythes-hu
+Description: office productivity suite -- Hungarian language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Hungarian.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-id
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-id | myspell-dictionary-id,
+ hyphen-id,
+ libreoffice-grammarcheck-id,
+ libreoffice-help-id,
+ mythes-id
+Description: office productivity suite -- Indonesian language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Indonesian.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-is
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-is | myspell-dictionary-is,
+ hyphen-is,
+ libreoffice-grammarcheck-is,
+ libreoffice-help-is,
+ mythes-is
+Description: office productivity suite -- Icelandic language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Icelandic.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-it
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-it | myspell-dictionary-it,
+ hyphen-it,
+ libreoffice-grammarcheck-it,
+ libreoffice-help-it,
+ mythes-it
+Description: office productivity suite -- Italian language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Italian.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-ja
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-ja | myspell-dictionary-ja,
+ hyphen-ja,
+ libreoffice-grammarcheck-ja,
+ libreoffice-help-ja,
+ mythes-ja
+Description: office productivity suite -- Japanese language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Japanese.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-ka
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-ka | myspell-dictionary-ka,
+ hyphen-ka,
+ libreoffice-grammarcheck-ka,
+ libreoffice-help-ka,
+ mythes-ka
+Description: office productivity suite -- Georgian language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Georgian.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-kk
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-kk | myspell-dictionary-kk,
+ hyphen-kk,
+ libreoffice-grammarcheck-kk,
+ libreoffice-help-kk,
+ mythes-kk
+Description: office productivity suite -- Kazakh language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Kazakh.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-km
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales (>= 2.3.5-12) | locales-all,
+ ${misc:Depends}
+Recommends: fonts-khmeros, libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-km | myspell-dictionary-km,
+ hyphen-km,
+ libreoffice-grammarcheck-km,
+ libreoffice-help-km,
+ mythes-km
+Description: office productivity suite -- Khmer language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Khmer.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-kmr
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-kmr | myspell-dictionary-kmr,
+ hyphen-kmr,
+ libreoffice-grammarcheck-kmr,
+ libreoffice-help-kmr,
+ mythes-kmr
+Description: office productivity suite -- Kurmanji language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Kurmanji.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-kn
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-kn | myspell-dictionary-kn,
+ hyphen-kn,
+ libreoffice-grammarcheck-kn,
+ libreoffice-help-kn,
+ mythes-kn
+Description: office productivity suite -- Kannada language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Kannada.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-ko
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-ko | myspell-dictionary-ko,
+ hyphen-ko,
+ libreoffice-grammarcheck-ko,
+ libreoffice-help-ko,
+ mythes-ko
+Description: office productivity suite -- Korean language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Korean.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-lt
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-lt | myspell-dictionary-lt,
+ hyphen-lt,
+ libreoffice-grammarcheck-lt,
+ libreoffice-help-lt,
+ mythes-lt
+Description: office productivity suite -- Lithuanian language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Lithuanian.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-lv
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-lv | myspell-dictionary-lv,
+ hyphen-lv,
+ libreoffice-grammarcheck-lv,
+ libreoffice-help-lv,
+ mythes-lv
+Description: office productivity suite -- Latvian language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Latvian.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-mk
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-mk | myspell-dictionary-mk,
+ hyphen-mk,
+ libreoffice-grammarcheck-mk,
+ libreoffice-help-mk,
+ mythes-mk
+Description: office productivity suite -- Macedonian language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Macedonian.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-mn
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-mn | myspell-dictionary-mn,
+ hyphen-mn,
+ libreoffice-grammarcheck-mn,
+ libreoffice-help-mn,
+ mythes-mn
+Description: office productivity suite -- Mongolian language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Mongolian.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-ml
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: fonts-mlym, libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-ml | myspell-dictionary-ml,
+ hyphen-ml,
+ libreoffice-grammarcheck-ml,
+ libreoffice-help-ml,
+ mythes-ml
+Description: office productivity suite -- Malayalam language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Malayalam.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-mr
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: fonts-deva, libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-mr | myspell-dictionary-mr,
+ hyphen-mr,
+ libreoffice-grammarcheck-mr,
+ libreoffice-help-mr,
+ mythes-mr
+Description: office productivity suite -- Marathi language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Marathi.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-nb
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-nb | myspell-dictionary-nb,
+ hyphen-nb,
+ libreoffice-grammarcheck-nb,
+ libreoffice-help-nb,
+ mythes-nb
+Description: office productivity suite -- Norwegian_bokmal language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Norwegian_bokmal.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-ne
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: fonts-deva, libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-ne | myspell-dictionary-ne,
+ hyphen-ne,
+ libreoffice-grammarcheck-ne,
+ libreoffice-help-ne,
+ mythes-ne
+Description: office productivity suite -- Nepalese language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Nepalese.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-nl
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-nl | myspell-dictionary-nl,
+ hyphen-nl,
+ libreoffice-grammarcheck-nl,
+ libreoffice-help-nl,
+ mythes-nl
+Description: office productivity suite -- Dutch language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Dutch.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-nn
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-nn | myspell-dictionary-nn,
+ hyphen-nn,
+ libreoffice-grammarcheck-nn,
+ libreoffice-help-nn,
+ mythes-nn
+Description: office productivity suite -- Norwegian_nynorsk language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Norwegian_nynorsk.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-nr
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales (>= 2.3.6.ds1-1) | locales-all (>= 2.3.6.ds1-1),
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-nr | myspell-dictionary-nr,
+ hyphen-nr,
+ libreoffice-grammarcheck-nr,
+ libreoffice-help-nr,
+ mythes-nr
+Description: office productivity suite -- Ndebele language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Ndebele.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-nso
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-nso | myspell-dictionary-nso,
+ hyphen-nso,
+ libreoffice-grammarcheck-nso,
+ libreoffice-help-nso,
+ mythes-nso
+Description: office productivity suite -- Northern_sotho language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Northern_sotho.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-oc
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-oc | myspell-dictionary-oc,
+ hyphen-oc,
+ libreoffice-grammarcheck-oc,
+ libreoffice-help-oc,
+ mythes-oc
+Description: office productivity suite -- Occitan language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Occitan.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-om
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-om | myspell-dictionary-om,
+ hyphen-om,
+ libreoffice-grammarcheck-om,
+ libreoffice-help-om,
+ mythes-om
+Description: office productivity suite -- Oromo language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Oromo.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-or
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales (>= 2.3.6.ds1-1) | locales-all (>= 2.3.6.ds1-1),
+ ${misc:Depends}
+Recommends: fonts-orya, libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-or | myspell-dictionary-or,
+ hyphen-or,
+ libreoffice-grammarcheck-or,
+ libreoffice-help-or,
+ mythes-or
+Description: office productivity suite -- Odia language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Odia.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-pa-in
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: fonts-guru, libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-pa-in | myspell-dictionary-pa-in,
+ hyphen-pa-in,
+ libreoffice-grammarcheck-pa-in,
+ libreoffice-help-pa-in,
+ mythes-pa-in
+Description: office productivity suite -- Punjabi language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Punjabi.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-pl
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-pl | myspell-dictionary-pl,
+ hyphen-pl,
+ libreoffice-grammarcheck-pl,
+ libreoffice-help-pl,
+ mythes-pl
+Description: office productivity suite -- Polish language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Polish.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-pt
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-pt | myspell-dictionary-pt,
+ hyphen-pt,
+ libreoffice-grammarcheck-pt,
+ libreoffice-help-pt,
+ mythes-pt
+Description: office productivity suite -- Portuguese language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Portuguese.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-pt-br
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-pt-br | myspell-dictionary-pt-br,
+ hyphen-pt-br,
+ libreoffice-grammarcheck-pt-br,
+ libreoffice-help-pt-br,
+ mythes-pt-br
+Description: office productivity suite -- Portuguese_brazilian language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Portuguese_brazilian.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-ro
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-ro | myspell-dictionary-ro,
+ hyphen-ro,
+ libreoffice-grammarcheck-ro,
+ libreoffice-help-ro,
+ mythes-ro
+Description: office productivity suite -- Romanian language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Romanian.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-ru
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-ru | myspell-dictionary-ru,
+ hyphen-ru,
+ libreoffice-grammarcheck-ru,
+ libreoffice-help-ru,
+ mythes-ru
+Description: office productivity suite -- Russian language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Russian.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-rw
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales (>= 2.3.6) | locales-all (>= 2.3.6),
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-rw | myspell-dictionary-rw,
+ hyphen-rw,
+ libreoffice-grammarcheck-rw,
+ libreoffice-help-rw,
+ mythes-rw
+Description: office productivity suite -- Kinarwanda language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Kinarwanda.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-si
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-si | myspell-dictionary-si,
+ hyphen-si,
+ libreoffice-grammarcheck-si,
+ libreoffice-help-si,
+ mythes-si
+Description: office productivity suite -- Sinhala language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Sinhala.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-sk
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-sk | myspell-dictionary-sk,
+ hyphen-sk,
+ libreoffice-grammarcheck-sk,
+ libreoffice-help-sk,
+ mythes-sk
+Description: office productivity suite -- Slovak language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Slovak.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-sl
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-sl | myspell-dictionary-sl,
+ hyphen-sl,
+ libreoffice-grammarcheck-sl,
+ libreoffice-help-sl,
+ mythes-sl
+Description: office productivity suite -- Slovenian language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Slovenian.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-sr
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales (>= 2.3.6.ds1-5) | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-sr | myspell-dictionary-sr,
+ hyphen-sr,
+ libreoffice-grammarcheck-sr,
+ libreoffice-help-sr,
+ mythes-sr
+Description: office productivity suite -- Serbian language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Serbian.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-ss
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales (>= 2.3.5-12) | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-ss | myspell-dictionary-ss,
+ hyphen-ss,
+ libreoffice-grammarcheck-ss,
+ libreoffice-help-ss,
+ mythes-ss
+Description: office productivity suite -- Swazi language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Swazi.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-st
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-st | myspell-dictionary-st,
+ hyphen-st,
+ libreoffice-grammarcheck-st,
+ libreoffice-help-st,
+ mythes-st
+Description: office productivity suite -- Southern_sotho language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Southern_sotho.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-sv
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-sv | myspell-dictionary-sv,
+ hyphen-sv,
+ libreoffice-grammarcheck-sv,
+ libreoffice-help-sv,
+ mythes-sv
+Description: office productivity suite -- Swedish language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Swedish.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-szl
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-szl | myspell-dictionary-szl,
+ hyphen-szl,
+ libreoffice-grammarcheck-szl,
+ libreoffice-help-szl,
+ mythes-szl
+Description: office productivity suite -- Upper_silesian language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Upper_silesian.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-ta
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: fonts-taml, libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-ta | myspell-dictionary-ta,
+ hyphen-ta,
+ libreoffice-grammarcheck-ta,
+ libreoffice-help-ta,
+ mythes-ta
+Description: office productivity suite -- Tamil language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Tamil.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-te
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: fonts-telu, libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-te | myspell-dictionary-te,
+ hyphen-te,
+ libreoffice-grammarcheck-te,
+ libreoffice-help-te,
+ mythes-te
+Description: office productivity suite -- Telugu language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Telugu.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-tg
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-tg | myspell-dictionary-tg,
+ hyphen-tg,
+ libreoffice-grammarcheck-tg,
+ libreoffice-help-tg,
+ mythes-tg
+Description: office productivity suite -- Tajik language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Tajik.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-th
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: fonts-thai-tlwg, libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-th | myspell-dictionary-th,
+ hyphen-th,
+ libreoffice-grammarcheck-th,
+ libreoffice-help-th,
+ mythes-th
+Description: office productivity suite -- Thai language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Thai.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-tn
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales (>= 2.3.5-12) | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-tn | myspell-dictionary-tn,
+ hyphen-tn,
+ libreoffice-grammarcheck-tn,
+ libreoffice-help-tn,
+ mythes-tn
+Description: office productivity suite -- Tswana language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Tswana.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-tr
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-tr | myspell-dictionary-tr,
+ hyphen-tr,
+ libreoffice-grammarcheck-tr,
+ libreoffice-help-tr,
+ mythes-tr
+Description: office productivity suite -- Turkish language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Turkish.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-ts
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales (>= 2.3.5-12) | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-ts | myspell-dictionary-ts,
+ hyphen-ts,
+ libreoffice-grammarcheck-ts,
+ libreoffice-help-ts,
+ mythes-ts
+Description: office productivity suite -- Tsonga language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Tsonga.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-ug
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-ug | myspell-dictionary-ug,
+ hyphen-ug,
+ libreoffice-grammarcheck-ug,
+ libreoffice-help-ug,
+ mythes-ug
+Description: office productivity suite -- Uighur language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Uighur.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-uk
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-uk | myspell-dictionary-uk,
+ hyphen-uk,
+ libreoffice-grammarcheck-uk,
+ libreoffice-help-uk,
+ mythes-uk
+Description: office productivity suite -- Ukrainian language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Ukrainian.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-uz
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-uz | myspell-dictionary-uz,
+ hyphen-uz,
+ libreoffice-grammarcheck-uz,
+ libreoffice-help-uz,
+ mythes-uz
+Description: office productivity suite -- Uzbek language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Uzbek.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-ve
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-ve | myspell-dictionary-ve,
+ hyphen-ve,
+ libreoffice-grammarcheck-ve,
+ libreoffice-help-ve,
+ mythes-ve
+Description: office productivity suite -- Venda language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Venda.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-vi
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-vi | myspell-dictionary-vi,
+ hyphen-vi,
+ libreoffice-grammarcheck-vi,
+ libreoffice-help-vi,
+ mythes-vi
+Description: office productivity suite -- Vietnamese language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Vietnamese.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-xh
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-xh | myspell-dictionary-xh,
+ hyphen-xh,
+ libreoffice-grammarcheck-xh,
+ libreoffice-help-xh,
+ mythes-xh
+Description: office productivity suite -- Xhosa language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Xhosa.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-zh-cn
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-zh-cn | myspell-dictionary-zh-cn,
+ hyphen-zh-cn,
+ libreoffice-grammarcheck-zh-cn,
+ libreoffice-help-zh-cn,
+ mythes-zh-cn
+Description: office productivity suite -- Chinese_simplified language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Chinese_simplified.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-zh-tw
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-zh-tw | myspell-dictionary-zh-tw,
+ hyphen-zh-tw,
+ libreoffice-grammarcheck-zh-tw,
+ libreoffice-help-zh-tw,
+ mythes-zh-tw
+Description: office productivity suite -- Chinese_traditional language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Chinese_traditional.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-l10n-zu
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~),
+ locales | locales-all,
+ ${misc:Depends}
+Recommends: libreoffice-core (>> ${base-version})
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-zu | myspell-dictionary-zu,
+ hyphen-zu,
+ libreoffice-grammarcheck-zu,
+ libreoffice-help-zu,
+ mythes-zu
+Description: office productivity suite -- Zulu language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ Zulu.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
+Package: libreoffice-help-en-us
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}), ${help-recommends}
+Depends: libreoffice-common (>= 1:6.1.0~),
+ libreoffice-l10n-en-us,
+ ${help-depends},
+ ${misc:Depends}
+Provides: libreoffice-help (= ${help-l10n-virtual-version})
+Replaces: libreoffice-help-common (<< 1:6.4.1~rc1)
+Description: office productivity suite -- English_american help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ English_american.
+
+Package: libreoffice-help-ca
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}), ${help-recommends}
+Depends: libreoffice-common (>= 1:6.1.0~),
+ libreoffice-l10n-ca,
+ ${help-depends},
+ ${misc:Depends}
+Provides: libreoffice-help (= ${help-l10n-virtual-version})
+Replaces: libreoffice-help-common (<< 1:6.4.1~rc1)
+Description: office productivity suite -- Catalan help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Catalan.
+
+Package: libreoffice-help-cs
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}), ${help-recommends}
+Depends: libreoffice-common (>= 1:6.1.0~),
+ libreoffice-l10n-cs,
+ ${help-depends},
+ ${misc:Depends}
+Provides: libreoffice-help (= ${help-l10n-virtual-version})
+Replaces: libreoffice-help-common (<< 1:6.4.1~rc1)
+Description: office productivity suite -- Czech help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Czech.
+
+Package: libreoffice-help-da
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}), ${help-recommends}
+Depends: libreoffice-common (>= 1:6.1.0~),
+ libreoffice-l10n-da,
+ ${help-depends},
+ ${misc:Depends}
+Provides: libreoffice-help (= ${help-l10n-virtual-version})
+Replaces: libreoffice-help-common (<< 1:6.4.1~rc1)
+Description: office productivity suite -- Danish help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Danish.
+
+Package: libreoffice-help-de
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}), ${help-recommends}
+Depends: libreoffice-common (>= 1:6.1.0~),
+ libreoffice-l10n-de,
+ ${help-depends},
+ ${misc:Depends}
+Provides: libreoffice-help (= ${help-l10n-virtual-version})
+Replaces: libreoffice-help-common (<< 1:6.4.1~rc1)
+Description: office productivity suite -- German help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ German.
+
+Package: libreoffice-help-dz
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}), ${help-recommends}
+Depends: libreoffice-common (>= 1:6.1.0~),
+ libreoffice-l10n-dz,
+ ${help-depends},
+ ${misc:Depends}
+Provides: libreoffice-help (= ${help-l10n-virtual-version})
+Replaces: libreoffice-help-common (<< 1:6.4.1~rc1)
+Description: office productivity suite -- Dzongkha help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Dzongkha.
+
+Package: libreoffice-help-el
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}), ${help-recommends}
+Depends: libreoffice-common (>= 1:6.1.0~),
+ libreoffice-l10n-el,
+ ${help-depends},
+ ${misc:Depends}
+Provides: libreoffice-help (= ${help-l10n-virtual-version})
+Replaces: libreoffice-help-common (<< 1:6.4.1~rc1)
+Description: office productivity suite -- Greek help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Greek.
+
+Package: libreoffice-help-en-gb
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}), ${help-recommends}
+Depends: libreoffice-common (>= 1:6.1.0~),
+ libreoffice-l10n-en-gb,
+ ${help-depends},
+ ${misc:Depends}
+Provides: libreoffice-help (= ${help-l10n-virtual-version})
+Replaces: libreoffice-help-common (<< 1:6.4.1~rc1)
+Description: office productivity suite -- English_british help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ English_british.
+
+Package: libreoffice-help-es
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}), ${help-recommends}
+Depends: libreoffice-common (>= 1:6.1.0~),
+ libreoffice-l10n-es,
+ ${help-depends},
+ ${misc:Depends}
+Provides: libreoffice-help (= ${help-l10n-virtual-version})
+Replaces: libreoffice-help-common (<< 1:6.4.1~rc1)
+Description: office productivity suite -- Spanish help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Spanish.
+
+Package: libreoffice-help-et
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}), ${help-recommends}
+Depends: libreoffice-common (>= 1:6.1.0~),
+ libreoffice-l10n-et,
+ ${help-depends},
+ ${misc:Depends}
+Provides: libreoffice-help (= ${help-l10n-virtual-version})
+Replaces: libreoffice-help-common (<< 1:6.4.1~rc1)
+Description: office productivity suite -- Estonian help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Estonian.
+
+Package: libreoffice-help-eu
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}), ${help-recommends}
+Depends: libreoffice-common (>= 1:6.1.0~),
+ libreoffice-l10n-eu,
+ ${help-depends},
+ ${misc:Depends}
+Provides: libreoffice-help (= ${help-l10n-virtual-version})
+Replaces: libreoffice-help-common (<< 1:6.4.1~rc1)
+Description: office productivity suite -- Basque help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Basque.
+
+Package: libreoffice-help-fi
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}), ${help-recommends}
+Depends: libreoffice-common (>= 1:6.1.0~),
+ libreoffice-l10n-fi,
+ ${help-depends},
+ ${misc:Depends}
+Provides: libreoffice-help (= ${help-l10n-virtual-version})
+Replaces: libreoffice-help-common (<< 1:6.4.1~rc1)
+Description: office productivity suite -- Finnish help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Finnish.
+
+Package: libreoffice-help-fr
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}), ${help-recommends}
+Depends: libreoffice-common (>= 1:6.1.0~),
+ libreoffice-l10n-fr,
+ ${help-depends},
+ ${misc:Depends}
+Provides: libreoffice-help (= ${help-l10n-virtual-version})
+Replaces: libreoffice-help-common (<< 1:6.4.1~rc1)
+Description: office productivity suite -- French help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ French.
+
+Package: libreoffice-help-gl
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}), ${help-recommends}
+Depends: libreoffice-common (>= 1:6.1.0~),
+ libreoffice-l10n-gl,
+ ${help-depends},
+ ${misc:Depends}
+Provides: libreoffice-help (= ${help-l10n-virtual-version})
+Replaces: libreoffice-help-common (<< 1:6.4.1~rc1)
+Description: office productivity suite -- Galician help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Galician.
+
+Package: libreoffice-help-hi
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}), ${help-recommends}
+Depends: libreoffice-common (>= 1:6.1.0~),
+ libreoffice-l10n-hi,
+ ${help-depends},
+ ${misc:Depends}
+Provides: libreoffice-help (= ${help-l10n-virtual-version})
+Replaces: libreoffice-help-common (<< 1:6.4.1~rc1)
+Description: office productivity suite -- Hindi help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Hindi.
+
+Package: libreoffice-help-hu
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}), ${help-recommends}
+Depends: libreoffice-common (>= 1:6.1.0~),
+ libreoffice-l10n-hu,
+ ${help-depends},
+ ${misc:Depends}
+Provides: libreoffice-help (= ${help-l10n-virtual-version})
+Replaces: libreoffice-help-common (<< 1:6.4.1~rc1)
+Description: office productivity suite -- Hungarian help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Hungarian.
+
+Package: libreoffice-help-id
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}), ${help-recommends}
+Depends: libreoffice-common (>= 1:6.1.0~),
+ libreoffice-l10n-id,
+ ${help-depends},
+ ${misc:Depends}
+Provides: libreoffice-help (= ${help-l10n-virtual-version})
+Replaces: libreoffice-help-common (<< 1:6.4.1~rc1)
+Description: office productivity suite -- Indonesian help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Indonesian.
+
+Package: libreoffice-help-it
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}), ${help-recommends}
+Depends: libreoffice-common (>= 1:6.1.0~),
+ libreoffice-l10n-it,
+ ${help-depends},
+ ${misc:Depends}
+Provides: libreoffice-help (= ${help-l10n-virtual-version})
+Replaces: libreoffice-help-common (<< 1:6.4.1~rc1)
+Description: office productivity suite -- Italian help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Italian.
+
+Package: libreoffice-help-ja
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}), ${help-recommends}
+Depends: libreoffice-common (>= 1:6.1.0~),
+ libreoffice-l10n-ja,
+ ${help-depends},
+ ${misc:Depends}
+Provides: libreoffice-help (= ${help-l10n-virtual-version})
+Replaces: libreoffice-help-common (<< 1:6.4.1~rc1)
+Description: office productivity suite -- Japanese help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Japanese.
+
+Package: libreoffice-help-km
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}), ${help-recommends}
+Depends: libreoffice-common (>= 1:6.1.0~),
+ libreoffice-l10n-km,
+ ${help-depends},
+ ${misc:Depends}
+Provides: libreoffice-help (= ${help-l10n-virtual-version})
+Replaces: libreoffice-help-common (<< 1:6.4.1~rc1)
+Description: office productivity suite -- Khmer help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Khmer.
+
+Package: libreoffice-help-ko
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}), ${help-recommends}
+Depends: libreoffice-common (>= 1:6.1.0~),
+ libreoffice-l10n-ko,
+ ${help-depends},
+ ${misc:Depends}
+Provides: libreoffice-help (= ${help-l10n-virtual-version})
+Replaces: libreoffice-help-common (<< 1:6.4.1~rc1)
+Description: office productivity suite -- Korean help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Korean.
+
+Package: libreoffice-help-nl
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}), ${help-recommends}
+Depends: libreoffice-common (>= 1:6.1.0~),
+ libreoffice-l10n-nl,
+ ${help-depends},
+ ${misc:Depends}
+Provides: libreoffice-help (= ${help-l10n-virtual-version})
+Replaces: libreoffice-help-common (<< 1:6.4.1~rc1)
+Description: office productivity suite -- Dutch help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Dutch.
+
+Package: libreoffice-help-om
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}), ${help-recommends}
+Depends: libreoffice-common (>= 1:6.1.0~),
+ libreoffice-l10n-om,
+ ${help-depends},
+ ${misc:Depends}
+Provides: libreoffice-help (= ${help-l10n-virtual-version})
+Replaces: libreoffice-help-common (<< 1:6.4.1~rc1)
+Description: office productivity suite -- Oromo help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Oromo.
+
+Package: libreoffice-help-pl
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}), ${help-recommends}
+Depends: libreoffice-common (>= 1:6.1.0~),
+ libreoffice-l10n-pl,
+ ${help-depends},
+ ${misc:Depends}
+Provides: libreoffice-help (= ${help-l10n-virtual-version})
+Replaces: libreoffice-help-common (<< 1:6.4.1~rc1)
+Description: office productivity suite -- Polish help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Polish.
+
+Package: libreoffice-help-pt
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}), ${help-recommends}
+Depends: libreoffice-common (>= 1:6.1.0~),
+ libreoffice-l10n-pt,
+ ${help-depends},
+ ${misc:Depends}
+Provides: libreoffice-help (= ${help-l10n-virtual-version})
+Replaces: libreoffice-help-common (<< 1:6.4.1~rc1)
+Description: office productivity suite -- Portuguese help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Portuguese.
+
+Package: libreoffice-help-pt-br
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}), ${help-recommends}
+Depends: libreoffice-common (>= 1:6.1.0~),
+ libreoffice-l10n-pt-br,
+ ${help-depends},
+ ${misc:Depends}
+Provides: libreoffice-help (= ${help-l10n-virtual-version})
+Replaces: libreoffice-help-common (<< 1:6.4.1~rc1)
+Description: office productivity suite -- Portuguese_brazilian help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Portuguese_brazilian.
+
+Package: libreoffice-help-ru
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}), ${help-recommends}
+Depends: libreoffice-common (>= 1:6.1.0~),
+ libreoffice-l10n-ru,
+ ${help-depends},
+ ${misc:Depends}
+Provides: libreoffice-help (= ${help-l10n-virtual-version})
+Replaces: libreoffice-help-common (<< 1:6.4.1~rc1)
+Description: office productivity suite -- Russian help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Russian.
+
+Package: libreoffice-help-sk
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}), ${help-recommends}
+Depends: libreoffice-common (>= 1:6.1.0~),
+ libreoffice-help-cs,
+ libreoffice-l10n-sk,
+ ${help-depends},
+ ${misc:Depends}
+Provides: libreoffice-help (= ${help-l10n-virtual-version})
+Replaces: libreoffice-help-common (<< 1:6.4.1~rc1)
+Description: office productivity suite -- Slovak help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Slovak.
+
+Package: libreoffice-help-sl
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}), ${help-recommends}
+Depends: libreoffice-common (>= 1:6.1.0~),
+ libreoffice-l10n-sl,
+ ${help-depends},
+ ${misc:Depends}
+Provides: libreoffice-help (= ${help-l10n-virtual-version})
+Replaces: libreoffice-help-common (<< 1:6.4.1~rc1)
+Description: office productivity suite -- Slovenian help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Slovenian.
+
+Package: libreoffice-help-sv
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}), ${help-recommends}
+Depends: libreoffice-common (>= 1:6.1.0~),
+ libreoffice-l10n-sv,
+ ${help-depends},
+ ${misc:Depends}
+Provides: libreoffice-help (= ${help-l10n-virtual-version})
+Replaces: libreoffice-help-common (<< 1:6.4.1~rc1)
+Description: office productivity suite -- Swedish help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Swedish.
+
+Package: libreoffice-help-tr
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}), ${help-recommends}
+Depends: libreoffice-common (>= 1:6.1.0~),
+ libreoffice-l10n-tr,
+ ${help-depends},
+ ${misc:Depends}
+Provides: libreoffice-help (= ${help-l10n-virtual-version})
+Replaces: libreoffice-help-common (<< 1:6.4.1~rc1)
+Description: office productivity suite -- Turkish help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Turkish.
+
+Package: libreoffice-help-vi
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}), ${help-recommends}
+Depends: libreoffice-common (>= 1:6.1.0~),
+ libreoffice-l10n-vi,
+ ${help-depends},
+ ${misc:Depends}
+Provides: libreoffice-help (= ${help-l10n-virtual-version})
+Replaces: libreoffice-help-common (<< 1:6.4.1~rc1)
+Description: office productivity suite -- Vietnamese help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Vietnamese.
+
+Package: libreoffice-help-zh-cn
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}), ${help-recommends}
+Depends: libreoffice-common (>= 1:6.1.0~),
+ libreoffice-l10n-zh-cn,
+ ${help-depends},
+ ${misc:Depends}
+Provides: libreoffice-help (= ${help-l10n-virtual-version})
+Replaces: libreoffice-help-common (<< 1:6.4.1~rc1)
+Description: office productivity suite -- Chinese_simplified help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Chinese_simplified.
+
+Package: libreoffice-help-zh-tw
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}), ${help-recommends}
+Depends: libreoffice-common (>= 1:6.1.0~),
+ libreoffice-l10n-zh-tw,
+ ${help-depends},
+ ${misc:Depends}
+Provides: libreoffice-help (= ${help-l10n-virtual-version})
+Replaces: libreoffice-help-common (<< 1:6.4.1~rc1)
+Description: office productivity suite -- Chinese_traditional help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ Chinese_traditional.
+
+Package: uno-libs-private
+Section: libs
+Architecture: alpha amd64 arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 m68k mips mipsel mips64 mips64el powerpc powerpcspe ppc64 ppc64el s390 s390x sparc sparc64
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Replaces: uno-libs3
+Breaks: uno-libs3
+Description: LibreOffice UNO runtime environment -- private libraries used by public ones
+ The Uno Runtime Environment (URE) is the well-known UNO component model
+ of LibreOffice, packaged up as an individual product.
+ .
+ It offers you a flexible, low-overhead component model that is most ideal
+ for (but not limited to) combining in one application components written in
+ different computer languages, and developed by different parties. You can use
+ it to create any kind of application, in whatever application domain you can
+ imagine.
+ .
+ This package contains some private UNO/URE libraries which are used by public
+ ones (e.g. cppu).
+
+Package: libuno-sal3
+Section: libs
+Architecture: alpha amd64 arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 m68k mips mipsel mips64 mips64el powerpc powerpcspe ppc64 ppc64el s390 s390x sparc sparc64
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Replaces: uno-libs3, ure (<< 5.0.0~rc2-1)
+Breaks: libreoffice-core (<< 1:4.3.0~), uno-libs3
+Description: LibreOffice UNO runtime environment -- SAL public library
+ The Uno Runtime Environment (URE) is the well-known UNO component model
+ of LibreOffice, packaged up as an individual product.
+ .
+ It offers you a flexible, low-overhead component model that is most ideal
+ for (but not limited to) combining in one application components written in
+ different computer languages, and developed by different parties. You can use
+ it to create any kind of application, in whatever application domain you can
+ imagine.
+ .
+ This package contains the System Abstraction Layer (SAL) library.
+
+Package: libuno-salhelpergcc3-3
+Section: libs
+Architecture: alpha amd64 arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 m68k mips mipsel mips64 mips64el powerpc powerpcspe ppc64 ppc64el s390 s390x sparc sparc64
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Replaces: uno-libs3, ure (<< 5.0.0~rc2-1)
+Breaks: libreoffice-core (<< 1:4.3.0~), uno-libs3
+Description: LibreOffice UNO runtime environment -- SAL helpers for C++ library
+ The Uno Runtime Environment (URE) is the well-known UNO component model
+ of LibreOffice, packaged up as an individual product.
+ .
+ It offers you a flexible, low-overhead component model that is most ideal
+ for (but not limited to) combining in one application components written in
+ different computer languages, and developed by different parties. You can use
+ it to create any kind of application, in whatever application domain you can
+ imagine.
+ .
+ This package contains C++ helpers to make use of sal easier.
+
+Package: libuno-cppu3
+Section: libs
+Architecture: alpha amd64 arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 m68k mips mipsel mips64 mips64el powerpc powerpcspe ppc64 ppc64el s390 s390x sparc sparc64
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Replaces: uno-libs3, ure (<< 5.0.0~rc2-1)
+Breaks: libreoffice-core (<< 1:4.3.0~), uno-libs3
+Description: LibreOffice UNO runtime environment -- CPPU public library
+ The Uno Runtime Environment (URE) is the well-known UNO component model
+ of LibreOffice, packaged up as an individual product.
+ .
+ It offers you a flexible, low-overhead component model that is most ideal
+ for (but not limited to) combining in one application components written in
+ different computer languages, and developed by different parties. You can use
+ it to create any kind of application, in whatever application domain you can
+ imagine.
+ .
+ This package contains CPPU, the type definitions/implementations for the core
+ of UNO.
+
+Package: libuno-cppuhelpergcc3-3
+Section: libs
+Architecture: alpha amd64 arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 m68k mips mipsel mips64 mips64el powerpc powerpcspe ppc64 ppc64el s390 s390x sparc sparc64
+Depends: uno-libs-private (= ${binary:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends}
+Replaces: uno-libs3, ure (<< 5.0.0~rc2-1)
+Breaks: libreoffice-core (<< 1:4.3.0~), uno-libs3
+Description: LibreOffice UNO runtime environment -- CPPU helper library
+ The Uno Runtime Environment (URE) is the well-known UNO component model
+ of LibreOffice, packaged up as an individual product.
+ .
+ It offers you a flexible, low-overhead component model that is most ideal
+ for (but not limited to) combining in one application components written in
+ different computer languages, and developed by different parties. You can use
+ it to create any kind of application, in whatever application domain you can
+ imagine.
+ .
+ This package contains the cppuhelper library (helpers for using cppu in C++,
+ e.g. templates for implementing UNO components, bootstrapping stuff)
+
+Package: libuno-purpenvhelpergcc3-3
+Section: libs
+Architecture: alpha amd64 arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 m68k mips mipsel mips64 mips64el powerpc powerpcspe ppc64 ppc64el s390 s390x sparc sparc64
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Replaces: uno-libs3, ure (<< 5.0.0~rc2-1)
+Breaks: libreoffice-core (<< 1:4.3.0~), uno-libs3
+Description: LibreOffice UNO runtime environment -- "purpose environment" helper
+ The Uno Runtime Environment (URE) is the well-known UNO component model
+ of LibreOffice, packaged up as an individual product.
+ .
+ It offers you a flexible, low-overhead component model that is most ideal
+ for (but not limited to) combining in one application components written in
+ different computer languages, and developed by different parties. You can use
+ it to create any kind of application, in whatever application domain you can
+ imagine.
+ .
+ This package contains a library which contains a helper for implementing
+ so-called "purpose environments".
+
+Package: ure
+Section: libs
+Architecture: alpha amd64 arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 m68k mips mipsel mips64 mips64el powerpc powerpcspe ppc64 ppc64el s390 s390x sparc sparc64
+Depends: uno-libs-private (= ${binary:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends}
+Replaces: libjuh-java (<< 1:6.4.0~rc1-6),
+ libjurt-java (<< 1:6.4.0~rc1-6),
+ libreoffice-common (<< 1:4.5.0),
+ libreoffice-core (<< 1:5.3.0~beta1~),
+ libridl-java (<< 1:6.4.0~rc1-6),
+ libunoloader-java (<< 1:6.4.0~rc1-6),
+ ure-java (<< 1:7.1.1~rc2-1)
+Breaks: libjuh-java (<< 1:6.4.0~rc1-6),
+ libjurt-java (<< 1:6.4.0~rc1-6),
+ libreoffice-common (<< 1:4.5.0),
+ libreoffice-core (<< 1:7.4.0~),
+ libreoffice-core-nogui (<< 1:7.4.0~),
+ libridl-java (<< 1:6.4.0~rc1-6),
+ libunoloader-java (<< 1:6.4.0~rc1-6),
+ ure-java (<< 1:7.1.1~rc2-1)
+Description: LibreOffice UNO runtime environment
+ The Uno Runtime Environment (URE) is the well-known UNO component model
+ of LibreOffice, packaged up as an individual product.
+ .
+ It offers you a flexible, low-overhead component model that is most ideal
+ for (but not limited to) combining in one application components written in
+ different computer languages, and developed by different parties. You can use
+ it to create any kind of application, in whatever application domain you can
+ imagine.
+
+Package: ure-java
+Section: java
+Architecture: alpha amd64 arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 m68k mips mipsel mips64 mips64el powerpc powerpcspe ppc64 ppc64el s390 s390x sparc sparc64
+Depends: libunoloader-java,
+ uno-libs-private (= ${binary:Version}),
+ ure (= ${binary:Version}),
+ ${java:Depends},
+ ${misc:Depends},
+ ${shlibs:Depends}
+Recommends: liblibreoffice-java, ${java-runtime-depends}
+Replaces: ure (<< 1:7.1.0~)
+Breaks: ure (<< 1:7.1.0~)
+Description: LibreOffice UNO runtime environment -- Java support
+ The Uno Runtime Environment (URE) is the well-known UNO component model
+ of LibreOffice, packaged up as an individual product.
+ .
+ It offers you a flexible, low-overhead component model that is most ideal
+ for (but not limited to) combining in one application components written in
+ different computer languages, and developed by different parties. You can use
+ it to create any kind of application, in whatever application domain you can
+ imagine.
+ .
+ This package contains the Java support in the URE.
+
+Package: libunoloader-java
+Architecture: all
+Section: java
+Depends: ${java:Depends}, ${misc:Depends}
+Replaces: ure (<< 6.4.0~rc1-6)
+Breaks: ure (<< 6.4.0~rc1-6)
+Description: LibreOffice UNO runtime environment -- (Java) UNO loader
+ The Uno Runtime Environment (URE) is the well-known UNO component model
+ of LibreOffice, packaged up as an individual product.
+ .
+ This package contains a UNO loader library for Java.
+
+Package: liblibreoffice-java
+Architecture: all
+Section: java
+Depends: libunoloader-java, ure-java, ${java:Depends}, ${misc:Depends}
+Provides: libjuh-java, libjurt-java, libridl-java, libunoil-java
+Replaces: libjuh-java (<< 1:7.1.0~),
+ libjurt-java (<< 1:7.1.0~),
+ libridl-java (<< 1:7.1.0~),
+ libunoil-java (<< 1:7.1.0~)
+Breaks: libjuh-java (<< 1:7.1.0~),
+ libjurt-java (<< 1:7.1.0~),
+ libridl-java (<< 1:7.1.0~),
+ libunoil-java (<< 1:7.1.0~)
+Description: LibreOffice UNO runtime environment -- Java library
+ The Uno Runtime Environment (URE) is the well-known UNO component model
+ of LibreOffice, packaged up as an individual product.
+ .
+ This package contains the public Java libraries.
+
+Package: libreoffice-wiki-publisher
+Section: misc
+Architecture: all
+Depends: liblibreoffice-java,
+ libreoffice-core,
+ ${java-common-depends},
+ ${java-runtime-depends},
+ ${java:Depends},
+ ${misc:Depends}
+Enhances: libreoffice-writer
+Suggests: mediawiki
+Description: LibreOffice extension for working with MediaWiki articles
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains an extension to create/edit/publish MediaWiki
+ articles with LibreOffice
+
+Package: libreoffice-report-builder
+Section: misc
+Architecture: all
+Depends: liblibreoffice-java,
+ libreoffice-common (>= 1:7.0.0~alpha),
+ libreoffice-core | libreoffice-core-nogui,
+ libreoffice-report-builder-bin (>= ${base-version}),
+ ${java-common-depends},
+ ${java:Depends},
+ ${misc:Depends},
+ ${report-builder-jar-depends}
+Provides: libreoffice-reportdesigner
+Enhances: libreoffice-base
+Breaks: libreoffice-common (<< 1:6.4.2~rc1~)
+Replaces: libreoffice-common (<< 1:6.4.2~r~~)
+Description: LibreOffice component for building database reports
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the report builder:
+ "Create with the Sun Report Builder stylish, smart-looking database reports.
+ The flexible report editor can define group and page headers as well as
+ group and page footers and even calculation fields are available to
+ accomplish complex database reports."
+
+Package: libreoffice-report-builder-bin
+Section: misc
+Architecture: alpha amd64 arm64 armel armhf i386 ia64 m68k mipsel mips64el powerpc ppc64 ppc64el s390x sparc64 mips
+Depends: libreoffice-base, libreoffice-core, ${misc:Depends}, ${shlibs:Depends}
+Description: LibreOffice component for building database reports -- libraries
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains some architecture-dependent support libraries
+ (librpt*.so) for the report builder component.
+
+Package: libreoffice-report-builder-bin-nogui
+Section: misc
+Architecture: alpha amd64 arm64 armel armhf i386 ia64 m68k mipsel mips64el powerpc ppc64 ppc64el s390x sparc64 mips
+Depends: libreoffice-base-nogui | libreoffice-base,
+ libreoffice-core-nogui | libreoffice-core,
+ ${misc:Depends},
+ ${shlibs:Depends}
+Conflicts: libreoffice-report-builder-bin
+Replaces: libreoffice-report-builder-bin
+Description: LibreOffice component for building database reports -- libraries (no GUI variant)
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains some architecture-dependent support libraries
+ (librpt*.so) for the report builder component.
+
+Package: libreoffice-nlpsolver
+Architecture: all
+Depends: liblibreoffice-java,
+ libreoffice-calc,
+ libreoffice-core,
+ ${java-common-depends},
+ ${java-runtime-depends},
+ ${misc:Depends}
+Section: math
+Description: "Solver for Nonlinear Programming" extension for LibreOffice
+ By default LibreOffice Calc ships with a solver engine for linear
+ programming only. This allows the optimization of models to a certain degree.
+ However, if the formulas or constraints become more complex,
+ nonlinear programming is required. That missing gap is now filled by the
+ Solver for Nonlinear Programming extension.
+ .
+ Currently it incorporates two Evolutionary Algorithms which are able to
+ handle floating point and integer variables as well as nonlinear constraints.
+
+Package: fonts-opensymbol
+Section: fonts
+Architecture: all
+Multi-Arch: foreign
+Depends: ${misc:Depends}
+Recommends: fontconfig
+Replaces: ttf-opensymbol
+Provides: ttf-opensymbol
+Description: OpenSymbol TrueType font
+ This package contains the OpenSymbol TrueType font included in
+ LibreOffice. This font contains symbols (like fonts as Wingdings(tm)),
+ bullets (needed for bullets in LibreOffice) and non-latin character
+
+Package: libreoffice-dev
+Section: devel
+Architecture: alpha amd64 arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 m68k mips mipsel mips64 mips64el powerpc powerpcspe ppc64 ppc64el s390 s390x sparc sparc64
+Depends: libreoffice-core-nogui (= ${binary:Version}) | libreoffice-core (= ${binary:Version}),
+ libreoffice-dev-common (= ${source:Version}),
+ ${idlc-cpp-depends},
+ ${misc:Depends},
+ ${shlibs:Depends}
+Recommends: g++, ${java-common-depends}, ${java-runtime-depends}
+Suggests: libmythes-dev, libreoffice-dev-doc, libreofficekit-dev
+Replaces: libreoffice-dev-common (<< 1:5.4.1~)
+Conflicts: libreoffice (<< 1:5.2.5-2~), libreoffice-dev-doc (<< 1:5.2.5-2~)
+Breaks: libreoffice-dev-common (<< 1:5.4.1~)
+Description: office productivity suite -- SDK -- architecture-dependent parts
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the (architecture-dependent) files needed to build
+ plugins/add-ons for LibreOffice (build tools, libraries, arch-dependent
+ includes, ...).
+
+Package: libreoffice-dev-gui
+Section: devel
+Architecture: alpha amd64 arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 m68k mips mipsel mips64 mips64el powerpc powerpcspe ppc64 ppc64el s390 s390x sparc sparc64
+Depends: libreoffice-core (= ${binary:Version}),
+ libreoffice-dev (= ${binary:Version}),
+ libreoffice-dev-common (= ${source:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends}
+Replaces: libreoffice-dev (<< 1:7.0.0~)
+Breaks: libreoffice-dev (<< 1:7.0.0~)
+Description: office productivity suite -- "GUI" development stuff
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the gengal utility which was moved from
+ libreoffice-dev.
+
+Package: libreoffice-dev-common
+Section: devel
+Architecture: all
+Depends: ${misc:Depends}
+Replaces: libreoffice-dev (<< 1:5.2.0~)
+Breaks: libreoffice-dev (<< 1:5.2.0~)
+Conflicts: libreoffice (<< 1:5.2.5-2~)
+Description: office productivity suite -- SDK -- architecture-independent parts
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the (architecture-independent) files needed to build
+ plugins/add-ons for LibreOffice (includes, IDL files, ...)
+
+Package: libreoffice-dev-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}
+Recommends: libreoffice-dev (= ${binary:Version}), www-browser
+Conflicts: libreoffice (<< 1:5.2.5-2~),
+ libreoffice-dev (<= 1:5.0.3~rc1-2),
+ openoffice.org-dev-doc
+Build-Profiles: <!nodoc>
+Description: office productivity suite -- SDK documentation
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the documentation of the LibreOffice SDK:
+ .
+ * C++/Java API reference
+ * IDL reference
+ * C++/Java/Basic examples
+
+Package: libreofficekit-dev
+Section: libdevel
+Architecture: alpha amd64 arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 m68k mips mipsel mips64 mips64el powerpc powerpcspe ppc64 ppc64el s390 s390x sparc sparc64
+Depends: gir1.2-lokdocview-0.1 (= ${binary:Version}), ${misc:Depends}
+Suggests: libgtk-3-dev
+Recommends: libreoffice-core, libreofficekit-data
+Replaces: gir1.2-lokdocview-0.1 (<< 1:5.4.0~rc1)
+Description: LibreOfficeKit -- headers
+ LibreOfficeKit can be used for accessing LibreOffice functionality through
+ C/C++, without any need to use UNO.
+ .
+ For now it only offers document conversion (in addition to an experimental
+ tiled rendering API).
+ .
+ This package contains the headers needed for using LibreOfficeKit.
+
+Package: libreoffice-gtk3
+Architecture: alpha amd64 arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 m68k mips mipsel mips64 mips64el powerpc powerpcspe ppc64 ppc64el s390 s390x sparc sparc64
+Depends: libreoffice-core (= ${binary:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends}
+Suggests: libreofficekit-data
+Recommends: gstreamer1.0-gtk3
+Section: gnome
+Enhances: libreoffice
+Description: office productivity suite -- GTK+ 3 integration
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the Gtk plugin for drawing LibreOffices widgets
+ with Gtk+ 3 and Gtk/GNOMEish print dialog when running under GNOME.
+
+Package: gir1.2-lokdocview-0.1
+Architecture: alpha amd64 arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 m68k mips mipsel mips64 mips64el powerpc powerpcspe ppc64 ppc64el s390 s390x sparc sparc64
+Section: introspection
+Depends: liblibreofficekitgtk (= ${binary:Version}),
+ ${gir:Depends},
+ ${misc:Depends}
+Description: GTK3 widget wrapping LibreOffice functionality - introspection
+ LOKDocView is the GTK3 widget that wraps the libreoffice functionality and
+ exposes a simple API for applications to use this widget.
+ .
+ This package contains the Introspection data.
+
+Package: liblibreofficekitgtk
+Section: gnome
+Architecture: alpha amd64 arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 m68k mips mipsel mips64 mips64el powerpc powerpcspe ppc64 ppc64el s390 s390x sparc sparc64
+Depends: libreofficekit-data, ${misc:Depends}, ${shlibs:Depends}
+Replaces: libreoffice-gtk3 (<< 1:5.2.0~)
+Breaks: libreoffice-gtk3 (<< 1:5.2.0~)
+Recommends: libreoffice-gtk3
+Description: GTK3 widget wrapping LibreOffice functionality
+ This package contains a (basic) GTK+ document viewer widget (used
+ by e.g. LOKDocView)
+
+Package: libreofficekit-data
+Architecture: all
+Section: web
+Depends: ${misc:Depends}
+Recommends: gir1.2-lokdocview-0.1
+Description: common data for LOKDocView
+ LOKDocView is the GTK3 widget that wraps the libreoffice functionality and
+ exposes a simple API for applications to use this widget.
+ .
+ This package contains architecture-independent data (e.g. the selection
+ handlers).
+
+Package: libreoffice-kf5
+Architecture: alpha amd64 arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 m68k mips mipsel mips64 mips64el powerpc powerpcspe ppc64 ppc64el s390 s390x sparc sparc64
+Depends: libreoffice-core (= ${binary:Version}),
+ ${kf5-qt5-depends},
+ ${misc:Depends},
+ ${shlibs:Depends}
+Recommends: ${plasma-iconset-dep}
+Replaces: libreoffice-kde (<< 1:6.1.0~alpha1-1)
+Section: kde
+Enhances: libreoffice
+Description: office productivity suite -- KDE Frameworks 5 integration
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the KF5 plugin for LibreOffice and a KF5-based File
+ Picker when running under Plasma.
+
+Package: libreoffice-qt5
+Architecture: alpha amd64 arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 m68k mips mipsel mips64 mips64el powerpc powerpcspe ppc64 ppc64el s390 s390x sparc sparc64
+Depends: libreoffice-core (= ${binary:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends}
+Recommends: qtgstreamer-plugins-qt5
+Enhances: libreoffice
+Description: office productivity suite -- Qt 5 integration
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the Qt 5 plugin for drawing LibreOffices widgets
+ with Qt 5 and a Qt File Picker and print dialog.
+ .
+ You need to enable it manually by export SAL_USE_VCLPLUGIN=qt5 if you are
+ not using Plasma.
+
+Package: libreoffice-plasma
+Architecture: alpha amd64 arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 m68k mips mipsel mips64 mips64el powerpc powerpcspe ppc64 ppc64el s390 s390x sparc sparc64
+Depends: libreoffice-core (= ${binary:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends}
+Recommends: libreoffice-kf5
+Replaces: libreoffice-kde5 (<< 1:6.4.0~)
+Description: office productivity suite -- some Plasma integration
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains some minor Plasma integration (like AppData
+ and "Create New..." integration) and a KDE/KF5 configuration backend.
+
+Package: libreoffice-sdbc-postgresql
+Section: misc
+Architecture: alpha amd64 arm64 armel armhf i386 ia64 m68k mipsel mips64el powerpc ppc64 ppc64el s390x sparc64 mips
+Depends: libreoffice-common (>= 1:7.0.0~alpha),
+ libreoffice-core-nogui | libreoffice-core,
+ ${misc:Depends},
+ ${shlibs:Depends}
+Suggests: postgresql (>= 8.4)
+Enhances: libreoffice-base-drivers
+Description: PostgreSQL SDBC driver for LibreOffice
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ The PostgreSQL SDBC Driver allows one to use the PostgreSQL database from
+ LibreOffice without any wrapper layer such as ODBC or JDBC.
+Homepage: http://wiki.documentfoundation.org/PostgreSQL-SDBC
+
+Package: libreoffice-evolution
+Architecture: alpha amd64 arm64 armel armhf i386 ia64 m68k mipsel mips64el powerpc ppc64 ppc64el s390x sparc64 mips
+Section: gnome
+Depends: libreoffice-base,
+ libreoffice-common (>= 1:7.0.0~alpha~),
+ libreoffice-core (= ${binary:Version}),
+ ${libebook-dep},
+ ${misc:Depends},
+ ${shlibs:Depends}
+Recommends: evolution
+Description: office productivity suite -- Evolution addressbook support
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package allows LibreOffice to access Evolution address books.
+ You need to install evolution separately.
+
+Package: libreoffice-subsequentcheckbase
+Section: libs
+Architecture: all
+Depends: liblibreoffice-java, ${java:Depends}, ${misc:Depends}
+Build-Profiles: <!noinsttest>
+Description: LibreOffice java test libraries
+ Java libraries LibreOffice subsequentchecks integration test suite
+
+Package: libreoffice-smoketest-data
+Section: misc
+Depends: ${misc:Depends}
+Architecture: all
+Build-Profiles: <!noinsttest>
+Replaces: libreoffice-java-common (<< 1:6.4.0~rc1-6)
+Breaks: libreoffice-java-common (<< 1:6.4.0~rc1-6)
+Description: data files for LibreOffices "smoketest"
+ Data files for the LibreOffice "smoketest".
+
+Package: libreoffice-librelogo
+Section: misc
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha),
+ libreoffice-core,
+ libreoffice-script-provider-python,
+ libreoffice-writer,
+ ${misc:Depends}
+Build-Profiles: <!nopython>
+Homepage: http://librelogo.org
+Description: Logo-like programming language for LibreOffice
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains Librelogo, which is a pyuno-based Logo-like programming
+ language with interactive vectorgraphics for education and DTP
+ - basic Logo syntax for back compatibility with educational Logo systems
+ - interactive vectorgraphics in LibreOffice Writer
+ - native commands (easily translatable)
+ - Python data structures (list, tuple, set, dictionary) and other Python
+ features
+
+Package: libreoffice-sdbc-firebird
+Depends: libreoffice-core-nogui | libreoffice-core,
+ ${firebird-engine-depends},
+ ${misc:Depends},
+ ${shlibs:Depends}
+Architecture: alpha amd64 arm64 armel armhf i386 ia64 m68k mipsel mips64el powerpc ppc64 ppc64el s390x sparc64 mips
+Section: database
+Enhances: libreoffice-base-drivers
+Description: Firebird SDBC driver for LibreOffice
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ The Firebird SDBC Driver allows one to use the Firebird database from
+ LibreOffice without any wrapper layer such as ODBC or JDBC.
+
diff --git a/debian/control.evolution.in b/debian/control.evolution.in
new file mode 100644
index 000000000..8b387cad9
--- /dev/null
+++ b/debian/control.evolution.in
@@ -0,0 +1,17 @@
+Package: libreoffice-evolution
+Architecture: %OOO_BASE_ARCHS%
+Section: gnome
+Depends: libreoffice-base,
+ libreoffice-common (>= 1:7.0.0~alpha~),
+ libreoffice-core (= ${binary:Version}),
+ ${libebook-dep},
+ ${misc:Depends},
+ ${shlibs:Depends}
+Recommends: evolution
+Description: office productivity suite -- Evolution addressbook support
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package allows LibreOffice to access Evolution address books.
+ You need to install evolution separately.
+
diff --git a/debian/control.firebird.in b/debian/control.firebird.in
new file mode 100644
index 000000000..89cc8b331
--- /dev/null
+++ b/debian/control.firebird.in
@@ -0,0 +1,12 @@
+Package: libreoffice-sdbc-firebird
+Depends: libreoffice-core-nogui | libreoffice-core, ${shlibs:Depends}, ${misc:Depends}, ${firebird-engine-depends}
+Architecture: %OOO_FIREBIRD_ARCHS%
+Section: database
+Enhances: libreoffice-base-drivers
+Description: Firebird SDBC driver for LibreOffice
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ The Firebird SDBC Driver allows one to use the Firebird database from
+ LibreOffice without any wrapper layer such as ODBC or JDBC.
+
diff --git a/debian/control.fonts.in b/debian/control.fonts.in
new file mode 100644
index 000000000..f52165d40
--- /dev/null
+++ b/debian/control.fonts.in
@@ -0,0 +1,13 @@
+Package: fonts-opensymbol
+Section: fonts
+Architecture: all
+Multi-Arch: foreign
+Depends: ${misc:Depends}
+Recommends: fontconfig
+Replaces: ttf-opensymbol
+Provides: ttf-opensymbol
+Description: OpenSymbol TrueType font
+ This package contains the OpenSymbol TrueType font included in
+ LibreOffice. This font contains symbols (like fonts as Wingdings(tm)),
+ bullets (needed for bullets in LibreOffice) and non-latin character
+
diff --git a/debian/control.gtk3.in b/debian/control.gtk3.in
new file mode 100644
index 000000000..6dd267716
--- /dev/null
+++ b/debian/control.gtk3.in
@@ -0,0 +1,49 @@
+Package: libreoffice-gtk3
+Architecture: %OOO_ARCHS%
+Depends: libreoffice-core (= ${binary:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends}
+Suggests: libreofficekit-data
+Recommends: gstreamer1.0-gtk3
+Section: gnome
+Enhances: libreoffice
+Description: office productivity suite -- GTK+ 3 integration
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the Gtk plugin for drawing LibreOffices widgets
+ with Gtk+ 3 and Gtk/GNOMEish print dialog when running under GNOME.
+
+Package: gir1.2-lokdocview-0.1
+Architecture: %OOO_ARCHS%
+Section: introspection
+Depends: ${gir:Depends}, ${misc:Depends}, liblibreofficekitgtk (= ${binary:Version})
+Description: GTK3 widget wrapping LibreOffice functionality - introspection
+ LOKDocView is the GTK3 widget that wraps the libreoffice functionality and
+ exposes a simple API for applications to use this widget.
+ .
+ This package contains the Introspection data.
+
+Package: liblibreofficekitgtk
+Section: gnome
+Architecture: %OOO_ARCHS%
+Depends: ${shlibs:Depends}, ${misc:Depends}, libreofficekit-data
+Replaces: libreoffice-gtk3 (<< 1:5.2.0~)
+Breaks: libreoffice-gtk3 (<< 1:5.2.0~)
+Recommends: libreoffice-gtk3
+Description: GTK3 widget wrapping LibreOffice functionality
+ This package contains a (basic) GTK+ document viewer widget (used
+ by e.g. LOKDocView)
+
+Package: libreofficekit-data
+Architecture: all
+Section: web
+Depends: ${misc:Depends}
+Recommends: gir1.2-lokdocview-0.1
+Description: common data for LOKDocView
+ LOKDocView is the GTK3 widget that wraps the libreoffice functionality and
+ exposes a simple API for applications to use this widget.
+ .
+ This package contains architecture-independent data (e.g. the selection
+ handlers).
+
diff --git a/debian/control.gtk4.in b/debian/control.gtk4.in
new file mode 100644
index 000000000..4890ca0f1
--- /dev/null
+++ b/debian/control.gtk4.in
@@ -0,0 +1,17 @@
+Package: libreoffice-gtk4
+Architecture: %OOO_ARCHS%
+Depends: libreoffice-core (= ${binary:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends}
+Suggests: libreofficekit-data
+Section: gnome
+Enhances: libreoffice
+Description: office productivity suite -- GTK+ 4 integration
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the Gtk plugin for drawing LibreOffices widgets
+ with Gtk+ 4 and Gtk/GNOMEish print dialog.
+ .
+ You need to enable it manually by export SAL_USE_VCLPLUGIN=gtk4.
+
diff --git a/debian/control.help.in b/debian/control.help.in
new file mode 100644
index 000000000..40163e933
--- /dev/null
+++ b/debian/control.help.in
@@ -0,0 +1,18 @@
+Package: libreoffice-help-@LCODE@
+Architecture: all
+Section: doc
+Recommends: libreoffice-core (>> ${base-version}),
+ ${help-recommends}
+Depends: libreoffice-l10n-@LCODE@,
+ libreoffice-common (>= 1:6.1.0~),
+ ${help-depends},
+ ${misc:Depends}
+Provides: libreoffice-help (= ${help-l10n-virtual-version})
+Replaces: libreoffice-help-common (<< 1:6.4.1~rc1)
+Description: office productivity suite -- @LNAME@ help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the help of LibreOffice in
+ @LNAME@.
+
diff --git a/debian/control.in b/debian/control.in
new file mode 100644
index 000000000..3909cacf3
--- /dev/null
+++ b/debian/control.in
@@ -0,0 +1,910 @@
+Source: libreoffice
+Section: editors
+Priority: optional
+Maintainer: Debian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
+Uploaders: Rene Engelhard <rene@debian.org>, Chris Halls <halls@debian.org>
+Build-Depends: %BUILD_DEPS%,
+Build-Depends-Arch: %BUILD_DEPS_ARCH%
+Build-Depends-Indep: %BUILD_DEPS_INDEP%
+Build-Conflicts: nvidia-glx-dev,
+ nvidia-glx-legacy-dev,
+ amd-libopencl1,
+ nvidia-libopencl1,
+ fontconfig-config (= 2.14.1-1) <!nocheck>,
+ fontconfig-config (= 2.14.1-2) <!nocheck>,
+ fontconfig-config (= 2.14.1-3) <!nocheck>
+Standards-Version: 4.0.1
+Vcs-Git: https://salsa.debian.org/libreoffice-team/libreoffice/libreoffice.git
+Vcs-Browser: https://salsa.debian.org/libreoffice-team/libreoffice/libreoffice
+Bugs: @BUGS@
+Homepage: http://www.libreoffice.org
+
+Package: libreoffice
+Architecture: %OOO_ARCHS%
+Section: metapackages
+Depends: libreoffice-base%OOO_NO_BASE_ARCHS%,
+ libreoffice-calc,
+ libreoffice-core (= ${binary:Version}),
+ libreoffice-draw,
+ libreoffice-impress,
+ libreoffice-math,
+ libreoffice-report-builder-bin%OOO_NO_REPORTBUILDER_ARCHS%,
+ libreoffice-writer,
+ ${misc:Depends},
+ ${pyuno-depends}
+Recommends: ${java-common-depends},
+ fonts-sil-gentium-basic,
+ fonts-crosextra-caladea,
+ fonts-crosextra-carlito,
+ fonts-dejavu,
+ fonts-liberation,
+ fonts-liberation2,
+ fonts-linuxlibertine,
+ fonts-noto-core,
+ fonts-noto-extra,
+ fonts-noto-mono,
+ fonts-noto-ui-core,
+ libreoffice-script-provider-bsh,
+ libreoffice-script-provider-js,
+ libreoffice-script-provider-python,
+ libreoffice-nlpsolver,
+ libreoffice-report-builder%OOO_NO_REPORTBUILDER_ARCHS%,
+ libreoffice-wiki-publisher,
+ libreoffice-sdbc-mysql,
+ libreoffice-sdbc-postgresql
+Suggests: cups-bsd,
+ ghostscript,
+ hunspell-dictionary,
+ hyphen-hyphenation-patterns,
+ firefox-esr | thunderbird | firefox,
+ imagemagick | graphicsmagick-imagemagick-compat,
+ libgl1,
+ libreoffice-grammarcheck,
+ libreoffice-help (= ${help-l10n-virtual-version}),
+ libreoffice-l10n (= ${help-l10n-virtual-version}),
+ ${libsane-suggests},
+ libxrender1,
+ myspell-dictionary,
+ mythes-thesaurus,
+ openclipart-libreoffice,
+ pstoedit,
+ unixodbc,
+ gnupg,
+ gpa,
+ ${gstreamer-plugins-suggests},
+ ${java-runtime-depends},
+ ${ooo-officebean-dep},
+ libreoffice-librelogo,
+ %LO-DESKTOP-INTEGRATION%
+Conflicts: libreoffice-dev (<= 1:5.0.3~rc1-2), libreoffice-dev-doc (<= 1:5.0.3~rc1-2)
+Description: office productivity suite (metapackage)
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This metapackage installs all components of libreoffice:
+ * libreoffice-writer: Word processor
+ * libreoffice-calc: Spreadsheet
+ * libreoffice-impress: Presentation
+ * libreoffice-draw: Drawing
+ * libreoffice-base: Database
+ * libreoffice-math: Equation editor
+ It also recommends additional packages (e.g. fonts) in order to match an
+ upstream LibreOffice install as closely as possible.
+ .
+ You can extend the functionality of LibreOffice by installing these
+ packages:
+ * hunspell-*/myspell-*: Hunspell/Myspell dictionaries
+ for use with LibreOffice
+ * libreoffice-l10n-*: UI interface translation
+ * libreoffice-help-*: User help
+ * mythes-*: Thesauri for the use with LibreOffice
+ * hyphen-*: Hyphenation patterns for LibreOffice
+ * libreoffice-gtk(2|3): Gtk UI Plugin, GNOME File Picker support
+ * libreoffice-gnome: GIO backend
+ * unixodbc: ODBC database support
+ * cups-bsd: Allows LibreOffice to detect your CUPS printer queues
+ automatically
+ * libsane: Use your sane-supported scanner with LibreOffice
+ * libxrender1: Speed up display by using Xrender library
+ * libgl1: OpenGL support
+ * openclipart-libreoffice: Open Clip Art Gallery with LibreOffice index
+ files
+ * firefox-esr | thunderbird | firefox:
+ Mozilla profile with Certificates needed for XML Security...
+ * openjdk-11-jre | openjdk-8-jre | java8-runtime:
+ Java Runtime Environment for use with LibreOffice
+ * pstoedit / imagemagick / ghostscript: helper tools for EPS
+ * gstreamer0.10-plugins-*: GStreamer plugins for use with LibreOffices
+ media backend
+ * libpaper-utils: papersize detection support via paperconf
+
+Package: libreoffice-nogui
+Architecture: %OOO_NOGUI_ARCHS%
+Section: metapackages
+Depends: libreoffice-base-nogui%OOO_NO_BASE_ARCHS%,
+ libreoffice-calc-nogui,
+ libreoffice-core-nogui (= ${binary:Version}),
+ libreoffice-draw-nogui,
+ libreoffice-impress-nogui,
+ libreoffice-math-nogui,
+ libreoffice-report-builder-bin-nogui%OOO_NO_REPORTBUILDER_ARCHS%,
+ libreoffice-writer-nogui,
+ ${misc:Depends},
+ ${pyuno-depends}
+Recommends: ${java-common-depends},
+ libreoffice-script-provider-bsh,
+ libreoffice-script-provider-js,
+ libreoffice-script-provider-python,
+ libreoffice-sdbc-mysql,
+ libreoffice-sdbc-postgresql
+Suggests: ghostscript,
+ hunspell-dictionary,
+ hyphen-hyphenation-patterns,
+ imagemagick | graphicsmagick-imagemagick-compat,
+ libreoffice-grammarcheck,
+ myspell-dictionary,
+ mythes-thesaurus,
+ pstoedit,
+ unixodbc,
+ gnupg,
+ gpa,
+ ${java-runtime-depends}
+Description: office productivity suite (metapackage, no GUI)
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This metapackage installs all components of libreoffice:
+ * libreoffice-writer: Word processor
+ * libreoffice-calc: Spreadsheet
+ * libreoffice-impress: Presentation
+ * libreoffice-draw: Drawing
+ * libreoffice-base: Database
+ * libreoffice-math: Equation editor
+ .
+ WITHOUT GUI SUPPORT.
+ .
+ This package is intended mostly for scripting needs.
+
+Package: libreoffice-l10n-za
+Section: metapackages
+Architecture: all
+Depends: libreoffice-l10n-af,
+ libreoffice-l10n-en-za,
+ libreoffice-l10n-nr,
+ libreoffice-l10n-nso,
+ libreoffice-l10n-ss,
+ libreoffice-l10n-st,
+ libreoffice-l10n-tn,
+ libreoffice-l10n-ts,
+ libreoffice-l10n-ve,
+ libreoffice-l10n-xh,
+ libreoffice-l10n-zu,
+ ${misc:Depends}
+Description: office productivity suite -- South African language packages
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package is a metapackage installing l10n packages for all 11 South
+ African languages.
+
+Package: libreoffice-l10n-in
+Section: metapackages
+Architecture: all
+Depends: libreoffice-l10n-as,
+ libreoffice-l10n-bn,
+ libreoffice-l10n-gu,
+ libreoffice-l10n-hi,
+ libreoffice-l10n-kn,
+ libreoffice-l10n-ml,
+ libreoffice-l10n-mr,
+ libreoffice-l10n-ne,
+ libreoffice-l10n-or,
+ libreoffice-l10n-pa-in,
+ libreoffice-l10n-ta,
+ libreoffice-l10n-te,
+ ${misc:Depends}
+Recommends: fonts-indic
+Description: office productivity suite -- Indic language packages
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package is a metapackage installing l10n packages for all available
+ indic languages.
+
+Package: libreoffice-core
+Architecture: %OOO_ARCHS%
+Depends: fontconfig,
+ fonts-opensymbol (>= 2:102.12),
+ libreoffice-common (>> ${base-version}),
+ ure (>= 1:7.4.0~),
+ ${misc:Depends},
+ ${shlibs:Depends}
+Recommends: libpaper-utils, ${gstreamer-plugins-suggests}
+Breaks: libreoffice-base (<< ${binary:Version}),
+ libreoffice-calc (<< ${binary:Version}),
+ libreoffice-dev (<< ${binary:Version}),
+ libreoffice-draw (<< ${binary:Version}),
+ libreoffice-evolution (<< ${binary:Version}),
+ libreoffice-gnome (<< ${binary:Version}),
+ libreoffice-gtk2 (<< ${binary:Version}),
+ libreoffice-gtk3 (<< ${binary:Version}),
+ libreoffice-impress (<< ${binary:Version}),
+ libreoffice-qt5 (<< ${binary:Version}),
+ libreoffice-kde4 (<< ${binary:Version}),
+ libreoffice-kde5 (<< ${binary:Version}),
+ libreoffice-kf5 (<< ${binary:Version}),
+ libreoffice-officebean (<< ${binary:Version}),
+ libreoffice-writer (<< ${binary:Version}),
+ browser-plugin-libreoffice,
+ libreoffice-pdfimport (<< 1:5.4~),
+ libreoffice-common (<< 1:5.4.1),
+ libreoffice-avmedia-backend-gstreamer (<< ${binary:Version})
+Conflicts: libreoffice-filter-binfilter, libreoffice-avmedia-backend-vlc, libreoffice-mysql-connector (<< 1:6.2.0~), libreoffice-core-nogui
+# for bullseye, copied from libreoffice-common, see #985297
+ ,
+ libreoffice-base (<< 1:7.0.0~alpha~),
+ libreoffice-calc (<< 1:7.0.0~alpha~),
+ libreoffice-draw (<< 1:7.0.0~alpha~),
+ libreoffice-impress (<< 1:7.0.0~alpha~),
+ libreoffice-math (<< 1:7.0.0~alpha~),
+ libreoffice-report-builder (<< 1:7.0.0~alpha~),
+ libreoffice-writer (<< 1:7.0.0~alpha~),
+Replaces: libreoffice-pdfimport (<< 1:5.4~), libreoffice-common (<< 1:6.3.0~rc1~), libreoffice-avmedia-backend-gstreamer, libreoffice-core-nogui
+Description: office productivity suite -- arch-dependent files
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the architecture-dependent core files of
+ LibreOffice. See the libreoffice package for more information.
+
+Package: libreoffice-core-nogui
+Architecture: %OOO_NOGUI_ARCHS%
+Depends: fontconfig,
+ fonts-opensymbol (>= 2:102.12),
+ libreoffice-common (>> ${base-version}),
+ ure (>= 1:7.4.0~),
+ ${misc:Depends},
+ ${shlibs:Depends}
+Recommends: libpaper-utils
+Breaks: libreoffice-base (<< ${binary:Version}),
+ libreoffice-calc,
+ libreoffice-dev (<< ${binary:Version}),
+ libreoffice-draw (<< ${binary:Version}),
+ libreoffice-evolution (<< ${binary:Version}),
+ libreoffice-gnome (<< ${binary:Version}),
+ libreoffice-gtk2,
+ libreoffice-gtk3,
+ libreoffice-impress (<< ${binary:Version}),
+ libreoffice-qt5,
+ libreoffice-kde4,
+ libreoffice-kde5,
+ libreoffice-kf5,
+ libreoffice-officebean (<< ${binary:Version}),
+ libreoffice-writer (<< ${binary:Version}),
+ browser-plugin-libreoffice,
+ libreoffice-pdfimport (<< 1:5.4~),
+ libreoffice-common (<< 1:5.4.1),
+ libreoffice-avmedia-backend-gstreamer (<< ${binary:Version})
+Conflicts: libreoffice-filter-binfilter, libreoffice-avmedia-backend-vlc, libreoffice-mysql-connector (<< 1:6.2.0~), libreoffice-core
+Provides: libreoffice-bundled
+Replaces: libreoffice-pdfimport (<< 1:5.4~), libreoffice-common (<< 1:6.3.0~rc1~), libreoffice-avmedia-backend-gstreamer, libreoffice-core
+Description: office productivity suite -- arch-dependent files (no GUI variant)
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the architecture-dependent core files of
+ LibreOffice without GUI support for server-based or commandline usage of
+ LibreOffice.
+
+Package: libreoffice-common
+Architecture: all
+Depends: libreoffice-style-colibre, ure, ${numbertext-data-recommends}, ${misc:Depends}
+Suggests: libreoffice-style,
+Recommends: ${pyuno-depends}, ${textcat-data-recommends}, poppler-data, xdg-utils, fonts-liberation2 | ttf-mscorefonts-installer
+Conflicts: openoffice.org-unbundled,
+ broffice,
+ libreoffice-filter-mobiledev,
+ libreoffice-l10n-4.3,
+ libreoffice-l10n-4.4,
+ libreoffice-wiki-publisher (<< 1.2.0+LibO5.4.0~rc2),
+ libreoffice-base (<< 1:7.0.0~alpha~),
+ libreoffice-base-nogui (<< 1:7.0.0~alpha~),
+ libreoffice-calc (<< 1:7.0.0~alpha~),
+ libreoffice-calc-nogui (<< 1:7.0.0~alpha~),
+ libreoffice-draw (<< 1:7.0.0~alpha~),
+ libreoffice-draw-nogui (<< 1:7.0.0~alpha~),
+ libreoffice-evolution (<< 1:7.0.0~alpha~),
+ libreoffice-gnome (<< 1:7.0.0~alpha~),
+ libreoffice-impress (<< 1:7.0.0~alpha~),
+ libreoffice-impress-nogui (<< 1:7.0.0~alpha~),
+ libreoffice-l10n (<< 7.0),
+ libreoffice-librelogo (<< 1:7.0.0~alpha~),
+ libreoffice-math (<< 1:7.0.0~alpha~),
+ libreoffice-math-nogui (<< 1:7.0.0~alpha~),
+ libreoffice-sdbc-postgresql (<< 1:7.0.0~alpha~),
+ python3-uno (<< 1:7.0.0~alpha~),
+ libreoffice-report-builder (<< 1:7.0.0~alpha~),
+ libreoffice-writer (<< 1:7.0.0~alpha~),
+ libreoffice-writer-nogui (<< 1:7.0.0~alpha~)
+Provides: libreoffice-l10n-en-us
+Breaks: libreoffice-core (<< 4:${oover}~),
+ libreoffice-core-nogui (<< 4:${oover}~),
+ libreoffice-core (<< 1:6.4.2~rc1),
+ libreoffice-help-5.2,
+ libreoffice-help (<< 5.4),
+ libreoffice-l10n (<< 7.0),
+ libreoffice-librelogo (<< 1:7.0.0~alpha),
+ libreoffice-sdbc-postgresql (<< 1:7.0.0~alpha),
+ libreoffice-report-builder (<< 1:7.0.0~alpha),
+ libreoffice-evolution (<< 1:7.0.0~alpha),
+ libreoffice-gnome (<< 1:7.0.0~alpha),
+ python3-uno (<< 1:7.0.0~alpha),
+ libreoffice-core (>= 4:${next-oover}~),
+ libreoffice-core-nogui (>= 4:${next-oover}~),
+ libreoffice-style-andromeda (<< 1:${oover}~),
+ libreoffice-style-crystal (<< 1:${oover}~),
+ libreoffice-style-crystal (>= 1:${next-oover}~),
+ libreoffice-style-galaxy (<< 1:${oover}~),
+ libreoffice-style-galaxy (>= 1:${next-oover}~),
+ libreoffice-style-hicontrast (<< 1:${oover}~),
+ libreoffice-style-hicontrast (>= 1:${next-oover}~),
+ libreoffice-style-tango,
+ libreoffice-writer2latex (<< 1.0.2-9),
+ libreoffice-writer2xhtml (<< 1.0.2-9),
+ libreoffice-base (<< 1:6.4.0~beta1-2~),
+ openclipart-libreoffice (<= 1:0.18+dfsg-17)
+Replaces: libreoffice-base (<< 1:6.4.0~beta1-2~),
+ libreoffice-pdfimport (<< 1:5.4~),
+ openclipart-libreoffice (<= 1:0.18+dfsg-17)
+Description: office productivity suite -- arch-independent files
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the architecture-independent files of
+ LibreOffice.
+
+Package: libreoffice-java-common
+Architecture: all
+Depends: libreoffice-common, ure-java, liblibreoffice-java, libunoloader-java, ${java:Depends}, ${misc:Depends}
+Breaks: libunoil-java (<< 1:6.4.0~rc1-6)
+Replaces: libunoil-java (<< 1:6.4.0~rc1-6)
+Description: office productivity suite -- arch-independent Java support files
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the architecture-independent files of
+ the Java support for LibreOffice (Java classes, scripts, config snippets).
+
+Package: libreoffice-help-common
+Architecture: all
+Depends: libreoffice-common, ${help-common-depends}, ${misc:Depends}
+Breaks: libreoffice-common (<< 1:6.1.0~alpha1-1)
+Replaces: libreoffice-common (<< 1:6.1.0~alpha1-1)
+Description: office productivity suite -- common files for LibreOffice help
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the common files (e.g. language-independent, media) files
+ for the LibreOffice Help.
+
+Package: libreoffice-writer
+Architecture: %OOO_ARCHS%
+Depends: libreoffice-base-core (= ${binary:Version})%OOO_NO_BASE_ARCHS%,
+ libreoffice-core (= ${binary:Version}),
+ libreoffice-common (>= 1:7.0.0~alpha~),
+ ${misc:Depends},
+ ${shlibs:Depends}
+Recommends: libreoffice-math,
+Suggests: fonts-crosextra-caladea,
+ fonts-crosextra-carlito,
+ libreoffice-base,
+ ${java-common-depends},
+ ${java-runtime-depends}
+Replaces: libreoffice-common (<< 1:6.4.2~rc1~)
+Breaks: libreoffice-common (<< 1:6.4.2~rc1~)
+Description: office productivity suite -- word processor
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the wordprocessor component for LibreOffice.
+
+Package: libreoffice-writer-nogui
+Architecture: %OOO_NOGUI_ARCHS%
+Depends: libreoffice-base-core (= ${binary:Version})%OOO_NO_BASE_ARCHS%,
+ libreoffice-core-nogui (= ${binary:Version}) | libreoffice-core (= ${binary:Version}),
+ libreoffice-common (>= 1:7.0.0~alpha~),
+ ${misc:Depends},
+ ${shlibs:Depends}
+Recommends: libreoffice-math-nogui,
+Suggests: fonts-crosextra-caladea,
+ fonts-crosextra-carlito,
+ libreoffice-base,
+ ${java-common-depends},
+ ${java-runtime-depends}
+Replaces: libreoffice-common (<< 1:6.4.2~rc1~), libreoffice-writer
+Breaks: libreoffice-common (<< 1:6.4.2~rc1~)
+Conflicts: libreoffice-writer
+Description: office productivity suite -- word processor (no GUI variant)
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the wordprocessor component for LibreOffice.
+
+Package: libreoffice-calc
+Architecture: %OOO_ARCHS%
+Depends: libreoffice-base-core (= ${binary:Version})%OOO_NO_BASE_ARCHS%,
+ libreoffice-core (= ${binary:Version}),
+ libreoffice-common (>= 1:7.0.0~alpha~),
+ ${lpsolve-dep},
+ ${misc:Depends},
+ ${shlibs:Depends}
+Suggests: ocl-icd-libopencl1 | mesa-opencl-icd | beignet-opencl-icd
+Replaces: libreoffice-common (<< 1:6.4.2~rc1~)
+Breaks: libreoffice-common (<< 1:6.4.2~rc1~)
+Description: office productivity suite -- spreadsheet
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the spreadsheet component for LibreOffice.
+
+Package: libreoffice-calc-nogui
+Architecture: %OOO_NOGUI_ARCHS%
+Depends: libreoffice-base-core (= ${binary:Version})%OOO_NO_BASE_ARCHS%,
+ libreoffice-core-nogui (= ${binary:Version}) | libreoffice-core (= ${binary:Version}),
+ libreoffice-common (>= 1:7.0.0~alpha~),
+ ${lpsolve-dep},
+ ${misc:Depends},
+ ${shlibs:Depends}
+Replaces: libreoffice-common (<< 1:6.4.2~rc1~), libreoffice-calc
+Breaks: libreoffice-common (<< 1:6.4.2~rc1~)
+Conflicts: libreoffice-calc
+Description: office productivity suite -- spreadsheet (no GUI variant)
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the spreadsheet component for LibreOffice
+ for use with libreoffice-core-nogui.
+
+Package: libreoffice-impress
+Architecture: %OOO_ARCHS%
+Depends: libreoffice-core (= ${binary:Version}),
+ libreoffice-draw (= ${binary:Version}),
+ libreoffice-common (>= 1:7.0.0~alpha~),
+ ${misc:Depends},
+ ${shlibs:Depends}
+Replaces: libreoffice-common (<< 1:6.4.2~rc1~), libreoffice-ogltrans (<< 1:6.1.4-2~)
+Conflicts: libreoffice-ogltrans (<< 1:6.1.4-2~)
+Provides: libreoffice-ogltrans
+Breaks: libreoffice-common (<< 1:6.4.2~rc1~)
+Description: office productivity suite -- presentation
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the presentation component for LibreOffice.
+
+Package: libreoffice-impress-nogui
+Architecture: %OOO_NOGUI_ARCHS%
+Depends: libreoffice-core-nogui (= ${binary:Version}) | libreoffice-core (= ${binary:Version}),
+ libreoffice-draw-nogui (= ${binary:Version}) | libreoffice-draw (= ${binary:Version}),
+ libreoffice-common (>= 1:7.0.0~alpha~),
+ ${misc:Depends},
+ ${shlibs:Depends}
+Replaces: libreoffice-common (<< 1:6.4.2~rc1~), libreoffice-impress
+Conflicts: libreoffice-ogltrans (<< 1:6.1.4-2~), libreoffice-impress
+Breaks: libreoffice-common (<< 1:6.4.2~rc1~)
+Description: office productivity suite -- presentation (no GUI variant)
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the presentation component for LibreOffice.
+
+Package: libreoffice-draw
+Architecture: %OOO_ARCHS%
+Depends: libreoffice-core (= ${binary:Version}),
+ libreoffice-common (>= 1:7.0.0~alpha~),
+ ${misc:Depends},
+ ${shlibs:Depends}
+Replaces: libreoffice-core (<< 1:6.4.1~rc1-3), libreoffice-impress (<< 1:5.2.0-2), libreoffice-common (<< 1:6.4.2~rc1~)
+Breaks: libreoffice-core (<< 1:6.4.1~rc1-3), libreoffice-impress (<< 1:5.2.0-2), libreoffice-common (<< 1:6.4.2~rc1~)
+Description: office productivity suite -- drawing
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the drawing component for LibreOffice.
+
+Package: libreoffice-draw-nogui
+Architecture: %OOO_NOGUI_ARCHS%
+Depends: libreoffice-core-nogui (= ${binary:Version}) | libreoffice-core (= ${binary:Version}),
+ libreoffice-common (>= 1:7.0.0~alpha~),
+ ${misc:Depends},
+ ${shlibs:Depends}
+Replaces: libreoffice-impress (<< 1:5.2.0-2), libreoffice-common (<< 1:6.4.2~rc1~), libreoffice-draw
+Breaks: libreoffice-impress (<< 1:5.2.0-2), libreoffice-common (<< 1:6.4.2~rc1~)
+Conflicts: libreoffice-draw
+Description: office productivity suite -- drawing (no GUI variant)
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the drawing component for LibreOffice.
+
+Package: libreoffice-math
+Architecture: %OOO_ARCHS%
+Depends: fonts-opensymbol (>= 2:102.11),
+ libreoffice-core (= ${binary:Version}),
+ libreoffice-common (>= 1:7.0.0~alpha~),
+ ${misc:Depends},
+ ${shlibs:Depends}
+Replaces: libreoffice-common (<< 1:6.4.2~rc1~)
+Breaks: libreoffice-common (<< 1:6.4.2~rc1~)
+Description: office productivity suite -- equation editor
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the equation editor component for LibreOffice.
+
+Package: libreoffice-math-nogui
+Architecture: %OOO_NOGUI_ARCHS%
+Depends: fonts-opensymbol (>= 2:102.11),
+ libreoffice-core-nogui (= ${binary:Version}) | libreoffice-core (= ${binary:Version}),
+ libreoffice-common (>= 1:7.0.0~alpha~),
+ ${misc:Depends},
+ ${shlibs:Depends}
+Replaces: libreoffice-common (<< 1:6.4.2~rc1~), libreoffice-math
+Conflicts: libreoffice-common (<< 1:6.4.2~rc1~), libreoffice-math
+Description: office productivity suite -- equation editor (no GUI variant)
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the equation editor component for LibreOffice.
+
+Package: libreoffice-base-core
+Architecture: %OOO_BASE_ARCHS%
+Depends: libreoffice-core-nogui (= ${binary:Version}) | libreoffice-core (= ${binary:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends}
+Suggests: libreoffice-base
+Replaces: libreoffice-base-drivers (<< 1:6.1.1~rc1-2)
+Description: office productivity suite -- shared library
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains common libraries of LibreOffice Base used by
+ Base, Writer and Calc.
+ .
+ If you need full Base functionality (or actual database drivers), please
+ install libreoffice-base (and/or libreoffice-base-drivers and/o
+ libreoffice-sdbc-*).
+
+Package: libreoffice-base
+Architecture: %OOO_BASE_ARCHS%
+Section: database
+Pre-Depends: dpkg (>= 1.19.1)
+Depends: libreoffice-base-core (= ${binary:Version}),
+ libreoffice-base-drivers (= ${binary:Version}),
+ libreoffice-core (= ${binary:Version}),
+ libreoffice-common (>= 1:7.0.0~alpha~),
+ ${misc:Depends},
+ ${shlibs:Depends}
+Suggests: libreoffice-report-builder,
+ unixodbc,
+ python3-uno
+Recommends: libreoffice-writer, ${java-common-depends}, ${java-runtime-depends}
+Replaces: libreoffice-common (<< 1:6.4.2~rc1~)
+Breaks: libreoffice-common (<< 1:6.4.2~rc1~)
+Description: office productivity suite -- database
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the database component for LibreOffice.
+
+Package: libreoffice-base-nogui
+Architecture: %OOO_NOGUI_ARCHS%
+Section: database
+Depends: libreoffice-base-core (= ${binary:Version}),
+ libreoffice-base-drivers (= ${binary:Version}),
+ libreoffice-core-nogui (= ${binary:Version}) | libreoffice-core (= ${binary:Version}),
+ libreoffice-common (>= 1:7.0.0~alpha~),
+ ${misc:Depends},
+ ${shlibs:Depends}
+Suggests: libreoffice-report-builder,
+ unixodbc,
+ python3-uno
+Recommends: libreoffice-writer, ${java-common-depends}, ${java-runtime-depends}
+Replaces: libreoffice-common (<< 1:6.4.2~rc1~), libreoffice-base
+Breaks: libreoffice-common (<< 1:6.4.2~rc1~)
+Conflicts: libreoffice-base
+Description: office productivity suite -- database (no GUI variant)
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the database component for LibreOffice.
+
+Package: libreoffice-style-breeze
+Architecture: all
+Enhances: libreoffice-core
+Depends: libreoffice-style-colibre, ${misc:Depends}
+Suggests: breeze-icon-theme
+Provides: libreoffice-style
+Recommends: libreoffice-common
+Description: office productivity suite -- Breeze symbol style
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the "breeze" symbol style, default style for KDE 5.
+
+Package: libreoffice-style-colibre
+Architecture: all
+Enhances: libreoffice-core
+Depends: ${misc:Depends}
+Provides: libreoffice-style
+Recommends: libreoffice-common
+Description: office productivity suite -- colibre symbol style
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the "colibre" symbol style - a icon theme
+ which follow Microsoft(R) Offices color scheme.
+
+Package: libreoffice-style-sifr
+Architecture: all
+Enhances: libreoffice-core
+Depends: libreoffice-style-breeze, ${misc:Depends}
+Provides: libreoffice-style, libreoffice-style-hicontrast
+Replaces: libreoffice-style-hicontrast
+Conflicts: libreoffice-style-hicontrast
+Recommends: libreoffice-common
+Description: office productivity suite -- Sifr symbol style
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the "sifr" symbol style (an adaption of the Gnome
+ symbolic theme), needs to be manually enabled in the LibreOffice option
+ menu.
+
+Package: libreoffice-style-elementary
+Architecture: all
+Depends: libreoffice-style-colibre, ${misc:Depends}
+Enhances: libreoffice-core
+Provides: libreoffice-style
+Recommends: libreoffice-common
+Description: office productivity suite -- Elementary symbol style
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the "elementary" symbol style, default style
+ for GTK+/Gnome.
+
+Package: libreoffice-style-karasa-jaga
+Architecture: all
+Depends: ${misc:Depends}
+Enhances: libreoffice-core
+Provides: libreoffice-style
+Recommends: libreoffice-common
+Description: office productivity suite -- Karasa Jaga symbol style
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the "karasa_jaga" symbol style.
+
+Package: libreoffice-style-sukapura
+Architecture: all
+Depends: ${misc:Depends}
+Enhances: libreoffice-core
+Provides: libreoffice-style
+Recommends: libreoffice-common
+Description: office productivity suite -- Sukapura symbol style
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the "sukapura" symbol style.
+
+Package: libreoffice-gnome
+Architecture: %OOO_ARCHS%
+Depends: libreoffice-core (= ${binary:Version}),
+ libreoffice-common (>= 1:7.0.0~alpha~),
+ ${misc:Depends},
+ ${shlibs:Depends}
+Recommends: ${gnome-gtk-recommends}, libreoffice-style-elementary
+Suggests: libreoffice-evolution, seahorse
+Section: gnome
+Enhances: libreoffice
+Provides: libreoffice-gtk-gnome
+Replaces: libreoffice-gtk (<< 1:5.0.0~rc2-1), libreoffice-gtk3 (<< 1:7.2.0~)
+Conflicts: libreoffice-gtk3 (<< 1:7.2.0~)
+Description: office productivity suite -- GNOME integration
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the GIO support.
+ .
+ You can extend the functionality of this by installing these packages:
+ .
+ * libreoffice-evolution: Evolution addressbook support
+ * evolution
+
+Package: python3-uno
+Section: python
+Architecture: %OOO_ARCHS%
+Enhances: libreoffice
+Depends: libreoffice-core-nogui (= ${binary:Version}) | libreoffice-core (= ${binary:Version}),
+ libreoffice-common (>= 1:7.0.0~alpha~),
+ ${misc:Depends},
+ ${python3:Depends},
+ ${shlibs:Depends}
+Conflicts: python-uno
+Replaces: libreoffice-core (= 1:4.3.0~beta1-1), libreoffice-common (<< 1:4.4.0~beta2)
+Build-Profiles: <!nopython>
+Description: Python-UNO bridge
+ The Python-UNO bridge allows use of the standard LibreOffice API
+ with the Python scripting language. It additionally allows
+ others to develop UNO components in Python, thus Python UNO components
+ may be run within the LibreOffice process and can be called from C++
+ or the built in StarBasic scripting language.
+Homepage: http://udk.openoffice.org/python/python-bridge.html
+
+Package: libreoffice-script-provider-python
+Architecture: all
+Section: python
+Depends: libreoffice-common,
+ libreoffice-core-nogui | libreoffice-core,
+ ${misc:Depends},
+ ${python3:Depends},
+ ${pyuno-depends}
+Build-Profiles: <!nopython>
+Description: Python script support provider for LibreOffice scripting framework
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ The Scripting Framework allows LibreOffice users to write and run macros
+ in multiple languages including LibreOffice Basic, Python, Java, BeanShell
+ and JavaScript. These macros can then be assigned to menus, toolbars,
+ keyboard shortcuts, events and embedded objects.
+ .
+ This package contains the script provider to support Python.
+
+Package: libreoffice-script-provider-bsh
+Architecture: all
+Section: java
+Depends: libreoffice-common,
+ libreoffice-core-nogui | libreoffice-core,
+ ${java-common-depends},
+ liblibreoffice-java,
+ ${java:Depends},
+ ${java-runtime-depends},
+ ${misc:Depends}
+Description: BeanShell script support provider for LibreOffice scripting framework
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ The Scripting Framework allows LibreOffice users to write and run macros
+ in multiple languages including LibreOffice Basic, Python, Java, BeanShell
+ and JavaScript. These macros can then be assigned to menus, toolbars,
+ keyboard shortcuts, events and embedded objects.
+ .
+ This package contains the script provider to support BeanShell.
+
+Package: libreoffice-script-provider-js
+Architecture: all
+Section: web
+Depends: libreoffice-common,
+ libreoffice-core-nogui | libreoffice-core,
+ ${java-common-depends},
+ liblibreoffice-java,
+ ${java:Depends},
+ ${java-runtime-depends},
+ ${misc:Depends}
+Description: JavaScript script support provider for LibreOffice scripting framework
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ The Scripting Framework allows LibreOffice users to write and run macros
+ in multiple languages including LibreOffice Basic, Python, Java, BeanShell
+ and JavaScript. These macros can then be assigned to menus, toolbars,
+ keyboard shortcuts, events and embedded objects.
+ .
+ This package contains the script provider to support JavaScript.
+
+Package: libreoffice-sdbc-hsqldb
+Depends: libreoffice-core-nogui | libreoffice-core, ${java-common-depends}, ${java:Depends}, ${java-runtime-depends}, ${shlibs:Depends}, ${misc:Depends}
+Architecture: %OOO_JAVA_ARCHS%
+Section: database
+Enhances: libreoffice-base-drivers
+Description: HSQLDB SDBC driver for LibreOffice
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ The HSQLDB SDBC Driver allows one to use the HSQLDB embedded database from
+ LibreOffice without any wrapper layer such as ODBC or JDBC.
+
+Package: libreoffice-sdbc-mysql
+Section: database
+Architecture: %OOO_BASE_ARCHS%
+Depends: libreoffice-core-nogui | libreoffice-core, ${misc:Depends}, ${shlibs:Depends}
+Suggests: default-mysql-server | virtual-mysql-server
+Description: MariaDB/MySQL SDBC driver for LibreOffice
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ The MariaDB/MySQL driver allows one to use the MariaDB or MySQL
+ database from LibreOffice without any wrapper layer such as ODBC or JDBC.
+
+Package: libreoffice-base-drivers
+Depends: libreoffice-core-nogui | libreoffice-core, ${shlibs:Depends}, ${misc:Depends}
+Architecture: %OOO_BASE_ARCHS%
+Section: database
+Suggests: libreoffice-sdbc-postgresql | odbc-postgresql | libpg-java,
+ libreoffice-sdbc-mysql | libmyodbc | libmariadb-java,
+ libsqliteodbc | tdsodbc | odbc-mdbtools,
+ libjtds-java,
+Recommends: libreoffice-sdbc-hsqldb [%OOO_JAVA_ARCHS%], ${base-firebird-recommends}
+Replaces: libreoffice-base (<< 1:4.3.0-3), libreoffice-core (<< 1:6.2.0~beta1~)
+Breaks: libreoffice-base (<< 1:4.3.0-3)
+Description: Database connectivity drivers for LibreOffice
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the database connectivity drivers used by LibreOffices
+ database functionality:
+ - ODBC
+ - JDBC
+ - dBase
+ - Calc
+ - Flat files
+ .
+ You can extend this by installing:
+ .
+ * unixodbc: ODBC database support
+ * libmyodbc | odbc-postgresql | libsqliteodbc | tdsodbc | odbc-mdbtools: ODBC
+ drivers for:
+ - MySQL
+ - PostgreSQL
+ - SQLite
+ - MS SQL / Sybase SQL
+ - *.mdb (JET / MS Access)
+ * libmariadb-java | libpg-java | libjtds-java: JDBC Drivers
+ for:
+ - MySQL/MariaDB
+ - PostgreSQL
+ - MS SQL Server and Sybase
+ * libreoffice-sdbc-hsqldb: embedded HSQLDB SDBC Driver
+ * libreoffice-sdbc-firebird: Firebird SDBC Driver
+ * libreoffice-sdbc-postgresql: PostgreSQL SDBC Driver
+ * libreoffice-sdbc-mysql: MySQL/MariaDB SDBC Driver
+
+Package: python3-access2base
+Section: python
+Architecture: all
+Homepage: http://www.access2base.com/access2base.html
+Depends: libreoffice-common (>= 1:6.4.0~beta1-2~), libreoffice-base, python3-uno, ${python3:Depends}, ${misc:Depends}
+Replaces: libreoffice-base
+Description: interface between Python and the LibreOffice Access2Base library
+ Access2Base is a LibreOffice/OpenOffice Basic library of macros for
+ (business or personal) application developers and advanced users.
+ .
+ Their syntax and their meaning are directly inspired by MSAccess.
+ The macros are callable from
+ - a LibreOffice / OpenOffice Base application,
+ - any LibreOffice / OpenOffice document wanting to access data
+ stored in databases.
+ .
+ This package contains an interface between Python (user) scripts
+ and Access2Base.
+
+Package: libofficebean-java
+Section: java
+Depends: liblibreoffice-java,
+ ${java-runtime-depends},
+ ${java:Depends},
+ ${shlibs:Depends},
+ ${misc:Depends}
+Recommends: libreoffice-core-nogui | libreoffice-core
+Architecture: %OOO_JAVA_ARCHS%
+Replaces: libreoffice-officebean (<< 1:6.4.0~rc2-1)
+Breaks: libreoffice-officebean (<< 1:6.4.0~rc2-1)
+Description: generic Java Bean wrapper for LibreOffice components
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the Java library for the LibreOffice Office Bean
+ for embedding LibreOffice in custom Java applications.
+
diff --git a/debian/control.kf5.in b/debian/control.kf5.in
new file mode 100644
index 000000000..3eaa5b370
--- /dev/null
+++ b/debian/control.kf5.in
@@ -0,0 +1,17 @@
+Package: libreoffice-kf5
+Architecture: %OOO_ARCHS%
+Depends: libreoffice-core (= ${binary:Version}),
+ ${kf5-qt5-depends},
+ ${misc:Depends},
+ ${shlibs:Depends}
+Recommends: ${plasma-iconset-dep}
+Replaces: libreoffice-kde (<< 1:6.1.0~alpha1-1)
+Section: kde
+Enhances: libreoffice
+Description: office productivity suite -- KDE Frameworks 5 integration
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the KF5 plugin for LibreOffice and a KF5-based File
+ Picker when running under Plasma.
+
diff --git a/debian/control.lang.in b/debian/control.lang.in
new file mode 100644
index 000000000..950365693
--- /dev/null
+++ b/debian/control.lang.in
@@ -0,0 +1,29 @@
+Package: libreoffice-l10n-@LCODE@
+Section: localization
+Architecture: all
+Depends: libreoffice-common (>= 1:7.0.0~alpha~), ${misc:Depends}, @LOCALES_DEPENDS@
+Recommends: libreoffice-core (>> ${base-version}) @FONT_RECOMMENDS@
+Provides: libreoffice-l10n (= ${help-l10n-virtual-version})
+Suggests: hunspell-dictionary-@LCODE@ | myspell-dictionary-@LCODE@,
+ hyphen-@LCODE@,
+ libreoffice-grammarcheck-@LCODE@,
+ libreoffice-help-@LCODE@,
+ mythes-@LCODE@
+Description: office productivity suite -- @LNAME@ language package
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the localization of LibreOffice in
+ @LNAME@.
+ It contains the user interface, the templates and the autotext features.
+ (please note that not all this is available for all possible languages).
+ You can switch user interface language using the locales system.
+ .
+ Spelling dictionaries, hyphenation patterns, thesauri and help are not
+ included in this package. There are some available in separate packages
+ (myspell-*, hyphen-*, mythes-*, libreoffice-help-*)
+ .
+ If you just want to be able to spellcheck etc. in other languages, you can
+ install extra dictionaries/hyphenation patterns/thesauri independently of
+ the language packs.
+
diff --git a/debian/control.librelogo.in b/debian/control.librelogo.in
new file mode 100644
index 000000000..a07a2e08e
--- /dev/null
+++ b/debian/control.librelogo.in
@@ -0,0 +1,22 @@
+Package: libreoffice-librelogo
+Section: misc
+Architecture: all
+Depends: libreoffice-core,
+ libreoffice-writer,
+ libreoffice-script-provider-python,
+ libreoffice-common (>= 1:7.0.0~alpha),
+ ${misc:Depends}
+Build-Profiles: <!nopython>
+Homepage: http://librelogo.org
+Description: Logo-like programming language for LibreOffice
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains Librelogo, which is a pyuno-based Logo-like programming
+ language with interactive vectorgraphics for education and DTP
+ - basic Logo syntax for back compatibility with educational Logo systems
+ - interactive vectorgraphics in LibreOffice Writer
+ - native commands (easily translatable)
+ - Python data structures (list, tuple, set, dictionary) and other Python
+ features
+
diff --git a/debian/control.lokit.in b/debian/control.lokit.in
new file mode 100644
index 000000000..59dfd57c2
--- /dev/null
+++ b/debian/control.lokit.in
@@ -0,0 +1,16 @@
+Package: libreofficekit-dev
+Section: libdevel
+Architecture: %OOO_ARCHS%
+Depends: ${misc:Depends}, gir1.2-lokdocview-0.1 (= ${binary:Version})
+Suggests: libgtk-3-dev
+Recommends: libreoffice-core, libreofficekit-data
+Replaces: gir1.2-lokdocview-0.1 (<< 1:5.4.0~rc1)
+Description: LibreOfficeKit -- headers
+ LibreOfficeKit can be used for accessing LibreOffice functionality through
+ C/C++, without any need to use UNO.
+ .
+ For now it only offers document conversion (in addition to an experimental
+ tiled rendering API).
+ .
+ This package contains the headers needed for using LibreOfficeKit.
+
diff --git a/debian/control.mediawiki.in b/debian/control.mediawiki.in
new file mode 100644
index 000000000..9255a51a0
--- /dev/null
+++ b/debian/control.mediawiki.in
@@ -0,0 +1,18 @@
+Package: libreoffice-wiki-publisher
+Section: misc
+Architecture: all
+Depends: libreoffice-core,
+ liblibreoffice-java,
+ ${java-common-depends},
+ ${java:Depends},
+ ${java-runtime-depends},
+ ${misc:Depends}
+Enhances: libreoffice-writer
+Suggests: mediawiki
+Description: LibreOffice extension for working with MediaWiki articles
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains an extension to create/edit/publish MediaWiki
+ articles with LibreOffice
+
diff --git a/debian/control.nlpsolver.in b/debian/control.nlpsolver.in
new file mode 100644
index 000000000..9b540eeaa
--- /dev/null
+++ b/debian/control.nlpsolver.in
@@ -0,0 +1,14 @@
+Package: libreoffice-nlpsolver
+Architecture: all
+Depends: ${misc:Depends}, libreoffice-calc, libreoffice-core, liblibreoffice-java, ${java-common-depends}, ${java-runtime-depends}
+Section: math
+Description: "Solver for Nonlinear Programming" extension for LibreOffice
+ By default LibreOffice Calc ships with a solver engine for linear
+ programming only. This allows the optimization of models to a certain degree.
+ However, if the formulas or constraints become more complex,
+ nonlinear programming is required. That missing gap is now filled by the
+ Solver for Nonlinear Programming extension.
+ .
+ Currently it incorporates two Evolutionary Algorithms which are able to
+ handle floating point and integer variables as well as nonlinear constraints.
+
diff --git a/debian/control.plasma.in b/debian/control.plasma.in
new file mode 100644
index 000000000..dc56010de
--- /dev/null
+++ b/debian/control.plasma.in
@@ -0,0 +1,14 @@
+Package: libreoffice-plasma
+Architecture: %OOO_ARCHS%
+Depends: libreoffice-core (= ${binary:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends}
+Recommends: libreoffice-kf5
+Replaces: libreoffice-kde5 (<< 1:6.4.0~)
+Description: office productivity suite -- some Plasma integration
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains some minor Plasma integration (like AppData
+ and "Create New..." integration) and a KDE/KF5 configuration backend.
+
diff --git a/debian/control.postgresql.in b/debian/control.postgresql.in
new file mode 100644
index 000000000..d41576868
--- /dev/null
+++ b/debian/control.postgresql.in
@@ -0,0 +1,17 @@
+Package: libreoffice-sdbc-postgresql
+Section: misc
+Architecture: %OOO_BASE_ARCHS%
+Depends: libreoffice-core-nogui | libreoffice-core,
+ libreoffice-common (>= 1:7.0.0~alpha),
+ ${misc:Depends},
+ ${shlibs:Depends}
+Suggests: postgresql (>= 8.4)
+Enhances: libreoffice-base-drivers
+Description: PostgreSQL SDBC driver for LibreOffice
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ The PostgreSQL SDBC Driver allows one to use the PostgreSQL database from
+ LibreOffice without any wrapper layer such as ODBC or JDBC.
+Homepage: http://wiki.documentfoundation.org/PostgreSQL-SDBC
+
diff --git a/debian/control.qt5.in b/debian/control.qt5.in
new file mode 100644
index 000000000..aea9dbebb
--- /dev/null
+++ b/debian/control.qt5.in
@@ -0,0 +1,17 @@
+Package: libreoffice-qt5
+Architecture: %OOO_ARCHS%
+Depends: libreoffice-core (= ${binary:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends}
+Recommends: qtgstreamer-plugins-qt5
+Enhances: libreoffice
+Description: office productivity suite -- Qt 5 integration
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the Qt 5 plugin for drawing LibreOffices widgets
+ with Qt 5 and a Qt File Picker and print dialog.
+ .
+ You need to enable it manually by export SAL_USE_VCLPLUGIN=qt5 if you are
+ not using Plasma.
+
diff --git a/debian/control.qt6.in b/debian/control.qt6.in
new file mode 100644
index 000000000..2cc784160
--- /dev/null
+++ b/debian/control.qt6.in
@@ -0,0 +1,15 @@
+Package: libreoffice-qt6
+Architecture: %OOO_ARCHS%
+Depends: libreoffice-core (= ${binary:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends}
+Enhances: libreoffice
+Description: office productivity suite -- Qt 6 integration
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the Qt 6 plugin for drawing LibreOffices widgets
+ with Qt 6 and a Qt File Picker and print dialog.
+ .
+ You need to enable it manually by export SAL_USE_VCLPLUGIN=qt6.
+
diff --git a/debian/control.reportbuilder.in b/debian/control.reportbuilder.in
new file mode 100644
index 000000000..4a2edd011
--- /dev/null
+++ b/debian/control.reportbuilder.in
@@ -0,0 +1,55 @@
+Package: libreoffice-report-builder
+Section: misc
+Architecture: all
+Depends: libreoffice-core | libreoffice-core-nogui,
+ libreoffice-report-builder-bin (>= ${base-version}),
+ libreoffice-common (>= 1:7.0.0~alpha),
+ liblibreoffice-java,
+ ${java:Depends},
+ ${java-common-depends},
+ ${misc:Depends},
+ ${report-builder-jar-depends}
+Provides: libreoffice-reportdesigner
+Enhances: libreoffice-base
+Breaks: libreoffice-common (<< 1:6.4.2~rc1~)
+Replaces: libreoffice-common (<< 1:6.4.2~r~~)
+Description: LibreOffice component for building database reports
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the report builder:
+ "Create with the Sun Report Builder stylish, smart-looking database reports.
+ The flexible report editor can define group and page headers as well as
+ group and page footers and even calculation fields are available to
+ accomplish complex database reports."
+
+Package: libreoffice-report-builder-bin
+Section: misc
+Architecture: %OOO_REPORTBUILDER_ARCHS%
+Depends: libreoffice-core,
+ libreoffice-base,
+ ${misc:Depends},
+ ${shlibs:Depends}
+Description: LibreOffice component for building database reports -- libraries
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains some architecture-dependent support libraries
+ (librpt*.so) for the report builder component.
+
+Package: libreoffice-report-builder-bin-nogui
+Section: misc
+Architecture: %OOO_REPORTBUILDER_ARCHS%
+Depends: libreoffice-core-nogui | libreoffice-core,
+ libreoffice-base-nogui | libreoffice-base,
+ ${misc:Depends},
+ ${shlibs:Depends}
+Conflicts: libreoffice-report-builder-bin
+Replaces: libreoffice-report-builder-bin
+Description: LibreOffice component for building database reports -- libraries (no GUI variant)
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains some architecture-dependent support libraries
+ (librpt*.so) for the report builder component.
+
diff --git a/debian/control.sdk.in b/debian/control.sdk.in
new file mode 100644
index 000000000..d906fa629
--- /dev/null
+++ b/debian/control.sdk.in
@@ -0,0 +1,70 @@
+Package: libreoffice-dev
+Section: devel
+Architecture: %OOO_ARCHS%
+Depends: libreoffice-core-nogui (= ${binary:Version}) | libreoffice-core (= ${binary:Version}),
+ libreoffice-dev-common (= ${source:Version}),
+ ${idlc-cpp-depends},
+ ${misc:Depends},
+ ${shlibs:Depends}
+Recommends: g++, ${java-common-depends}, ${java-runtime-depends}
+Suggests: libmythes-dev, libreofficekit-dev, libreoffice-dev-doc
+Replaces: libreoffice-dev-common (<< 1:5.4.1~)
+Conflicts: libreoffice-dev-doc (<< 1:5.2.5-2~), libreoffice (<< 1:5.2.5-2~)
+Breaks: libreoffice-dev-common (<< 1:5.4.1~)
+Description: office productivity suite -- SDK -- architecture-dependent parts
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the (architecture-dependent) files needed to build
+ plugins/add-ons for LibreOffice (build tools, libraries, arch-dependent
+ includes, ...).
+
+Package: libreoffice-dev-gui
+Section: devel
+Architecture: %OOO_ARCHS%
+Depends: libreoffice-core (= ${binary:Version}),
+ libreoffice-dev (= ${binary:Version}),
+ libreoffice-dev-common (= ${source:Version}),
+ ${misc:Depends},
+ ${shlibs:Depends}
+Replaces: libreoffice-dev (<< 1:7.0.0~)
+Breaks: libreoffice-dev (<< 1:7.0.0~)
+Description: office productivity suite -- "GUI" development stuff
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the gengal utility which was moved from
+ libreoffice-dev.
+
+Package: libreoffice-dev-common
+Section: devel
+Architecture: all
+Depends: ${misc:Depends}
+Replaces: libreoffice-dev (<< 1:5.2.0~)
+Breaks: libreoffice-dev (<< 1:5.2.0~)
+Conflicts: libreoffice (<< 1:5.2.5-2~)
+Description: office productivity suite -- SDK -- architecture-independent parts
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the (architecture-independent) files needed to build
+ plugins/add-ons for LibreOffice (includes, IDL files, ...)
+
+Package: libreoffice-dev-doc
+Section: doc
+Architecture: all
+Depends: ${misc:Depends}
+Recommends: libreoffice-dev (= ${binary:Version}),
+ www-browser
+Conflicts: openoffice.org-dev-doc, libreoffice-dev (<= 1:5.0.3~rc1-2), libreoffice (<< 1:5.2.5-2~)
+Build-Profiles: <!nodoc>
+Description: office productivity suite -- SDK documentation
+ LibreOffice is a full-featured office productivity suite that provides
+ a near drop-in replacement for Microsoft(R) Office.
+ .
+ This package contains the documentation of the LibreOffice SDK:
+ .
+ * C++/Java API reference
+ * IDL reference
+ * C++/Java/Basic examples
+
diff --git a/debian/control.test-packages.in b/debian/control.test-packages.in
new file mode 100644
index 000000000..bbe7d9d10
--- /dev/null
+++ b/debian/control.test-packages.in
@@ -0,0 +1,18 @@
+Package: libreoffice-subsequentcheckbase
+Section: libs
+Architecture: all
+Depends: liblibreoffice-java, ${java:Depends}, ${misc:Depends}
+Build-Profiles: <!noinsttest>
+Description: LibreOffice java test libraries
+ Java libraries LibreOffice subsequentchecks integration test suite
+
+Package: libreoffice-smoketest-data
+Section: misc
+Depends: ${misc:Depends}
+Architecture: all
+Build-Profiles: <!noinsttest>
+Replaces: libreoffice-java-common (<< 1:6.4.0~rc1-6)
+Breaks: libreoffice-java-common (<< 1:6.4.0~rc1-6)
+Description: data files for LibreOffices "smoketest"
+ Data files for the LibreOffice "smoketest".
+
diff --git a/debian/control.ure.in b/debian/control.ure.in
new file mode 100644
index 000000000..f3717e494
--- /dev/null
+++ b/debian/control.ure.in
@@ -0,0 +1,172 @@
+Package: uno-libs-private
+Section: libs
+Architecture: %OOO_ARCHS%
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Replaces: uno-libs3
+Breaks: uno-libs3
+Description: LibreOffice UNO runtime environment -- private libraries used by public ones
+ The Uno Runtime Environment (URE) is the well-known UNO component model
+ of LibreOffice, packaged up as an individual product.
+ .
+ It offers you a flexible, low-overhead component model that is most ideal
+ for (but not limited to) combining in one application components written in
+ different computer languages, and developed by different parties. You can use
+ it to create any kind of application, in whatever application domain you can
+ imagine.
+ .
+ This package contains some private UNO/URE libraries which are used by public
+ ones (e.g. cppu).
+
+Package: libuno-sal3
+Section: libs
+Architecture: %OOO_ARCHS%
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Replaces: ure (<< 5.0.0~rc2-1), uno-libs3
+Breaks: libreoffice-core (<< 1:4.3.0~), uno-libs3
+Description: LibreOffice UNO runtime environment -- SAL public library
+ The Uno Runtime Environment (URE) is the well-known UNO component model
+ of LibreOffice, packaged up as an individual product.
+ .
+ It offers you a flexible, low-overhead component model that is most ideal
+ for (but not limited to) combining in one application components written in
+ different computer languages, and developed by different parties. You can use
+ it to create any kind of application, in whatever application domain you can
+ imagine.
+ .
+ This package contains the System Abstraction Layer (SAL) library.
+
+Package: libuno-salhelpergcc3-3
+Section: libs
+Architecture: %OOO_ARCHS%
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Replaces: ure (<< 5.0.0~rc2-1), uno-libs3
+Breaks: libreoffice-core (<< 1:4.3.0~), uno-libs3
+Description: LibreOffice UNO runtime environment -- SAL helpers for C++ library
+ The Uno Runtime Environment (URE) is the well-known UNO component model
+ of LibreOffice, packaged up as an individual product.
+ .
+ It offers you a flexible, low-overhead component model that is most ideal
+ for (but not limited to) combining in one application components written in
+ different computer languages, and developed by different parties. You can use
+ it to create any kind of application, in whatever application domain you can
+ imagine.
+ .
+ This package contains C++ helpers to make use of sal easier.
+
+Package: libuno-cppu3
+Section: libs
+Architecture: %OOO_ARCHS%
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Replaces: ure (<< 5.0.0~rc2-1), uno-libs3
+Breaks: libreoffice-core (<< 1:4.3.0~), uno-libs3
+Description: LibreOffice UNO runtime environment -- CPPU public library
+ The Uno Runtime Environment (URE) is the well-known UNO component model
+ of LibreOffice, packaged up as an individual product.
+ .
+ It offers you a flexible, low-overhead component model that is most ideal
+ for (but not limited to) combining in one application components written in
+ different computer languages, and developed by different parties. You can use
+ it to create any kind of application, in whatever application domain you can
+ imagine.
+ .
+ This package contains CPPU, the type definitions/implementations for the core
+ of UNO.
+
+Package: libuno-cppuhelpergcc3-3
+Section: libs
+Architecture: %OOO_ARCHS%
+Depends: ${misc:Depends}, ${shlibs:Depends}, uno-libs-private (= ${binary:Version})
+Replaces: ure (<< 5.0.0~rc2-1), uno-libs3
+Breaks: libreoffice-core (<< 1:4.3.0~), uno-libs3
+Description: LibreOffice UNO runtime environment -- CPPU helper library
+ The Uno Runtime Environment (URE) is the well-known UNO component model
+ of LibreOffice, packaged up as an individual product.
+ .
+ It offers you a flexible, low-overhead component model that is most ideal
+ for (but not limited to) combining in one application components written in
+ different computer languages, and developed by different parties. You can use
+ it to create any kind of application, in whatever application domain you can
+ imagine.
+ .
+ This package contains the cppuhelper library (helpers for using cppu in C++,
+ e.g. templates for implementing UNO components, bootstrapping stuff)
+
+Package: libuno-purpenvhelpergcc3-3
+Section: libs
+Architecture: %OOO_ARCHS%
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Replaces: ure (<< 5.0.0~rc2-1), uno-libs3
+Breaks: libreoffice-core (<< 1:4.3.0~), uno-libs3
+Description: LibreOffice UNO runtime environment -- "purpose environment" helper
+ The Uno Runtime Environment (URE) is the well-known UNO component model
+ of LibreOffice, packaged up as an individual product.
+ .
+ It offers you a flexible, low-overhead component model that is most ideal
+ for (but not limited to) combining in one application components written in
+ different computer languages, and developed by different parties. You can use
+ it to create any kind of application, in whatever application domain you can
+ imagine.
+ .
+ This package contains a library which contains a helper for implementing
+ so-called "purpose environments".
+
+Package: ure
+Section: libs
+Architecture: %OOO_ARCHS%
+Depends: ${misc:Depends}, ${shlibs:Depends}, uno-libs-private (= ${binary:Version})
+Replaces: libreoffice-common (<< 1:4.5.0), libreoffice-core (<< 1:5.3.0~beta1~), libjuh-java (<< 1:6.4.0~rc1-6), libridl-java (<< 1:6.4.0~rc1-6), libunoloader-java (<< 1:6.4.0~rc1-6), libjurt-java (<< 1:6.4.0~rc1-6), ure-java (<< 1:7.1.1~rc2-1)
+Breaks: libreoffice-core (<< 1:7.4.0~), libreoffice-core-nogui (<< 1:7.4.0~), libreoffice-common (<< 1:4.5.0), libjuh-java (<< 1:6.4.0~rc1-6), libridl-java (<< 1:6.4.0~rc1-6), libunoloader-java (<< 1:6.4.0~rc1-6), libjurt-java (<< 1:6.4.0~rc1-6), ure-java (<< 1:7.1.1~rc2-1)
+Description: LibreOffice UNO runtime environment
+ The Uno Runtime Environment (URE) is the well-known UNO component model
+ of LibreOffice, packaged up as an individual product.
+ .
+ It offers you a flexible, low-overhead component model that is most ideal
+ for (but not limited to) combining in one application components written in
+ different computer languages, and developed by different parties. You can use
+ it to create any kind of application, in whatever application domain you can
+ imagine.
+
+Package: ure-java
+Section: java
+Architecture: %OOO_ARCHS%
+Depends: ${misc:Depends}, ${shlibs:Depends}, ${java:Depends}, uno-libs-private (= ${binary:Version}), ure (= ${binary:Version}), libunoloader-java
+Recommends: liblibreoffice-java, ${java-runtime-depends}
+Replaces: ure (<< 1:7.1.0~)
+Breaks: ure (<< 1:7.1.0~)
+Description: LibreOffice UNO runtime environment -- Java support
+ The Uno Runtime Environment (URE) is the well-known UNO component model
+ of LibreOffice, packaged up as an individual product.
+ .
+ It offers you a flexible, low-overhead component model that is most ideal
+ for (but not limited to) combining in one application components written in
+ different computer languages, and developed by different parties. You can use
+ it to create any kind of application, in whatever application domain you can
+ imagine.
+ .
+ This package contains the Java support in the URE.
+
+Package: libunoloader-java
+Architecture: all
+Section: java
+Depends: ${java:Depends}, ${misc:Depends}
+Replaces: ure (<< 6.4.0~rc1-6)
+Breaks: ure (<< 6.4.0~rc1-6)
+Description: LibreOffice UNO runtime environment -- (Java) UNO loader
+ The Uno Runtime Environment (URE) is the well-known UNO component model
+ of LibreOffice, packaged up as an individual product.
+ .
+ This package contains a UNO loader library for Java.
+
+Package: liblibreoffice-java
+Architecture: all
+Section: java
+Depends: ure-java, libunoloader-java, ${java:Depends}, ${misc:Depends}
+Provides: libjuh-java, libridl-java, libjurt-java, libunoil-java
+Replaces: libjuh-java (<< 1:7.1.0~), libridl-java (<< 1:7.1.0~), libjurt-java (<< 1:7.1.0~), libunoil-java (<< 1:7.1.0~)
+Breaks: libjuh-java (<< 1:7.1.0~), libridl-java (<< 1:7.1.0~), libjurt-java (<< 1:7.1.0~), libunoil-java (<< 1:7.1.0~)
+Description: LibreOffice UNO runtime environment -- Java library
+ The Uno Runtime Environment (URE) is the well-known UNO component model
+ of LibreOffice, packaged up as an individual product.
+ .
+ This package contains the public Java libraries.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 000000000..a58bed31d
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,296 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: LibreOffice
+Upstream-Contact: libreoffice@lists.freedesktop.org
+Source: http://download.documentfoundation.org/libreoffice/src
+# they are already removed when packing the upstream tarballs, but are in git...
+#Files-Excluded: schema/*/*
+
+Files: *
+Copyright: Copyright 2000, 2010 Oracle and/or its affiliates.
+ Copyright (c) 2000, 2010 LibreOffice contributors and/or their affiliates.
+License: MPL-2.0
+ On Debian systems the full text of the MPL-2.0 can be found in
+ /usr/share/common-licenses/MPL-2.0.
+ .
+ Some files include Apache-2.0 licensed material:
+ .
+ # This file incorporates work covered by the following license notice:
+ #
+ # Licensed to the Apache Software Foundation (ASF) under one or more
+ # contributor license agreements. See the NOTICE file distributed
+ # with this work for additional information regarding copyright
+ # ownership. The ASF licenses this file to you under the Apache
+ # License, Version 2.0 (the "License"); you may not use this file
+ # except in compliance with the License. You may obtain a copy of
+ # the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ .
+ On Debian systems the full text of the Apache-2.0 license can be found in
+ /usr/share/common-licenses/Apache-2.0.
+
+Files: extras/source/truetype/symbol/OpenSymbol.sfd
+Copyright: (c) 2009 Sun Microsystems Inc.
+ (c) 2010 Google Corporation
+ (c) 2011 Julien Nabet
+ (c) 2011 Olivier Hallot
+ (c) 2013 Mathias Hasselmann
+ (c) 2015 Khaled Hosny
+ (c) 2016 Mike Kaganski
+License: MPL-2.0
+ On Debian systems the full text of the MPL-2.0 can be found in
+ /usr/share/common-licenses/MPL-2.0.
+ .
+ Some files include Apache-2.0 licensed material:
+ .
+ # This file incorporates work covered by the following license notice:
+ #
+ # Licensed to the Apache Software Foundation (ASF) under one or more
+ # contributor license agreements. See the NOTICE file distributed
+ # with this work for additional information regarding copyright
+ # ownership. The ASF licenses this file to you under the Apache
+ # License, Version 2.0 (the "License"); you may not use this file
+ # except in compliance with the License. You may obtain a copy of
+ # the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ .
+ On Debian systems the full text of the Apache-2.0 license can be found in
+ /usr/share/common-licenses/Apache-2.0.
+
+Files: swext/mediawiki/src/filter/odt2mediawiki.xsl
+Copyright: Copyright (C) 2007-2013 Bernhard Haumacher (haui@haumacher.de)
+License: Apache-2.0
+
+Files: sysui/desktop/apparmor/*
+Copyright: Copyright (C) 2016 Canonical Ltd.
+ Copyright (C) 2017 Software in the Public Interest, Inc.
+License: MPL-2.0
+
+Files: sysui/desktop/appstream-appdata/*.xml
+Copyright: Copyright (c) 2013-2019 LibreOffice contributors and/or their affiliates.
+License: CC0-1.0
+
+Files: icon-themes/breeze*/*
+Copyright: Copyright 2014 Uri Herrera <kaisergreymon99@gmail.com>
+ Copyright 2015 Andreas Kainz <kainz.a@gmail.com> and other contributors
+License: GPL-2+
+
+Files: icon-themes/sifr*/*
+Copyright: Jakub Steiner <jimmac@novell.com>
+ Lapo Calamandrei <calamandrei@gmail.com>
+ Hylke Bons <hylke.bons@intel.com>
+ Barbara Muraus <barbara.muraus@gmail.com>
+ Issa Alkurtass <ialkurtass@kacst.edu.sa>
+ Norah Abanumay <nabanimy@kacst.edu.sa>
+ Copyright 2017-2018 Matthias Freund <matti_lx@mailbox.org>
+License: CC-BY-SA-3.0
+
+Files: icon-themes/elementary*/*
+Copyright: Copyright 2015 by Simon Steinbeiss <simon@xfce.org>, Pasi Lallinaho <pasi@shimmerproject.org>
+License: GPL-3+
+
+Files: icon-themes/colibre*/*
+Copyright: Copyright 2018 Andreas Kainz <kainz.a@gmail.com>
+License: CC0-1.0
+
+https://github.com/rizmut/libreoffice-style-karasa-jaga/blob/master/COPYING
+Files: icon-themes/karasa_jaga/*
+Copyright: Copyright (c) 2014 Rizal Muttaqin <sundaralinux@gmail.com>
+License: LGPL-3+
+
+Files: icon-themes/sukapura*/*
+Copyright: Copyright (c) 2019-2020 Rizal Muttaqin <riz_17_oke@yahoo.co.id>
+License: MPL-2.0
+
+Files: helpcontent2/help3xsl/normalize.css
+Copyright: Copyright © Nicolas Gallagher and Jonathan Neal
+License: Expat
+
+Files: helpcontent2/help3xsl/prism.js
+Copyright: Copyright (c) Lea Verou <https://lea.verou.me>
+License: MIT
+
+Files: helpcontent2/help3xsl/prism.css
+Copyright: Copyright (c) Tim Shedor
+License: MIT
+
+Files: debian/*
+Copyright: Copyright (C) 2002-2009 Software in the Public Interest, Inc.
+License: GPL-2
+
+Files: debian/templates/debian-presentation.otp
+Copyright: Copyright (C) 2010 Raphaël Hertzog
+License: GPL-2+
+
+Files: debian/templates/debian-presentation-background.xcf
+Copyright: Copyright Alexis Younes "ayo"
+License: GPL-2+
+
+Files: tarballs/dtoa*
+Copyright: Copyright (c) 1991, 2000, 2001 by Lucent Technologies.
+License: Expat
+
+# https://github.com/google/skia/blob/master/LICENSE
+Files: tarballs/skia*
+Copyright: Copyright (c) 2011 Google Inc.
+License: BSD-3-clause
+
+Files: tarballs/*rhino*
+Copyright: Copyright (C) 1997-2000 Netscape Communications Corporation
+ Copyright (C) 2000 See Beyond Communications Corporation
+License: MPL-1.1 or GPL-2 or LGPL-2
+
+Files: tarballs/*xsltml*
+Copyright: Copyright (C) 2001-2003 Vasil Yaroshevich
+License: other
+ Permission is hereby granted, free of charge, to any person
+ obtaining a copy of this software and associated documentation
+ files (the ``Software''), to deal in the Software without
+ restriction, including without limitation the rights to use,
+ copy, modify, merge, publish, distribute, sublicense, and/or
+ sell copies of the Software, and to permit persons to whom the
+ Software is furnished to do so, subject to the following
+ conditions:
+ .
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+ .
+ Except as contained in this notice, the names of individuals
+ credited with contribution to this software shall not be used in
+ advertising or otherwise to promote the sale, use or other
+ dealings in this Software without prior written authorization
+ from the individuals in question.
+ .
+ Any stylesheet derived from this Software that is publically
+ distributed will be identified with a different name and the
+ version strings in any derived Software will be changed so that
+ no possibility of confusion between the derived package and this
+ Software will exist.
+
+Files: tarballs/*swingEx*
+Copyright: Copyright 2008 by Sun Microsystems, Inc.
+License: LGPL-3
+ On Debian systems the full text of the LGPL-3 can be found in
+ /usr/share/common-licenses/LGPL-3
+
+Files: tarballs/pdfium*
+Copyright: // Copyright 2014-2016 PDFium Authors.
+ // Original code copyright 2014 Foxit Software Inc.
+License: other
+ // Redistribution and use in source and binary forms, with or without
+ // modification, are permitted provided that the following conditions are
+ // met:
+ //
+ // * Redistributions of source code must retain the above copyright
+ // notice, this list of conditions and the following disclaimer.
+ // * Redistributions in binary form must reproduce the above
+ // copyright notice, this list of conditions and the following disclaimer
+ // in the documentation and/or other materials provided with the
+ // distribution.
+ // * Neither the name of Google Inc. nor the names of its
+ // contributors may be used to endorse or promote products derived from
+ // this software without specific prior written permission.
+ //
+ // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+ // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+ // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+ // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+ // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+ // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+ // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+ // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+ // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+Files: debian/patches/add-access2base-doc.diff wizards/source/access2base/access2base.html
+Copyright: Copyright (c) Jeremy Ruston 2004-2007
+ Copyright (c) UnaMesa Association 2007-2012
+License: other
+ Redistribution and use in source and binary forms, with or without modification,
+ are permitted provided that the following conditions are met:
+ .
+ Redistributions of source code must retain the above copyright notice, this
+ list of conditions and the following disclaimer.
+ .
+ Redistributions in binary form must reproduce the above copyright notice, this
+ list of conditions and the following disclaimer in the documentation and/or other
+ materials provided with the distribution.
+ .
+ Neither the name of the UnaMesa Association nor the names of its contributors may be
+ used to endorse or promote products derived from this software without specific
+ prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS' AND ANY
+ EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
+ SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
+ TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
+ BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
+ ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
+ DAMAGE.
+
+Files: helpcontent2/help3xsl/polyfills.js
+Copyright: Copyright (c) 2016-present, jszhou
+License: MIT
+
+Files: helpcontent2/help3xsl/polyfills.js
+Copyright: Copyright (C) 2015 Larry Davis
+License: BSD-2-clause
+
+License: Expat
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+ .
+ The above copyright notice and this permission notice shall be
+ included in all copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+License: MPL-2.0
+ On Debian systems the full text of the MPL-2.0 can be found in
+ /usr/share/common-licenses/MPL-2.0.
+
+License: Apache-2.0
+ On Debian systems the full text of the Apache-2.0 license can be found in
+ /usr/share/common-licenses/Apache-2.0.
+
+License: GPL-2+
+ On Debian systems the full text of the GPL-2 can be found in
+ /usr/share/common-licenses/GPL-2
+
+License: GPL-3+
+ On Debian systems the full text of the GPL-3 can be found in
+ /usr/share/common-licenses/GPL-3
+
+License: GPL-2
+ On Debian systems the full text of the GPL-2 can be found in
+ /usr/share/common-licenses/GPL-2
+
+License: MPL-1.1
+ On Debian systems the full text of the MPL-1.1 can be found in
+ /usr/share/common-licenses/MPL-1.1
+
+License: LGPL-2
+ On Debian systems the full text of the LGPL-2 can be found in
+ /usr/share/common-licenses/LGPL-2
+
+License: LGPL-3+
+ On Debian systems the full text of the LGPL-3 can be found in
+ /usr/share/common-licenses/LGPL-3
+
+License: CC0-1.0
+ On Debian systems the full text of the CC0-1.0 license can be found in
+ /usr/share/common-licenses/CC0-1.0
+
+
diff --git a/debian/gir1.2-lokdocview-0.1.maintscript b/debian/gir1.2-lokdocview-0.1.maintscript
new file mode 100644
index 000000000..af2542fa9
--- /dev/null
+++ b/debian/gir1.2-lokdocview-0.1.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/gir1.2-lokdocview-0.1 /usr/share/doc/libreoffice-core 1:6.4.0~alpha1~git20191013
diff --git a/debian/liblibreoffice-java.lintian-overrides b/debian/liblibreoffice-java.lintian-overrides
new file mode 100644
index 000000000..16847714f
--- /dev/null
+++ b/debian/liblibreoffice-java.lintian-overrides
@@ -0,0 +1,5 @@
+liblibreoffice-java: codeless-jar [usr/share/java/juh-*.jar]
+liblibreoffice-java: codeless-jar [usr/share/java/jurt-*.jar]
+liblibreoffice-java: codeless-jar [usr/share/java/ridl-*.jar]
+liblibreoffice-java: codeless-jar [usr/share/java/unoil-*.jar]
+liblibreoffice-java: classpath-contains-relative-path ../ [usr/share/java/libreoffice-*.jar]
diff --git a/debian/liblibreoffice-java.poms b/debian/liblibreoffice-java.poms
new file mode 100644
index 000000000..e73276d03
--- /dev/null
+++ b/debian/liblibreoffice-java.poms
@@ -0,0 +1,32 @@
+# List of POM files for the package
+# Format of this file is:
+# <path to pom file> [option]*
+# where option can be:
+# --ignore: ignore this POM and its artifact if any
+# --ignore-pom: don't install the POM. To use on POM files that are created
+# temporarily for certain artifacts such as Javadoc jars. [mh_install, mh_installpoms]
+# --no-parent: remove the <parent> tag from the POM
+# --package=<package>: an alternative package to use when installing this POM
+# and its artifact
+# --has-package-version: to indicate that the original version of the POM is the same as the upstream part
+# of the version for the package.
+# --keep-elements=<elem1,elem2>: a list of XML elements to keep in the POM
+# during a clean operation with mh_cleanpom or mh_installpom
+# --artifact=<path>: path to the build artifact associated with this POM,
+# it will be installed when using the command mh_install. [mh_install]
+# --java-lib: install the jar into /usr/share/java to comply with Debian
+# packaging guidelines
+# --usj-name=<name>: name to use when installing the library in /usr/share/java
+# --usj-version=<version>: version to use when installing the library in /usr/share/java
+# --no-usj-versionless: don't install the versionless link in /usr/share/java
+# --dest-jar=<path>: the destination for the real jar.
+# It will be installed with mh_install. [mh_install]
+# --classifier=<classifier>: Optional, the classifier for the jar. Empty by default.
+# --site-xml=<location>: Optional, the location for site.xml if it needs to be installed.
+# Empty by default. [mh_install]
+#
+debian/pom.juh.xml --no-parent --has-package-version
+debian/pom.jurt.xml --no-parent --has-package-version
+debian/pom.ridl.xml --no-parent --has-package-version
+debian/pom.unoil.xml --no-parent --has-package-version
+debian/pom.libreoffice.xml --no-parent --has-package-version
diff --git a/debian/liblibreofficekitgtk.links b/debian/liblibreofficekitgtk.links
new file mode 100644
index 000000000..c8017de61
--- /dev/null
+++ b/debian/liblibreofficekitgtk.links
@@ -0,0 +1 @@
+usr/lib/libreoffice/program/liblibreofficekitgtk.so usr/lib/liblibreofficekitgtk.so
diff --git a/debian/liblibreofficekitgtk.maintscript b/debian/liblibreofficekitgtk.maintscript
new file mode 100644
index 000000000..bc4fa417f
--- /dev/null
+++ b/debian/liblibreofficekitgtk.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/liblibreofficekitgtk /usr/share/doc/libreoffice-core 1:6.4.0~alpha1~git20191013
diff --git a/debian/libofficebean-java.poms b/debian/libofficebean-java.poms
new file mode 100644
index 000000000..36e613aa9
--- /dev/null
+++ b/debian/libofficebean-java.poms
@@ -0,0 +1,28 @@
+# List of POM files for the package
+# Format of this file is:
+# <path to pom file> [option]*
+# where option can be:
+# --ignore: ignore this POM and its artifact if any
+# --ignore-pom: don't install the POM. To use on POM files that are created
+# temporarily for certain artifacts such as Javadoc jars. [mh_install, mh_installpoms]
+# --no-parent: remove the <parent> tag from the POM
+# --package=<package>: an alternative package to use when installing this POM
+# and its artifact
+# --has-package-version: to indicate that the original version of the POM is the same as the upstream part
+# of the version for the package.
+# --keep-elements=<elem1,elem2>: a list of XML elements to keep in the POM
+# during a clean operation with mh_cleanpom or mh_installpom
+# --artifact=<path>: path to the build artifact associated with this POM,
+# it will be installed when using the command mh_install. [mh_install]
+# --java-lib: install the jar into /usr/share/java to comply with Debian
+# packaging guidelines
+# --usj-name=<name>: name to use when installing the library in /usr/share/java
+# --usj-version=<version>: version to use when installing the library in /usr/share/java
+# --no-usj-versionless: don't install the versionless link in /usr/share/java
+# --dest-jar=<path>: the destination for the real jar.
+# It will be installed with mh_install. [mh_install]
+# --classifier=<classifier>: Optional, the classifier for the jar. Empty by default.
+# --site-xml=<location>: Optional, the location for site.xml if it needs to be installed.
+# Empty by default. [mh_install]
+#
+debian/pom.officebean.xml --no-parent --has-package-version
diff --git a/debian/libreoffice-avmedia-backend-gstreamer.maintscript b/debian/libreoffice-avmedia-backend-gstreamer.maintscript
new file mode 100644
index 000000000..b89fd7bd0
--- /dev/null
+++ b/debian/libreoffice-avmedia-backend-gstreamer.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-avmedia-backend-gstreamer /usr/share/doc/libreoffice-core 1:6.4.0~alpha1~git20191013
diff --git a/debian/libreoffice-base-core.maintscript b/debian/libreoffice-base-core.maintscript
new file mode 100644
index 000000000..de6bf0694
--- /dev/null
+++ b/debian/libreoffice-base-core.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-base-core /usr/share/doc/libreoffice-core 1:6.4.0~alpha1~git20191013
diff --git a/debian/libreoffice-base-drivers.NEWS b/debian/libreoffice-base-drivers.NEWS
new file mode 100644
index 000000000..049002ccd
--- /dev/null
+++ b/debian/libreoffice-base-drivers.NEWS
@@ -0,0 +1,14 @@
+libreoffice (1:6.2.0~beta1-1) unstable; urgency=low
+
+ * The JDBC Driver used for JDBC Access by the LibreOffice MySQL driver
+ (NOT libreoffice-mysql-connector) contained in this package has been
+ changed from MySQL to MariaDB (libmysql-java -> libmariadb-java). See
+ http://bugs.debian.org/913360 and https://bugs.debian.org/912916.
+
+ This also involves changing the classes used in the code, so using
+ libmysql-java and com.mysql.jdbc.Driver does not work anymore.
+
+ If you want to connect to MySQL or MariaDB databases over JDBC, use
+ libmariadb-java.
+
+ -- Rene Engelhard <rene@debian.org> Fri, 16 Nov 2018 19:35:22 +0100
diff --git a/debian/libreoffice-base-drivers.lintian-overrides b/debian/libreoffice-base-drivers.lintian-overrides
new file mode 100644
index 000000000..2e33386c3
--- /dev/null
+++ b/debian/libreoffice-base-drivers.lintian-overrides
@@ -0,0 +1,2 @@
+# "aged out" due to debhelpers changelog trimming (see #1021502)
+libreoffice-base-drivers: debian-news-entry-has-unknown-version 1:6.2.0~beta1-1 [usr/share/doc/libreoffice-base-drivers/NEWS.Debian.gz:1]
diff --git a/debian/libreoffice-base-drivers.maintscript b/debian/libreoffice-base-drivers.maintscript
new file mode 100644
index 000000000..a2c6bc2d0
--- /dev/null
+++ b/debian/libreoffice-base-drivers.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-base-drivers /usr/share/doc/libreoffice-core 1:6.4.0~alpha1~git20191013
diff --git a/debian/libreoffice-base-nogui.bug-control b/debian/libreoffice-base-nogui.bug-control
new file mode 100644
index 000000000..b06c62ee2
--- /dev/null
+++ b/debian/libreoffice-base-nogui.bug-control
@@ -0,0 +1,2 @@
+report-with: libreoffice-core libreoffice-core-nogui
+package-status: unixodbc libmyodbc odbc-postgresql libsqliteodbc tdsodbc mdbtools libmariadb-java libmysql-java libpg-java libsapdbc-java
diff --git a/debian/libreoffice-base-nogui.mime b/debian/libreoffice-base-nogui.mime
new file mode 100644
index 000000000..3174fccf8
--- /dev/null
+++ b/debian/libreoffice-base-nogui.mime
@@ -0,0 +1,11 @@
+###
+# shared-mime-info
+
+# OASIS OpenDocument Format
+application/vnd.oasis.opendocument.database; soffice --nologo --base %s; edit=soffice --nologo --base %s; print=soffice --nologo --base -p %s; test=test -n "$DISPLAY"; description="OpenDocument Database"; nametemplate=%s.odb; priority=9
+
+# OpenOffice.org 1.0
+application/vnd.sun.xml.base; soffice --nologo --writer %s; edit=soffice --nologo --writer %s; description="OpenOffice.org Database"; nametemplate=%s.sdb; priority=8
+
+#
+###
diff --git a/debian/libreoffice-base-nogui.ucf b/debian/libreoffice-base-nogui.ucf
new file mode 100644
index 000000000..79c8af29c
--- /dev/null
+++ b/debian/libreoffice-base-nogui.ucf
@@ -0,0 +1 @@
+/usr/lib/libreoffice/share/.registry/base.xcd /etc/libreoffice/registry/base.xcd
diff --git a/debian/libreoffice-base.NEWS b/debian/libreoffice-base.NEWS
new file mode 100644
index 000000000..b7a30f1a0
--- /dev/null
+++ b/debian/libreoffice-base.NEWS
@@ -0,0 +1,14 @@
+libreoffice (1:4.2.1-1) experimental; urgency=low
+
+ * the database drivers have been split out to a new libreoffice-base-drivers
+ package. This package depends on most of them, but that explicitly
+ _does not_ include the HSQLDB SDBC Driver or the new Firebird SDBC Driver
+ (both for the embedded database) - whose because of their dependencies are
+ split into extra packages.
+ .
+ If you used a "normal" embedded database in your (old) database file you
+ _must_ install libreoffice-sdbc-hsqldb so that it can "connect" to it.
+ .
+ Similar with the new Firebird embedded database in 4.2 and -sdbc-firebird.
+
+ -- Rene Engelhard <rene@debian.org> Fri, 16 Aug 2013 10:21:53 +0200
diff --git a/debian/libreoffice-base.bug-control b/debian/libreoffice-base.bug-control
new file mode 100644
index 000000000..31f42c1f1
--- /dev/null
+++ b/debian/libreoffice-base.bug-control
@@ -0,0 +1,2 @@
+report-with: libreoffice-core
+package-status: unixodbc libmyodbc odbc-postgresql libsqliteodbc tdsodbc mdbtools libmariadb-java libmysql-java libpg-java libsapdbc-java
diff --git a/debian/libreoffice-base.lintian-overrides b/debian/libreoffice-base.lintian-overrides
new file mode 100644
index 000000000..458c78f83
--- /dev/null
+++ b/debian/libreoffice-base.lintian-overrides
@@ -0,0 +1,3 @@
+libreoffice-base: desktop-command-not-in-package libreoffice [usr/share/applications/libreoffice-base.desktop]
+# "aged out" due to debhelpers changelog trimming (see #1021502)
+libreoffice-base: debian-news-entry-has-unknown-version 1:4.2.1-1 [usr/share/doc/libreoffice-base/NEWS.Debian.gz:1]
diff --git a/debian/libreoffice-base.maintscript b/debian/libreoffice-base.maintscript
new file mode 100644
index 000000000..14d5ac448
--- /dev/null
+++ b/debian/libreoffice-base.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-base /usr/share/doc/libreoffice-core 1:6.4.0~alpha1~git20191013
diff --git a/debian/libreoffice-base.manpages b/debian/libreoffice-base.manpages
new file mode 100644
index 000000000..144eec747
--- /dev/null
+++ b/debian/libreoffice-base.manpages
@@ -0,0 +1 @@
+debian/tmp/usr/share/man/man1/lobase.1.gz
diff --git a/debian/libreoffice-base.mime b/debian/libreoffice-base.mime
new file mode 100644
index 000000000..3174fccf8
--- /dev/null
+++ b/debian/libreoffice-base.mime
@@ -0,0 +1,11 @@
+###
+# shared-mime-info
+
+# OASIS OpenDocument Format
+application/vnd.oasis.opendocument.database; soffice --nologo --base %s; edit=soffice --nologo --base %s; print=soffice --nologo --base -p %s; test=test -n "$DISPLAY"; description="OpenDocument Database"; nametemplate=%s.odb; priority=9
+
+# OpenOffice.org 1.0
+application/vnd.sun.xml.base; soffice --nologo --writer %s; edit=soffice --nologo --writer %s; description="OpenOffice.org Database"; nametemplate=%s.sdb; priority=8
+
+#
+###
diff --git a/debian/libreoffice-base.preinst.in b/debian/libreoffice-base.preinst.in
new file mode 100644
index 000000000..08ab83ab0
--- /dev/null
+++ b/debian/libreoffice-base.preinst.in
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+set -e
+
+#INCLUDE_SHELL_LIB#
+
+if [ upgrade = "$1" ] || dpkg --compare-versions "$2" lt 1:6.4.0~beta1-2; then
+ dpkg-divert --remove --no-rename \
+ --divert /usr/lib/libreoffice/share/basic/dialog.xlc.noaccess \
+ /usr/lib/libreoffice/share/basic/dialog.xlc
+ dpkg-divert --remove --no-rename \
+ --divert /usr/lib/libreoffice/share/basic/script.xlc.noaccess \
+ /usr/lib/libreoffice/share/basic/script.xlc
+ # cleanup
+ rm -f /usr/lib/libreoffice/share/basic/script.xlc.noaccess
+ rm -f /usr/lib/libreoffice/share/basic/dialog.xlc.noaccess
+fi
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/libreoffice-base.ucf b/debian/libreoffice-base.ucf
new file mode 100644
index 000000000..79c8af29c
--- /dev/null
+++ b/debian/libreoffice-base.ucf
@@ -0,0 +1 @@
+/usr/lib/libreoffice/share/.registry/base.xcd /etc/libreoffice/registry/base.xcd
diff --git a/debian/libreoffice-calc-nogui.lintian-overrides b/debian/libreoffice-calc-nogui.lintian-overrides
new file mode 100644
index 000000000..630bb42ec
--- /dev/null
+++ b/debian/libreoffice-calc-nogui.lintian-overrides
@@ -0,0 +1 @@
+libreoffice-calc-nogui: binary-or-shlib-defines-rpath
diff --git a/debian/libreoffice-calc-nogui.mime b/debian/libreoffice-calc-nogui.mime
new file mode 100644
index 000000000..d306e6225
--- /dev/null
+++ b/debian/libreoffice-calc-nogui.mime
@@ -0,0 +1,37 @@
+###
+# shared-mime-info
+
+# Generic
+text/csv; soffice --nologo --calc %s; edit=soffice --nologo --calc %s; test=test -n "$DISPLAY"; description="CSV Document"; nametemplate=%s.csv; priority=3
+text/spreadsheet; soffice --nologo --calc %s; edit=soffice --nologo --calc %s; test=test -n "$DISPLAY"; description="Spreadsheet Interchange Document"; nametemplate=%s.slk; priority=3
+
+# Corel Quattro Pro
+application/x-quattropro; soffice --nologo --calc %s; edit=soffice --nologo --calc %s; test=test -n "$DISPLAY"; description="Quattro Pro 6 for Windows Spreadsheet"; nametemplate=%s.wb2; priority=3
+
+# dBase dBASE
+application/x-dbf; soffice --nologo --calc %s; edit=soffice --nologo --calc %s; test=test -n "$DISPLAY"; description="xBase Document"; nametemplate=%s.dbf; priority=3
+
+# ECMA Office Open XML (Microsoft Office 2007)
+application/vnd.ms-excel.sheet.macroEnabled.12; soffice --nologo --calc %s; edit=soffice --nologo --calc %s; test=test -n "$DISPLAY"; description="Office Open XML Spreadsheet with Macros Enabled"; nametemplate=%s.xlsm; priority=3
+application/vnd.ms-excel.template.macroEnabled.12; soffice --nologo --calc %s; edit=soffice --nologo --calc %s; test=test -n "$DISPLAY"; description="Office Open XML Spreadsheet Template with Macros Enabled"; nametemplate=%s.xltm; priority=3
+application/vnd.openxmlformats-officedocument.spreadsheetml.sheet; soffice --nologo --calc %s; edit=soffice --nologo --calc %s; test=test -n "$DISPLAY"; description="Office Open XML Spreadsheet"; nametemplate=%s.xlsx; priority=3
+application/vnd.openxmlformats-officedocument.spreadsheetml.template; soffice --nologo --calc %s; edit=soffice --nologo --calc %s; test=test -n "$DISPLAY"; description="Office Open XML Spreadsheet Template"; nametemplate=%s.xltx; priority=3
+
+# IBM Lotus 1-2-3
+application/vnd.lotus-1-2-3; soffice --nologo --calc %s; edit=soffice --nologo --calc %s; test=test -n "$DISPLAY"; description="Lotus 1-2-3 spreadsheet"; nametemplate=%s.123; priority=3
+
+# Microsoft Excel
+application/vnd.ms-excel; soffice --nologo --calc %s; edit=soffice --nologo --calc %s; test=test -n "$DISPLAY"; description="Microsoft Excel Document"; nametemplate=%s.xls; priority=3
+
+# OASIS OpenDocument Format
+application/vnd.oasis.opendocument.chart; soffice --nologo --calc %s; edit=soffice --nologo --calc %s; print=soffice --nologo --calc -p %s; test=test -n "$DISPLAY"; description="OpenDocument Chart"; nametemplate=%s.odc; priority=9
+application/vnd.oasis.opendocument.spreadsheet; soffice --nologo --calc %s; edit=soffice --nologo --calc %s; print=soffice --nologo --calc -p %s; test=test -n "$DISPLAY"; description="OpenDocument Spreadsheet"; nametemplate=%s.ods; priority=9
+application/vnd.oasis.opendocument.spreadsheet-template; soffice --nologo --calc %s; edit=soffice --nologo --calc %s; print=soffice --nologo --calc -p %s; test=test -n "$DISPLAY"; description="OpenDocument Spreadsheet Template"; nametemplate=%s.ots; priority=9
+
+# OpenOffice.org 1.0
+application/vnd.sun.xml.calc; soffice --nologo --calc %s; edit=soffice --nologo --calc %s; test=test -n "$DISPLAY"; description="OpenOffice.org Spreadsheet"; nametemplate=%s.sxc; priority=8
+application/vnd.sun.xml.calc.template; soffice --nologo --calc %s; edit=soffice --nologo --calc %s; test=test -n "$DISPLAY"; description="OpenOffice.org Spreadsheet Template"; nametemplate=%s.stc; priority=8
+
+#
+###
+
diff --git a/debian/libreoffice-calc-nogui.ucf b/debian/libreoffice-calc-nogui.ucf
new file mode 100644
index 000000000..4820977ed
--- /dev/null
+++ b/debian/libreoffice-calc-nogui.ucf
@@ -0,0 +1 @@
+/usr/lib/libreoffice/share/.registry/calc.xcd /etc/libreoffice/registry/calc.xcd
diff --git a/debian/libreoffice-calc.bug-control b/debian/libreoffice-calc.bug-control
new file mode 100644
index 000000000..1ac405f97
--- /dev/null
+++ b/debian/libreoffice-calc.bug-control
@@ -0,0 +1 @@
+report-with: libreoffice-core
diff --git a/debian/libreoffice-calc.lintian-overrides b/debian/libreoffice-calc.lintian-overrides
new file mode 100644
index 000000000..ba31100b7
--- /dev/null
+++ b/debian/libreoffice-calc.lintian-overrides
@@ -0,0 +1,2 @@
+libreoffice-calc: binary-or-shlib-defines-rpath
+libreoffice-calc: desktop-command-not-in-package libreoffice [usr/share/applications/libreoffice-calc.desktop]
diff --git a/debian/libreoffice-calc.maintscript b/debian/libreoffice-calc.maintscript
new file mode 100644
index 000000000..859933b72
--- /dev/null
+++ b/debian/libreoffice-calc.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-calc /usr/share/doc/libreoffice-core 1:6.4.0~alpha1~git20191013
diff --git a/debian/libreoffice-calc.manpages b/debian/libreoffice-calc.manpages
new file mode 100644
index 000000000..a4b78ee34
--- /dev/null
+++ b/debian/libreoffice-calc.manpages
@@ -0,0 +1,2 @@
+debian/tmp/usr/share/man/man1/localc.1.gz
+
diff --git a/debian/libreoffice-calc.mime b/debian/libreoffice-calc.mime
new file mode 100644
index 000000000..d306e6225
--- /dev/null
+++ b/debian/libreoffice-calc.mime
@@ -0,0 +1,37 @@
+###
+# shared-mime-info
+
+# Generic
+text/csv; soffice --nologo --calc %s; edit=soffice --nologo --calc %s; test=test -n "$DISPLAY"; description="CSV Document"; nametemplate=%s.csv; priority=3
+text/spreadsheet; soffice --nologo --calc %s; edit=soffice --nologo --calc %s; test=test -n "$DISPLAY"; description="Spreadsheet Interchange Document"; nametemplate=%s.slk; priority=3
+
+# Corel Quattro Pro
+application/x-quattropro; soffice --nologo --calc %s; edit=soffice --nologo --calc %s; test=test -n "$DISPLAY"; description="Quattro Pro 6 for Windows Spreadsheet"; nametemplate=%s.wb2; priority=3
+
+# dBase dBASE
+application/x-dbf; soffice --nologo --calc %s; edit=soffice --nologo --calc %s; test=test -n "$DISPLAY"; description="xBase Document"; nametemplate=%s.dbf; priority=3
+
+# ECMA Office Open XML (Microsoft Office 2007)
+application/vnd.ms-excel.sheet.macroEnabled.12; soffice --nologo --calc %s; edit=soffice --nologo --calc %s; test=test -n "$DISPLAY"; description="Office Open XML Spreadsheet with Macros Enabled"; nametemplate=%s.xlsm; priority=3
+application/vnd.ms-excel.template.macroEnabled.12; soffice --nologo --calc %s; edit=soffice --nologo --calc %s; test=test -n "$DISPLAY"; description="Office Open XML Spreadsheet Template with Macros Enabled"; nametemplate=%s.xltm; priority=3
+application/vnd.openxmlformats-officedocument.spreadsheetml.sheet; soffice --nologo --calc %s; edit=soffice --nologo --calc %s; test=test -n "$DISPLAY"; description="Office Open XML Spreadsheet"; nametemplate=%s.xlsx; priority=3
+application/vnd.openxmlformats-officedocument.spreadsheetml.template; soffice --nologo --calc %s; edit=soffice --nologo --calc %s; test=test -n "$DISPLAY"; description="Office Open XML Spreadsheet Template"; nametemplate=%s.xltx; priority=3
+
+# IBM Lotus 1-2-3
+application/vnd.lotus-1-2-3; soffice --nologo --calc %s; edit=soffice --nologo --calc %s; test=test -n "$DISPLAY"; description="Lotus 1-2-3 spreadsheet"; nametemplate=%s.123; priority=3
+
+# Microsoft Excel
+application/vnd.ms-excel; soffice --nologo --calc %s; edit=soffice --nologo --calc %s; test=test -n "$DISPLAY"; description="Microsoft Excel Document"; nametemplate=%s.xls; priority=3
+
+# OASIS OpenDocument Format
+application/vnd.oasis.opendocument.chart; soffice --nologo --calc %s; edit=soffice --nologo --calc %s; print=soffice --nologo --calc -p %s; test=test -n "$DISPLAY"; description="OpenDocument Chart"; nametemplate=%s.odc; priority=9
+application/vnd.oasis.opendocument.spreadsheet; soffice --nologo --calc %s; edit=soffice --nologo --calc %s; print=soffice --nologo --calc -p %s; test=test -n "$DISPLAY"; description="OpenDocument Spreadsheet"; nametemplate=%s.ods; priority=9
+application/vnd.oasis.opendocument.spreadsheet-template; soffice --nologo --calc %s; edit=soffice --nologo --calc %s; print=soffice --nologo --calc -p %s; test=test -n "$DISPLAY"; description="OpenDocument Spreadsheet Template"; nametemplate=%s.ots; priority=9
+
+# OpenOffice.org 1.0
+application/vnd.sun.xml.calc; soffice --nologo --calc %s; edit=soffice --nologo --calc %s; test=test -n "$DISPLAY"; description="OpenOffice.org Spreadsheet"; nametemplate=%s.sxc; priority=8
+application/vnd.sun.xml.calc.template; soffice --nologo --calc %s; edit=soffice --nologo --calc %s; test=test -n "$DISPLAY"; description="OpenOffice.org Spreadsheet Template"; nametemplate=%s.stc; priority=8
+
+#
+###
+
diff --git a/debian/libreoffice-calc.ucf b/debian/libreoffice-calc.ucf
new file mode 100644
index 000000000..4820977ed
--- /dev/null
+++ b/debian/libreoffice-calc.ucf
@@ -0,0 +1 @@
+/usr/lib/libreoffice/share/.registry/calc.xcd /etc/libreoffice/registry/calc.xcd
diff --git a/debian/libreoffice-common.docs b/debian/libreoffice-common.docs
new file mode 100644
index 000000000..e26757913
--- /dev/null
+++ b/debian/libreoffice-common.docs
@@ -0,0 +1 @@
+wizards/source/access2base/access2base.html
diff --git a/debian/libreoffice-common.links.in b/debian/libreoffice-common.links.in
new file mode 100644
index 000000000..8365f3eef
--- /dev/null
+++ b/debian/libreoffice-common.links.in
@@ -0,0 +1,37 @@
+usr/share/icons/hicolor/16x16/mimetypes/libreoffice-oasis-database.png usr/share/icons/hicolor/16x16/mimetypes/application-vnd.oasis.opendocument.database.png
+usr/share/icons/hicolor/16x16/mimetypes/libreoffice-oasis-drawing.png usr/share/icons/hicolor/16x16/mimetypes/application-vnd.oasis.opendocument.drawing.png
+usr/share/icons/hicolor/16x16/mimetypes/libreoffice-oasis-drawing-template.png usr/share/icons/hicolor/16x16/mimetypes/application-vnd.oasis.opendocument.drawing-template.png
+usr/share/icons/hicolor/16x16/mimetypes/libreoffice-oasis-formula.png usr/share/icons/hicolor/16x16/mimetypes/application-vnd.oasis.opendocument.formula.png
+usr/share/icons/hicolor/16x16/mimetypes/libreoffice-oasis-master-document.png usr/share/icons/hicolor/16x16/mimetypes/application-vnd.oasis.opendocument.master-document.png
+usr/share/icons/hicolor/16x16/mimetypes/libreoffice-oasis-presentation.png usr/share/icons/hicolor/16x16/mimetypes/application-vnd.oasis.opendocument.presentation.png
+usr/share/icons/hicolor/16x16/mimetypes/libreoffice-oasis-presentation-template.png usr/share/icons/hicolor/16x16/mimetypes/application-vnd.oasis.opendocument.presentation-template.png
+usr/share/icons/hicolor/16x16/mimetypes/libreoffice-oasis-spreadsheet.png usr/share/icons/hicolor/16x16/mimetypes/application-vnd.oasis.opendocument.spreadsheet.png
+usr/share/icons/hicolor/16x16/mimetypes/libreoffice-oasis-spreadsheet-template.png usr/share/icons/hicolor/16x16/mimetypes/application-vnd.oasis.opendocument.spreadsheet-template.png
+usr/share/icons/hicolor/16x16/mimetypes/libreoffice-oasis-text.png usr/share/icons/hicolor/16x16/mimetypes/application-vnd.oasis.opendocument.text.png
+usr/share/icons/hicolor/16x16/mimetypes/libreoffice-oasis-text-template.png usr/share/icons/hicolor/16x16/mimetypes/application-vnd.oasis.opendocument.text-template.png
+usr/share/icons/hicolor/16x16/mimetypes/libreoffice-oasis-web-template.png usr/share/icons/hicolor/16x16/mimetypes/application-vnd.oasis.opendocument.web-template.png
+usr/share/icons/hicolor/32x32/mimetypes/libreoffice-oasis-database.png usr/share/icons/hicolor/32x32/mimetypes/application-vnd.oasis.opendocument.database.png
+usr/share/icons/hicolor/32x32/mimetypes/libreoffice-oasis-drawing.png usr/share/icons/hicolor/32x32/mimetypes/application-vnd.oasis.opendocument.drawing.png
+usr/share/icons/hicolor/32x32/mimetypes/libreoffice-oasis-drawing-template.png usr/share/icons/hicolor/32x32/mimetypes/application-vnd.oasis.opendocument.drawing-template.png
+usr/share/icons/hicolor/32x32/mimetypes/libreoffice-oasis-formula.png usr/share/icons/hicolor/32x32/mimetypes/application-vnd.oasis.opendocument.formula.png
+usr/share/icons/hicolor/32x32/mimetypes/libreoffice-oasis-master-document.png usr/share/icons/hicolor/32x32/mimetypes/application-vnd.oasis.opendocument.master-document.png
+usr/share/icons/hicolor/32x32/mimetypes/libreoffice-oasis-presentation.png usr/share/icons/hicolor/32x32/mimetypes/application-vnd.oasis.opendocument.presentation.png
+usr/share/icons/hicolor/32x32/mimetypes/libreoffice-oasis-presentation-template.png usr/share/icons/hicolor/32x32/mimetypes/application-vnd.oasis.opendocument.presentation-template.png
+usr/share/icons/hicolor/32x32/mimetypes/libreoffice-oasis-spreadsheet.png usr/share/icons/hicolor/32x32/mimetypes/application-vnd.oasis.opendocument.spreadsheet.png
+usr/share/icons/hicolor/32x32/mimetypes/libreoffice-oasis-spreadsheet-template.png usr/share/icons/hicolor/32x32/mimetypes/application-vnd.oasis.opendocument.spreadsheet-template.png
+usr/share/icons/hicolor/32x32/mimetypes/libreoffice-oasis-text.png usr/share/icons/hicolor/32x32/mimetypes/application-vnd.oasis.opendocument.text.png
+usr/share/icons/hicolor/32x32/mimetypes/libreoffice-oasis-text-template.png usr/share/icons/hicolor/32x32/mimetypes/application-vnd.oasis.opendocument.text-template.png
+usr/share/icons/hicolor/32x32/mimetypes/libreoffice-oasis-web-template.png usr/share/icons/hicolor/32x32/mimetypes/application-vnd.oasis.opendocument.web-template.png
+usr/share/icons/hicolor/48x48/mimetypes/libreoffice-oasis-database.png usr/share/icons/hicolor/48x48/mimetypes/application-vnd.oasis.opendocument.database.png
+usr/share/icons/hicolor/48x48/mimetypes/libreoffice-oasis-drawing.png usr/share/icons/hicolor/48x48/mimetypes/application-vnd.oasis.opendocument.drawing.png
+usr/share/icons/hicolor/48x48/mimetypes/libreoffice-oasis-drawing-template.png usr/share/icons/hicolor/48x48/mimetypes/application-vnd.oasis.opendocument.drawing-template.png
+usr/share/icons/hicolor/48x48/mimetypes/libreoffice-oasis-formula.png usr/share/icons/hicolor/48x48/mimetypes/application-vnd.oasis.opendocument.formula.png
+usr/share/icons/hicolor/48x48/mimetypes/libreoffice-oasis-master-document.png usr/share/icons/hicolor/48x48/mimetypes/application-vnd.oasis.opendocument.master-document.png
+usr/share/icons/hicolor/48x48/mimetypes/libreoffice-oasis-presentation.png usr/share/icons/hicolor/48x48/mimetypes/application-vnd.oasis.opendocument.presentation.png
+usr/share/icons/hicolor/48x48/mimetypes/libreoffice-oasis-presentation-template.png usr/share/icons/hicolor/48x48/mimetypes/application-vnd.oasis.opendocument.presentation-template.png
+usr/share/icons/hicolor/48x48/mimetypes/libreoffice-oasis-spreadsheet.png usr/share/icons/hicolor/48x48/mimetypes/application-vnd.oasis.opendocument.spreadsheet.png
+usr/share/icons/hicolor/48x48/mimetypes/libreoffice-oasis-spreadsheet-template.png usr/share/icons/hicolor/48x48/mimetypes/application-vnd.oasis.opendocument.spreadsheet-template.png
+usr/share/icons/hicolor/48x48/mimetypes/libreoffice-oasis-text.png usr/share/icons/hicolor/48x48/mimetypes/application-vnd.oasis.opendocument.text.png
+usr/share/icons/hicolor/48x48/mimetypes/libreoffice-oasis-text-template.png usr/share/icons/hicolor/48x48/mimetypes/application-vnd.oasis.opendocument.text-template.png
+usr/share/icons/hicolor/48x48/mimetypes/libreoffice-oasis-web-template.png usr/share/icons/hicolor/48x48/mimetypes/application-vnd.oasis.opendocument.web-template.png
+etc/libreoffice/registry usr/lib/libreoffice/share/registry
diff --git a/debian/libreoffice-common.lintian-overrides b/debian/libreoffice-common.lintian-overrides
new file mode 100644
index 000000000..efdaf3d98
--- /dev/null
+++ b/debian/libreoffice-common.lintian-overrides
@@ -0,0 +1,2 @@
+# this is essentially a breaks with version
+libreoffice-common: breaks-without-version libreoffice-help-5.2
diff --git a/debian/libreoffice-common.maintscript b/debian/libreoffice-common.maintscript
new file mode 100644
index 000000000..e3da9c1c3
--- /dev/null
+++ b/debian/libreoffice-common.maintscript
@@ -0,0 +1,11 @@
+mv_conffile /etc/apparmor.d/usr.lib.libreofficeprogram.oosplash /etc/apparmor.d/usr.lib.libreoffice.program.oosplash 1:5.4.3-1
+mv_conffile /etc/apparmor.d/usr.lib.libreofficeprogram.senddoc /etc/apparmor.d/usr.lib.libreoffice.program.senddoc 1:5.4.3-1
+mv_conffile /etc/apparmor.d/usr.lib.libreofficeprogram.soffice.bin /etc/apparmor.d/usr.lib.libreoffice.program.soffice.bin 1:5.4.3-1
+mv_conffile /etc/apparmor.d/usr.lib.libreofficeprogram.xpdfimport /etc/apparmor.d/usr.lib.libreoffice.program.xpdfimport 1:5.4.3-1
+
+# do this manually since dpkg-maintscript-helper dir_to_symlink
+# does not work reliably in this case because we cannot ensure that all
+# conflicting packages previously shipping files in
+# /usr/lib/libreoffice/share/registry are either upgraded or removed
+# but not just deconfigured, see #985297
+#dir_to_symlink /usr/lib/libreoffice/share/registry /etc/libreoffice/registry 1:7.0.2~rc1-1
diff --git a/debian/libreoffice-common.manpages b/debian/libreoffice-common.manpages
new file mode 100644
index 000000000..37ce2e865
--- /dev/null
+++ b/debian/libreoffice-common.manpages
@@ -0,0 +1,4 @@
+debian/tmp/usr/share/man/man1/libreoffice.1.gz
+debian/tmp/usr/share/man/man1/loffice.1.gz
+debian/tmp/usr/share/man/man1/unopkg.1.gz
+debian/tmp/usr/share/man/man1/lofromtemplate.1.gz
diff --git a/debian/libreoffice-common.postinst.in b/debian/libreoffice-common.postinst.in
new file mode 100644
index 000000000..dd95adf44
--- /dev/null
+++ b/debian/libreoffice-common.postinst.in
@@ -0,0 +1,43 @@
+#!/bin/sh
+
+set -e
+
+#INCLUDE_SHELL_LIB#
+
+if [ "$1" = "triggered" ]; then
+ for triggername in $2; do
+ case "$triggername" in
+ # new "bundled" extensions (since 3.3)
+ "/@OODIR@/share/extensions")
+ make_lo_sync_extensions
+ ;;
+ "/@OODIR@")
+ # check also whether /usr/bin/loolwsd-systemplate-setup
+ # is +x do to not fail when it's gone but
+ # /var/lib/lool/systemplate is still there (loolwsd
+ # removed but not purged)
+ if [ -x /usr/bin/loolwsd-systemplate-setup -a \
+ -d /var/lib/lool/systemplate ]; then
+ update_lool_systemplate
+ fi
+ ;;
+ esac
+ done
+fi
+
+#DEBHELPER#
+
+# do this manually since dpkg-maintscript-helper dir_to_symlink
+# does not work reliably in this case because we cannot ensure that all
+# conflicting packages previously shipping files in
+# /usr/lib/libreoffice/share/registry are either upgraded or removed
+# but not just deconfigured, see #985297
+if [ "$1" = "configure" ] && dpkg --compare-versions "$2" lt-nl "1:7.0.4-4~" ; then
+ if [ ! -L /usr/lib/libreoffice/share/registry ]; then
+ if [ -d /usr/lib/libreoffice/share/registry ]; then
+ # this will fail if the directory is not yet empty
+ rmdir -v /usr/lib/libreoffice/share/registry
+ fi
+ ln -sfvT /etc/libreoffice/registry /usr/lib/libreoffice/share/registry
+ fi
+fi
diff --git a/debian/libreoffice-common.postrm.in b/debian/libreoffice-common.postrm.in
new file mode 100644
index 000000000..c4471b591
--- /dev/null
+++ b/debian/libreoffice-common.postrm.in
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+set -e
+
+#INCLUDE_SHELL_LIB#
+
+case "$1" in
+ remove|abort-install|abort-upgrade)
+ rm -rf /`echo @OODIR@ | sed -e s,usr/,var/,g`/share/prereg/bundled
+ rmdir /`echo @OODIR@ | sed -e s,usr/,var/,g`/share/prereg/ || true
+ rmdir /`echo @OODIR@ | sed -e s,usr/,var/,g`/share/ || true
+ # this belongs to -core, but won't work until we have -common stuff removed, too, so try here again
+ # in adduition to -core
+ rmdir /`echo @OODIR@ | sed -e s,usr/,var/,g`/program/ || true
+ rmdir /`echo @OODIR@ | sed -e s,usr/,var/,g` || true
+ # and try to remove /@OOBRANDDIR@ itself
+ rmdir /`echo @OODIR@ | sed -e s,usr/,var/,g` || true
+ ;;
+ purge)
+ rm -f /`echo @OODIR@ | sed -e s,usr/,var/,g`/share/config/javasettingsunopkginstall.xml
+ rmdir /`echo @OODIR@ | sed -e s,usr/,var/,g`/share/config || true
+ rmdir /`echo @OODIR@ | sed -e s,usr/,var/,g`/share || true
+ ;;
+esac
+
+#DEBHELPER#
diff --git a/debian/libreoffice-common.preinst.in b/debian/libreoffice-common.preinst.in
new file mode 100644
index 000000000..d1a322c06
--- /dev/null
+++ b/debian/libreoffice-common.preinst.in
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+set -e
+
+# fix up broken 0 byte file, should be a dir
+if [ "$1" = "upgrade" ] && dpkg --compare-versions "$2" lt-nl "1:7.4.1~rc1-3"; then
+ if [ -f /@OODIR@/share/extensions -a ! -s /@OODIR@/share/extensions ]; then
+ rm /@OODIR@/share/extensions
+ fi
+fi
+
+#DEBHELPER#
diff --git a/debian/libreoffice-common.triggers.in b/debian/libreoffice-common.triggers.in
new file mode 100644
index 000000000..274301752
--- /dev/null
+++ b/debian/libreoffice-common.triggers.in
@@ -0,0 +1,2 @@
+interest-noawait /@OODIR@/share/extensions
+interest-noawait /@OODIR@
diff --git a/debian/libreoffice-common.ucf b/debian/libreoffice-common.ucf
new file mode 100644
index 000000000..b929f5f9c
--- /dev/null
+++ b/debian/libreoffice-common.ucf
@@ -0,0 +1,6 @@
+/usr/lib/libreoffice/share/.registry/main.xcd /etc/libreoffice/registry/main.xcd
+/usr/lib/libreoffice/share/.registry/pdfimport.xcd /etc/libreoffice/registry/pdfimport.xcd
+/usr/lib/libreoffice/share/.registry/xsltfilter.xcd /etc/libreoffice/registry/xsltfilter.xcd
+/usr/lib/libreoffice/share/.registry/lingucomponent.xcd /etc/libreoffice/registry/lingucomponent.xcd
+/usr/lib/libreoffice/share/.registry/Langpack-en-US.xcd /etc/libreoffice/registry/Langpack-en-US.xcd
+/usr/lib/libreoffice/share/.registry/res/fcfg_langpack_en-US.xcd /etc/libreoffice/registry/res/fcfg_langpack_en-US.xcd
diff --git a/debian/libreoffice-core-nogui.bug-control b/debian/libreoffice-core-nogui.bug-control
new file mode 100644
index 000000000..7dc225723
--- /dev/null
+++ b/debian/libreoffice-core-nogui.bug-control
@@ -0,0 +1 @@
+report-with: libreoffice-common libreoffice-java-common fonts-opensymbol ure-java
diff --git a/debian/libreoffice-core-nogui.bug-script.in b/debian/libreoffice-core-nogui.bug-script.in
new file mode 100755
index 000000000..bba16b11c
--- /dev/null
+++ b/debian/libreoffice-core-nogui.bug-script.in
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+# list all installed extensions. --bundled, --shared and non-shared
+/usr/lib/libreoffice/program/unopkg list --bundled >&3
+/usr/lib/libreoffice/program/unopkg list --shared >&3
+/usr/lib/libreoffice/program/unopkg list >&3
+
+# experimental stuff enabled?
+echo "" >&3
+echo "Experimental features enabled:" >&3
+#_lo_profile_ver=`echo @OOVER@ | cut -d. -f1`
+_lo_profile_ver=4
+if [ -d "$HOME/.config/libreoffice/$_lo_profile_ver" ]; then
+ grep ExperimentalMode $HOME/.config/libreoffice/$_lo_profile_ver/user/registrymodifications.xcu >&3
+fi
+
diff --git a/debian/libreoffice-core.NEWS b/debian/libreoffice-core.NEWS
new file mode 100644
index 000000000..56dca91df
--- /dev/null
+++ b/debian/libreoffice-core.NEWS
@@ -0,0 +1,13 @@
+libreoffice (1:7.4.2~rc1-1) unstable; urgency=low
+
+ * LibreOffice 7.4.0/7.4.1 contained a bug about wrongly remembering the
+ size of the LibreOffice windows. (Most prominently showing inside KDE).
+ .
+ This has been fixed in 7.4.2 but you experience this problem even after
+ a second start of the new LibreOffice you might either need to reset your
+ user profile or remove the affecting keys from it manuallly
+ (ooSetupFactoryWindowAttributes in
+ ~/.config/libreofficei/4/user/registrymodifications.xcu)
+
+ -- Rene Engelhard <rene@debian.org> Wed, 09 Nov 2022 07:31:23 +0200
+
diff --git a/debian/libreoffice-core.bug-control b/debian/libreoffice-core.bug-control
new file mode 100644
index 000000000..389aa4122
--- /dev/null
+++ b/debian/libreoffice-core.bug-control
@@ -0,0 +1,2 @@
+report-with: ure-java libreoffice-common libreoffice-java-common fonts-opensymbol
+package-status: libxrender1 libxinerama1 libsane iceweasel firefox icedove iceape-browser pstoedit imagemagick fglrx-driver nvidia-glx nvidia-glx-legacy
diff --git a/debian/libreoffice-core.bug-script.in b/debian/libreoffice-core.bug-script.in
new file mode 100755
index 000000000..2bfd1bea4
--- /dev/null
+++ b/debian/libreoffice-core.bug-script.in
@@ -0,0 +1,20 @@
+#!/bin/sh
+
+# list all installed extensions. --bundled, --shared and non-shared
+/usr/lib/libreoffice/program/unopkg list --bundled >&3
+/usr/lib/libreoffice/program/unopkg list --shared >&3
+/usr/lib/libreoffice/program/unopkg list >&3
+
+# experimental stuff enabled?
+echo "" >&3
+echo "Experimental features enabled:" >&3
+#_lo_profile_ver=`echo @OOVER@ | cut -d. -f1`
+_lo_profile_ver=4
+if [ -d "$HOME/.config/libreoffice/$_lo_profile_ver" ]; then
+ grep ExperimentalMode $HOME/.config/libreoffice/$_lo_profile_ver/user/registrymodifications.xcu >&3
+fi
+
+# installed VCLplugs
+echo "" >&3
+echo "Installed VCLplugs:" >&3
+dpkg -l libreoffice-gtk3 libreoffice-qt5 libreoffice-kf5 >&3
diff --git a/debian/libreoffice-core.maintscript b/debian/libreoffice-core.maintscript
new file mode 100644
index 000000000..926d53c1a
--- /dev/null
+++ b/debian/libreoffice-core.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-core /usr/share/doc/libreoffice-core 1:6.4.0~alpha1~git20191013
diff --git a/debian/libreoffice-core.postrm.in b/debian/libreoffice-core.postrm.in
new file mode 100755
index 000000000..95ed9cb4f
--- /dev/null
+++ b/debian/libreoffice-core.postrm.in
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+set -e
+
+#INCLUDE_SHELL_LIB#
+
+if [ "$1" = "remove" ]; then
+ rm -rf /var/spool/libreoffice
+fi
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/libreoffice-dev-common.maintscript b/debian/libreoffice-dev-common.maintscript
new file mode 100644
index 000000000..d9ebd73ef
--- /dev/null
+++ b/debian/libreoffice-dev-common.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-dev-common /usr/share/doc/libreoffice-common 1:6.4.0~alpha1~git20191013
diff --git a/debian/libreoffice-dev-doc.links b/debian/libreoffice-dev-doc.links
new file mode 100644
index 000000000..7e6fd17fb
--- /dev/null
+++ b/debian/libreoffice-dev-doc.links
@@ -0,0 +1 @@
+usr/share/doc/libreoffice/sdk/docs usr/share/doc/libreoffice-dev-doc/api
diff --git a/debian/libreoffice-dev.maintscript b/debian/libreoffice-dev.maintscript
new file mode 100644
index 000000000..dc89bb3d3
--- /dev/null
+++ b/debian/libreoffice-dev.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-dev /usr/share/doc/libreoffice-core 1:6.4.0~alpha1~git20191013
diff --git a/debian/libreoffice-draw-nogui.bug-control b/debian/libreoffice-draw-nogui.bug-control
new file mode 100644
index 000000000..f7a2b996b
--- /dev/null
+++ b/debian/libreoffice-draw-nogui.bug-control
@@ -0,0 +1 @@
+report-with: libreoffice-core libreoffice-core-nogui
diff --git a/debian/libreoffice-draw-nogui.mime b/debian/libreoffice-draw-nogui.mime
new file mode 100644
index 000000000..e0b81d3bf
--- /dev/null
+++ b/debian/libreoffice-draw-nogui.mime
@@ -0,0 +1,13 @@
+###
+# shared-mime-info
+
+# OASIS OpenDocument Format
+application/vnd.oasis.opendocument.graphics; soffice --nologo --draw %s; edit=soffice --nologo --draw %s; print=soffice --nologo --draw -p %s; test=test -n "$DISPLAY"; description="OpenDocument Drawing"; nametemplate=%s.odg; priority=9
+application/vnd.oasis.opendocument.graphics-template; soffice --nologo --draw %s; edit=soffice --nologo --draw %s; print=soffice --nologo --draw -p %s; test=test -n "$DISPLAY"; description="OpenDocument Drawing Template"; nametemplate=%s.otg; priority=9
+
+# OpenOffice.org 1.0
+application/vnd.sun.xml.draw; soffice --nologo --draw %s; edit=soffice --nologo --draw %s; test=test -n "$DISPLAY"; description="OpenOffice.org Drawing"; nametemplate=%s.sxd; priority=8
+application/vnd.sun.xml.draw.template; soffice --nologo --draw %s; edit=soffice --nologo --draw %s; test=test -n "$DISPLAY"; description="OpenOffice.org Drawing Template"; nametemplate=%s.std; priority=8
+
+#
+###
diff --git a/debian/libreoffice-draw-nogui.ucf b/debian/libreoffice-draw-nogui.ucf
new file mode 100644
index 000000000..a1e42c709
--- /dev/null
+++ b/debian/libreoffice-draw-nogui.ucf
@@ -0,0 +1,2 @@
+/usr/lib/libreoffice/share/.registry/draw.xcd /etc/libreoffice/registry/draw.xcd
+/usr/lib/libreoffice/share/.registry/graphicfilter.xcd /etc/libreoffice/registry/graphicfilter.xcd
diff --git a/debian/libreoffice-draw.bug-control b/debian/libreoffice-draw.bug-control
new file mode 100644
index 000000000..1ac405f97
--- /dev/null
+++ b/debian/libreoffice-draw.bug-control
@@ -0,0 +1 @@
+report-with: libreoffice-core
diff --git a/debian/libreoffice-draw.lintian-overrides b/debian/libreoffice-draw.lintian-overrides
new file mode 100644
index 000000000..6e0f4c22b
--- /dev/null
+++ b/debian/libreoffice-draw.lintian-overrides
@@ -0,0 +1 @@
+libreoffice-draw: desktop-command-not-in-package libreoffice [usr/share/applications/libreoffice-draw.desktop]
diff --git a/debian/libreoffice-draw.maintscript b/debian/libreoffice-draw.maintscript
new file mode 100644
index 000000000..cf0ace643
--- /dev/null
+++ b/debian/libreoffice-draw.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-draw /usr/share/doc/libreoffice-core 1:6.4.0~alpha1~git20191013
diff --git a/debian/libreoffice-draw.manpages b/debian/libreoffice-draw.manpages
new file mode 100644
index 000000000..3267e53d6
--- /dev/null
+++ b/debian/libreoffice-draw.manpages
@@ -0,0 +1 @@
+debian/tmp/usr/share/man/man1/lodraw.1.gz
diff --git a/debian/libreoffice-draw.mime b/debian/libreoffice-draw.mime
new file mode 100644
index 000000000..e0b81d3bf
--- /dev/null
+++ b/debian/libreoffice-draw.mime
@@ -0,0 +1,13 @@
+###
+# shared-mime-info
+
+# OASIS OpenDocument Format
+application/vnd.oasis.opendocument.graphics; soffice --nologo --draw %s; edit=soffice --nologo --draw %s; print=soffice --nologo --draw -p %s; test=test -n "$DISPLAY"; description="OpenDocument Drawing"; nametemplate=%s.odg; priority=9
+application/vnd.oasis.opendocument.graphics-template; soffice --nologo --draw %s; edit=soffice --nologo --draw %s; print=soffice --nologo --draw -p %s; test=test -n "$DISPLAY"; description="OpenDocument Drawing Template"; nametemplate=%s.otg; priority=9
+
+# OpenOffice.org 1.0
+application/vnd.sun.xml.draw; soffice --nologo --draw %s; edit=soffice --nologo --draw %s; test=test -n "$DISPLAY"; description="OpenOffice.org Drawing"; nametemplate=%s.sxd; priority=8
+application/vnd.sun.xml.draw.template; soffice --nologo --draw %s; edit=soffice --nologo --draw %s; test=test -n "$DISPLAY"; description="OpenOffice.org Drawing Template"; nametemplate=%s.std; priority=8
+
+#
+###
diff --git a/debian/libreoffice-draw.ucf b/debian/libreoffice-draw.ucf
new file mode 100644
index 000000000..a1e42c709
--- /dev/null
+++ b/debian/libreoffice-draw.ucf
@@ -0,0 +1,2 @@
+/usr/lib/libreoffice/share/.registry/draw.xcd /etc/libreoffice/registry/draw.xcd
+/usr/lib/libreoffice/share/.registry/graphicfilter.xcd /etc/libreoffice/registry/graphicfilter.xcd
diff --git a/debian/libreoffice-evolution.bug-control b/debian/libreoffice-evolution.bug-control
new file mode 100644
index 000000000..aa427dea4
--- /dev/null
+++ b/debian/libreoffice-evolution.bug-control
@@ -0,0 +1 @@
+report-with: libreoffice-core evolution libreoffice-base
diff --git a/debian/libreoffice-evolution.maintscript b/debian/libreoffice-evolution.maintscript
new file mode 100644
index 000000000..3d581a38d
--- /dev/null
+++ b/debian/libreoffice-evolution.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-evolution /usr/share/doc/libreoffice-core 1:6.4.0~alpha1~git20191013
diff --git a/debian/libreoffice-evolution.ucf b/debian/libreoffice-evolution.ucf
new file mode 100644
index 000000000..8b029ede3
--- /dev/null
+++ b/debian/libreoffice-evolution.ucf
@@ -0,0 +1 @@
+/usr/lib/libreoffice/share/.registry/evoab.xcd /etc/libreoffice/registry/evoab.xcd
diff --git a/debian/libreoffice-gnome.maintscript b/debian/libreoffice-gnome.maintscript
new file mode 100644
index 000000000..5ea20d66f
--- /dev/null
+++ b/debian/libreoffice-gnome.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-gnome /usr/share/doc/libreoffice-core 1:6.4.0~alpha1~git20191013
diff --git a/debian/libreoffice-gnome.ucf b/debian/libreoffice-gnome.ucf
new file mode 100644
index 000000000..7306c2e35
--- /dev/null
+++ b/debian/libreoffice-gnome.ucf
@@ -0,0 +1 @@
+/usr/lib/libreoffice/share/.registry/gnome.xcd /etc/libreoffice/registry/gnome.xcd
diff --git a/debian/libreoffice-gtk3.maintscript b/debian/libreoffice-gtk3.maintscript
new file mode 100644
index 000000000..284aeadb7
--- /dev/null
+++ b/debian/libreoffice-gtk3.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-gtk3 /usr/share/doc/libreoffice-core 1:6.4.0~alpha1~git20191013
diff --git a/debian/libreoffice-help-ca-valencia.maintscript b/debian/libreoffice-help-ca-valencia.maintscript
new file mode 100644
index 000000000..333a3f817
--- /dev/null
+++ b/debian/libreoffice-help-ca-valencia.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-help-ca-valencia /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-help-ca.maintscript b/debian/libreoffice-help-ca.maintscript
new file mode 100644
index 000000000..36688ec51
--- /dev/null
+++ b/debian/libreoffice-help-ca.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-help-ca /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-help-common.links b/debian/libreoffice-help-common.links
new file mode 100644
index 000000000..83497a2b2
--- /dev/null
+++ b/debian/libreoffice-help-common.links
@@ -0,0 +1,3 @@
+/usr/share/javascript/normalize.css/normalize.css usr/share/libreoffice/help/normalize.css
+/usr/share/nodejs/prismjs/prism.js usr/share/libreoffice/help/prism.js
+/usr/share/nodejs/prismjs/themes/prism-coy.css usr/share/libreoffice/help/prism.css
diff --git a/debian/libreoffice-help-common.maintscript b/debian/libreoffice-help-common.maintscript
new file mode 100644
index 000000000..635c1ca10
--- /dev/null
+++ b/debian/libreoffice-help-common.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-help-common /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-help-cs.maintscript b/debian/libreoffice-help-cs.maintscript
new file mode 100644
index 000000000..24048eadd
--- /dev/null
+++ b/debian/libreoffice-help-cs.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-help-cs /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-help-da.maintscript b/debian/libreoffice-help-da.maintscript
new file mode 100644
index 000000000..fdf5f339b
--- /dev/null
+++ b/debian/libreoffice-help-da.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-help-da /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-help-de.maintscript b/debian/libreoffice-help-de.maintscript
new file mode 100644
index 000000000..d55b76617
--- /dev/null
+++ b/debian/libreoffice-help-de.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-help-de /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-help-dz.maintscript b/debian/libreoffice-help-dz.maintscript
new file mode 100644
index 000000000..d4fe01430
--- /dev/null
+++ b/debian/libreoffice-help-dz.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-help-dz /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-help-el.maintscript b/debian/libreoffice-help-el.maintscript
new file mode 100644
index 000000000..5ad40b15a
--- /dev/null
+++ b/debian/libreoffice-help-el.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-help-el /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-help-en-gb.maintscript b/debian/libreoffice-help-en-gb.maintscript
new file mode 100644
index 000000000..f03860016
--- /dev/null
+++ b/debian/libreoffice-help-en-gb.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-help-en-gb /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-help-en-us.maintscript b/debian/libreoffice-help-en-us.maintscript
new file mode 100644
index 000000000..a4a63f7db
--- /dev/null
+++ b/debian/libreoffice-help-en-us.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-help-en-us /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-help-es.maintscript b/debian/libreoffice-help-es.maintscript
new file mode 100644
index 000000000..2b04756b6
--- /dev/null
+++ b/debian/libreoffice-help-es.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-help-es /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-help-et.maintscript b/debian/libreoffice-help-et.maintscript
new file mode 100644
index 000000000..d65fd1916
--- /dev/null
+++ b/debian/libreoffice-help-et.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-help-et /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-help-eu.maintscript b/debian/libreoffice-help-eu.maintscript
new file mode 100644
index 000000000..e24317748
--- /dev/null
+++ b/debian/libreoffice-help-eu.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-help-eu /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-help-fi.maintscript b/debian/libreoffice-help-fi.maintscript
new file mode 100644
index 000000000..93b944a1a
--- /dev/null
+++ b/debian/libreoffice-help-fi.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-help-fi /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-help-fr.maintscript b/debian/libreoffice-help-fr.maintscript
new file mode 100644
index 000000000..d94c693d3
--- /dev/null
+++ b/debian/libreoffice-help-fr.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-help-fr /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-help-gl.maintscript b/debian/libreoffice-help-gl.maintscript
new file mode 100644
index 000000000..10cabd0e9
--- /dev/null
+++ b/debian/libreoffice-help-gl.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-help-gl /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-help-hi.maintscript b/debian/libreoffice-help-hi.maintscript
new file mode 100644
index 000000000..34485e89c
--- /dev/null
+++ b/debian/libreoffice-help-hi.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-help-hi /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-help-hu.maintscript b/debian/libreoffice-help-hu.maintscript
new file mode 100644
index 000000000..9d307fbfc
--- /dev/null
+++ b/debian/libreoffice-help-hu.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-help-hu /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-help-id.maintscript b/debian/libreoffice-help-id.maintscript
new file mode 100644
index 000000000..9dfe92f51
--- /dev/null
+++ b/debian/libreoffice-help-id.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-help-id /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-help-it.maintscript b/debian/libreoffice-help-it.maintscript
new file mode 100644
index 000000000..a9f1015ff
--- /dev/null
+++ b/debian/libreoffice-help-it.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-help-it /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-help-ja.maintscript b/debian/libreoffice-help-ja.maintscript
new file mode 100644
index 000000000..00db55cb2
--- /dev/null
+++ b/debian/libreoffice-help-ja.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-help-ja /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-help-km.maintscript b/debian/libreoffice-help-km.maintscript
new file mode 100644
index 000000000..2fb9ccd64
--- /dev/null
+++ b/debian/libreoffice-help-km.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-help-km /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-help-ko.maintscript b/debian/libreoffice-help-ko.maintscript
new file mode 100644
index 000000000..aed2e03d6
--- /dev/null
+++ b/debian/libreoffice-help-ko.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-help-ko /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-help-nl.maintscript b/debian/libreoffice-help-nl.maintscript
new file mode 100644
index 000000000..ab75a603e
--- /dev/null
+++ b/debian/libreoffice-help-nl.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-help-nl /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-help-om.maintscript b/debian/libreoffice-help-om.maintscript
new file mode 100644
index 000000000..64d5f549e
--- /dev/null
+++ b/debian/libreoffice-help-om.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-help-om /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-help-pl.maintscript b/debian/libreoffice-help-pl.maintscript
new file mode 100644
index 000000000..b1fca4d24
--- /dev/null
+++ b/debian/libreoffice-help-pl.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-help-pl /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-help-pt-br.maintscript b/debian/libreoffice-help-pt-br.maintscript
new file mode 100644
index 000000000..ca4f77f6f
--- /dev/null
+++ b/debian/libreoffice-help-pt-br.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-help-pt-br /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-help-pt.maintscript b/debian/libreoffice-help-pt.maintscript
new file mode 100644
index 000000000..5d3689031
--- /dev/null
+++ b/debian/libreoffice-help-pt.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-help-pt /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-help-ru.maintscript b/debian/libreoffice-help-ru.maintscript
new file mode 100644
index 000000000..13ff092f4
--- /dev/null
+++ b/debian/libreoffice-help-ru.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-help-ru /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-help-sk.maintscript b/debian/libreoffice-help-sk.maintscript
new file mode 100644
index 000000000..9306f1976
--- /dev/null
+++ b/debian/libreoffice-help-sk.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-help-sk /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-help-sl.maintscript b/debian/libreoffice-help-sl.maintscript
new file mode 100644
index 000000000..88eba7983
--- /dev/null
+++ b/debian/libreoffice-help-sl.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-help-sl /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-help-sv.maintscript b/debian/libreoffice-help-sv.maintscript
new file mode 100644
index 000000000..4c230591a
--- /dev/null
+++ b/debian/libreoffice-help-sv.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-help-sv /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-help-tr.maintscript b/debian/libreoffice-help-tr.maintscript
new file mode 100644
index 000000000..08522b12a
--- /dev/null
+++ b/debian/libreoffice-help-tr.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-help-tr /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-help-vi.maintscript b/debian/libreoffice-help-vi.maintscript
new file mode 100644
index 000000000..c2ee611d0
--- /dev/null
+++ b/debian/libreoffice-help-vi.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-help-vi /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-help-zh-cn.maintscript b/debian/libreoffice-help-zh-cn.maintscript
new file mode 100644
index 000000000..1e3c388c1
--- /dev/null
+++ b/debian/libreoffice-help-zh-cn.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-help-zh-cn /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-help-zh-tw.maintscript b/debian/libreoffice-help-zh-tw.maintscript
new file mode 100644
index 000000000..b13206f19
--- /dev/null
+++ b/debian/libreoffice-help-zh-tw.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-help-zh-tw /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-help.lintian-overrides.in b/debian/libreoffice-help.lintian-overrides.in
new file mode 100644
index 000000000..17fde6dd1
--- /dev/null
+++ b/debian/libreoffice-help.lintian-overrides.in
@@ -0,0 +1,15 @@
+# these are in -help-common. See lintian bug http://bugs.debian.org/897244
+doc-base-file-references-missing-file libreoffice-help-@LCODE@:8 /usr/share/libreoffice/help/media/*
+doc-base-file-references-missing-file libreoffice-help-@LCODE@:8 /usr/share/libreoffice/help/help.html
+doc-base-file-references-missing-file libreoffice-help-@LCODE@:8 /usr/share/libreoffice/help/idxcaption.xsl
+doc-base-file-references-missing-file libreoffice-help-@LCODE@:8 /usr/share/libreoffice/help/fuse.js
+doc-base-file-references-missing-file libreoffice-help-@LCODE@:8 /usr/share/libreoffice/help/help.js
+doc-base-file-references-missing-file libreoffice-help-@LCODE@:8 /usr/share/libreoffice/help/hid2file.js
+doc-base-file-references-missing-file libreoffice-help-@LCODE@:8 /usr/share/libreoffice/help/paginathing.js
+doc-base-file-references-missing-file libreoffice-help-@LCODE@:8 /usr/share/libreoffice/help/idxcontent.xsl
+doc-base-file-references-missing-file libreoffice-help-@LCODE@:8 /usr/share/libreoffice/help/index.html
+doc-base-file-references-missing-file libreoffice-help-@LCODE@:8 /usr/share/libreoffice/help/normalize.css
+doc-base-file-references-missing-file libreoffice-help-@LCODE@:8 /usr/share/libreoffice/help/main_transform.xsl
+doc-base-file-references-missing-file libreoffice-help-@LCODE@:8 /usr/share/libreoffice/help/help2.js
+doc-base-file-references-missing-file libreoffice-help-@LCODE@:8 /usr/share/libreoffice/help/default.css
+
diff --git a/debian/libreoffice-impress-nogui.bug-control b/debian/libreoffice-impress-nogui.bug-control
new file mode 100644
index 000000000..285e78bf7
--- /dev/null
+++ b/debian/libreoffice-impress-nogui.bug-control
@@ -0,0 +1 @@
+report-with: libreoffice-core libreoffice-core-nogui libreoffice-draw libreoffice-draw-nogui
diff --git a/debian/libreoffice-impress-nogui.mime b/debian/libreoffice-impress-nogui.mime
new file mode 100644
index 000000000..ed8a11fd9
--- /dev/null
+++ b/debian/libreoffice-impress-nogui.mime
@@ -0,0 +1,25 @@
+###
+# shared-mime-info
+
+# ECMA Office Open XML (Microsoft Office 2007)
+application/vnd.ms-powerpoint.presentation.macroEnabled.12; soffice --nologo --impress %s; edit=soffice --nologo --impress %s; test=test -n "$DISPLAY"; description="Office Open XML Presentation with Macros Enabled"; nametemplate=%s.pptm; priority=3
+application/vnd.ms-powerpoint.slideshow.macroEnabled.12; soffice --nologo --impress %s; edit=soffice --nologo --impress %s; test=test -n "$DISPLAY"; description="Office Open XML Presentation Slide Show with Macros Enabled"; nametemplate=%s.ppsm; priority=3
+application/vnd.ms-powerpoint.template.macroEnabled.12; soffice --nologo --impress %s; edit=soffice --nologo --impress %s; test=test -n "$DISPLAY"; description="Office Open XML Presentation Template with Macros Enabled"; nametemplate=%s.potm; priority=3
+application/vnd.openxmlformats-officedocument.presentationml.presentation; soffice --nologo --impress %s; edit=soffice --nologo --impress %s; test=test -n "$DISPLAY"; description="Office Open XML Presentation"; nametemplate=%s.pptx; priority=3
+application/vnd.openxmlformats-officedocument.presentationml.slideshow; soffice --nologo --impress %s; edit=soffice --nologo --impress %s; test=test -n "$DISPLAY"; description="Office Open XML Presentation Slide Show"; nametemplate=%s.ppsx; priority=3
+application/vnd.openxmlformats-officedocument.presentationml.template; soffice --nologo --impress %s; edit=soffice --nologo --impress %s; test=test -n "$DISPLAY"; description="Office Open XML Presentation Template"; nametemplate=%s.potx; priority=3
+
+# Microsoft PowerPoint
+application/vnd.ms-powerpoint; soffice --nologo --impress %s; edit=soffice --nologo --impress %s; test=test -n "$DISPLAY"; description="Microsoft PowerPoint Document"; nametemplate=%s.ppt; priority=3
+
+# OASIS OpenDocument Format
+application/vnd.oasis.opendocument.presentation; soffice --nologo --impress %s; edit=soffice --nologo --impress %s; print=soffice --nologo --impress -p %s; test=test -n "$DISPLAY"; description="OpenDocument Presentation"; nametemplate=%s.odp; priority=9
+application/vnd.oasis.opendocument.presentation-template; soffice --nologo --impress %s; edit=soffice --nologo --impress %s; print=soffice --nologo --impress -p %s; test=test -n "$DISPLAY"; description="OpenDocument Presentation Template"; nametemplate=%s.otp; priority=9
+
+# OpenOffice.org 1.0
+application/vnd.sun.xml.impress; soffice --nologo --impress %s; edit=soffice --nologo --impress %s; test=test -n "$DISPLAY"; description="OpenOffice.org Presentation"; nametemplate=%s.sxi; priority=8
+application/vnd.sun.xml.impress.template; soffice --nologo --impress %s; edit=soffice --nologo --impress %s; test=test -n "$DISPLAY"; description="OpenOffice.org Presentation Template"; nametemplate=%s.sti; priority=8
+
+#
+###
+
diff --git a/debian/libreoffice-impress-nogui.ucf b/debian/libreoffice-impress-nogui.ucf
new file mode 100644
index 000000000..9a3561364
--- /dev/null
+++ b/debian/libreoffice-impress-nogui.ucf
@@ -0,0 +1 @@
+/usr/lib/libreoffice/share/.registry/impress.xcd /etc/libreoffice/registry/impress.xcd
diff --git a/debian/libreoffice-impress.bug-control b/debian/libreoffice-impress.bug-control
new file mode 100644
index 000000000..e7775baad
--- /dev/null
+++ b/debian/libreoffice-impress.bug-control
@@ -0,0 +1 @@
+report-with: libreoffice-core libreoffice-draw glx-alternative-nvidia
diff --git a/debian/libreoffice-impress.bug-script.in b/debian/libreoffice-impress.bug-script.in
new file mode 100644
index 000000000..f2bd614b7
--- /dev/null
+++ b/debian/libreoffice-impress.bug-script.in
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+dpkg -l | grep nvidia >&3
diff --git a/debian/libreoffice-impress.lintian-overrides b/debian/libreoffice-impress.lintian-overrides
new file mode 100644
index 000000000..c251e9069
--- /dev/null
+++ b/debian/libreoffice-impress.lintian-overrides
@@ -0,0 +1 @@
+libreoffice-impress: desktop-command-not-in-package libreoffice [usr/share/applications/libreoffice-impress.desktop]
diff --git a/debian/libreoffice-impress.maintscript b/debian/libreoffice-impress.maintscript
new file mode 100644
index 000000000..06608cf82
--- /dev/null
+++ b/debian/libreoffice-impress.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-impress /usr/share/doc/libreoffice-core 1:6.4.0~alpha1~git20191013
diff --git a/debian/libreoffice-impress.manpages b/debian/libreoffice-impress.manpages
new file mode 100644
index 000000000..60ab514ba
--- /dev/null
+++ b/debian/libreoffice-impress.manpages
@@ -0,0 +1 @@
+debian/tmp/usr/share/man/man1/loimpress.1.gz
diff --git a/debian/libreoffice-impress.mime b/debian/libreoffice-impress.mime
new file mode 100644
index 000000000..ed8a11fd9
--- /dev/null
+++ b/debian/libreoffice-impress.mime
@@ -0,0 +1,25 @@
+###
+# shared-mime-info
+
+# ECMA Office Open XML (Microsoft Office 2007)
+application/vnd.ms-powerpoint.presentation.macroEnabled.12; soffice --nologo --impress %s; edit=soffice --nologo --impress %s; test=test -n "$DISPLAY"; description="Office Open XML Presentation with Macros Enabled"; nametemplate=%s.pptm; priority=3
+application/vnd.ms-powerpoint.slideshow.macroEnabled.12; soffice --nologo --impress %s; edit=soffice --nologo --impress %s; test=test -n "$DISPLAY"; description="Office Open XML Presentation Slide Show with Macros Enabled"; nametemplate=%s.ppsm; priority=3
+application/vnd.ms-powerpoint.template.macroEnabled.12; soffice --nologo --impress %s; edit=soffice --nologo --impress %s; test=test -n "$DISPLAY"; description="Office Open XML Presentation Template with Macros Enabled"; nametemplate=%s.potm; priority=3
+application/vnd.openxmlformats-officedocument.presentationml.presentation; soffice --nologo --impress %s; edit=soffice --nologo --impress %s; test=test -n "$DISPLAY"; description="Office Open XML Presentation"; nametemplate=%s.pptx; priority=3
+application/vnd.openxmlformats-officedocument.presentationml.slideshow; soffice --nologo --impress %s; edit=soffice --nologo --impress %s; test=test -n "$DISPLAY"; description="Office Open XML Presentation Slide Show"; nametemplate=%s.ppsx; priority=3
+application/vnd.openxmlformats-officedocument.presentationml.template; soffice --nologo --impress %s; edit=soffice --nologo --impress %s; test=test -n "$DISPLAY"; description="Office Open XML Presentation Template"; nametemplate=%s.potx; priority=3
+
+# Microsoft PowerPoint
+application/vnd.ms-powerpoint; soffice --nologo --impress %s; edit=soffice --nologo --impress %s; test=test -n "$DISPLAY"; description="Microsoft PowerPoint Document"; nametemplate=%s.ppt; priority=3
+
+# OASIS OpenDocument Format
+application/vnd.oasis.opendocument.presentation; soffice --nologo --impress %s; edit=soffice --nologo --impress %s; print=soffice --nologo --impress -p %s; test=test -n "$DISPLAY"; description="OpenDocument Presentation"; nametemplate=%s.odp; priority=9
+application/vnd.oasis.opendocument.presentation-template; soffice --nologo --impress %s; edit=soffice --nologo --impress %s; print=soffice --nologo --impress -p %s; test=test -n "$DISPLAY"; description="OpenDocument Presentation Template"; nametemplate=%s.otp; priority=9
+
+# OpenOffice.org 1.0
+application/vnd.sun.xml.impress; soffice --nologo --impress %s; edit=soffice --nologo --impress %s; test=test -n "$DISPLAY"; description="OpenOffice.org Presentation"; nametemplate=%s.sxi; priority=8
+application/vnd.sun.xml.impress.template; soffice --nologo --impress %s; edit=soffice --nologo --impress %s; test=test -n "$DISPLAY"; description="OpenOffice.org Presentation Template"; nametemplate=%s.sti; priority=8
+
+#
+###
+
diff --git a/debian/libreoffice-impress.ucf b/debian/libreoffice-impress.ucf
new file mode 100644
index 000000000..a2680a010
--- /dev/null
+++ b/debian/libreoffice-impress.ucf
@@ -0,0 +1,2 @@
+/usr/lib/libreoffice/share/.registry/impress.xcd /etc/libreoffice/registry/impress.xcd
+/usr/lib/libreoffice/share/.registry/ogltrans.xcd /etc/libreoffice/registry/ogltrans.xcd
diff --git a/debian/libreoffice-java-common.maintscript b/debian/libreoffice-java-common.maintscript
new file mode 100644
index 000000000..38517c781
--- /dev/null
+++ b/debian/libreoffice-java-common.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-java-common /usr/share/doc/libreoffice-common 1:6.4.0~alpha1~git20191013
diff --git a/debian/libreoffice-kde5.maintscript b/debian/libreoffice-kde5.maintscript
new file mode 100644
index 000000000..1711748cc
--- /dev/null
+++ b/debian/libreoffice-kde5.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-kde5 /usr/share/doc/libreoffice-core 1:6.4.0~alpha1~git20191013
diff --git a/debian/libreoffice-kf5.maintscript b/debian/libreoffice-kf5.maintscript
new file mode 100644
index 000000000..37dbb4203
--- /dev/null
+++ b/debian/libreoffice-kf5.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-kf5 /usr/share/doc/libreoffice-core 1:6.4.0~alpha1~git20191013
diff --git a/debian/libreoffice-l10n-af.maintscript b/debian/libreoffice-l10n-af.maintscript
new file mode 100644
index 000000000..525bb4cbe
--- /dev/null
+++ b/debian/libreoffice-l10n-af.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-af /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-am.maintscript b/debian/libreoffice-l10n-am.maintscript
new file mode 100644
index 000000000..2df6ddb2a
--- /dev/null
+++ b/debian/libreoffice-l10n-am.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-am /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-ar.maintscript b/debian/libreoffice-l10n-ar.maintscript
new file mode 100644
index 000000000..da522cadf
--- /dev/null
+++ b/debian/libreoffice-l10n-ar.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-ar /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-as.maintscript b/debian/libreoffice-l10n-as.maintscript
new file mode 100644
index 000000000..926ab90bf
--- /dev/null
+++ b/debian/libreoffice-l10n-as.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-as /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-ast.maintscript b/debian/libreoffice-l10n-ast.maintscript
new file mode 100644
index 000000000..df6ea667a
--- /dev/null
+++ b/debian/libreoffice-l10n-ast.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-ast /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-be.maintscript b/debian/libreoffice-l10n-be.maintscript
new file mode 100644
index 000000000..53b4bd4f2
--- /dev/null
+++ b/debian/libreoffice-l10n-be.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-be /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-bg.maintscript b/debian/libreoffice-l10n-bg.maintscript
new file mode 100644
index 000000000..e8ba2180e
--- /dev/null
+++ b/debian/libreoffice-l10n-bg.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-bg /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-bn.maintscript b/debian/libreoffice-l10n-bn.maintscript
new file mode 100644
index 000000000..78da96066
--- /dev/null
+++ b/debian/libreoffice-l10n-bn.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-bn /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-br.maintscript b/debian/libreoffice-l10n-br.maintscript
new file mode 100644
index 000000000..d92f24031
--- /dev/null
+++ b/debian/libreoffice-l10n-br.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-br /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-bs.maintscript b/debian/libreoffice-l10n-bs.maintscript
new file mode 100644
index 000000000..1178e5a46
--- /dev/null
+++ b/debian/libreoffice-l10n-bs.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-bs /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-ca.maintscript b/debian/libreoffice-l10n-ca.maintscript
new file mode 100644
index 000000000..471887d42
--- /dev/null
+++ b/debian/libreoffice-l10n-ca.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-ca /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-cs.maintscript b/debian/libreoffice-l10n-cs.maintscript
new file mode 100644
index 000000000..29d0c0ab4
--- /dev/null
+++ b/debian/libreoffice-l10n-cs.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-cs /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-cy.maintscript b/debian/libreoffice-l10n-cy.maintscript
new file mode 100644
index 000000000..3b30f967d
--- /dev/null
+++ b/debian/libreoffice-l10n-cy.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-cy /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-da.maintscript b/debian/libreoffice-l10n-da.maintscript
new file mode 100644
index 000000000..3cbf1d478
--- /dev/null
+++ b/debian/libreoffice-l10n-da.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-da /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-de.maintscript b/debian/libreoffice-l10n-de.maintscript
new file mode 100644
index 000000000..68063de7b
--- /dev/null
+++ b/debian/libreoffice-l10n-de.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-de /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-dz.maintscript b/debian/libreoffice-l10n-dz.maintscript
new file mode 100644
index 000000000..76c519778
--- /dev/null
+++ b/debian/libreoffice-l10n-dz.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-dz /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-el.maintscript b/debian/libreoffice-l10n-el.maintscript
new file mode 100644
index 000000000..f9f850b38
--- /dev/null
+++ b/debian/libreoffice-l10n-el.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-el /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-en-gb.maintscript b/debian/libreoffice-l10n-en-gb.maintscript
new file mode 100644
index 000000000..f0ecabcb9
--- /dev/null
+++ b/debian/libreoffice-l10n-en-gb.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-en-gb /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-en-us.maintscript b/debian/libreoffice-l10n-en-us.maintscript
new file mode 100644
index 000000000..edba2604b
--- /dev/null
+++ b/debian/libreoffice-l10n-en-us.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-en-us /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-en-za.maintscript b/debian/libreoffice-l10n-en-za.maintscript
new file mode 100644
index 000000000..1897e7b1e
--- /dev/null
+++ b/debian/libreoffice-l10n-en-za.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-en-za /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-eo.maintscript b/debian/libreoffice-l10n-eo.maintscript
new file mode 100644
index 000000000..67345012c
--- /dev/null
+++ b/debian/libreoffice-l10n-eo.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-eo /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-es.maintscript b/debian/libreoffice-l10n-es.maintscript
new file mode 100644
index 000000000..e3287c665
--- /dev/null
+++ b/debian/libreoffice-l10n-es.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-es /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-et.maintscript b/debian/libreoffice-l10n-et.maintscript
new file mode 100644
index 000000000..c3e25bb40
--- /dev/null
+++ b/debian/libreoffice-l10n-et.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-et /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-eu.maintscript b/debian/libreoffice-l10n-eu.maintscript
new file mode 100644
index 000000000..a503c6d24
--- /dev/null
+++ b/debian/libreoffice-l10n-eu.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-eu /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-fa.maintscript b/debian/libreoffice-l10n-fa.maintscript
new file mode 100644
index 000000000..4b7029651
--- /dev/null
+++ b/debian/libreoffice-l10n-fa.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-fa /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-fi.maintscript b/debian/libreoffice-l10n-fi.maintscript
new file mode 100644
index 000000000..cf6d4494e
--- /dev/null
+++ b/debian/libreoffice-l10n-fi.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-fi /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-fr.maintscript b/debian/libreoffice-l10n-fr.maintscript
new file mode 100644
index 000000000..6d3134977
--- /dev/null
+++ b/debian/libreoffice-l10n-fr.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-fr /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-ga.maintscript b/debian/libreoffice-l10n-ga.maintscript
new file mode 100644
index 000000000..165629c36
--- /dev/null
+++ b/debian/libreoffice-l10n-ga.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-ga /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-gd.maintscript b/debian/libreoffice-l10n-gd.maintscript
new file mode 100644
index 000000000..4748b698b
--- /dev/null
+++ b/debian/libreoffice-l10n-gd.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-gd /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-gl.maintscript b/debian/libreoffice-l10n-gl.maintscript
new file mode 100644
index 000000000..4abfef89e
--- /dev/null
+++ b/debian/libreoffice-l10n-gl.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-gl /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-gu.maintscript b/debian/libreoffice-l10n-gu.maintscript
new file mode 100644
index 000000000..d28f9b668
--- /dev/null
+++ b/debian/libreoffice-l10n-gu.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-gu /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-gug.maintscript b/debian/libreoffice-l10n-gug.maintscript
new file mode 100644
index 000000000..22caeda6f
--- /dev/null
+++ b/debian/libreoffice-l10n-gug.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-gug /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-he.maintscript b/debian/libreoffice-l10n-he.maintscript
new file mode 100644
index 000000000..48c588cb7
--- /dev/null
+++ b/debian/libreoffice-l10n-he.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-he /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-hi.maintscript b/debian/libreoffice-l10n-hi.maintscript
new file mode 100644
index 000000000..c1aafd373
--- /dev/null
+++ b/debian/libreoffice-l10n-hi.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-hi /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-hr.maintscript b/debian/libreoffice-l10n-hr.maintscript
new file mode 100644
index 000000000..7924ca052
--- /dev/null
+++ b/debian/libreoffice-l10n-hr.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-hr /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-hu.maintscript b/debian/libreoffice-l10n-hu.maintscript
new file mode 100644
index 000000000..042765e9d
--- /dev/null
+++ b/debian/libreoffice-l10n-hu.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-hu /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-id.maintscript b/debian/libreoffice-l10n-id.maintscript
new file mode 100644
index 000000000..e18551b25
--- /dev/null
+++ b/debian/libreoffice-l10n-id.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-id /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-in.maintscript b/debian/libreoffice-l10n-in.maintscript
new file mode 100644
index 000000000..230d48c46
--- /dev/null
+++ b/debian/libreoffice-l10n-in.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-in /usr/share/doc/libreoffice-common 1:6.4.0-1
diff --git a/debian/libreoffice-l10n-is.maintscript b/debian/libreoffice-l10n-is.maintscript
new file mode 100644
index 000000000..3631a6a5e
--- /dev/null
+++ b/debian/libreoffice-l10n-is.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-is /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-it.maintscript b/debian/libreoffice-l10n-it.maintscript
new file mode 100644
index 000000000..18be5b427
--- /dev/null
+++ b/debian/libreoffice-l10n-it.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-it /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-ja.maintscript b/debian/libreoffice-l10n-ja.maintscript
new file mode 100644
index 000000000..7ce61040a
--- /dev/null
+++ b/debian/libreoffice-l10n-ja.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-ja /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-ka.maintscript b/debian/libreoffice-l10n-ka.maintscript
new file mode 100644
index 000000000..869811523
--- /dev/null
+++ b/debian/libreoffice-l10n-ka.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-ka /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-kk.maintscript b/debian/libreoffice-l10n-kk.maintscript
new file mode 100644
index 000000000..b749dd7be
--- /dev/null
+++ b/debian/libreoffice-l10n-kk.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-kk /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-km.maintscript b/debian/libreoffice-l10n-km.maintscript
new file mode 100644
index 000000000..30a383925
--- /dev/null
+++ b/debian/libreoffice-l10n-km.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-km /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-kmr.maintscript b/debian/libreoffice-l10n-kmr.maintscript
new file mode 100644
index 000000000..d7405d3c5
--- /dev/null
+++ b/debian/libreoffice-l10n-kmr.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-kmr /usr/share/doc/libreoffice-common 1:6.4.0-1
diff --git a/debian/libreoffice-l10n-kn.maintscript b/debian/libreoffice-l10n-kn.maintscript
new file mode 100644
index 000000000..6d4a37380
--- /dev/null
+++ b/debian/libreoffice-l10n-kn.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-kn /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-ko.maintscript b/debian/libreoffice-l10n-ko.maintscript
new file mode 100644
index 000000000..2054fa9e9
--- /dev/null
+++ b/debian/libreoffice-l10n-ko.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-ko /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-lt.maintscript b/debian/libreoffice-l10n-lt.maintscript
new file mode 100644
index 000000000..1cac226ff
--- /dev/null
+++ b/debian/libreoffice-l10n-lt.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-lt /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-lv.maintscript b/debian/libreoffice-l10n-lv.maintscript
new file mode 100644
index 000000000..7df011563
--- /dev/null
+++ b/debian/libreoffice-l10n-lv.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-lv /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-mk.maintscript b/debian/libreoffice-l10n-mk.maintscript
new file mode 100644
index 000000000..597b3b75b
--- /dev/null
+++ b/debian/libreoffice-l10n-mk.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-mk /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-ml.maintscript b/debian/libreoffice-l10n-ml.maintscript
new file mode 100644
index 000000000..1c377d558
--- /dev/null
+++ b/debian/libreoffice-l10n-ml.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-ml /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-mn.maintscript b/debian/libreoffice-l10n-mn.maintscript
new file mode 100644
index 000000000..d1a6d0eb9
--- /dev/null
+++ b/debian/libreoffice-l10n-mn.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-mn /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-mr.maintscript b/debian/libreoffice-l10n-mr.maintscript
new file mode 100644
index 000000000..e2c755e92
--- /dev/null
+++ b/debian/libreoffice-l10n-mr.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-mr /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-nb.maintscript b/debian/libreoffice-l10n-nb.maintscript
new file mode 100644
index 000000000..db2824436
--- /dev/null
+++ b/debian/libreoffice-l10n-nb.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-nb /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-ne.maintscript b/debian/libreoffice-l10n-ne.maintscript
new file mode 100644
index 000000000..464ae4b65
--- /dev/null
+++ b/debian/libreoffice-l10n-ne.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-ne /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-nl.maintscript b/debian/libreoffice-l10n-nl.maintscript
new file mode 100644
index 000000000..700d4976a
--- /dev/null
+++ b/debian/libreoffice-l10n-nl.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-nl /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-nn.maintscript b/debian/libreoffice-l10n-nn.maintscript
new file mode 100644
index 000000000..b5f2d1700
--- /dev/null
+++ b/debian/libreoffice-l10n-nn.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-nn /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-nr.maintscript b/debian/libreoffice-l10n-nr.maintscript
new file mode 100644
index 000000000..b619763e6
--- /dev/null
+++ b/debian/libreoffice-l10n-nr.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-nr /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-nso.maintscript b/debian/libreoffice-l10n-nso.maintscript
new file mode 100644
index 000000000..bb4394ed3
--- /dev/null
+++ b/debian/libreoffice-l10n-nso.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-nso /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-oc.maintscript b/debian/libreoffice-l10n-oc.maintscript
new file mode 100644
index 000000000..b71f2f337
--- /dev/null
+++ b/debian/libreoffice-l10n-oc.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-oc /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-om.maintscript b/debian/libreoffice-l10n-om.maintscript
new file mode 100644
index 000000000..976dc254b
--- /dev/null
+++ b/debian/libreoffice-l10n-om.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-om /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-or.maintscript b/debian/libreoffice-l10n-or.maintscript
new file mode 100644
index 000000000..b3b20c55b
--- /dev/null
+++ b/debian/libreoffice-l10n-or.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-or /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-pa-in.maintscript b/debian/libreoffice-l10n-pa-in.maintscript
new file mode 100644
index 000000000..3cf7b3bfb
--- /dev/null
+++ b/debian/libreoffice-l10n-pa-in.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-pa-in /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-pl.maintscript b/debian/libreoffice-l10n-pl.maintscript
new file mode 100644
index 000000000..08b60dc44
--- /dev/null
+++ b/debian/libreoffice-l10n-pl.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-pl /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-pt-br.maintscript b/debian/libreoffice-l10n-pt-br.maintscript
new file mode 100644
index 000000000..f7541ad33
--- /dev/null
+++ b/debian/libreoffice-l10n-pt-br.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-pt-br /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-pt.maintscript b/debian/libreoffice-l10n-pt.maintscript
new file mode 100644
index 000000000..fb7c10cd2
--- /dev/null
+++ b/debian/libreoffice-l10n-pt.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-pt /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-ro.maintscript b/debian/libreoffice-l10n-ro.maintscript
new file mode 100644
index 000000000..0d5acb33b
--- /dev/null
+++ b/debian/libreoffice-l10n-ro.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-ro /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-ru.maintscript b/debian/libreoffice-l10n-ru.maintscript
new file mode 100644
index 000000000..1956e1c32
--- /dev/null
+++ b/debian/libreoffice-l10n-ru.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-ru /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-rw.maintscript b/debian/libreoffice-l10n-rw.maintscript
new file mode 100644
index 000000000..545193530
--- /dev/null
+++ b/debian/libreoffice-l10n-rw.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-rw /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-si.maintscript b/debian/libreoffice-l10n-si.maintscript
new file mode 100644
index 000000000..092ada5e4
--- /dev/null
+++ b/debian/libreoffice-l10n-si.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-si /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-sk.maintscript b/debian/libreoffice-l10n-sk.maintscript
new file mode 100644
index 000000000..f2913ab5a
--- /dev/null
+++ b/debian/libreoffice-l10n-sk.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-sk /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-sl.maintscript b/debian/libreoffice-l10n-sl.maintscript
new file mode 100644
index 000000000..301770cf6
--- /dev/null
+++ b/debian/libreoffice-l10n-sl.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-sl /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-sr.maintscript b/debian/libreoffice-l10n-sr.maintscript
new file mode 100644
index 000000000..761543ff8
--- /dev/null
+++ b/debian/libreoffice-l10n-sr.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-sr /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-ss.maintscript b/debian/libreoffice-l10n-ss.maintscript
new file mode 100644
index 000000000..349d0a783
--- /dev/null
+++ b/debian/libreoffice-l10n-ss.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-ss /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-st.maintscript b/debian/libreoffice-l10n-st.maintscript
new file mode 100644
index 000000000..e5a9f05ee
--- /dev/null
+++ b/debian/libreoffice-l10n-st.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-st /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-sv.maintscript b/debian/libreoffice-l10n-sv.maintscript
new file mode 100644
index 000000000..0f6f76c0f
--- /dev/null
+++ b/debian/libreoffice-l10n-sv.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-sv /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-ta.maintscript b/debian/libreoffice-l10n-ta.maintscript
new file mode 100644
index 000000000..799d85372
--- /dev/null
+++ b/debian/libreoffice-l10n-ta.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-ta /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-te.maintscript b/debian/libreoffice-l10n-te.maintscript
new file mode 100644
index 000000000..ed90e6e43
--- /dev/null
+++ b/debian/libreoffice-l10n-te.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-te /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-tg.maintscript b/debian/libreoffice-l10n-tg.maintscript
new file mode 100644
index 000000000..6c51ccf65
--- /dev/null
+++ b/debian/libreoffice-l10n-tg.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-tg /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-th.maintscript b/debian/libreoffice-l10n-th.maintscript
new file mode 100644
index 000000000..fa87878f1
--- /dev/null
+++ b/debian/libreoffice-l10n-th.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-th /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-tn.maintscript b/debian/libreoffice-l10n-tn.maintscript
new file mode 100644
index 000000000..b64f5ded3
--- /dev/null
+++ b/debian/libreoffice-l10n-tn.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-tn /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-tr.maintscript b/debian/libreoffice-l10n-tr.maintscript
new file mode 100644
index 000000000..b41b6e9ae
--- /dev/null
+++ b/debian/libreoffice-l10n-tr.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-tr /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-ts.maintscript b/debian/libreoffice-l10n-ts.maintscript
new file mode 100644
index 000000000..b6596f519
--- /dev/null
+++ b/debian/libreoffice-l10n-ts.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-ts /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-ug.maintscript b/debian/libreoffice-l10n-ug.maintscript
new file mode 100644
index 000000000..7a295b33f
--- /dev/null
+++ b/debian/libreoffice-l10n-ug.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-ug /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-uk.maintscript b/debian/libreoffice-l10n-uk.maintscript
new file mode 100644
index 000000000..2436b0da1
--- /dev/null
+++ b/debian/libreoffice-l10n-uk.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-uk /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-uz.maintscript b/debian/libreoffice-l10n-uz.maintscript
new file mode 100644
index 000000000..bf8c49dd1
--- /dev/null
+++ b/debian/libreoffice-l10n-uz.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-uz /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-ve.maintscript b/debian/libreoffice-l10n-ve.maintscript
new file mode 100644
index 000000000..1c772524a
--- /dev/null
+++ b/debian/libreoffice-l10n-ve.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-ve /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-vi.maintscript b/debian/libreoffice-l10n-vi.maintscript
new file mode 100644
index 000000000..0d15db97c
--- /dev/null
+++ b/debian/libreoffice-l10n-vi.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-vi /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-xh.maintscript b/debian/libreoffice-l10n-xh.maintscript
new file mode 100644
index 000000000..3803ac4ff
--- /dev/null
+++ b/debian/libreoffice-l10n-xh.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-xh /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-za.maintscript b/debian/libreoffice-l10n-za.maintscript
new file mode 100644
index 000000000..8a568e69e
--- /dev/null
+++ b/debian/libreoffice-l10n-za.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-za /usr/share/doc/libreoffice-common 1:6.4.0-1
diff --git a/debian/libreoffice-l10n-zh-cn.maintscript b/debian/libreoffice-l10n-zh-cn.maintscript
new file mode 100644
index 000000000..a74dbb38d
--- /dev/null
+++ b/debian/libreoffice-l10n-zh-cn.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-zh-cn /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-zh-tw.maintscript b/debian/libreoffice-l10n-zh-tw.maintscript
new file mode 100644
index 000000000..e2b741c26
--- /dev/null
+++ b/debian/libreoffice-l10n-zh-tw.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-zh-tw /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n-zu.maintscript b/debian/libreoffice-l10n-zu.maintscript
new file mode 100644
index 000000000..d796b0500
--- /dev/null
+++ b/debian/libreoffice-l10n-zu.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-l10n-zu /usr/share/doc/libreoffice-common 1:6.4.0~rc1~git20191209
diff --git a/debian/libreoffice-l10n.ucf.in b/debian/libreoffice-l10n.ucf.in
new file mode 100644
index 000000000..2021b7b51
--- /dev/null
+++ b/debian/libreoffice-l10n.ucf.in
@@ -0,0 +1,3 @@
+/usr/lib/libreoffice/share/.registry/Langpack-@ISO@.xcd /etc/libreoffice/registry/Langpack-@ISO@.xcd
+/usr/lib/libreoffice/share/.registry/res/fcfg_langpack_@ISO@.xcd /etc/libreoffice/registry/res/fcfg_langpack_@ISO@.xcd
+/usr/lib/libreoffice/share/.registry/res/registry_@ISO@.xcd /etc/libreoffice/registry/res/registry_@ISO@.xcd
diff --git a/debian/libreoffice-librelogo.ucf b/debian/libreoffice-librelogo.ucf
new file mode 100644
index 000000000..e2300cf79
--- /dev/null
+++ b/debian/libreoffice-librelogo.ucf
@@ -0,0 +1 @@
+/usr/lib/libreoffice/share/.registry/librelogo.xcd /etc/libreoffice/registry/librelogo.xcd
diff --git a/debian/libreoffice-math-nogui.bug-control b/debian/libreoffice-math-nogui.bug-control
new file mode 100644
index 000000000..f7a2b996b
--- /dev/null
+++ b/debian/libreoffice-math-nogui.bug-control
@@ -0,0 +1 @@
+report-with: libreoffice-core libreoffice-core-nogui
diff --git a/debian/libreoffice-math-nogui.mime b/debian/libreoffice-math-nogui.mime
new file mode 100644
index 000000000..ea6482877
--- /dev/null
+++ b/debian/libreoffice-math-nogui.mime
@@ -0,0 +1,14 @@
+###
+# shared-mime-info
+
+# Generic
+text/mathml; soffice --nologo --math %s; edit=soffice --nologo --math %s; test=test -n "$DISPLAY"; description="MathML Formula"; nametemplate=%s.mml; priority=3
+
+# OASIS OpenDocument Format
+application/vnd.oasis.opendocument.formula; soffice --nologo --math %s; edit=soffice --nologo --math %s; print=soffice --nologo --math -p %s; test=test -n "$DISPLAY"; description="OpenDocument Formula"; nametemplate=%s.odf; priority=9
+
+# OpenOffice.org 1.0
+application/vnd.sun.xml.math; soffice --nologo --math %s; edit=soffice --nologo --math %s; test=test -n "$DISPLAY"; description="OpenOffice.org Formula"; nametemplate=%s.sxm; priority=8
+
+#
+###
diff --git a/debian/libreoffice-math-nogui.ucf b/debian/libreoffice-math-nogui.ucf
new file mode 100644
index 000000000..3ee48a87f
--- /dev/null
+++ b/debian/libreoffice-math-nogui.ucf
@@ -0,0 +1 @@
+/usr/lib/libreoffice/share/.registry/math.xcd /etc/libreoffice/registry/math.xcd
diff --git a/debian/libreoffice-math.bug-control b/debian/libreoffice-math.bug-control
new file mode 100644
index 000000000..1ac405f97
--- /dev/null
+++ b/debian/libreoffice-math.bug-control
@@ -0,0 +1 @@
+report-with: libreoffice-core
diff --git a/debian/libreoffice-math.lintian-overrides b/debian/libreoffice-math.lintian-overrides
new file mode 100644
index 000000000..4544db776
--- /dev/null
+++ b/debian/libreoffice-math.lintian-overrides
@@ -0,0 +1 @@
+libreoffice-math: desktop-command-not-in-package libreoffice [usr/share/applications/libreoffice-math.desktop]
diff --git a/debian/libreoffice-math.maintscript b/debian/libreoffice-math.maintscript
new file mode 100644
index 000000000..9dbb16756
--- /dev/null
+++ b/debian/libreoffice-math.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-math /usr/share/doc/libreoffice-core 1:6.4.0~alpha1~git20191013
diff --git a/debian/libreoffice-math.manpages b/debian/libreoffice-math.manpages
new file mode 100644
index 000000000..6798b1e6b
--- /dev/null
+++ b/debian/libreoffice-math.manpages
@@ -0,0 +1 @@
+debian/tmp/usr/share/man/man1/lomath.1.gz
diff --git a/debian/libreoffice-math.mime b/debian/libreoffice-math.mime
new file mode 100644
index 000000000..ea6482877
--- /dev/null
+++ b/debian/libreoffice-math.mime
@@ -0,0 +1,14 @@
+###
+# shared-mime-info
+
+# Generic
+text/mathml; soffice --nologo --math %s; edit=soffice --nologo --math %s; test=test -n "$DISPLAY"; description="MathML Formula"; nametemplate=%s.mml; priority=3
+
+# OASIS OpenDocument Format
+application/vnd.oasis.opendocument.formula; soffice --nologo --math %s; edit=soffice --nologo --math %s; print=soffice --nologo --math -p %s; test=test -n "$DISPLAY"; description="OpenDocument Formula"; nametemplate=%s.odf; priority=9
+
+# OpenOffice.org 1.0
+application/vnd.sun.xml.math; soffice --nologo --math %s; edit=soffice --nologo --math %s; test=test -n "$DISPLAY"; description="OpenOffice.org Formula"; nametemplate=%s.sxm; priority=8
+
+#
+###
diff --git a/debian/libreoffice-math.ucf b/debian/libreoffice-math.ucf
new file mode 100644
index 000000000..3ee48a87f
--- /dev/null
+++ b/debian/libreoffice-math.ucf
@@ -0,0 +1 @@
+/usr/lib/libreoffice/share/.registry/math.xcd /etc/libreoffice/registry/math.xcd
diff --git a/debian/libreoffice-mysql-connector.maintscript b/debian/libreoffice-mysql-connector.maintscript
new file mode 100644
index 000000000..92715c940
--- /dev/null
+++ b/debian/libreoffice-mysql-connector.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-mysql-connector /usr/share/doc/libreoffice-core 1:6.4.0~alpha1~git20191013
diff --git a/debian/libreoffice-nlpsolver.bug-control b/debian/libreoffice-nlpsolver.bug-control
new file mode 100644
index 000000000..6af44785d
--- /dev/null
+++ b/debian/libreoffice-nlpsolver.bug-control
@@ -0,0 +1 @@
+report-with: ure-java
diff --git a/debian/libreoffice-nlpsolver.bug-script.in b/debian/libreoffice-nlpsolver.bug-script.in
new file mode 100755
index 000000000..840853353
--- /dev/null
+++ b/debian/libreoffice-nlpsolver.bug-script.in
@@ -0,0 +1,2 @@
+#!/bin/sh
+/usr/lib/libreoffice/program/unopkg list --bundled com.sun.star.comp.Calc.NLPSolver >&3
diff --git a/debian/libreoffice-nlpsolver.lintian-overrides b/debian/libreoffice-nlpsolver.lintian-overrides
new file mode 100644
index 000000000..e5e194512
--- /dev/null
+++ b/debian/libreoffice-nlpsolver.lintian-overrides
@@ -0,0 +1,3 @@
+libreoffice-nlpsolver: jar-not-in-usr-share [usr/lib/libreoffice/share/extensions/nlpsolver/EvolutionarySolver.jar]
+libreoffice-nlpsolver: jar-not-in-usr-share [usr/lib/libreoffice/share/extensions/nlpsolver/help/*/help.jar]
+libreoffice-nlpsolver: jar-not-in-usr-share [usr/lib/libreoffice/share/extensions/nlpsolver/nlpsolver.jar]
diff --git a/debian/libreoffice-officebean.maintscript b/debian/libreoffice-officebean.maintscript
new file mode 100644
index 000000000..eec3d3bc1
--- /dev/null
+++ b/debian/libreoffice-officebean.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-officebean /usr/share/doc/libreoffice-core 1:6.4.0~alpha1~git20191013
diff --git a/debian/libreoffice-plasma.maintscript b/debian/libreoffice-plasma.maintscript
new file mode 100644
index 000000000..8c7e556f5
--- /dev/null
+++ b/debian/libreoffice-plasma.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-plasma /usr/share/doc/libreoffice-core 1:6.4.0~alpha1~git20191013
diff --git a/debian/libreoffice-qt5.maintscript b/debian/libreoffice-qt5.maintscript
new file mode 100644
index 000000000..4e11d0bcd
--- /dev/null
+++ b/debian/libreoffice-qt5.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-qt5 /usr/share/doc/libreoffice-core 1:6.4.0~alpha1~git20191013
diff --git a/debian/libreoffice-report-builder-bin.maintscript b/debian/libreoffice-report-builder-bin.maintscript
new file mode 100644
index 000000000..c31cc3b6c
--- /dev/null
+++ b/debian/libreoffice-report-builder-bin.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-report-builder-bin /usr/share/doc/libreoffice-core 1:6.4.0~alpha1~git20191013
diff --git a/debian/libreoffice-report-builder.bug-control b/debian/libreoffice-report-builder.bug-control
new file mode 100644
index 000000000..3aabaa318
--- /dev/null
+++ b/debian/libreoffice-report-builder.bug-control
@@ -0,0 +1 @@
+report-with: libreoffice-base libreoffice-java-common ure-java
diff --git a/debian/libreoffice-report-builder.maintscript b/debian/libreoffice-report-builder.maintscript
new file mode 100644
index 000000000..d2d3e3371
--- /dev/null
+++ b/debian/libreoffice-report-builder.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-report-builder /usr/share/doc/libreoffice-common 1:6.4.0~alpha1~git20191013
diff --git a/debian/libreoffice-report-builder.ucf b/debian/libreoffice-report-builder.ucf
new file mode 100644
index 000000000..60247c8f4
--- /dev/null
+++ b/debian/libreoffice-report-builder.ucf
@@ -0,0 +1 @@
+/usr/lib/libreoffice/share/.registry/reportbuilder.xcd /etc/libreoffice/registry/reportbuilder.xcd
diff --git a/debian/libreoffice-script-provider-bsh.maintscript b/debian/libreoffice-script-provider-bsh.maintscript
new file mode 100644
index 000000000..0c4d00fde
--- /dev/null
+++ b/debian/libreoffice-script-provider-bsh.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-script-provider-bsh /usr/share/doc/libreoffice-common 1:6.4.0~alpha1~git20191013
diff --git a/debian/libreoffice-script-provider-js.maintscript b/debian/libreoffice-script-provider-js.maintscript
new file mode 100644
index 000000000..db3fd3c01
--- /dev/null
+++ b/debian/libreoffice-script-provider-js.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-script-provider-js /usr/share/doc/libreoffice-common 1:6.4.0~alpha1~git20191013
diff --git a/debian/libreoffice-script-provider-python.bug-control b/debian/libreoffice-script-provider-python.bug-control
new file mode 100644
index 000000000..38da481c1
--- /dev/null
+++ b/debian/libreoffice-script-provider-python.bug-control
@@ -0,0 +1 @@
+report-with: python-uno python3-uno
diff --git a/debian/libreoffice-script-provider-python.maintscript b/debian/libreoffice-script-provider-python.maintscript
new file mode 100644
index 000000000..64f0371e0
--- /dev/null
+++ b/debian/libreoffice-script-provider-python.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-script-provider-python /usr/share/doc/libreoffice-common 1:6.4.0~alpha1~git20191013
diff --git a/debian/libreoffice-sdbc-firebird.NEWS b/debian/libreoffice-sdbc-firebird.NEWS
new file mode 100644
index 000000000..faee0f2cf
--- /dev/null
+++ b/debian/libreoffice-sdbc-firebird.NEWS
@@ -0,0 +1,21 @@
+libreoffice (1:5.3.0~alpha1-1) experimental; urgency=low
+
+ * LibreOffice switched from Firebird 2.5 to Firebird 3. Unfortunately
+ the format used by the Firebird 2.5 code (fdb - the native on-disk format)
+ is NOT compatible with the "new" one (the archive format). LibreOffice 5.3
+ can NOT read older .odbs having .fdb embedded.
+
+ Some future firebird version might have a way to convert itself/make LO
+ able to convert but until then you need to convert manually as follows:
+
+ You need the gbak tool from firebird2.5:
+ https://packages.debian.org/search?searchon=contents&keywords=gbak&mode=exactfilename&suite=oldstable&arch=any
+
+ Then execute:
+ unzip -d oldFirebird.odb temp;
+ gbak -b temp/database/firebird.fdb temp/database/firebird.fbk;
+ rm temp/database/firebird.fdb
+ zip -FSr oldFirebird.odb temp;
+ rm -r temp;
+
+ -- Rene Engelhard <rene@debian.org> Mon, 28 Nov 2016 10:27:15 +0200
diff --git a/debian/libreoffice-sdbc-firebird.lintian-overrides b/debian/libreoffice-sdbc-firebird.lintian-overrides
new file mode 100644
index 000000000..9f2850f61
--- /dev/null
+++ b/debian/libreoffice-sdbc-firebird.lintian-overrides
@@ -0,0 +1,2 @@
+# "aged out" due to debhelpers changelog trimming (see #1021502)
+libreoffice-sdbc-firebird: debian-news-entry-has-unknown-version 1:5.3.0~alpha1-1 [usr/share/doc/libreoffice-sdbc-firebird/NEWS.Debian.gz:1]
diff --git a/debian/libreoffice-sdbc-firebird.maintscript b/debian/libreoffice-sdbc-firebird.maintscript
new file mode 100644
index 000000000..b59864812
--- /dev/null
+++ b/debian/libreoffice-sdbc-firebird.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-sdbc-firebird /usr/share/doc/libreoffice-core 1:6.4.0~alpha1~git20191013
diff --git a/debian/libreoffice-sdbc-hsqldb.maintscript b/debian/libreoffice-sdbc-hsqldb.maintscript
new file mode 100644
index 000000000..007b4a273
--- /dev/null
+++ b/debian/libreoffice-sdbc-hsqldb.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-sdbc-hsqldb /usr/share/doc/libreoffice-core 1:6.4.0~alpha1~git20191013
diff --git a/debian/libreoffice-sdbc-mysql.maintscript b/debian/libreoffice-sdbc-mysql.maintscript
new file mode 100644
index 000000000..7e4102688
--- /dev/null
+++ b/debian/libreoffice-sdbc-mysql.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-sdbc-mysql /usr/share/doc/libreoffice-core 1:6.4.0~alpha1~git20191013
diff --git a/debian/libreoffice-sdbc-postgresql.maintscript b/debian/libreoffice-sdbc-postgresql.maintscript
new file mode 100644
index 000000000..923b4b424
--- /dev/null
+++ b/debian/libreoffice-sdbc-postgresql.maintscript
@@ -0,0 +1,2 @@
+symlink_to_dir /usr/share/doc/libreoffice-sdbc-postgresql /usr/share/doc/libreoffice-core 1:6.4.0~alpha1~git20191013
+rm_conffile /etc/libreoffice/postgresql-sdbc.ini 1:6.4.0~alpha1~git20191027
diff --git a/debian/libreoffice-sdbc-postgresql.ucf b/debian/libreoffice-sdbc-postgresql.ucf
new file mode 100644
index 000000000..81b5d510f
--- /dev/null
+++ b/debian/libreoffice-sdbc-postgresql.ucf
@@ -0,0 +1 @@
+/usr/lib/libreoffice/share/.registry/postgresql.xcd /etc/libreoffice/registry/postgresql.xcd
diff --git a/debian/libreoffice-style-breeze.maintscript b/debian/libreoffice-style-breeze.maintscript
new file mode 100644
index 000000000..a124622c3
--- /dev/null
+++ b/debian/libreoffice-style-breeze.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-style-breeze /usr/share/doc/libreoffice-common 1:6.4.0~alpha1~git20191013
diff --git a/debian/libreoffice-style-colibre.maintscript b/debian/libreoffice-style-colibre.maintscript
new file mode 100644
index 000000000..26f3ed60c
--- /dev/null
+++ b/debian/libreoffice-style-colibre.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-style-colibre /usr/share/doc/libreoffice-common 1:6.4.0~alpha1~git20191013
diff --git a/debian/libreoffice-style-elementary.maintscript b/debian/libreoffice-style-elementary.maintscript
new file mode 100644
index 000000000..82d78895a
--- /dev/null
+++ b/debian/libreoffice-style-elementary.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-style-elementary /usr/share/doc/libreoffice-common 1:6.4.0~alpha1~git20191013
diff --git a/debian/libreoffice-style-karasa-jaga.maintscript b/debian/libreoffice-style-karasa-jaga.maintscript
new file mode 100644
index 000000000..c3e34cfbb
--- /dev/null
+++ b/debian/libreoffice-style-karasa-jaga.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-style-karasa-jaga /usr/share/doc/libreoffice-common 1:6.4.0~alpha1~git20191013
diff --git a/debian/libreoffice-style-sifr.maintscript b/debian/libreoffice-style-sifr.maintscript
new file mode 100644
index 000000000..ff95171c6
--- /dev/null
+++ b/debian/libreoffice-style-sifr.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-style-sifr /usr/share/doc/libreoffice-common 1:6.4.0~alpha1~git20191013
diff --git a/debian/libreoffice-style-tango.maintscript b/debian/libreoffice-style-tango.maintscript
new file mode 100644
index 000000000..886e58686
--- /dev/null
+++ b/debian/libreoffice-style-tango.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-style-tango /usr/share/doc/libreoffice-common 1:6.4.0~alpha1~git20191013
diff --git a/debian/libreoffice-subsequentcheckbase.maintscript b/debian/libreoffice-subsequentcheckbase.maintscript
new file mode 100644
index 000000000..e4f4547d1
--- /dev/null
+++ b/debian/libreoffice-subsequentcheckbase.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-subsequentcheckbase /usr/share/doc/libreoffice-common 1:6.4.0~alpha1~git20191013
diff --git a/debian/libreoffice-wiki-publisher.bug-control b/debian/libreoffice-wiki-publisher.bug-control
new file mode 100644
index 000000000..6af44785d
--- /dev/null
+++ b/debian/libreoffice-wiki-publisher.bug-control
@@ -0,0 +1 @@
+report-with: ure-java
diff --git a/debian/libreoffice-wiki-publisher.bug-script.in b/debian/libreoffice-wiki-publisher.bug-script.in
new file mode 100755
index 000000000..9497e5ca0
--- /dev/null
+++ b/debian/libreoffice-wiki-publisher.bug-script.in
@@ -0,0 +1,2 @@
+#!/bin/sh
+/usr/lib/libreoffice/program/unopkg list --bundled com.sun.wiki-publisher >&3
diff --git a/debian/libreoffice-wiki-publisher.lintian-overrides b/debian/libreoffice-wiki-publisher.lintian-overrides
new file mode 100644
index 000000000..0c2055308
--- /dev/null
+++ b/debian/libreoffice-wiki-publisher.lintian-overrides
@@ -0,0 +1,2 @@
+libreoffice-wiki-publisher: jar-not-in-usr-share [usr/lib/libreoffice/share/extensions/wiki-publisher/help/*/help.jar]
+libreoffice-wiki-publisher: jar-not-in-usr-share [usr/lib/libreoffice/share/extensions/wiki-publisher/mediawiki.jar]
diff --git a/debian/libreoffice-writer-nogui.bug-control b/debian/libreoffice-writer-nogui.bug-control
new file mode 100644
index 000000000..f7a2b996b
--- /dev/null
+++ b/debian/libreoffice-writer-nogui.bug-control
@@ -0,0 +1 @@
+report-with: libreoffice-core libreoffice-core-nogui
diff --git a/debian/libreoffice-writer-nogui.mime b/debian/libreoffice-writer-nogui.mime
new file mode 100644
index 000000000..fb38a2502
--- /dev/null
+++ b/debian/libreoffice-writer-nogui.mime
@@ -0,0 +1,37 @@
+###
+# shared-mime-info
+
+# Generic
+application/rtf; soffice --nologo --writer %s; edit=soffice --nologo --writer %s; test=test -n "$DISPLAY"; description="Rich Text Format"; nametemplate=%s.rtf; priority=3
+application/x-extension-txt; soffice --nologo --writer %s; edit=soffice --nologo --writer %s; test=test -n "$DISPLAY"; description="Plain Text Document"; nametemplate=%s.txt; priority=3
+application/x-t602; soffice --nologo --writer %s; edit=soffice --nologo --writer %s; test=test -n "$DISPLAY"; description="T602 Document"; nametemplate=%s.602; priority=3
+
+# Corel WordPerfect
+application/vnd.wordperfect; soffice --nologo --writer %s; edit=soffice --nologo --writer %s; test=test -n "$DISPLAY"; description="WordPerfect Document"; nametemplate=%s.wp; priority=3
+
+# ECMA Office Open XML (Microsoft Office 2007)
+application/vnd.ms-word.document.macroEnabled.12; soffice --nologo --writer %s; edit=soffice --nologo --writer %s; test=test -n "$DISPLAY"; description="Office Open XML Document with Macros Enabled"; nametemplate=%s.docm; priority=3
+application/vnd.ms-word.template.macroEnabled.12; soffice --nologo --writer %s; edit=soffice --nologo --writer %s; test=test -n "$DISPLAY"; description="Office Open XML Document Template with Macros Enabled"; nametemplate=%s.dotm; priority=3
+application/vnd.openxmlformats-officedocument.wordprocessingml.document; soffice --nologo --writer %s; edit=soffice --nologo --writer %s; test=test -n "$DISPLAY"; description="Office Open XML Document"; nametemplate=%s.docx; priority=3
+application/vnd.openxmlformats-officedocument.wordprocessingml.template; soffice --nologo --writer %s; edit=soffice --nologo --writer %s; test=test -n "$DISPLAY"; description="Office Open XML Document Template"; nametemplate=%s.dotx; priority=3
+
+# Microsoft Word
+application/msword; soffice --nologo --writer %s; edit=soffice --nologo --writer %s; test=test -n "$DISPLAY"; description="Microsoft Word Document"; nametemplate=%s.doc; priority=3
+
+# Microsoft Works
+application/vnd.ms-works; soffice --nologo --writer %s; edit=soffice --nologo --writer %s; test=test -n "$DISPLAY"; description="Microsoft Works Document"; nametemplate=%s.wps; priority=3
+
+# OASIS OpenDocument Format
+application/vnd.oasis.opendocument.text; soffice --nologo --writer %s; edit=soffice --nologo --writer %s; print=soffice --nologo --writer -p %s; test=test -n "$DISPLAY"; description="OpenDocument Text Document"; nametemplate=%s.odt; priority=9
+application/vnd.oasis.opendocument.text-master; soffice --nologo --global %s; edit=soffice --nologo --writer %s; print=soffice --nologo --writer -p %s; test=test -n "$DISPLAY"; description="OpenDocument Master Document"; nametemplate=%s.odm; priority=9
+application/vnd.oasis.opendocument.text-template; soffice --nologo --writer %s; edit=soffice --nologo --writer %s; print=soffice --nologo --writer -p %s; test=test -n "$DISPLAY"; description="OpenDocument Text Document Template"; nametemplate=%s.ott; priority=9
+application/vnd.oasis.opendocument.text-web; soffice --nologo --web %s; edit=soffice --nologo --web %s; print=soffice --nologo --web -p %s; test=test -n "$DISPLAY"; description="OpenDocument HTML Document Template"; nametemplate=%s.oth; priority=9
+
+# OpenOffice.org 1.0
+application/vnd.sun.xml.writer; soffice --nologo --writer %s; edit=soffice --nologo --writer %s; description="OpenOffice.org Text Document"; nametemplate=%s.sxw; priority=8
+application/vnd.sun.xml.writer.global; soffice --nologo --global %s; edit=soffice --nologo --writer %s; description="OpenOffice.org Master Document"; nametemplate=%s.sxg; priority=8
+application/vnd.sun.xml.writer.template; soffice --nologo --writer %s; edit=soffice --nologo --writer %s; description="OpenOffice.org Text Document Template"; nametemplate=%s.stw; priority=8
+
+#
+###
+
diff --git a/debian/libreoffice-writer-nogui.ucf b/debian/libreoffice-writer-nogui.ucf
new file mode 100644
index 000000000..1b9239ce8
--- /dev/null
+++ b/debian/libreoffice-writer-nogui.ucf
@@ -0,0 +1 @@
+/usr/lib/libreoffice/share/.registry/writer.xcd /etc/libreoffice/registry/writer.xcd
diff --git a/debian/libreoffice-writer.bug-control b/debian/libreoffice-writer.bug-control
new file mode 100644
index 000000000..1ac405f97
--- /dev/null
+++ b/debian/libreoffice-writer.bug-control
@@ -0,0 +1 @@
+report-with: libreoffice-core
diff --git a/debian/libreoffice-writer.lintian-overrides b/debian/libreoffice-writer.lintian-overrides
new file mode 100644
index 000000000..df8d66097
--- /dev/null
+++ b/debian/libreoffice-writer.lintian-overrides
@@ -0,0 +1 @@
+libreoffice-writer: desktop-command-not-in-package libreoffice [usr/share/applications/libreoffice-writer.desktop]
diff --git a/debian/libreoffice-writer.maintscript b/debian/libreoffice-writer.maintscript
new file mode 100644
index 000000000..829e8be5d
--- /dev/null
+++ b/debian/libreoffice-writer.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreoffice-writer /usr/share/doc/libreoffice-core 1:6.4.0~alpha1~git20191013
diff --git a/debian/libreoffice-writer.manpages b/debian/libreoffice-writer.manpages
new file mode 100644
index 000000000..53c4e248a
--- /dev/null
+++ b/debian/libreoffice-writer.manpages
@@ -0,0 +1,3 @@
+debian/tmp/usr/share/man/man1/loweb.1.gz
+debian/tmp/usr/share/man/man1/lowriter.1.gz
+
diff --git a/debian/libreoffice-writer.mime b/debian/libreoffice-writer.mime
new file mode 100644
index 000000000..fb38a2502
--- /dev/null
+++ b/debian/libreoffice-writer.mime
@@ -0,0 +1,37 @@
+###
+# shared-mime-info
+
+# Generic
+application/rtf; soffice --nologo --writer %s; edit=soffice --nologo --writer %s; test=test -n "$DISPLAY"; description="Rich Text Format"; nametemplate=%s.rtf; priority=3
+application/x-extension-txt; soffice --nologo --writer %s; edit=soffice --nologo --writer %s; test=test -n "$DISPLAY"; description="Plain Text Document"; nametemplate=%s.txt; priority=3
+application/x-t602; soffice --nologo --writer %s; edit=soffice --nologo --writer %s; test=test -n "$DISPLAY"; description="T602 Document"; nametemplate=%s.602; priority=3
+
+# Corel WordPerfect
+application/vnd.wordperfect; soffice --nologo --writer %s; edit=soffice --nologo --writer %s; test=test -n "$DISPLAY"; description="WordPerfect Document"; nametemplate=%s.wp; priority=3
+
+# ECMA Office Open XML (Microsoft Office 2007)
+application/vnd.ms-word.document.macroEnabled.12; soffice --nologo --writer %s; edit=soffice --nologo --writer %s; test=test -n "$DISPLAY"; description="Office Open XML Document with Macros Enabled"; nametemplate=%s.docm; priority=3
+application/vnd.ms-word.template.macroEnabled.12; soffice --nologo --writer %s; edit=soffice --nologo --writer %s; test=test -n "$DISPLAY"; description="Office Open XML Document Template with Macros Enabled"; nametemplate=%s.dotm; priority=3
+application/vnd.openxmlformats-officedocument.wordprocessingml.document; soffice --nologo --writer %s; edit=soffice --nologo --writer %s; test=test -n "$DISPLAY"; description="Office Open XML Document"; nametemplate=%s.docx; priority=3
+application/vnd.openxmlformats-officedocument.wordprocessingml.template; soffice --nologo --writer %s; edit=soffice --nologo --writer %s; test=test -n "$DISPLAY"; description="Office Open XML Document Template"; nametemplate=%s.dotx; priority=3
+
+# Microsoft Word
+application/msword; soffice --nologo --writer %s; edit=soffice --nologo --writer %s; test=test -n "$DISPLAY"; description="Microsoft Word Document"; nametemplate=%s.doc; priority=3
+
+# Microsoft Works
+application/vnd.ms-works; soffice --nologo --writer %s; edit=soffice --nologo --writer %s; test=test -n "$DISPLAY"; description="Microsoft Works Document"; nametemplate=%s.wps; priority=3
+
+# OASIS OpenDocument Format
+application/vnd.oasis.opendocument.text; soffice --nologo --writer %s; edit=soffice --nologo --writer %s; print=soffice --nologo --writer -p %s; test=test -n "$DISPLAY"; description="OpenDocument Text Document"; nametemplate=%s.odt; priority=9
+application/vnd.oasis.opendocument.text-master; soffice --nologo --global %s; edit=soffice --nologo --writer %s; print=soffice --nologo --writer -p %s; test=test -n "$DISPLAY"; description="OpenDocument Master Document"; nametemplate=%s.odm; priority=9
+application/vnd.oasis.opendocument.text-template; soffice --nologo --writer %s; edit=soffice --nologo --writer %s; print=soffice --nologo --writer -p %s; test=test -n "$DISPLAY"; description="OpenDocument Text Document Template"; nametemplate=%s.ott; priority=9
+application/vnd.oasis.opendocument.text-web; soffice --nologo --web %s; edit=soffice --nologo --web %s; print=soffice --nologo --web -p %s; test=test -n "$DISPLAY"; description="OpenDocument HTML Document Template"; nametemplate=%s.oth; priority=9
+
+# OpenOffice.org 1.0
+application/vnd.sun.xml.writer; soffice --nologo --writer %s; edit=soffice --nologo --writer %s; description="OpenOffice.org Text Document"; nametemplate=%s.sxw; priority=8
+application/vnd.sun.xml.writer.global; soffice --nologo --global %s; edit=soffice --nologo --writer %s; description="OpenOffice.org Master Document"; nametemplate=%s.sxg; priority=8
+application/vnd.sun.xml.writer.template; soffice --nologo --writer %s; edit=soffice --nologo --writer %s; description="OpenOffice.org Text Document Template"; nametemplate=%s.stw; priority=8
+
+#
+###
+
diff --git a/debian/libreoffice-writer.ucf b/debian/libreoffice-writer.ucf
new file mode 100644
index 000000000..1b9239ce8
--- /dev/null
+++ b/debian/libreoffice-writer.ucf
@@ -0,0 +1 @@
+/usr/lib/libreoffice/share/.registry/writer.xcd /etc/libreoffice/registry/writer.xcd
diff --git a/debian/libreoffice.bug-control b/debian/libreoffice.bug-control
new file mode 100644
index 000000000..21ad6ad79
--- /dev/null
+++ b/debian/libreoffice.bug-control
@@ -0,0 +1,2 @@
+report-with: libreoffice-core libreoffice-writer libreoffice-calc libreoffice-base libreoffice-draw libreoffice-impress libreoffice-math
+
diff --git a/debian/libreofficekit-data.maintscript b/debian/libreofficekit-data.maintscript
new file mode 100644
index 000000000..3c2a91682
--- /dev/null
+++ b/debian/libreofficekit-data.maintscript
@@ -0,0 +1 @@
+symlink_to_dir /usr/share/doc/libreofficekit-data /usr/share/doc/libreoffice-common 1:6.4.0~alpha1~git20191013
diff --git a/debian/libreofficekit-dev.docs b/debian/libreofficekit-dev.docs
new file mode 100644
index 000000000..1dbbe5dc9
--- /dev/null
+++ b/debian/libreofficekit-dev.docs
@@ -0,0 +1 @@
+libreofficekit/README.md
diff --git a/debian/libuno-cppu3.lintian-overrides b/debian/libuno-cppu3.lintian-overrides
new file mode 100644
index 000000000..8a71f3368
--- /dev/null
+++ b/debian/libuno-cppu3.lintian-overrides
@@ -0,0 +1 @@
+libuno-cppu3: symbols-declares-dependency-on-other-package libstdc++6 (>= 4.1.1) (libuno_cppu.so.3) [symbols]
diff --git a/debian/libuno-cppu3.symbols b/debian/libuno-cppu3.symbols
new file mode 100644
index 000000000..258414ca3
--- /dev/null
+++ b/debian/libuno-cppu3.symbols
@@ -0,0 +1,11 @@
+libuno_cppu.so.3 libuno-cppu3 #MINVER#
+| libuno-cppu3 #MINVER#, libstdc++6 (>= 4.1.1)
+ (symver)UDK_3_0_0 1.4.0
+ (symver)UDK_3.1 1.4.0
+ (symver)UDK_3.2 1.4.0
+ (symver)UDK_3.3 1.4.0
+ (symver)GLIBCXX_3.4 3.6 1
+ (symver)LIBO_UDK_4.4 4.4.0~alpha
+# add new stuff BELOW this line
+# and note that the stuff above HAS NO epoch but the
+# below HAS
diff --git a/debian/libuno-cppuhelpergcc3-3.lintian-overrides b/debian/libuno-cppuhelpergcc3-3.lintian-overrides
new file mode 100644
index 000000000..d5f90ada1
--- /dev/null
+++ b/debian/libuno-cppuhelpergcc3-3.lintian-overrides
@@ -0,0 +1,2 @@
+libuno-cppuhelpergcc3-3: symbols-declares-dependency-on-other-package uno-libs-private (libuno_cppuhelpergcc3.so.3) [symbols]
+libuno-cppuhelpergcc3-3: symbols-declares-dependency-on-other-package libstdc++6 (>= 4.1.1) (libuno_cppuhelpergcc3.so.3) [symbols]
diff --git a/debian/libuno-cppuhelpergcc3-3.symbols b/debian/libuno-cppuhelpergcc3-3.symbols
new file mode 100644
index 000000000..30be52c3a
--- /dev/null
+++ b/debian/libuno-cppuhelpergcc3-3.symbols
@@ -0,0 +1,18 @@
+libuno_cppuhelpergcc3.so.3 libuno-cppuhelpergcc3-3 #MINVER#, uno-libs-private
+| libuno-cppuhelpergcc3-3 #MINVER#, uno-libs-private, libstdc++6 (>= 4.1.1)
+ (symver)UDK_3_0_0 1.4.0
+ (symver)UDK_3.1 1.4.0
+ (symver)UDK_3.2 1.4.0
+ (symver)UDK_3.3 1.4.0
+ (symver)UDK_3.4 1.4.0
+ (symver)UDK_3.5 1.4.0
+ (symver)UDK_3.6 1.7.0
+ (symver)UDK_3.7 3.4.0
+ (symver)UDK_3.8 3.5.0~beta
+ (symver)GLIBCXX_3.4 3.6 1
+ (symver)LIBO_UDK_3.9 4.0.0~alpha
+ (symver)LIBO_UDK_5.3 5.3.0~alpha
+# add new stuff BELOW this line
+# and note that the stuff above HAS NO epoch but the
+# below HAS
+ (symver)LIBO_UDK_7.4 1:7.4.0~alpha
diff --git a/debian/libuno-purpenvhelpergcc3-3.lintian-overrides b/debian/libuno-purpenvhelpergcc3-3.lintian-overrides
new file mode 100644
index 000000000..8a716d2dc
--- /dev/null
+++ b/debian/libuno-purpenvhelpergcc3-3.lintian-overrides
@@ -0,0 +1 @@
+libuno-purpenvhelpergcc3-3: symbols-declares-dependency-on-other-package libstdc++6 (>= 4.1.1) (libuno_purpenvhelpergcc3.so.3) [symbols]
diff --git a/debian/libuno-purpenvhelpergcc3-3.symbols b/debian/libuno-purpenvhelpergcc3-3.symbols
new file mode 100644
index 000000000..e9054a798
--- /dev/null
+++ b/debian/libuno-purpenvhelpergcc3-3.symbols
@@ -0,0 +1,7 @@
+libuno_purpenvhelpergcc3.so.3 libuno-purpenvhelpergcc3-3 #MINVER#
+| libuno-purpenvhelpergcc3-3 #MINVER#, libstdc++6 (>= 4.1.1)
+ (symver)UDK_3_0_0 1.4.0
+ (symver)GLIBCXX_3.4 3.6 1
+# add new stuff BELOW this line
+# and note that the stuff above HAS NO epoch but the
+# below HAS
diff --git a/debian/libuno-sal3.lintian-overrides b/debian/libuno-sal3.lintian-overrides
new file mode 100644
index 000000000..6a166e496
--- /dev/null
+++ b/debian/libuno-sal3.lintian-overrides
@@ -0,0 +1 @@
+libuno-sal3: symbols-declares-dependency-on-other-package libstdc++6 (>= 4.1.1) (libuno_sal.so.3) [symbols]
diff --git a/debian/libuno-sal3.symbols b/debian/libuno-sal3.symbols
new file mode 100644
index 000000000..644905186
--- /dev/null
+++ b/debian/libuno-sal3.symbols
@@ -0,0 +1,42 @@
+libuno_sal.so.3 libuno-sal3 #MINVER#
+| libuno-sal3 #MINVER#, libstdc++6 (>= 4.1.1)
+ (symver)UDK_3_0_0 1.4.0
+ (symver)UDK_3.1 1.4.0
+ (symver)UDK_3.2 1.4.0
+ (symver)UDK_3.3 1.4.0
+ (symver)UDK_3.4 1.4.0
+ (symver)UDK_3.5 1.4.0
+ (symver)UDK_3.6 1.4.0
+ (symver)UDK_3.7 1.4.0
+ (symver)UDK_3.8 1.4.0
+ (symver)UDK_3.9 1.5.0
+ (symver)UDK_3.10 1.6.0
+ UDK_3.11@UDK_3.11 1.7.0+LibO3.3.0~beta3
+ osl_clearEnvironment@UDK_3.11 1.7.0+LibO3.3.0~beta3
+ osl_setEnvironment@UDK_3.11 1.7.0+LibO3.3.0~beta3
+ (symver)UDK_3.11 1.8.0
+ (symver)PRIVATE_1.0 3.3.0~
+ (symver)PRIVATE_1.1 3.3.0~
+ (symver)LIBO_UDK_3.5 3.5.0~beta
+ (symver)PRIVATE_1.2 3.5.0~beta
+ (symver)PRIVATE_textenc.1 3.6.0~beta
+ (symver)GLIBCXX_3.4 3.6 1
+ (symver)LIBO_UDK_3.6 4.0.0~alpha
+ (symver)LIBO_UDK_4.0 4.0.0~beta
+ (symver)LIBO_UDK_4.1 4.1.0~alpha
+ (symver)LIBO_UDK_4.2 4.2.0~rc1
+ (symver)LIBO_UDK_4.3 4.3.0~alpha
+ (symver)LIBO_UDK_5.0 5.0.0~alpha
+ (symver)LIBO_UDK_5.1 5.1.0~alpha
+ (symver)LIBO_UDK_5.2 5.2.0~alpha
+ (symver)LIBO_UDK_5.3 5.3.0~alpha
+ (symver)LIBO_UDK_6.2 6.2.0~alpha
+ (symver)PRIVATE_1.3 5.4.0~alpha
+ (symver)PRIVATE_1.4 6.0.0~alpha
+ (symver)PRIVATE_1.5 6.1.0~alpha
+ (symver)PRIVATE_1.6 6.4.0~beta
+# add new stuff BELOW this line
+# and note that the stuff above HAS NO epoch but the
+# below HAS
+ (symver)PRIVATE_1.7 1:7.1.0~alpha1
+ (symver)PRIVATE_1.8 1:7.3.0~beta1
diff --git a/debian/libuno-salhelpergcc3-3.lintian-overrides b/debian/libuno-salhelpergcc3-3.lintian-overrides
new file mode 100644
index 000000000..1e7160179
--- /dev/null
+++ b/debian/libuno-salhelpergcc3-3.lintian-overrides
@@ -0,0 +1 @@
+libuno-salhelpergcc3-3: symbols-declares-dependency-on-other-package libstdc++6 (>= 4.1.1) (libuno_salhelpergcc3.so.3) [symbols]
diff --git a/debian/libuno-salhelpergcc3-3.symbols b/debian/libuno-salhelpergcc3-3.symbols
new file mode 100644
index 000000000..3ff04b785
--- /dev/null
+++ b/debian/libuno-salhelpergcc3-3.symbols
@@ -0,0 +1,9 @@
+libuno_salhelpergcc3.so.3 libuno-salhelpergcc3-3 #MINVER#
+| libuno-salhelpergcc3-3 #MINVER#, libstdc++6 (>= 4.1.1)
+ (symver)UDK_3_0_0 1.4.0
+ (symver)UDK_3.1 1.4.0
+ (symver)LIBO_UDK_3.6 3.6.0~beta
+ (symver)GLIBCXX_3.4 3.6 1
+# add new stuff BELOW this line
+# and note that the stuff above HAS NO epoch but the
+# below HAS
diff --git a/debian/libunoloader-java.poms b/debian/libunoloader-java.poms
new file mode 100644
index 000000000..e89019b4b
--- /dev/null
+++ b/debian/libunoloader-java.poms
@@ -0,0 +1,28 @@
+# List of POM files for the package
+# Format of this file is:
+# <path to pom file> [option]*
+# where option can be:
+# --ignore: ignore this POM and its artifact if any
+# --ignore-pom: don't install the POM. To use on POM files that are created
+# temporarily for certain artifacts such as Javadoc jars. [mh_install, mh_installpoms]
+# --no-parent: remove the <parent> tag from the POM
+# --package=<package>: an alternative package to use when installing this POM
+# and its artifact
+# --has-package-version: to indicate that the original version of the POM is the same as the upstream part
+# of the version for the package.
+# --keep-elements=<elem1,elem2>: a list of XML elements to keep in the POM
+# during a clean operation with mh_cleanpom or mh_installpom
+# --artifact=<path>: path to the build artifact associated with this POM,
+# it will be installed when using the command mh_install. [mh_install]
+# --java-lib: install the jar into /usr/share/java to comply with Debian
+# packaging guidelines
+# --usj-name=<name>: name to use when installing the library in /usr/share/java
+# --usj-version=<version>: version to use when installing the library in /usr/share/java
+# --no-usj-versionless: don't install the versionless link in /usr/share/java
+# --dest-jar=<path>: the destination for the real jar.
+# It will be installed with mh_install. [mh_install]
+# --classifier=<classifier>: Optional, the classifier for the jar. Empty by default.
+# --site-xml=<location>: Optional, the location for site.xml if it needs to be installed.
+# Empty by default. [mh_install]
+#
+debian/pom.unoloader.xml --no-parent --has-package-version
diff --git a/debian/patches/0004-Remove-dependency-on-BitArray.h-from-zxing-1.2.0.patch b/debian/patches/0004-Remove-dependency-on-BitArray.h-from-zxing-1.2.0.patch
new file mode 100644
index 000000000..13e388946
--- /dev/null
+++ b/debian/patches/0004-Remove-dependency-on-BitArray.h-from-zxing-1.2.0.patch
@@ -0,0 +1,50 @@
+From a06c0eabc164cd2233cad4e159cff005951a5d06 Mon Sep 17 00:00:00 2001
+From: "Brett T. Warden" <brett.t.warden@intel.com>
+Date: Fri, 2 Dec 2022 12:06:35 -0800
+Subject: [PATCH] Remove dependency on BitArray.h from zxing-1.2.0
+
+In zxing-1.4.0, numerous headers are no longer public. Rework the
+ConvertToSVGFormat method so it uses bitmatrix.get instead of
+bitmatrix.getRow, similar to the ToSVG method in zxing itself.
+
+See https://github.com/zxing-cpp/zxing-cpp/issues/361
+
+---
+ cui/source/dialogs/QrCodeGenDialog.cxx | 5 +----
+ 1 file changed, 1 insertion(+), 4 deletions(-)
+
+diff --git a/cui/source/dialogs/QrCodeGenDialog.cxx b/cui/source/dialogs/QrCodeGenDialog.cxx
+index 3e7b48e7af86..c334785d2bea 100644
+--- a/cui/source/dialogs/QrCodeGenDialog.cxx
++++ b/cui/source/dialogs/QrCodeGenDialog.cxx
+@@ -27,7 +27,6 @@
+ #endif
+
+ #include <BarcodeFormat.h>
+-#include <BitArray.h>
+ #include <BitMatrix.h>
+ #include <MultiFormatWriter.h>
+ #include <TextUtfEncoding.h>
+@@ -79,7 +78,6 @@ OString ConvertToSVGFormat(const ZXing::BitMatrix& bitmatrix)
+ OStringBuffer sb;
+ const int width = bitmatrix.width();
+ const int height = bitmatrix.height();
+- ZXing::BitArray row(width);
+ sb.append("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
+ "<svg xmlns=\"http://www.w3.org/2000/svg\" version=\"1.1\" viewBox=\"0 0 "
+ + OString::number(width) + " " + OString::number(height)
+@@ -87,10 +85,9 @@ OString ConvertToSVGFormat(const ZXing::BitMatrix& bitmatrix)
+ "<path d=\"");
+ for (int i = 0; i < height; ++i)
+ {
+- bitmatrix.getRow(i, row);
+ for (int j = 0; j < width; ++j)
+ {
+- if (row.get(j))
++ if (bitmatrix.get(j, i))
+ {
+ sb.append("M" + OString::number(j) + "," + OString::number(i) + "h1v1h-1z");
+ }
+--
+2.38.1
+
diff --git a/debian/patches/add-access2base-doc.diff b/debian/patches/add-access2base-doc.diff
new file mode 100644
index 000000000..4ad717862
--- /dev/null
+++ b/debian/patches/add-access2base-doc.diff
@@ -0,0 +1,25337 @@
+--- /dev/null 2019-06-18 20:58:03.983176917 +0000
++++ a/wizards/source/access2base/access2base.html 2019-11-17 10:18:33.356387757 +0000
+@@ -0,0 +1,25334 @@
++<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
++<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
++<head>
++<script id="versionArea" type="text/javascript">
++//<![CDATA[
++var version = {title: "TiddlyWiki", major: 2, minor: 8, revision: 1, date: new Date("June 23, 2013"), extensions: {}};
++
++//]]>
++</script>
++<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
++<meta name="copyright" content="
++TiddlyWiki created by Jeremy Ruston, (jeremy [at] osmosoft [dot] com)
++
++Copyright (c) Jeremy Ruston 2004-2007
++Copyright (c) UnaMesa Association 2007-2012
++
++Redistribution and use in source and binary forms, with or without modification,
++are permitted provided that the following conditions are met:
++
++Redistributions of source code must retain the above copyright notice, this
++list of conditions and the following disclaimer.
++
++Redistributions in binary form must reproduce the above copyright notice, this
++list of conditions and the following disclaimer in the documentation and/or other
++materials provided with the distribution.
++
++Neither the name of the UnaMesa Association nor the names of its contributors may be
++used to endorse or promote products derived from this software without specific
++prior written permission.
++
++THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 'AS IS' AND ANY
++EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
++OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
++SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
++INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
++TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
++BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
++CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
++ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
++DAMAGE.
++
++" />
++<!--PRE-HEAD-START-->
++<!--{{{-->
++<link rel='alternate' type='application/rss+xml' title='RSS' href='index.xml' />
++<!--}}}-->
++
++<!--PRE-HEAD-END-->
++<title> Access2Base - It's about converting PEOPLE, not data </title>
++<style id="styleArea" type="text/css">
++#saveTest {display:none;}
++#messageArea {display:none;}
++#copyright {display:none;}
++#storeArea {display:none;}
++#storeArea div {padding:0.5em; margin:1em 0em 0em 0em; border-color:#fff #666 #444 #ddd; border-style:solid; border-width:2px; overflow:auto;}
++#shadowArea {display:none;}
++#javascriptWarning {width:100%; text-align:center; font-weight:bold; background-color:#dd1100; color:#fff; padding:1em 0em;}
++
++</style>
++<!--POST-HEAD-START-->
++
++<!--POST-HEAD-END-->
++</head>
++<body onload="main();" onunload="if(window.unload) unload();">
++<!--PRE-BODY-START-->
++
++<!--PRE-BODY-END-->
++<div id="copyright">
++Welcome to TiddlyWiki created by Jeremy Ruston; Copyright &copy; 2004-2007 Jeremy Ruston, Copyright &copy; 2007-2011 UnaMesa Association
++</div>
++<noscript>
++<div id="javascriptWarning">
++This page requires JavaScript to function properly.<br /><br />If you are using Microsoft Internet Explorer you may need to click on the yellow bar above and select 'Allow Blocked Content'. You must then click 'Yes' on the following security warning.
++</div>
++
++</noscript>
++<div id="saveTest"></div>
++<div id="backstageCloak"></div>
++<div id="backstageButton"></div>
++<div id="backstageArea"><div id="backstageToolbar"></div></div>
++<div id="backstage">
++ <div id="backstagePanel"></div>
++</div>
++<div id="contentWrapper"></div>
++<div id="contentStash"></div>
++<div id="shadowArea">
++<div title="ColorPalette">
++<pre>Background: #fff
++Foreground: #000
++PrimaryPale: #8cf
++PrimaryLight: #18f
++PrimaryMid: #04b
++PrimaryDark: #014
++SecondaryPale: #ffc
++SecondaryLight: #fe8
++SecondaryMid: #db4
++SecondaryDark: #841
++TertiaryPale: #eee
++TertiaryLight: #ccc
++TertiaryMid: #999
++TertiaryDark: #666
++Error: #f88
++</pre>
++</div>
++<div title="EditTemplate">
++<pre>&lt;!--{{{--&gt;
++&lt;div class='toolbar' macro='toolbar [[ToolbarCommands::EditToolbar]]'&gt;&lt;/div&gt;
++&lt;div class='title' macro='view title'&gt;&lt;/div&gt;
++&lt;div class='editor' macro='edit title'&gt;&lt;/div&gt;
++&lt;div macro='annotations'&gt;&lt;/div&gt;
++&lt;div class='editor' macro='edit text'&gt;&lt;/div&gt;
++&lt;div class='editor' macro='edit tags'&gt;&lt;/div&gt;&lt;div class='editorFooter'&gt;&lt;span macro='message views.editor.tagPrompt'&gt;&lt;/span&gt;&lt;span macro='tagChooser excludeLists'&gt;&lt;/span&gt;&lt;/div&gt;
++&lt;!--}}}--&gt;
++</pre>
++</div>
++<div title="GettingStarted">
++<pre>To get started with this blank [[TiddlyWiki]], you'll need to modify the following tiddlers:
++* [[SiteTitle]] &amp; [[SiteSubtitle]]: The title and subtitle of the site, as shown above (after saving, they will also appear in the browser title bar)
++* [[MainMenu]]: The menu (usually on the left)
++* [[DefaultTiddlers]]: Contains the names of the tiddlers that you want to appear when the TiddlyWiki is opened
++You'll also need to enter your username for signing your edits: &lt;&lt;option txtUserName&gt;&gt;
++</pre>
++</div>
++<div title="ImportTiddlers">
++<pre>&lt;&lt;importTiddlers&gt;&gt;
++</pre>
++</div>
++<div title="MarkupPreHead">
++<pre>&lt;!--{{{--&gt;
++&lt;link rel='alternate' type='application/rss+xml' title='RSS' href='index.xml' /&gt;
++&lt;!--}}}--&gt;
++</pre>
++</div>
++<div title="OptionsPanel">
++<pre>These [[InterfaceOptions]] for customising [[TiddlyWiki]] are saved in your browser
++
++Your username for signing your edits. Write it as a [[WikiWord]] (eg [[JoeBloggs]])
++
++&lt;&lt;option txtUserName&gt;&gt;
++&lt;&lt;option chkSaveBackups&gt;&gt; [[SaveBackups]]
++&lt;&lt;option chkAutoSave&gt;&gt; [[AutoSave]]
++&lt;&lt;option chkRegExpSearch&gt;&gt; [[RegExpSearch]]
++&lt;&lt;option chkCaseSensitiveSearch&gt;&gt; [[CaseSensitiveSearch]]
++&lt;&lt;option chkAnimate&gt;&gt; [[EnableAnimations]]
++
++----
++Also see [[AdvancedOptions]]
++</pre>
++</div>
++<div title="PageTemplate">
++<pre>&lt;!--{{{--&gt;
++&lt;div class='header' role='banner' macro='gradient vert [[ColorPalette::PrimaryLight]] [[ColorPalette::PrimaryMid]]'&gt;
++&lt;div class='headerShadow'&gt;
++&lt;span class='siteTitle' refresh='content' tiddler='SiteTitle'&gt;&lt;/span&gt;&amp;nbsp;
++&lt;span class='siteSubtitle' refresh='content' tiddler='SiteSubtitle'&gt;&lt;/span&gt;
++&lt;/div&gt;
++&lt;div class='headerForeground'&gt;
++&lt;span class='siteTitle' refresh='content' tiddler='SiteTitle'&gt;&lt;/span&gt;&amp;nbsp;
++&lt;span class='siteSubtitle' refresh='content' tiddler='SiteSubtitle'&gt;&lt;/span&gt;
++&lt;/div&gt;
++&lt;/div&gt;
++&lt;div id='mainMenu' role='navigation' refresh='content' tiddler='MainMenu'&gt;&lt;/div&gt;
++&lt;div id='sidebar'&gt;
++&lt;div id='sidebarOptions' role='navigation' refresh='content' tiddler='SideBarOptions'&gt;&lt;/div&gt;
++&lt;div id='sidebarTabs' role='complementary' refresh='content' force='true' tiddler='SideBarTabs'&gt;&lt;/div&gt;
++&lt;/div&gt;
++&lt;div id='displayArea' role='main'&gt;
++&lt;div id='messageArea'&gt;&lt;/div&gt;
++&lt;div id='tiddlerDisplay'&gt;&lt;/div&gt;
++&lt;/div&gt;
++&lt;!--}}}--&gt;
++</pre>
++</div>
++<div title="StyleSheetColors">
++<pre>/*{{{*/
++body {background:[[ColorPalette::Background]]; color:[[ColorPalette::Foreground]];}
++
++a {color:[[ColorPalette::PrimaryMid]];}
++a:hover {background-color:[[ColorPalette::PrimaryMid]]; color:[[ColorPalette::Background]];}
++a img {border:0;}
++
++h1,h2,h3,h4,h5,h6 {color:[[ColorPalette::SecondaryDark]]; background:transparent;}
++h1 {border-bottom:2px solid [[ColorPalette::TertiaryLight]];}
++h2,h3 {border-bottom:1px solid [[ColorPalette::TertiaryLight]];}
++
++.button {color:[[ColorPalette::PrimaryDark]]; border:1px solid [[ColorPalette::Background]];}
++.button:hover {color:[[ColorPalette::PrimaryDark]]; background:[[ColorPalette::SecondaryLight]]; border-color:[[ColorPalette::SecondaryMid]];}
++.button:active {color:[[ColorPalette::Background]]; background:[[ColorPalette::SecondaryMid]]; border:1px solid [[ColorPalette::SecondaryDark]];}
++
++.header {background:[[ColorPalette::PrimaryMid]];}
++.headerShadow {color:[[ColorPalette::Foreground]];}
++.headerShadow a {font-weight:normal; color:[[ColorPalette::Foreground]];}
++.headerForeground {color:[[ColorPalette::Background]];}
++.headerForeground a {font-weight:normal; color:[[ColorPalette::PrimaryPale]];}
++
++.tabSelected {color:[[ColorPalette::PrimaryDark]];
++ background:[[ColorPalette::TertiaryPale]];
++ border-left:1px solid [[ColorPalette::TertiaryLight]];
++ border-top:1px solid [[ColorPalette::TertiaryLight]];
++ border-right:1px solid [[ColorPalette::TertiaryLight]];
++}
++.tabUnselected {color:[[ColorPalette::Background]]; background:[[ColorPalette::TertiaryMid]];}
++.tabContents {color:[[ColorPalette::PrimaryDark]]; background:[[ColorPalette::TertiaryPale]]; border:1px solid [[ColorPalette::TertiaryLight]];}
++.tabContents .button {border:0;}
++
++#sidebar {}
++#sidebarOptions input {border:1px solid [[ColorPalette::PrimaryMid]];}
++#sidebarOptions .sliderPanel {background:[[ColorPalette::PrimaryPale]];}
++#sidebarOptions .sliderPanel a {border:none;color:[[ColorPalette::PrimaryMid]];}
++#sidebarOptions .sliderPanel a:hover {color:[[ColorPalette::Background]]; background:[[ColorPalette::PrimaryMid]];}
++#sidebarOptions .sliderPanel a:active {color:[[ColorPalette::PrimaryMid]]; background:[[ColorPalette::Background]];}
++
++.wizard {background:[[ColorPalette::PrimaryPale]]; border:1px solid [[ColorPalette::PrimaryMid]];}
++.wizard h1 {color:[[ColorPalette::PrimaryDark]]; border:none;}
++.wizard h2 {color:[[ColorPalette::Foreground]]; border:none;}
++.wizardStep {background:[[ColorPalette::Background]]; color:[[ColorPalette::Foreground]];
++ border:1px solid [[ColorPalette::PrimaryMid]];}
++.wizardStep.wizardStepDone {background:[[ColorPalette::TertiaryLight]];}
++.wizardFooter {background:[[ColorPalette::PrimaryPale]];}
++.wizardFooter .status {background:[[ColorPalette::PrimaryDark]]; color:[[ColorPalette::Background]];}
++.wizard .button {color:[[ColorPalette::Foreground]]; background:[[ColorPalette::SecondaryLight]]; border: 1px solid;
++ border-color:[[ColorPalette::SecondaryPale]] [[ColorPalette::SecondaryDark]] [[ColorPalette::SecondaryDark]] [[ColorPalette::SecondaryPale]];}
++.wizard .button:hover {color:[[ColorPalette::Foreground]]; background:[[ColorPalette::Background]];}
++.wizard .button:active {color:[[ColorPalette::Background]]; background:[[ColorPalette::Foreground]]; border: 1px solid;
++ border-color:[[ColorPalette::PrimaryDark]] [[ColorPalette::PrimaryPale]] [[ColorPalette::PrimaryPale]] [[ColorPalette::PrimaryDark]];}
++
++.wizard .notChanged {background:transparent;}
++.wizard .changedLocally {background:#80ff80;}
++.wizard .changedServer {background:#8080ff;}
++.wizard .changedBoth {background:#ff8080;}
++.wizard .notFound {background:#ffff80;}
++.wizard .putToServer {background:#ff80ff;}
++.wizard .gotFromServer {background:#80ffff;}
++
++#messageArea {border:1px solid [[ColorPalette::SecondaryMid]]; background:[[ColorPalette::SecondaryLight]]; color:[[ColorPalette::Foreground]];}
++#messageArea .button {color:[[ColorPalette::PrimaryMid]]; background:[[ColorPalette::SecondaryPale]]; border:none;}
++
++.popupTiddler {background:[[ColorPalette::TertiaryPale]]; border:2px solid [[ColorPalette::TertiaryMid]];}
++
++.popup {background:[[ColorPalette::TertiaryPale]]; color:[[ColorPalette::TertiaryDark]]; border-left:1px solid [[ColorPalette::TertiaryMid]]; border-top:1px solid [[ColorPalette::TertiaryMid]]; border-right:2px solid [[ColorPalette::TertiaryDark]]; border-bottom:2px solid [[ColorPalette::TertiaryDark]];}
++.popup hr {color:[[ColorPalette::PrimaryDark]]; background:[[ColorPalette::PrimaryDark]]; border-bottom:1px;}
++.popup li.disabled {color:[[ColorPalette::TertiaryMid]];}
++.popup li a, .popup li a:visited {color:[[ColorPalette::Foreground]]; border: none;}
++.popup li a:hover {background:[[ColorPalette::SecondaryLight]]; color:[[ColorPalette::Foreground]]; border: none;}
++.popup li a:active {background:[[ColorPalette::SecondaryPale]]; color:[[ColorPalette::Foreground]]; border: none;}
++.popupHighlight {background:[[ColorPalette::Background]]; color:[[ColorPalette::Foreground]];}
++.listBreak div {border-bottom:1px solid [[ColorPalette::TertiaryDark]];}
++
++.tiddler .defaultCommand {font-weight:bold;}
++
++.shadow .title {color:[[ColorPalette::TertiaryDark]];}
++
++.title {color:[[ColorPalette::SecondaryDark]];}
++.subtitle {color:[[ColorPalette::TertiaryDark]];}
++
++.toolbar {color:[[ColorPalette::PrimaryMid]];}
++.toolbar a {color:[[ColorPalette::TertiaryLight]];}
++.selected .toolbar a {color:[[ColorPalette::TertiaryMid]];}
++.selected .toolbar a:hover {color:[[ColorPalette::Foreground]];}
++
++.tagging, .tagged {border:1px solid [[ColorPalette::TertiaryPale]]; background-color:[[ColorPalette::TertiaryPale]];}
++.selected .tagging, .selected .tagged {background-color:[[ColorPalette::TertiaryLight]]; border:1px solid [[ColorPalette::TertiaryMid]];}
++.tagging .listTitle, .tagged .listTitle {color:[[ColorPalette::PrimaryDark]];}
++.tagging .button, .tagged .button {border:none;}
++
++.footer {color:[[ColorPalette::TertiaryLight]];}
++.selected .footer {color:[[ColorPalette::TertiaryMid]];}
++
++.error, .errorButton {color:[[ColorPalette::Foreground]]; background:[[ColorPalette::Error]];}
++.warning {color:[[ColorPalette::Foreground]]; background:[[ColorPalette::SecondaryPale]];}
++.lowlight {background:[[ColorPalette::TertiaryLight]];}
++
++.zoomer {background:none; color:[[ColorPalette::TertiaryMid]]; border:3px solid [[ColorPalette::TertiaryMid]];}
++
++.imageLink, #displayArea .imageLink {background:transparent;}
++
++.annotation {background:[[ColorPalette::SecondaryLight]]; color:[[ColorPalette::Foreground]]; border:2px solid [[ColorPalette::SecondaryMid]];}
++
++.viewer .listTitle {list-style-type:none; margin-left:-2em;}
++.viewer .button {border:1px solid [[ColorPalette::SecondaryMid]];}
++.viewer blockquote {border-left:3px solid [[ColorPalette::TertiaryDark]];}
++
++.viewer table, table.twtable {border:2px solid [[ColorPalette::TertiaryDark]];}
++.viewer th, .viewer thead td, .twtable th, .twtable thead td {background:[[ColorPalette::SecondaryMid]]; border:1px solid [[ColorPalette::TertiaryDark]]; color:[[ColorPalette::Background]];}
++.viewer td, .viewer tr, .twtable td, .twtable tr {border:1px solid [[ColorPalette::TertiaryDark]];}
++
++.viewer pre {border:1px solid [[ColorPalette::SecondaryLight]]; background:[[ColorPalette::SecondaryPale]];}
++.viewer code {color:[[ColorPalette::SecondaryDark]];}
++.viewer hr {border:0; border-top:dashed 1px [[ColorPalette::TertiaryDark]]; color:[[ColorPalette::TertiaryDark]];}
++
++.highlight, .marked {background:[[ColorPalette::SecondaryLight]];}
++
++.editor input {border:1px solid [[ColorPalette::PrimaryMid]];}
++.editor textarea {border:1px solid [[ColorPalette::PrimaryMid]]; width:100%;}
++.editorFooter {color:[[ColorPalette::TertiaryMid]];}
++.readOnly {background:[[ColorPalette::TertiaryPale]];}
++
++#backstageArea {background:[[ColorPalette::Foreground]]; color:[[ColorPalette::TertiaryMid]];}
++#backstageArea a {background:[[ColorPalette::Foreground]]; color:[[ColorPalette::Background]]; border:none;}
++#backstageArea a:hover {background:[[ColorPalette::SecondaryLight]]; color:[[ColorPalette::Foreground]]; }
++#backstageArea a.backstageSelTab {background:[[ColorPalette::Background]]; color:[[ColorPalette::Foreground]];}
++#backstageButton a {background:none; color:[[ColorPalette::Background]]; border:none;}
++#backstageButton a:hover {background:[[ColorPalette::Foreground]]; color:[[ColorPalette::Background]]; border:none;}
++#backstagePanel {background:[[ColorPalette::Background]]; border-color: [[ColorPalette::Background]] [[ColorPalette::TertiaryDark]] [[ColorPalette::TertiaryDark]] [[ColorPalette::TertiaryDark]];}
++.backstagePanelFooter .button {border:none; color:[[ColorPalette::Background]];}
++.backstagePanelFooter .button:hover {color:[[ColorPalette::Foreground]];}
++#backstageCloak {background:[[ColorPalette::Foreground]]; opacity:0.6; filter:alpha(opacity=60);}
++/*}}}*/
++</pre>
++</div>
++<div title="StyleSheetLayout">
++<pre>/*{{{*/
++* html .tiddler {height:1%;}
++
++body {font-size:.75em; font-family:arial,helvetica; margin:0; padding:0;}
++
++h1,h2,h3,h4,h5,h6 {font-weight:bold; text-decoration:none;}
++h1,h2,h3 {padding-bottom:1px; margin-top:1.2em;margin-bottom:0.3em;}
++h4,h5,h6 {margin-top:1em;}
++h1 {font-size:1.35em;}
++h2 {font-size:1.25em;}
++h3 {font-size:1.1em;}
++h4 {font-size:1em;}
++h5 {font-size:.9em;}
++
++hr {height:1px;}
++
++a {text-decoration:none;}
++
++dt {font-weight:bold;}
++
++ol {list-style-type:decimal;}
++ol ol {list-style-type:lower-alpha;}
++ol ol ol {list-style-type:lower-roman;}
++ol ol ol ol {list-style-type:decimal;}
++ol ol ol ol ol {list-style-type:lower-alpha;}
++ol ol ol ol ol ol {list-style-type:lower-roman;}
++ol ol ol ol ol ol ol {list-style-type:decimal;}
++
++.txtOptionInput {width:11em;}
++
++#contentWrapper .chkOptionInput {border:0;}
++
++.externalLink {text-decoration:underline;}
++
++.indent {margin-left:3em;}
++.outdent {margin-left:3em; text-indent:-3em;}
++code.escaped {white-space:nowrap;}
++
++.tiddlyLinkExisting {font-weight:bold;}
++.tiddlyLinkNonExisting {font-style:italic;}
++
++/* the 'a' is required for IE, otherwise it renders the whole tiddler in bold */
++a.tiddlyLinkNonExisting.shadow {font-weight:bold;}
++
++#mainMenu .tiddlyLinkExisting,
++ #mainMenu .tiddlyLinkNonExisting,
++ #sidebarTabs .tiddlyLinkNonExisting {font-weight:normal; font-style:normal;}
++#sidebarTabs .tiddlyLinkExisting {font-weight:bold; font-style:normal;}
++
++.header {position:relative;}
++.header a:hover {background:transparent;}
++.headerShadow {position:relative; padding:4.5em 0 1em 1em; left:-1px; top:-1px;}
++.headerForeground {position:absolute; padding:4.5em 0 1em 1em; left:0; top:0;}
++
++.siteTitle {font-size:3em;}
++.siteSubtitle {font-size:1.2em;}
++
++#mainMenu {position:absolute; left:0; width:10em; text-align:right; line-height:1.6em; padding:1.5em 0.5em 0.5em 0.5em; font-size:1.1em;}
++
++#sidebar {position:absolute; right:3px; width:16em; font-size:.9em;}
++#sidebarOptions {padding-top:0.3em;}
++#sidebarOptions a {margin:0 0.2em; padding:0.2em 0.3em; display:block;}
++#sidebarOptions input {margin:0.4em 0.5em;}
++#sidebarOptions .sliderPanel {margin-left:1em; padding:0.5em; font-size:.85em;}
++#sidebarOptions .sliderPanel a {font-weight:bold; display:inline; padding:0;}
++#sidebarOptions .sliderPanel input {margin:0 0 0.3em 0;}
++#sidebarTabs .tabContents {width:15em; overflow:hidden;}
++
++.wizard {padding:0.1em 1em 0 2em;}
++.wizard h1 {font-size:2em; font-weight:bold; background:none; padding:0; margin:0.4em 0 0.2em;}
++.wizard h2 {font-size:1.2em; font-weight:bold; background:none; padding:0; margin:0.4em 0 0.2em;}
++.wizardStep {padding:1em 1em 1em 1em;}
++.wizard .button {margin:0.5em 0 0; font-size:1.2em;}
++.wizardFooter {padding:0.8em 0.4em 0.8em 0;}
++.wizardFooter .status {padding:0 0.4em; margin-left:1em;}
++.wizard .button {padding:0.1em 0.2em;}
++
++#messageArea {position:fixed; top:2em; right:0; margin:0.5em; padding:0.5em; z-index:2000; _position:absolute;}
++.messageToolbar {display:block; text-align:right; padding:0.2em;}
++#messageArea a {text-decoration:underline;}
++
++.tiddlerPopupButton {padding:0.2em;}
++.popupTiddler {position: absolute; z-index:300; padding:1em; margin:0;}
++
++.popup {position:absolute; z-index:300; font-size:.9em; padding:0; list-style:none; margin:0;}
++.popup .popupMessage {padding:0.4em;}
++.popup hr {display:block; height:1px; width:auto; padding:0; margin:0.2em 0;}
++.popup li.disabled {padding:0.4em;}
++.popup li a {display:block; padding:0.4em; font-weight:normal; cursor:pointer;}
++.listBreak {font-size:1px; line-height:1px;}
++.listBreak div {margin:2px 0;}
++
++.tabset {padding:1em 0 0 0.5em;}
++.tab {margin:0 0 0 0.25em; padding:2px;}
++.tabContents {padding:0.5em;}
++.tabContents ul, .tabContents ol {margin:0; padding:0;}
++.txtMainTab .tabContents li {list-style:none;}
++.tabContents li.listLink { margin-left:.75em;}
++
++#contentWrapper {display:block;}
++#splashScreen {display:none;}
++
++#displayArea {margin:1em 17em 0 14em;}
++
++.toolbar {text-align:right; font-size:.9em;}
++
++.tiddler {padding:1em 1em 0;}
++
++.missing .viewer,.missing .title {font-style:italic;}
++
++.title {font-size:1.6em; font-weight:bold;}
++
++.missing .subtitle {display:none;}
++.subtitle {font-size:1.1em;}
++
++.tiddler .button {padding:0.2em 0.4em;}
++
++.tagging {margin:0.5em 0.5em 0.5em 0; float:left; display:none;}
++.isTag .tagging {display:block;}
++.tagged {margin:0.5em; float:right;}
++.tagging, .tagged {font-size:0.9em; padding:0.25em;}
++.tagging ul, .tagged ul {list-style:none; margin:0.25em; padding:0;}
++.tagClear {clear:both;}
++
++.footer {font-size:.9em;}
++.footer li {display:inline;}
++
++.annotation {padding:0.5em; margin:0.5em;}
++
++* html .viewer pre {width:99%; padding:0 0 1em 0;}
++.viewer {line-height:1.4em; padding-top:0.5em;}
++.viewer .button {margin:0 0.25em; padding:0 0.25em;}
++.viewer blockquote {line-height:1.5em; padding-left:0.8em;margin-left:2.5em;}
++.viewer ul, .viewer ol {margin-left:0.5em; padding-left:1.5em;}
++
++.viewer table, table.twtable {border-collapse:collapse; margin:0.8em 1.0em;}
++.viewer th, .viewer td, .viewer tr,.viewer caption,.twtable th, .twtable td, .twtable tr,.twtable caption {padding:3px;}
++table.listView {font-size:0.85em; margin:0.8em 1.0em;}
++table.listView th, table.listView td, table.listView tr {padding:0 3px 0 3px;}
++
++.viewer pre {padding:0.5em; margin-left:0.5em; font-size:1.2em; line-height:1.4em; overflow:auto;}
++.viewer code {font-size:1.2em; line-height:1.4em;}
++
++.editor {font-size:1.1em;}
++.editor input, .editor textarea {display:block; width:100%; font:inherit;}
++.editorFooter {padding:0.25em 0; font-size:.9em;}
++.editorFooter .button {padding-top:0; padding-bottom:0;}
++
++.fieldsetFix {border:0; padding:0; margin:1px 0px;}
++
++.zoomer {font-size:1.1em; position:absolute; overflow:hidden;}
++.zoomer div {padding:1em;}
++
++* html #backstage {width:99%;}
++* html #backstageArea {width:99%;}
++#backstageArea {display:none; position:relative; overflow: hidden; z-index:150; padding:0.3em 0.5em;}
++#backstageToolbar {position:relative;}
++#backstageArea a {font-weight:bold; margin-left:0.5em; padding:0.3em 0.5em;}
++#backstageButton {display:none; position:absolute; z-index:175; top:0; right:0;}
++#backstageButton a {padding:0.1em 0.4em; margin:0.1em;}
++#backstage {position:relative; width:100%; z-index:50;}
++#backstagePanel {display:none; z-index:100; position:absolute; width:90%; margin-left:3em; padding:1em;}
++.backstagePanelFooter {padding-top:0.2em; float:right;}
++.backstagePanelFooter a {padding:0.2em 0.4em;}
++#backstageCloak {display:none; z-index:20; position:absolute; width:100%; height:100px;}
++
++.whenBackstage {display:none;}
++.backstageVisible .whenBackstage {display:block;}
++/*}}}*/
++</pre>
++</div>
++<div title="StyleSheetLocale">
++<pre>/***
++StyleSheet for use when a translation requires any css style changes.
++This StyleSheet can be used directly by languages such as Chinese, Japanese and Korean which need larger font sizes.
++***/
++/*{{{*/
++body {font-size:0.8em;}
++#sidebarOptions {font-size:1.05em;}
++#sidebarOptions a {font-style:normal;}
++#sidebarOptions .sliderPanel {font-size:0.95em;}
++.subtitle {font-size:0.8em;}
++.viewer table.listView {font-size:0.95em;}
++/*}}}*/
++</pre>
++</div>
++<div title="StyleSheetPrint">
++<pre>/*{{{*/
++@media print {
++#mainMenu, #sidebar, #messageArea, .toolbar, #backstageButton, #backstageArea {display: none !important;}
++#displayArea {margin: 1em 1em 0em;}
++noscript {display:none;} /* Fixes a feature in Firefox 1.5.0.2 where print preview displays the noscript content */
++}
++/*}}}*/
++</pre>
++</div>
++<div title="ViewTemplate">
++<pre>&lt;!--{{{--&gt;
++&lt;div class='toolbar' role='navigation' macro='toolbar [[ToolbarCommands::ViewToolbar]]'&gt;&lt;/div&gt;
++&lt;div class='title' macro='view title'&gt;&lt;/div&gt;
++&lt;div class='subtitle'&gt;&lt;span macro='view modifier link'&gt;&lt;/span&gt;, &lt;span macro='view modified date'&gt;&lt;/span&gt; (&lt;span macro='message views.wikified.createdPrompt'&gt;&lt;/span&gt; &lt;span macro='view created date'&gt;&lt;/span&gt;)&lt;/div&gt;
++&lt;div class='tagging' macro='tagging'&gt;&lt;/div&gt;
++&lt;div class='tagged' macro='tags'&gt;&lt;/div&gt;
++&lt;div class='viewer' macro='view text wikified'&gt;&lt;/div&gt;
++&lt;div class='tagClear'&gt;&lt;/div&gt;
++&lt;!--}}}--&gt;
++</pre>
++</div>
++
++</div>
++<!--POST-SHADOWAREA-->
++<div id="storeArea">
++<div title="AbsolutePosition" modifier="Jean-Pierre Ledure" created="201308091604" modified="201406061409" tags="Properties" changecount="3">
++<pre>The //~AbsolutePosition// property sets or returns the relative record number of a [[Recordset object's|Recordset]] current record.
++!!!Applies to ...
++| !Object |!Description |
++|[[Recordset]] |A set of records derived from a table, a query or an SQL statement. |
++!!!Syntax
++//recordset//{{{.AbsolutePosition}}}
++//recordset//{{{.AbsolutePosition}}} = //value//
++!!!Returned values / Arguments
++{{{Long}}}
++!!!Remarks
++*You can use the //~AbsolutePosition// property to position the current record pointer to a specific record based on its ordinal position in a //Recordset// object. You can also determine the current record number by checking the //~AbsolutePosition// property setting.
++*The //~AbsolutePosition// property value is 1-based (that is, a setting of 1 refers to the first record in the //Recordset// object), you cannot set it to a value greater than or equal to the number of populated records; doing so causes an error. You can determine the number of populated records in the //Recordset// object by checking the [[RecordCount]] property setting. The maximum allowable setting for the //~AbsolutePosition// property is the value of the //~RecordCount// property.&lt;br /&gt;Note that in //~MSAccess// the //~AbsolutePosition// property is zero-based (a setting of 0 refers to the 1st record of the //Recordset//).
++*If there is no current record, as when there are no records in the //Recordset// object, //~AbsolutePosition// returns –1. If the current record is deleted, the //~AbsolutePosition// property value isn't defined, and an error occurs if it's referenced.
++*You shouldn't use this property as a surrogate record number. //Bookmarks// are still the recommended way of retaining and returning to a given position and are the only way to position the current record across a //Recordset// object. In particular, the position of a record changes when one or more records preceding it are deleted. There is also no assurance that a record will have the same absolute position if the //Recordset// object is re-created again because the order of individual records within a //Recordset// object isn't guaranteed unless it's created with an SQL statement by using an ORDER BY clause.
++!!!Error messages
++|Argument nr. ... [Value = '...'] is invalid |
++|Recordset delivered no data. Action on current record rejected |
++|Recordset has been closed. Recordset action rejected |
++|Current record out of range |
++!!!See also
++[[Bookmarkable]]
++[[GoToRecord]]
++[[Move|Move (recordset)]]
++[[MoveFirst|Move (recordset)]]
++[[MoveLast|Move (recordset)]]
++[[MoveNext|Move (recordset)]]
++[[MovePrevious|Move (recordset)]]
++[[RecordCount]]
++[[Recordset]]
++!!!Example
++&lt;&lt;tiddler &quot;AbsolutePosition example&quot;&gt;&gt;</pre>
++</div>
++<div title="AbsolutePosition example" modifier="YourName" created="201308091603" modified="201312261118" tags="[[Snippets of Code]]">
++<pre>Know the number of records by moving to the last record of the recordset
++//{{{
++Dim oRecordset As Object
++ Set oRecordset = Application.CurrentDb().OpenRecordset(&quot;SELECT * FROM [Products]&quot;)
++ oRecordset.MoveLast()
++ Print &quot;Number of records = &quot; &amp; oRecordset.AbsolutePosition
++ oRecordset.mClose()
++//}}}
++See also [[Design a generic DMedian function|DMedian function]]</pre>
++</div>
++<div title="Access2Base" modifier="YourName" created="201112251405" modified="201203161136" tags="NoTag">
++<pre>&lt;&lt;tiddler &quot;Home&quot;&gt;&gt;</pre>
++</div>
++<div title="Access2Base vs. VBA" modifier="Jean-Pierre Ledure" created="201106251419" modified="201408011503" tags="[[Snippets of Code]]" changecount="2">
++<pre>~LibreOffice/~OpenOffice Base with ~Access2Base
++//{{{
++REM Open a form ...
++ OpenForm(&quot;myForm&quot;)
++REM Move a form to new left-top coordinates ...
++ Dim ofForm As Object ' In VBA =&gt; Dim ofForm As Form
++ Set ofForm = Forms(&quot;myForm&quot;)
++ ofForm.Move(100, 200)
++REM Get the value of a control ...
++ Dim ocControl As Object
++ ocControl = ofForm.Controls(&quot;myControl&quot;)
++ MsgBox ocControl.Value
++REM Hide a control ...
++ ocControl.Visible = False
++REM ... or alternatively ...
++ setValue(&quot;Forms!myForm!myControl.Visible&quot;, False) ' Shortcut notation
++ ' In VBA =&gt; Forms!myForm!myControl.Visible = False
++
++//}}}
++</pre>
++</div>
++<div title="Actions" modifier="Jean-Pierre Ledure" created="201112271607" modified="201408011504" tags="Menu" changecount="1">
++<pre></pre>
++</div>
++<div title="Add" modifier="Jean-Pierre Ledure" created="201401181218" modified="201602131611" tags="Methods" changecount="4">
++<pre>*Adds a [[table|TableDef]] object to the [[TableDefs]] collection. The //Add// method finalizes the creation of a new table initiated with the [[CreateTableDef]] method.
++*Adds a new [[tempvar object|TempVar]] to the [[TempVars collection|TempVars]] and initializes its value.
++!!!Applies to ...
++| !Object | !Description |
++|[[TableDefs]] |The set of tables of the database. |
++|[[TempVars]] |The collection of temporary variables. |
++!!!Syntax
++//database.~TableDefs()//{{{.Add(}}}//table//{{{)}}}
++//[application.]~TempVars()//{{{.Add(}}}//name, value//{{{)}}}
++| !Argument | !Type |!Returned value |
++|table | [[TableDef]] object |True if success.|
++|name | string |~|
++|value | variant |~|
++!!!Remarks when applied to ~TableDefs
++*The name &quot;Add&quot; has been preferred to &quot;Append&quot; (like in //~MSAccess// because the latter is a reserved word in ~OpenOffice (not in ~LibreOffice).
++When applied to ~TableDef objects:
++*If the //Add// method is not invoked after a prior invocation of the [[CreateTableDef]] method, or if not at least one field has been defined with the [[CreateField]] method, an error message will be raised.
++*The database document is automatically saved after the table creation.
++!!!Error Messages
++|Method 'Collection.Add' not applicable in this context |
++|Table '...' could not be created |
++!!!See also
++[[CreateTableDef]]
++[[CreateField]]
++[[TableDef]]
++[[TableDefs]]
++[[TempVar]]
++[[TempVars]]
++!!!Example
++&lt;&lt;tiddler &quot;CreateTableDef example&quot;&gt;&gt;
++&lt;&lt;tiddler &quot;Tempvar example&quot;&gt;&gt;</pre>
++</div>
++<div title="AddAllToBox" modifier="Jean-PierreLedure" created="201212241404" modified="201308161310" tags="HowTo">
++<pre>(Q) Can I add a &quot;All&quot; option in a combo box on top of the list ?
++
++(R) Use either a special SELECT statement or, alternatively, the [[RowSource]] property to adjust the list.
++
++Assuming next table:
++&lt;&lt;tiddler &quot;CustomersTable&quot;&gt;&gt;
++we want to make a combo box listing all //~CompanyName//s.
++!!!(1) Solution with a UNION SELECT statement:
++Define your combo box with the //List content// defined like
++//{{{
++ SELECT &quot;CompanyName&quot; FROM &quot;Customers&quot; UNION SELECT '(All)' as &quot;Bogus&quot; From &quot;Customers&quot; ORDER BY &quot;CompanyName&quot;
++//}}}
++Depending on the database (RDBMS) used above SQL will probably require that the //Type of list contents// entry contains {{{Sql [Native]}}}
++!!!(2) Solution with a bit code
++This solution requires that the list of proposed values remains unchanged as long as the form remains open.
++Additionally it is valid ONLY for LISTBOXES.
++The listbox is defined, exactly as above. Store in the //List content// entry a more usual SQL statement:
++//{{{
++ SELECT DISTINCT &quot;CompanyName&quot; FROM &quot;Customers&quot;
++//}}}
++Note that the code below is also usable if the //~ListBox// is based on a list of values i.o. data in a database table.
++The code, triggered from the form's //When loading// event, will concatenate &quot;(All)&quot; with all values contained in the list.
++//{{{
++Sub AddAllToList(poEvent As Object)
++
++Dim oEvent As Object, ofForm As Object, ocList As Object
++Dim i As Integer, sSource As String
++ Set oEvent = Events(poEvent)
++ Set ofForm = oEvent.Source
++ Set ocList = ofForm.Controls(&quot;listBox-All&quot;)
++ With ocList
++ Select Case .RowSourceType
++ Case com.sun.star.form.ListSourceType.VALUELIST
++ .RowSource = &quot;(All);&quot; &amp; .RowSource
++ Case Else ' Table, Query, SQL, SqlPassThrough
++ sSource = &quot;(All)&quot;
++ For i = 0 To .ListCount - 1
++ sSource = sSource &amp; &quot;;&quot; &amp; .Itemdata(i)
++ Next i
++ .RowSourceType = com.sun.star.form.ListSourceType.VALUELIST
++ .RowSource = sSource
++ End Select
++ End With
++
++End Sub
++//}}}
++!!!See also
++[[ComboBox]]
++[[ListBox]]
++[[RowSource]]
++[[RowSourceType]]
++!!!Refer to ...
++| !Solution | !Basic module | !Form | !Form event | !Control | !Control event |!Comments |
++| (1) ||~Products_ListBoxFilter ||~CustomersAll-SQL |||
++| (2) |~ListBox|~|When loading |~ListBox-All |~|~|</pre>
++</div>
++<div title="AddItem" modifier="Jean-Pierre Ledure" created="201205190946" modified="201405241125" tags="Methods" changecount="3">
++<pre>The //~AddItem// method adds a new item to the list of values displayed by the specified list box control.
++!!!Applies to ...
++| !Object | !Type when&lt;br /&gt;in a form | !Type when&lt;br /&gt;in a ~GridControl | !Type when&lt;br /&gt;in a Dialog |!Description |
++|[[Control]] | [[ListBox]] | [[ListBox]] | [[ListBox]] |A listbox on an open form, a dialog or in a [[GridControl]]|
++!!!Syntax
++//control//{{{.AddItem(}}}//value// [, //index//]{{{)}}}
++| !Argument | !Type | !Description |
++| value | String |The display text for the new item. |
++| index | Integer&lt;br /&gt;Long |The position of the item in the list.&lt;br /&gt;If this argument is omitted, the item is added to the end of the list. |
++!!!Remarks
++*The [[RowSourceType]] property (invalid in dialogs) must contain the value {{{com.sun.star.form.ListSourceType.VALUELIST}}}.
++*Combo boxes do not support this value for that property. That's why //~AddItem// is applicable only on listboxes.
++*List item numbers start from zero. If the value of the {{{index}}} argument doesn't correspond to an existing item number or to the last item number + 1, an error occurs.
++*//~AddItem// returns True if success, False otherwise.
++!!!Error messages
++|Argument nr. ... [Value = '...'] is invalid |
++|Method not applicable in this context |
++!!!See also
++[[ListBox]]
++[[RemoveItem]]
++[[RowSource]]
++[[RowSourceType]]
++!!!Example
++&lt;&lt;tiddler &quot;Addremoveitem example&quot;&gt;&gt;</pre>
++</div>
++<div title="AddNew" modifier="Jean-Pierre Ledure" created="201307131345" modified="201405240700" tags="Methods" changecount="2">
++<pre>Creates a new record for an updatable [[Recordset object|Recordset]]. The //~AddNew// method must be finalized with the [[Update]] method.
++!!!Applies to ...
++| !Object | !Description |
++|[[Recordset]] |A set of records derived from a table, a query or an SQL statement. |
++!!!Syntax
++//recordset//{{{.AddNew()}}}
++!!!Returned value
++{{{True}}} if success.
++!!!Remarks
++*Use the //~AddNew// method to create and add a new record. This method sets the fields to [[default values|DefaultValue]], and if no default values are specified in the table definition, it sets the fields to Null.
++*After you modify the new record, use the [[Update]] method to save the changes and add the record to the //Recordset//. No changes occur in the database until you use the //Update// method.
++**''Caution'' If you issue an //~AddNew// and then perform any operation that moves to another record, but without using //Update//, your changes are lost without warning.
++*The record that was current before you used //~AddNew// remains current.
++!!!Error Messages
++|Recordset or field is not updatable |
++!!!See also
++[[CancelUpdate]]
++[[Close|Close (method)]]
++[[CloseAllRecordsets]]
++[[DefaultValue]]
++[[Edit]]
++[[Update]]
++[[Value|Value (field)]]
++!!!Example
++&lt;&lt;tiddler &quot;AddNew example&quot;&gt;&gt;</pre>
++</div>
++<div title="AddNew example" modifier="Jean-Pierre Ledure" created="201307191341" modified="201405241103" tags="[[Snippets of Code]]" changecount="1">
++<pre>Add a new record to a table
++//{{{
++Dim oRecordset As Object
++ Set oRecordset = Application.CurrentDb().OpenRecordset(&quot;Expenses&quot;)
++ With oRecordset
++ .AddNew ' Fields initialised with the default value
++ .Fields(&quot;AMOUNT&quot;).Value = 1234
++ .Fields(&quot;DATE EXPENSE&quot;).Value = Now()
++ .Fields(&quot;CATEGORY&quot;).Value = &quot;Food&quot;
++ .Fields(&quot;DESCRIPTION&quot;).Value = &quot;Lunch&quot;
++ .Fields(&quot;VAT CODE&quot;).Value = 3
++ .Update
++ .mClose
++ End With
++//}}}</pre>
++</div>
++<div title="AddRecordToRecordset" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201405311052" modified="201405311120" tags="HowTo" changecount="8">
++<pre>(Q) How to add a record to a recordset
++
++(R) To add a record to a [[Recordset object|Recordset]]:
++*Use the [[AddNew]] method to create a record you can edit.
++*Assign values to each of the record's fields.
++*Use the [[Update]] method to save the new record.
++The following code example adds a record to a Recordset associated with a table called Shippers.
++&lt;&lt;tiddler &quot;ShippersTable&quot;&gt;&gt;
++//{{{
++Dim odbNorthwind As Object
++Dim orsShippers As Object
++
++ Set odbNorthwind = Application.CurrentDb
++ Set orsShippers = odbNorthwind.OpenRecordset(&quot;Shippers&quot;)
++
++ With orsShippers
++ .AddNew
++ .Fields(&quot;CompanyName&quot;).Value = &quot;Global Open Source Service&quot;
++ '
++ ' Set remaining fields.
++ '
++ .Update
++ .mClose()
++ End With
++//}}}
++When you use the //~AddNew// method, //~Access2Base// prepares a new, blank record, initializes its fields to their default value and makes it the current record. When you use the //Update// method to save the new record, the record that was current before you used the //~AddNew// method becomes the current record again.
++
++If you use the //~AddNew// method to add a record, and then move to another record or close the //Recordset// without first using the //Update// method, your changes are lost without warning. For example, omitting the ''Update'' method from the preceding example results in no changes being made to the Shippers table.
++!!!See also
++[[OpenRecordset]]
++[[Value (field)]]
++!!!Refer to ...
++| !Basic module | !Sub |!Comments |
++|~HowTo |~AddRecordToShippers ||</pre>
++</div>
++<div title="Addremoveitem example" modifier="Jean-PierreLedure" created="201205190949" modified="201212301434" tags="[[Snippets of Code]]">
++<pre>Display in an empty ListBox all dates between today and today + 9 days
++//{{{
++Dim ocList As Object, i As Integer, sDate As String
++ Set ocList = getObject(&quot;Forms!myForm!myListBoxDate&quot;)
++ sDate = Date
++ For i = 0 To 9
++ ocList.AddItem(sDate)
++ sDate = DateAdd(&quot;d&quot;, 1, sDate)
++ Next i
++//}}}
++
++Remove from the added dates all the non-working days (it is assumed that, for any reason, this could not have been done while loading the dates in the box ...)
++//{{{
++Dim ocList As Object, i As Integer, sDates() As String, dDate As Date
++ Set ocList = getObject(&quot;Forms!myForm!myListBoxDate&quot;)
++ sDates() = ocList.ItemData
++ For i = 0 To UBound(sDates)
++ dDate = DateValue(sDates(i))
++ If DatePart(&quot;w&quot;, dDate, 2) &gt; 5 Then ocList.RemoveItem(sDates(i)) ' Remove saturdays and sundays
++ Next i
++//}}}</pre>
++</div>
++<div title="AllDialogs" modifier="Jean-Pierre Ledure" created="201302021535" modified="201612181346" tags="Collections" changecount="9">
++<pre>The //~AllDialogs// collection describes instances of all [[dialogs|Dialog]] present in the currently loaded dialog libraries.
++&lt;&lt;tiddler &quot;ApplyApplication&quot;&gt;&gt;
++!!!Syntax
++{{{[Application.]AllDialogs()}}}
++{{{[Application.]AllDialogs(index)}}}
++{{{[Application.]AllDialogs(dialogname)}}}
++| !Argument #1 | !Type |!Returned value |
++|| absent |A [[Collection]] object |
++| index | integer&lt;br&gt;long |A [[Dialog]] object corresponding to the index-th item in the ~AllDialogs() collection. The 1st dialog is ~AllDialogs(0), the 2nd is ~AllDialogs(1) and so on ... The last one is ~AllDialogs.Count - 1.|
++| dialogname | string |A [[Dialog]] object having the argument as name. The argument is NOT case-sensitive.|
++!!!Remarks
++*//~Access2Base// will scan first the dialogs present in the current Base document (&quot;.odb&quot; file) or current non-Base document containing one or more [[standalone forms|Standalone Forms]] (&quot;.odt&quot;, &quot;.ods&quot;, ... file) and continue the search thru all currently loaded libraries. __The //~Access2Base// library itself however will be skipped__.
++*The //dialogname// argument is not case sensitive.
++*Homonyms within the scanned libraries should be avoided. Only their non case-sensitive name can differentiate them.
++!!!Error messages
++|Argument nr. 1 [Value = '...'] is invalid |
++|Out of array range or incorrect array size for collection ~AllDialogs() |
++|Dialog '...' not found in the currently loaded libraries |
++!!!See also ...
++[[Collection]]
++[[EndExecute]]
++[[Execute|Execute (dialog)]]
++[[Start]]
++[[Terminate]]
++!!!Examples
++&lt;&lt;tiddler &quot;Dialog example&quot;&gt;&gt;
++</pre>
++</div>
++<div title="AllForms" modifier="YourName" created="201106251313" modified="201902151442" tags="Collections" changecount="7">
++<pre>The //~AllForms// collection describes instances of all __forms__ present in the current Base document (&quot;.odb&quot; file) or in the current non-Base document (&quot;.odt&quot;, &quot;.ods&quot;, ... file) containing one or more [[standalone forms|Standalone Forms]].
++&lt;&lt;tiddler &quot;ApplyApplication&quot;&gt;&gt;
++!!!Syntax
++{{{[Application.]AllForms()}}} or {{{AllForms()}}}
++{{{[Application.]AllForms(index)}}}
++{{{[Application.]AllForms(formname)}}}
++| !Argument #1 | !Type |!Returned value |
++|| absent |A [[Collection]] object |
++| index | integer&lt;br&gt;long |A [[Form]] object corresponding to the index-th item in the {{{AllForms()}}} collection. The 1st form is {{{AllForms(0)}}}, the 2nd is {{{AllForms(1)}}} and so on ... The last one has as index {{{AllForms.Count - 1}}}.|
++| formname | string |A [[Form]] object having the argument as name. The argument is NOT case-sensitive.|
++!!!Remarks
++*~Access2Base supports hierarchical form names exactly like Base does it. The //formname// argument must contain the full pathname of the designated form.
++*The //formname// argument is not case sensitive.
++*When invoked from a [[standalone form|Standalone Forms]], the {{{formname}}} argument must be the own name of the form, __which is often &quot;~MainForm&quot;__. If only one form is present in the file (very often the case), use simply {{{AllForms(0)}}} to get a form object matching that single occurrence.
++!!!Error messages
++|Argument nr. 1 [Value = '...'] is invalid |
++|Out of array range or incorrect array size for collection ~AllForms() |
++|Form &quot;...&quot; not found |
++!!!See also ...
++[[Forms]]
++!!!Examples
++&lt;&lt;tiddler &quot;AllForms examples&quot;&gt;&gt;
++</pre>
++</div>
++<div title="AllForms examples" modifier="Jean-PierreLedure" created="201106251454" modified="201212021456" tags="[[Snippets of Code]]">
++<pre>To display the name of all forms (uses the [[Name]] property):
++//{{{
++Dim i As Integer, oCollection As Object
++ Set oCollection = AllForms
++ For i = 0 To oCollection.Count - 1 'AllForms without argument returns a Collection object
++ Print AllForms(i).Name, 'AllForms(...) with an argument returns a Form object
++ Next i
++ Print
++//}}}
++Can shorter ... :
++//{{{
++Dim i As Integer
++ For i = 0 To AllForms.Count - 1 'AllForms without argument returns a Collection object
++ Print AllForms(i).Name, 'AllForms(...) with an argument returns a Form object
++ Next i
++ Print
++//}}}
++To know the exact name of a form:
++//{{{
++Dim ofForm As Object
++ Set ofForm = AllForms(&quot;MYFORM&quot;) 'Exact name = myForm :o)
++ MsgBox ofForm.Name
++//}}}</pre>
++</div>
++<div title="AllModules" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201612181139" modified="201612181346" tags="Collections" changecount="11">
++<pre>The //~AllModules// collection describes instances of all [[modules|Module]] present in the currently loaded Basic libraries.
++&lt;&lt;tiddler &quot;ApplyApplication&quot;&gt;&gt;
++!!!Syntax
++{{{[Application.]AllModules()}}}
++{{{[Application.]AllModules(index)}}}
++{{{[Application.]AllModules(modulename)}}}
++| !Argument #1 | !Type |!Returned value |
++|| absent |A [[Collection]] object |
++| index | integer&lt;br&gt;long |A [[Module]] object corresponding to the index-th item in the ~AllModules() collection. The 1st module is ~AlModules(0), the 2nd is ~AllModules(1) and so on ... The last one is ~AllModules.Count - 1.|
++| modulename | string |A [[Module]] object having the argument as name. The argument is NOT case-sensitive.|
++!!!Remarks
++*//~Access2Base// will scan first the modules present in the current Base document (&quot;.odb&quot; file) or current non-Base document containing one or more [[standalone forms|Standalone Forms]] (&quot;.odt&quot;, &quot;.ods&quot;, ... file) and continue the search thru all currently loaded libraries. __The //~Access2Base// library itself however will be skipped__.
++*The //modulename// argument is not case sensitive.
++!!!How to name modules ?
++To manage potential homonyms among libraries, the ''name'' of a module consists in 3 components:
++//{{{
++ [[SCOPE.][LIBRARY.]MODULE
++//}}}
++, the first two being optional.
++*The //SCOPE// is either
++**''{{{GLOBAL}}}'' grouping both the ''~LibreOffice/~OpenOffice Macros and Dialogs'' and the ''My Macros and Dialogs'' catalogs of libraries.
++**''{{{DOCUMENT}}}'' grouping the libraries stored in the current document. __This is the default__.
++*The //LIBRARY// component is the name of the library. __The default is &quot;''Standard''&quot;__.
++As such,
++//{{{
++ AllModules(&quot;DOCUMENT.STANDARD.myModule&quot;)
++//}}}
++is equivalent to:
++//{{{
++ AllModules(&quot;myModule&quot;)
++//}}}
++!!!Error messages
++|Argument nr. 1 [Value = '...'] is invalid |
++|Out of array range or incorrect array size for collection ~AllModules() |
++|Module '...' not found in the currently loaded libraries |
++!!!See also ...
++[[Collection]]
++[[Module]]
++!!!Examples
++&lt;&lt;tiddler &quot;Module example&quot;&gt;&gt;
++</pre>
++</div>
++<div title="Allow example" modifier="Jean-PierreLedure" created="201107161723" modified="201212021501" tags="[[Snippets of Code]]">
++<pre>Make a form read-only
++//{{{
++Dim ofForm As Object
++ Set ofForm = AllForms(&quot;myForm&quot;)
++ With ofForm
++ .AllowEdits = False
++ .AllowDeletions = False
++ .AllowAdditions = False
++ End With
++//}}}</pre>
++</div>
++<div title="AllowAdditions" modifier="Jean-Pierre Ledure" created="201107161721" modified="201405291456" tags="Properties" changecount="1">
++<pre>The //~AllowAdditions// property specifies whether a user can add a record when using a form or a subform.
++!!!Applies to ...
++| !Object |!Description |
++|[[Form]] |An open form |
++|[[SubForm]] |A subform in an open form |
++!!!Syntax
++//form//{{{.AllowAdditions}}}
++//form//{{{.AllowAdditions}}} = //value//
++//subform//{{{.AllowAdditions}}}
++//form//{{{.AllowAdditions}}} = //value//
++!!!Returned values / Arguments
++{{{Boolean}}}
++!!!Remarks
++!!!Error messages
++|Form '...' is currently not open|
++|Value '...' is invalid for property '~AllowAdditions' |
++!!!See also
++[[AllowDeletions]]
++[[AllowEdits]]
++!!!Example
++&lt;&lt;tiddler &quot;Allow example&quot;&gt;&gt;</pre>
++</div>
++<div title="AllowDeletions" modifier="Jean-Pierre Ledure" created="201107161744" modified="201405291457" tags="Properties" changecount="1">
++<pre>The //~AllowDeletions// property specifies whether a user can delete a record when using a form or a subform.
++!!!Applies to ...
++| !Object |!Description |
++|[[Form]] |An open form |
++|[[SubForm]] |A subform in an open form |
++!!!Syntax
++//form//{{{.AllowDeletions}}}
++//form//{{{.AllowDeletions}}} = //value//
++//subform//{{{.AllowDeletions}}}
++//subform//{{{.AllowDeletions}}} = //value//
++!!!Returned values / Arguments
++{{{Boolean}}}
++!!!Remarks
++!!!Error messages
++|Form '...' is currently not open|
++|Value '...' is invalid for property '~AllowDeletions' |
++!!!See also
++[[AllowAdditions]]
++[[AllowEdits]]
++!!!Example
++&lt;&lt;tiddler &quot;Allow example&quot;&gt;&gt;</pre>
++</div>
++<div title="AllowEdits" modifier="Jean-Pierre Ledure" created="201107161748" modified="201405291457" tags="Properties" changecount="1">
++<pre>The //~AllowEdits// property specifies whether a user can edit saved records when using a form or a subform.
++!!!Applies to ...
++| !Object |!Description |
++|[[Form]] |An open form |
++|[[SubForm]] |A subform in an open form |
++!!!Syntax
++//form//{{{.AllowEdits}}}
++//form//{{{.AllowEdits}}} = //value//
++//subform//{{{.AllowEdits}}}
++//form//{{{.AllowEdits}}} = //value//
++!!!Returned values / Arguments
++{{{Boolean}}}
++!!!Remarks
++!!!Error messages
++|Form '...' is currently not open|
++|Value '...' is invalid for property '~AllowEdits' |
++!!!See also
++[[AllowAdditions]]
++[[AllowDeletions]]
++!!!Example
++&lt;&lt;tiddler &quot;Allow example&quot;&gt;&gt;</pre>
++</div>
++<div title="AppendChunk" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201603121353" modified="201603121409" tags="Methods" changecount="9">
++<pre>The //~AppendChunk// method appends data to a binary [[Field]] belonging to the [[Fields]] collection of a [[Recordset]].
++!!!Applies to ...
++| !Object | !Type of field |
++|[[Field]] |com.sun.star.sdbc.~DataType.BINARY&lt;br /&gt;com.sun.star.sdbc.~DataType.VARBINARY&lt;br /&gt;com.sun.star.sdbc.~DataType.LONGVARBINARY |
++!!!Syntax
++//field//{{{.AppendChunk(}}}//value//{{{)}}}
++!!!Arguments
++| !Argument | !Type | !Description |
++|value | Variant |An array of integers, probably built with the [[GetChunk]] method. |
++!!!Remarks
++*Use the //~AppendChunk// and //~GetChunk// methods to access subsets of data in (Long) Binary fields.
++*If memory space is limited or the amount of bytes to be stored cannot be reasonably processed with the [[Value|Value (field)]] property, you may need to work with chunks of a field instead of the entire field.
++*The initial AppendChunk operation (after an [[Edit]] or [[AddNew]] call) will simply place the data in the field, overwriting any existing data. Subsequent //~AppendChunk// calls within the same Edit or ~AddNew session will then add to the existing data.
++*//~AppendChunk// will be rejected if either the [[AddNew]] or the [[Edit]] method has not been applied on the concerned [[Recordset]] first. The modifications will be applied when the [[Update]] Method is applied on the same //recordset// object. If the //Update// method is never applied, or if the [[CancelUpdate]] method is invoked instead, the database will not be impacted.
++!!!Error messages
++|Method '~AppendChunk' not applicable in this context |
++|Argument nr. ... [Value = '...'] is invalid |
++!!!See also
++[[AddNew]]
++[[CancelUpdate]]
++[[Edit]]
++[[GetChunk]]
++[[Update]]
++[[WriteAllBytes]]
++[[Value|Value (field)]]
++!!!Example
++&lt;&lt;tiddler &quot;Chunk example&quot;&gt;&gt;</pre>
++</div>
++<div title="Application" modifier="Jean-Pierre Ledure" created="201301111725" modified="201612181100" tags="Objects" changecount="12">
++<pre>{{firstletter{
++ @@color:#930;T@@
++ }}}he //Application// class is the root class from which the initial [[collections|Collection]] are derived.
++The //Application// class must not be instantiated. The only preset instance MUST be called {{{Application}}}. In fact it is implemented simply as a Basic module.
++As an example, next statements are equivalent :
++//{{{
++ Set ofForm = Forms(&quot;anyform&quot;)
++//}}}
++and
++//{{{
++ Set ofForm = Application.Forms(&quot;anyform&quot;)
++//}}}
++However, __the second one is recommended__ to avoid risks of naming collisions between concurrent Basic libraries.
++!!Functions returning objects
++| !Function | !Description |
++|[[AllDialogs]] |Collection of dialogs, active or not. |
++|[[AllForms]] |Collection of forms, open or not. |
++|[[AllModules]] |All Basic scripts available in the currently loaded Basic libraries. |
++|[[CommandBars]] |Collection of tool-, menu- and statusbars associated with the current window. |
++|[[CurrentDb]] |Returns the current [[database|Database]] object, i.e. the only database from a Base (&quot;.odb&quot; document, or the database linked with the first [[standalone form|Standalone Forms]] contained in a non-Base (Writer, Calc, ...) document. |
++|[[Events]] |Returns the currently running [[event|Event]] as an object. |
++|[[Forms]] |Collection of open forms. |
++|[[OpenDatabase]] |Returns a [[database|Database]] object giving access to the data stored in that database. |
++|[[TempVars]] |Collection of temporary variables available thru the whole ~LibreOffice/~OpenOffice session. |
++!!Properties
++| !Property | !Type | !Description |
++|[[CurrentUser]] | String |The logon name of the current user. |
++|[[DAvg]]&lt;br /&gt;[[DCount]]&lt;br /&gt;[[DLookup]]&lt;br /&gt;[[DMin, DMax]]&lt;br /&gt;[[DStDev, DStDevP]]&lt;br /&gt;[[DSum]]&lt;br /&gt;[[DVar, DVarP]] | Any |The database functions. |
++|[[HtmlEncode]] | String |Returns an Html encoded string. |
++|[[ProductCode]] | String |Returns &quot;~Access2Base x.y.z&quot; where x.y.z equals the version number of the library. |
++|[[Version]] | String |Returns &quot;~LibreOffice x.y.z&quot; or &quot;~OpenOffice x.y.z&quot; where x.y.z is the version number. |
++!!Methods
++|[[OpenConnection]] |To be run to connect the application to the database. |
++|[[CloseConnection]] |To be run to disconnect the application from the database. |</pre>
++</div>
++<div title="ApplyApplication" modifier="Jean-Pierre Ledure" created="201301111830" modified="201407111109" tags="NoTag" changecount="2">
++<pre>!!!Applies to ...
++| !Object | !Description |
++|[[Application]] |Root class. When present, its name must be &quot;{{{Application}}}&quot; but the object name is optional. |</pre>
++</div>
++<div title="ApplyDoCmd" modifier="Jean-Pierre Ledure" created="201301121114" modified="201407111108" tags="NoTag" changecount="1">
++<pre>!!!Applies to ...
++| !Object | !Description |
++|[[DoCmd]] |Root class. When present, its name must be &quot;{{{DoCmd}}}&quot; but the object name is optional. |</pre>
++</div>
++<div title="ApplyFilter" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201410261037" modified="201412301558" tags="Actions" changecount="25">
++<pre>{{firstletter{
++ @@color:#930;U@@
++ }}}se the //~ApplyFilter// action to apply a filter, a query, or an SQL WHERE clause to a table, form, subform or query to restrict the records in the table or query, or the records from the underlying table or query of the form/subform.
++&lt;&lt;tiddler &quot;ApplyDoCmd&quot;&gt;&gt;
++!!!Syntax
++{{{[DoCmd.]ApplyFilter(}}}//{{{[filter], [SQLwhere], [controlname]}}}//{{{)}}}
++| !Argument | !Optional | !Type |!Description |
++|{{{filter}}} | Yes | String |The //Filter// and //~SQLWhere// arguments have identical meanings.&lt;br /&gt;They both contain a SQL ''Where'' clause without the word //Where//.&lt;br /&gt;If both arguments are present, __the second argument__ only is applied to the data. |
++|{{{SQLwhere}}} |~|~|~|
++|{{{controlname}}} |~|~|The name of a subform of the active form. |
++!!!Remarks
++*The //~ApplyFilter// action must not be called from a [[standalone form|Standalone Forms]].
++*The //~ApplyFilter// action is applied on the current window. To make a window current, use the [[SelectObject]] action. If the current window is neither a form, a table datasheet or a query datasheet, the //~ApplyFilter// action return {{{False}}} and ignores the request.
++*The //~ApplyFilter// action, when applied to a table or a query datasheet, __does NOT work in //~OpenOffice//__ (//~LibreOffice// OK).
++*To apply a filter on a table or a query with //~ApplyFilter//, the table or the query must be open. Eventually use therefore the [[OpenTable]] or [[OpenQuery]] actions.
++*If //controlname// is present, the active window is expected to be a form. Otherwise //~ApplyFilter// refurns {{{False}}} and the request is ignored. The //controlname// is NOT case-sensitive. If //controlname// does not exist in the active form or is not the name of one of its [[subforms|SubForm]] then the action generates a run-time error.
++*When a filter is applied with //~ApplyFilter// the first record (if it exists ...) becomes the current record.
++*Once applied, the filter is preserved for subsequent table or query openings during the same //~LibreOffice/~OpenOffice// session. It will become persistent when the database file (&quot;*.odb&quot;) is saved.
++*In the filter argument, record and field names may be surrounded by square brackets. They will be replaced with the correct character surrounding such names in SQL statements targeted to be run on the concerned RDBMS (Relational Database Management System).
++*Giving the null-length string (&quot;&quot;) as filter argument resets any pre-existing filter.
++!!!Error messages
++|Argument nr.X [Value = '...'] is invalid|
++|Control '...' not found in parent (form, grid or dialog) '...' |
++|Subform '...' not found in parent form '...' |
++!!!See also
++[[Filter]]
++[[FilterOn]]
++[[GoToRecord]]
++[[SelectObject]]
++[[SetFocus]]
++[[SetOrderBy]]
++!!!Example
++&lt;&lt;tiddler &quot;ApplyFilter example&quot;&gt;&gt;</pre>
++</div>
++<div title="ApplyFilter example" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201410261735" modified="201410261735" tags="[[Snippets of Code]]" changecount="2">
++<pre>Set and apply a filter on the data displayed by a query
++//{{{
++Dim sApplyFilter As String
++Const cstQueryName = &quot;myQuery&quot;
++ OpenQuery(cstQueryName)
++ sApplyFilter = &quot;[USUAL NAME] LIKE 'W%'&quot;
++ SelectObject(acQuery, cstQueryName)
++ DoCmd.ApplyFilter(sApplyFilter)
++//}}}</pre>
++</div>
++<div title="AskBeforeSaving" modifier="Jean-PierreLedure" created="201212231635" modified="201308161222" tags="HowTo">
++<pre>(Q) How can I control when a record is saved in a form ?
++
++(R) Use the form's //Before record change// event to run code each time Base tries to save a record. This way, if the user doesn't want to save a record, you can issue an Undo command instead of saving the record.
++
++For strange reasons the //Before record change// form event is fired twice by //AAO/~LibO// while in most cases one occurrence would be sufficient. That's where the //Recommendation// property becomes useful.
++Read [[Roberto Benitez's Forms and Dialogs document|http://www.baseprogramming.com/FormsAndDialogs.pdf]] about this strange behaviour (p. 20+).
++
++!!!Solution
++Next code will make it. The event fires here a //Function// which will return {{{True}}} only if the modification is confirmed by the user. Otherwise the //Undo// command is run automatically. Other requests for changes (INSERT or DELETE actions) will be accepted blindly.
++//{{{
++Function AskBeforeSave(poEvent As Object) As Boolean
++
++Dim sMsg As String, oEvent As Object
++
++REM MsgBox constants
++Const vbYesNo = 4 ' Yes and No buttons
++Const vbQuestion = 32 ' Warning query
++Const vbYes = 6 ' Yes button pressed
++
++ AskBeforeSave = True
++ Set oEvent = Events(poEvent)
++ If oEvent.Recommendation = &quot;IGNORE&quot; Then Exit Function
++ If oEvent.RowChangeAction &lt;&gt; com.sun.star.sdb.RowChangeAction.UPDATE Then Exit Function ' INSERT / DELETE ignored
++ sMsg = &quot;Data has changed.&quot; &amp; Chr(13) &amp; &quot;Do you wish to save the changes?&quot; _
++ &amp; Chr(13) &amp; &quot;Click Yes to save or No to discard changes.&quot;
++ If MsgBox(sMsg, vbQuestion + vbYesNo, &quot;Save record ?&quot;) &lt;&gt; vbYes Then
++ RunCommand(&quot;RecUndo&quot;) ' Cancel editing done
++ AskBeforeSave = False
++ End If
++
++End Function
++//}}}
++!!!See also
++[[Event]]
++[[Events Handler]]
++[[RunCommand]]
++!!!Refer to ...
++| !Basic module | !Form | !Form event | !Control | !Control event |!Comments |
++|~NewRec |~Customers_NewRec |Before record action ||||</pre>
++</div>
++<div title="AttachFileMIMETypes" modifier="Jean-Pierre Ledure" created="201108061432" modified="201108061603" tags="excludeLists">
++<pre>text/plain
++.txt .text .js .vbs .asp .cgi .pl
++----
++text/html
++.htm .html .hta .htx .mht
++----
++text/comma-separated-values
++.csv
++----
++text/javascript
++.js
++----
++text/css
++.css
++----
++text/xml
++.xml .xsl .xslt
++----
++image/gif
++.gif
++----
++image/jpeg
++.jpg .jpe .jpeg
++----
++image/png
++.png
++----
++image/bmp
++.bmp
++----
++image/tiff
++.tif .tiff
++----
++audio/basic
++.au .snd
++----
++audio/wav
++.wav
++----
++audio/x-pn-realaudio
++.ra .rm .ram
++----
++audio/x-midi
++.mid .midi
++----
++audio/mp3
++.mp3
++----
++audio/m3u
++.m3u
++----
++video/x-ms-asf
++.asf
++----
++video/avi
++.avi
++----
++video/mpeg
++.mpg .mpeg
++----
++video/quicktime
++.qt .mov .qtvr
++----
++application/pdf
++.pdf
++----
++application/rtf
++.rtf
++----
++application/postscript
++.ai .eps .ps
++----
++application/wordperfect
++.wpd
++----
++application/mswrite
++.wri
++----
++application/msexcel
++.xls .xls3 .xls4 .xls5 .xlw
++----
++application/msword
++.doc
++----
++application/mspowerpoint
++.ppt .pps
++----
++application/x-director
++.swa
++----
++application/x-shockwave-flash
++.swf
++----
++application/x-zip-compressed
++.zip
++----
++application/x-gzip
++.gz
++----
++application/x-rar-compressed
++.rar
++----
++application/octet-stream
++.com .exe .dll .ocx
++----
++application/java-archive
++.jar</pre>
++</div>
++<div title="AttachFilePlugin" modifier="Jean-PierreLedure" created="201108061423" modified="201304121729" tags="systemConfig excludeLists">
++<pre>/***
++|Name|AttachFilePlugin|
++|Source|http://www.TiddlyTools.com/#AttachFilePlugin|
++|Documentation|http://www.TiddlyTools.com/#AttachFilePluginInfo|
++|Version|4.0.1|
++|Author|Eric Shulman|
++|License|http://www.TiddlyTools.com/#LegalStatements|
++|~CoreVersion|2.1|
++|Type|plugin|
++|Requires|AttachFilePluginFormatters, AttachFileMIMETypes|
++|Description|Store binary files as base64-encoded tiddlers with fallback links for separate local and/or remote file storage|
++Store or link binary files (such as jpg, gif, pdf or even mp3) within your TiddlyWiki document and then use them as images or links from within your tiddler content.
++&gt; Important note: As of version 3.6.0, in order to //render// images and other binary attachments created with this plugin, you must also install [[AttachFilePluginFormatters]], which extends the behavior of the TiddlyWiki core formatters for embedded images ({{{[img[tooltip|image]]}}}), linked embedded images ({{{[img[tooltip|image][link]]}}}), and external/&quot;pretty&quot; links ({{{[[label|link]]}}}), so that these formatter will process references to attachment tiddlers as if a normal file reference had been provided. |
++!!!!!Documentation
++&gt;see [[AttachFilePluginInfo]]
++!!!!!Inline interface (live)
++&gt;see [[AttachFile]] (shadow tiddler)
++&gt;&lt;&lt;tiddler AttachFile&gt;&gt;
++!!!!!Revisions
++&lt;&lt;&lt;
++2011.02.14 4.0.1 fix OSX error: use picker.file.path
++2009.06.04 4.0.0 changed attachment storage format to use //sections// instead of embedded substring markers.
++|please see [[AttachFilePluginInfo]] for additional revision details|
++2005.07.20 1.0.0 Initial Release
++&lt;&lt;&lt;
++!!!!!Code
++***/
++// // version
++//{{{
++version.extensions.AttachFilePlugin= {major: 4, minor: 0, revision: 1, date: new Date(2011,2,14)};
++
++// shadow tiddler
++config.shadowTiddlers.AttachFile=&quot;&lt;&lt;attach inline&gt;&gt;&quot;;
++
++// add 'attach' backstage task (insert before built-in 'importTask')
++if (config.tasks) { // for TW2.2b or above
++ config.tasks.attachTask = {
++ text: &quot;attach&quot;,
++ tooltip: &quot;Attach a binary file as a tiddler&quot;,
++ content: &quot;&lt;&lt;attach inline&gt;&gt;&quot;
++ }
++ config.backstageTasks.splice(config.backstageTasks.indexOf(&quot;importTask&quot;),0,&quot;attachTask&quot;);
++}
++
++config.macros.attach = {
++// // lingo
++//{{{
++ label: &quot;attach file&quot;,
++ tooltip: &quot;Attach a file to this document&quot;,
++ linkTooltip: &quot;Attachment: &quot;,
++
++ typeList: &quot;AttachFileMIMETypes&quot;,
++
++ titlePrompt: &quot; enter tiddler title...&quot;,
++ MIMEPrompt: &quot;&lt;option value=''&gt;select MIME type...&lt;/option&gt;&lt;option value='editlist'&gt;[edit list...]&lt;/option&gt;&quot;,
++ localPrompt: &quot; enter local path/filename...&quot;,
++ URLPrompt: &quot; enter remote URL...&quot;,
++
++ tiddlerErr: &quot;Please enter a tiddler title&quot;,
++ sourceErr: &quot;Please enter a source path/filename&quot;,
++ storageErr: &quot;Please select a storage method: embedded, local or remote&quot;,
++ MIMEErr: &quot;Unrecognized file format. Please select a MIME type&quot;,
++ localErr: &quot;Please enter a local path/filename&quot;,
++ URLErr: &quot;Please enter a remote URL&quot;,
++ fileErr: &quot;Invalid path/file or file not found&quot;,
++
++ tiddlerFormat: '!usage\n{{{%0}}}\n%0\n!notes\n%1\n!type\n%2\n!file\n%3\n!url\n%4\n!data\n%5\n',
++
++//}}}
++// // macro definition
++//{{{
++ handler:
++ function(place,macroName,params) {
++ if (params &amp;&amp; !params[0])
++ { createTiddlyButton(place,this.label,this.tooltip,this.toggleAttachPanel); return; }
++ var id=params.shift();
++ this.createAttachPanel(place,id+&quot;_attachPanel&quot;,params);
++ document.getElementById(id+&quot;_attachPanel&quot;).style.position=&quot;static&quot;;
++ document.getElementById(id+&quot;_attachPanel&quot;).style.display=&quot;block&quot;;
++ },
++//}}}
++//{{{
++ createAttachPanel:
++ function(place,panel_id,params) {
++ if (!panel_id || !panel_id.length) var panel_id=&quot;_attachPanel&quot;;
++ // remove existing panel (if any)
++ var panel=document.getElementById(panel_id); if (panel) panel.parentNode.removeChild(panel);
++ // set styles for this panel
++ setStylesheet(this.css,&quot;attachPanel&quot;);
++ // create new panel
++ var title=&quot;&quot;; if (params &amp;&amp; params[0]) title=params.shift();
++ var types=this.MIMEPrompt+this.formatListOptions(store.getTiddlerText(this.typeList)); // get MIME types
++ panel=createTiddlyElement(place,&quot;span&quot;,panel_id,&quot;attachPanel&quot;,null);
++ var html=this.html.replace(/%id%/g,panel_id);
++ html=html.replace(/%title%/g,title);
++ html=html.replace(/%disabled%/g,title.length?&quot;disabled&quot;:&quot;&quot;);
++ html=html.replace(/%IEdisabled%/g,config.browser.isIE?&quot;disabled&quot;:&quot;&quot;);
++ html=html.replace(/%types%/g,types);
++ panel.innerHTML=html;
++ if (config.browser.isGecko) { // FF3 FIXUP
++ document.getElementById(&quot;attachSource&quot;).style.display=&quot;none&quot;;
++ document.getElementById(&quot;attachFixPanel&quot;).style.display=&quot;block&quot;;
++ }
++ return panel;
++ },
++//}}}
++//{{{
++ toggleAttachPanel:
++ function (e) {
++ if (!e) var e = window.event;
++ var parent=resolveTarget(e).parentNode;
++ var panel = document.getElementById(&quot;_attachPanel&quot;);
++ if (panel==undefined || panel.parentNode!=parent)
++ panel=config.macros.attach.createAttachPanel(parent,&quot;_attachPanel&quot;);
++ var isOpen = panel.style.display==&quot;block&quot;;
++ if(config.options.chkAnimate)
++ anim.startAnimating(new Slider(panel,!isOpen,e.shiftKey || e.altKey,&quot;none&quot;));
++ else
++ panel.style.display = isOpen ? &quot;none&quot; : &quot;block&quot; ;
++ e.cancelBubble = true;
++ if (e.stopPropagation) e.stopPropagation();
++ return(false);
++ },
++//}}}
++//{{{
++ formatListOptions:
++ function(text) {
++ if (!text || !text.trim().length) return &quot;&quot;;
++ // get MIME list content from text
++ var parts=text.split(&quot;\n----\n&quot;);
++ var out=&quot;&quot;;
++ for (var p=0; p&lt;parts.length; p++) {
++ var lines=parts[p].split(&quot;\n&quot;);
++ var label=lines.shift(); // 1st line=display text
++ var value=lines.shift(); // 2nd line=item value
++ out +='&lt;option value=&quot;%1&quot;&gt;%0&lt;/option&gt;'.format([label,value]);
++ }
++ return out;
++ },
++//}}}
++// // interface definition
++//{{{
++ css:
++ &quot;.attachPanel { display: none; position:absolute; z-index:10; width:35em; right:105%; top:0em;\
++ background-color: #eee; color:#000; font-size: 8pt; line-height:110%;\
++ border:1px solid black; border-bottom-width: 3px; border-right-width: 3px;\
++ padding: 0.5em; margin:0em; -moz-border-radius:1em;-webkit-border-radius:1em; text-align:left }\
++ .attachPanel form { display:inline;border:0;padding:0;margin:0; }\
++ .attachPanel select { width:99%;margin:0px;font-size:8pt;line-height:110%;}\
++ .attachPanel input { width:98%;padding:0px;margin:0px;font-size:8pt;line-height:110%}\
++ .attachPanel textarea { width:98%;margin:0px;height:2em;font-size:8pt;line-height:110%}\
++ .attachPanel table { width:100%;border:0;margin:0;padding:0;color:inherit; }\
++ .attachPanel tbody, .attachPanel tr, .attachPanel td { border:0;margin:0;padding:0;color:#000; }\
++ .attachPanel .box { border:1px solid black; padding:.3em; margin:.3em 0px; background:#f8f8f8; \
++ -moz-border-radius:5px;-webkit-border-radius:5px; }\
++ .attachPanel .chk { width:auto;border:0; }\
++ .attachPanel .btn { width:auto; }\
++ .attachPanel .btn2 { width:49%; }\
++ &quot;,
++//}}}
++//{{{
++ html:
++ '&lt;form&gt;\
++ attach from source file\
++ &lt;input type=&quot;file&quot; id=&quot;attachSource&quot; name=&quot;source&quot; size=&quot;56&quot;\
++ onChange=&quot;config.macros.attach.onChangeSource(this)&quot;&gt;\
++ &lt;div id=&quot;attachFixPanel&quot; style=&quot;display:none&quot;&gt;&lt;!-- FF3 FIXUP --&gt;\
++ &lt;input type=&quot;text&quot; id=&quot;attachFixSource&quot; style=&quot;width:90%&quot;\
++ title=&quot;Enter a path/file to attach&quot;\
++ onChange=&quot;config.macros.attach.onChangeSource(this);&quot;&gt;\
++ &lt;input type=&quot;button&quot; style=&quot;width:7%&quot; value=&quot;...&quot;\
++ title=&quot;Enter a path/file to attach&quot;\
++ onClick=&quot;config.macros.attach.askForFilename(document.getElementById(\'attachFixSource\'));&quot;&gt;\
++ &lt;/div&gt;&lt;!--end FF3 FIXUP--&gt;\
++ &lt;div class=&quot;box&quot;&gt;\
++ &lt;table style=&quot;border:0&quot;&gt;&lt;tr style=&quot;border:0&quot;&gt;&lt;td style=&quot;border:0;text-align:right;width:1%;white-space:nowrap&quot;&gt;\
++ embed data &lt;input type=checkbox class=chk name=&quot;useData&quot; %IEdisabled% \
++ onclick=&quot;if (!this.form.MIMEType.value.length)\
++ this.form.MIMEType.selectedIndex=this.checked?1:0; &quot;&gt;&amp;nbsp;\
++ &lt;/td&gt;&lt;td style=&quot;border:0&quot;&gt;\
++ &lt;select size=1 name=&quot;MIMEType&quot; \
++ onchange=&quot;this.title=this.value; if (this.value==\'editlist\')\
++ { this.selectedIndex=this.form.useData.checked?1:0; story.displayTiddler(null,config.macros.attach.typeList,2); return; }&quot;&gt;\
++ &lt;option value=&quot;&quot;&gt;&lt;/option&gt;\
++ %types%\
++ &lt;/select&gt;\
++ &lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;border:0&quot;&gt;&lt;td style=&quot;border:0;text-align:right;width:1%;white-space:nowrap&quot;&gt;\
++ local link &lt;input type=checkbox class=chk name=&quot;useLocal&quot;\
++ onclick=&quot;this.form.local.value=this.form.local.defaultValue=this.checked?config.macros.attach.localPrompt:\'\';&quot;&gt;&amp;nbsp;\
++ &lt;/td&gt;&lt;td style=&quot;border:0&quot;&gt;\
++ &lt;input type=text name=&quot;local&quot; size=15 autocomplete=off value=&quot;&quot;\
++ onchange=&quot;this.form.useLocal.checked=this.value.length&quot; \
++ onkeyup=&quot;this.form.useLocal.checked=this.value.length&quot; \
++ onfocus=&quot;if (!this.value.length) this.value=config.macros.attach.localPrompt; this.select()&quot;&gt;\
++ &lt;/td&gt;&lt;/tr&gt;&lt;tr style=&quot;border:0&quot;&gt;&lt;td style=&quot;border:0;text-align:right;width:1%;white-space:nowrap&quot;&gt;\
++ remote link &lt;input type=checkbox class=chk name=&quot;useURL&quot;\
++ onclick=&quot;this.form.URL.value=this.form.URL.defaultValue=this.checked?config.macros.attach.URLPrompt:\'\';\&quot;&gt;&amp;nbsp;\
++ &lt;/td&gt;&lt;td style=&quot;border:0&quot;&gt;\
++ &lt;input type=text name=&quot;URL&quot; size=15 autocomplete=off value=&quot;&quot;\
++ onfocus=&quot;if (!this.value.length) this.value=config.macros.attach.URLPrompt; this.select()&quot;\
++ onchange=&quot;this.form.useURL.checked=this.value.length;&quot;\
++ onkeyup=&quot;this.form.useURL.checked=this.value.length;&quot;&gt;\
++ &lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;\
++ &lt;/div&gt;\
++ &lt;table style=&quot;border:0&quot;&gt;&lt;tr style=&quot;border:0&quot;&gt;&lt;td style=&quot;border:0;text-align:right;vertical-align:top;width:1%;white-space:nowrap&quot;&gt;\
++ notes&amp;nbsp;\
++ &lt;/td&gt;&lt;td style=&quot;border:0&quot; colspan=2&gt;\
++ &lt;textarea name=&quot;notes&quot; style=&quot;width:98%;height:3.5em;margin-bottom:2px&quot;&gt;&lt;/textarea&gt;\
++ &lt;/td&gt;&lt;tr style=&quot;border:0&quot;&gt;&lt;td style=&quot;border:0;text-align:right;width:1%;white-space:nowrap&quot;&gt;\
++ attach as&amp;nbsp;\
++ &lt;/td&gt;&lt;td style=&quot;border:0&quot; colspan=2&gt;\
++ &lt;input type=text name=&quot;tiddlertitle&quot; size=15 autocomplete=off value=&quot;%title%&quot;\
++ onkeyup=&quot;if (!this.value.length) { this.value=config.macros.attach.titlePrompt; this.select(); }&quot;\
++ onfocus=&quot;if (!this.value.length) this.value=config.macros.attach.titlePrompt; this.select()&quot; %disabled%&gt;\
++ &lt;/td&gt;&lt;/tr&gt;&lt;/tr&gt;&lt;tr style=&quot;border:0&quot;&gt;&lt;td style=&quot;border:0;text-align:right;width:1%;white-space:nowrap&quot;&gt;\
++ add tags&amp;nbsp;\
++ &lt;/td&gt;&lt;td style=&quot;border:0&quot;&gt;\
++ &lt;input type=text name=&quot;tags&quot; size=15 autocomplete=off value=&quot;&quot; onfocus=&quot;this.select()&quot;&gt;\
++ &lt;/td&gt;&lt;td style=&quot;width:40%;text-align:right;border:0&quot;&gt;\
++ &lt;input type=button class=btn2 value=&quot;attach&quot;\
++ onclick=&quot;config.macros.attach.onClickAttach(this)&quot;&gt;&lt;!--\
++ --&gt;&lt;input type=button class=btn2 value=&quot;close&quot;\
++ onclick=&quot;var panel=document.getElementById(\'%id%\'); if (panel) panel.parentNode.removeChild(panel);&quot;&gt;\
++ &lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;\
++ &lt;/form&gt;',
++//}}}
++// // control processing
++//{{{
++ onChangeSource:
++ function(here) {
++ var form=here.form;
++ var list=form.MIMEType;
++ var theFilename = here.value;
++ var theExtension = theFilename.substr(theFilename.lastIndexOf('.')).toLowerCase();
++ // if theFilename is in current document folder, remove path prefix and use relative reference
++ var h=document.location.href; folder=getLocalPath(decodeURIComponent(h.substr(0,h.lastIndexOf(&quot;/&quot;)+1)));
++ if (theFilename.substr(0,folder.length)==folder) theFilename='./'+theFilename.substr(folder.length);
++ else theFilename='file:///'+theFilename; // otherwise, use absolute reference
++ theFilename=theFilename.replace(/\\/g,&quot;/&quot;); // fixup: change \ to /
++ form.useLocal.checked = true;
++ form.local.value = theFilename;
++ form.useData.checked = !form.useData.disabled;
++ list.selectedIndex=1;
++ for (var i=0; i&lt;list.options.length; i++) // find matching MIME type
++ if (list.options[i].value.indexOf(theExtension)!=-1) { list.selectedIndex = i; break; }
++ if (!form.tiddlertitle.disabled)
++ form.tiddlertitle.value=theFilename.substr(theFilename.lastIndexOf('/')+1); // get tiddlername from filename
++ },
++//}}}
++//{{{
++ onClickAttach:
++ function (here) {
++ clearMessage();
++ // get input values
++ var form=here.form;
++ var src=form.source; if (config.browser.isGecko) src=document.getElementById(&quot;attachFixSource&quot;);
++ src=src.value!=src.defaultValue?src.value:&quot;&quot;;
++ var when=(new Date()).formatString(config.macros.timeline.dateFormat);
++ var title=form.tiddlertitle.value;
++ var local = form.local.value!=form.local.defaultValue?form.local.value:&quot;&quot;;
++ var url = form.URL.value!=form.URL.defaultValue?form.URL.value:&quot;&quot;;
++ var notes = form.notes.value;
++ var tags = &quot;attachment excludeMissing &quot;+form.tags.value;
++ var useData=form.useData.checked;
++ var useLocal=form.useLocal.checked;
++ var useURL=form.useURL.checked;
++ var mimetype = form.MIMEType.value.length?form.MIMEType.options[form.MIMEType.selectedIndex].text:&quot;&quot;;
++ // validate checkboxes and get filename
++ if (useData) {
++ if (src.length) { if (!theLocation) var theLocation=src; }
++ else { alert(this.sourceErr); src.focus(); return false; }
++ }
++ if (useLocal) {
++ if (local.length) { if (!theLocation) var theLocation = local; }
++ else { alert(this.localErr); form.local.focus(); return false; }
++ }
++ if (useURL) {
++ if (url.length) { if (!theLocation) var theLocation = url; }
++ else { alert(this.URLErr); form.URL.focus(); return false; }
++ }
++ if (!(useData||useLocal||useURL))
++ { form.useData.focus(); alert(this.storageErr); return false; }
++ if (!theLocation)
++ { src.focus(); alert(this.sourceErr); return false; }
++ if (!title || !title.trim().length || title==this.titlePrompt)
++ { form.tiddlertitle.focus(); alert(this.tiddlerErr); return false; }
++ // if not already selected, determine MIME type based on filename extension (if any)
++ if (useData &amp;&amp; !mimetype.length &amp;&amp; theLocation.lastIndexOf('.')!=-1) {
++ var theExt = theLocation.substr(theLocation.lastIndexOf('.')).toLowerCase();
++ var theList=form.MIMEType;
++ for (var i=0; i&lt;theList.options.length; i++)
++ if (theList.options[i].value.indexOf(theExt)!=-1)
++ { var mimetype=theList.options[i].text; theList.selectedIndex=i; break; }
++ }
++ // attach the file
++ return this.createAttachmentTiddler(src, when, notes, tags, title,
++ useData, useLocal, useURL, local, url, mimetype);
++ },
++ getMIMEType:
++ function(src,def) {
++ var ext = src.substr(src.lastIndexOf('.')).toLowerCase();
++ var list=store.getTiddlerText(this.typeList);
++ if (!list || !list.trim().length) return def;
++ // get MIME list content from tiddler
++ var parts=list.split(&quot;\n----\n&quot;);
++ for (var p=0; p&lt;parts.length; p++) {
++ var lines=parts[p].split(&quot;\n&quot;);
++ var mime=lines.shift(); // 1st line=MIME type
++ var match=lines.shift(); // 2nd line=matching extensions
++ if (match.indexOf(ext)!=-1) return mime;
++ }
++ return def;
++ },
++ createAttachmentTiddler:
++ function (src, when, notes, tags, title, useData, useLocal, useURL, local, url, mimetype, noshow) {
++ if (useData) { // encode the data
++ if (!mimetype.length) {
++ alert(this.MIMEErr);
++ form.MIMEType.selectedIndex=1; form.MIMEType.focus();
++ return false;
++ }
++ var d = this.readFile(src); if (!d) { return false; }
++ displayMessage('encoding '+src);
++ var encoded = this.encodeBase64(d);
++ displayMessage('file size='+d.length+' bytes, encoded size='+encoded.length+' bytes');
++ }
++ var usage=(mimetype.substr(0,5)==&quot;image&quot;?'[img[%0]]':'[[%0|%0]]').format([title]);
++ var theText=this.tiddlerFormat.format([
++ usage, notes.length?notes:'//none//', mimetype,
++ useLocal?local.replace(/\\/g,'/'):'', useURL?url:'',
++ useData?('data:'+mimetype+';base64,'+encoded):'' ]);
++ store.saveTiddler(title,title,theText,config.options.txtUserName,new Date(),tags);
++ var panel=document.getElementById(&quot;attachPanel&quot;); if (panel) panel.style.display=&quot;none&quot;;
++ if (!noshow) { story.displayTiddler(null,title); story.refreshTiddler(title,null,true); }
++ displayMessage('attached &quot;'+title+'&quot;');
++ return true;
++ },
++//}}}
++// // base64 conversion
++//{{{
++ encodeBase64:
++ function (d) {
++ if (!d) return null;
++ // encode as base64
++ var keyStr = &quot;ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=&quot;;
++ var out=&quot;&quot;;
++ var chr1,chr2,chr3=&quot;&quot;;
++ var enc1,enc2,enc3,enc4=&quot;&quot;;
++ for (var count=0,i=0; i&lt;d.length; ) {
++ chr1=d.charCodeAt(i++);
++ chr2=d.charCodeAt(i++);
++ chr3=d.charCodeAt(i++);
++ enc1=chr1 &gt;&gt; 2;
++ enc2=((chr1 &amp; 3) &lt;&lt; 4) | (chr2 &gt;&gt; 4);
++ enc3=((chr2 &amp; 15) &lt;&lt; 2) | (chr3 &gt;&gt; 6);
++ enc4=chr3 &amp; 63;
++ if (isNaN(chr2)) enc3=enc4=64;
++ else if (isNaN(chr3)) enc4=64;
++ out+=keyStr.charAt(enc1)+keyStr.charAt(enc2)+keyStr.charAt(enc3)+keyStr.charAt(enc4);
++ chr1=chr2=chr3=enc1=enc2=enc3=enc4=&quot;&quot;;
++ }
++ return out;
++ },
++ decodeBase64: function(input) {
++ var out=&quot;&quot;;
++ var chr1,chr2,chr3;
++ var enc1,enc2,enc3,enc4;
++ var i = 0;
++ // remove all characters that are not A-Z, a-z, 0-9, +, /, or =
++ input=input.replace(/[^A-Za-z0-9\+\/\=]/g, &quot;&quot;);
++ do {
++ enc1=keyStr.indexOf(input.charAt(i++));
++ enc2=keyStr.indexOf(input.charAt(i++));
++ enc3=keyStr.indexOf(input.charAt(i++));
++ enc4=keyStr.indexOf(input.charAt(i++));
++ chr1=(enc1 &lt;&lt; 2) | (enc2 &gt;&gt; 4);
++ chr2=((enc2 &amp; 15) &lt;&lt; 4) | (enc3 &gt;&gt; 2);
++ chr3=((enc3 &amp; 3) &lt;&lt; 6) | enc4;
++ out=out+String.fromCharCode(chr1);
++ if (enc3!=64) out=out+String.fromCharCode(chr2);
++ if (enc4!=64) out=out+String.fromCharCode(chr3);
++ } while (i&lt;input.length);
++ return out;
++ },
++//}}}
++// // I/O functions
++//{{{
++ readFile: // read local BINARY file data
++ function(filePath) {
++ if(!window.Components) { return null; }
++ try { netscape.security.PrivilegeManager.enablePrivilege(&quot;UniversalXPConnect&quot;); }
++ catch(e) { alert(&quot;access denied: &quot;+filePath); return null; }
++ var file = Components.classes[&quot;@mozilla.org/file/local;1&quot;].createInstance(Components.interfaces.nsILocalFile);
++ try { file.initWithPath(filePath); } catch(e) { alert(&quot;cannot read file - invalid path: &quot;+filePath); return null; }
++ if (!file.exists()) { alert(&quot;cannot read file - not found: &quot;+filePath); return null; }
++ var inputStream = Components.classes[&quot;@mozilla.org/network/file-input-stream;1&quot;].createInstance(Components.interfaces.nsIFileInputStream);
++ inputStream.init(file, 0x01, 00004, null);
++ var bInputStream = Components.classes[&quot;@mozilla.org/binaryinputstream;1&quot;].createInstance(Components.interfaces.nsIBinaryInputStream);
++ bInputStream.setInputStream(inputStream);
++ return(bInputStream.readBytes(inputStream.available()));
++ },
++//}}}
++//{{{
++ writeFile:
++ function(filepath,data) {
++ // TBD: decode base64 and write BINARY data to specified local path/filename
++ return(false);
++ },
++//}}}
++//{{{
++ askForFilename: // for FF3 fixup
++ function(target) {
++ var msg=config.messages.selectFile;
++ if (target &amp;&amp; target.title) msg=target.title; // use target field tooltip (if any) as dialog prompt text
++ // get local path for current document
++ var path=getLocalPath(document.location.href);
++ var p=path.lastIndexOf(&quot;/&quot;); if (p==-1) p=path.lastIndexOf(&quot;\\&quot;); // Unix or Windows
++ if (p!=-1) path=path.substr(0,p+1); // remove filename, leave trailing slash
++ var file=&quot;&quot;
++ var result=window.mozAskForFilename(msg,path,file,true); // FF3 FIXUP ONLY
++ if (target &amp;&amp; result.length) // set target field and trigger handling
++ { target.value=result; target.onchange(); }
++ return result;
++ }
++};
++//}}}
++//{{{
++if (window.mozAskForFilename===undefined) { // also defined by CoreTweaks (for ticket #604)
++ window.mozAskForFilename=function(msg,path,file,mustExist) {
++ if(!window.Components) return false;
++ try {
++ netscape.security.PrivilegeManager.enablePrivilege('UniversalXPConnect');
++ var nsIFilePicker = window.Components.interfaces.nsIFilePicker;
++ var picker = Components.classes['@mozilla.org/filepicker;1'].createInstance(nsIFilePicker);
++ picker.init(window, msg, mustExist?nsIFilePicker.modeOpen:nsIFilePicker.modeSave);
++ var thispath = Components.classes['@mozilla.org/file/local;1'].createInstance(Components.interfaces.nsILocalFile);
++ thispath.initWithPath(path);
++ picker.displayDirectory=thispath;
++ picker.defaultExtension='';
++ picker.defaultString=file;
++ picker.appendFilters(nsIFilePicker.filterAll|nsIFilePicker.filterText|nsIFilePicker.filterHTML);
++ if (picker.show()!=nsIFilePicker.returnCancel)
++ var result=picker.file.path;
++ }
++ catch(ex) { displayMessage(ex.toString()); }
++ return result;
++ }
++}
++//}}}</pre>
++</div>
++<div title="AttachFilePluginFormatters" modifier="Jean-Pierre Ledure" created="201108061429" modified="201108061604" tags="systemConfig excludeLists">
++<pre>/***
++|Name|AttachFilePluginFormatters|
++|Source|http://www.TiddlyTools.com/#AttachFilePluginFormatters|
++|Version|4.0.1|
++|Author|Eric Shulman|
++|License|http://www.TiddlyTools.com/#LegalStatements|
++|~CoreVersion|2.1.3|
++|Type|plugin|
++|Description|run-time library for displaying attachment tiddlers|
++Runtime processing for //rendering// attachment tiddlers created by [[AttachFilePlugin]]. Attachment tiddlers are tagged with&lt;&lt;tag attachment&gt;&gt;and contain binary file content (e.g., jpg, gif, pdf, mp3, etc.) that has been stored directly as base64 text-encoded data or can be loaded from external files stored on a local filesystem or remote web server. Note: after creating new attachment tiddlers, you can remove [[AttachFilePlugin]], as long as you retain //this// tiddler (so that images can be rendered later on).
++!!!!!Formatters
++&lt;&lt;&lt;
++This plugin extends the behavior of the following TiddlyWiki core &quot;wikify()&quot; formatters:
++* embedded images: {{{[img[tooltip|image]]}}}
++* linked embedded images: {{{[img[tooltip|image][link]]}}}
++* external/&quot;pretty&quot; links: {{{[[label|link]]}}}
++''Please refer to AttachFilePlugin (source: http://www.TiddlyTools.com/#AttachFilePlugin) for additional information.''
++&lt;&lt;&lt;
++!!!!!Revisions
++&lt;&lt;&lt;
++2009.10.10 [4.0.1] in fileExists(), check for IE to avoid hanging Chrome during startup
++2009.06.04 [4.0.0] changed attachment storage format to use //sections// instead of embedded substring markers.
++2008.01.08 [*.*.*] plugin size reduction: documentation moved to ...Info
++2007.12.04 [*.*.*] update for TW2.3.0: replaced deprecated core functions, regexps, and macros
++2007.10.29 [3.7.0] more code reduction: removed upload handling from AttachFilePlugin (saves ~7K!)
++2007.10.28 [3.6.0] removed duplicate formatter code from AttachFilePlugin (saves ~10K!) and updated documentation accordingly. This plugin ([[AttachFilePluginFormatters]]) is now //''required''// in order to display attached images/binary files within tiddler content.
++2006.05.20 [3.4.0] through 2007.03.01 [3.5.3] sync with AttachFilePlugin
++2006.05.13 [3.2.0] created from AttachFilePlugin v3.2.0
++&lt;&lt;&lt;
++!!!!!Code
++***/
++// // version
++//{{{
++version.extensions.AttachFilePluginFormatters= {major: 4, minor: 0, revision: 1, date: new Date(2009,10,10)};
++//}}}
++
++//{{{
++if (config.macros.attach==undefined) config.macros.attach= { };
++//}}}
++//{{{
++if (config.macros.attach.isAttachment==undefined) config.macros.attach.isAttachment=function (title) {
++ var tiddler = store.getTiddler(title);
++ if (tiddler==undefined || tiddler.tags==undefined) return false;
++ return (tiddler.tags.indexOf(&quot;attachment&quot;)!=-1);
++}
++//}}}
++
++//{{{
++// test for local file existence - returns true/false without visible error display
++if (config.macros.attach.fileExists==undefined) config.macros.attach.fileExists=function(f) {
++ if(window.Components) { // MOZ
++ try { netscape.security.PrivilegeManager.enablePrivilege(&quot;UniversalXPConnect&quot;); }
++ catch(e) { return false; } // security access denied
++ var file = Components.classes[&quot;@mozilla.org/file/local;1&quot;].createInstance(Components.interfaces.nsILocalFile);
++ try { file.initWithPath(f); }
++ catch(e) { return false; } // invalid directory
++ return file.exists();
++ }
++ else if (config.browser.isIE) { // IE
++ var fso = new ActiveXObject(&quot;Scripting.FileSystemObject&quot;);
++ return fso.FileExists(f);
++ }
++ else return true; // other browsers: assume file exists
++}
++//}}}
++
++//{{{
++if (config.macros.attach.getAttachment==undefined) config.macros.attach.getAttachment=function(title) {
++
++ // extract embedded data, local and remote links (if any)
++ var text=store.getTiddlerText(title,'');
++ var embedded=store.getTiddlerText(title+'##data','').trim();
++ var locallink=store.getTiddlerText(title+'##file','').trim();
++ var remotelink=store.getTiddlerText(title+'##url','').trim();
++
++ // backward-compatibility for older attachments (pre 4.0.0)
++ var startmarker=&quot;---BEGIN_DATA---\n&quot;;
++ var endmarker=&quot;\n---END_DATA---&quot;;
++ var pos=0; var endpos=0;
++ if ((pos=text.indexOf(startmarker))!=-1 &amp;&amp; (endpos=text.indexOf(endmarker))!=-1)
++ embedded=&quot;data:&quot;+(text.substring(pos+startmarker.length,endpos)).replace(/\n/g,'');
++ if ((pos=text.indexOf(&quot;/%LOCAL_LINK%/&quot;))!=-1)
++ locallink=text.substring(text.indexOf(&quot;|&quot;,pos)+1,text.indexOf(&quot;]]&quot;,pos));
++ if ((pos=text.indexOf(&quot;/%REMOTE_LINK%/&quot;))!=-1)
++ remotelink=text.substring(text.indexOf(&quot;|&quot;,pos)+1,text.indexOf(&quot;]]&quot;,pos));
++
++ // if there is a data: URI defined (not supported by IE)
++ if (embedded.length &amp;&amp; !config.browser.isIE) return embedded;
++
++ // document is being served remotely... use remote URL (if any) (avoids security alert)
++ if (remotelink.length &amp;&amp; document.location.protocol!=&quot;file:&quot;)
++ return remotelink;
++
++ // local link only... return link without checking file existence (avoids security alert)
++ if (locallink.length &amp;&amp; !remotelink.length)
++ return locallink;
++
++ // local link, check for file exist... use local link if found
++ if (locallink.length) {
++ locallink=locallink.replace(/^\.[\/\\]/,''); // strip leading './' or '.\' (if any)
++ if (this.fileExists(getLocalPath(locallink))) return locallink;
++ // maybe local link is relative... add path from current document and try again
++ var pathPrefix=document.location.href; // get current document path and trim off filename
++ var slashpos=pathPrefix.lastIndexOf(&quot;/&quot;); if (slashpos==-1) slashpos=pathPrefix.lastIndexOf(&quot;\\&quot;);
++ if (slashpos!=-1 &amp;&amp; slashpos!=pathPrefix.length-1) pathPrefix=pathPrefix.substr(0,slashpos+1);
++ if (this.fileExists(getLocalPath(pathPrefix+locallink))) return locallink;
++ }
++
++ // no embedded data, no local (or not found), fallback to remote URL (if any)
++ if (remotelink.length) return remotelink;
++
++ // attachment URL doesn't resolve, just return input as is
++ return title;
++}
++//}}}
++//{{{
++if (config.macros.attach.init_formatters==undefined) config.macros.attach.init_formatters=function() {
++ if (this.initialized) return;
++
++ // find the formatter for &quot;image&quot; and replace the handler
++ for (var i=0; i&lt;config.formatters.length &amp;&amp; config.formatters[i].name!=&quot;image&quot;; i++);
++ if (i&lt;config.formatters.length) config.formatters[i].handler=function(w) {
++ this.lookaheadRegExp.lastIndex = w.matchStart;
++ var lookaheadMatch = this.lookaheadRegExp.exec(w.source)
++ if(lookaheadMatch &amp;&amp; lookaheadMatch.index == w.matchStart) // Simple bracketted link
++ {
++ var e = w.output;
++ if(lookaheadMatch[5])
++ {
++ var link = lookaheadMatch[5];
++ // ELS -------------
++ var external=config.formatterHelpers.isExternalLink(link);
++ if (external)
++ {
++ if (config.macros.attach.isAttachment(link))
++ {
++ e = createExternalLink(w.output,link);
++ e.href=config.macros.attach.getAttachment(link);
++ e.title = config.macros.attach.linkTooltip + link;
++ }
++ else
++ e = createExternalLink(w.output,link);
++ }
++ else
++ e = createTiddlyLink(w.output,link,false,null,w.isStatic);
++ // ELS -------------
++ addClass(e,&quot;imageLink&quot;);
++ }
++ var img = createTiddlyElement(e,&quot;img&quot;);
++ if(lookaheadMatch[1])
++ img.align = &quot;left&quot;;
++ else if(lookaheadMatch[2])
++ img.align = &quot;right&quot;;
++ if(lookaheadMatch[3])
++ img.title = lookaheadMatch[3];
++ img.src = lookaheadMatch[4];
++ // ELS -------------
++ if (config.macros.attach.isAttachment(lookaheadMatch[4]))
++ img.src=config.macros.attach.getAttachment(lookaheadMatch[4]);
++ // ELS -------------
++ w.nextMatch = this.lookaheadRegExp.lastIndex;
++ }
++ }
++//}}}
++//{{{
++ // find the formatter for &quot;prettyLink&quot; and replace the handler
++ for (var i=0; i&lt;config.formatters.length &amp;&amp; config.formatters[i].name!=&quot;prettyLink&quot;; i++);
++ if (i&lt;config.formatters.length) {
++ config.formatters[i].handler=function(w) {
++ this.lookaheadRegExp.lastIndex = w.matchStart;
++ var lookaheadMatch = this.lookaheadRegExp.exec(w.source);
++ if(lookaheadMatch &amp;&amp; lookaheadMatch.index == w.matchStart) {
++ var e;
++ var text = lookaheadMatch[1];
++ if(lookaheadMatch[3]) {
++ // Pretty bracketted link
++ var link = lookaheadMatch[3];
++ if (config.macros.attach.isAttachment(link)) {
++ e = createExternalLink(w.output,link);
++ e.href=config.macros.attach.getAttachment(link);
++ e.title=config.macros.attach.linkTooltip+link;
++ }
++ else e = (!lookaheadMatch[2] &amp;&amp; config.formatterHelpers.isExternalLink(link))
++ ? createExternalLink(w.output,link)
++ : createTiddlyLink(w.output,link,false,null,w.isStatic);
++ } else {
++ e = createTiddlyLink(w.output,text,false,null,w.isStatic);
++ }
++ createTiddlyText(e,text);
++ w.nextMatch = this.lookaheadRegExp.lastIndex;
++ }
++ }
++ } // if &quot;prettyLink&quot; formatter found
++ this.initialized=true;
++}
++//}}}
++//{{{
++config.macros.attach.init_formatters(); // load time init
++//}}}
++//{{{
++if (TiddlyWiki.prototype.coreGetRecursiveTiddlerText==undefined) {
++ TiddlyWiki.prototype.coreGetRecursiveTiddlerText = TiddlyWiki.prototype.getRecursiveTiddlerText;
++ TiddlyWiki.prototype.getRecursiveTiddlerText = function(title,defaultText,depth) {
++ return config.macros.attach.isAttachment(title)?
++ config.macros.attach.getAttachment(title):this.coreGetRecursiveTiddlerText.apply(this,arguments);
++ }
++}
++//}}}</pre>
++</div>
++<div title="AttachFilePluginInfo" modifier="YourName" created="201108061426" modified="201403081100" tags="excludeLists">
++<pre>/***
++|Name|AttachFilePluginInfo|
++|Source|http://www.TiddlyTools.com/#AttachFilePlugin|
++|Documentation|http://www.TiddlyTools.com/#AttachFilePluginInfo|
++|Version|4.0.0|
++|Author|Eric Shulman|
++|License|http://www.TiddlyTools.com/#LegalStatements|
++|~CoreVersion|2.1|
++|Type|plugin|
++|Description|Documentation for AttachFilePlugin|
++Store or link binary files (such as jpg, gif, pdf or even mp3) within your ~TiddlyWiki document and then use them as images or links from within your tiddler content.
++!!!!!Inline interface (live)
++&gt;see [[AttachFile]] (shadow tiddler)
++&gt;&lt;&lt;tiddler AttachFile&gt;&gt;
++!!!!!Syntax
++&lt;&lt;&lt;
++''To display the attach file control panel, simply view the [[AttachFile]] shadow tiddler that is automatically created by the plugin, and contains an instance of the inline control panel.''. Or, you can write:
++{{{
++&lt;&lt;attach inline&gt;&gt;
++}}}
++in any tiddler to display the control panel embedded within that tiddler. Note: you can actually use any unique identifier in place of the &quot;inline&quot; keyword. Each unique id creates a separate instance of the controls. If the same ID is used in more than one tiddler, then the control panel is automatically moved to the most recently rendered location. Or, you can write:
++{{{
++&lt;&lt;attach&gt;&gt;
++}}}
++(with no ID parameter) in ~SidebarOptions. This adds a command link that opens the controls as a floating panel, positioned directly to the left of the sidebar.
++&lt;&lt;&lt;
++!!!!!Usage
++&lt;&lt;&lt;
++Binary file content can be stored in three different locations:
++#embedded in the attachment tiddler (encoded as base64)
++#on your filesystem (a 'local link' path/filename)
++#on a web server (a 'remote link' URL)
++The plugin creates an &quot;attachment tiddler&quot; for each file you attach. Regardless of where you store the binary content, your document can refer to the attachment tiddler rather than using a direct file or URL reference in your embedded image or external links, so that changing document locations will not require updating numerous tiddlers or copying files from one system to another.
++&gt; Important note: As of version 3.6.0, in order to //render// images and other binary attachments created with this plugin, you must also install [[AttachFilePluginFormatters]], which extends the behavior of the ~TiddlyWiki core formatters for embedded images ({{{[img[tooltip|image]]}}}), linked embedded images ({{{[img[tooltip|image][link]]}}}), and external/&quot;pretty&quot; links ({{{[[label|link]]}}}), so that these formatter will process references to attachment tiddlers as if a normal file reference had been provided. |
++When you attach a file, a tiddler (tagged with&lt;&lt;tag attachment&gt;&gt;) is generated (using the source filename as the tiddler's title). The tiddler contains //''base64 text-encoded binary data''//, surrounded by {{{/%...%/}}} comment markers (so they are not visible when viewing the tiddler). The tiddler also includes summary details about the file: when it was attached, by whom, etc. and, if the attachment is an image file (jpg, gif, or png), the image is automatically displayed below the summary information.
++&gt;Note: although you can edit an attachment tiddler, ''don't change any of the encoded content below the attachment header'', as it has been prepared for use in the rest of your document, and even changing a single character can make the attachment unusable. //If needed, you ''can'' edit the header information or even the MIME type declaration in the attachment data, but be very careful not to change any of the base64-encoded binary data.//
++Unfortunately, embedding just a few moderately-sized binary files using base64 text-encoding can dramatically increase the size of your document. To avoid this problem, you can create attachment tiddlers that define external local filesystem (file://) and/or remote web server (http://) 'reference' links, without embedding the binary data directly in the tiddler (i.e., uncheck &quot;embed data&quot; in the 'control panel').
++
++These links provide an alternative source for the binary data: if embedded data is not found (or you are running on Internet Explorer, which does not currently support using embedded data), then the plugin tries the local filesystem reference. If a local file is not found, then the remote reference (if any) is used. This &quot;fallback&quot; approach also lets you 'virtualize' the external links in your document, so that you can access very large binary content such as ~PDFs, ~MP3's, and even *video* files, by using just a 'remote reference link' without embedding any data or downloading huge files to your hard disk.
++
++Of course, when you //do// download an attached file, the local copy will be used instead of accessing a remote server each time, thereby saving bandwidth and allowing you to 'go mobile' without having to edit any tiddlers to alter the link locations...
++&lt;&lt;&lt;
++!!!!!Syntax / Examples
++&lt;&lt;&lt;
++To embed attached files as images or link to them from other tiddlers, use the standard ~TiddlyWiki image syntax ({{{[img[tooltip|filename]]}}}), linked image syntax ({{{[img[tooltip|filename][tiddlername]]}}}) , or &quot;external link&quot; syntax ({{{[[text|URL]]}}}), replacing the filename or URL that is normally entered with the title of an attachment tiddler.
++
++embedded image data:
++&gt;{{{[img[Meow|tracelog dialog.png]]}}}
++&gt;[img[Meow|tracelog dialog.png]]
++embedded image data with link to larger remote image:
++&gt;{{{[img[click for larger view|tracelog dialog.png][tracelog dialog.png]]}}}
++&gt;[img[click for larger view|tracelog dialog.png][tracelog dialog.png]]
++'external' link to embedded image data:
++&gt;{{{[[click to view attachment|tracelog dialog.png]]}}}
++&gt;[[click to view attachment|tracelog dialog.png]]
++'external' link to remote image:
++&gt;{{{[[click to view attachment|tracelog dialog.png]]}}}
++&gt;[[click to view attachment|tracelog dialog.png]]
++regular ~TiddlyWiki links to attachment tiddlers:
++&gt;{{{[[tracelog dialog.png]]}}} [[tracelog dialog.png]]
++&gt;{{{[[tracelog dialog.png]]}}} [[tracelog dialog.png]]
++&lt;&lt;&lt;
++!!!!!Defining MIME types
++&lt;&lt;&lt;
++When you select a source file, a ''[[MIME|http://en.wikipedia.org/wiki/MIME]]'' file type is automatically suggested, based on filename extension. The AttachFileMIMETypes tiddler defines the list of MIME types that will be recognized by the plugin. Each MIME type definition consists of exactly two lines of text: the official MIME type designator (e.g., &quot;text/plain&quot;, &quot;image/gif&quot;, etc.), and a space-separated list of file extensions associated with that type. List entries are separated by &quot;----&quot; (horizontal rules).
++&lt;&lt;&lt;
++!!!!!Known Limitations
++&lt;&lt;&lt;
++Internet Explorer does not support the data: URI scheme, and cannot use the //embedded// data to render images or links. However, you can still use the local/remote link definitions to create file attachments that are stored externally. In addition, while it is relatively easy to read local //text// files, reading binary files is not directly supported by IE's ~FileSystemObject (FSO) methods, and other file I/O techniques are subject to security barriers or require additional MS proprietary technologies (like ASP or VB) that make implementation more difficult. As a result, you cannot //create// new attachment tiddlers using IE.
++&lt;&lt;&lt;
++!!!!!Installation
++&lt;&lt;&lt;
++Import (or copy/paste) the following tiddlers into your document:
++* [[AttachFilePlugin]] (tagged with &lt;&lt;tag systemConfig&gt;&gt;)
++* [[AttachFilePluginFormatters]] (&quot;runtime distribution library&quot;) (tagged with &lt;&lt;tag systemConfig&gt;&gt;)
++* ~TraceLog Dialog.png and ~TraceLog Dialog.png //(tagged with &lt;&lt;tag attachment&gt;&gt;)//
++* [[AttachFileMIMETypes]] //(defines binary file types)//
++&gt; Important note: As of version 3.6.0, in order to //render// images and other binary attachments created with this plugin, you must also install [[AttachFilePluginFormatters]], which extends the behavior of the ~TiddlyWiki core formatters for embedded images ({{{[img[tooltip|image]]}}}), linked embedded images ({{{[img[tooltip|image][link]]}}}), and external/&quot;pretty&quot; links ({{{[[label|link]]}}}), so that these formatter will process references to attachment tiddlers as if a normal file reference had been provided. |
++&lt;&lt;&lt;
++!!!!!Revisions
++&lt;&lt;&lt;
++2009.06.04 4.0.0 changed attachment storage format to use //sections// instead of embedded substring markers.
++2008.07.21 3.9.0 Fixup for ~FireFox 3: use HTML with separate text+button control instead of type='file' control
++2008.05.12 3.8.1 automatically add 'attach' task to backstage (moved from ~BackstageTweaks)
++2008.04.09 3.8.0 in onChangeSource(), if source matches current document folder, use relative reference for local link. Also, disable 'embed' when using IE (which //still// doesn't support data: URI)
++2008.04.07 3.7.3 fixed typo in HTML for 'local file link' so that clicking in input field doesn't erase current path/file (if any)
++2008.04.07 3.7.2 auto-create AttachFile shadow tiddler for inline interface
++2008.01.08 [*.*.*] plugin size reduction: documentation moved to ...Info
++2007.12.04 [*.*.*] update for ~TW2.3.0: replaced deprecated core functions, regexps, and macros
++2007.12.03 3.7.1 in createAttachmentTiddler(), added optional &quot;noshow&quot; flag to suppress display of newly created tiddlers.
++2007.10.29 3.7.0 code reduction: removed support for built-in upload to server... on-line hosting of binary attachments is left to the document author, who can upload/host files using 3rd-party web-based services (e.g. www.flickr.com, ) or stand-alone applications (e.g., FTP).
++2007.10.28 3.6.0 code reduction: removed duplicate definition of image and prettyLink formatters. Rendering of attachment tiddlers now //requires// installation of AttachFilePluginFormatters
++2007.03.01 3.5.3 use apply() to invoke hijacked function
++2007.02.25 3.5.2 in hijack of &quot;prettyLink&quot;, fix version check for ~TW2.2 compatibility (prevent incorrect use of fallback handler)
++2007.01.09 3.5.1 onClickAttach() refactored to create separate createAttachmentTiddler() API for use with ~FileDropPluginHandlers
++2006.11.30 3.5.0 in getAttachment(), for local references, add check for file existence and fallback to remote URL if local file not found. Added fileExists() to encapsulate FF vs. IE local file test function (IE FSO object code is TBD).
++2006.11.29 3.4.8 in hijack for ~PrettyLink, 'simple bracketed link' opens tiddler instead of external link to attachment
++2006.11.29 3.4.7 in readFile(), added try..catch around initWithPath() to handle invalid/non-existent paths better.
++2006.11.09 3.4.6 REAL FIX for ~TWv2.1.3: incorporate new ~TW2.1.3 core &quot;prettyLink&quot; formatter regexp handling logic and check for version &lt; 2.1.3 with fallback to old plugin code. Also, cleanup table layout in HTML (added &quot;border:0&quot; directly to table elements to override stylesheet)
++2006.11.08 3.4.5 TEMPORARY FIX for ~TWv2.1.3: disable hijack of wikiLink formatter due to changes in core wikiLink regexp definition. //Links to attachments are broken, but you can still use {{{[img[TiddlerName]]}}} to render attachments as images, as well as {{{background:url('[[TiddlerName]]')}}} in CSS declarations for background images.//
++2006.09.10 3.4.4 update formatters for 2.1 compatibility (use this.lookaheadRegExp instead of temp variable)
++2006.07.24 3.4.3 in prettyLink formatter, added check for isShadowTiddler() to fix problem where shadow links became external links.
++2006.07.13 3.4.2 in getAttachment(), fixed stripping of newlines so data: used in CSS will work
++2006.05.21 3.4.1 in getAttachment(), fixed substring() to extract data: URI (was losing last character, which broken rendering of SOME images)
++2006.05.20 3.4.0 hijack core getRecursiveTiddlerText() to support rendering attachments in stylesheets (e.g. {{{url([[TraceLog Dialog.png]])}}})
++2006.05.20 3.3.6 add &quot;description&quot; feature to easily include notes in attachment tiddler (you can always edit to add them later... but...)
++2006.05.19 3.3.5 add &quot;attach as&quot; feature to change default name for attachment tiddlers. Also, new optional param to specify tiddler name (disables editing)
++2006.05.16 3.3.0 completed ~XMLHttpRequest handling for GET or POST to configurable server scripts
++2006.05.13 3.2.0 added interface for upload feature. Major rewrite of code for clean object definitions. Major improvements in UI interaction and validation.
++2006.05.09 3.1.1 add wikifer support for using attachments in links from &quot;linked image&quot; syntax: {{{[img[tip|attachment1][attachment2]]}}}
++2006.05.09 3.1.0 lots of code changes: new options for attachments that use embedded data and/or links to external files (local or remote)
++2006.05.03 3.0.2 added {{{/%...%/}}} comments around attachment data to hide it when viewing attachment tiddler.
++2006.02.05 3.0.1 wrapped wikifier hijacks in initAttachmentFormatters() function to eliminate globals and avoid ~FireFox 1.5.0.1 crash bug when referencing globals
++2005.12.27 3.0.0 Update for ~TW2.0. Automatically add 'excludeMissing' tag to attachments
++2005.12.16 2.2.0 Dynamically create/remove attachPanel as needed to ensure only one instance of interface elements exists, even if there are multiple instances of macro embedding.
++2005.11.20 2.1.0 added wikifier handler extensions for &quot;image&quot; and &quot;prettyLink&quot; to render tiddler attachments
++2005.11.09 2.0.0 begin port from old ELS Design adaptation based on ~TW1.2.33
++2005.07.20 1.0.0 Initial release (as adaptation)
++&lt;&lt;&lt;</pre>
++</div>
++<div title="BOF, EOF" modifier="Jean-PierreLedure" created="201306230517" modified="201306231430" tags="Properties">
++<pre>The //BOF// property returns a value that indicates whether the current record position is before the first record in a [[Recordset]] object.
++The //EOF// property returns a value that indicates whether the current record position is after the last record in a [[Recordset]] object.
++!!!Applies to ...
++| !Object |!Description |
++|[[Recordset]] |The representation of a set of records derived from a table, a query or an SQL statement. |
++!!!Syntax
++//recordset//{{{.BOF}}}
++//recordset//{{{.EOF}}}
++!!!Returned values
++{{{Boolean}}}
++!!!Remarks
++*You can use the //BOF// and //EOF// properties to determine whether a //Recordset// object contains records or whether you've gone beyond the limits of a //Recordset// object when you move from record to record.
++*If either the //BOF// or //EOF// property is {{{True}}}, there is no current record.
++*If you open a //Recordset// object containing no records, the //BOF// and //EOF// properties are set to {{{True}}}, and the //Recordset// object's [[RecordCount]] property setting is 0. When you open a //Recordset// object that contains at least one record, the first record is the current record and the //BOF// and //EOF// properties are {{{False}}}; they remain {{{False}}} until you move beyond the beginning or end of the //Recordset// object by using the [[MovePrevious|Move (recordset)]] or [[MoveNext|Move (recordset)]] method, respectively. When you move beyond the beginning or end of the //Recordset//, there is no current record or no record exists.
++*If you delete the last remaining record in the //Recordset// object, the //BOF// and //EOF// properties may remain {{{False}}} until you attempt to reposition the current record.
++*Typically, when you work with all the records in a //Recordset// object, your code will loop through the records by using the //~MoveNext// method until the //EOF// property is set to {{{True}}}.
++*If you use the //~MoveNext// method while the //EOF// property is set to {{{True}}} or the //~MovePrevious// method while the //BOF// property is set to {{{True}}}, an error occurs.
++!!!Error messages
++!!!See also
++[[Move|Move (recordset)]]
++[[MoveFirst|Move (recordset)]]
++[[MoveLast|Move (recordset)]]
++[[MoveNext|Move (recordset)]]
++[[MovePrevious|Move (recordset)]]
++[[Recordset]]
++!!!Example
++&lt;&lt;tiddler &quot;OpenRecordset example&quot;&gt;&gt;</pre>
++</div>
++<div title="BackColor" modifier="Jean-Pierre Ledure" created="201108051510" modified="201405291459" tags="Properties" changecount="1">
++<pre>The //~BackColor// property specifies or determines the color (RGB) of the Control's background.
++!!!Applies to ...
++| !Object | !Type when&lt;br /&gt;in a form | !Type when&lt;br /&gt;in a ~GridControl | !Type when&lt;br /&gt;in a Dialog |!Description |
++|[[Control]] |All except&lt;br /&gt;--~GroupBox&lt;br /&gt;~HiddenControl&lt;br /&gt;[[SubForm]]-- | None | All |A control on an open form |
++!!!Syntax
++//control//{{{.BackColor}}}
++//control//{{{.BackColor}}} = //value//
++!!!Returned values / Arguments
++{{{Long}}}
++!!!Remarks
++The //~BackColor// property can be set at [[grid control|GridControl]] level, not at its individual //controls// level.
++!!!Error messages
++|Property '~BackColor' not applicable in this context |
++|Value '...' is invalid for property '~BackColor' |
++!!!See also
++[[BorderColor]]
++[[BorderStyle]]
++[[ForeColor]]
++!!!Example
++&lt;&lt;tiddler &quot;Color example&quot;&gt;&gt;</pre>
++</div>
++<div title="BeginGroup" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201507211510" modified="201507211513" tags="Properties" changecount="2">
++<pre>The //~BeginGroup// property returns {{{True}}} if the specified [[command bar control|CommandBarControl]] appears at the beginning of a group of controls on the command bar. The property is read-only.
++!!!Applies to ...
++| !Object |!Description |
++|[[CommandBarControl]] |A control belonging to a [[CommandBar]]. |
++!!!Syntax
++//commandbarcontrol//{{{.BeginGroup}}}
++!!!Returned values
++{{{Boolean}}}
++!!!Remarks
++!!!Error messages
++!!!See also
++[[CommandBar]]
++[[CommandBarControl]]
++</pre>
++</div>
++<div title="BookMarkTiddler" modifier="Jean-Pierre Ledure" created="201212311155" modified="201407130938" tags="excludeLists" changecount="11">
++<pre>&lt;script&gt;
++if (!window.story) window.story=window;
++var url=&quot;http://www.access2base.com/access2base.html&quot;; //store.getTiddlerText(&quot;SiteUrl&quot;);
++if (!url) url=document.location.href;
++var title=story.findContainingTiddler(place).id.substr(7).replace('_',' ') //var title=story.findContainingTiddler(place).id.substr(7)
++var permalink=encodeURIComponent(String.encodeTiddlyLink(title));
++return &quot;\n&quot;+&quot;|Bookmark this page » » [[&quot;+title+&quot;|&quot;+url+&quot;#&quot;+permalink+&quot;]]|&quot;;
++&lt;/script&gt;
++</pre>
++</div>
++<div title="BookMarksList" modifier="Jean-PierreLedure" created="201212311322" modified="201301162009" tags="excludeLists">
++<pre>*sitemap.xml
++&lt;script&gt;
++var out=&quot;&quot;
++var tids=store.getTiddlers(&quot;title&quot;,&quot;excludeLists&quot;);
++var d=&quot;&quot;
++for (var t=0; t&lt;tids.length; t++) {
++ var url=&quot;http://www.access2base.com/access2base.html&quot;; //store.getTiddlerText(&quot;SiteUrl&quot;);
++ if (!url) url=document.location.href;
++ var permalink=encodeURIComponent(String.encodeTiddlyLink(tids[t].title));
++ d = tids[t].modified.getFullYear() + '-';
++ if (tids[t].modified.getMonth() + 1 &lt; 10) d = d + '0';
++ d = d + (tids[t].modified.getMonth() + 1) + '-';
++ if (tids[t].modified.getDate() &lt; 10) d = d + '0';
++ d = d +tids[t].modified.getDate();
++ out+=&quot;&lt;url&gt;&lt;loc&gt;&quot;+url+&quot;#&quot;+permalink+&quot;&lt;/loc&gt;&lt;lastmod&gt;&quot;+d+&quot;&lt;/lastmod&gt;&lt;/url&gt;&quot;+&quot;\n&quot;;
++}
++return &quot;{{{\n&quot;+out+&quot;\n}}}\n&quot;;
++&lt;/script&gt;
++*urllist.txt
++&lt;script&gt;
++var out=&quot;&quot;
++var tids=store.getTiddlers(&quot;title&quot;,&quot;excludeLists&quot;);
++for (var t=0; t&lt;tids.length; t++) {
++ var url=&quot;http://www.access2base.com/access2base.html&quot;; //store.getTiddlerText(&quot;SiteUrl&quot;);
++ if (!url) url=document.location.href;
++ var permalink=encodeURIComponent(String.encodeTiddlyLink(tids[t].title));
++ out+=url+&quot;#&quot;+permalink+&quot;\n&quot;;
++}
++return &quot;{{{\n&quot;+out+&quot;\n}}}\n&quot;;
++&lt;/script&gt;</pre>
++</div>
++<div title="Bookmark" modifier="Jean-Pierre Ledure" created="201205181512" modified="201408011506" tags="Properties" changecount="1">
++<pre>The //Bookmark// property specifies uniquely the current record of
++*a form's underlying table, query or SQL statement;
++*a //Recordset// object.
++!!!Applies to ...
++| !Object |!Description |
++|[[Form]] |An open form. |
++|[[Recordset]] |A set of records derived from a table, a query or an SQL statement. |
++!!!Syntax
++//form//{{{.Bookmark}}}
++//form//{{{.Bookmark}}} = //value//
++//recordset//{{{.Bookmark}}}
++//recordset//{{{.Bookmark}}} = //value//
++!!!Returned values / Arguments
++{{{Variant}}}
++!!!Remarks
++*There is no rule about the bookmark value returned by the API. That's why the argument must be of type {{{Variant}}}.
++*The {{{value}}} argument refers to the record where to move to.
++*There is no limit to the number of bookmarks you can establish. To create a bookmark for a record other than the current record, move to the desired record and assign the value of the //Bookmark// property to a {{{Variant}}} variable that identifies the record.
++*The //Bookmark// property setting moves the cursor to the row identified by a valid bookmark. If the bookmark could not be located, the result set will be positioned after the last record. If the bookmark is invalid, or not generated by the current result set, then the behaviour is not defined, __even an abnormal termination is possible__.
++*To make sure the //Recordset// object supports bookmarks, check the value of its [[Bookmarkable]] property before you use the //Bookmark// property. If the //Bookmarkable// property is {{{False}}}, the //Recordset// object doesn't support bookmarks, and using the //Bookmark// property results in an error.
++!!!Error messages
++|Form '...' is currently not open |
++|Action rejected in a forward-only or not bookmarkable recordset |
++|Value '...' is invalid for property 'Bookmark' |
++!!!See also
++[[Bookmarkable]]
++[[GoToRecord]]
++[[Move|Move (recordset)]]
++[[MoveFirst|Move (recordset)]]
++[[MoveLast|Move (recordset)]]
++[[MoveNext|Move (recordset)]]
++[[MovePrevious|Move (recordset)]]
++[[Recordset]]
++[[SetFocus]]
++!!!Example
++&lt;&lt;tiddler &quot;Bookmark example&quot;&gt;&gt;
++&lt;&lt;tiddler &quot;Bookmark2 example&quot;&gt;&gt;</pre>
++</div>
++<div title="Bookmark example" modifier="Jean-PierreLedure" created="201205181529" modified="201306231452" tags="[[Snippets of Code]]">
++<pre>Register the actual record of a form
++//{{{
++Global gvBookmark As Variant
++//}}}
++//{{{
++Dim ofForm As Object
++ Set ofForm = Forms(&quot;myForm&quot;)
++ gvBookmark = ofForm.Bookmark
++//}}}
++Later on, for any reason, go back to same record
++//{{{
++Dim ofForm As Object
++ Set ofForm = Forms(&quot;myForm&quot;)
++ ofForm.Bookmark = gvBookmark
++//}}}</pre>
++</div>
++<div title="Bookmark2 example" modifier="Jean-PierreLedure" created="201306231446" modified="201306231450" tags="[[Snippets of Code]]">
++<pre>Walk through a recordset with bookmarks
++//{{{
++Dim oRecordset As Object, vBookmark As Variant
++ Set oRecordset = Application.CurrentDb().OpenRecordset(&quot;SELECT * FROM [ARTICLE]&quot;)
++ With oRecordset
++ .Move(1000)
++ If .Bookmarkable Then
++ vBookmark = .Bookmark
++ .MoveLast
++ MsgBox &quot;Last record = # &quot; &amp; .RecordCount
++ .Bookmark = vBookmark ' Back to bookmarked record
++ End If
++ .mClose() ' Never forget !!
++ End With
++
++//}}}</pre>
++</div>
++<div title="Bookmarkable" modifier="Jean-Pierre Ledure" created="201306231410" modified="201408011506" tags="Properties" changecount="1">
++<pre>The //Bookmarkable// property returns a value that indicates whether a [[Recordset]] object supports bookmarks, which you can set by using the [[Bookmark]] property.
++!!!Applies to ...
++| !Object |!Description |
++|[[Recordset]] |A set of records derived from a table, a query or an SQL statement. |
++!!!Syntax
++//recordset//{{{.Bookmarkable}}}
++!!!Returned values
++{{{Boolean}}}
++!!!Remarks
++Check the Bookmarkable property setting of a //Recordset// object before you attempt to set or check the Bookmark property.
++!!!Error messages
++!!!See also
++[[Bookmark]]
++[[GoToRecord]]
++[[Move|Move (recordset)]]
++[[MoveFirst|Move (recordset)]]
++[[MoveLast|Move (recordset)]]
++[[MoveNext|Move (recordset)]]
++[[MovePrevious|Move (recordset)]]
++[[Recordset]]
++[[SetFocus]]
++!!!Example
++&lt;&lt;tiddler &quot;Bookmark2 example&quot;&gt;&gt;</pre>
++</div>
++<div title="BorderColor" modifier="Jean-Pierre Ledure" created="201107221356" modified="201405291500" tags="Properties" changecount="1">
++<pre>The //~BorderColor// property specifies or determines the color (RGB) of a Control's border.
++!!!Applies to ...
++| !Object | !Type when&lt;br /&gt;in a form | !Type when&lt;br /&gt;in a ~GridControl | !Type when&lt;br /&gt;in a Dialog |!Description |
++|[[Control]] |All except&lt;br /&gt;--~CheckBox&lt;br /&gt;~CommandButton&lt;br /&gt;~GroupBox&lt;br /&gt;~HiddenControl&lt;br /&gt;~NavigationBar&lt;br /&gt;[[RadioButton]]&lt;br /&gt;[[SubForm]]-- | None |All except&lt;br /&gt;--~CheckBox&lt;br /&gt;~CommandButton&lt;br /&gt;~FixedLine&lt;br /&gt;[[RadioButton]]-- |A control on an open form or dialog |
++!!!Syntax
++//control//{{{.BorderColor}}}
++//control//{{{.BorderColor}}} = //value//
++!!!Returned values / Arguments
++{{{Long}}}
++!!!Remarks
++*The //~BorderColor// property is not compatible with all values of the [[BorderStyle]] property.
++*The //~BorderColor// property can be set at [[grid control|GridControl]] level, not at its individual //controls// level.
++!!!Error messages
++|Property '~BorderColor' not applicable in this context |
++|Value '...' is invalid for property '~BorderColor' |
++!!!See also
++[[BackColor]]
++[[BorderStyle]]
++[[ForeColor]]
++!!!Example
++&lt;&lt;tiddler &quot;Color example&quot;&gt;&gt;</pre>
++</div>
++<div title="BorderStyle" modifier="Jean-Pierre Ledure" created="201107221407" modified="201405291501" tags="Properties" changecount="1">
++<pre>The //~BorderStyle// property specifies or determines the style (normal, 3D) of a Control's border.
++!!!Applies to ...
++| !Object | !Type when&lt;br /&gt;in a form | !Type when&lt;br /&gt;in a ~GridControl | !Type when&lt;br /&gt;in a Dialog |!Description |
++|[[Control]] |All except&lt;br /&gt;--~CheckBox&lt;br /&gt;~CommandButton&lt;br /&gt;~GroupBox&lt;br /&gt;~HiddenControl&lt;br /&gt;[[RadioButton]]&lt;br /&gt;[[SubForm]]-- | None |All except&lt;br /&gt;--~CheckBox&lt;br /&gt;~CommandButton&lt;br /&gt;~FixedLine&lt;br /&gt;[[RadioButton]]-- |A control on an open form or dialog |
++!!!Syntax
++//control//{{{.BorderStyle}}}
++//control//{{{.BorderStyle}}} = //value//
++!!!Returned values / Arguments
++{{{Integer}}}
++!!!Remarks
++*The allowed values for ~BorderStyle are:
++&gt;0: No border
++&gt;1: 3D border
++&gt;2: simple border
++*The //~BorderStyle// property can be set at [[grid control|GridControl]] level, not at its individual //controls// level.
++!!!Error messages
++|Property '~BorderStyle' not applicable in this context |
++|Value '...' is invalid for property '~BorderStyle' |
++!!!See also
++[[BorderColor]]
++!!!Example
++&lt;&lt;tiddler &quot;Color example&quot;&gt;&gt;</pre>
++</div>
++<div title="BrowseThruControls" modifier="Jean-PierreLedure" created="201212231108" modified="201308161209" tags="HowTo">
++<pre>(Q) Can I list the value of all controls on a form for debugging purposes ?
++
++(R) Use the [[Controls]] collection on objects and nested objects recursively as shown.
++
++Consider next tables:
++&lt;&lt;tiddler &quot;OrdersTable&quot;&gt;&gt;
++&lt;&lt;tiddler &quot;OrderDetailsTable&quot;&gt;&gt;
++Define a main/sub form based on those tables (wizard is perfect for making the form ...: choose a normal format for the mainform and the grid format for the subform).
++
++Run next code:
++//{{{
++Sub StartBrowseThruControls(ByVal psFormName As String)
++
++Dim oMainForm As Object
++ Set oMainForm = Forms(psFormName)
++ BrowseThruControls(oMainForm)
++
++End Sub
++
++Sub BrowseThruControls(poObject As Object, ByVal Optional piLevel As Integer)
++
++Dim i As Integer, ocControl As Object
++ If IsMissing(piLevel) Then piLevel = 1
++ For i = 0 To poObject.Controls.Count - 1
++ Set ocControl = poObject.Controls(i)
++ Select Case ocControl.SubType
++ Case &quot;SUBFORMCONTROL&quot;
++ DebugPrint piLevel, ocControl.SubType, ocControl.Name
++ BrowseThruControls(ocControl.Form, piLevel + 1)
++ Case &quot;GRIDCONTROL&quot;
++ DebugPrint piLevel, ocControl.SubType, ocControl.Name
++ BrowseThruControls(ocControl, piLevel + 1)
++ Case Else
++ If ocControl.hasProperty(&quot;Value&quot;) Then DebugPrint piLevel, ocControl.SubType, ocControl.Name, ocControl.Value
++ End Select
++ Next i
++
++End Sub
++//}}}
++This will produce next result in the //~Access2Base// console:
++//{{{
++13:23:38 ===&gt; 1 TEXTFIELD txtShipPostalCode 51100
++13:23:38 ===&gt; 1 FORMATTEDFIELD fmtShipVia 3
++13:23:38 ===&gt; 1 DATEFIELD datRequiredDate 01/08/1996
++13:23:38 ===&gt; 1 SUBFORMCONTROL SubForm
++13:23:38 ===&gt; 2 GRIDCONTROL SubForm_Grid
++13:23:38 ===&gt; 3 FORMATTEDFIELD OrderID 10248
++13:23:38 ===&gt; 3 FORMATTEDFIELD Discount 0
++13:23:38 ===&gt; 3 FORMATTEDFIELD ProductID 11
++13:23:38 ===&gt; 3 FORMATTEDFIELD UnitPrice 14
++13:23:38 ===&gt; 3 FORMATTEDFIELD Quantity 12
++13:23:38 ===&gt; 1 DATEFIELD datShippedDate 16/07/1996
++13:23:38 ===&gt; 1 TIMEFIELD timShippedDate 0
++13:23:38 ===&gt; 1 FORMATTEDFIELD fmtEmployeeID 5
++13:23:38 ===&gt; 1 TEXTFIELD txtShipName Vins et alcools Chevalier
++13:23:38 ===&gt; 1 TIMEFIELD timRequiredDate 0
++13:23:39 ===&gt; 1 TEXTFIELD txtShipAddress 59 rue de l'Abbaye
++13:23:39 ===&gt; 1 FORMATTEDFIELD fmtOrderID 10248
++13:23:39 ===&gt; 1 FORMATTEDFIELD fmtFreight 32,38
++13:23:39 ===&gt; 1 DATEFIELD datOrderDate 04/07/1996
++13:23:39 ===&gt; 1 TEXTFIELD txtShipCountry France
++13:23:39 ===&gt; 1 TEXTFIELD txtShipCity Reims
++13:23:39 ===&gt; 1 TEXTFIELD txtShipRegion
++13:23:39 ===&gt; 1 TIMEFIELD timOrderDate 0
++13:23:39 ===&gt; 1 TEXTFIELD txtCustomerID WILMK
++//}}}
++It makes clear:
++*that a subform is a control like any control
++*that the gridcontrol is simply embedded in the subform also like any other control
++!!!See also
++[[DebugPrint]]
++[[Form (subform)]]
++[[hasProperty]]
++[[SubType]]
++[[TraceConsole]]
++!!!Refer to ...
++| !Basic module | !Form | !Form event | !Control | !Control event |!Comments |
++|Browse |~Orders_Browse ||||Open the form manually and run the //Main// Sub from the Basic IDE. |</pre>
++</div>
++<div title="BuiltIn" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201503081654" modified="201503081656" tags="Properties" changecount="4">
++<pre>The //~BuiltIn// property returns {{{True}}} if the specified [[command bar|CommandBar]] or [[command bar control|CommandBarControl]] is a built-in command bar or command bar control of the container window. It returns {{{False}}} if it is a custom command bar or command bar control. The property is read-only.
++!!!Applies to ...
++| !Object |!Description |
++|[[CommandBar]] |The representation of a tool-, menu- or statusbar. |
++|[[CommandBarControl]] |A control belonging to a ~CommandBar. |
++!!!Syntax
++//commandbar//{{{.BuiltIn}}}
++//commandbarcontrol//{{{.BuiltIn}}}
++!!!Returned values
++{{{Boolean}}}
++!!!Remarks
++!!!Error messages
++!!!See also
++[[CommandBar]]
++[[CommandBarControl]]
++!!!Example
++&lt;&lt;tiddler &quot;CommandBar example&quot;&gt;&gt;</pre>
++</div>
++<div title="CalculatedField" modifier="Jean-PierreLedure" created="201206051612" modified="201308161051" tags="HowTo">
++<pre>(Q) How do I simulate a calculated field on a form ? //AOO/~LibO// does not support such fields in forms while //~MSAccess// does.
++
++(R)
++*Make the calculated field {{{Enabled = False}}} in the Control properties sheet.
++*Compute its content in the &quot;After record Change&quot; event.
++
++Let's consider next tables:
++&lt;&lt;tiddler OrdersTable&gt;&gt;
++&lt;&lt;tiddler OrderDetailsTable&gt;&gt;
++The goal is to have a form linked to the {{{Orders}}} table in which a //~SumOfDetails// calculated field contains the sum of the orders as found in the {{{Order Details}}} child records, computed as:
++//{{{
++[Order Details].[UnitPrice] * [Order Details].[Quantity] * (1 - [Order Details].[Discount])
++//}}}
++!!!(1) Solution by computing the field in Basic
++Store next code in the &quot;After record Change&quot; event of the form :
++//{{{
++Sub ComputeOrderTotal(poEvent As Object)
++Dim oeEvent As Object, ofForm As Object, ocSum As Object, vOrderId As Variant
++ Set oeEvent = Events(poEvent)
++ If Not IsNull(oeEvent) Then
++ Set ofForm =oeEvent.Source
++ vOrderId = ofForm.Controls(&quot;OrderID&quot;).Value
++ If Not IsEmpty(vOrderId) Then
++ Set ocSum = ofForm.Controls(&quot;SumOfDetails&quot;)
++ ocSum.Value = DSum(&quot;[Order Details].[UnitPrice] * [Order Details].[Quantity] * (1 - [Order Details].[Discount])&quot; _
++ , &quot;[Order Details]&quot;, &quot;[Order Details].[OrderID]=&quot; &amp; vOrderId)
++ End If
++ End If
++End Sub
++//}}}
++!!!(2) Solution with SQL only
++This solution is preferable whenever possible.
++To have an idea of the functions built in HSQLDB, look at [[HSLQB Built-in functions|http://wiki.openoffice.org/wiki/Built-in_functions_and_Stored_Procedures]].
++Associate the form with next SQL command and the Calculated field with the //~TotalOrder// database field :
++//{{{
++SELECT &quot;Orders&quot;.&quot;OrderID&quot;, &quot;Orders&quot;.&quot;OrderDate&quot;, &quot;Orders&quot;.&quot;ShipAddress&quot;, &quot;Orders&quot;.&quot;ShipCity&quot;,
++ SUM( &quot;Order Details&quot;.&quot;UnitPrice&quot; * &quot;Order Details&quot;.&quot;Quantity&quot; * ( 1 - &quot;Order Details&quot;.&quot;Discount&quot; ) ) AS &quot;TotalOrder&quot;
++ FROM &quot;Order Details&quot;, &quot;Orders&quot; WHERE &quot;Order Details&quot;.&quot;OrderID&quot; = &quot;Orders&quot;.&quot;OrderID&quot;
++ GROUP BY &quot;Orders&quot;.&quot;OrderID&quot;, &quot;Orders&quot;.&quot;OrderDate&quot;, &quot;Orders&quot;.&quot;ShipAddress&quot;, &quot;Orders&quot;.&quot;ShipCity&quot;
++//}}}
++!!!See also
++[[Events Handler]]
++[[getObject]]
++[[DSum]]
++[[Forms]]
++[[Controls]]
++!!!Refer to ...
++| !Solution | !Basic module | !Form | !Form event | !Control | !Control event |!Comments |
++| (1) |~CalculatedField |~Orders_CalculatedField |After Record change |||
++| (2) |~|~Orders_CalculatedFieldGrid ||~|~|</pre>
++</div>
++<div title="CalculatorDialog" modifier="YourName" created="201304121636" modified="201806200930" tags="HowTo" changecount="2">
++<pre>(Q) Can a numeric field be edited thru a Calculator widget like Base forms propose a Calendar widget for date fields ?
++
++(R) A calculator can be implemented as a [[Dialog]]. When the dialog is closed the computed result is copied into the concerned form field.
++
++The solution must implement a //as easy as possible// programming AND user interface from the initial form event activating the calculator up to the final copy of the result into the numeric form field.
++See the suggested implementation in the //Calculator// form of the provided examples database: a button with a nice calculator icon opens the dialog.
++
++Steps:
++!!!!Make a form containing the targeted numeric fields and one button by such field.
++Link the //Execute action// event of each button with a macro similar to next one. One macro by each field/button pair.
++//{{{
++Sub StartCalculator(poEvent As Object)
++' StartCalculator should be adapted to user's need:
++' - it is assumed to be activated from an appropriate button
++' - the field to compute is assumed in the same form or subform as the button
++' - the field to compute must be of type NUMERICFIELD or CURRENCYFIELD
++' - the name of the field to compute should be set in next line
++' - The 3rd argument is optional. True = initialize calculator with field current value
++
++ Call StartCalcDialog(poEvent, &quot;TargetCalcField&quot;, True)
++
++End Sub
++//}}}
++Of course adapt the code to your needs !
++!!!!--Design a calculator such as-- ... Export and re-import next calculator dialog ...
++[img[calculator.png]]
++!!!!The code behind the //~StartCalcDialog// Sub
++The code is stored in the //Calculator// module of the provided example file. It is inspired by an old [[sample code from Microsoft|http://groups.engin.umd.umich.edu/CIS/course.des/cis400/vbasic/calcode.txt]].
++It is generic enough to adapt the display of the decimal point to the locale settings.
++
++1. The current status of the Calculator is constantly maintained in next variables
++//{{{
++Type CalcBuffer
++ DisplayField As Object ' Display window on calculator dialog
++ Operand1 As Double ' 1st Operand
++ Operand2 As Double ' 2nd Operand
++ DisplayText As String ' To display in dialog
++ NumberOfOperands As Integer ' 1 or 2
++ DecimalPoint As Boolean ' Decimal point present yet ?
++ LastInput As String ' Indicate type of last keypress event (NONE, CE, NUMS, NEG, OPS)
++ PendingOperation As String ' Indicate pending operation (+, -, *, /)
++ LocalePoint As String ' Local decimal point
++End Type
++
++Public gCalc As CalcBuffer
++Const cstStdFormat = &quot;General Number&quot; ' Format of display in calculator
++//}}}
++2. Next Sub (the core Sub) checks the arguments, manages the display of the dialog window, and copies the result in the original numeric field if the OK button is pressed:
++//{{{
++Sub StartCalcDialog(poEvent, ByVal psFieldName As String, Optional ByVal pbCopy As Boolean)
++
++Dim ocFieldToCompute As Object, ocButton As Object, ofForm As Object, oDialog As Object
++Dim i As Integer, bFound As Boolean, iDialog As Integer
++ Set ocButton = Application.Events(poEvent).Source
++ If ocButton.ObjectType &lt;&gt; &quot;CONTROL&quot; Then Exit Sub
++
++ If IsMissing(pbCopy) Then pbCopy = True
++
++ 'Check field name exists
++ Set ofForm = ocButton.Parent ' ofForm could be a form or a subform !
++ bFound = False
++ For i = 0 To ofForm.Controls().Count - 1
++ Set ocFieldToCompute = ofForm.Controls(i)
++ If UCase(ocFieldToCompute.Name) = UCase(psFieldName) Then
++ bFound = True
++ Exit For
++ End If
++ Next i
++ If Not bFound Then
++ TraceLog(&quot;ERROR&quot;, &quot;Field name &quot; &amp; psFieldName &amp; &quot; not found in form or subform &quot; &amp; ofForm.Name)
++ Exit Sub
++ End If
++
++ 'Check field is of admitted types
++ If ocFieldToCompute.SubType &lt;&gt; &quot;NUMERICFIELD&quot; And ocFieldToCompute.SubType &lt;&gt; &quot;CURRENCYFIELD&quot; Then
++ TraceLog(&quot;ERROR&quot;, &quot;Field &quot; &amp; psFieldName &amp; &quot; is not numeric&quot;)
++ Exit Sub
++ End If
++
++Const dlgOK = 1 ' OK button pressed
++Const dlgCancel = 0 ' Cancel button pressed
++ Set oDialog = Application.AllDialogs(&quot;dlgCalc&quot;)
++ oDialog.Start
++
++ ' Initialize gCalc
++ gCalc.DisplayField = oDialog.Controls(&quot;CalcDisplay&quot;)
++ gCalc.LocalePoint = Right(Format(0,&quot;General Number&quot;),1)
++ If pbCopy Then
++ gCalc.Operand1 = ocFieldToCompute.Value
++ gCalc.Operand2 = gCalc.Operand1
++ gCalc.DisplayText = Join(Split(Format(gCalc.Operand1, cstStdFormat), &quot;,&quot;), &quot;.&quot;)
++ gCalc.DecimalPoint = ( Abs(gCalc.Operand1 - Fix(gCalc.Operand1)) &gt; 0 )
++ gCalc.NumberOfOperands = 1
++ gCalc.LastInput = &quot;OPS&quot;
++ gCalc.PendingOperation = &quot;=&quot;
++ Else
++ gCalc.LastInput = &quot;NONE&quot;
++ gCalc.NumberOfOperands = 0
++ gCalc.PendingOperation = &quot; &quot;
++ gCalc.DecimalPoint = False
++ gCalc.Operand1 = 0
++ gCalc.Operand2 = 0
++ End If
++
++ 'Load dialog
++ gCalc.DisplayField.Value = Format(gCalc.Operand1, cstStdFormat)
++ oDialog.Controls(&quot;BtnPoint&quot;).Caption = gCalc.LocalePoint ' Set decimal point button to locale setting
++ iDialog = oDialog.Execute
++ Select Case iDialog
++ Case dlgOK
++ ocFieldToCompute.Value = gCalc.Operand1
++ Case dlgCancel
++ End Select
++
++ oDialog.Terminate
++ Exit Sub
++End Sub
++//}}}
++3. The calculator should react to each activation of any button in the dialog box. Link all buttons - except //OK// and //Cancel// - //Execute action// event to next Sub:
++//{{{
++Sub CalcButtonPressed(poEvent As Object)
++
++Dim oEvent As Object, sName As String, oButton As Object, oDisplay As Object, sChar As String
++ Set oEvent = Application.Events(poEvent)
++ If oEvent.EventType &lt;&gt; &quot;ACTIONEVENT&quot; Then Exit Sub
++
++ Set oButton = oEvent.Source
++ sName = UCase(oButton.Name)
++ Select Case sName
++ Case &quot;BTNADD&quot; : sChar = &quot;+&quot;
++ Case &quot;BTNSUB&quot; : sChar = &quot;-&quot;
++ Case &quot;BTNMULT&quot; : sChar = &quot;*&quot;
++ Case &quot;BTNDIV&quot; : sChar = &quot;/&quot;
++ Case &quot;BTNENTER&quot; : sChar = &quot;=&quot;
++ Case &quot;BTNCLEAR&quot; : sChar = &quot;C&quot;
++ Case &quot;BTNCE&quot; : sChar = &quot;CE&quot;
++ Case &quot;BTNINVERT&quot; : sChar = &quot;1/x&quot;
++ Case &quot;BTNPOINT&quot; : sChar = &quot;.&quot;
++ Case Else : sChar = Right(sName, 1) ' DIGIT !!
++ End Select
++ Call ProcessKey(sChar)
++ Exit Sub
++
++End Sub
++//}}}
++4. In addition, the caculator should react in the same way when the equivalent key is pressed. Link the //Key pressed// event of the //~CalcDisplay// field (i.e. the display of the calculator) to next Sub:
++//{{{
++Sub CalcKeyPressed(poEvent As Object)
++
++Dim oEvent As Object, oDisplay As Object, sChar As String
++ Set oEvent = Application.Events(poEvent)
++ If oEvent.EventType &lt;&gt; &quot;KEYEVENT&quot; Then Exit Sub
++
++'Accepted keys: 0-9, BACKSPACE, C, ESCAPE, dot, comma, +, -, *, /, %, =, ENTER.
++'All other keys ignored
++ With oEvent
++ Select Case True ' Both KeyCode and KeyChar used to be generic across all keyboards and OS's
++ Case .KeyAlt, .KeyCtrl : Beep : Exit Sub ' Ignore if associated with Alt or Ctrl
++ Case .KeyCode = com.sun.star.awt.Key.ESCAPE Or UCase(.KeyChar) = &quot;C&quot; : sChar = &quot;C&quot;
++ Case .KeyCode = com.sun.star.awt.Key.BACKSPACE : sChar = &quot;CE&quot;
++ Case .KeyCode = com.sun.star.awt.Key.RETURN Or .KeyCode = com.sun.star.awt.Key.EQUAL Or .KeyChar = &quot;=&quot;
++ sChar = &quot;=&quot;
++ Case .KeyCode = com.sun.star.awt.Key.ADD Or .KeyChar = &quot;+&quot; : sChar = &quot;+&quot;
++ Case .KeyCode = com.sun.star.awt.Key.SUBTRACT Or .KeyChar = &quot;-&quot; : sChar = &quot;-&quot;
++ Case .KeyCode = com.sun.star.awt.Key.MULTIPLY Or .KeyChar = &quot;*&quot; : sChar = &quot;*&quot;
++ Case .KeyCode = com.sun.star.awt.Key.DIVIDE Or .KeyChar = &quot;/&quot; Or .KeyChar = &quot;:&quot;
++ sChar = &quot;/&quot;
++ Case .KeyChar = &quot;_&quot; : sChar = &quot;1/x&quot;
++ Case .KeyCode = com.sun.star.awt.Key.DECIMAL Or .KeyCode = com.sun.star.awt.Key.POINT _
++ Or .KeyCode = com.sun.star.awt.Key.COMMA Or .KeyChar = &quot;.&quot; Or .KeyChar = &quot;,&quot;
++ sChar = &quot;.&quot;
++ Case .KeyChar &gt;= &quot;0&quot; And .KeyChar &lt;= &quot;9&quot; : sChar = .KeyChar
++ Case .KeyCode &gt;= com.sun.star.awt.Key.NUM0 And .KeyCode &lt;= com.sun.star.awt.Key.NUM9
++ sChar = Trim(Str(.KeyCode - com.sun.star.awt.Key.NUM0))
++ Case Else : Beep : Exit Sub
++ End Select
++ End With
++
++ Call ProcessKey(sChar)
++ Exit Sub
++
++End Sub
++//}}}
++5. Now the real processing of the entered key or the clicked button:
++//{{{
++Sub ProcessKey(ByVal psChar As String)
++' Process gCalc structure based on argument
++
++Dim sDisplayText As String
++Const cstMax = 999999999999
++
++ Select Case psChar
++ Case &quot;C&quot; ' Cancel
++ gCalc.DisplayText = Format(0, &quot;0.&quot;)
++ gCalc.Operand1 = 0
++ gCalc.Operand2 = 0
++ gCalc.NumberOfOperands = 0
++ gCalc.PendingOperation = &quot; &quot;
++ gCalc.LastInput = &quot;NONE&quot;
++ Case &quot;CE&quot; ' Cancel entry
++ gCalc.DisplayText = Format(0, &quot;0.&quot;)
++ gCalc.DecimalPoint = False
++ gCalc.LastInput = &quot;CE&quot;
++ Case &quot;.&quot; ' Decimal point
++ ' If last keypress was an operator, initialize DisplayText to &quot;0.&quot;
++ ' Otherwise, append a decimal point to the display.
++ If gCalc.DecimalPoint Then
++ Beep
++ Else
++ If gCalc.LastInput = &quot;NEG&quot; Then
++ gCalc.DisplayText = Format(0, &quot;-0.&quot;)
++ ElseIf gCalc.LastInput &lt;&gt; &quot;NUMS&quot; Then
++ gCalc.DisplayText = Format(0, &quot;0.&quot;)
++ End If
++ gCalc.DecimalPoint = True
++ gCalc.LastInput = &quot;NUMS&quot;
++ End If
++ Case &quot;+&quot;, &quot;-&quot;, &quot;*&quot;, &quot;/&quot;, &quot;=&quot; ' Arithmetic operators
++ ' If the immediately preceeding keypress was part of a number, increment DecimalPoint. If one operand is present,
++ ' set Operand1. If two are present, set Operand1 equal to the result of the operation on Operand1 and the current
++ ' input string, and display the result.
++ sDisplayText = gCalc.DisplayText
++ If gCalc.LastInput = &quot;NUMS&quot; Then
++ gCalc.NumberOfOperands = gCalc.NumberOfOperands + 1
++ End If
++ Select Case gCalc.NumberOfOperands
++ Case 0
++ If psChar = &quot;-&quot; And gCalc.LastInput &lt;&gt; &quot;NEG&quot; Then
++ gCalc.DisplayText = &quot;-&quot; &amp; gCalc.DisplayText
++ gCalc.LastInput = &quot;NEG&quot;
++ End If
++ Case 1
++ gCalc.Operand1 = Val(gCalc.DisplayText)
++ If psChar = &quot;-&quot; And gCalc.LastInput &lt;&gt; &quot;NUMS&quot; And gCalc.PendingOperation &lt;&gt; &quot;=&quot; Then
++ gCalc.DisplayText = &quot;-&quot;
++ gCalc.LastInput = &quot;NEG&quot;
++ End If
++ Case 2
++ gCalc.Operand2 = Val(sDisplayText)
++ Select Case gCalc.PendingOperation
++ Case &quot;+&quot;
++ gCalc.Operand1 = gCalc.Operand1 + gCalc.Operand2
++ Case &quot;-&quot;
++ gCalc.Operand1 = gCalc.Operand1 - gCalc.Operand2
++ Case &quot;*&quot;
++ gCalc.Operand1 = gCalc.Operand1 * gCalc.Operand2
++ Case &quot;/&quot;
++ If Sgn(gCalc.Operand2) = 0 Then
++ gCalc.Operand1 = cstMax * Sgn(gCalc.Operand1)
++ Else
++ gCalc.Operand1 = gCalc.Operand1 / gCalc.Operand2
++ End If
++ Case &quot;=&quot;
++ gCalc.Operand1 = gCalc.Operand2
++ End Select
++ gCalc.DisplayText = Join(Split(Format(gCalc.Operand1, cstStdFormat), &quot;,&quot;), &quot;.&quot;)
++ gCalc.NumberOfOperands = 1
++ End Select
++ If gCalc.LastInput &lt;&gt; &quot;NEG&quot; Then
++ gCalc.LastInput = &quot;OPS&quot;
++ gCalc.PendingOperation = psChar
++ End If
++ Case &quot;1/x&quot; ' Invert result
++ If gCalc.LastInput = &quot;NUMS&quot; Then gCalc.Operand1 = Val(gCalc.DisplayText)
++ If Sgn(gCalc.Operand1) = 0 Then
++ gCalc.Operand1 = cstMax
++ Else
++ gCalc.Operand1 = 1 / gCalc.Operand1
++ End If
++ gCalc.LastInput = &quot;OPS&quot;
++ gCalc.DisplayText = Join(Split(Format(gCalc.Operand1, cstStdFormat), &quot;,&quot;), &quot;.&quot;)
++ Case Else ' DIGIT
++ ' Append new number to the number in the display.
++ If gCalc.LastInput &lt;&gt; &quot;NUMS&quot; Then
++ gCalc.DisplayText = Format(0, &quot;.&quot;)
++ gCalc.DecimalPoint = False
++ End If
++ If gCalc.DecimalPoint Then
++ gCalc.DisplayText = gCalc.DisplayText &amp; psChar
++ Else
++ gCalc.DisplayText = Left(gCalc.DisplayText, InStr(gCalc.DisplayText, &quot;.&quot;) - 1) &amp; psChar &amp; &quot;.&quot;
++ End If
++ If gCalc.LastInput = &quot;NEG&quot; Then gCalc.DisplayText = &quot;-&quot; &amp; gCalc.DisplayText
++ gCalc.LastInput = &quot;NUMS&quot;
++ End Select
++
++ 'DebugPrint psChar, gCalc.Operand1, gCalc.Operand2, gCalc.PendingOperation, gCalc.NumberOfOperands, gCalc.LastInput, gCalc.DisplayText
++ gCalc.DisplayField.Value = Join(Split(gCalc.DisplayText, &quot;.&quot;), gcalc.LocalePoint)
++ Exit Sub
++
++End Sub
++//}}}
++!!!See also
++[[Dialog]]
++[[Control]]
++[[Events Handler]]
++!!!Refer to ...
++| !Basic module | !Form | !Form event | !Control | !Control event |!Comments |
++|Calculator |Calculator ||Calculator |Execute action |Enter an optional initial value and click on the icon. |
++|~|dlgCalc&lt;br /&gt;(dialog) |~|cmd0...9&lt;br /&gt;btnClear&lt;br /&gt;btnCE&lt;br /&gt;btnAdd&lt;br /&gt;btnSub&lt;br /&gt;btnMult&lt;br /&gt;btnDiv&lt;br /&gt;btnEnter&lt;br /&gt;btnInvert |Execute action ||
++|~|~|~|~CalcDisplay |Key pressed |~|</pre>
++</div>
++<div title="Cancel" modifier="Jean-PierreLedure" created="201107221501" modified="201306151418" tags="Properties">
++<pre>The //Cancel// property specifies if a command button has or not the behaviour of a Cancel button.
++!!!Applies to ...
++| !Oobject | !Type when&lt;br /&gt;in a form | !Type when&lt;br /&gt;in a ~GridControl | !Type when&lt;br /&gt;in a dialog |!Description |
++|[[Control]] |~CommandButton | None |~CommandButton |A control on an open form or dialog |
++!!!Syntax
++//control//{{{.Cancel}}}
++//control//{{{.Cancel}}} = //value//
++!!!Returned values / Arguments
++{{{Boolean}}}
++!!!Remarks
++!!!Error messages
++|Property 'Cancel' not applicable in this context |
++|Value '...' is invalid for property 'Cancel' |
++!!!See also
++[[Default]]
++!!!Example
++&lt;&lt;tiddler &quot;Cancel &amp; Default example&quot;&gt;&gt;</pre>
++</div>
++<div title="Cancel &amp; Default example" modifier="Jean-PierreLedure" created="201107221501" modified="201212021555" tags="[[Snippets of Code]]">
++<pre>Display the status of a command button
++//{{{
++Dim ocControl As Object
++ Set ocControl = getObject(&quot;Forms!myForm!cmdButton&quot;)
++ MsgBox &quot;Cancel=&quot; &amp; ocControl.Cancel &amp; &quot; - Default=&quot; &amp; ocControl.Default
++//}}}</pre>
++</div>
++<div title="CancelUpdate" modifier="Jean-PierreLedure" created="201307191636" modified="201307211501" tags="Methods">
++<pre>Cancels any pending updates for a [[Recordset object|Recordset]].
++!!!Applies to ...
++| !Object | !Description |
++|[[Recordset]] |A set of records derived from a table, a query or an SQL statement. |
++!!!Syntax
++//recordset//{{{.CancelUpdate()}}}
++!!!Returned value
++{{{True}}} if success.
++!!!Remarks
++*You can use the //~CancelUpdate// method to cancel any pending updates resulting from an [[Edit]] or [[AddNew]] operation. For example, if a user invokes the //Edit// or //~AddNew// method and hasn't yet invoked the [[Update]] method, //~CancelUpdate// cancels any changes made after //Edit// or //~AddNew// was invoked.
++*Check the [[EditMode property|EditMode]] of the //Recordset// to determine if there is a pending operation that can be canceled.
++*Using the //~CancelUpdate// method has the same effect as moving to another record without using the //Update// method, except that the current record doesn't change, and various properties, such as [[BOF|BOF, EOF]] and [[EOF|BOF, EOF]], aren't updated.
++!!!Error Messages
++!!!See also
++[[AddNew]]
++[[CancelUpdate]]
++[[Close|Close (method)]]
++[[CloseAllRecordsets]]
++[[DefaultValue]]
++[[Edit]]
++[[Update]]
++[[Value|Value (field)]]
++!!!Example
++&lt;&lt;tiddler &quot;CancelUpdate example&quot;&gt;&gt;</pre>
++</div>
++<div title="CancelUpdate example" modifier="Jean-Pierre Ledure" created="201307191637" modified="201405241103" tags="[[Snippets of Code]]" changecount="3">
++<pre>Modify the last record in a table fter user confirmation
++//{{{
++Dim oRecordset As Object
++Const cstYesNo = 4
++Const cstYes = 6
++ Set oRecordset = Application.CurrentDb().OpenRecordset(&quot;Expenses&quot;) ' &quot;Expenses&quot; = a table
++ With oRecordset
++ .MoveLast
++ .Edit
++ .Fields(&quot;AMOUNT&quot;).Value = 9876
++ If MsgBox(&quot;Do you confirm ?&quot;, cstYesNo, &quot;Update record&quot;) = cstYes Then .Update Else .CancelUpdate
++ .mClose
++ End With
++//}}}</pre>
++</div>
++<div title="Caption" modifier="Jean-Pierre Ledure" created="201107161810" modified="201507121359" tags="Properties" changecount="6">
++<pre>The //Caption// property specifies the text string appearing in the title bar of a [[form|Form]] or a [[dialog|Dialog]].
++When related to a [[Control]] the //Caption// property refers to the text associated with the control.
++When the control belongs to a [[GridControl]] the //Caption// property specifies the column header.
++When related to a [[CommandBarControl]] the //Caption// property refers to the text displayed in the button.
++!!!Applies to ...
++| !Object | !Type when&lt;br /&gt;in a form | !Type when&lt;br /&gt;in a ~GridControl | !Type when in a Dialog |!Description |
++|[[Form]] ||||An open form. |
++|[[Dialog]] |~|~|~|An active dialog. |
++|[[Control]] | ~CheckBox&lt;br /&gt;~CommandButton&lt;br /&gt;~FixedText&lt;br /&gt;~GroupBox&lt;br /&gt;[[RadioButton]] | All | ~CheckBox&lt;br /&gt;~CommandButton&lt;br /&gt;~FixedLine&lt;br /&gt;~FixedText&lt;br /&gt;~GroupBox&lt;br /&gt;[[RadioButton]] |A control on an open form, dialog or within a [[GridControl]] of one of the listed types. |
++|[[CommandBarControl]] ||||An element within a [[CommandBar]]. |
++!!!Syntax
++//form//{{{.Caption}}}
++//form//{{{.Caption}}} = //value//
++//dialog//{{{.Caption}}}
++//dialog//{{{.Caption}}} = //value//
++//control//{{{.Caption}}}
++//control//{{{.Caption}}} = //value//
++//commandbarcontrol//{{{.Caption}}}
++!!!Returned values / Arguments
++{{{String}}}
++!!!Remarks
++When applied to a ~CommandBarControl, the //Caption// property is read-only.
++!!!Error messages
++|Form '...' is currently not open |
++|Dialog '...' not active |
++|Value '...' is invalid for property 'Caption' |
++!!!Examples
++&lt;&lt;tiddler &quot;Caption examples&quot;&gt;&gt;</pre>
++</div>
++<div title="Caption examples" modifier="Jean-Pierre Ledure" created="201107161808" modified="201603281008" tags="[[Snippets of Code]]" changecount="1">
++<pre>Display and change form title bar
++//{{{
++Dim ofForm As Object
++ Set ofForm = Forms(&quot;myForm&quot;)
++ MsgBox ofForm.Caption
++ ofForm.Caption = &quot;New title&quot;
++//}}}
++Change a checkbox label
++//{{{
++Dim ocCheckBox As Object
++ ocCheckBox = getObject(&quot;Forms!myForm!myChkBox&quot;)
++ If ocCheckBox.Value Then
++ ocCheckBox.Caption = &quot;Checked&quot;
++ Else
++ ocCheckBox.Caption = &quot;Unchecked&quot;
++ End If
++//}}}</pre>
++</div>
++<div title="CarryToNewRecord" modifier="Jean-PierreLedure" created="201212231039" modified="201308161123" tags="HowTo">
++<pre>(Q) How do I carry forward the current value of a control so that it's automatically entered for all new records?
++
++(R) To use the current control value for new records, you need to assign it to the defaultvalue of the control.
++
++Consider next table:
++&lt;&lt;tiddler &quot;CustomersTable&quot;&gt;&gt;
++Then if a form is built on above table, link next code to the &quot;After record change&quot; event of the form:
++//{{{
++Sub SetDefaultNewRec(poEvent As Object)
++
++Dim ofForm As Object, ocControl As Object
++ Set ofForm = Events(poEvent).Source ' Get the current form
++ Set ocControl = ofForm.Controls(&quot;txtCountry&quot;)
++ ocControl.DefaultValue = ocControl.Value
++
++End Sub
++//}}}
++The //country// field will appear initialized with its value in the current record if the user enters a new record.
++!!!See also
++[[Events Handler]]
++[[DefaultValue]]
++[[Value]]
++!!!Refer to ...
++| !Basic module | !Form | !Form event | !Control | !Control event |!Comments |
++|~NewRec |~Customers_NewRec |After record change |||Go to whichever record, then click on the //new record// button. |</pre>
++</div>
++<div title="CategoriesTable" modifier="Jean-PierreLedure" created="201308161556" modified="201308161557" tags="HowTo">
++<pre>*Categories table
++| !Fields | !Field Type | !Primary |
++|~CategoryName | Text ||
++|Description | Text ||
++|Picture | Binary ||
++|~CategoryID | ~BigInt | Y |</pre>
++</div>
++<div title="Chunk example" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201603121447" modified="201603121449" tags="[[Snippets of Code]]" changecount="3">
++<pre>Copy a binary field to another, whatever its size
++//{{{
++Dim oTable As Object, oBinField1 As Object, oBinField2 As Object
++Dim lFieldSize As Long, vBinary As Variant
++
++ Set oTable = Application.CurrentDb().OpenRecordset(&quot;myTable&quot;)
++ With oTable
++ .MoveFirst
++ Set oBinField1 = .Fields(&quot;myFld1&quot;)
++ Set oBinField2 = .Fields(&quot;myFld2&quot;)
++ lFieldSize = 0
++ .Edit
++ Do While lFieldSize &lt; oBinField1.FieldSize
++ vBinary = oBinField1.GetChunk(lFieldSize, 100000)
++ lFieldSize = lFieldSize + UBound(vBinary) + 1
++ oBinField2.AppendChunk(vBinary)
++ Loop
++ .Update
++ .mClose
++ End With
++//}}}</pre>
++</div>
++<div title="Clone" modifier="Jean-PierreLedure" created="201307201254" modified="201307201425" tags="Methods">
++<pre>Creates a duplicate [[Recordset object|Recordset]] that refers to the original //Recordset// object..
++!!!Applies to ...
++| !Object | !Description |
++|[[Recordset]] |A set of records derived from a table, a query or an SQL statement. |
++!!!Syntax
++//recordset//{{{.Clone()}}}
++!!!Returned value
++A {{{recordset}}} object.
++!!!Remarks
++*Use the //Clone// method to create multiple, duplicate //Recordset// objects. Each //Recordset// can have its own current record. Using //Clone// by itself doesn't change the data in the objects or in their underlying structures. When you use the //Clone// method, you can share bookmarks between two or more //Recordset// objects because their bookmarks are interchangeable.
++*You can use the //Clone// method when you want to perform an operation on a //Recordset// that requires multiple current records. When created the current record of the clone is the first record if it exists.
++*A cloned //Recordset// is always read-only.
++*It is forbidden to use the //Clone// method on a cloned //Recordset//.
++*The cloned //Recordset(s)// must be closed __before__ the original //Recordset//.
++!!!Error Messages
++|Cloning a cloned Recordset is forbidden |
++!!!See also
++[[Close|Close (method)]]
++[[OpenRecordset]]
++!!!Example
++&lt;&lt;tiddler &quot;Clone example&quot;&gt;&gt;</pre>
++</div>
++<div title="Clone example" modifier="Jean-PierreLedure" created="201307201444" modified="201307201445" tags="[[Snippets of Code]]">
++<pre>Use a cloned recordset to move to a bookmark without changing the current record
++//{{{
++Dim oRecordset1 As Object, oRecordset2 As Object, vBookmark As Variant
++ Set oRecordset1 = Application.CurrentDb().OpenRecordset(&quot;SELECT * FROM [PRODUCTS]&quot;)
++ oRecordset1.Move(300)
++ DebugPrint oRecordset1.Fields(&quot;DENOMINATION&quot;).Value
++ vBookmark = oRecordset1.Bookmark
++ Set oRecordset2 = oRecordset1.Clone() ' Bookmarks become interchangeable
++ oRecordset1.MoveLast ' Continue navigation
++ oRecordset2.Bookmark = vBookmark
++ DebugPrint orecordset2.Fields(&quot;DENOMINATION&quot;).Value
++ oRecordset2.mClose() ' First close clone
++ oRecordset1.mClose()
++//}}}</pre>
++</div>
++<div title="Close" modifier="Jean-Pierre Ledure" created="201201021657" modified="201603190816" tags="Actions" changecount="5">
++<pre>{{firstletter{
++ @@color:#930;T@@
++ }}}he //Close// action closes an object (table, query, form or report).
++&lt;&lt;tiddler &quot;ApplyDoCmd&quot;&gt;&gt;
++!!!Syntax
++{{{[DoCmd.]mClose(}}}//{{{ObjectType, ObjectName, Save}}}//{{{)}}}
++| !Argument | !Optional | !Type&lt;br /&gt;or&lt;br /&gt;Symbol |!Description |
++|{{{ObjectType}}} | No | acTable&lt;br /&gt;acQuery&lt;br /&gt;acForm&lt;br /&gt;acReport |The type of object to close. |
++|{{{ObjectName}}} | No | String |The name of the object to close. This argument is NOT case-sensitive. |
++|{{{Save}}} | Yes | acSavePrompt |Indicates if a prompt to the user will prevent from closing without saving. acSavePrompt is the only supported value. |
++The symbolic constants can be included in your code by copying and pasting next lines:
++//{{{
++Const acForm = 2
++Const acQuery = 1
++Const acReport = 3
++Const acTable = 0
++
++Const acSavePrompt = 0
++//}}}
++!!!Remarks
++*The {{{ObjectName}}} object must exist in the database document (&quot;.odb&quot; file). However if it is not open, the command has no effect.
++*If the object is a table or a query, and the object is not open, running the //Close// action will open the Table or Query and close it immediately.
++*The //Close// action is not allowed from a non-Base document containing [[standalone forms|Standalone Forms]].
++!!!Error messages
++|Table (or form or query or report) '...' could not be closed |
++|Table (or form or query or report) '...' not found |
++!!!See also
++[[OpenForm]]
++[[OpenQuery]]
++[[OpenReport]]
++[[OpenTable]]
++!!!Example
++//{{{
++ DoCmd.mClose(acTable, &quot;myTable&quot;)
++//}}}</pre>
++</div>
++<div title="Close (method)" modifier="Jean-Pierre Ledure" created="201212291505" modified="201405240739" tags="Methods" changecount="3">
++<pre>{{firstletter{
++ @@color:#930;T@@
++ }}}he //Close// method closes the targeted object.
++!!!Applies to ...
++| !Object | !Description |
++|[[Database]] |The representation of a database opened with the [[OpenDatabase]] method. |
++|[[Form]] |The representation of an open form. |
++|[[Recordset]] |The representation of a set of records. |
++!!!Syntax
++//database//{{{.mClose()}}}
++//form//{{{.mClose()}}}
++//recordset//{{{.mClose()}}}
++!!!Remarks
++When applied to a __database object__:
++*A database object opened with //~OpenDatabase// should not remain open longer than strictly needed.
++*Recordsets derived from the database object should be closed __before__ the database object.
++When applied to a __form object__:
++*The //Close// method is equivalent to the [[Close]] action when applied to the same form.
++*The //Close// method is not allowed from a [[standalone form|Standalone Forms]] contained in a non-Base (Calc, Writer, ...) document.
++When applied to a __recordset object__:
++*After processing a recordset should be closed as soon as possible.
++*To close all open recordsets at once, use the [[CloseAllRecordsets]] method.
++*Once a //recordset// has been closed, all [[Field objects|Field]] objects derived from its [[Fields collection|Fields]] must not be used anymore.
++!!!Error messages
++Processing is never interrupted when the //Close// method is invoked.
++!!!See also
++[[OpenDatabase]]
++[[OpenForm]]
++[[OpenRecordset]]
++[[CloseAllRecordsets]]
++!!!Example
++//{{{
++Dim ofForm As Object
++ ofForm = Forms(&quot;myForm&quot;)
++ ofForm.mClose()
++//}}}
++&lt;&lt;tiddler &quot;OpenRecordset example&quot;&gt;&gt;</pre>
++</div>
++<div title="CloseAllRecordsets" modifier="Jean-Pierre Ledure" created="201306291005" modified="201405240712" tags="Methods" changecount="1">
++<pre>{{firstletter{
++ @@color:#930;T@@
++ }}}he //~CloseAllrecordsets// method closes all the currently open [[recordsets|Recordset]] in the current database.
++After processing a recordset should be closed as soon as possible. To close all open recordsets at once, use the //~CloseAllRecordsets// method.
++!!!Applies to ...
++| !Object | !Description |
++|[[Database]] |The representation of a connected database. |
++!!!Syntax
++//database//{{{.CloseAllrecordsets()}}}
++!!!Remarks
++The current database can be retrieved by using the [[CurrentDb]] method applied either to the [[Application]] object, or to a [[form|Form]] object
++!!!Error messages
++Processing is never interrupted when the //~CloseAllrecordsets// method is invoked.
++!!!See also
++[[OpenRecordset]]
++[[Close (method)]]
++!!!Example
++//{{{
++ Application.CurrentDb().CloseAllrecordsets()
++//}}}</pre>
++</div>
++<div title="CloseConnection" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201408311544" modified="201409111620" tags="Methods" changecount="10">
++<pre>{{firstletter{
++ @@color:#930;T@@
++ }}}he invocation of the //~CloseConnection// as a Sub is ''recommended'' but not mandatory before closing a document invoking the //~Access2Base// API.
++&lt;&lt;tiddler &quot;ApplyApplication&quot;&gt;&gt;
++!!!Syntax
++{{{Call [Application.]CloseConnection ()}}}
++!!!Remarks
++*The invocation of //~CloseConnection// has next effects:
++**All the [[recordsets|Recordset]] related to a database linked to the current document are closed.
++**The [[database object(s)|Database]] is(are) released.
++*It is recommended to have all open embedded forms closed before calling //~CloseConnection//.
++*Calling //~CloseConnection// is best done from a //&quot;View is going to be closed&quot;// document event.
++*After //~CloseConnection// the [[CurrentDb]] function returns {{{Nothing-}}} (to be tested with the {{{IsNull()}}} Basic function).
++*If needed, __for database documents only__ (&quot;*.odb&quot; files) the connection can be re-established with the [[OpenConnection]] method. For [[Standalone Forms]] an //~OpenConnection// request invoked after a //~CloseConnection// invocation will be ignored.
++&lt;&lt;tiddler &quot;RunWithoutConnection&quot;&gt;&gt;
++!!!See also
++[[Database]]
++[[CurrentDb]]
++[[Install]]
++{{OpenConnection]]
++[[OpenDatabase]]
++[[Standalone Forms]]
++</pre>
++</div>
++<div title="Coding Conventions" modifier="Jean-Pierre Ledure" created="201106251413" modified="201405240738" tags="[[Snippets of Code]]" changecount="1">
++<pre>This page details the conventions used in the coding of the //~Access2Base// API.
++!!Library and Modules
++*The acConstants module lists constants that are used in the API. They are defined as //Global//. Their name is identical as in ~MSAccess. Their value is in most cases identical to that of ~MSAccess, however not always. The scope of global constants is limited to one single library. As a consequence their definition may freely be copied and pasted to make them available in user libraries.
++*The reserved words are //~Proper-Cased// showing the same appearance as in the IDE of ~MSAccess.
++!!Functions and Subroutines
++*~OpenOffice/~LibreOffice ignores the Private/Public attribute in Functions or Subs declarations. Nevertheless the attribute must be present. Rules for use are:
++| !Attribute | !Sub/Function Naming | !When |
++|Public |Starts with a letter |The Sub/Function belongs to the ~Access2Base API. As such it may be called from any other library developed by the user. |
++|Public |Starts with an underscore &quot;_&quot; |The Sub/Function must be called only from within the ~Access2Base library. As such it MUST NOT be called from another library as there is no guarantee about the arguments, the logic or even the existence of that piece of code in a later release. |
++|Private |The Sub/Function must start with an underscore &quot;_&quot; |The Sub/Function must be called only from the module in which it is located |
++*Functions and Subroutines belonging to the API (= &quot;standard&quot; functions/Subs) are defined in their module in alphabetical order.
++*Functions and Subroutines not belonging to the API are defined in their module in alphabetical order below the standard ones.
++*The return value of a function is always declared explicitly.
++*The parameters are always declared explicitly even if they're variants.
++*The Function and Sub declarations start at the 1^^st^^ column of the line.
++*The End Function/Sub statement is followed by a comment reminding the name of the function or sub.
++!!Variable declarations
++*The //Option Explicit// statement is mandatory in every module.
++*The Global, Dim and Const statements always start in the first column of the line.
++*The type (Dim ... As ..., Function ... As ...) is always declared explicitly, even if the type is Variant.
++*Variables are //~Proper-Cased//. They are always preceded by a lower-case letter indicating their type. With next exception: variables i, j, k, l, m and n must be declared as integers.
++| !First letter | !Type |
++| b |Boolean |
++| d |Date |
++| v |Variant |
++| o |Object |
++| i |Integer |
++| l |Long|
++| s |String |
++{{indent{Example:{{{ Dim sValue As String}}}
++*Parameters are preceded by the letter //p// which itself precedes the single typing letter. Like in:&lt;br /&gt;{{{Public Function MyFunction(psValue As String) As Variant}}}
++*Object variables are preceded by the letter o followed by their type:
++| !First letter | !Type |
++| db |Database |
++| f |Form or Subform |
++| c |Control |
++| e |Event |
++| p |Property |
++{{indent{like in:{{{ Dim ocControl As Object}}}
++*Global variables in the ~Access2Base library are ALL preceded by an underscore &quot;_&quot; as NONE of them should be invoked from outside the library.
++*Constant values with a local scope are //~Proper-Cased// and preceded by the letters //cst//.
++*Constants with a global scope are //~UPPER-CASED//
++Example
++//{{{
++Global Const ACONSTANT = &quot;This is a global constant&quot;
++Function MyFunction(pocControl As Object, piValue) As Variant
++Dim iValue As Integer
++Const cstMyConstant = 3
++//}}}
++!Goto
++The //Goto// statement is forbidden.
++It is however highly recommended for __error__ and __exception__ handling.
++</pre>
++</div>
++<div title="Collection" modifier="Jean-Pierre Ledure" created="201106251010" modified="201612181348" tags="Definitions" changecount="15">
++<pre>A //Collection// contains a list of other objects.
++The individual members of the collection are accessible either via their index or via their name. The name is NOT case-sensitive.
++!!!Collections
++A //Collection// object is returned by next functions
++| !Function |!Description |
++|[[AllDialogs]] |{{{AllDialogs()}}} without argument returns the //Collection// of all [[dialogs|Dialog]] present in any of the accessible dialog libraries |
++|[[AllForms]] |{{{AllForms()}}} without argument returns the //Collection// of all [[forms|Form]] defined in the current Base or non-Base document |
++|[[AllModules]] |{{{AllModules()}}} without argument returns the //Collection// of all [[ùodules|Module]] present in any of the accessible Basic libraries |
++|[[CommandBars]] |{{{CommandBars()}}} without argument returns the //Collection// of all toolbars associated with the current ~LibO/AOO window. |
++|[[CommandBarControls]] |{{{myCommandBar.CommandBarControls()}}} returns the //Collection// of all the controls of the //commandbar// designated by //~myCommandBar// |
++|[[Controls]] |{{{myObject.Controls()}}} returns the //Collection// of all the controls of a //form//, a //dialog//, a [[subform|SubForm]] or a [[gridcontrol|GridControl]] designated by the object //myObject// |
++|[[Events]] |{{{Events(event)}}} returns the current [[event|Event]] object |
++|[[Fields]] |{{{myObject.Fields()}}} returns the //Collection// of all the [[fields|Field]] of a //table//, a //query// or a //recordset// designated by the object //myObject// |
++|[[Forms]] |{{{Forms()}}} without argument returns the //Collection// of all open //forms// |
++|[[Properties|Properties (collection)]] |{{{myObject.Properties()}}} returns the //Collection// of all [[properties|Property]] of the object //myObject// |
++|[[QueryDefs]] |{{{CurrentDb().QueryDefs()}}} without argument returns the //Collection// of all [[queries|QueryDef]] in the database |
++|[[Recordsets]] |{{{CurrentDb().Recordsets()}}} without argument returns the //Collection// of all currently open [[recordsets|Recordset]] |
++|[[TableDefs]] |{{{CurrentDb().TableDefs()}}} without argument returns the //Collection// of all [[tables|TableDef]] in the database |
++|[[TempVars]] |{{{Application.TempVars()}}} without argument returns the //Collection// of all [[temporary variables|TempVar]] in the current ~LibO/AOO session |
++!!!Properties
++| !Property |!Description |
++|[[Count]] |Number of items in the //Collection//. The first item of the //Collection// has the range //0//; the last one has the range //Count - 1// |
++|[[Item]] |Return the collection member identified by its //index// or its //name// |
++!!!Remarks
++Next pair of expressions are one by one equivalent:
++//{{{
++collection.Item(iIndex)
++collection.Item(sName)
++//}}}
++and
++//{{{
++collection(iIndex)
++collection(sName)
++//}}}
++!!!Methods
++| !Method | !Collection |!Description |
++|[[Add]] |[[TableDefs]]&lt;br /&gt;[[TempVars]] |The Add method either&lt;br /&gt;- finalizes the creation of a new table initiated with the [[CreateTableDef]] method,&lt;br /&gt;- or creates a new //~TempVar// object. |
++|[[Delete|Delete (table-query)]] |[[TableDefs]]&lt;br /&gt;[[QueryDefs]] |The Delete method erases a table or a query object from the //~TableDefs// or //~QueryDefs// collections. |
++|[[Remove]] | [[TempVars]] |The Remove method erases a tempvar object from the //~TempVars// collection. |
++|[[RemoveAll]] | [[TempVars]] |The ~RemoveAll method erases all tempvar objects from the //~TempVars// collection. |
++!!!Example
++&lt;&lt;tiddler &quot;Collection example&quot;&gt;&gt;</pre>
++</div>
++<div title="Collection example" modifier="Jean-Pierre Ledure" created="201107030853" modified="201409271530" tags="[[Snippets of Code]]" changecount="6">
++<pre>To display the name of all forms
++//{{{
++Dim i As Integer, oCollection As Object
++ Set oCollection = AllForms 'AllForms without argument returns a Collection object
++ For i = 0 To oCollection.Count - 1
++ Print oCollection.Item(i).Name, 'AllForms collects Form objects
++ Next i
++ Print
++//}}}</pre>
++</div>
++<div title="Collections" modifier="Jean-Pierre Ledure" created="201106251410" modified="201107011456" tags="Menu">
++<pre></pre>
++</div>
++<div title="Color example" modifier="Jean-PierreLedure" created="201107221351" modified="201212021537" tags="[[Snippets of Code]]">
++<pre>Modify colors depending on value in field (typically in After Record Change form event)
++//{{{
++Dim ocControl As Object, vValue As Variant
++Dim lBlack As Long, lRed As Long, lYellow As Long, lWhite As Long
++ Set ocControl = getObject(&quot;Forms!myForm!myControl&quot;)
++ vValue = getValue(ocControl)
++ If Not IsNull(vValue) Then
++ lRed = RGB(255, 0, 0)
++ lBlack = RGB(0, 0, 0)
++ lYellow = RGB(255, 255, 0)
++ lWhite = RGB(255, 255, 255)
++ With ocControl
++ If vValue &gt; 100 Then
++ .BorderColor = lRed
++ .ForeColor = lRed
++ .BackColor = lYellow
++ .BorderStyle = 2
++ Else
++ .BorderColor = lBlack
++ .ForeColor = lBlack
++ .BackColor = lWhite
++ .BorderStyle = 0
++ End If
++ End With
++ End If
++//}}}</pre>
++</div>
++<div title="ComboBox" modifier="Jean-Pierre Ledure" created="201108171019" modified="201405300636" tags="[[Special controls]]" changecount="4">
++<pre>{{firstletter{
++ @@color:#930;A@@
++ }}} //~ComboBox// describes a combo box control. It has specific properties to manage the input list of potential values and to select one of them programmatically.
++A ~ComboBox control is returned by the [[Controls]] collection or by the [[getObject]] shortcut.
++!!!Specific properties for combo box management
++| !Property | !Read only | !Description |
++|[[ItemData]] | Y |Returns the data for the specified row in a ~ComboBox or [[ListBox]]. |
++|[[ListCount]] | Y |Determines the number of rows in a [[ListBox]] or the list box portion of a ~ComboBox. |
++|[[ListIndex]] ||Determines which item is selected in a [[ListBox]] or a ~ComboBox. |
++|[[RowSource]] ||Specifies the source of the data in a [[ListBox]] or a ~ComboBox. |
++|[[RowSourceType]] ||Specifies the source (tablename, queryname or SQL statement) of the data in a [[ListBox]] or a ~ComboBox. |
++|[[Value]] ||Specifies the value currently selected in the ~ComboBox. |
++!!!Methods
++| !Method | !Argument(s) | !Return | !Description |
++|[[getProperty]] | property | Variant |Return the value of the given property. |
++|[[hasProperty]] | property | Boolean |Return True if the ~ComboBox has the given property. |
++|[[Requery]] ||~|True if data reloaded in the ~ComboBox |
++|[[SetFocus]] | none |~|Return True if focus set on Control successfully. |
++|[[setProperty]] | property&lt;br /&gt;value |~|Return True if the given property could be set. |
++!!!Remarks
++!!!See also
++[[ListBox]]
++!!!Example
++&lt;&lt;tiddler &quot;ComboBox example&quot;&gt;&gt;</pre>
++</div>
++<div title="ComboBox example" modifier="Jean-PierreLedure" created="201108171112" modified="201303301231" tags="[[Snippets of Code]]">
++<pre>Display the options of the combo
++//{{{
++Dim i As Integer, ocCombo As Object
++ Set ocCombo = getObject(&quot;Forms!myForm!myComboBox&quot;)
++ For i = 0 To ocCombo.ListCount - 1
++ Print i &amp; &quot; - &quot; &amp; ocCombo.ItemData(i),
++ Next i
++ Print
++//}}}
++Modify current selection position and find new value
++//{{{
++Dim ocCombo As Object
++ ocCombo.ListIndex = 2
++ Print ocCombo.Value
++//}}}</pre>
++</div>
++<div title="CommandBar" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201503071346" modified="201507201615" tags="Objects" changecount="9">
++<pre>{{firstletter{
++ @@color:#930;A@@
++ }}} //~CommandBar// [[object|Object Model]] describes a toolbar, the menubar or the statusbar.
++!!!Functions returning a commandbar object
++| !Parent object | !Function | !Type | !Argument |!Description |
++|[[Application]] |[[CommandBars]] | [[Collection]] | Integer or String |{{{Application.CommandBars(&quot;myCommandbar&quot;)}}} returns an object corresponding with the {{{myCommandbar}}} custom toolbar. |
++!!!Properties
++| !Property | !Type | !Read only | !Description or UNO object |
++|[[BuiltIn]] || Y |True if the toolbar is a system toolbar. |
++|[[Name]] || Y |Specifies the real name of the toolbar |
++|[[ObjectType]] || Y |Returns &quot;COMMANDBAR&quot; |
++|[[Visible]] |||Shows or hides the coomandbar. |
++!!!Methods
++| !Method | !Argument(s) | !Return | !Description |
++|[[Reset]] || Boolean |Reset the tool- or menubar to its initial values. Return {{{True}}} if success.. |
++!!!Remarks
++Each //~CommandBar// [[object|Object Model]] has a ~CommandBarControls [[collection|Collection]], that contains all controls on the commandbar. You can refer to a specific control on a commandbar by referring either to the [[Controls]] or the [[CommandBarControls]] collections.
++!!!Example
++&lt;&lt;tiddler &quot;CommandBar example&quot;&gt;&gt;</pre>
++</div>
++<div title="CommandBar example" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201503081702" tags="[[Snippets of Code]]" changecount="1">
++<pre>Reset all built-in toolbars to their initial status
++//{{{
++Dim i As Integer, oCommandBar As Object
++ SelectObject(acForm, &quot;myForm&quot;)
++ For i = 0 To Application.CommandBars().Count - 1
++ Set oCommandBar = Application.CommandBars(i)
++ If oCommandBar.BuiltIn Then oCommandBar.Reset
++ Next i
++//}}}</pre>
++</div>
++<div title="CommandBarControl" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201507121304" modified="201507251220" tags="Objects" changecount="14">
++<pre>{{firstletter{
++ @@color:#930;A@@
++ }}} //~CommandBarControl// object is a member of the [[CommandBarControls collection|CommandBarControls]] related to the [[CommandBar]] object.
++!!!Function returning a control object
++| !Parent object | !Function | !Type | !Arguments |!Short example |
++|[[CommandBar]] | [[CommandBarControls]] | [[Collection]] | None&lt;br /&gt;Integer, Long |{{{CommandBars(&quot;myToolbar&quot;).CommandBarControls(&quot;myControl&quot;)}}}&lt;br /&gt;Returns an object of type {{{CommandBarControl}}} referring to the {{{myControl}}} element in the {{{myToolbar}}} toolbar. |
++!!!Properties
++| !Property | !Read only |!Description |
++|[[BeginGroup]] | Y |Gets {{{True}}} if the specified command bar control appears at the beginning of a group of controls on the command bar. |
++|[[BuiltIn]] | Y |Gets {{{True}}} if the specified command bar control is a built-in control of the container [[CommandBar]]. |
++|[[Caption]] | Y |Gets the caption text for a command bar control. |
++|[[Index]] | Y |Gets an {{{Integer}}} representing the index number for a ~CommandBarControl object in the collection. |
++|[[ObjectType]] | Y |Returns &quot;COMMANDBARCONTROL&quot;. |
++|[[OnAction]] ||Gets or sets the name of a command or a Basic procedure that will run when the user clicks the ~CommandBarControl. |
++|[[Parent]] | Y |Gets the Parent object for the ~CommandBarControl object. |
++|[[TooltipText]] ||Gets or sets the text displayed in a ~CommandBarControl's ~ScreenTip.|
++|[[Type]] | Y |Returns msoControlButton (=1). |
++|[[Visible]] ||Specifies the visible/hidden status of the ~CommandBarControl. |
++!!!Methods
++| !Method | !Argument(s) | !Return | !Description |
++|[[getProperty]] | property | Variant |Return the value of the given property. |
++|[[Execute|Execute (commandbarcontrol)]] | None | Boolean |Runs the procedure or built-in command assigned to the specified ~CommandBarControl control. |
++|[[hasProperty]] | property |~|Return True if the Control has the given property. |
++|[[setProperty]] | property&lt;br /&gt;value |~|Return True if the given property could be set. |
++!!!Remarks
++!!!Example
++&lt;&lt;tiddler &quot;CommandBarControl example&quot;&gt;&gt;</pre>
++</div>
++<div title="CommandBarControl example" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201507251220" modified="201507251408" tags="[[Snippets of Code]]" changecount="9">
++<pre>List all the actions related to the targeted toolbar
++Force a new //~OnAction// command and its tooltip in the 4th button of the MYFORMTOOLBAR toolbar
++Execute that new action
++//{{{
++Dim i As Integer, j As Integer, oCommandBar As Object, oCommandBarControls As Object, oCommandBarControl As Object
++ DoCmd.SelectObject(acForm, &quot;myForm&quot;)
++ For i = 0 To Application.CommandBars().Count - 1
++ Set oCommandBar = Application.CommandBars(i)
++ If oCommandBar.Name = &quot;MYFORMTOOLBAR&quot; And oCommandBar.Visible Then
++ Set oCommandBarControls = oCommandBar.CommandBarControls()
++ For j = 0 To oCommandBarControls.Count - 1
++ Set oCommandBarControl = oCommandBarControls.Item(j)
++ With oCommandBarControl
++ DebugPrint oCommandBar.Name, .Index, .OnAction
++ If .Index = 4 Then
++ .OnAction = &quot;FullScreen&quot;
++ .TooltipText = &quot;Toggle full screen mode&quot;
++ .Execute()
++ End If
++ End With
++ Next j
++ End If
++ Next i
++//}}}</pre>
++</div>
++<div title="CommandBarControls" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201503141307" modified="201507211601" tags="Collections" changecount="7">
++<pre>The //~CommandBarControls// collection describes instances of [[CommandBarControl]] objects present in a [[CommandBar]].
++!!!Syntax
++//commandbar//{{{.CommandBarControls()}}}
++//commandbar//{{{.CommandBarControls(}}}//index//{{{)}}}
++//commandbar//{{{.Controls()}}}
++//commandbar//{{{.Controls(}}}//index//{{{)}}}
++| !Argument #1 | !Type |!Returned value |
++|| absent |A [[Collection]] object |
++| index | integer&lt;br&gt;long |A [[CommandBarControl]] object corresponding to the index-th item in the {{{CommandBarControls()}}} collection. The 1st control is {{{CommandBarControls(0)}}}, the 2nd is {{{CommandBarControls(1)}}} and so on ... The last one has as index {{{CommandBarControls.Count - 1}}}.|
++!!!Remarks
++*The //~CommandBarControls// collection can not be browsed by name.
++*An error message will be raised if the //~CommandBar// is the status bar (name = &quot;statusbar&quot;) or if the //~CommandBar// is hidden.
++!!!Error messages
++|Argument nr. 1 [Value = '...'] is invalid |
++|Out of array range or incorrect array size |
++|Action not applicable in this context |
++!!!See also ...
++[[CommandBar]]
++[[CommandBarControl]]
++[[SelectObject]]
++!!!Examples</pre>
++</div>
++<div title="CommandBars" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201502281443" modified="201507201612" tags="Collections" changecount="15">
++<pre>The //~CommandBars// collection describes instances of all __toolbars__ or menu bars present in the currently selected document, whenever visible or hidden. The document might be any ~LibreOffice/~OpenOffice document, a Base form or report, etc. It is in fact the ~LibO/AOO window that is active at the moment the //~CommandBars()// method is invoked. The concerned commandbars might be system toolbars, the menu bar, the status bar or any user-defined toolbar.
++&lt;&lt;tiddler &quot;ApplyApplication&quot;&gt;&gt;
++!!!Syntax
++{{{[Application.]CommandBars()}}} or {{{CommandBars()}}}
++{{{[Application.]CommandBars(index)}}}
++{{{[Application.]CommandBar(toolbarname)}}}
++| !Argument #1 | !Type |!Returned value |
++|| absent |A [[Collection]] object |
++| index | integer&lt;br&gt;long |A [[CommandBar]] object corresponding to the index-th item in the ~CommandBars() collection. The 1st commandbar is ~CommandBars(0), the 2nd is ~CommandBars(1) and so on ... The last one is ~CommandBars.Count - 1.|
++| toolbarname | string |A [[CommandBar]] object having the argument as name. The argument is NOT case-sensitive.|
++!!!Remarks
++*The //toolbarname// argument is not case sensitive.
++*The current list of available toolbars and menu items is highly context-dependent. The context is very often determined by the prior execution of the [[SelectObject]] action on the targeted window or document.
++*The purpose of the //~CommandBars// collection is first of all to allow making individual toolbars visible or hidden programmatically. Its purpose is NOT to modify toolbars or defining new ones. Toolbars are __static by design__. Use the {{{Tools + Customize}}} menu commands to modify them. Additionally, some properties of [[CommandBarControls|CommandBarControl]] are updatable.
++*Most items returned by the //~CommandBars// collection are __toolbars__. Two items however are specific: their names are &quot;menubar&quot; and &quot;statusbar&quot;. Their meaning is self-explanatory.
++!!!Error messages
++|Argument nr. 1 [Value = '...'] is invalid |
++|Out of array range or incorrect array size |
++|~CommandBar &quot;...&quot; not found |
++!!!See also ...
++[[CommandBar]]
++[[CommandBarControl]]
++[[SelectObject]]
++!!!Examples
++&lt;&lt;tiddler &quot;CommandBars example&quot;&gt;&gt;
++</pre>
++</div>
++<div title="CommandBars example" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201502281521" modified="201503071343" tags="[[Snippets of Code]]" changecount="4">
++<pre>List all builtin or custom toolbars, stored in ~LibO/AOO software or in document itself
++//{{{
++Dim i As Integer, oCommandBar As Object
++ SelectObject(acForm, &quot;myForm&quot;)
++ For i = 0 To Application.CommandBars().Count - 1
++ Set oCommandBar = Application.CommandBars(i)
++ DebugPrint Right(&quot;0&quot; &amp; (i + 1), 2), oCommandBar.Name
++ Next i
++//}}}</pre>
++</div>
++<div title="Connect" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201611111346" modified="201611111358" tags="Properties" changecount="5">
++<pre>The //Version// property the connection string between the //Base document// and the effective database system.
++That string appears in the status bar of the //database window// that appears when the //Base document// gets opened.
++!!!Aplies to ...
++| !Object | !Description |
++|[[Database]] |A database object returned by the [[CurrentDb]] or [[OpenDatabase]] methods. |
++!!!Syntax
++{{{database.Connect}}}
++!!!Returned values
++{{{String}}}
++!!!Remarks
++The //Connect// property is read-only.
++!!!Error messages
++!!!See also
++[[CurrentUser]]
++[[ProductCode]]
++[[Version]]
++!!!Example
++&lt;&lt;tiddler &quot;Connect example&quot;&gt;&gt;</pre>
++</div>
++<div title="Connect example" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201611111355" tags="[[Snippets of Code]]" changecount="1">
++<pre>//{{{
++ MsgBox Application.CurrentDb.Connect
++//}}}</pre>
++</div>
++<div title="Contact" modifier="Jean-PierreLedure" created="201210051452" modified="201305090843" tags="NoTag">
++<pre>*To contribute to this piece of software ...
++*To search for help about its use ...
++*For any question you could have ...
++If your request is of public interest, post it on the [[OpenOffice Community forum|http://forum.openoffice.org/en/forum/viewtopic.php?f=47&amp;t=61447]] preferably in the proposed thread, or otherwise in the //Base// or //Macros and API// rubrics.
++As a third option, send a private message to the user &quot;JPL&quot; on the same forum. Messages in english, french or dutch are welcome.
++
++&gt;Proposals for contributions to translations of ~Access2Base into other languages should be addressed via a private message.&lt;br /&gt;(Translating into a new language takes +/- 2 hours ...)</pre>
++</div>
++<div title="Control" modifier="YourName" created="201107191447" modified="201802211017" tags="Objects" changecount="10">
++<pre>{{firstletter{
++ @@color:#930;A@@
++ }}} //Control// [[object|Object Model]] describes one of the Controls of an open [[form|Form]], a [[subform|SubForm]], a [[dialog|Dialog]], a [[gridcontrol|GridControl]] or an [[options group|OptionGroup]]. Each control will be retrieved as a member of the [[Controls]] [[collection|Collection]] of its corresponding parent.
++NB: Subforms and gridcontrols are themselves controls and retrieved like other controls as a member of a collection.
++!!!Functions returning a control object
++| !Parent object | !Function | !Type | !Arguments |!Short example |
++|[[Form]]&lt;br /&gt;[[SubForm]]&lt;br /&gt;[[Control]]&lt;br /&gt;[[OptionGroup]]&lt;br /&gt;[[Dialog]] |[[Controls]] | [[Collection]] | None&lt;br /&gt;Integer, Long&lt;br /&gt;String |{{{Forms(&quot;myForm&quot;).Controls(&quot;myControl&quot;)}}}&lt;br /&gt;Returns an object of type {{{Control}}} referring to the {{{myControl}}} control in the {{{myForm}}} form. {{{myForm}}} must be open. |
++||[[getObject]] || String |{{{getObject(&quot;Forms!myForm!myControl&quot;)}}} returns an object referring to the {{{myControl}}} control in the {{{myForm}}} form. {{{myForm}}} must be open. |
++!!!Control types
++The distinct control types can be recognized thru the use either of the [[SubType]] (string) or the [[ControlType]] (integer) properties. The ~ControlType property is proposed in //~Access2Base// for compatibility with ~MSAccess.
++See the correspondence table below.
++&lt;&lt;tiddler &quot;ControlTypesList&quot;&gt;&gt;
++!!!Properties
++| !Property | !Type | !Read only |!Description or UNO object |
++|[[Name]] || Y |Specifies the exact name of the control |
++|BackColor (*) |||Specifies the color of the interior of a control. |
++|BorderColor (*) |||Specifies the color of a control's border. |
++|BorderStyle (*) |||Specifies how a control's border appears. |
++|[[Cancel]] (*) |||Specifies whether a command button is also the Cancel button on a form. |
++|[[Caption]] |||Specifies the label associated with a control.&lt;br /&gt;If the control is located within a ~GridControl, the Caption specifies the column heading. |
++|[[ControlSource]] || Y |Specifies what data appears in a control. |
++|[[ControlTipText]] |||Specifies the text that appears in a ~ScreenTip when you hold the mouse pointer over a control. |
++|[[ControlType]] || Y |Specifies the type of a control. |
++|[[Default]] (*) |||specifies whether a ~CommandButton is the default button on a form. |
++|[[DefaultValue]] |||Specifies a value that is automatically entered in a field when a new record is created. |
++|[[Enabled]] |||Specifies if the cursor can access the control. |
++|[[FontBold]]&lt;br /&gt;[[FontItalic]]&lt;br /&gt;[[FontName]]&lt;br /&gt;[[FontSize]]&lt;br /&gt;[[FontUnderline]]&lt;br /&gt;[[FontWeight]]&lt;br /&gt;[[ForeColor]]&lt;br /&gt;(*) |||Specify the font characteristics. |
++|[[Form|Form (subform)]] (*) || Y |Returns the [[SubForm]] object corresponding with the ~SubForm control. |
++|[[Format]] |||Returns the way numbers, dates, times, and text are displayed |
++|[[ItemData]] || Y |Returns the data for the specified row in a [[ComboBox]] or a [[ListBox]]. |
++|[[ListCount]] || Y |Determines the number of rows in a [[ListBox]] or the list box portion of a [[ComboBox]]. |
++|[[ListIndex]] |||Determines which item is selected in a [[ListBox]] or a [[ComboBox]]. |
++|[[Locked]] |||Specifies whether you can edit data in a control. |
++|[[MultiSelect]] (*) |||Specifies whether a user can make multiple selections in a [[ListBox]] on a form. |
++|[[ObjectType]] || Y |Returns &quot;CONTROL&quot; |
++|[[On ... events|On (control event)]] |||Specifies which function is triggered when a control event occurs. |
++|[[OptionValue]] (*) || Y |Specifies the value that is stored in the database when a [[RadioButton]] is selected and the record saved. |
++|[[Page]] |||Defines the page on which the control is visible. |
++|[[Parent]] || Y |Returns the parent object of the control. |
++|[[Picture]] |||Specifies the image to be displayed in an ~ImageControl or ~ImageButton control. |
++|[[Required]] |||Specifies whether a control must contain a value when the record is edited. |
++|[[RowSource]] |||Specifies the source of the data in a [[ListBox]] or a [[ComboBox]]. |
++|[[RowSourceType]] |||Specifies the source (tablename, queryname or SQL statement) of the data in a [[ListBox]] or a [[ComboBox]]. |
++|[[Selected]] |||Specifies if an item in the data proposed by a [[ListBox]] is currently selected. |
++|[[SubType]] || Y |Specifies the type of a control. |
++|[[TabIndex]] (*) |||Specifies a control's place in the tab order on a form. |
++|[[TabStop]] (*) |||Specifies whether you can use the TAB key to move the focus to a control. |
++|[[Tag]] |||Stores extra information about a control. |
++|[[Text]] || Y |Sets or returns the text contained in a text box (or similar). |
++|[[TextAlign]] |||Specifies the alignment of the text in a control. |
++|[[TripleState]] |||Specifies how a //~CheckBox// wll display Null values. |
++|[[Value]] |||Specifies the value contained in a control. |
++|[[Visible]] (*) |||Specifies if a control is visible or hidden. |
++|~ControlModel | UNO | Y |com.sun.star.comp.forms.~XXXModel |
++|~ControlView | UNO | Y |com.sun.star.comp.forms.~XXXControl |
++|~BoundField | UNO | Y |com.sun.star.sdb.~ODataColumn |
++|~LabelControl | UNO | Y |com.sun.star.form.component.~FixedText&lt;br /&gt;com.sun.star.form.component.~GroupBox |
++(*) Not applicable to controls belonging to a [[GridControl]].
++!!!Methods
++| !Method | !Argument(s) | !Return | !Description |
++|[[getProperty]] | property | Variant |Return the value of the given property. |
++|[[hasProperty]] | property | Boolean |Return True if the Control has the given property. |
++|[[SetFocus]] | none |~|Return True if focus set on Control successfully. |
++|[[setProperty]] | property&lt;br /&gt;value |~|Return True if the given property could be set. |
++!!!Remarks
++!!!Example
++&lt;&lt;tiddler &quot;Control example&quot;&gt;&gt;</pre>
++</div>
++<div title="Control example" modifier="Jean-PierreLedure" created="201107221017" modified="201212021650" tags="[[Snippets of Code]]">
++<pre>List all the controls of a form having the Visible property
++//{{{
++Dim ofForm As Object, ocControl As Object, i As Integer, iCount As Integer
++ Set ofForm = Forms(&quot;myForm&quot;)
++ iCount = ofForm.Controls.Count
++ For i = 0 To iCount - 1
++ Set ocControl = ofForm.Controls(i)
++ If ocControl.hasProperty(&quot;Visible&quot;) Then Print ocControl.Name &amp; &quot;:&quot; &amp; ocControl.SubType
++ Next i
++ Print
++//}}}</pre>
++</div>
++<div title="ControlSource" modifier="Jean-Pierre Ledure" created="201107221516" modified="201603271529" tags="Properties" changecount="2">
++<pre>The //~ControlSource// property specifies the database field bound to the [[Control]].
++!!!Applies to ...
++| !Object | !Type when&lt;br /&gt;in a form | !Type when&lt;br /&gt;in a ~GridControl |!Description |
++|[[Control]] | ~CheckBox&lt;br /&gt;~ComboBox&lt;br /&gt;~CurrencyField&lt;br /&gt;~DateField&lt;br /&gt;~FormattedField&lt;br /&gt;~ImageControl&lt;br /&gt;[[ListBox]]&lt;br /&gt;~NumericField&lt;br /&gt;~PatternField&lt;br /&gt;[[RadioButton]]&lt;br /&gt;~TextField&lt;br /&gt;~TimeField | All |A control on an open form or within a [[GridControl]] of one of the allowed types |
++!!!Syntax
++//control//{{{.ControlSource}}}
++!!!Returned value
++{{{String}}}
++!!!Remarks
++The //~ControlSource// property is read-only.
++It returns a zero-length string ({{{&quot;&quot;}}}) if the control is not bound to any database field.
++!!!Error messages
++|Property '~ControlSource' not applicable in this context |
++!!!See also
++[[RecordSource]]
++!!!Example
++&lt;&lt;tiddler &quot;ControlSource example&quot;&gt;&gt;</pre>
++</div>
++<div title="ControlSource example" modifier="Jean-PierreLedure" created="201107221533" modified="201212021737" tags="[[Snippets of Code]]">
++<pre>Display the bound database field
++//{{{
++Dim ocControl As Object
++ Set ocControl = getObject(&quot;Forms!myForm!myGridControl!myTextField&quot;)
++ MsgBox ocControl.ControlSource
++//}}}</pre>
++</div>
++<div title="ControlTipText" modifier="Jean-Pierre Ledure" created="201107221256" modified="201507251400" tags="Properties" changecount="1">
++<pre>The //~ControlTipText// property specifies the text that appears in a ~ScreenTip when you hold the mouse pointer over a control.
++!!!Applies to ...
++| !Object | !Type when&lt;br /&gt;in a form | !Type when&lt;br /&gt;in a ~GridControl | !Type when&lt;br /&gt;in a dialog |!Description |
++|[[Control]] |All except&lt;br /&gt;--~HiddenControl&lt;br /&gt;[[SubForm]]-- | All | All |A control on an open form, a dialog or within a [[GridControl]] of one of the listed types |
++!!!Syntax
++//control//{{{.ControlTipText}}}
++//control//{{{.ControlTipText}}} = //value//
++!!!Returned values / Arguments
++{{{String}}}
++!!!Remarks
++!!!Error messages
++|Property '~ControlTipText' not applicable in this context |
++|Value '...' is invalid for property '~ControlTipText' |
++!!!See also
++!!!Example
++&lt;&lt;tiddler &quot;ControlTipText example&quot;&gt;&gt;</pre>
++</div>
++<div title="ControlTipText example" modifier="Jean-PierreLedure" created="201107311101" modified="201212021741" tags="[[Snippets of Code]]">
++<pre>Change the tip text of a control
++//{{{
++Dim ocControl As Object
++ Set ocControl = getObject(&quot;Forms!myForm!myControl&quot;)
++ ocControl.ControlTipText = &quot;This is a new tip !&quot;
++//}}}</pre>
++</div>
++<div title="ControlType" modifier="Jean-Pierre Ledure" created="201107311639" modified="201707081110" tags="Properties" changecount="1">
++<pre>The types of control can be recognized thru the use either of the [[SubType]] or the //~ControlType// properties. The ~ControlType property is there for compatibility with ~MSAccess but has the disadvantage to not discriminate control types 100%, e.g. a ~TextField cannot be distinguished from a ~FormattedField control type.
++See the correspondence table below.
++!!!Applies to ...
++| !Object | !Type when&lt;br /&gt;in a form | !Type when&lt;br /&gt;in a ~GridControl | !Type when&lt;br /&gt;in a dialog |!Description |
++|[[Control]] | All | All | All |A control on an open form or dialog |
++!!!Syntax
++//control//{{{.ControlType}}}
++!!!Returned values
++{{{Integer}}}
++Table of values:
++&lt;&lt;tiddler &quot;ControlTypesList&quot;&gt;&gt;
++Instead of using the numeric values for ~ControlType, one may copy next code and paste it in his/her own code. This allows to use symbolic names, more or less compatible with those existing in ~MSAccess. &quot;More or less&quot; because many control types do not match: e.g. a &quot;spin button&quot; is unknown in ~MSAccess.
++//{{{
++REM Control Types
++REM -----------------------------------------------------------------
++Const acCheckBox = 5
++Const acComboBox = 7
++Const acCommandButton = 2 : Const acToggleButton = 122
++Const acCurrencyField = 18
++Const acDateField = 15
++Const acFileControl = 12
++Const acFixedLine = 24
++Const acFixedText = 10 : Const acLabel = 10
++Const acFormattedField = 1
++Const acGridControl = 11
++Const acGroupBox = 8 : Const acOptionGroup = 8
++Const acHiddenControl = 13
++Const acImageButton = 4
++Const acImageControl = 14 : Const acImage = 14
++Const acListBox = 6
++Const acNavigationBar = 22
++Const acNumericField = 17
++Const acPatternField = 19
++Const acProgressBar = 23
++Const acRadioButton = 3 : Const acOptionButton = 3
++Const acScrollBar = 20
++Const acSpinButton = 21
++Const acSubform = 112
++Const acTextField = 9 : Const acTextBox = 9
++Const acTimeField = 16
++//}}}
++!!!Remarks
++The ~ControlType property is read-only.
++!!!Error messages
++!!!See also
++[[SubType]]
++!!!Example
++&lt;&lt;tiddler &quot;ControlType example&quot;&gt;&gt;</pre>
++</div>
++<div title="ControlType example" modifier="Jean-PierreLedure" created="201107311701" modified="201212021747" tags="[[Snippets of Code]]">
++<pre>List name, controltype and subtype of all controls on an open form
++//{{{
++Dim ofForm As Object, ocControl As Object, i As Integer, iCount As Integer
++ Set ofForm = Forms(&quot;myForm&quot;)
++ iCount = ofForm.Controls.Count
++ For i = 0 To iCount - 1
++ Set ocControl = ofForm.Controls(i)
++ Print ocControl.Name &amp; &quot;/&quot; &amp; ocControl.SubType &amp; &quot;/&quot; &amp; ocControl.ControlType
++ Next i
++ Print
++//}}}</pre>
++</div>
++<div title="ControlTypesList" modifier="Jean-PierreLedure" created="201107311638" modified="201303231228" tags="NoTag">
++<pre>|!~SubType | !~ControlType |!Control type available in ... |&gt;|&gt;|&gt;|
++|~|~| [[Forms|Form]] / [[SubForms|SubForm]] | [[GridControls|GridControl]] | [[Dialogs|Dialog]] | [[Option Groups|OptionGroup]] |
++|CHECKBOX | 5 | X | X | X | |
++|[[COMBOBOX|ComboBox]] | 7 | X | X | X | |
++|COMMANDBUTTON | 2 | X | | X | |
++|CURRENCYFIELD | 18 | X | X | X | |
++|DATEFIELD | 15 | X | X | X | |
++|FILECONTROL | 12 | X | | X | |
++|FIXEDLINE | 24 | | | X | |
++|FIXEDTEXT | 10 | X | | X | |
++|FORMATTEDFIELD | 1 | X | X | X | |
++|[[GRIDCONTROL|GridControl]] | 11 | X | | | |
++|GROUPBOX | 8 | X | | X | |
++|HIDDENCONTROL | 13 | X | | | |
++|IMAGEBUTTON | 4 | X | | | |
++|IMAGECONTROL | 14 | X | | X | |
++|[[LISTBOX|ListBox]] | 6 | X | X | X | |
++|NAVIGATIONBAR | 22 | X | | | |
++|NUMERICFIELD | 17 | X | X | X | |
++|PATTERNFIELD | 19 | X | X | X | |
++|PROGRESSBAR | 23 | | | X | |
++|[[RADIOBUTTON|RadioButton]] | 3 | X | | X | X |
++|SCROLLBAR | 20 | X | | X | |
++|SPINBUTTON | 21 | X | | | |
++|[[SUBFORMCONTROL|SubForm]] | 112 | X | | | |
++|TEXTFIELD | 9 | X | X | X | |
++|TIMEFIELD | 16 | X | X | X | |</pre>
++</div>
++<div title="Controls" modifier="Jean-Pierre Ledure" created="201107011641" modified="201503071450" tags="Collections" changecount="3">
++<pre>The //Controls// collection describes instances of all __[[controls|Control]]__ present either
++*in an open [[form|Form]]
++*in a [[subform|SubForm]] of an open form of or another subform
++*in a started [[dialog|Dialog]]
++*in a [[GridControl]] part of an open form or one of its subforms
++*or in an [[OptionGroup]] (i.e. a set of [[radio buttons|RadioButton]])
++The //Controls// collection may also refer (as a synonym) to the collection of [[CommandBarControl]] objects of a [[CommandBar]]. To know more about this option, read the page about the [[CommandBarControls]] collection.
++!!!Syntax
++//form//{{{.Controls}}}
++//form//{{{.Controls(}}}//index//{{{)}}}
++//form//{{{.Controls(}}}//controlname//{{{)}}}
++//subform//{{{.Controls}}}
++//subform//{{{.Controls(}}}//index//{{{)}}}
++//subform//{{{.Controls(}}}//controlname//{{{)}}}
++//dialog//{{{.Controls}}}
++//dialog//{{{.Controls(}}}//index//{{{)}}}
++//dialog//{{{.Controls(}}}//controlname//{{{)}}}
++//gridcontrol//{{{.Controls}}}
++//gridcontrol//{{{.Controls(}}}//index//{{{)}}}
++//gridcontrol//{{{.Controls(}}}//controlname//{{{)}}}
++//optiongroup//{{{.Controls}}}
++//optiongroup//{{{.Controls(}}}//index//{{{)}}}
++| !Object | !Type | !Argument | !Type |!Returned value |
++|form | [[Form object|Form]] || absent |A [[Collection]] of the controls of the form |
++|~|~| index | integer&lt;br /&gt;long |A [[control object|Control]] |
++|~|~| controlname | string |~|
++|subform | [[Subform object|SubForm]] || absent |A [[Collection]] of the controls of the subform |
++|~|~| index | integer&lt;br /&gt;long |A [[control object|Control]] |
++|~|~| controlname | string |~|
++|dialog | [[Dialog object|Dialog]] || absent |A [[Collection]] of the controls of the dialog |
++|~|~| index | integer&lt;br /&gt;long |A [[control object|Control]] |
++|~|~| controlname | string |~|
++|gridcontrol | [[Gridcontrol object|GridControl]] || absent |A [[Collection]] of the controls of the gridcontrol |
++|~|~| index | integer&lt;br /&gt;long |A [[control object|Control]] |
++|~|~| controlname | string |~|
++|optiongroup | [[Optiongroup object|OptionGroup]] || absent |A [[Collection]] of the controls of the optiongroup |
++|~|~| index | integer&lt;br /&gt;long |A [[control object|Control]] of [[SubType]] = [[RadioButton]]. |
++!!!Remarks
++*Control [[collections|Collection]] are numbered from 0 to {{{Controls(...).Count - 1}}}
++*The //controlname// argument is not case sensitive.
++*A form must be opened, either manually by the user or [[programmatically|OpenForm]] to give access to its controls.
++*A dialog must be [[started|Start]] to give access to its controls.
++*The //index// of an [[OptionGroup]] is determined by its position (~X-Y coordinates) on the screen: 1) top to bottom 2) left to right.
++!!!Error messages
++|Argument nr. ... [Value = '...'] is invalid |
++|Out of array range or incorrect array size for collection Controls() |
++|Form '...' is currently not open|
++|Dialog '...' not active|
++|Control '...' not found in parent (form, grid or dialog) '...' |
++!!!Examples
++&lt;&lt;tiddler &quot;Controls examples&quot;&gt;&gt;
++</pre>
++</div>
++<div title="Controls examples" modifier="Jean-Pierre Ledure" created="201107021311" modified="201405210824" tags="[[Snippets of Code]]" changecount="1">
++<pre>To identify the last control of an open form
++//{{{
++Dim ofForm As Object, iCount As Integer
++ Set ofForm = Forms(&quot;myForm&quot;)
++ iCount = ofForm.Controls.Count
++ MsgBox &quot;The form &quot; &amp; ofForm.Name &amp; &quot; has &quot; &amp; iCount &amp; &quot; controls.&quot; _
++ &amp; &quot;The last one is &quot; &amp; ofForm.Controls(iCount - 1).Name
++//}}}
++To know the controls present in a gridcontrol (datagrid)
++//{{{
++Dim ocGrid As Object, i As Integer, iCountGrid As Integer
++ Set ocGrid = Forms(&quot;myForm&quot;).Controls(&quot;myGridControl&quot;)
++ iCountGrid = ocGrid.Controls.Count
++ For i = 0 To iCountGrid - 1
++ Print ocGrid.Controls(i).Name
++ Next i
++ Print
++//}}}
++To know the number of controls in a dialog
++//{{{
++Dim oDialog As Object, iCount As Integer
++ Set oDialog = Dialogs(&quot;myDialog&quot;)
++ oDialog.Start
++ iCount = oDialog.Controls.Count
++ oDialog.Terminate
++ MsgBox &quot;Number of controls in &quot; &amp; oDialog.Name &amp; &quot; = &quot; &amp; iCount
++//}}}</pre>
++</div>
++<div title="CopyObject" modifier="YourName" created="201312281344" modified="201807231407" tags="Actions" changecount="21">
++<pre>The //~CopyObject// action copies an existing query or table within the current database or from an external database to the current database.
++&lt;&lt;tiddler &quot;ApplyDoCmd&quot;&gt;&gt;
++!!!Syntax
++{{{[DoCmd.]CopyObject(}}}//{{{SourceDatabase, NewName, SourceObjectType, SourceObjectName}}}//{{{)}}}
++| !Argument | !Optional | !Type&lt;br /&gt;or&lt;br /&gt;Symbol |!Description | !Returned Value |
++|{{{SourceDatabase}}} | Yes | String&lt;br /&gt;[[Database]] |The null-string &quot;&quot; (default value) designates the current database. | True if sucess |
++|{{{NewName}}} | No | String |The name of the target copy. |~|
++|{{{SourceObjectType}}} | No | acTable&lt;br /&gt;acQuery |The type of object to copy. |~|
++|{{{SourceObjectName}}} | No | String |The name of the object to copy. This argument is NOT case-sensitive. |~|
++The symbolic constants can be included in your code by copying and pasting next lines:
++//{{{
++Const acQuery = 1
++Const acTable = 0
++//}}}
++!!!Remarks
++*In ~MSAccess the first argument is the //target// database, not the //source// database.&lt;br /&gt;The inversion in ~Access2Base is an intentional design choice. Indeed the //~CopyObject// action __imports__ an object in ~Access2Base, while it __exports__ it in ~MSAccess.
++*If an object (table or query) of the same type and with the same name exists already, it is __dropped without warning__.
++*To designate the source database, use either a string containing the full path (URL or ~OS-specific) of the database or a database object returned by the [[OpenDatabase]] method. Use the latter when the external database requires a user/password security check.&lt;br /&gt;If a database object is given, the programmer must care for the [[closure of the database|Close (method)]].
++*A new copy of an //acQuery// object contains only its description and its SQL statement.&lt;br /&gt;If the databases are not based on the same relational database system, it is very likely that the respective SQL dialects are not compatible. This is not checked by the //~CopyObject// action.
++*A new copy of an //acTable// object contains
++**the table columns with their types
++**the table data
++**the same primary key as the source table. If the source primary key is an //~AutoIncrement// field, the value of the field is copied into an //long// field of the same name without the //~AutoIncrement// behaviour.
++*Other table elements are NOT copied: e.g. indexes. To build them use the [[RunSQL]] action with the appropriate {{{CREATE INDEX ...}}} statement.
++*The copy of the table structure is done
++**When both databases are based on an identical database management system simply by copying field types and precisions.
++**Otherwise by searching among the available datatypes within the target database the datatypes fitting best the input datatypes and precisions. This can lead to
++***either the non-existence of a compatible datatype (error message),
++***or a loss of data when the target field is too short (warning message).
++*The copy of the table data is done
++**When the source database is the current database, via one single {{{INSERT}}} SQL statement.
++**Otherwise by copying the data row by row and field by field. This is obviously __much slower__ than using an {{{INSERT}}} statement. A progress meter will be displayed when the active window is a form or the Basic IDE.
++*The //~CopyObject// action is forbidden from a [[standalone form|Standalone Forms]].
++!!!Error messages
++|Arguments are missing or are not initialized |
++|Argument nr. ... [Value = '...'] is invalid |
++|Object '...' not found |
++|Method '~CopyObject' not applicable in this context |
++|Field '...' could not be converted due to incompatibility of field types between database systems |
++|Field '...' could not be loaded in record #N due to capacity shortage |
++!!!See also
++[[OpenDatabase]]
++[[RunSQL]]
++[[SelectObject]]
++!!!Example
++&lt;&lt;tiddler &quot;CopyObject example&quot;&gt;&gt;</pre>
++</div>
++<div title="CopyObject example" modifier="Jean-Pierre Ledure" created="201312281403" modified="201408011454" tags="[[Snippets of Code]]" changecount="1">
++<pre>Copy a table (design and data)
++//{{{
++ DoCmd.CopyObject(, &quot;COMPANIES_BACKUP&quot;, acTable, &quot;COMPANIES&quot;)
++//}}}
++</pre>
++</div>
++<div title="Count" modifier="Jean-Pierre Ledure" created="201107091012" modified="201405291555" tags="Properties" changecount="6">
++<pre>The //Count// property identifies the number of items present in a [[collection|Collection]] or in an [[OptionGroup]] control.
++!!!Applies to ...
++| !Collection |!Description |
++|[[AllDialogs]] |All dialogs present in any of the accessible dialog libraries |
++|[[AllForms]] |All forms, open or closed, in the current database document (&quot;.odb&quot; file) |
++|[[Controls]] |All the controls of a //form//, a //dialog//, a //subform// or a //gridcontrol// |
++|[[Fields]] |All the fields of a //table//, a //query// or a //recordset// designated by the object //myObject// |
++|[[Forms]] |All open forms |
++|[[Properties|Properties (collection)]] |All properties of an [[object|Object Model]] |
++|[[QueryDefs]] |All queries in the database |
++|[[Recordsets]] |All recordsets currently open |
++|[[TableDefs]] |All tables in the database |
++| !Control |!Description |
++|[[OptionGroup]] |Groups either&lt;br /&gt;- the [[Radio buttons|RadioButton]] with the same name within a (sub)form,&lt;br /&gt;- the //Radio buttons// having contiguous ~TabIndexes (= &quot;Order&quot; in the control's property sheet) in a dialog. |
++!!!Syntax
++//collection//{{{.Count}}}
++//optiongroup//{{{.Count}}}
++!!!Returned values
++{{{Integer}}} &gt;= 0
++!!!Remarks
++*The //Count// property is read-only.
++*The items of a [[collection|Collection]] or of an [[OptionGroup]] control are always numbered from 0 to {{{Count - 1}}}
++!!!Error messages
++!!!See also
++[[Item]]
++!!!Example
++&lt;&lt;tiddler &quot;Count example&quot;&gt;&gt;</pre>
++</div>
++<div title="Count example" modifier="Jean-PierreLedure" created="201107091102" modified="201212021752" tags="[[Snippets of Code]]">
++<pre>The following example uses the Count property to control a loop that prints information about all open forms and their controls.
++//{{{
++Dim ofForm As Object, i As Integer
++Dim j As Integer
++Dim iControls As Integer, iForms As Integer
++ iForms = Forms.Count ' Number of open forms.
++ If iForms &gt; 0 Then
++ For i = 0 To iForms - 1
++ Set ofForm = Forms(i)
++ _Print ofForm.Name
++ iControls = ofForm.Controls().Count
++ If iControls &gt; 0 Then
++ For j = 0 To iControls - 1
++ Print ofForm.Controls(j).Name
++ Next j
++ End If
++ Next i
++ End If
++ Print
++//}}}</pre>
++</div>
++<div title="CountOfDeclarationLines" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201612181400" modified="201612181404" tags="Properties" changecount="3">
++<pre>The //~CountOfDeclarationLines// property indicates the number of lines of code in the Declarations section in a standard or class [[module|Module]].
++!!!Applies to ...
++| !Object |!Description |
++|[[Module]] |The representation of a Basic script. |
++!!!Syntax
++//module//{{{.CountOfDeclarationLines}}}
++!!!Returned values
++{{{Long}}}
++!!!Remarks
++Lines in a module are numbered beginning with 1.
++The value of the //~CountOfDeclarationLines// property is equal to the line number of the last line of the Declarations section. You can use this property to determine where the Declarations section ends and the first procedure of the module begins.
++!!!Error messages
++|Property '~CountOfDeclarationLines' not applicable in this context |
++!!!See also
++[[CountOfLines]]
++[[Lines]]
++!!!Example
++&lt;&lt;tiddler &quot;Module example&quot;&gt;&gt;</pre>
++</div>
++<div title="CountOfLines" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201612181351" modified="201612181357" tags="Properties" changecount="3">
++<pre>The //~CountOfLines// property indicates the number of lines of code in a class or standard [[module|Module]].
++!!!Applies to ...
++| !Object |!Description |
++|[[Module]] |The representation of a Basic script. |
++!!!Syntax
++//module//{{{.CountOfLines}}}
++!!!Returned values
++{{{Long}}}
++!!!Remarks
++Lines in a module are numbered beginning with 1.
++The line number of the last line in a module is the value of the //~CountOfLines// property.
++!!!Error messages
++|Property '~CountOfLines' not applicable in this context |
++!!!See also
++[[CountOfDeclarationLines]]
++[[Lines]]
++!!!Example
++&lt;&lt;tiddler &quot;Module example&quot;&gt;&gt;</pre>
++</div>
++<div title="CountRecordsRecordset" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201405311259" modified="201406161357" tags="HowTo" changecount="6">
++<pre>(Q) How can I know the number of records in a //Recordset// object ? For example, I may want to create a form that shows how many records are in each of the tables in a database. Or I may want to change the appearance of a form or report based on the number of records it includes.
++
++(R) The [[RecordCount]] property contains the number of records in a [[Recordset]]. A //Recordset object// with no records has a //~RecordCount// property value of 0.
++
++However:
++&gt;The value of the //~RecordCount// property equals the number of records that have actually been accessed. To visit all the records, use the [[MoveLast|Move (recordset)]] method immediately after opening the //Recordset//, then use [[MoveFirst|Move (recordset)]] to return to the first record. This is not done automatically because it may be slow, especially for large result sets.
++
++The following code example creates a //Recordset// object, and then determines the number of records in the //Recordset//.
++//{{{
++Function FindRecordCount(sSQL As String) As Long
++
++Dim odbNorthwind As Object
++Dim orsRecords As Object
++On Local Error GoTo ErrorHandler
++
++ Set odbNorthwind = Application.CurrentDb
++ Set orsRecords = odbNorthwind.OpenRecordset(sSQL)
++ With orsRecords
++ If .EOF Then
++ FindRecordCount = 0
++ Else
++ .MoveLast
++ FindRecordCount = .RecordCount
++ End If
++ .mClose
++ End With
++
++ Set orsRecords = Nothing
++ Set odbNorthwind = Nothing
++ Exit Function
++
++ErrorHandler:
++ TraceError(&quot;ERROR&quot;, Err, &quot;FindRecordCount&quot;, Erl)
++End Function
++//}}}
++As your application deletes records in a //Recordset//, the value of the //~RecordCount// property decreases. However, in a multiuser environment, records deleted by other users are not reflected in the value of the //~RecordCount// property. Using the //~MoveFirst// method on a //Recordset//, followed by the //~MoveLast// method, resets the //~RecordCount// property to the current total number of records in the //Recordset//.
++!!!See also
++[[BOF, EOF]]
++[[MoveFirst, MoveLast, MoveNext, MovePrevious|Move (recordset)]]
++[[OpenRecordset]]
++[[TraceError]]
++!!!Refer to ...
++| !Basic module | !Sub |!Comments |
++|~HowTo |~FindRecordCount ||</pre>
++</div>
++<div title="CreateField" modifier="Jean-Pierre Ledure" created="201401181049" modified="201405240716" tags="Methods" changecount="3">
++<pre>Appends a new [[Field object|Field]] to a [[table|TableDef]].
++This method offers the capacity to create from the Basic code a new table field independently from the underlying RDBMS. Thus without using SQL. However only a limited set of options are available for field descriptions.
++!!!Applies to ...
++| !Object | !Description |
++|[[TableDef]] |The representation of a table in the currently connected database. |
++!!!Syntax
++Set //field// = //tabledef//.{{{CreateField(}}}//name, type, size, attributes//{{{)}}}
++!!!Arguments - Returned value
++| !Argument | !Type | !Optional | !Description | !Returned value |
++|name | String ||The name of the new field | A [[field|Field]] object |
++|type | dbInteger&lt;br /&gt;dbLong&lt;br /&gt;dbBigInt&lt;br /&gt;dbFloat&lt;br /&gt;vbSingle&lt;br /&gt;dbDouble&lt;br /&gt;dbNumeric&lt;br /&gt;dbDecimal&lt;br /&gt;dbText&lt;br /&gt;dbChar&lt;br /&gt;dbMemo&lt;br /&gt;dbDate&lt;br /&gt;dbTime&lt;br /&gt;dbTimeStamp&lt;br /&gt;dbBinary&lt;br /&gt;dbVarBinary&lt;br /&gt;dbLongBinary&lt;br /&gt;dbBoolean | Y |The [[database type (&quot;DbType&quot;)|DataType]] of the new field |~|
++|size | numeric | Y |The length of the field. It is ignored when not relevant.&lt;br /&gt;If //size// has a non-integer value, the first decimal digit at the right of the decimal point determines the number of decimal digits. |~|
++|attributes | dbAutoIncrField | Y |Indicates if present that the field is a primary key and is incremented by the RDBMS at each new record insertion. |~|
++!!!List of available field types
++&lt;&lt;tiddler &quot;FieldTypesList&quot;&gt;&gt;
++!!!Remarks
++*The //dbAutoIncrField// attribute MUST NOT be set when the //~CreateField// method is applied on an existing table. It is valid only between the [[CreateTableDef]] and [[Add]] methods.
++*When the //dbAutoIncrField// attribute is present (for a new table only ...) the field is created and becomes the primary key of the table. The __auto-increment__ attribute of the newly created primary key will be applied only if the RDBMS and the currently used driver allow it. As an example, for the embedded HSQLDB database, the attribute will be applied, for a [[&quot;splitted&quot; HSQLDB database|http://www.oooforum.org/forum/viewtopic.phtml?p=396523#396523]], it might not be applied.
++*When the //dbAutoIncrField// attribute is not present the newly created field is &quot;nullable&quot;, i.e. when not initialized it gets the {{{Null}}} value as default.
++*If additional attributes are needed to specify the new field more accurately, use an SQL statement given as argument to the [[RunSQL action|RunSQL]].
++*The //~CreateField// method must not be invoked from a [[standalone form|Standalone Forms]] defined in a non-Base (Writer, Calc, ...) document.
++*Instead of using the numeric values for ~DbType, one may copy next code and paste it in his/her own code. This allows to use symbolic names, close to or identical with the field types existing in ~MSAccess.
++//{{{
++REM Types
++REM -----------------------------------------------------------------
++Const dbBigInt = 16
++Const dbBinary = 9
++Const dbBoolean = 1
++Const dbByte = 2
++Const dbChar = 18
++Const dbCurrency = 5
++Const dbDate = 8
++Const dbDecimal = 20
++Const dbDouble = 7
++Const dbFloat = 21
++Const dbGUID = 15
++Const dbInteger = 3
++Const dbLong = 4
++Const dbLongBinary = 11 ' (OLE Object)
++Const dbMemo= 12
++Const dbNumeric = 19
++Const dbSingle = 6
++Const dbText = 10
++Const dbTime = 22
++Const dbTimeStamp = 23
++Const dbVarBinary = 17
++Const dbUndefined = -1
++REM Attributes
++REM -----------------------------------------------------------------
++Const dbAutoIncrField = 16
++//}}}
++!!!Error messages
++|Argument nr. ... [Value = '...'] is invalid |
++|Field '...' could not be created |
++|Method '~TableDef.~CreateField' not applicable in this context |
++!!!See also
++[[Add]]
++[[CreateQueryDef]]
++[[CreateTableDef]]
++[[TableDefs]]
++[[TableDef]]
++[[QueryDefs]]
++[[QueryDef]]
++!!!Example
++&lt;&lt;tiddler &quot;CreateTableDef example&quot;&gt;&gt;</pre>
++</div>
++<div title="CreateQueryDef" modifier="Jean-Pierre Ledure" created="201308110731" modified="201405240718" tags="Methods" changecount="2">
++<pre>Creates a new [[QueryDef object|QueryDef]] in the current [[database|Database]].
++!!!Applies to ...
++| !Object | !Description |
++|[[Database]] |The representation of the currently connected database. |
++!!!Syntax
++Set //querydef// = //database//.{{{CreateQueryDef}}} (//name, sqltext, [option]//)
++!!!Arguments - Returned value
++| !Argument | !Type | !Optional | !Description | !Returned value |
++|name | String | N |The name of the new query | A [[querydef|QueryDef]] object |
++|sqltext | String | N |The SQL statement to be executed when the query if fired. |~|
++|option | Integer&lt;br /&gt;Long | Y |If the argument is present its only allowed value = //dbSQLPassThrough//.&lt;br /&gt;Forces escape substitution before sending the SQL statement to the database. |~|
++!!!Remarks
++*The //~CreateQueryDef// method must not be applied to a //Database// object created with the [[OpenDatabase]] method.
++*The resulting //~QueryDef// object is automatically appended to the [[QueryDefs collection|QueryDefs]].
++*If the object specified by //name// is already a member of the //~QueryDefs// collection (the comparison is NOT case-sensitive !!), the existing query is erased without warning.
++*The //~CreateQueryDef// method must not be invoked from a [[standalone form|Standalone Forms]] defined in a non-Base (Writer, Calc, ...) document.
++*To include the constant in your own code, copy and paste next line:
++//{{{
++Const dbSQLPassThrough = 64
++//}}}
++!!!Error messages
++|Argument nr. ... [Value = '...'] is invalid |
++|Method 'Database.~CreateQueryDef' not applicable in this context |
++!!!See also
++[[CreateTableDef]]
++[[TableDefs]]
++[[TableDef]]
++[[QueryDefs]]
++[[QueryDef]]
++!!!Example
++&lt;&lt;tiddler &quot;CreateQueryDef example&quot;&gt;&gt;</pre>
++</div>
++<div title="CreateQueryDef example" modifier="Jean-PierreLedure" created="201308111047" modified="201308111049" tags="[[Snippets of Code]]">
++<pre>Create new Query in the database. If it exists already it will be overwritten.
++//{{{
++Dim oQueryDef As Object
++Const dbSQLPassThrough = 64
++ Set oQueryDef = Application.CurrentDb().CreateQueryDef(&quot;NewQuery&quot; _
++ , &quot;SELECT * FROM [Products] ORDER BY [ManufacturingCost] DESC&quot; _
++ , dbSQLPassThrough _
++ )
++//}}}</pre>
++</div>
++<div title="CreateRecordsetFrom" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201406220916" modified="201511211707" tags="HowTo" changecount="15">
++<pre>(Q) Are there different means to access data stored in a database ?
++
++(R) The simplest mean to get data from a database is to create a [[recordset object|Recordset]] from an existing [[table|TableDef]] name, an existing [[query|QueryDef]] name or derived from an existing [[form|Form]].
++Such a resulting recordset object must always be [[closed|Close (method)]] after usage.
++!!!From a table
++Use the [[OpenRecordset]] method with the table name as argument. The name is NOT case-sensitive.
++//{{{
++Sub CreateRecordsetFromTable
++Dim odbNorthwind As Object
++Dim orsShippers As Object ' Will contain the future Recordset object
++
++ Set odbNorthwind = Application.CurrentDb
++ Set orsShippers = odbNorthwind.OpenRecordset(&quot;Shippers&quot;)
++
++ ' ... do whatever is needed
++
++ orsShippers.mClose()
++End Sub
++//}}}
++!!!From a query
++Use the [[OpenRecordset]] method with the query name as argument. The name is NOT case-sensitive.
++//{{{
++Sub CreateRecordsetFromQuery
++Dim odbNorthwind As Object
++Dim orsCustomers As Object ' Will contain the future Recordset object
++
++ Set odbNorthwind = Application.CurrentDb
++ Set orsCustomers = odbNorthwind.OpenRecordset(&quot;Customers union All&quot;)
++
++ ' ... do whatever is needed
++
++ orsCustomers.mClose()
++End Sub
++//}}}
++!!!From a form
++Use the [[Recordset property|Recordset (property)]] applied to a form object to get its recordset. The same property is applicable, if needed, to a [[subform object|SubForm]].
++//{{{
++Sub CreateRecordsetFromForm
++Dim odbNorthwind As Object
++Dim ofOrders As Object
++Dim orsOrders As Object ' Will contain the future Recordset object
++
++ Set odbNorthwind = Application.CurrentDb
++ Set ofOrders = Application.OpenForm(&quot;Orders_Tabbed&quot;)
++ Set orsOrders = ofOrders.Recordset
++
++ ' ... do whatever is needed
++
++ orsOrders.mClose()
++End Sub
++//}}}
++!!!See also
++[[Close|Close (method)]]
++[[OpenRecordset]]
++[[Recordset|Recordset (property)]]
++!!!Refer to ...
++| !Basic module | !Sub |!Comments |
++|~HowTo |~CreateRecordsetFromTable ||
++|~|~CreateRecordsetFromQuery ||
++|~|~CreateRecordsetFromForm ||</pre>
++</div>
++<div title="CreateTableDef" modifier="Jean-Pierre Ledure" created="201401170845" modified="201409141659" tags="Methods" changecount="5">
++<pre>Creates a new [[TableDef object|TableDef]] in the current [[database|Database]].
++This method offers the capacity to create from the Basic code a new table independently from the underlying RDBMS. Thus without using SQL. However only a limited set of options are available for field descriptions.
++!!!Applies to ...
++| !Object | !Description |
++|[[Database]] |The representation of the database currently connected to a Base (&quot;.odb&quot;) document. |
++!!!Syntax
++Set //tabledef// = //database//.{{{CreateTableDef(}}}//name//{{{)}}}
++!!!Arguments - Returned value
++| !Argument | !Type | !Optional | !Description | !Returned value |
++|name | String | N |The name of the new table | A [[tabledef|TableDef]] object |
++!!!Remarks
++*The //~CreateTableDef// method may be applied ONLY from a macro executed from a Base (&quot;*.odb&quot;) document, said otherwise, __not from a [[standalone form|Standalone Forms]]__. The //database// object should be returned by the [[Application.CurrentDb|CurrentDb]] method.
++*To become fully viable the new //~TableDef// object has to be [[added|Add]] explicitly to the [[TableDefs collection|TableDefs]].
++*Between the execution of the //~CreateTableDef// and the //Add// methods one or more fields should have been created thru the [[CreateField]] method.
++*If the object specified by //name// is already a member of the //~TableDefs// collection (the comparison is NOT case-sensitive !!), the __existing table is erased without warning__.
++!!!Error messages
++|Argument nr. ... [Value = '...'] is invalid |
++|Method 'Database.~CreateTableDef' not applicable in this context |
++!!!See also
++[[Add]]
++[[CreateField]]
++[[CreateQueryDef]]
++[[TableDefs]]
++[[TableDef]]
++[[QueryDefs]]
++[[QueryDef]]
++!!!Example
++&lt;&lt;tiddler &quot;CreateTableDef example&quot;&gt;&gt;</pre>
++</div>
++<div title="CreateTableDef example" modifier="Jean-Pierre Ledure" created="201401171408" modified="201405240642" tags="[[Snippets of Code]]" changecount="2">
++<pre>Build a new table in the database without using SQL
++//{{{
++Dim oDatabase As Object, oTable As Object
++ Set oDatabase = Application.CurrentDb()
++ Set oTable = oDatabase.CreateTableDef(&quot;myNewTable&quot;) ' Create &quot;empty&quot; table
++ With oTable
++ .CreateField(&quot;myAutoIncrFld&quot;, dbLong, , dbAutoIncrField) ' Create 2 fields
++ .CreateField(&quot;myDecimalFld&quot;, dbDecimal, 10.4)
++ End With
++ oDatabase.TableDefs().Add(oTable) ' Finalize table creation
++//}}}
++Add a field to an existing table
++//{{{
++ Set oTable = oDatabase.TableDefs(&quot;myExistingTable&quot;)
++ oTable.CreateField(&quot;myBinaryFld&quot;, dbBinary)
++//}}}</pre>
++</div>
++<div title="CrossTabQuery" modifier="Jean-Pierre Ledure" created="201308241500" modified="201405240735" tags="HowTo" changecount="1">
++<pre>(Q) How can I write a query similar to the crosstab queries I find in ~MSAccess (also elsewhere) ? To produce something like:
++| No. Sales per year | 1996 | 1997 | 1998 | Total |
++|Margaret Peacock | 31 | 81 | 44 | 156 |
++|Janet Leverling | 18 | 71 | 38 | 127 |
++|Nancy Davolio | 26 | 55 | 42 | 123 |
++|Laura Callahan | 19 | 54 | 31 | 104 |
++|Andrew Fuller | 16 | 41 | 39 | 96 |
++|etc ... |||||
++
++(R) A crosstab query aggregates data in the form of a matrix. Example: products sales by period. The issue is that the periods to be considered are in the database and can vary over time. Additionally periods can be years, quarters, months, ...
++Doing this is feasible by //generating// with a Basic function the appropriate SQL statement.
++
++The solution presented here will work for the SUM() and COUNT() aggregate functions.
++
++Let's consider next tables:
++&lt;&lt;tiddler &quot;ProductsTable&quot;&gt;&gt;
++&lt;&lt;tiddler &quot;CustomersTable&quot;&gt;&gt;
++&lt;&lt;tiddler &quot;OrdersTable&quot;&gt;&gt;
++&lt;&lt;tiddler &quot;OrderDetailsTable&gt;&gt;
++
++A crosstab query needs at least next inputs:
++*One or more __row headings__: several database fields which will appear in front of each row and on which the aggregation function will be applied =&gt; [Rowheadings]] or their aliases
++*One __column heading__: the field varying horizontally (periods, ...) =&gt; (~ColHeading] or its alias
++*The (numeric) __value__ which will be aggregated =&gt; [Aggregate]
++*The __FROM expression__ listing the concerned tables and the associated WHERE clause =&gt; [~FromExpression]
++*and, optionally, one or more sort keys.
++
++The target is to produce an SQL statement which will look like:
++//{{{
++ SELECT
++ [RowheadingAlias(0)],
++ [RowheadingAlias(1)],
++ ...
++ SUM( CASE [ColHeadingAlias] WHEN 'ColValue0' THEN [Data] ELSE 0 END ) As [ColValue0],
++ SUM( CASE [ColHeadingAlias] WHEN 'ColValue1' THEN [Data] ELSE 0 END ) As [ColValue1],
++ SUM( CASE [ColHeadingAlias] WHEN 'ColValue2' THEN [Data] ELSE 0 END ) As [ColValue2],
++ ...
++ SUM( [Data] ) As [All]
++ FROM
++ (SELECT RowHeading(0),
++ RowHeading(1),
++ ...
++ ColHeading,
++ Aggregate As [Data]
++ FROM FromExpression
++ GROUP BY RowHeadingAlias(0),RowHeadingAlias(1), ColHeadingAlias
++ )
++ GROUP BY RowHeadingAlias(0),RowHeadingAlias(1)
++ ORDER BY [All] | OrderBy
++//}}}
++The resulting SQL statement could be afterwards:
++*displayed with the [[OpenSQL]] action
++*browed as a [[Recordset]]
++*stored as a new Query with [[CreateQueryDef]]
++!!!Examples:
++//{{{
++Dim sSql As String
++ sSql = MakeCrossTab( _
++ &quot;[FirstName] || ' ' || [LastName] As [Name]&quot; _
++ , &quot;YEAR([OrderDate]) || 'Q' || QUARTER([OrderDate]) As [Quarter]&quot; _
++ , &quot;Count(*)&quot; _
++ , &quot;[Employees] INNER JOIN [Orders] ON ([Employees].[EmployeeID]=[Orders].[EmployeeID])&quot; _
++ , &quot;DESC&quot; _
++ )
++ OpenSQL(sSql, dbSQLPassThrough)
++//}}}
++will produce:
++| Name | 1996Q3 | 1996Q4 | 1997Q1 | 1997Q2 | 1997Q3 | 1997Q4 | 1998Q1 | 1998Q2 | All |
++|Margaret Peacock | 15 | 16 | 18 | 18 | 22 | 23 | 32 | 12 | 156 |
++|Janet Leverling | 7 | 11 | 19 | 16 | 10 | 26 | 28 | 10 | 127 |
++|Nancy Davolio | 11 | 15 | 10 | 10 | 18 | 17 | 29 | 13 | 123 |
++|Laura Callahan | 11 | 8 | 19 | 9 | 14 | 12 | 19 | 12 | 104 |
++|Andrew Fuller | 8 | 8 | 9 | 10 | 11 | 11 | 19 | 20 | 96 |
++|Robert King | 3 | 8 | 6 | 12 | 13 | 5 | 14 | 11 | 72 |
++|Michael Suyama | 9 | 6 | 6 | 8 | 5 | 14 | 14 | 5 | 67 |
++|Anne Dodsworth | 2 | 3 | 2 | 6 | 4 | 7 | 15 | 4 | 43 |
++|Steven Buchanan | 4 | 7 | 3 | 4 | 6 | 5 | 12 | 1 | 42 |
++Similarly:
++//{{{
++Dim sSql As String
++Const dbSQLPassThrough = 64
++ sSql = MakeCrossTab( _
++ &quot;[Customers].[CompanyName] As [Customer], [Products].[ProductName] AS [Name]&quot; _
++ , &quot;YEAR([OrderDate]) || 'Q' || QUARTER([OrderDate]) As [Quarter]&quot; _
++ , &quot;SUM([Order Details].[UnitPrice]*[Quantity]*(1-[Discount]))&quot; _
++ , &quot;[Order Details], [Products], [Orders], [Customers] &quot; _
++ &amp; &quot;WHERE [Order Details].[ProductID] = [Products].[ProductID] &quot; _
++ &amp; &quot;AND [Order Details].[OrderID] = [Orders].[OrderID] &quot; _
++ &amp; &quot;AND [Customers].[CustomerID] = [Orders].[CustomerID] &quot; _
++ &amp; &quot;AND YEAR([Orders].[OrderDate]) = 1997&quot; _
++ , &quot;[Customer]&quot; _
++ )
++ OpenSQL(sSql, dbSQLPassThrough)
++//}}}
++will produce next result:
++| Customer | Name | 1997Q1 | 1997Q2 | 1997Q3 | 1997Q4 | All |
++|Alfreds Futterkiste | Lakkalikööri | 0 | 0 | 0 | 270 | 270 |
++|Alfreds Futterkiste | Aniseed Syrup | 0 | 0 | 0 | 60 | 60 |
++|Alfreds Futterkiste | Vegie-spread | 0 | 0 | 0 | 878 | 878 |
++|Alfreds Futterkiste | Spegesild | 0 | 0 | 18 | 0 | 18 |
++|Alfreds Futterkiste | Chartreuse verte | 0 | 0 | 283,5 | 0 | 283,5 |
++|Alfreds Futterkiste | Rössle Sauerkraut | 0 | 0 | 513 | 0 | 513 |
++|Ana Trujillo Emparedados y helados | Mascarpone Fabioli | 0 | 0 | 0 | 320 | 320 |
++|Ana Trujillo Emparedados y helados | Camembert Pierrot | 0 | 0 | 340 | 0 | 340 |
++|Ana Trujillo Emparedados y helados | Singaporean Hokkien Fried Mee | 0 | 0 | 70 | 0 | 70 |
++|etc ... |||||||
++Note that in the context of HSQLDB as database management system:
++*the readability of the arguments is strongly improved by using the square brackets [] as delimitors of table- and fieldnames instead of double quotes;
++*either the double quotes or the square brackets are MANDATORY;
++*the table- and fieldnames are case-sensitive.
++!!!Code
++Next function will do the job:
++//{{{
++Public Function MakeCrossTab( _
++ Byval psRowHeading As String _
++ , Byval psColHeading As String _
++ , Byval psAggregate As String _
++ , Byval psFromExpression As String _
++ , Byval psSortBy As String _
++ ) As String
++
++Dim sQuery As String, sSubQuery As String, vRowHeading() As Variant, sGroupBy As String, sSortBy As String
++Dim sDataQuery As String, oData As Object, oField As Object, sCase As String, sValue As String
++Dim i As Integer
++ vRowHeading() = Split(psRowHeading, &quot;,&quot;)
++ If UBound(vRowHeading) &lt; 0 Then Exit Function
++
++ ' SUBQUERY
++ sSubQuery = &quot;SELECT &quot; &amp; vRowHeading(0)
++ For i = 1 To UBound(vRowHeading)
++ sSubQuery = sSubQuery &amp; &quot;,&quot; &amp; vRowheading(i)
++ Next i
++ sSubQuery = sSubQuery &amp; &quot;, &quot; &amp; psColHeading &amp; &quot;, &quot; &amp; psAggregate &amp; &quot; AS [Data] FROM &quot; &amp; psFromExpression &amp; &quot; GROUP BY &quot;
++ sGroupBy = AliasOf(vRowHeading(0))
++ For i = 1 To UBound(vRowHeading)
++ sGroupBy = sGroupBy &amp; &quot;, &quot; &amp; AliasOf(vRowHeading(i))
++ Next i
++ sSubQuery = sSubQuery &amp; sGroupBy &amp; &quot;,&quot; &amp; AliasOf(psColHeading)
++
++ ' MAIN QUERY
++ ' Identify all distinct column headings
++ sDataQuery = &quot;SELECT DISTINCT &quot; &amp; psColHeading &amp; &quot; FROM &quot; &amp; psFromExpression &amp; &quot; ORDER BY &quot; &amp; AliasOf(psColHeading)
++ Set oData = CurrentDb().OpenRecordset(sDataQuery,, dbSQLPassThrough, dbReadOnly)
++ Set oField = oData.Fields(0)
++ ' Build CASE sentences
++ sCase = &quot;&quot;
++ For i = 0 To UBound(vRowHeading)
++ scase = sCase &amp; AliasOf(vRowHeading(i)) &amp; &quot;, &quot;
++ Next i
++ With oData ' Recordset
++ Do While Not .EOF
++ sValue = CStr(oField.Value) ' Force string
++ sCase = sCase &amp; &quot;SUM( CASE &quot; &amp; AliasOf(psColHeading) &amp; &quot; WHEN '&quot; &amp; sValue &amp; &quot;' THEN [Data] ELSE 0 END ) As [&quot; &amp; sValue &amp; &quot;],&quot;
++ .MoveNext
++ Loop
++ .mClose()
++ End With
++ sCase = sCase &amp; &quot;SUM( [Data] ) As [All]&quot;
++ ' Final query
++ Select Case UCase(psSortBy)
++ Case &quot;&quot;, &quot;ASC&quot; : sSortBy = &quot;ORDER BY [All] ASC&quot;
++ Case &quot;DESC&quot; : sSortBy = &quot;ORDER BY [All] DESC&quot;
++ Case Else : sSortBy = &quot;ORDER BY &quot; &amp; psSortBy
++ End Select
++ sQuery = &quot;SELECT &quot; &amp; sCase &amp; &quot; FROM (&quot; &amp; sSubQuery &amp; &quot;) GROUP BY &quot; &amp; sGroupBy &amp; sSortBy
++
++ ' Store SQL
++ MakeCrossTab = sQuery
++
++End Function
++//}}}
++It calls next small function:
++//{{{
++Function AliasOf(ByVal psString As String) As String
++Dim iPos As Integer
++ iPos = InStr(psString, &quot; AS &quot;)
++ If iPos &gt; 0 Then AliasOf = Right(psString, Len(psString) - iPos - 3) Else AliasOf = psString
++End Function
++//}}}
++!!!See also
++[[CreateQueryDef]]
++[[Execute|Execute (query)]]
++[[OpenSQL]]
++[[Recordset]]
++!!!Refer to ...
++| !Basic module |
++|~CrossTab |</pre>
++</div>
++<div title="CurrentDb" modifier="Jean-Pierre Ledure" created="201108131501" modified="201408311702" tags="Methods" changecount="3">
++<pre>The //~CurrentDb// method returns either
++*the [[database|Database]] object related to a Base (&quot;.odb&quot;) document,
++*the database object related to a [[standalone form|Standalone Forms]] contained in a non-Base (Writer Calc, ...) document.
++&lt;&lt;tiddler &quot;ApplyApplication&quot;&gt;&gt;
++or to ...
++| !Object | !Description |
++|[[Form]] |The database object related to a standalone form. |
++!!!Syntax
++{{{[Application.]CurrentDb()}}}
++{{{form.CurrentDb()}}}
++!!!Returned values / Arguments
++{{{Database}}} object or {{{Nothing}}}
++!!!Remarks
++*The ~CurrentDb method returns {{{Nothing}}} (to be tested with the {{{IsNull()}}} Basic builtin function) if the database connection is undefined or is currently unavailable. In case of wanted (by using the [[CloseConnection]] method) or unwanted disconnection the [[OpenConnection]] //Sub// may be (re)executed to (re)create a valid connection.
++*When applied to a non-Base document containing at least one //standalone// form, the statements
++//{{{
++Application.CurrentDb()
++//}}}
++and
++//{{{
++Forms(0).CurrentDb()
++//}}}
++are equivalent.
++!!!Error messages
++None
++!!!See also
++[[CloseConnection]]
++[[Database]]
++[[Form]]
++[[OpenConnection]]
++!!!Example
++&lt;&lt;tiddler &quot;CurrentDb example&quot;&gt;&gt;</pre>
++</div>
++<div title="CurrentDb example" modifier="Jean-Pierre Ledure" created="201108131510" modified="201408011509" tags="[[Snippets of Code]]" changecount="1">
++<pre>Reconnect database after unwanted disconnection
++//{{{
++ If IsNull(Application.CurrentDb) Then Call Application.OpenConnection(ThisDatabaseDocument)
++//}}}</pre>
++</div>
++<div title="CurrentRecord" modifier="Jean-PierreLedure" created="201306131021" modified="201306151429" tags="Properties">
++<pre>You can use the //CurrentRecord// property to specify the current record in the recordset being viewed on a form.
++!!!Applies to ...
++| !Object |!Description |
++|[[Form]] |An open form |
++|[[SubForm]] |A subform in an open form |
++!!!Syntax
++//form//{{{.CurrentRecord}}}
++//form//{{{.CurrentRecord = }}}//value//
++//subform//{{{.CurrentRecord}}}
++//subform//{{{.CurrentRecord = }}}//value//
++!!!Returned values / Arguments
++{{{Long}}}
++!!!Remarks
++The value specified by this property corresponds to the value shown in the record number box found in the lower-left corner of the form.
++!!!Error messages
++|Form '...' is currently not open|
++|Value '...' is invalid for property '~CurrentRecord' |
++!!!See also
++[[Recordset|Recordset (property)]]
++!!!Example
++&lt;&lt;tiddler &quot;CurrentRecord example&quot;&gt;&gt;</pre>
++</div>
++<div title="CurrentRecord example" modifier="Jean-PierreLedure" created="201306141331" modified="201306141340" tags="[[Snippets of Code]]">
++<pre>Go to the 100th record
++//{{{
++Dim oForm As Object
++ Set oForm = Forms(&quot;myForm&quot;)
++ oForm.CurrentRecord = 100
++//}}}</pre>
++</div>
++<div title="CurrentUser" modifier="Jean-Pierre Ledure" created="201312261107" modified="201510031311" tags="Properties" changecount="3">
++<pre>The //~CurrentUser// property returns the logon name of the current user.
++&lt;&lt;tiddler &quot;ApplyApplication&quot;&gt;&gt;
++!!!Syntax
++{{{[Application.]CurrentUser}}}
++!!!Returned values / Arguments
++{{{String}}}
++!!!Remarks
++!!!Error messages
++!!!See also
++[[ProductCode]]
++[[Version]]
++!!!Example
++&lt;&lt;tiddler &quot;Identification example&quot;&gt;&gt;</pre>
++</div>
++<div title="CustomersTable" modifier="Jean-PierreLedure" created="201212221717" modified="201212281639" tags="HowTo">
++<pre>*Customers table
++| !Fields | !Field Type | !Primary |
++|Address | Text ||
++|City | Text ||
++|~CompanyName | Text ||
++|~ContactName | Text ||
++|Country | Text ||
++|~CustomerID | Text | Y |
++|Fax | Text ||
++|Phone | Text ||
++|~PostalCode | Text ||
++|Region | Text ||</pre>
++</div>
++<div title="DAvg" modifier="Jean-Pierre Ledure" created="201108061256" modified="201605011507" tags="[[Database Functions]]" changecount="5">
++<pre>You can use the ~DAvg function to determine the average of a set of values in a specified set of records (a domain).
++&lt;&lt;tiddler &quot;ApplyApplication&quot;&gt;&gt;
++or to ...
++| !Object | !Description |
++|[[Database]] |A database object opened with the [[OpenDatabase]] or returned by the [[CurrentDb]] methods. |
++!!!Syntax
++{{{[Application.]DAvg(expression, domain[, criteria])}}}
++{{{database.DAvg(expression, domain[, criteria])}}}
++!!!Arguments
++| !Argument | !Type | !Optional |!Description |
++|database | Object | Y |A database object opened with the //~OpenDatabase// or returned by the //~CurrentDb// methods. |
++|expression | String ||An expression that identifies the field whose value you want to return. It can be a string expression identifying a field in a table or query, or it can be a SQL expression that performs a calculation on data in that field. However the SQL expression must not include any SQL aggregate function. |
++|domain | String ||A string expression identifying the set of records that constitutes the domain. It can be a table name or a query name for a query that does not require a parameter. |
++|criteria | String | Y |An optional string expression used to restrict the range of data on which the ~DAvg function is performed. For example, criteria is often equivalent to the WHERE clause in an SQL expression, without the word WHERE. If criteria is omitted, the ~DAvg function evaluates expr against the entire domain. Any field that is included in criteria must also be a field in domain. |
++!!!Returned value
++{{{Variant}}}
++!!!Remarks
++*In all the //expression//, //domain//, //criteria// and //orderclause// arguments, database table- and fieldnames should be surrounded with square brackets []. Additionally, if in the current RDBMS (Relational ~DataBase Management System) table- and fieldnames used in SQL statements are case-sensitive - like in ~MySQL -, the same rule applies when used in database functions.
++*If no record satisfies //criteria// or if //domain// contains no records, the ~DAvg function returns a ''Null''.
++*Construct the //criteria// argument carefully to ensure that it will be evaluated correctly as a valid WHERE clause.
++!!!Error messages
++|~DFunction execution failed SQL='...' |
++!!!See also
++[[DCount]]
++[[DLookup]]
++[[DMin, DMax]]
++[[DStDev, DStDevP]]
++[[DSum]]
++[[DVar, DVarP]]
++!!!Example
++&lt;&lt;tiddler &quot;Dfunctions example&quot;&gt;&gt;</pre>
++</div>
++<div title="DCount" modifier="Jean-Pierre Ledure" created="201108061247" modified="201605011508" tags="[[Database Functions]]" changecount="4">
++<pre>You can use the ~DCount function to determine the number of records that are in a specified set of records (a domain).
++&lt;&lt;tiddler &quot;ApplyApplication&quot;&gt;&gt;
++or to ...
++| !Object | !Description |
++|[[Database]] |A database object opened with the [[OpenDatabase]] or returned by the [[CurrentDb]] methods. |
++!!!Syntax
++{{{[Application.]DCount(expression, domain[, criteria])}}}
++{{{database.DCount(expression, domain[, criteria])}}}
++!!!Arguments
++| !Argument | !Type | !Optional |!Description |
++|database | Object | Y |A database object opened with the //~OpenDatabase// or returned by the //~CurrentDb// methods. |
++|expression | String ||An expression that identifies the field whose value you want to return. It can be a string expression identifying a field in a table or query, or it can be a SQL expression that performs a calculation on data in that field. However the SQL expression must not include any SQL aggregate function. |
++|domain | String ||A string expression identifying the set of records that constitutes the domain. It can be a table name or a query name for a query that does not require a parameter. |
++|criteria | String | Y |An optional string expression used to restrict the range of data on which the ~DAvg function is performed. For example, criteria is often equivalent to the WHERE clause in an SQL expression, without the word WHERE. If criteria is omitted, the ~DAvg function evaluates expr against the entire domain. Any field that is included in criteria must also be a field in domain. |
++!!!Returned value
++{{{Integer}}} or {{{Long}}}
++!!!Remarks
++*In all the //expression//, //domain//, //criteria// and //orderclause// arguments, database table- and fieldnames should be surrounded with square brackets []. Additionally, if in the current RDBMS (Relational ~DataBase Management System) table- and fieldnames used in SQL statements are case-sensitive - like in ~MySQL -, the same rule applies when used in database functions.
++*If no record satisfies //criteria// or if //domain// contains no records, the ~DCount function returns a ''Null''.
++*Construct the //criteria// argument carefully to ensure that it will be evaluated correctly as a valid WHERE clause.
++!!!Error messages
++|~DFunction execution failed SQL='...' |
++!!!See also
++[[DAvg]]
++[[DLookup]]
++[[DMin, DMax]]
++[[DStDev, DStDevP]]
++[[DSum]]
++[[DVar, DVarP]]
++!!!Example
++&lt;&lt;tiddler &quot;Dfunctions example&quot;&gt;&gt;</pre>
++</div>
++<div title="DLookup" modifier="Jean-Pierre Ledure" created="201108060748" modified="201605011507" tags="[[Database Functions]]" changecount="3">
++<pre>You can use the ~DLookup function to get the value of a particular field from a specified set of records (a domain).
++
++You can use the ~DLookup function to display the value of a field that isn't in the record source for your form. For example, suppose you have a form based on an Order Details table. The form displays the ~OrderID, ~ProductID, ~UnitPrice, Quantity, and Discount fields. However, the ~ProductName field is in another table, the Products table. You could use the ~DLookup function in an event to display the ~ProductName on the same form.
++&lt;&lt;tiddler &quot;ApplyApplication&quot;&gt;&gt;
++or to ...
++| !Object | !Description |
++|[[Database]] |A database object opened with the [[OpenDatabase]] or returned by the [[CurrentDb]] methods. |
++!!!Syntax
++{{{[Application.]DLookup(expression, domain[, criteria][, orderclause]))}}}
++{{{database.DLookup(expression, domain[, criteria][, orderclause]))}}}
++!!!Arguments
++| !Argument | !Type | !Optional |!Description |
++|database | Object | Y |A database object opened with the //~OpenDatabase// or returned by the //~CurrentDb// methods. |
++|expression | String ||An expression that identifies the field whose value you want to return. It can be a string expression identifying a field in a table or query, or it can be a SQL expression that performs a calculation on data in that field. However the SQL expression must not include any SQL aggregate function. |
++|domain | String ||A string expression identifying the set of records that constitutes the domain. It can be a table name or a query name for a query that does not require a parameter. |
++|criteria | String | Y |An optional string expression used to restrict the range of data on which the ~DAvg function is performed. For example, criteria is often equivalent to the WHERE clause in an SQL expression, without the word WHERE. If criteria is omitted, the ~DAvg function evaluates expr against the entire domain. Any field that is included in criteria must also be a field in domain. |
++|orderclause | String | Y |A string expression specifying the sequence of the returned records. It is a SQL ORDER BY clause without the words ORDER BY. It can include the ASC or DESC keywords. |
++!!!Returned value
++{{{Variant}}}
++!!!Remarks
++*In all the //expression//, //domain//, //criteria// and //orderclause// arguments, database table- and fieldnames should be surrounded with square brackets []. Additionally, if in the current RDBMS (Relational ~DataBase Management System) table- and fieldnames used in SQL statements are case-sensitive - like in ~MySQL -, the same rule applies when used in database functions.
++*The ~DLookup function returns a single field value based on the information specified in //criteria//. If more than one record meet //domain// and //criteria//, the DLookup function returns a __random__ value in the domain. If a //orderclause// is present the ~DLookup function will return the __first__ value that meets the criteria.
++*If no record satisfies //criteria// or if //domain// contains no records, the ~DLookup function returns a ''Null''.
++*Construct the //criteria// argument carefully to ensure that it will be evaluated correctly as a valid WHERE clause.
++!!!Error messages
++|~DFunction execution failed SQL='...' |
++!!!See also
++[[DAvg]]
++[[DCount]]
++[[DMin, DMax]]
++[[DStDev, DStDevP]]
++[[DSum]]
++[[DVar, DVarP]]
++!!!Example
++&lt;&lt;tiddler &quot;Dfunctions example&quot;&gt;&gt;</pre>
++</div>
++<div title="DLookupSamples" modifier="Jean-PierreLedure" created="201212301328" modified="201212301416" tags="HowTo">
++<pre>Note that the same logic applies to most Domain Aggregate Functions ([[DMin, DMax]] etc.)
++
++!!!Normal usage
++*For numerical values:
++//{{{
++ DLookup(&quot;FieldName&quot; , &quot;TableName&quot; , &quot;Criteria=&quot; &amp; num)
++//}}}
++*For strings: (note the single quote before and after the value)
++//{{{
++ DLookup(&quot;FieldName&quot; , &quot;TableName&quot; , &quot;Criteria='&quot; &amp; string &amp; &quot;'&quot;)
++//}}}
++*For dates: ISO notation =&gt; ''~YYYY-MM-DD''
++//{{{
++ DLookup(&quot;FieldName&quot; , &quot;TableName&quot; , &quot;Criteria='&quot; &amp; Format(date, &quot;YYYY-MM-DD&quot;) &amp; &quot;'&quot;)
++//}}}
++!!!Refering to a form control
++*For numerical values
++//{{{
++ DLookup(&quot;FieldName&quot;, &quot;TableName&quot;, &quot;Criteria=&quot; &amp; getValue(&quot;Forms!FormName!ControlName&quot;)
++//}}}
++*For strings: (note the single quote before and after the value)
++//{{{
++ DLookup(&quot;FieldName&quot;, &quot;TableName&quot;, &quot;Criteria='&quot; &amp; getValue(&quot;Forms!FormName!ControlName&quot;) &amp; &quot;'&quot;)
++//}}}
++*For dates:
++//{{{
++ DLookup(&quot;FieldName&quot;, &quot;TableName&quot;, &quot;Criteria='&quot; &amp; Format(getValue(&quot;Forms!FormName!ControlName&quot;)) &amp; &quot;'&quot;)
++//}}}
++!!!~Mix-n-Match
++//{{{
++ DLookup(&quot;FieldName&quot;, &quot;TableName&quot;, &quot;Criteria1=&quot; &amp; Forms!FormName!Control1 _
++ &amp; &quot; AND Criteria2='&quot; &amp; getValue(Forms!FormName!Control2) &amp; &quot;'&quot; _
++ &amp; &quot; AND Criteria3='&quot; &amp; Format(getValue(Forms!FormName!Control3), &quot;YYYY-MM-DD&quot;) &amp; &quot;'&quot;)
++//}}}</pre>
++</div>
++<div title="DMedian function" modifier="Jean-PierreLedure" created="201308041425" modified="201308161422" tags="HowTo">
++<pre>(Q) How can I write a function that computes the //median// value of a range of data ?
++
++(R) The median is the numerical value separating the higher half of a data sample from the lower half. The median of a finite list of numbers can be found by arranging all the observations from lowest value to highest value and picking the middle one. If there is an even number of observations, then there is no single middle value; the median is then usually defined to be the mean of the two middle values. (Wikipedia)
++Easily feasible with a [[Recordset]] object.
++
++The function:
++//{{{
++Public Function DMedian( _
++ psField As String _
++ , psTable As String _
++ , Optional psWhere As String _
++ ) As Variant
++
++Dim sSql As String, oRecordset As Object, vValue1 As variant, oField As Object
++Const cstQuote = &quot;&quot;&quot;&quot;
++
++ DMedian = Null
++
++ sSql = &quot;SELECT &quot; _
++ &amp; cstQuote &amp; psField &amp; cstQuote _
++ &amp; &quot; FROM &quot; &amp; cstQuote &amp; psTable &amp; cstQuote _
++ &amp; Iif(IsMissing(psWhere), &quot;&quot;, &quot; WHERE &quot; &amp; psWhere) _
++ &amp; &quot; ORDER BY &quot; &amp; cstQuote &amp; psField &amp; cstQuote
++ Set oRecordset = CurrentDb().OpenRecordset(sSql)
++
++ With oRecordset
++ .MoveLast() ' Necessary to know the exact number of records
++ If Not .EOF() Then ' At least 1 record ?
++ Select Case .RecordCount Mod 2
++ Case 0 ' Even
++ .AbsolutePosition = .RecordCount / 2
++ Set oField = .Fields(psField)
++ vValue1 = oField.Value
++ .MoveNext
++ DMedian = (oField.Value + vValue1) / 2
++ Case 1 ' Odd
++ .AbsolutePosition = Int(.RecordCount / 2) + 1 ' Works also if only 1 record
++ DMedian = .Fields(psField).Value
++ End Select
++ End If
++ .mClose()
++ End With
++
++End Function
++//}}}
++!!!Example
++With next table:
++&lt;&lt;tiddler &quot;ProductsTable&quot;&gt;&gt;
++//{{{
++ MsgBox DMedian(&quot;UnitPrice&quot;, &quot;Products&quot;)
++//}}}
++computes the median value of the //~UnitPrice// range of values
++!!!See also
++[[Move (recordset)]]
++[[AbsolutePosition]]
++!!!Refer to ...
++| !Basic module |
++|Records |</pre>
++</div>
++<div title="DMin, DMax" modifier="Jean-Pierre Ledure" created="201108061258" modified="201605011507" tags="[[Database Functions]]" changecount="2">
++<pre>You can use the ~DMin and ~DMax functions to determine the minimum and maximum values of a set of values in a specified set of records (a domain).
++&lt;&lt;tiddler &quot;ApplyApplication&quot;&gt;&gt;
++or to ...
++| !Object | !Description |
++|[[Database]] |A database object opened with the [[OpenDatabase]] or returned by the [[CurrentDb]] methods. |
++!!!Syntax
++{{{[Application.]DMin(expression, domain[, criteria])}}}
++{{{[Application.]DMax(expression, domain[, criteria])}}}
++{{{database.DMin(expression, domain[, criteria])}}}
++{{{database.DMax(expression, domain[, criteria])}}}
++!!!Arguments
++| !Argument | !Type | !Optional |!Description |
++|database | Object | Y |A database object opened with the //~OpenDatabase// or returned by the //~CurrentDb// methods. |
++|expression | String ||An expression that identifies the field whose value you want to return. It can be a string expression identifying a field in a table or query, or it can be a SQL expression that performs a calculation on data in that field. However the SQL expression must not include any SQL aggregate function. |
++|domain | String ||A string expression identifying the set of records that constitutes the domain. It can be a table name or a query name for a query that does not require a parameter. |
++|criteria | String | Y |An optional string expression used to restrict the range of data on which the ~DAvg function is performed. For example, criteria is often equivalent to the WHERE clause in an SQL expression, without the word WHERE. If criteria is omitted, the ~DAvg function evaluates expr against the entire domain. Any field that is included in criteria must also be a field in domain. |
++!!!Returned value
++{{{Variant}}}
++!!!Remarks
++*In all the //expression//, //domain//, //criteria// and //orderclause// arguments, database table- and fieldnames should be surrounded with square brackets []. Additionally, if in the current RDBMS (Relational ~DataBase Management System) table- and fieldnames used in SQL statements are case-sensitive - like in ~MySQL -, the same rule applies when used in database functions.
++*If no record satisfies //criteria// or if //domain// contains no records, the ~DMin (~DMax) function returns a ''Null''.
++*Construct the //criteria// argument carefully to ensure that it will be evaluated correctly as a valid WHERE clause.
++!!!Error messages
++|~DFunction execution failed SQL='...' |
++!!!See also
++[[DAvg]]
++[[DCount]]
++[[DLookup]]
++[[DStDev, DStDevP]]
++[[DSum]]
++[[DVar, DVarP]]
++!!!Example
++&lt;&lt;tiddler &quot;Dfunctions example&quot;&gt;&gt;</pre>
++</div>
++<div title="DPercentile" modifier="Jean-Pierre Ledure" created="201308170741" modified="201408011512" tags="HowTo" changecount="1">
++<pre>(Q) How can I write a function that computes the value corresponding with a given //percentile// of a range of data ?
++
++(R) A percentile is a measure used in statistics indicating the value below which a given percentage of observations in a group of observations fall. For example, the 20th percentile is the value (or score) below which 20 percent of the observations may be found. For example, if a score is in the 86th percentile, it is higher than 86% of the other scores. (Wikipedia)
++Easily feasible with a [[Recordset]] object.
++
++The function:
++//{{{
++Public Function DPercentile( _
++ pdPercentile As Double _
++ , psField As String _
++ , psTable As String _
++ , Optional psWhere As String _
++ ) As Variant
++
++Dim sSql As String, oRecordset As Object, vValue1 As variant, oField As Object
++Const cstQuote = &quot;&quot;&quot;&quot;
++
++ DPercentile = Null
++ If pdPercentile &lt; 0 Or pdPercentile &gt; 1 Then Exit Function
++
++ sSql = &quot;SELECT &quot; _
++ &amp; cstQuote &amp; psField &amp; cstQuote _
++ &amp; &quot; FROM &quot; &amp; cstQuote &amp; psTable &amp; cstQuote _
++ &amp; Iif(IsMissing(psWhere), &quot;&quot;, &quot; WHERE &quot; &amp; psWhere) _
++ &amp; &quot; ORDER BY &quot; &amp; cstQuote &amp; psField &amp; cstQuote
++ Set oRecordset = Application.CurrentDb().OpenRecordset(sSql)
++
++ With oRecordset
++ .MoveLast() ' Necessary to know the exact number of records
++ If pdPercentile &lt; 1 Then ' Else take current (highest) value
++ If Not .EOF() Then ' At least 1 record ?
++ .AbsolutePosition = Int(CDbl(.RecordCount * pdPercentile + 0.5) + 0.5)
++ Else
++ Exit Function
++ End If
++ End If
++ DPercentile = .Fields(psField).Value
++ .mClose()
++ End With
++
++End Function
++//}}}
++!!!Example
++With next table:
++&lt;&lt;tiddler &quot;ProductsTable&quot;&gt;&gt;
++//{{{
++ MsgBox DPercentile(0.25, &quot;UnitPrice&quot;, &quot;Products&quot;)
++//}}}
++computes the 25th percentile of the //~UnitPrice// range of values
++!!!See also
++[[Move (recordset)]]
++[[AbsolutePosition]]
++!!!Refer to ...
++| !Basic module |
++|Records |</pre>
++</div>
++<div title="DStDev, DStDevP" modifier="Jean-Pierre Ledure" created="201108061308" modified="201605011508" tags="[[Database Functions]]" changecount="2">
++<pre>You can use the ~DStDev and ~DStDevP functions to determine the standard deviation of a set of values in a specified set of records (a domain).
++&lt;&lt;tiddler &quot;ApplyApplication&quot;&gt;&gt;
++or to ...
++| !Object | !Description |
++|[[Database]] |A database object opened with the [[OpenDatabase]] or returned by the [[CurrentDb]] methods. |
++!!!Syntax
++{{{[Application.]DStDev(expression, domain[, criteria])}}}
++{{{[Application.]DStDevP(expression, domain[, criteria])}}}
++{{{database.DStDev(expression, domain[, criteria])}}}
++{{{database.DStDevP(expression, domain[, criteria])}}}
++!!!Arguments
++| !Argument | !Type | !Optional |!Description |
++|database | Object | Y |A database object opened with the //~OpenDatabase// or returned by the //~CurrentDb// methods. |
++|expression | String ||An expression that identifies the field whose value you want to return. It can be a string expression identifying a field in a table or query, or it can be a SQL expression that performs a calculation on data in that field. However the SQL expression must not include any SQL aggregate function. |
++|domain | String ||A string expression identifying the set of records that constitutes the domain. It can be a table name or a query name for a query that does not require a parameter. |
++|criteria | String | Y |An optional string expression used to restrict the range of data on which the ~DAvg function is performed. For example, criteria is often equivalent to the WHERE clause in an SQL expression, without the word WHERE. If criteria is omitted, the ~DAvg function evaluates expr against the entire domain. Any field that is included in criteria must also be a field in domain. |
++!!!Returned value
++{{{Variant}}}
++!!!Remarks
++*In all the //expression//, //domain//, //criteria// and //orderclause// arguments, database table- and fieldnames should be surrounded with square brackets []. Additionally, if in the current RDBMS (Relational ~DataBase Management System) table- and fieldnames used in SQL statements are case-sensitive - like in ~MySQL -, the same rule applies when used in database functions.
++*If no record satisfies //criteria// or if //domain// contains no records, the ~DStDev (~DStDevP) function returns a ''Null''.
++*Construct the //criteria// argument carefully to ensure that it will be evaluated correctly as a valid WHERE clause.
++!!!Error messages
++|~DFunction execution failed SQL='...' |
++!!!See also
++[[DAvg]]
++[[DCount]]
++[[DLookup]]
++[[DMin, DMax]]
++[[DSum]]
++[[DVar, DVarP]]
++!!!Example
++&lt;&lt;tiddler &quot;Dfunctions example&quot;&gt;&gt;</pre>
++</div>
++<div title="DSum" modifier="Jean-Pierre Ledure" created="201111121452" modified="201605011508" tags="[[Database Functions]]" changecount="2">
++<pre>You can use the ~DSum function to determine the sum of a set of numeric values in a specified set of records (a domain).
++&lt;&lt;tiddler &quot;ApplyApplication&quot;&gt;&gt;
++or to ...
++| !Object | !Description |
++|[[Database]] |A database object opened with the [[OpenDatabase]] or returned by the [[CurrentDb]] methods. |
++!!!Syntax
++{{{[Application.]DSum(expression, domain[, criteria])}}}
++{{{database.DSum(expression, domain[, criteria])}}}
++!!!Arguments
++| !Argument | !Type | !Optional |!Description |
++|database | Object | Y |A database object opened with the //~OpenDatabase// or returned by the //~CurrentDb// methods. |
++|expression | String ||An expression that identifies the field whose value you want to return. It can be a string expression identifying a field in a table or query, or it can be a SQL expression that performs a calculation on data in that field. However the SQL expression must not include any SQL aggregate function. |
++|domain | String ||A string expression identifying the set of records that constitutes the domain. It can be a table name or a query name for a query that does not require a parameter. |
++|criteria | String | Y |An optional string expression used to restrict the range of data on which the ~DAvg function is performed. For example, criteria is often equivalent to the WHERE clause in an SQL expression, without the word WHERE. If criteria is omitted, the ~DAvg function evaluates expr against the entire domain. Any field that is included in criteria must also be a field in domain. |
++!!!Returned value
++{{{Variant}}}
++!!!Remarks
++*In all the //expression//, //domain//, //criteria// and //orderclause// arguments, database table- and fieldnames should be surrounded with square brackets []. Additionally, if in the current RDBMS (Relational ~DataBase Management System) table- and fieldnames used in SQL statements are case-sensitive - like in ~MySQL -, the same rule applies when used in database functions.
++*If no record satisfies //criteria// or if //domain// contains no records, the ~DSum function returns a ''Null''.
++*Construct the //criteria// argument carefully to ensure that it will be evaluated correctly as a valid WHERE clause.
++!!!Error messages
++|~DFunction execution failed SQL='...' |
++!!!See also
++[[DAvg]]
++[[DCount]]
++[[DLookup]]
++[[DMin, DMax]]
++[[DStDev, DStDevP]]
++[[DVar, DVarP]]
++!!!Example
++&lt;&lt;tiddler &quot;Dfunctions example&quot;&gt;&gt;</pre>
++</div>
++<div title="DVar, DVarP" modifier="Jean-Pierre Ledure" created="201108061305" modified="201605011508" tags="[[Database Functions]]" changecount="2">
++<pre>You can use the ~DVar and ~DVarP functions to determine the variance of a set of values in a specified set of records (a domain).
++&lt;&lt;tiddler &quot;ApplyApplication&quot;&gt;&gt;
++or to ...
++| !Object | !Description |
++|[[Database]] |A database object opened with the [[OpenDatabase]] or returned by the [[CurrentDb]] methods. |
++!!!Syntax
++{{{[Application.]DVar(expression, domain[, criteria])}}}
++{{{[Application.]DVarP(expression, domain[, criteria])}}}
++{{{database.DVar(expression, domain[, criteria])}}}
++{{{database.DVarP(expression, domain[, criteria])}}}
++!!!Arguments
++| !Argument | !Type | !Optional |!Description |
++|database | Object | Y |A database object opened with the //~OpenDatabase// or returned by the //~CurrentDb// methods. |
++|expression | String ||An expression that identifies the field whose value you want to return. It can be a string expression identifying a field in a table or query, or it can be a SQL expression that performs a calculation on data in that field. However the SQL expression must not include any SQL aggregate function. |
++|domain | String ||A string expression identifying the set of records that constitutes the domain. It can be a table name or a query name for a query that does not require a parameter. |
++|criteria | String | Y |An optional string expression used to restrict the range of data on which the ~DAvg function is performed. For example, criteria is often equivalent to the WHERE clause in an SQL expression, without the word WHERE. If criteria is omitted, the ~DAvg function evaluates expr against the entire domain. Any field that is included in criteria must also be a field in domain. |
++!!!Returned value
++{{{Variant}}}
++!!!Remarks
++*In all the //expression//, //domain//, //criteria// and //orderclause// arguments, database table- and fieldnames should be surrounded with square brackets []. Additionally, if in the current RDBMS (Relational ~DataBase Management System) table- and fieldnames used in SQL statements are case-sensitive - like in ~MySQL -, the same rule applies when used in database functions.
++*If no record satisfies //criteria// or if //domain// contains no records, the ~DVar (~DVarP) function returns a ''Null''.
++*Construct the //criteria// argument carefully to ensure that it will be evaluated correctly as a valid WHERE clause.
++!!!Error messages
++|~DFunction execution failed SQL='...' |
++!!!See also
++[[DAvg]]
++[[DCount]]
++[[DLookup]]
++[[DMin, DMax]]
++[[DStDev, DStDevP]]
++[[DSum]]
++!!!Example
++&lt;&lt;tiddler &quot;Dfunctions example&quot;&gt;&gt;</pre>
++</div>
++<div title="DataType" modifier="Jean-Pierre Ledure" created="201306291216" modified="201512271330" tags="Properties" changecount="3">
++<pre>The type of a field pertaining to a [[table|TableDef]], a [[query|QueryDef]] or a [[recordset|Recordset]] can be recognized thru the use of any of next properties:
++*//~DataType//
++*//~DbType//
++*//~TypeName//
++The ~DbType property is there for compatibility with ~MSAccess.
++See the correspondence table below.
++!!!Applies to ...
++| !Object |!Description |
++|[[Field]] |The representation of a field of a table, a query or a recordset. |
++!!!Syntax
++//field//{{{.DataType}}}
++//field//{{{.DbType}}}
++//field//{{{.TypeName}}}
++!!!Returned values
++| !Property | !Returned value |
++|~DataType | Long |
++|~DbType | Integer |
++|~TypeName | String |
++!!!Correspondence table
++&lt;&lt;tiddler &quot;FieldTypesList&quot;&gt;&gt;
++Instead of using the numeric values for ~DbType, one may copy next code and paste it in his/her own code. This allows to use symbolic names, close to or identical with the field types existing in ~MSAccess.
++//{{{
++REM Types
++REM -----------------------------------------------------------------
++Const dbBigInt = 16
++Const dbBinary = 9
++Const dbBoolean = 1
++Const dbByte = 2
++Const dbChar = 18
++Const dbCurrency = 5
++Const dbDate = 8
++Const dbDecimal = 20
++Const dbDouble = 7
++Const dbFloat = 21
++Const dbGUID = 15
++Const dbInteger = 3
++Const dbLong = 4
++Const dbLongBinary = 11
++Const dbMemo= 12
++Const dbNumeric = 19
++Const dbSingle = 6
++Const dbText = 10
++Const dbTime = 22
++Const dbTimeStamp = 23
++Const dbVarBinary = 17
++Const dbUndefined = -1
++//}}}
++!!!Remarks
++*The //~DataType//, //~DbType// and //~TypeName// properties are read-only.
++*As you can see there is no bijection between the list of //~DataTypes// and the list of //~TyeNames//. Indeed different Relational Database Systems may return different names for their internal set of database fieldtypes. This can create ambiguity. It is always preferable to use the //~DataType// property wherever possible.
++!!!Error messages
++!!!See also
++!!!Example
++&lt;&lt;tiddler &quot;DataType example&quot;&gt;&gt;</pre>
++</div>
++<div title="DataType example" modifier="Jean-PierreLedure" created="201306291319" tags="[[Snippets of Code]]">
++<pre>List all fields of a table with their types
++//{{{
++Dim i As Integer, oTable As Object, oField As Object
++ Set oTable = Application.CurrentDb().TableDefs(&quot;AllTypes&quot;)
++ For i = 0 To oTable.Fields().Count - 1
++ Set oField = oTable.Fields(i)
++ DebugPrint oField.Name, oField.DataType, oField.DbType, oField.TypeName
++ Next i
++//}}}</pre>
++</div>
++<div title="DataUpdatable" modifier="Jean-PierreLedure" created="201307211200" modified="201307211404" tags="Properties">
++<pre>Returns a value that indicates whether the data in the field represented by a [[Field object|Field]] in a [[recordset|Recordset]] is updatable.
++!!!Applies to ...
++| !Object |!Description |
++|[[Field]] |The representation of a field of a recordset. |
++!!!Syntax
++//field//{{{.DataUpdatable}}}
++!!!Returned values
++{{{Boolean}}}
++!!!Remarks
++*An error message is produced when the //~DataUpdatable// property is invoked on a field belonging to the [[Fields collection|Fields]] of a [[TableDef]] or a [[QueryDef]].
++*Use this property to determine whether you can change the [[Value|Value (field)]] property setting of a [[Field object|Field]]. This property is always {{{False}}} on a //auto-increment// field.
++!!!Error messages
++!!!See also
++[[SourceTable]]
++[[Value|Value (field)]]
++!!!Example</pre>
++</div>
++<div title="Database" modifier="Jean-Pierre Ledure" created="201108121003" modified="201704011647" tags="Objects" changecount="11">
++<pre>{{firstletter{
++ @@color:#930;A@@
++ }}} //Database// [[object|Object Model]] describes the database the application is currently connected to.
++!!!Functions/Methods returning a database object
++| !Parent object | !Function | !Type |!Description |
++|[[Application]]&lt;br /&gt;[[Form]] |[[CurrentDb]] | Method |The //~CurrentDb// method returns either&lt;br /&gt;- the database object related to a Base (&quot;.odb&quot;) document,&lt;br /&gt;- or the database object related to a [[standalone form|Standalone Forms]] contained in a non-Base (Writer Calc, ...) document. |
++|[[Application]] |[[OpenDatabase]] | Method |{{{Application.OpenDatabase( ... )}}} returns an object from which SQL statements can be run or recordsets can be browsed. |
++!!!Collections
++| !Collection | !Description |
++|[[QueryDefs]] |The collection of [[QueryDef]] objects. |
++|[[TableDefs]] |The collection of [[TableDef]] objects. |
++|[[Recordsets]] |The collection of __open__ [[Recordset]] objects. |
++!!!Properties
++| !Property | !Type | !Read only | !Description or UNO object |
++|[[Connect]] || Y |The connection string as displayed on the statusbar |
++|[[Name]] || Y |The name of the database |
++|[[ObjectType]] || Y |Returns &quot;DATABASE&quot; |
++|[[Version]] || Y |Something like 'HSQL Database Engine 1.8.0' |
++|Document | UNO | Y |com.sun.star.comp.dba.~ODatabaseDocument |
++|Connection | UNO | Y |com.sun.star.sdbc.drivers.~OConnectionWrapper |
++|~MetaData | UNO | Y |interface ~XDatabaseMetaData |
++!!!Methods
++| !Method | !Description |
++|[[Close|Close (method)]] |Close the database object. |
++|[[CloseAllRecordsets]] |Housekeeping of eventual open recordsets |
++|[[CreateQueryDef]] |Create a new query entry in the database |
++|[[CreateTableDef]] |Create a new table entry in the database |
++|[[DAvg]] |Invoke one of the &quot;database functions&quot; |
++|[[DCount]] |~|
++|[[DLookup]] |~|
++|[[DMin, DMax]] |~|
++|[[DStDev, DStDevP]] |~|
++|[[DSum]] |~|
++|[[DVar, DVarP]] |~|
++|[[getProperty]] |Return the value of the given property. |
++|[[hasProperty]] |Return {{{True}}} if the Database object has the given property. |
++|[[OutputTo]] |Output the content of a table or a query to an HTML page. |
++|[[OpenRecordset]] |Define and open a [[recordset|Recordset]] based on a SQL statement |
++|[[OpenSQL]] |Open a datasheet containing the data described by the provided SELECT SQL statement |
++|[[RunSQL]] |Execute the SQL statement given as argument |
++!!!See also
++[[CurrentDb]]
++</pre>
++</div>
++<div title="Database Functions" modifier="Jean-Pierre Ledure" created="201108060748" tags="Menu">
++<pre></pre>
++</div>
++<div title="DatabaseWindow" modifier="Jean-PierreLedure" created="201212301116" modified="201212301133" tags="HowTo">
++<pre>(Q) Can I hide the database window ?
++
++(R) No, the database window cannot be hidden. It can however be minimized.
++
++What is called here the //database window// is the screen welcoming the user when (s)he opens a database front-end file (suffixed with &quot;.odb&quot;) where the tables, queries, forms and reports are listed.
++It can be desirable to hide that window and, instead, opening a form for example.
++!!!Minimize the database window
++Very easy code but it's as easy for the user to restore it with a mouse click. Nevertheless ... first select the //database window// then minimize it.
++//{{{
++Const acDatabaseWindow = 102
++ SelectObject(acDatabaseWindow)
++ Minimize()
++//}}}
++A variant:
++//{{{
++Const acDatabaseWindow = 102
++ SelectObject(acDatabaseWindow)
++ MoveSize ,,10,10
++//}}}
++!!!See also
++[[SelectObject]]
++[[Minimize]]
++[[Maximize]]
++[[MoveSize]]</pre>
++</div>
++<div title="Datadef example" modifier="Jean-PierreLedure" created="201306081306" modified="201306081535" tags="[[Snippets of Code]]">
++<pre>List all tables and all queries
++//{{{
++Dim i As Integer, odbDatabase As Object
++ Set odbDatabase = Application.CurrentDb()
++ With odbDatabase
++ Print &quot;TABLES&quot;,
++ For i = 0 To .TableDefs().Count - 1
++ Print .TableDefs(i).Name,
++ Next i
++ Print &quot;QUERIES&quot;,
++ For i = 0 To .QueryDefs().Count - 1
++ Print .QueryDefs(i).Name,
++ Next i
++ End With
++//}}}
++</pre>
++</div>
++<div title="DbaccessFromCalc" modifier="YourName" created="201404051435" modified="201801051754" tags="HowTo" changecount="33">
++<pre>(Q) How could I get data stored in a database from within a Calc cell formula ?
++
++(R) Calc offers as a standard feature to insert data from database tables and queries via a specific browser that is invoked by using the {{{View}}} + {{{Data Sources}}} menu command or the {{{F4}}} function key.
++The Help files describe in detail how to proceed.
++However the question here is, as an example : how is it possible to enter a ''product code'' in a cell and get in another calculated cell its ''description'', knowing that the __correspondence between both fields is somewhere in a database table__ and not in the spreadsheet ?
++
++Obviously, to not simplify the problem, we would appreciate to have things happen automatically, i.e. also when the sheet is configured to have its
++&gt;{{{Tools + Cell Contents}}}
++set to ''{{{AutoCalculate}}}'', and __without useless database accesses__.
++
++In the proposed solution we will go even further. The example shown will illustrate next 4 functionalities:
++*Use database data to populate a dropdown listbox.
++*Derive automatically the //description// from the selected item in the listbox.
++*Prepare a report with the heading derived from the database table field names.
++*Populate an array of data in the sheet extracted from the database and filtered by the choice in the dropdown box..
++[img[Access data dynamically from a Calc spreadsheet|dbaccess_from_calc.png]]
++!!A solution
++Let's consider next tables:
++&lt;&lt;tiddler &quot;CategoriesTable&quot;&gt;&gt;
++&lt;&lt;tiddler &quot;ProductsTable&quot;&gt;&gt;
++The final purpose of the spreadsheet is to list all products belonging to the category selected by the user.
++!!!Preamble
++The challenge will be to do next things apparently simultaneously without the user becoming aware of the underlying complexity:
++*to load the ~Access2Base macro library, only once
++*to open the database file (&quot;.odb&quot;) referring to the effective database, also only once
++*to extract the needed data only when relevant and every time it is, i.e. when some input parameter has been modified.
++When Calc recomputes a worksheet, it sequences its computations in function of the respective arguments present in each cell formula.
++For example, if
++**cell A1 is a number
++**C1 contains the formula {{{&quot;=A1*2&quot;}}}
++**and B1 contains the formula {{{&quot;=C1*C1&quot;}}}
++the worksheet will not be recomputed from left to right, but in the sequence A1, C1, B1. In addition, C1 and B1 will be both recomputed automatically every time A1 receives another value.
++Choosing in this matter either cells or &quot;names&quot; (defined by {{{Insert}}} + {{{Names}}}) does not make any difference. Names will be preferred if they do not need to be visible in the sheet.
++The sequencing of computations done by Calc is the mean we will use to reach our challenge.
++!!!Global
++To access the database we have to make use of a database object. Let's define it as a {{{Global}}} variable.
++Such variables remain in life as long as
++*the AOO/~LibO session is lasting
++*the module where it is declared is not edited.
++Usually I declare {{{Global}}} variable in a separate module as such a module is unlikely to be modified often.
++//{{{
++Global oMyDatabase As Variant
++//}}}
++!!!Define Name
++Define a {{{Name}}} called {{{IsConnected}}}. Store in it the formula
++//{{{
++=DBCONNECTED()
++//}}}
++DBCONNECTED is a user-defined function and behaves exactly like any builtin Calc function or expression. It has no argument.
++The code of the function is here:
++//{{{
++Sub _Init()
++Dim oLib As Object
++ Set oLib = GlobalScope.BasicLibraries
++ If oLib.hasByName(&quot;Access2BaseDev&quot;) Then
++ oLib.loadLibrary(&quot;Access2BaseDev&quot;)
++ ElseIf Not oLib.IsLibraryLoaded(&quot;Access2Base&quot;) Then
++ oLib.loadLibrary(&quot;Access2Base&quot;)
++ End If
++ If oLib.hasByName(&quot;XrayTool&quot;) Then oLib.loadLibrary(&quot;XrayTool&quot;)
++ Set oMyDatabase = Nothing
++End Sub
++
++Function DBConnected() As Variant
++Dim sCalc As String, sDatabase As String
++ DBConnected = 0
++ If IsEmpty(oMyDatabase) Or IsNull(oMyDatabase) Then
++ Call _Init() ' Load Basic libraries
++ With ThisComponent
++ sCalc = Join(Split(.Title, &quot; &quot;), &quot;%20&quot;) ' Replace &quot; &quot; by &quot;%20&quot; in current filename
++ sDatabase = Join(Split(.URL, sCalc), &quot;TT%20NorthWind.odb&quot;) ' Build URL of database located in same directory as current file
++ End With
++ Set oMyDatabase = OpenDatabase(sDatabase)
++ End If
++ DBConnected = 1
++End Function
++//}}}
++The result is that the loading of the library is put on the computation path. There is no reason why Calc would require recomputation several times of {{{IsConnected}}} except while loading the spreadsheet.
++Now we can build other formulas, like:
++//{{{
++=IF(IsConnected;USERDEFINED(...);False)
++//}}}
++being sure that __such formulas will be evaluated by Calc only when the evaluation of {{{IsConnected}}} has been achieved__.
++!!!Setup the dropdown box
++Use the {{{Data}}} + {{{Validity}}} menu commands to define //Criteria// as being a //Cell range//, select the //Show selection list// checkbox and enter as //Source// next formula
++//{{{
++=IF(IsConnected;CATEGORIESLIST();&quot;&quot;)
++//}}}
++The CATEGORIESLIST() function:
++//{{{
++Function CategoriesList() As Variant
++' Return the list of available product categories as an array
++Dim oRs As Object, sCatsRC() As Variant, sCats() As Variant, i As Integer
++ If Not IsNull(oMyDatabase) Then
++ Set oRs = oMyDatabase.OpenRecordset(&quot;SELECT [CategoryName] FROM [Categories] ORDER BY [CategoryName]&quot;)
++ sCatsRC = oRs.GetRows(1000) ' matrix (column, row)
++ sCats() = Array() ' Reduce to column only
++ ReDim sCats(0 To UBound(sCatsRC, 2))
++ For i = 0 To UBound(sCats)
++ sCats(i) = sCatsRC(0, i)
++ Next i
++ CategoriesList = sCats()
++ oRs.mClose()
++ End If
++End Function
++//}}}
++!!!Find description
++The dropdown box is in cell {{{B2}}}. We put in cell {{{D2}}} next formula:
++//{{{
++=IF(IsConnected;CATLOOKUP(B2);&quot;&quot;)
++//}}}
++that will be recomputed by Calc each time the cell {{{B2}}} is modified by the user.
++The CATLOOKUP function:
++//{{{
++Function CatLookup(ByVal pvArg As Variant) As Variant
++ If Not IsNull(oMyDatabase) Then CatLookup = oMyDatabase.DLookup(&quot;[Description]&quot;, &quot;[Categories]&quot;, &quot;[CategoryName]='&quot; &amp; pvArg &amp; &quot;'&quot;)
++End Function
++//}}}
++!!!Fill the data
++The data matrix will be inserted as an ''array formula'' ({{{Ctrl}}} + {{{Shift}}} + {{{Enter}}}) in cells {{{D6:H35}}}. Look at the AOO/~LibO help to know more about them.
++//{{{
++{=IF(IsConnected,PRODUCTSLOAD($B$2),&quot;&quot;)}
++//}}}
++The PRODUCTSLOAD function:
++//{{{
++Function ProductsLoad(ByVal pvCat As Variant) As Variant
++Dim oRS As Object, sSQL As String, vResult() As Variant, vTranspose() As Variant
++Dim i As Integer, j As Integer
++Const cstSize = 30
++ If Not IsNull(oMyDatabase) Then
++ sSQL = &quot;SELECT [ProductName] AS [Product], [QuantityPerUnit] AS [Quantity], [UnitsInStock] AS [Stock], [UnitPrice] AS [Price]&quot; _
++ &amp; &quot;, [CompanyName] AS [Company]&quot; _
++ &amp; &quot; FROM [Products], [Categories], [Suppliers]&quot; _
++ &amp; &quot; WHERE [Products].[CategoryID] = [Categories].[CategoryID]&quot; _
++ &amp; &quot; AND [Suppliers].[SupplierID] = [Products].[SupplierID]&quot; _
++ &amp; &quot; AND [Categories].[CategoryName] = '&quot; &amp; pvCat &amp; &quot;'&quot; _
++ &amp; &quot; ORDER BY [Product] ASC&quot;
++ Set oRS = oMydatabase.Openrecordset(sSQL)
++ ' Enumerate field names
++ vFields() = Array() ' Mandatory before resizing a variant
++ ReDim vFields(0 To oRS.Fields.Count - 1)
++ For i = 0 To UBound(vFields)
++ vFields(i) = oRS.Fields(i).Name
++ Next i
++ ' fetch recordset data
++ vResult() = oRS.GetRows(cstSize)
++ oRS.mClose()
++ ' Transpose results
++ vTranspose = Array()
++ ReDim vTranspose(0 To cstSize, 0 To UBound(vResult, 1))
++ For i = 0 To cstSize
++ For j = 0 To UBound(vTranspose, 2)
++ 'Set Empty to avoid #N/A
++ If i &gt; UBound(vResult, 2) Then vTranspose(i, j) = Empty Else vTranspose(i, j) = vResult(j, i)
++ Next j
++ Next i
++
++ ProductsLoad = vTranspose()
++ End If
++End Function
++//}}}
++A second {{{Global}}} variable is used here to store the field names in a more generic way:
++//{{{
++Global vFields() As Variant
++//}}}
++!!!Headings
++The title of the data matrix is again an array formula, put in cells {{{D4:H4}}}.
++The {{{G36&gt;0}}} condition below makes that the heading cells are evaluated after the data cells. Indeed titles are extracted from the database in the same {{{Sub}}} as the data.
++//{{{
++{=IF(AND(IsConnected,G36&gt;0),DBTITLE(),&quot;&quot;)}
++//}}}
++associated with next code:
++//{{{
++Function DbTitle() As Variant
++ If Not IsNull(oMyDatabase) Then
++ DbTitle() = vFields()
++ End If
++End Function
++//}}}
++!!!Close the connection
++Finally it is always recommended to clean the connection to the database.
++Associate next code
++//{{{
++Function DbClose()
++ If Not IsNull(oMyDatabase) Then oMyDatabase.mClose()
++ Set oMyDatabase = Nothing ' Reinitialize oMyDatabase to Null
++End Function
++//}}}
++with the {{{Document closed}}} event ({{{Tools}}} + {{{Customize}}} - {{{Events}}} tab).
++!!See also
++[[Close|Close (method)]]
++[[DLookup]]
++[[GetRows]]
++[[OpenDatabase]]
++[[OpenRecordset]]
++!!!Refer to ...
++| !File | !Basic module |
++|TT ~NorthWind Calc.ods | Connect&lt;br /&gt;Globals |</pre>
++</div>
++<div title="DebugPrint" modifier="Jean-PierreLedure" created="201205041017" modified="201301251654" tags="[[Error handling]]">
++<pre>!!!Role
++Registers in the Traces circular buffer a new entry. The arguments will be presented in tabular form.
++!!!Syntax
++{{{DebugPrint([Value1[, Value2[, Value3[ ... ])}}}
++!!!Arguments
++| !Arguments | !Type | !Default | !When ... | !Result string |
++|List of values separated by commas | Any | Empty string (&quot;&quot;) | Empty&lt;br /&gt;Object&lt;br /&gt;Null&lt;br /&gt;Variant&lt;br /&gt;Array&lt;br /&gt;Boolean&lt;br /&gt;Numeric&lt;br /&gt;Date&lt;br /&gt;String&lt;br /&gt;Other |{{{--EMPTY--}}}&lt;br /&gt;[~Object-Type] ~Object-Name&lt;br /&gt;{{{--NULL--}}}&lt;br /&gt;{{{--VARIANT--}}}&lt;br /&gt;{{{--ARRAY--}}}&lt;br /&gt;True or False&lt;br /&gt;The numeric value&lt;br /&gt;The Date value&lt;br /&gt;The string&lt;br /&gt;(ERROR) |
++!!!See also
++[[Error Handler]]
++[[TraceConsole]]
++[[TraceError]]
++[[TraceLevel]]
++[[TraceLog]]
++!!!Example
++&lt;&lt;tiddler &quot;DebugPrint example&quot;&gt;&gt;</pre>
++</div>
++<div title="DebugPrint example" modifier="Jean-Pierre Ledure" created="201205041058" modified="201405221353" tags="[[Snippets of Code]]" changecount="3">
++<pre>Display debug information.
++
++Next code ...
++//{{{
++Dim oForm As Object, sString As String, dDate As Date
++ Set oForm = Application.AllForms(&quot;myForm&quot;)
++ sString = &quot;a string&quot;
++ dDate = DateSerial(2014,5,10)
++ DebugPrint dDate, sString, oForm, oForm.Name, oForm.IsLoaded
++//}}}
++... generates next entry in the console:
++//{{{
++15:08:31 ===&gt; 10/05/2014 a string [FORM] myForm myForm False
++//}}}
++</pre>
++</div>
++<div title="Default" modifier="Jean-PierreLedure" created="201108050957" modified="201306151420" tags="Properties">
++<pre>You can use the Default property to specify whether a command button is the default button on a form.
++!!!Applies to ...
++| !Object | !Type when&lt;br /&gt;in a form | !Type when&lt;br /&gt;in a ~GridControl | !Type when&lt;br /&gt; in a dialog |!Description |
++|[[Control]] |~CommandButton | None |~CommandButton |A control on an open form or dialog |
++!!!Syntax
++//control//{{{.Default}}}
++//control//{{{.Default = }}}//value//
++!!!Returned values / Arguments
++{{{Boolean}}}
++!!!Remarks
++!!!Error messages
++|Property 'Default' not applicable in this context |
++|Value '...' is invalid for property 'Default' |
++!!!See also
++[[Cancel]]
++!!!Example
++&lt;&lt;tiddler &quot;Cancel &amp; Default example&quot;&gt;&gt;</pre>
++</div>
++<div title="DefaultTiddlers" modifier="Jean-Pierre Ledure" created="201106250808" modified="201108061605" tags="excludeLists">
++<pre>[[Home]]</pre>
++</div>
++<div title="DefaultValue" modifier="Jean-Pierre Ledure" created="201108051009" modified="201405291532" tags="Properties" changecount="2">
++<pre>The //~DefaultValue// property specifies a value that is automatically entered in a field or a control when a new record is created.
++!!!Applies to ...
++| !Object | !Control type when&lt;br /&gt;in a (sub)form | !Control type when&lt;br /&gt;in a ~GridControl | !Field type |!Description |
++|[[Control]] |~CheckBox&lt;br /&gt;[[ComboBox]]&lt;br /&gt;~CurrencyField&lt;br /&gt;~DateField&lt;br /&gt;~FileControl&lt;br /&gt;~FormattedField&lt;br /&gt;[[ListBox]]&lt;br /&gt;~NumericField&lt;br /&gt;~PatternField&lt;br /&gt;[[RadioButton]]&lt;br /&gt;~SpinButton&lt;br /&gt;~TextField&lt;br /&gt;~TimeField | All | NA |A control on an open form |
++|[[Field]] | NA | NA | Not applicable on&lt;br /&gt;~AutoNumber fields&lt;br /&gt;Binary and ~LongBinary fields |A field in a [[table|TableDef]], a [[query|QueryDef]] or a [[recordset|Recordset]] |
++!!!Syntax
++//control//{{{.DefaultValue}}}
++//control//{{{.DefaultValue = }}}//value//
++//field//{{{.DefaultValue}}}
++//field//{{{.DefaultValue = }}}//value//
++!!!Returned values / Arguments
++{{{Variant}}} when //~DefaultValue// is a property of a //Control// object
++{{{String}}} when //~DefaultValue// is a property of a //Field// object
++!!!Remarks
++*The //~DefaultValue// property is not applicable to //controls// belonging to a dialog.
++*The //~DefaultValue// property of a //field// returns a null-length string if there is no default value.
++*The //~DefaultValue// property of a //field// is read-only except if the field pertains to a [[table|TableDef]].
++!!!Error messages
++|Property '~DefaultValue' not applicable in this context |
++|Value '...' is invalid for property '~DefaultValue' |
++!!!Example
++&lt;&lt;tiddler &quot;DefaultValue example&quot;&gt;&gt;</pre>
++</div>
++<div title="DefaultValue example" modifier="Jean-PierreLedure" created="201108051101" modified="201212071417" tags="[[Snippets of Code]]">
++<pre>List the default value of all controls - if relevant - on an open form
++//{{{
++Dim ofForm As Object, ocControl As Object, i As Integer, iCount As Integer
++ Set ofForm = Forms(&quot;myForm&quot;)
++ iCount = ofForm.Controls.Count
++ For i = 0 To iCount - 1
++ Set ocControl = ofForm.Controls(i)
++ If hasProperty(ocControl, &quot;DefaultValue&quot;) Then Print ocControl.Name &amp; &quot;=&quot; &amp; ocControl.DefaultValue
++ Next i
++ Print
++//}}}</pre>
++</div>
++<div title="Definitions" modifier="Jean-Pierre Ledure" created="201106251405" modified="201106251408" tags="Menu">
++<pre></pre>
++</div>
++<div title="Delete" modifier="Jean-Pierre Ledure" created="201307191705" modified="201408011512" tags="Methods" changecount="1">
++<pre>Deletes the current record in an updatable [[Recordset object|Recordset]].
++!!!Applies to ...
++| !Object | !Description |
++|[[Recordset]] |A set of records derived from a table, a query or an SQL statement. |
++!!!Syntax
++//recordset//{{{.Delete()}}}
++!!!Returned value
++{{{True}}} if success.
++!!!Remarks
++*A //Recordset// must contain a current record before you use //Delete//; otherwise, a run-time error occurs.
++*In an updatable //Recordset// object, //Delete// removes the current record and makes it inaccessible. Although you can't edit or use the deleted record, it remains current. Once you move to another record, however, you can't make the deleted record current again. Subsequent references to a deleted record in a //Recordset// are invalid and produce an error.
++!!!Error Messages
++|Recordset or field is not updatable |
++|Current row has been deleted by another process or user |
++|Recordset update sequence error |
++!!!See also
++[[AddNew]]
++[[CancelUpdate]]
++[[Close|Close (method)]]
++[[CloseAllRecordsets]]
++[[Edit]]
++[[OpenRecordset]]
++[[Update]]
++!!!Example
++&lt;&lt;tiddler &quot;Delete example&quot;&gt;&gt;</pre>
++</div>
++<div title="Delete (table-query)" modifier="Jean-Pierre Ledure" created="201401171635" modified="201408011513" tags="Methods" changecount="1">
++<pre>Erases a [[table|TableDef]] or a [[query|QueryDef]] object from the [[TableDefs]] or [[QueryDefs]] collections.
++!!!Applies to ...
++| !Object | !Description |
++|[[TableDefs]] |The set of tables of the database. |
++|[[QueryDefs]] |The set of queries of the database document (&quot;.odb&quot; file). |
++!!!Syntax
++//database.~TableDefs()//{{{.Delete(}}}//tablename//{{{)}}}
++//database.~QueryDefs()//{{{.Delete(}}}//queryname//{{{)}}}
++| !Collection | !Argument | !Type |!Returned value |
++|~TableDef |tablename | String |True if success.|
++|~QueryDef |queryname |~|~|
++!!!Remarks
++*The //tablename// and //queryname// arguments are NOT case-sensitive.
++*The database document is automatically saved after the table or query deletion.
++!!!Error Messages
++|Table/Query '...' not found |
++|Method 'Collection.Delete' not applicable in this context |
++!!!See also
++[[QueryDefs]]
++[[TableDefs]]
++!!!Example
++&lt;&lt;tiddler &quot;Delete (table-query) example&quot;&gt;&gt;</pre>
++</div>
++<div title="Delete (table-query) example" modifier="Jean-Pierre Ledure" created="201401171655" modified="201408011513" tags="[[Snippets of Code]]" changecount="1">
++<pre>Erase a table from the database and a query from the database document.
++//{{{
++Dim oCollection As Object
++ Set oCollection = Application.CurrentDb().TableDefs()
++ oCollection.Delete(&quot;TempTable&quot;)
++ Set oCollection = Application.CurrentDb().QueryDefs()
++ oCollection.QueryDefs().Delete(&quot;NewQuery&quot;)
++//}}}</pre>
++</div>
++<div title="Delete example" modifier="Jean-Pierre Ledure" created="201307191710" modified="201408011514" tags="[[Snippets of Code]]" changecount="1">
++<pre>Delete the last record in a table
++//{{{
++Dim oRecordset As Object
++ Set oRecordset = Application.CurrentDb().OpenRecordset(&quot;Expenses&quot;)
++ With oRecordset
++ .MoveLast
++ .Delete
++ .mClose
++ End With
++//}}}</pre>
++</div>
++<div title="Description" modifier="Jean-Pierre Ledure" created="201307211058" modified="201408011515" tags="Properties" changecount="1">
++<pre>Returns the description of a field pertaining to a [[table|TableDef]], a [[query|QueryDef]] or a [[recordset|Recordset]]
++!!!Applies to ...
++| !Object |!Description |
++|[[Field]] |The representation of a field of a table, a query or a recordset. |
++!!!Syntax
++//field//{{{.Description}}}
++//field//{{{.Description}}} = //Value//
++!!!Returned values / Arguments
++{{{String}}}
++!!!Remarks
++The //Description// property is visible in the //Description// column of the //Table Design// view of Base.
++It is read-only except if the field pertains to a [[table|TableDef]].
++!!!Error messages
++|Value '...' is invalid for property 'Description' |
++!!!See also
++[[Name]]
++[[DataType]]
++!!!Example</pre>
++</div>
++<div title="Dfunctions example" modifier="Jean-Pierre Ledure" created="201108060839" modified="201108201455" tags="[[Snippets of Code]]">
++<pre>Database functions
++//{{{
++Dim sLabel As String, sKey As String, sCategory As String
++Dim dblAverage As Double, iCount As Integer, dblSum As Double
++Dim dblMin As Double, dblMax As Double
++Dim dblStdev As Double, dblStdevP As Double, dblVar As Double, dblVarP As Double
++ sKey = &quot;27165&quot;
++ sLabel = DLookup(&quot;[DESCRIPTION]&quot;, &quot;[PRODUCTS]&quot;, &quot;[PRODUCT CODE]='&quot; &amp; sKey &amp; &quot;'&quot;) ' SQL expects single quotes
++ sCategory = &quot;METALLIC&quot;
++ dblAverage = DAvg(&quot;[SALES PRICE]&quot;, &quot;[PRODUCTS]&quot;, &quot;[CATEGORY]='&quot; &amp; sCategory &amp; &quot;' AND [SALES PRICE]&gt;0&quot;)
++ iCount = DCount(&quot;[SALES PRICE]&quot;, &quot;[PRODUCTS]&quot;, &quot;[CATEGORY]='&quot; &amp; sCategory &amp; &quot;' AND [SALES PRICE]&gt;0&quot;)
++ dblSum = DSum(&quot;[SALES PRICE]&quot;, &quot;[PRODUCTS]&quot;, &quot;[CATEGORY]='&quot; &amp; sCategory &amp; &quot;' AND [SALES PRICE]&gt;0&quot;)
++ ' dblAverage should be = dblSum/iCount !!!
++ dblMin = DMin(&quot;[SALES PRICE]&quot;, &quot;[PRODUCTS]&quot;, &quot;[CATEGORY]='&quot; &amp; sCategory &amp; &quot;' AND [SALES PRICE]&gt;0&quot;)
++ dblMax= DMax(&quot;[SALES PRICE]&quot;, &quot;[PRODUCTS]&quot;, &quot;[CATEGORY]='&quot; &amp; sCategory &amp; &quot;' AND [SALES PRICE]&gt;0&quot;)
++ dblStdev = DStdev(&quot;[SALES PRICE]&quot;, &quot;[PRODUCTS]&quot;, &quot;[CATEGORY]='&quot; &amp; sCategory &amp; &quot;' AND [SALES PRICE]&gt;0&quot;)
++ dblStdevP = DStdevP(&quot;[SALES PRICE]&quot;, &quot;[PRODUCTS]&quot;, &quot;[CATEGORY]='&quot; &amp; sCategory &amp; &quot;' AND [SALES PRICE]&gt;0&quot;)
++ dblVar = DVar(&quot;[SALES PRICE]&quot;, &quot;[PRODUCTS]&quot;, &quot;[CATEGORY]='&quot; &amp; sCategory &amp; &quot;' AND [SALES PRICE]&gt;0&quot;)
++ dblVarP = DVarP(&quot;[SALES PRICE]&quot;, &quot;[PRODUCTS]&quot;, &quot;[CATEGORY]='&quot; &amp; sCategory &amp; &quot;' AND [SALES PRICE]&gt;0&quot;)
++ ' Sqr(dblVar) should be = dblStdev !!!
++//}}}</pre>
++</div>
++<div title="Dialog" modifier="YourName" created="201302011601" modified="201802231450" tags="Objects" changecount="8">
++<pre>{{firstletter{
++ @@color:#930;A@@
++ }}} //Dialog// [[object|Object Model]] describes a dialog located in one of the accessible Basic libraries.
++If the property [[IsLoaded]] returns //True// then the dialog is active.
++!!!Functions returning a dialog object
++| !Parent object | !Function | !Type | !Argument |!Description |
++|[[Application]] |[[AllDialogs]] | [[Collection]] | Integer or String |{{{Application.AllDialogs(&quot;myDialog&quot;)}}} returns an object corresponding with the {{{myDialog}}} dialog |
++||[[getObject]] || String |{{{getObject(&quot;Dialogs!myDialog&quot;)}}} returns an object corresponding with the {{{myDialog}}} dialog. {{{myDialog}}} must be active. |
++!!!Properties
++| !Property | !Type | !Read only | !Description or UNO object |
++|[[Caption]] |||Specifies the text that appears in the title bar. |
++|[[Height]] |||Specifies the height of the dialog. |
++|[[IsLoaded]] || Y |True if dialog is active. |
++|[[Name]] || Y |Specifies the real name of the dialog |
++|[[ObjectType]] || Y |Returns &quot;DIALOG&quot; |
++|[[Visible]] |||Shows or hides the dialog without making it inactive. |
++|[[Width]] |||Specifies the width of the dialog. |
++|~UnoDialog | UNO | Y |com.sun.star.awt.~XControl&lt;br /&gt;The output of the //~CreateUnoDialog// Basic function. |
++!!!Methods
++| !Method | !Argument(s) | !Return | !Description |
++|[[EndExecute]] | returnvalue | Long |Stop the execution of the dialog and return //returnvalue//. |
++|[[Execute|Execute (dialog)]] |||Display the dialog and interact with the user. |
++|[[getProperty]] | property | Variant |Return the value of the given property. |
++|[[hasProperty]] | property | Boolean |Return True if the Dialog has the given property. |
++|[[Move]] | coordinates |~|Return True if Dialog has been moved successfully. |
++|[[setProperty]] | property&lt;br /&gt;value |~|Return True if the given property could be set. |
++|[[Start]] |||Initialize the dialog. |
++|[[Terminate]] |||Close all processing concerning the actual dialog. |
++!!!Remarks
++Each //Dialog// [[object|Object Model]] has a Controls [[collection|Collection]], that contains all controls on the dialog. You can refer to a specific control on a dialog by referring to the [[Controls]] collection.
++!!!Examples
++&lt;&lt;tiddler &quot;Dialog example&quot;&gt;&gt;</pre>
++</div>
++<div title="Dialog example" modifier="Jean-Pierre Ledure" created="201302021505" modified="201405241611" tags="[[Snippets of Code]]" changecount="1">
++<pre>Display a dialog
++//{{{
++Dim oDialog As Object, lExecute As Long
++Const dlgOK = 1
++Const dlgCancel = 0
++ oDialog = Application.AllDialogs(&quot;myDialog&quot;)
++ oDialog.Start
++ lExecute = oDialog.Execute
++ Select Case lExecute
++ Case dlgCancel ' Cancel button pressed
++ ' ... do probably nothing ...
++ Case dlgOK ' OK button pressed
++ ' ... process the dialog, all controls are still available
++ Case Else ' Dialog interrupted programmatically
++ ' ... process the dialog based on the returned value
++ End Select
++ oDialog.Terminate
++//}}}</pre>
++</div>
++<div title="DoCmd" modifier="Jean-Pierre Ledure" created="201301121050" modified="201510031305" tags="Objects" changecount="9">
++<pre>{{firstletter{
++ @@color:#930;T@@
++ }}}he //~DoCmd// class is a secondary root class from which actions or commands are initiated..
++The //~DoCmd// class must not be instantiated. The only preset instance MUST be called {{{DoCmd}}}. In fact it is implemented simply as a Basic module.
++As an example, next statements are equivalent :
++//{{{
++ RunCommand(&quot;DBDirectSQL&quot;)
++//}}}
++and
++//{{{
++ DoCmd.RunCommand(&quot;DBDirectSQL&quot;)
++//}}}
++!!Methods
++| !Method | !Description |
++|[[ApplyFilter]] |Apply a filter, a query, or an SQL WHERE clause to a table, form, subform or query. |
++|[[Close]] |Close an object (table, query, form or report). |
++|[[CopyObject]] |Copy an existing query or table. |
++|[[FindNext]] |Find the next instance of data that meets the criteria specified by the arguments of the last invoked //~FindRecord// action. |
++|[[FindRecord]] |Find the first instance of data that meets the criteria specified by the //~FindRecord// arguments. |
++|[[GetHiddenAttribute]] |Know if a named window is currently hidden or visible. |
++|[[GoToControl]] |Move the focus to the named control in the active window. |
++|[[GoToRecord]] |Make the specified record the current record in an open form |
++|[[Maximize]] |Maximize the window containing the //Form// having the focus. |
++|[[Minimize]] |Minimize the window containing the //Form// having the focus. |
++|[[MoveSize]] |Move the active window to the coordinates specified by the argument values. |
++|[[OpenForm]] |Open a form in normal view or in form design view. |
++|[[OpenQuery]] |Open a query in normal view or in query design view. |
++|[[OpenReport]] |Open a report in normal view or in report design view. |
++|[[OpenSQL]] |Open a datasheet containing the data described by the provided SELECT SQL statement. |
++|[[OpenTable]] |Open a table in normal view or in table design view. |
++|[[OutputTo]] |Output the data in the specified object (currently only a form) to several output formats. |
++|[[Quit]] |Quit //~OpenOffice/~LibreOffice Base//. |
++|[[RunApp]] |Run an external application given by its command line. |
++|[[RunCommand]] |Execute the command given as argument. |
++|[[RunSQL]] |Execute the SQL statement given as argument. |
++|[[SelectObject]] |Move the focus to the specified window. |
++|[[SendObject]] |Output the data in the specified object (currently only a form) to several output formats and inserts it into an e-mail. |
++|[[SetHiddenAttribute]] |Specify if a named window must be made hidden or visible. |
++|[[SetOrderBy]] |Apply a sort to a table, form or datasheet. |
++|[[ShowAllRecords]] |Remove any existing filters and sorts that may exist on the current table, query, or form. |
++|[[SysCmd]] |Display a progress meter or specified text in the status bar. |</pre>
++</div>
++<div title="Edit" modifier="Jean-PierreLedure" created="201307191351" modified="201307211502" tags="Methods">
++<pre>Copies the current record from an updatable [[Recordset object|Recordset]] to the edit buffer for subsequent editing.
++!!!Applies to ...
++| !Object | !Description |
++|[[Recordset]] |A set of records derived from a table, a query or an SQL statement. |
++!!!Syntax
++//recordset//{{{.Edit()}}}
++!!!Returned value
++{{{True}}} if success.
++!!!Remarks
++*Once you use the //Edit// method, changes made to the current record's fields are copied to the copy buffer. After you make the desired changes to the record, use the [[Update method|Update]] to save your changes.
++*After you modify the new record, use the [[Update]] method to save the changes and add the record to the //Recordset//. No changes occur in the database until you use the //Update// method.
++**''Caution'' If you edit a record and then perform any operation that moves to another record, but without first using //Update//, your changes are lost without warning.
++*The current record remains current after you use //Edit//.
++!!!Error Messages
++|Recordset or field is not updatable |
++|Current row has been deleted |
++!!!See also
++[[AddNew]]
++[[CancelUpdate]]
++[[Close|Close (method)]]
++[[CloseAllRecordsets]]
++[[DefaultValue]]
++[[Update]]
++[[Value|Value (field)]]
++!!!Example
++&lt;&lt;tiddler &quot;Edit example&quot;&gt;&gt;</pre>
++</div>
++<div title="Edit example" modifier="Jean-Pierre Ledure" created="201307191355" modified="201405241104" tags="[[Snippets of Code]]" changecount="1">
++<pre>Modify the last record in a table
++//{{{
++Dim oRecordset As Object
++ Set oRecordset = Application.CurrentDb().OpenRecordset(&quot;Expenses&quot;)
++ With oRecordset
++ .MoveLast
++ .Edit
++ .Fields(&quot;AMOUNT&quot;).Value = 4321
++ .Update
++ .mClose
++ End With
++//}}}</pre>
++</div>
++<div title="EditMode" modifier="Jean-PierreLedure" created="201307130931" modified="201307131345" tags="Properties">
++<pre>The //~EditMode// property returns a value that indicates the state of editing for the current record.
++!!!Applies to ...
++| !Object |!Description |
++|[[Recordset]] |A set of records derived from a table, a query or an SQL statement. |
++!!!Syntax
++//recordset//{{{.EditMode}}}
++!!!Returned values
++|dbEditNone | Long |No editing operation is in progress. |
++|dbEditInProgress |~|The [[Edit]] method has been invoked, and the current record is in the edit buffer. |
++|dbEditAdd |~|The [[AddNew]] method has been invoked, and the current record in the edit buffer is a new record that hasn't been saved in the database. |
++!!!Remarks
++*The //~EditMode// property is read-only.
++*The //~EditMode// property is useful when an editing process is interrupted, for example, by an error during validation. You can use the value of the //~EditMode// property to determine whether you should use the [[Update]] or [[CancelUpdate]] method.
++*If useful you can insert next lines in your own code:
++//{{{
++REM Edit mode
++Const dbEditNone = 0
++Const dbEditInProgress = 1
++Const dbEditAdd = 2
++//}}}
++!!!Error messages
++!!!See also
++[[AddNew]]
++[[CancelUpdate]]
++[[Edit]]
++[[Recordset]]
++[[Update]]
++!!!Example</pre>
++</div>
++<div title="EmployeesTable" modifier="Jean-Pierre Ledure" created="201212221318" modified="201511211416" tags="HowTo" changecount="1">
++<pre>*Employees table
++| !Fields | !Field Type | !Primary |
++|Address | Text ||
++|~BirthDate | Date/Time ||
++|City | Text ||
++|Country | Text ||
++|Extension | Integer ||
++|~FirstName | Text ||
++|~HireDate | Date/Time ||
++|~HomePhone | Text ||
++|~LastName | Text ||
++|Notes | Text ||
++|Photo | Text ||
++|~PostalCode | Text ||
++|Region | Text ||
++|~ReportsTo | ~BigInt ||
++|Title | Text ||
++|~TitleOfCourtesy | Text ||
++|~EmployeeID | ~BigInt | Y |</pre>
++</div>
++<div title="Enabled" modifier="Jean-PierreLedure" created="201108051443" modified="201306151420" tags="Properties">
++<pre>The //Enabled// property specifies if the control is accessible with the cursor.
++!!!Applies to ...
++| !Object | !Type when&lt;br /&gt;in a form | !Type when&lt;br /&gt;in a ~GridControl | !Type when&lt;br /&gt;in a dialog |!Description |
++|[[Control]] |All except&lt;br /&gt;--~HiddenControl&lt;br /&gt;[[SubForm]]-- | All | All |A control on an open form or dialog |
++!!!Syntax
++//control//{{{.Enabled}}}
++//control//{{{.Enabled = }}}//value//
++!!!Returned values / Arguments
++{{{Boolean}}}
++!!!Remarks
++!!!Error messages
++|Property 'Enabled' not applicable in this context |
++|Value '...' is invalid for property 'Enabled' |
++!!!See also
++[[Locked]]
++!!!Example
++&lt;&lt;tiddler &quot;Enabled &amp; Locked example&quot;&gt;&gt;</pre>
++</div>
++<div title="Enabled &amp; Locked example" modifier="Jean-PierreLedure" created="201108051456" modified="201212071425" tags="[[Snippets of Code]]">
++<pre>Lock and disable control
++//{{{
++Dim ocControl As Object
++ Set ocControl = Controls(&quot;myForm&quot;, &quot;myControl&quot;)
++ ocControl.Enabled = False
++ ocControl.Locked = True
++//}}}</pre>
++</div>
++<div title="EndExecute" modifier="Jean-Pierre Ledure" created="201302021547" modified="201405241107" tags="Methods" changecount="1">
++<pre>The //~EndExecute// method interrupts programmatically the display of the specified [[dialog|Dialog]] and transfers a value to be returned by the interrupted [[Execute|Execute (dialog)]] method.
++!!!Applies to ...
++| !Object | !Description |
++|[[Dialog]] |The representation of a Basic dialog |
++!!!Syntax
++//dialog//.{{{EndExecute(}}}//returnvalue//{{{)}}}
++| !Argument | !Type |!Description |
++| returnvalue | //Long// |The value that will return the pending [[Execute|Execute (dialog)]] method applied to the //Dialog// object |
++!!!Remarks
++*The //~EndExecute// method must be preceeded with the [[Execute|Execute (dialog)]] method applied on the same object.
++*The //~EndExecute// method is usually triggered from a //dialog// or //control// event linked to the concerned dialog box.
++!!!Error messages
++|Dialog unknown |
++|Dialog not yet started |
++!!!See also
++[[AllDialogs]]
++[[Execute|Execute (dialog)]]
++[[Start]]
++[[Terminate]]
++!!!Example
++&lt;&lt;tiddler &quot;Dialog example&quot;&gt;&gt;</pre>
++</div>
++<div title="EnumerateControls" modifier="Jean-PierreLedure" created="201205010601" modified="201308161011" tags="HowTo">
++<pre>(Q) How can I cycle through the controls on a form and retrieve their names?
++
++(R) Use the following function as an example. Pass the form's name to it and watch the displayed result.
++
++Note: Make sure you also copy [[bIsLoaded|FindOutFormOpen]] function since fEnumControls uses it internally to make sure that the form to be enumerated is open.
++//{{{
++Sub fEnumControls(ByVal sFrmToEnum As String)
++
++'Display control's Type and Name
++'will NOT enumerate controls within an embedded subform
++
++ 'if form is closed, exit function
++Const vbCritical = 16
++ If Not bIsLoaded(sFrmToEnum) Then
++ MsgBox &quot;Form &quot; &amp; sFrmToEnum &amp; &quot; is probably closed!! &quot; &amp; _
++ &quot;Please open it &amp; try again.&quot;, vbCritical
++ Exit Sub
++ End If
++
++Dim oForm As Object, oControl As Object, iCount As Integer, i As Integer
++ Set oForm = Forms(sFrmToEnum)
++ 'Count the number of controls
++ iCount = oForm.Controls().Count
++
++ For i = 0 To iCount - 1
++ Set oControl = oForm.Controls(i)
++ DebugPrint oControl.SubType &amp; &quot;:&quot;, oControl.Name
++ Next i
++
++End Sub
++//}}}
++!!!See also
++[[Forms]]
++[[Controls]]
++[[Count]]
++[[Name]]
++[[SubType]]
++[[DebugPrint]]</pre>
++</div>
++<div title="Error Handler" modifier="Jean-Pierre Ledure" created="201108061445" modified="201408031021" tags="[[Error handling]]" changecount="5">
++<pre>!!!Introduction
++~Access2Base uses internally an error handler that can be optionally used by users in their own code.
++The principles are:
++*An error has an __error-level__. The error-level determines the severity of the error and the behaviour of the program after the error trap: stop or go ahead ?
++*All errors, whatever their level, can be registered on the request of the programmer. The technique used by ~Access2Base is to keep the error //traces// in memory through a //circular buffer//, i.e. a buffer where the oldest entries are replaced by the new ones when the buffer gets full.
++*The error traces (circular buffer) can be viewed for debugging purposes in what is called the ''~Access2Base Console'' dialog box.
++*All the user-defined Subs or Functions follow the same code structure for error handling.
++!!!To view the errors log
++*If //~Access2Base// is included in the software, run next code, either directly in the Basic IDE or via a toolbar button, or ...
++//{{{
++Sub Console()
++ TraceConsole()
++End Sub
++//}}}
++*If //~Access2Base// has been installed as a separate extension, then execute next menu command
++&gt;{{{Tools + Add-Ons + Access2Base Console ...}}}
++in the Basic IDE.
++!!!API
++The routines for error handling are:
++|[[TraceConsole]] |Open the //Console// dialog box for display of all past errors and logs. |
++|[[TraceError]] |Report an error found. |
++|[[TraceLevel]] |Set the minimal level of errors to be reported in the console. |
++|[[TraceLog]] |Log an event in the circular buffer if its level is at least equal to the minimal error level. |
++|DebugPrint |Record as many values as wanted in tabular form in the circular buffer, typically for debugging. |
++!!!Error levels
++| !Level | !Type |!Description |
++|&quot;DEBUG&quot; | String |To report values of variables during the program execution. Such reported errors are NOT user visible. |
++|&quot;INFO&quot; |~|To report any event |
++|&quot;WARNING&quot; |~|To report some abnormal event. |
++|&quot;ERROR&quot; |~|To report an error trapped by a user program. |
++|&quot;FATAL&quot; |~|To report an error caused by a user program but detected by ~Access2Base (f.i. &quot;Form does not exist ...&quot; etc.). |
++|&quot;ABORT&quot; |~|To report an error inside the ~Access2Base API itself. Do not use for programmer or user errors. |
++!!!Recommended program structure for error handling
++The example is given for a //Sub//. It is, mutatis mutandis, equally valid for a //Function//.
++//{{{
++Sub mySub
++ On Local Error Goto Error_Sub
++ ...
++Exit_Sub:
++ Exit Sub
++Error_Sub:
++ TraceError(&quot;ERROR&quot;, Err, &quot;MySub&quot;, Erl)
++ Goto Exit_Sub
++End Sub
++//}}}
++In case of error next message will be displayed to the user and simultaneously registered in the trace buffer:
++&gt;Error # //number// (//...description...//) occurred at line //line// in mySub.</pre>
++</div>
++<div title="Error handling" modifier="Jean-Pierre Ledure" created="201108061447" tags="Menu">
++<pre></pre>
++</div>
++<div title="Event" modifier="YourName" created="201110010725" modified="201802231708" tags="Objects [[Events handling]]" changecount="11">
++<pre>The {{{Event}}} [[object|Object Model]] describes an event occurred typically from within a form or a form control, a dialog or a dialog control, or fired from elsewhere.
++!!!Functions returning an //Event// object
++| !Parent object | !Function | !Type | !Arguments |!Description |
++|[[Application]] |[[Events]] | [[Collection]] | the //event// object passed by ~OpenOffice/~LibreOffice&lt;br /&gt;as argument of a document, form, subform or control event |{{{Application.Events(oEvent)}}} returns an //Event// object. |
++!!!Properties of an //Event// object
++| !Property | !Type | !Description |
++|~EventType | String |See the [[events handler|Events Handler]]. |
++|~EventName | String |The following //~EventNames// are commonly available:&lt;br /&gt;//~OnAlphaCharInput, ~OnClick, ~OnCloseApp, ~OnCopyTo, ~OnCopyToDone, ~OnCreate, ~OnError, ~OnFocus, ~OnInsertDone, ~OnInsertStart, ~OnLoad, ~OnLoadCancel, ~OnLoadDone, ~OnLoadError, ~OnLoadFinished, ~OnMailMerge, ~OnMailMergeFinished, ~OnModifyChanged, ~OnMouseOut, ~OnMouseOver, ~OnMove, ~OnNew, ~OnNewMail, ~OnNonAlphaCharInput, ~OnPageCountChange, ~OnPrepareUnload, ~OnPrepareViewClosing, ~OnPrint, ~OnResize, ~OnSave, ~OnSaveAs, ~OnSaveAsDone, ~OnSaveDone, ~OnSaveFinished, ~OnSelect, ~OnStartApp, ~OnSubComponentClosed, ~OnSubComponentOpened, ~OnTitleChanged, ~OnToggleFullscreen, ~OnUnfocus, ~OnUnload, ~OnViewClosed, ~OnViewCreated.// |
++|~ContextShortcut | String |The [[shortcut notation|ShortCut Notation]] of the object (form, dialog or control) having triggered the event. |
++|~ButtonLeft&lt;br /&gt;~ButtonRight&lt;br /&gt;~ButtonMiddle | Boolean |Indicates if the mouse button has been pressed .|
++|~XPos&lt;br /&gt;~YPos | Null or Long |Coordinates of the mouse cursor. |
++|~ClickCount | Long |Number of mouse clicks. |
++|~KeyCode | Integer |See the constants group {{{com.sun.star.awt.Key}}} |
++|~KeyChar | String |The pressed key. |
++|~KeyFunction | Integer |See the constants group {{{com.sun.star.awt.KeyFunction}}} |
++|~KeyAlt&lt;br /&gt;~KeyCtrl&lt;br /&gt;~KeyShift | Boolean |Key combined with Alt, Ctrl or Shift keys. |
++|~FocusChangeTemporary | Boolean |False if focus change due to a user action in same window. |
++|[[ObjectType]] | String |Returns &quot;EVENT&quot; |
++|~RowChangeAction | Long |See the constants group {{{com.sun.star.sdb.RowChangeAction}}} |
++|Recommendation | String |&quot;IGNORE&quot; if the event is recommended to be ignored. Valid only for the //Before record action// form event which is, for strange reasons, fired twice. The first time is recommended to be ignored. |
++|Source | Object |Return the [[Database]], [[Form]], [[SubForm]], [[Dialog]] or [[Control]] object having fired the event |
++|~SubComponentName | String |The name of the component being //opened// or //closed// while executing a //Loaded a sub component// or //Closed a sub component// event. Such an event is set thru the {{{Tools + Customize ... + Events}}} menu command. |
++|~SubComponentType | Long |To be associated with the //~SubComponentName// property. Returns one of next constants:&lt;br /&gt;//acTable&lt;br /&gt;acQuery&lt;br /&gt;acForm&lt;br /&gt;acReport// |
++!!!Methods
++| !Method | !Argument(s) | !Return | !Description |
++|[[getProperty]] | property | Variant |Return the value of the given property. |
++|[[hasProperty]] | property | Boolean |Return True if the Event has the given property. |
++!!!Remarks
++*All properties are read-only.
++*Their values are accessible with the usual syntax&lt;br /&gt;//oEvent//{{{.property}}}
++*The symbolic constants can be included in your code by copying and pasting next lines:
++//{{{
++Const acForm = 2
++Const acQuery = 1
++Const acReport = 3
++Const acTable = 0
++//}}}
++!!!See also
++[[Events Handler]]
++[[Events]]
++!!!Example
++&lt;&lt;tiddler &quot;Event example&quot;&gt;&gt;
++</pre>
++</div>
++<div title="Event example" modifier="Jean-PierreLedure" created="201109031336" modified="201212231012" tags="[[Snippets of Code]]">
++<pre>Assign next macro to the //~TextModified// event of a combo box (other controls could require that the //Changed// event should be used for the same purpose).
++When the user changes his/her selection in the combo box the content of the form is requeried and refreshed on the screen.
++//{{{
++Sub SelectChanged(poEvent As Object)
++
++REM Combo value has changed
++REM =&gt; requery form
++
++Dim oeEvent As Object, ocCombo As Object, sSQL As String, oForm As Object
++ Set oeEvent = Events(poEvent)
++ Set ocCombo = oeEvent.Source
++ sSQL = &quot;SELECT [PRODUCT CODE],[DENOMINATION],[SUPPLIER ID] FROM PRODUCTS WHERE &quot; _
++ &amp; &quot;[SUPPLIER ID]='&quot; &amp; ocCombo.Value &amp; &quot;'&quot;
++ Set oForm = Forms(&quot;myComboForm&quot;)
++ oForm.RecordSource = sSQL
++
++End Sub
++//}}}</pre>
++</div>
++<div title="Events" modifier="Jean-Pierre Ledure" created="201109031107" modified="201607311234" tags="[[Events handling]] Collections" changecount="5">
++<pre>The {{{Events}}} collection returns the (unique) instance of the currently executed [[event object|Event]].
++&lt;&lt;tiddler &quot;ApplyApplication&quot;&gt;&gt;
++!!!Syntax
++{{{[Application.]Events(}}}//event//{{{)}}}
++
++The //event// argument is the variable of {{{Variant/Object}}} type given as argument by ~OpenOffice/~LibreOffice to the macro invoked when the event occurs.
++!!!Returned values
++Either
++- {{{Nothing}}} (to be tested with the {{{IsNull()}}} Basic builtin function) when the event is not really an event or it was triggered by an unsupported event type - or some other error occurred (the call to {{{Events()}}} never stops the execution of the macro). In particular, when the event has been triggered by a toolbar button;
++or
++- an object of type //Event//.
++!!!See also
++[[Events Handler]]
++[[Event]]
++!!!Example
++&lt;&lt;tiddler &quot;Event example&quot;&gt;&gt;
++</pre>
++</div>
++<div title="Events Handler" modifier="Jean-Pierre Ledure" created="201109030954" modified="201610161007" tags="[[Events handling]]" changecount="3">
++<pre>{{firstletter{
++ @@color:#930;E@@
++ }}}''vents'' can automatically execute a macro when a specified software event occurs by assigning the desired macro to the event. The macros might be defined at database document, [[form|Form]], [[subform|SubForm]], [[dialog|Dialog]], [[control|Control]], menu item or toolbar button level. The triggered macro has one argument of type //Object//.
++The //Events Handler// of //~Access2Base// provides a mean to standardize the processing of events and to increase the reusability of macros: indeed the same macro could be used for several controls - if meaningful, of course - as there is an easy way to identify the control which triggered the macro.
++
++''Note that the described technique has nothing in common with the events processing in //~MSAccess//.''
++!!!Step by step
++#Assign the event to a macro: see the ~LibreOffice/~OpenOffice Help or documentation.
++#In the code of the macro invoke the [[Events]] collection. Note that the macro may be a {{{Sub}}} or a {{{Function}}} depending on the necessity or not to return the value {{{False}}} to cancel the event.
++#Use the properties of the returned object to process the event. In particular the //Source// property.
++//{{{
++Sub myEventMacro(poEvent As Object)
++Dim oeEvent As Object, myControl As Object
++ Set oeEvent = Events(poEvent)
++ Set myControl = oEvent.Source ' Return the Control object
++ ' that triggered the event
++ REM ...
++End Sub
++//}}}
++!!!Event types
++The types of events supported by the ~Access2Base API are listed below. See the ~OpenOffice/~LibreOffice documentation for more details.
++The invocation of {{{Events()}}} returns a {{{Null}}} value when other event types occur.
++| !Event type | !Description |
++|DOCUMENTEVENT |At document (database) level. |
++|EVENTOBJECT |Generic for most //form// and //control// events. |
++|ACTIONEVENT |Triggered by a button, ... |
++|FOCUSEVENT |Triggered by a focus change. |
++|INPUTEVENT |Use of special keys. |
++|ITEMEVENT |Action in menu or listbox. |
++|KEYEVENT |Use of normal keys. |
++|MOUSEEVENT |Mouse move or click. |
++|ROWCHANGEEVENT |Insert, update or delete action. |
++|TEXTEVENT |Edition of //control// content. |
++!!!See also
++[[Events]]
++[[Event]]
++[[getObject]]
++!!!Example
++&lt;&lt;tiddler &quot;Event example&quot;&gt;&gt;
++</pre>
++</div>
++<div title="Events handling" modifier="Jean-Pierre Ledure" created="201109030955" tags="Menu">
++<pre> </pre>
++</div>
++<div title="Execute (commandbarcontrol)" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201507251409" modified="201507251417" tags="Methods" changecount="4">
++<pre>The //Execute// method executes the command or script associated with acontrol in a toolbar.
++!!!Applies to ...
++| !Object | !Description |
++|[[CommandBarControl]] |The representation of control in a [[CommandBar]]. |
++!!!Syntax
++//commandbarcontrol//.{{{Execute}}}
++!!!Returned value
++{{{True}}} if success
++!!!Remarks
++The //Execute// method may be preceded with the [[OnAction]] property of the same object.
++!!!Error messages
++!!!See also
++[[CommandBar]]
++[[CommandBarControl]]
++[[OnAction]]
++[[RunCommand]]
++!!!Example
++&lt;&lt;tiddler &quot;CommandBarControl example&quot;&gt;&gt;</pre>
++</div>
++<div title="Execute (dialog)" modifier="Jean-Pierre Ledure" created="201302021438" modified="201405241108" tags="Methods" changecount="1">
++<pre>The //Execute// method displays the specified [[dialog|Dialog]].
++!!!Applies to ...
++| !Object | !Description |
++|[[Dialog]] |The representation of a Basic dialog |
++!!!Syntax
++//dialog//.{{{Execute}}}
++| !Returned values | !Type |!Description |
++|//dlgOK// ||if OK button pressed |
++|//dlgCancel// |~|if Cancel button pressed or dialog closed with the Window close button |
++|Any | //Long// |The argument of the [[EndExecute]] method having requested the dialog closure |
++!!!Remarks
++*The //Execute// method must be preceeded with the [[Start]] method on the same object.
++*Return values can be incorporated in your code by copying/pasting next lines:
++//{{{
++Const dlgOK = 1 ' OK button pressed
++Const dlgCancel = 0 ' Cancel button pressed
++//}}}
++!!!Error messages
++|Dialog unknown |
++|Dialog not yet started |
++!!!See also
++[[AllDialogs]]
++[[EndExecute]]
++[[Start]]
++[[Terminate]]
++!!!Example
++&lt;&lt;tiddler &quot;Dialog example&quot;&gt;&gt;</pre>
++</div>
++<div title="Execute (query)" modifier="Jean-PierreLedure" created="201306151539" modified="201308250748" tags="Methods">
++<pre>{{firstletter{
++ @@color:#930;T@@
++ }}}he //Execute// method executes the SQL statement contained in a query. The statement must execute an action. Examples of such statements are: INSERT INTO, DELETE, SELECT...INTO, UPDATE, CREATE TABLE, ALTER TABLE, DROP TABLE, CREATE INDEX, or DROP INDEX.
++!!!Applies to
++| !Object | !Description |
++|[[QueryDef]] |The representation of a stored query. |
++!!!Syntax
++{{{querydef.Execute(options)}}}
++| !Argument | !Optional | !Type |!Description |
++|{{{options}}} | Yes | Integer&lt;br /&gt;Long |If the argument is present its only allowed value = dbSQLPassThrough.&lt;br /&gt;Forces escape substitution before sending the SQL statement to the database. |
++The method returns False if the execution of the SQL statement failed.
++!!!Remarks
++To include the constant in your own code, copy and paste next line:
++//{{{
++Const dbSQLPassThrough = 64
++//}}}
++!!!Error messages
++|Argument nr. 1 [Value = '...'] is invalid |
++|SQL Error, SQL statement = '...' |
++!!!See also
++[[OpenSQL]]
++[[RunSQL]]
++[[OpenQuery]]
++[[SQL]]
++!!!Example
++&lt;&lt;tiddler &quot;Execute query example&quot;&gt;&gt;</pre>
++</div>
++<div title="Execute query example" modifier="Jean-PierreLedure" created="201306151605" modified="201306151606" tags="[[Snippets of Code]]">
++<pre>Delete an existing table and execute a stored query that recreates the table
++//{{{
++Dim oQuery As Object
++ DoCmd.RunSQL(&quot;DROP TABLE IF EXISTS [TEST_TABLE]&quot;)
++ Set oQuery = Application.CurrentDb().QueryDefs(&quot;CreateTestTable&quot;)
++ oQuery.Execute
++'Refresh the list of tables in the database window
++Const acDatabaseWindow = 102
++ DoCmd.SelectObject acDatabaseWindow
++ DoCmd.RunCommand &quot;DBRefreshTables&quot;
++//}}}
++The SQL contained in the query is ...
++//{{{
++CREATE TABLE TEST_TABLE
++(COL1 INTEGER NOT NULL,
++COL2 CHAR(25),
++COL3 VARCHAR(25),
++COL4 DECIMAL(10,2) NOT NULL,
++COL5 DATE,
++PRIMARY KEY (COL1))
++//}}}</pre>
++</div>
++<div title="ExploreTables" modifier="Jean-Pierre Ledure" created="201312311108" modified="201408011515" tags="HowTo" changecount="1">
++<pre>(Q) How can I list table and field names, and use them in my code ?
++
++(R) We will present 2 techniques. a generic one which uses the ~Access2Base API for exploring //~TableDefs//, and a second, which is specific to HSQLDB, which runs SQL statements on the database schema.
++
++!!!An easy solution is to use the [[TableDefs]] and [[Fields]] collections and their objects.
++Here a simple list of tables with their fields and types:
++//{{{
++Sub ScanTables()
++
++Dim oDatabase As Object, oTable As Object, oField As Object
++Dim i As Integer, j As Integer
++
++ Set oDatabase = Application.CurrentDb()
++ With odatabase
++ For i = 0 To .TableDefs.Count - 1
++ Set oTable = .TableDefs(i)
++ DebugPrint oTable.Name
++
++ For j = 0 To oTable.Fields.Count - 1
++ Set oField = oTable.Fields(j)
++ DebugPrint &quot;&quot;, LongStr(oField.Name), LongStr(oField.TypeName), oField.Size
++ Next j
++ Next i
++ End With
++
++End Sub
++
++Function LongStr(psString As String) As String
++Const cstLength = 20
++ LongStr = Left(psString &amp; Space(cstLength), cstLength)
++End Function
++//}}}
++Note that the //~LongStr// function is there only to have the output cleanly aligned in columns.
++The output will be something like:
++//{{{
++ Categories
++ CategoryName VARCHAR 50
++ Description VARCHAR 2147483647
++ Picture BINARY 2147483647
++ CategoryID BIGINT 0
++ Customers
++ Address VARCHAR 50
++ City VARCHAR 50
++ CompanyName VARCHAR 50
++ ContactName VARCHAR 50
++ ContactTitle VARCHAR 50
++ Country VARCHAR 50
++ CustomerID VARCHAR 50
++ Fax VARCHAR 50
++ Phone VARCHAR 50
++ PostalCode VARCHAR 50
++ Region VARCHAR 50
++ Employees
++ Address VARCHAR 50
++ etc ...
++//}}}
++!!!Solution by exploring the database schema directly (HSQLDB only)
++Not surprisingly __reading the HSQLDB documentation__ will help understand the following examples.
++Running next code
++//{{{
++Sub ScanSchemaSQL()
++Dim sSql As String
++ sSql = &quot;SELECT [TABLE_NAME],[COLUMN_NAME],[SYSTEM_COLUMNS].[TYPE_NAME],[COLUMN_SIZE] &quot; _
++ &amp; &quot;FROM [INFORMATION_SCHEMA].[SYSTEM_TABLES],[INFORMATION_SCHEMA].[SYSTEM_COLUMNS] &quot; _
++ &amp; &quot;WHERE [TABLE_SCHEM]='PUBLIC' AND [SYSTEM_COLUMNS].[TABLE_NAME]=[SYSTEM_TABLES].[TABLE_NAME]&quot;
++ OpenSQL(sSql, dbSQLPassThrough)
++End Sub
++//}}}
++produces the result displayed below:
++//{{{
++TABLE_NAME COLUMN_NAME TYPE_NAME COLUMN_SIZE
++Categories CategoryName VARCHAR 50
++Categories Description VARCHAR 2147483647
++Categories Picture BINARY 2147483647
++Categories CategoryID BIGINT
++Customers Address VARCHAR 50
++Customers City VARCHAR 50
++Customers CompanyName VARCHAR 50
++Customers ContactName VARCHAR 50
++Customers ContactTitle VARCHAR 50
++Customers Country VARCHAR 50
++Customers CustomerID VARCHAR 50
++Customers Fax VARCHAR 50
++Customers Phone VARCHAR 50
++Customers PostalCode VARCHAR 50
++Customers Region VARCHAR 50
++Employees Address VARCHAR 50
++etc ...
++//}}}
++The same results can also be explored programmatically:
++//{{{
++Sub ScanSchema()
++
++Dim oRecordset As Object, sSql As String, iNbFields As integer
++ sSql = &quot;SELECT [TABLE_NAME],[COLUMN_NAME],[SYSTEM_COLUMNS].[TYPE_NAME],[COLUMN_SIZE] &quot; _
++ &amp; &quot;FROM [INFORMATION_SCHEMA].[SYSTEM_TABLES],[INFORMATION_SCHEMA].[SYSTEM_COLUMNS] &quot; _
++ &amp; &quot;WHERE [TABLE_SCHEM]='PUBLIC' AND [SYSTEM_COLUMNS].[TABLE_NAME]=[SYSTEM_TABLES].[TABLE_NAME]&quot;
++
++ Set oRecordset = Application.CurrentDb().OpenRecordset(sSql, , dbSQLPassThrough, dbReadOnly)
++ With oRecordset
++ iNbFields = .Fields.Count
++ Do While Not .EOF()
++ DebugPrint LongStr(.Fields(&quot;TABLE_NAME&quot;).Value) _
++ , LongStr(.Fields(&quot;COLUMN_NAME&quot;).Value) _
++ , LongStr(.Fields(&quot;TYPE_NAME&quot;).Value) _
++ , .Fields(&quot;COLUMN_SIZE&quot;).Value
++ .MoveNext()
++ Loop
++ End With
++
++End Sub
++//}}}
++produces once again the same result as before ...
++//{{{
++Categories CategoryName VARCHAR 50
++Categories Description VARCHAR 2147483647
++Categories Picture BINARY 2147483647
++Categories CategoryID BIGINT [NULL]
++Customers Address VARCHAR 50
++Customers City VARCHAR 50
++Customers CompanyName VARCHAR 50
++Customers ContactName VARCHAR 50
++Customers ContactTitle VARCHAR 50
++Customers Country VARCHAR 50
++Customers CustomerID VARCHAR 50
++Customers Fax VARCHAR 50
++Customers Phone VARCHAR 50
++Customers PostalCode VARCHAR 50
++Customers Region VARCHAR 50
++Employees Address VARCHAR 50
++etc ...
++//}}}
++!!!See also
++[[DebugPrint]]
++[[Fields]]
++[[OpenSQL]]
++[[Recordsets]]
++[[TableDefs]]
++!!!Refer to ...
++| !Basic module | !Form | !Form event | !Control | !Control event |!Comments |
++|Dictionary |||||Run one of the proposed Subs. They do not need any form or control event. |</pre>
++</div>
++<div title="ExportImages" modifier="Jean-PierreLedure" created="201308161612" modified="201308161615" tags="HowTo">
++<pre>(Q) Can I export the content of database binary fields somewhere to the file system ?
++
++(R) Use the [[WriteAllBytes]] method. It's exactly its purpose !
++
++Let's consider next table:
++&lt;&lt;tiddler &quot;CategoriesTable&quot;&gt;&gt;
++Run next Sub. The assumption is that each file in the directory has a name corresponding with the name of the category (after having substituted &quot;/&quot; in category names by a space).
++//{{{
++Sub ExportImages(psPath As String)
++
++Dim oTable As Object, oRecordset As Object, sCatName As String
++ Set oTable = Application.CurrentDb().TableDefs(&quot;CATEGORIES&quot;)
++ Set oRecordset = oTable.OpenRecordset()
++
++ With oRecordset
++ Do While Not .EOF()
++ sCatName = Join(Split(.Fields(&quot;CATEGORYNAME&quot;).Value, &quot;/&quot;), &quot; &quot;)
++ .Fields(&quot;Picture&quot;).WriteAllBytes(psPath &amp; sCatName &amp; &quot;.png&quot;)
++ .MoveNext
++ Loop
++ .mClose()
++ End With
++
++End Sub
++//}}}
++!!!See also
++[[Fields]]
++[[OpenRecordset]]
++[[Recordset]]
++[[TableDefs]]
++[[ReadAllBytes]]
++!!!Refer to ...
++| !Basic module | !Form | !Form event | !Control | !Control event |!Comments |
++|Images |||||Adapt the //path// argument and run the //Main// Sub from the Basic IDE. |</pre>
++</div>
++<div title="ExtractDataTable" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201405311502" modified="201405311546" tags="HowTo" changecount="10">
++<pre>(Q) How do I get data from a database table into my Basic application ?
++
++(R) After you have located a particular record or records, you may want to extract data to use in your application. 2 methods are proposed: a single value or bulk data.
++
++Let's consider next table:
++&lt;&lt;tiddler &quot;OrdersTable&quot;&gt;&gt;
++!!!Copying a Single Field
++You can copy a single field of a record to a variable of the appropriate data type. The following example extracts three fields from the first record in a [[Recordset object|Recordset]].
++//{{{
++Dim odbNorthwind As Object
++Dim orsOrders As Object
++Dim dOrderDate As Date
++Dim sShipAddress As String
++Dim sShipCity As String
++
++ Set odbNorthwind = Application.CurrentDb
++ Set orsOrders = odbNorthwind.OpenRecordset(&quot;Orders&quot;)
++
++ With orsOrders
++ .MoveFirst
++ dOrderDate = .Fields(&quot;OrderDate&quot;).Value
++ sShipAddress = .Fields(&quot;ShipAddress&quot;).Value
++ sShipCity = .Fields(&quot;ShipCity&quot;).Value
++ .mClose()
++ End With
++//}}}
++!!!Copying Entire Records to an Array
++To copy one or more records, you can create a two-dimensional array and copy records one at a time. You increment the first subscript for each record and the second subscript for each field.
++A fast way to do this is to use the [[GetRows method|GetRows]], which returns a two-dimensional array. The first subscript identifies the row and the second identifies the field number, as follows.
++//{{{
++vRecords(iRecord, iField)
++//}}}
++The following code example uses an SQL statement to retrieve three fields from a table into a //Recordset// object. It then uses the //~GetRows// method to retrieve the first three records of the //Recordset//, and it stores the selected records in a two-dimensional array. It then prints each record, one field at a time, by using the two array indexes to select specific fields and records.
++//{{{
++Sub ExtractDataTableBulk()
++Dim odbNorthwind As Object
++Dim orsOrders As Object
++Dim vRecords As Variant
++Dim iNumRows As Integer
++Dim iNumColumns As Integer
++Dim iRow As Integer
++Dim iColumn As Integer
++Dim sSQL As String
++
++On Local Error GoTo ErrorHandler
++
++ Set odbNorthwind = Application.CurrentDb
++ sSQL = &quot;SELECT [OrderDate],[ShipAddress],[ShipCity] FROM Orders&quot;
++ Set orsOrders = odbNorthwind.OpenRecordset(sSQL)
++
++ vRecords = orsOrders.GetRows(10)
++ iNumRows = UBound(vRecords, 1) + 1
++ iNumColumns = UBound(vRecords, 2) + 1
++
++ For iRow = 0 To inumRows - 1
++ For iColumn = 0 To iNumColumns - 1
++ DebugPrint vRecords(iRow, iColumn)
++ Next iColumn
++ Next iRow
++
++ orsOrders.mClose()
++ Set orsOrders = Nothing
++ Exit Sub
++
++ErrorHandler:
++ TraceError(&quot;ERROR&quot;, Err, &quot;ExtractDataTableBulk&quot;, Erl)
++End Sub
++//}}}
++You can use subsequent calls to the //~GetRows// method if more records are available. Because the array is filled as soon as you call the GetRows method, you can see why this approach is much faster than copying one field at a time.
++
++Notice also that you do not have to declare the Variant as an array, because this is done automatically when the GetRows method returns records.
++
++If you are trying to retrieve all the rows by using multiple //~GetRows// calls, use the [[EOF|BOF, EOF]] property to be sure that you are at the end of the //Recordset//. The //~GetRows// method may return fewer rows than you request. If you request more than the remaining number of rows in a //Recordset//, the //~GetRows// method returns only the rows that remain.
++
++Because the //~GetRows// method always returns all the fields in the //Recordset// object, you may want to create a query that returns just the fields that you need. This is especially important for LONGVARBINARY and LONGVARCHAR (Memo) fields.
++!!!See also
++[[DebugPrint]]
++[[OpenRecordset]]
++[[TraceError]]
++!!!Refer to ...
++| !Basic module | !Sub |!Comments |
++|~HowTo |~ExtractDataTable1Field ||
++|~|~ExtractDataTableBulk ||</pre>
++</div>
++<div title="Field" modifier="Jean-Pierre Ledure" created="201306291409" modified="201508291730" tags="Objects" changecount="7">
++<pre>{{firstletter{
++ @@color:#930;A@@
++ }}} //field// [[object|Object Model]] describes one of the fields of a [[table|TableDef]], a [[query|QueryDef]] or a [[recordset|Recordset]]. Each field will be retrieved as a member of the [[Fields]] [[collection|Collection]] of its corresponding parent.
++!!!Functions returning a field object
++| !Parent object | !Function | !Type | !Arguments |!Short example |
++|[[Recordset]]&lt;br /&gt;[[QueryDef]]&lt;br /&gt;[[TableDef]] |[[Fields]] | [[Collection]] | None&lt;br /&gt;Integer, Long&lt;br /&gt;String |{{{Application.CurrentDb().TableDefs(&quot;myTable&quot;).Fields(&quot;myField&quot;)}}}&lt;br /&gt;returns an object of type {{{Field}}} referring to the {{{myField}}} field in the {{{myTable}}} table. |
++!!!Field types
++The distinct field types can be recognized thru the use either of the [[DataType]] (long), the [[DbType|DataType]] (integer) or the [[TypeName|DataType]] (string) properties. The //~DbType// property is proposed in //~Access2Base// for compatibility with ~MSAccess.
++See the correspondence table below.
++&lt;&lt;tiddler &quot;FieldTypesList&quot;&gt;&gt;
++!!!Properties
++| !Property | !Type | !Read only |!Description or UNO object |
++|[[DataType]] || Y |Specifies the //AOO/~LibO// type of the data as an integer value |
++|[[DbType|DataType]] || Y |Specifies the //~MsAccess// type of the data as an integer value |
++|[[DefaultValue]] |||Returns the value stored in a new record |
++|[[Description]] |||A summary description of the field |
++|[[FieldSize]] || Y |Returns the number of bytes used in the database of a Memo or Long Binary field |
++|[[Name]] || Y |The exact name of the field |
++|[[ObjectType]] || Y |Always &quot;FIELD&quot; |
++|[[Size]] || Y |The maximum size of the field |
++|[[SourceField]] || Y |Indicates the name of the field that is the original source of the data for the field |
++|[[SourceTable]] || Y |Indicates the name of the table that is the original source of the data for the field |
++|[[TypeName|DataType]] || Y |Specifies the //AOO/~LibO// type of the data as a string |
++|[[Value|Value (field)]] |||The value stored or to be stored in the field |
++|Column | UNO | Y |com.sun.star.sdb.~OTableColumnWrapper&lt;br /&gt;org.openoffice.comp.dbaccess.~OQueryColumn&lt;br /&gt;com.sun.star.sdb.~ODataColumn |
++!!!Methods
++| !Method | !Argument(s) | !Return | !Description |
++|[[getProperty]] | property | Variant |Return the value of the given property. |
++|[[hasProperty]] | property | Boolean |Return True if the Field has the given property. |
++|[[ReadAllBytes]] | filename |~|Store a binary file in a binary field |
++|[[ReadAllText]] | filename |~|Store a text file in a memo field |
++|[[setProperty]] | property&lt;br /&gt;value |~|Return True if the given property could be set. |
++|[[WriteAllBytes]] | filename |~|Copy a binary field into a file |
++|[[WriteAllText]] | filename |~|Copy a memo field into a file |
++!!!Remarks
++!!!Example
++&lt;&lt;tiddler &quot;DataType example&quot;&gt;&gt;</pre>
++</div>
++<div title="FieldSize" modifier="Jean-PierreLedure" created="201307211104" modified="201308161525" tags="Properties">
++<pre>Returns the number of bytes used in the database (rather than in memory) of a Memo or Long Binary [[Field object|Field]] in the [[Fields collection|Fields]] of a [[Recordset object|Recordset]].
++!!!Applies to ...
++| !Object |!Description |
++|[[Field]] |The representation of a field of a recordset. |
++!!!Syntax
++//field//{{{.FieldSize}}}
++!!!Returned values
++{{{Long}}}
++!!!Remarks
++*The //~FieldSize// property is read-only.
++*Because the size of a Long Binary or Memo field can exceed 64K, you should assign the value returned by //~FieldSize// to a variable large enough to store a {{{Long}}} variable.
++*To determine the size of a [[Field object|Field]] other than Memo and Long Binary types, use the [[Size property|Size]]. The //FieldSize// property returns in this case an {{{EMPTY}}} value.
++!!!Error messages
++|Property '~FieldSize' not applicable in this context |
++!!!See also
++[[DataType]]
++[[Size]]
++!!!Example</pre>
++</div>
++<div title="FieldTypesList" modifier="Jean-Pierre Ledure" created="201306291417" modified="201512271516" tags="NoTag" changecount="8">
++<pre>| !~DataType | !~DbType | !~TypeName |
++|com.sun.star.sdbc.~DataType.BIT | dbBoolean | BIT&lt;br /&gt;BOOL |
++|com.sun.star.sdbc.~DataType.BOOLEAN | dbBoolean | BOOLEAN |
++|com.sun.star.sdbc.~DataType.TINYINT | dbInteger | TINYINT |
++|com.sun.star.sdbc.~DataType.SMALLINT | dbLong | SMALLINT |
++|com.sun.star.sdbc.~DataType.INTEGER | dbLong | INTEGER&lt;br /&gt;INT&lt;br /&gt;MEDIUMINT |
++|com.sun.star.sdbc.~DataType.BIGINT | dbBigInt | BIGINT |
++|com.sun.star.sdbc.~DataType.FLOAT | dbFloat | FLOAT&lt;br /&gt;REAL |
++|com.sun.star.sdbc.~DataType.REAL | dbSingle | REAL |
++|com.sun.star.sdbc.~DataType.DOUBLE | dbDouble | DOUBLE&lt;br /&gt;DOUBLE PRECISION&lt;br /&gt;REAL |
++|com.sun.star.sdbc.~DataType.NUMERIC | dbNumeric | NUMERIC |
++|com.sun.star.sdbc.~DataType.DECIMAL | dbDecimal | DECIMAL |
++|com.sun.star.sdbc.~DataType.CHAR | dbChar | CHAR&lt;br /&gt;CHARACTER |
++|com.sun.star.sdbc.~DataType.VARCHAR | dbText | VARCHAR&lt;br /&gt;~VARCHAR_IGNORECASE&lt;br /&gt;NVARCHAR&lt;br /&gt;ENUM&lt;br /&gt;SET |
++|com.sun.star.sdbc.~DataType.LONGVARCHAR | dbMemo | LONGVARCHAR&lt;br /&gt;LONG VARCHAR&lt;br /&gt;TEXT&lt;br /&gt;TINY TEXT&lt;br /&gt;MEDIUM TEXT&lt;br /&gt;LONG TEXT |
++|com.sun.star.sdbc.~DataType.DATE | dbDate | DATE |
++|com.sun.star.sdbc.~DataType.TIME | dbTime | TIME |
++|com.sun.star.sdbc.~DataType.TIMESTAMP | dbTimeStamp | TIMESTAMP&lt;br /&gt;DATETIME |
++|com.sun.star.sdbc.~DataType.BINARY | dbBinary | BINARY |
++|com.sun.star.sdbc.~DataType.VARBINARY | dbVarBinary | VARBINARY |
++|com.sun.star.sdbc.~DataType.LONGVARBINARY | dbLongBinary | LONGVARBINARY&lt;br /&gt;LONG VARBINARY&lt;br /&gt;BLOB&lt;br /&gt;TINY BLOB&lt;br /&gt;MEDIUM BLOB&lt;br /&gt;LONG BLOB |
++|com.sun.star.sdbc.~DataType.CLOB | dbMemo | CLOB |
++|com.sun.star.sdbc.~DataType.BLOB | dbLongBinary | BLOB |</pre>
++</div>
++<div title="Fields" modifier="Jean-Pierre Ledure" created="201306291342" modified="201405241127" tags="Collections" changecount="2">
++<pre>The //Fields// collection describes instances of all __[[fields|Field]]__ present either
++*in a [[table|TableDef]]
++*in a [[query|QueryDef]]
++*or in a [[recordset|Recordset]]
++!!!Syntax
++//table//{{{.Fields()}}}
++//table//{{{.Fields(}}}//index//{{{)}}}
++//table//{{{.Fields(}}}//fieldname//{{{)}}}
++//query//{{{.Fields()}}}
++//query//{{{.Fields(}}}//index//{{{)}}}
++//query//{{{.Fields(}}}//fieldname//{{{)}}}
++//recordset//{{{.Fields()}}}
++//recordset//{{{.Fields(}}}//index//{{{)}}}
++//recordset//{{{.Fields(}}}//fieldname//{{{)}}}
++| !Object | !Type | !Argument | !Type |!Returned value |
++|table | [[Table object|TableDef]] || absent |A [[Collection]] of the fields of the table |
++|~|~| index | integer&lt;br /&gt;long |A [[field object|Field]] |
++|~|~| fieldname | string |~|
++|query | [[Query object|QueryDef]] || absent |A [[Collection]] of the fields of the query |
++|~|~| index | integer&lt;br /&gt;long |A [[field object|Field]] |
++|~|~| fieldname | string |~|
++|recordset | [[Recordset object|Recordset]] || absent |A [[Collection]] of the fields of the recordset |
++|~|~| index | integer&lt;br /&gt;long |A [[field object|Field]] |
++|~|~| fieldname | string |~|
++!!!Remarks
++*Field [[collections|Collection]] are numbered from 0 to {{{Fields().Count - 1}}}
++*The //fieldname// argument is not case sensitive.
++!!!Error messages
++|Argument nr. 1 [Value = '...'] is invalid |
++|Out of array range or incorrect array size for collection Fields() |
++|Field '...' not found |
++!!!Examples
++&lt;&lt;tiddler &quot;DataType example&quot;&gt;&gt;
++</pre>
++</div>
++<div title="FillAutoControlValue" modifier="Jean-PierreLedure" created="201212221327" modified="201308161105" tags="HowTo">
++<pre>(Q) Is it possible to have some fields filled in automatically as soon as a certain value has been entered into another field?
++
++(R) A typical example of this is getting state and city name from Zipcodes. If you have a ~Zip-Code table, you'll never have to enter the State/City again.
++
++It is illustrated using next //Employees// table:
++&lt;&lt;tiddler &quot;EmployeesTable&quot;&gt;&gt;
++Assume a form with a number of read-only fields corresponding with that table although __the form is not bound to the table__, then trigger next code in the //When losing focus// event of an editable field in which an employee id might be entered:
++//{{{
++Sub EmpFillAuto(poEvent As Object)
++
++Dim oEvent As Object, oEmpID As Object, sCrit As String
++Dim oParentForm As Object, oField As Object, vValue As Variant
++ Set oEvent = Events(poEvent)
++ oEmpID = oEvent.Source
++ sCrit = &quot;[EmployeeID]=&quot; &amp; oEmpID.Value
++ Set oParentForm = oEmpID.Parent
++ With oParentForm
++ Set oField = .Controls(&quot;txtTitleOfCourtesy&quot;)
++ vValue = DLookup(&quot;[TitleOfCourtesy]&quot;, &quot;[Employees]&quot;, sCrit)
++ If Not IsNull(vValue) Then oField.Value = vValue
++ Set oField = .Controls(&quot;txtFirstName&quot;)
++ vValue = DLookup(&quot;[FirstName]&quot;, &quot;[Employees]&quot;, sCrit)
++ If Not IsNull(vValue) Then oField.Value = vValue
++ Set oField = .Controls(&quot;txtLastName&quot;)
++ vValue = DLookup(&quot;[LastName]&quot;, &quot;[Employees]&quot;, sCrit)
++ If Not IsNull(vValue) Then oField.Value = vValue
++ Set oField = .Controls(&quot;txtAddress&quot;)
++ vValue = DLookup(&quot;[Address]&quot;, &quot;[Employees]&quot;, sCrit)
++ If Not IsNull(vValue) Then oField.Value = vValue
++ Set oField = .Controls(&quot;txtCity&quot;)
++ vValue = DLookup(&quot;[City]&quot;, &quot;[Employees]&quot;, sCrit)
++ If Not IsNull(vValue) Then oField.Value = vValue
++ End With
++
++End Sub
++//}}}
++!!!See also
++[[Controls]]
++[[DLookup]]
++[[Events Handler]]
++!!!Refer to ...
++| !Basic module | !Form | !Form event | !Control | !Control event |!Comments |
++|~FillAuto |~Employees_FillAuto ||fmtEmployeeID|When losing focus ||</pre>
++</div>
++<div title="Filter" modifier="Jean-Pierre Ledure" created="201107171009" modified="201407261320" tags="Properties" changecount="1">
++<pre>You can use the //Filter// property to
++*specify a subset of records to be displayed when a filter is applied to a [[form|Form]] or a [[subform|SubForm]]
++*set or return a value that determines the records included in a subsequently opened [[Recordset]] object (via [[OpenRecordset]])
++!!!Applies to ...
++| !Object |!Description |
++|[[Form]] |An open form |
++|[[SubForm]] |A subform in an open form |
++|[[Recordset]] |The representation of a set of records from a table, a query or a SQL statement |
++!!!Syntax
++//form//{{{.Filter}}}
++//form//{{{.Filter = }}}//value//
++//subform//{{{.Filter}}}
++//subform//{{{.Filter = }}}//value//
++//recordset//{{{.Filter}}}
++//recordset//{{{.Filter = }}}//value//
++!!!Returned values / Arguments
++{{{String}}}
++!!!Remarks
++The //Filter// property is a string expression consisting of a ''WHERE'' clause without the WHERE keyword. Like in //~MsAccess// __table names__, or __field names__ (e.g. when containing a space) may be surrounded by square brackets ([]).
++!!!Error messages
++|Form '...' is currently not open|
++|Value '...' is invalid for property 'Filter' |
++!!!See also
++[[FilterOn]]
++!!!Example
++&lt;&lt;tiddler &quot;Filter example&quot;&gt;&gt;
++&lt;&lt;tiddler &quot;Filter2 example&quot;&gt;&gt;</pre>
++</div>
++<div title="Filter example" modifier="Jean-PierreLedure" created="201107171035" modified="201306231546" tags="[[Snippets of Code]]">
++<pre>Set and apply a filter on a form
++//{{{
++Dim ofForm As Object, sFilter As String
++ Set ofForm = Forms(&quot;myForm&quot;)
++ sFilter = &quot;[VAT CODE]=3 And [PRODUCT CODE]&lt;'28000'&quot;
++ ofForm.Filter = sFilter
++ ofForm.FilterOn = True
++//}}}</pre>
++</div>
++<div title="Filter2 example" modifier="Jean-PierreLedure" created="201306231517" modified="201306231547" tags="[[Snippets of Code]]">
++<pre>Set and apply a filter on a recordset derived from an existing recordset
++Count the records before and after filter application
++//{{{
++Dim oRecordset1 As Object, oRecordset2 As Object, sFilter As String
++ Set oRecordset1 = Application.CurrentDb().OpenRecordset(&quot;SELECT * FROM [PRODUCTS]&quot;)
++ sFilter = &quot;[VAT CODE]=3 And [PRODUCT CODE]&lt;'28000'&quot;
++ oRecordset1.Filter = sFilter
++ oRecordset1.MoveLast
++ Print oRecordset1.RecordCount,
++ Set oRecordset2 = oRecordset1.OpenRecordset() ' Filter is applied now
++ oRecordset2.MoveLast
++ Print oRecordset2.RecordCount,
++ Application.CurrentDb().CloseAllRecordsets() ' Don't forget !!
++//}}}</pre>
++</div>
++<div title="FilterOn" modifier="Jean-Pierre Ledure" created="201107171043" modified="201407261341" tags="Properties" changecount="3">
++<pre>Use the //~FilterOn// property to specify or determine whether the [[Filter]] property for a form is applied.
++!!!Applies to ...
++| !Object | !Description |
++|[[Form]] |An open form |
++|[[SubForm]] |A subform in an open form |
++!!!Syntax
++//form//{{{.FilterOn}}}
++//form//{{{.FilterOn = }}}//value//
++//subform//{{{.FilterOn}}}
++//subform//{{{.FilterOn = }}}//value//
++!!!Returned values / Arguments
++{{{Boolean}}}
++!!!Remarks
++When a //Filter// is applied, the form is [[requeried|Requery]].
++!!!Error messages
++|Form '...' is currently not open|
++|Value '...' is invalid for property '~FilterOn' |
++!!!See also
++[[Filter]]
++[[Requery]]
++!!!Example
++&lt;&lt;tiddler &quot;Filter example&quot;&gt;&gt;</pre>
++</div>
++<div title="Find" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201612181629" modified="201612181704" tags="Methods" changecount="14">
++<pre>The //Find// method finds a specified text in a standard or class [[module|Module]].
++!!!Applies to ...
++| !Object | !Description |
++|[[Module]] |The representation of a Basic script. |
++!!!Syntax
++//module//{{{.Find(}}}//target, startline, startcolumn, endline, endcolumn, wholeword, matchcase, patternsearch//{{{)}}}
++| !Argument | !Optional | !Type | !Description | !Returned value |
++|module || [[Module object|Module]] |The Basic script |If the string is found, the //Find// method returns {{{True}}}. |
++|target | N | String |The text that you want to find. |~|
++|startline | N | Long |The line on which to begin searching.&lt;br /&gt;If a match is found, the value of the //startline// argument is set to the line on which the beginning character of the matching text is found. |~|
++|startcolumn | N | Long |The column on which to begin searching.&lt;br /&gt;If a match is found, the value of the //startcolumn// argument is set to the column on which the beginning character of the matching text is found. |~|
++|endline | N | Long |The line on which to stop searching.&lt;br /&gt;If a match is found, the value of the //endline// argument is set to the line on which the ending character of the matching text is found. |~|
++|endcolumn | N | Long |The column on which to stop searching.&lt;br /&gt;If a match is found, the value of the //endcolumn// argument is set to the column on which the ending character of the matching text is found. |~|
++|wholeword | Y | Boolean |{{{True}}} results in a search for whole words only.&lt;br /&gt;The default is {{{False}}}. |~|
++|matchcase | Y | Boolean |{{{True}}} results in a search for words with case matching the //target// argument.&lt;br /&gt;The default is {{{False}}}. |~|
++|patternsearch | Y | Boolean |{{{True}}} results in a search in which the //target// argument may contain wildcard characters such as an asterisk (*) or a question mark (?).&lt;br /&gt;The default is {{{False}}}. |~|
++!!!Remarks
++*To determine the position in the module at which the search text was found, pass ''empty variables'' to the //Find// method for the //startline//, //startcolumn//, //endline//, and //endcolumn// arguments.&lt;br /&gt;If a match is found, these arguments will contain the line number and column position at which the search text begins (//startline//, //startcolumn//) and ends (//endline//, //endcolumn//).&lt;br /&gt;For example, if the search text is found on line 15, begins at column 20, and ends at column 30, the values of these arguments will be:&lt;br /&gt;{{{startline = 15, startcolumn = 20, endline = 15, endcolumn = 30}}}.
++*If the input arguments do not allow a fair search (f.i. //endline// &lt; //startline//), then //Find// will return {{{False}}}.
++*To pass an empty value, do not initialize the argument or use the {{{Empty}}} LO/AOO Basic reserved word.
++//{{{
++Dim vStartLine As Variant
++ vStartLine = Empty
++//}}}
++!!!Error messages
++|Argument nr.1 (Value='...') is invalid |
++!!!See also
++[[Module]]
++!!!Example
++&lt;&lt;tiddler &quot;Module example&quot;&gt;&gt;</pre>
++</div>
++<div title="FindNext" modifier="Jean-Pierre Ledure" created="201112241559" modified="201409271452" tags="Actions" changecount="1">
++<pre>{{firstletter{
++ @@color:#930;T@@
++ }}}he //~FindNext// action finds the next instance of data that meets the criteria specified by the arguments of the last invoked [[FindRecord]] action.
++If a match has been found, the cursor is set in the matching field. Otherwise it returns to the starting record.
++The starting record is NOT the record where the focus is on but the last record reached by the previous //~FindRecord// action.
++&lt;&lt;tiddler &quot;ApplyDoCmd&quot;&gt;&gt;
++!!!Syntax
++{{{[DoCmd.]FindNext()}}}
++!!!Remarks
++*A previous //~FindRecord// action is mandatory. Otherwise the invocation of //~FindNext// will generate an error.
++*//~FindNext// returns //True// if a matching occurrence has been found.
++!!!Error messages
++|~FindNext() must be preceded by a successful ~FindRecord(...) call |
++!!!See also
++[[FindRecord]]
++!!!Example
++&lt;&lt;tiddler &quot;FindRecord example&quot;&gt;&gt;</pre>
++</div>
++<div title="FindOutFormOpen" modifier="Jean-PierreLedure" created="201205010535" modified="201308161010" tags="HowTo">
++<pre>(Q) How do I find out from code if a form is open or not?
++
++(R) Pass the form name to the following function. Function will return True if form is open and False if it's not.
++
++//{{{
++Function bIsLoaded(ByVal sFormName As String) As Boolean
++' sFormName is not case sensitive
++ bIsLoaded = AllForms(sFormName).IsLoaded
++End Function
++//}}}
++!!!See also
++[[AllForms]]
++[[IsLoaded]]</pre>
++</div>
++<div title="FindOutTableExists" modifier="Jean-PierreLedure" created="201308161446" modified="201308161453" tags="HowTo">
++<pre>(Q) How do I find out from code if a table exists or not?
++
++(R) Pass the table name to the following function. Function will return True if table exists or False otherwise.
++
++//{{{
++Function bTableExists(ByVal sTableName As String) As Boolean
++' sTableName is not case sensitive
++
++Dim i As Integer, oDefs As Object
++ bTableExists = False
++ Set oDefs = Application.CurrentDb.TableDefs
++ For i = 0 To oDefs.Count - 1
++ If UCase(oDefs.Item(i).Name) = UCase(sTableName) Then
++ bTableExists = True
++ Exit For
++ End If
++ Next i
++End Function
++//}}}
++!!!See also
++[[TableDefs]]
++[[Item]]</pre>
++</div>
++<div title="FindPositionRecordset" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201406061406" modified="201406061454" tags="HowTo" changecount="8">
++<pre>(Q) How do I find the current absolute and relative position in a recordset ?
++
++(R) The [[AbsolutePosition]] property returns the record number of the recordset. Associated with [[RecordCount]] the relative position can be derived.
++
++In some situations, you need to determine how far through a [[Recordset object|Recordset]] you have moved the current record position, and perhaps indicate the current record position to a user. For example, you may want to indicate the current position on a progress bar or similar type of control.
++
++The //~AbsolutePosition// property value is the position of the current record relative to 0. However, do not think of this property as a record number. There is no assurance that a record will have the same absolute position if the Recordset object is recreated because the order of individual records within a Recordset object is not guaranteed unless it is created with an SQL statement that includes an ORDER BY clause.
++
++We can compute the current relative position expressed as a percentage of the total number of records indicated by the //~RecordCount// property. Because the //~RecordCount// property does not reflect the total number of records in the //Recordset// object until the //Recordset// has been fully populated, we will use the [[MoveLast|Move (recordset)]] and [[MoveFirst|Move (recordset)]] methods immediately after opening the Recordset. This fully populates the //Recordset// object. If you have a large result set, using the //~MoveLast// method may take a long time.
++
++The following example opens a //Recordset// object on a table called Employees.
++&lt;&lt;tiddler &quot;EmployeesTable&quot;&gt;&gt;
++The procedure then moves through the Employees table and uses the SysCmd method to display a progress bar showing the percentage of the table that has been processed.
++//{{{
++Sub DisplayPosition()
++
++Dim odbNorthwind As Object
++Dim orsEmployees As Object
++Dim sMsg As String
++Dim lCount As Long
++Dim sSQL As String
++Dim dPercent As Double
++
++On Local Error GoTo ErrorHandler
++
++ Set odbNorthwind = Application.CurrentDb
++
++ sSQL = &quot;SELECT * FROM Employees&quot;
++ Set orsEmployees = odbNorthwind.OpenRecordset(sSQL, , , dbReadOnly)
++
++ With orsEmployees
++ If .EOF Then ' If no records, exit
++ Exit Sub
++ Else
++ sMsg = &quot;Processing Employees table...&quot;
++ DoCmd.SysCmd(acSysCmdInitMeter, sMsg, 100)
++ .MoveLast ' Determine number of records
++ lCount = .RecordCount
++ .MoveFirst
++ End If
++ Do Until .EOF
++'
++' Any processing ...
++'
++ Wait 100 ' just to see what happens ...
++ dPercent = .AbsolutePosition / lCount
++ If dPercent &lt;&gt; 0 Then DoCmd.SysCmd(acSysCmdUpdateMeter, sMsg, Int(100*dPercent))
++ .MoveNext
++ Loop
++ End With
++ MsgBox &quot;Processing ended&quot;
++ DoCmd.SysCmd(acSysCmdRemoveMeter)
++
++ orsEmployees.mClose
++ Set orsEmployees = Nothing
++ Set odbNorthwind = Nothing
++
++Exit Sub
++
++ErrorHandler:
++ TraceError(&quot;ERROR&quot;, Err, &quot;DisplayPosition&quot;, Erl)
++End Sub
++//}}}
++!!!See also
++[[OpenRecordset]]
++[[SysCmd]]
++!!!Refer to ...
++| !Basic module | !Sub |!Comments |
++|~HowTo |~DisplayPosition ||</pre>
++</div>
++<div title="FindRecord" modifier="Jean-Pierre Ledure" created="201112241005" modified="201605161008" tags="Actions" changecount="4">
++<pre>{{firstletter{
++ @@color:#930;T@@
++ }}}he //~FindRecord// action finds the first instance of data that meets the criteria specified by the //~FindRecord// arguments. This can be in a succeeding or prior record, or in the first record. The search is done in a single column or in all columns of a __form__ (or __subform__)'s [[GridControl]].
++If a match has been found, the cursor is set in the matching field.
++&lt;&lt;tiddler &quot;ApplyDoCmd&quot;&gt;&gt;
++!!!Syntax
++{{{[DoCmd.]FindRecord(FindWhat,}}}//{{{ Match, MatchCase, Search, SearchAsFormatted, OnlyCurrentField, FindFirst}}}//{{{)}}}
++| !Argument | !Optional | !Type&lt;br /&gt;or&lt;br /&gt;Symbol |!Description |
++|{{{FindWhat}}} | No | String&lt;br /&gt;Date&lt;br /&gt;Number |Specifies the data you want to find in the record. Enter the text, number, or date you want to find. |
++|{{{Match}}} | Yes | acAnyWhere&lt;br /&gt;acEntire&lt;br /&gt;acStart |Specifies where the data is located in the field. You can specify a search for data in any part of the field (acAnyWhere), for data that fills the entire field (acEntire), or for data located at the beginning of the field (acStart). Obviously this argument is meaningful only if //~FindWhat// is a string.&lt;br /&gt;The default is acEntire. |
++|{{{MatchCase}}} |~| Boolean |Specifies whether the search is case-sensitive (uppercase and lowercase letters must match exactly). The default is False. |
++|{{{Search}}} |~| acDown&lt;br /&gt;acSearchAll&lt;br /&gt;acUp |Specifies whether the search proceeds from the current record up to the beginning of the records (acUp); down to the end of the records (acDown); or down to the end of the records and then from the beginning of the records to the current record, so all records are searched (acSearchAll). The default is acSearchAll. |
++|{{{SearchAsFormatted}}} |~| Boolean |If present, must be FALSE. True is not supported. |
++|{{{OnlyCurrentField}}} |~| acAll&lt;br /&gt;acCurrent |Specifies whether the search is confined to the current field in each record (acCurrent) or includes all fields in each record (acAll). The default is acCurrent. |
++|~|~| String |The argument must contain a [[shortcut|ShortCut Notation]] to a GridControl or to a column of a [[GridControl]]. If the shortcut points to a ~GridControl all the columns are scanned to find a match. |
++|{{{FindFirst}}} |~| Boolean |Specifies whether the search starts at the first or last record (depending on the //Search// argument) or at the current record. The default is True. |
++The symbolic constants can be included in your code by copying and pasting next lines:
++//{{{
++Const acAnywhere = 0
++Const acEntire = 1
++Const acStart = 2
++Const acDown = 1
++Const acSearchAll = 2
++Const acUp = 0
++Const acAll = 0
++Const acCurrent = -1
++//}}}
++!!!Remarks
++*The //~FindRecord// action is most often started from an event. Clicking on a button in a form triggering the event might change the focus from the current field to the button which is not the desired effect. In that case use the [[SetFocus]] method, either on the //form// or on the targeted //control//, before executing the //~FindRecord// statement.
++*The targeted //form// or //subform// MUST contain a //gridcontrol//.
++*The //~FindRecord// action is a function. It returns //True// if a match ha been found, and //False// otherwise.
++*Using a shortcut (i.e. a string ...) as {{{OnlyCurrentField}}} argument is the __only__ way to run a //~FindRecord// action in a //~GridControl// belonging to a //~SubForm//.
++*Using a shortcut (i.e. a string ...) as {{{OnlyCurrentField}}} argument is the __recommended__ way to run a //~FindRecord// action in one of the [[forms|Standalone Forms]] defined in a //non-Base// document.It is the __only__ way if more than 1 form is contained in such a //non-Base// document.
++!!!Error messages
++|No active form or control found |
++|Form '...' has no underlying dataset |
++|Control '...' not found in gridcontrol '...' |
++|No gridcontrol found in form '...' |
++!!!See also
++[[FindNext]]
++[[SetFocus]]
++!!!Example
++&lt;&lt;tiddler &quot;FindRecord example&quot;&gt;&gt;</pre>
++</div>
++<div title="FindRecord example" modifier="Jean-Pierre Ledure" created="201112250945" modified="201408011516" tags="[[Snippets of Code]]" changecount="1">
++<pre>Find the record starting from the top having the value &quot;3&quot; in one of the numeric columns:
++//{{{
++Dim ofForm As Object
++ Set ofForm = Forms(&quot;myForm&quot;)
++ ofForm.SetFocus()
++ If Not FindRecord(3, , , , , acAll) Then MsgBox &quot;Not Found !&quot;
++//}}}
++Next statement will retrieve the next occurrence:
++//{{{
++ FindNext() ' Parentheses are optional
++//}}}</pre>
++</div>
++<div title="Font example" modifier="Jean-PierreLedure" created="201108051604" modified="201303291730" tags="[[Snippets of Code]]">
++<pre>Change control aspect
++//{{{
++Dim ofForm As Object, ocControl As Object
++ Set ofForm = Forms(&quot;myForm&quot;)
++ Set ocControl =ofForm.Controls(&quot;myControl&quot;)
++ If ofForm.Controls(&quot;myChkBox&quot;).Value = 1 Then
++ ocControl.FontName = &quot;Verdana&quot;
++ ocControl.FontSize = 18
++ ocControl.FontBold = True
++ ocControl.FontItalic = True
++ ocControl.FontUnderline = True
++ ocControl.ForeColor = RGB(255, 0, 0)
++ ocControl.TextAlign = 2
++ End If
++//}}}
++... or alternatively ...
++//{{{
++Dim ofForm As Object, ocControl As Object
++ Set ofForm = Forms(&quot;myForm&quot;)
++ Set ocControl =ofForm.Controls(&quot;myControl&quot;)
++ If ofForm.Controls(&quot;myChkBox&quot;).Value = 1 Then
++ ocControl.FontName = &quot;Verdana&quot;
++ ocControl.FontSize = 18
++ ocControl.FontWeight = com.sun.star.awt.FontWeight.ULTRABOLD ' alternative to Bold property
++ ocControl.FontItalic = True
++ ocControl.FontUnderline = True
++ ocControl.ForeColor = RGB(255, 0, 0)
++ ocControl.TextAlign = 2
++ End If
++//}}}</pre>
++</div>
++<div title="FontBold" modifier="Jean-Pierre Ledure" created="201108051530" modified="201405291503" tags="Properties" changecount="1">
++<pre>The //~FontBold// property specifies whether a font appears in a bold style in a Control.
++!!!Applies to ...
++| !Object | !Type when&lt;br /&gt;in a form | !Type when&lt;br /&gt;in a ~GridControl | !Type when&lt;br /&gt;in a dialog |!Description |
++|[[Control]] |All except&lt;br /&gt;--~HiddenControl&lt;br /&gt;~ImageButton&lt;br /&gt;~ImageControl&lt;br /&gt;~ScrollBar&lt;br /&gt;~SpinButton&lt;br /&gt;[[SubForm]]-- | None |All except&lt;br /&gt;--~ImageControl&lt;br /&gt;~ProgressBar&lt;br /&gt;~ScrollBar&lt;br /&gt;-- |A control on an open form or dialog |
++!!!Syntax
++//control//{{{.FontBold}}}
++//control//{{{.FontBold = }}}//value//
++!!!Returned values / Arguments
++{{{Boolean}}}
++!!!Remarks
++The //~FontBold// property can be set at [[grid control|GridControl]] level, not at its individual //controls// level.
++!!!Error messages
++|Property '~FontBold' not applicable in this context |
++|Value '...' is invalid for property '~FontBold' |
++!!!See also
++[[FontItalic]]
++[[FontName]]
++[[FontSize]]
++[[FontUnderline]]
++[[FontWeight]]
++[[ForeColor]]
++[[TextAlign]]
++!!!Example
++&lt;&lt;tiddler &quot;Font example&quot;&gt;&gt;</pre>
++</div>
++<div title="FontItalic" modifier="Jean-Pierre Ledure" created="201108051613" modified="201405291503" tags="Properties" changecount="1">
++<pre>The //~FontItalic// property specifies whether text appears in italic in a Control.
++!!!Applies to ...
++| !Object | !Type when&lt;br /&gt;in a form | !Type when&lt;br /&gt;in a ~GridControl | !Type when&lt;br /&gt;in a dialog |!Description |
++|[[Control]] |All except&lt;br /&gt;--~HiddenControl&lt;br /&gt;~ImageButton&lt;br /&gt;~ImageControl&lt;br /&gt;~ScrollBar&lt;br /&gt;~SpinButton&lt;br /&gt;[[SubForm]]-- | None |All except&lt;br /&gt;--~ImageControl&lt;br /&gt;~ProgressBar&lt;br /&gt;~ScrollBar&lt;br /&gt;-- |A control on an open form or dialog |
++!!!Syntax
++//control//{{{.FontItalic}}}
++//control//{{{.FontItalic = }}}//value//
++!!!Returned values / Arguments
++{{{Boolean}}}
++!!!Remarks
++The //~FontItalic// property can be set at [[grid control|GridControl]] level, not at its individual //controls// level.
++!!!Error messages
++|Property '~FontItalic' not applicable in this context |
++|Value '...' is invalid for property '~FontItalic' |
++!!!See also
++[[FontBold]]
++[[FontName]]
++[[FontSize]]
++[[FontUnderline]]
++[[FontWeight]]
++[[ForeColor]]
++[[TextAlign]]
++!!!Example
++&lt;&lt;tiddler &quot;Font example&quot;&gt;&gt;</pre>
++</div>
++<div title="FontName" modifier="Jean-Pierre Ledure" created="201108051616" modified="201405291504" tags="Properties" changecount="1">
++<pre>The //~FontName// property specifies the name of the font used to display a Control.
++!!!Applies to ...
++| !Object | !Type when&lt;br /&gt;in a form | !Type when&lt;br /&gt;in a ~GridControl | !Type when&lt;br /&gt;in a dialog |!Description |
++|[[Control]] |All except&lt;br /&gt;--~HiddenControl&lt;br /&gt;~ImageButton&lt;br /&gt;~ImageControl&lt;br /&gt;~ScrollBar&lt;br /&gt;~SpinButton&lt;br /&gt;[[SubForm]]-- | None |All except&lt;br /&gt;--~ImageControl&lt;br /&gt;~ProgressBar&lt;br /&gt;~ScrollBar&lt;br /&gt;-- |A control on an open form or dialog |
++!!!Syntax
++//control//{{{.FontName}}}
++//control//{{{.FontName = }}}//value//
++!!!Returned values / Arguments
++{{{String}}}
++!!!Remarks
++The //~FontName// property can be set at [[grid control|GridControl]] level, not at its individual //controls// level.
++!!!Error messages
++|Property '~FontName' not applicable in this context |
++|Value '...' is invalid for property '~FontName' |
++!!!See also
++[[FontBold]]
++[[FontItalic]]
++[[FontSize]]
++[[FontUnderline]]
++[[FontWeight]]
++[[ForeColor]]
++[[TextAlign]]
++!!!Example
++&lt;&lt;tiddler &quot;Font example&quot;&gt;&gt;</pre>
++</div>
++<div title="FontSize" modifier="Jean-Pierre Ledure" created="201108051618" modified="201405291504" tags="Properties" changecount="1">
++<pre>The //~FontSize// property specifies the size of the font used to display a Control.
++!!!Applies to ...
++| !Object | !Type when&lt;br /&gt;in a form | !Type when&lt;br /&gt;in a ~GridControl | !Type when&lt;br /&gt;in a dialog |!Description |
++|[[Control]] |All except&lt;br /&gt;--~HiddenControl&lt;br /&gt;~ImageButton&lt;br /&gt;~ImageControl&lt;br /&gt;~ScrollBar&lt;br /&gt;~SpinButton&lt;br /&gt;[[SubForm]]-- | None |All except&lt;br /&gt;--~ImageControl&lt;br /&gt;~ProgressBar&lt;br /&gt;~ScrollBar&lt;br /&gt;-- |A control on an open form or dialog |
++!!!Syntax
++//control//{{{.FontSize}}}
++//control//{{{.FontSize = }}}//value//
++!!!Returned values / Arguments
++{{{Integer}}} or {{{Long}}}
++!!!Remarks
++The //~FontSize// property can be set at [[grid control|GridControl]] level, not at its individual //controls// level.
++!!!Error messages
++|Property '~FontSize' not applicable in this context |
++|Value '...' is invalid for property '~FontSize' |
++!!!See also
++[[FontBold]]
++[[FontItalic]]
++[[FontName]]
++[[FontUnderline]]
++[[FontWeight]]
++[[ForeColor]]
++[[TextAlign]]
++!!!Example
++&lt;&lt;tiddler &quot;Font example&quot;&gt;&gt;</pre>
++</div>
++<div title="FontUnderline" modifier="Jean-Pierre Ledure" created="201108051621" modified="201405291504" tags="Properties" changecount="1">
++<pre>The //~FontUnderline// property specifies whether text is underlined in a Control.
++!!!Applies to ...
++| !Object | !Type when&lt;br /&gt;in a form | !Type when&lt;br /&gt;in a ~GridControl | !Type when&lt;br /&gt;in a dialog |!Description |
++|[[Control]] |All except&lt;br /&gt;--~HiddenControl&lt;br /&gt;~ImageButton&lt;br /&gt;~ImageControl&lt;br /&gt;~ScrollBar&lt;br /&gt;~SpinButton&lt;br /&gt;[[SubForm]]-- | None |All except&lt;br /&gt;--~ImageControl&lt;br /&gt;~ProgressBar&lt;br /&gt;~ScrollBar&lt;br /&gt;-- |A control on an open form or dialog |
++!!!Syntax
++//control//{{{.FontUnderline}}}
++//control//{{{.FontUnderline = }}}//value//
++!!!Returned values / Arguments
++{{{Boolean}}}
++!!!Remarks
++The //~FontUnderline// property can be set at [[grid control|GridControl]] level, not at its individual //controls// level.
++!!!Error messages
++|Property '~FontUnderline' not applicable in this context |
++|Value '...' is invalid for property '~FontUnderline' |
++!!!See also
++[[FontBold]]
++[[FontItalic]]
++[[FontName]]
++[[FontSize]]
++[[FontWeight]]
++[[ForeColor]]
++[[TextAlign]]
++!!!Example
++&lt;&lt;tiddler &quot;Font example&quot;&gt;&gt;</pre>
++</div>
++<div title="FontWeight" modifier="Jean-Pierre Ledure" created="201108051625" modified="201405291505" tags="Properties" changecount="2">
++<pre>The //~FontWeight// property specifies the line width used to display characters in a Control.
++!!!Applies to ...
++| !Object | !Type when&lt;br /&gt;in a form | !Type when&lt;br /&gt;in a ~GridControl | !Type when&lt;br /&gt;in a dialog |!Description |
++|[[Control]] |All except&lt;br /&gt;--~HiddenControl&lt;br /&gt;~ImageButton&lt;br /&gt;~ImageControl&lt;br /&gt;~ScrollBar&lt;br /&gt;~SpinButton&lt;br /&gt;[[SubForm]]-- | None |All except&lt;br /&gt;--~ImageControl&lt;br /&gt;~ProgressBar&lt;br /&gt;~ScrollBar&lt;br /&gt;-- |A control on an open form or dialog |
++!!!Syntax
++//control//{{{.FontWeight}}}
++//control//{{{.FontWeight = }}}//value//
++!!!Returned values / Arguments
++{{{Integer}}} or {{{Long}}}
++!!!Remarks
++*Allowed values for //~FontWeight// are:
++| Symbolic name || Numeric value |
++|com.sun.star.awt.~FontWeight.DONTKNOW |The font weight is not specified/known. | 0 |
++|com.sun.star.awt.~FontWeight.THIN |specifies a 50% font weight. | 50 |
++|com.sun.star.awt.~FontWeight.ULTRALIGHT |specifies a 60% font weight. | 60 |
++|com.sun.star.awt.~FontWeight.LIGHT |specifies a 75% font weight. | 75 |
++|com.sun.star.awt.~FontWeight.SEMILIGHT |specifies a 90% font weight. | 90 |
++|com.sun.star.awt.~FontWeight.NORMAL |specifies a normal font weight. | 100 |
++|com.sun.star.awt.~FontWeight.SEMIBOLD |specifies a 110% font weight. | 110 |
++|com.sun.star.awt.~FontWeight.BOLD |specifies a 150% font weight. | 150 |
++|com.sun.star.awt.~FontWeight.ULTRABOLD |specifies a 175% font weight. | 175 |
++|com.sun.star.awt.~FontWeight.BLACK |specifies a 200% font weight.| 200 |
++*The //~FontWeight// property can be set at [[grid control|GridControl]] level, not at its individual //controls// level.
++!!!Error messages
++|Property '~FontWeight' not applicable in this context |
++|Value '...' is invalid for property '~FontWeight' |
++!!!See also
++[[FontBold]]
++[[FontItalic]]
++[[FontName]]
++[[FontSize]]
++[[FontUnderline]]
++[[ForeColor]]
++[[TextAlign]]
++!!!Example
++&lt;&lt;tiddler &quot;Font example&quot;&gt;&gt;</pre>
++</div>
++<div title="ForeColor" modifier="Jean-Pierre Ledure" created="201108051514" modified="201405291502" tags="Properties" changecount="1">
++<pre>The //~ForeColor// property specifies or determines the color (RGB) of the text in a Control.
++!!!Applies to ...
++| !Object | !Type when&lt;br /&gt;in a form | !Type when&lt;br /&gt;in a ~GridControl | !Type when&lt;br /&gt;in a dialog |!Description |
++|[[Control]] |All except&lt;br /&gt;--~HiddenControl&lt;br /&gt;~ImageButton&lt;br /&gt;~ImageControl&lt;br /&gt;~ScrollBar&lt;br /&gt;~SpinButton&lt;br /&gt;[[SubForm]]-- | None |All except&lt;br /&gt;--~ImageControl&lt;br /&gt;~ProgressBar&lt;br /&gt;~ScrollBar&lt;br /&gt;-- |A control on an open form or dialog |
++!!!Syntax
++//control//{{{.ForeColor}}}
++//control//{{{.ForeColor = }}}//value//
++!!!Returned values / Arguments
++{{{Long}}}
++!!!Remarks
++The //~ForeColor// property can be set at [[grid control|GridControl]] level, not at its individual //controls// level.
++!!!Error messages
++|Property '~ForeColor' not applicable in this context |
++|Value '...' is invalid for property '~ForeColor' |
++!!!See also
++[[BackColor]]
++[[BorderColor]]
++[[BorderStyle]]
++[[FontBold]]
++[[FontItalic]]
++[[FontName]]
++[[FontSize]]
++[[FontUnderline]]
++[[FontWeight]]
++[[TextAlign]]
++!!!Example
++&lt;&lt;tiddler &quot;Color example&quot;&gt;&gt;</pre>
++</div>
++<div title="Form" modifier="YourName" created="201106260832" modified="201902151444" tags="Objects" changecount="16">
++<pre>{{firstletter{
++ @@color:#930;A@@
++ }}} //Form// object describes
++*either one of the Forms located in a Base document (&quot;.odb&quot; file),
++*or one of the forms contained in a non-Base (Writer, Calc, ...) document.
++The form can be either opened or closed. If the property [[IsLoaded]] returns //True// then the form is opened.
++!!!Functions returning a form object
++| !Parent object | !Function | !Type | !Argument |!Description |
++|[[Application]] |[[AllForms]] | [[Collection]] | Integer or String |{{{Application.AllForms(&quot;myForm&quot;)}}} returns an object corresponding with the {{{myForm}}} form |
++|~|[[Forms]] | [[Collection]] | Integer or String |{{{Application.Forms(&quot;myForm&quot;)}}} returns an object corresponding with the {{{myForm}}} form. {{{myForm}}} must be open. |
++||[[getObject]] || String |{{{getObject(&quot;Forms!myForm&quot;)}}} returns an object corresponding with the {{{myForm}}} form. {{{myForm}}} must be open. |
++!!!Properties
++| !Property | !Type | !Read only | !Description or UNO object |
++|[[AllowAdditions]] |||Specifies whether a user can add a record when using the form. |
++|[[AllowDeletions]] |||Specifies whether a user can delete a record when using the form. |
++|[[AllowEdits]] |||Specifies whether a user can modify a record when using the form. |
++|[[Bookmark]] |||specifies uniquely the current record of the form's underlying table, query or SQL statement. |
++|[[Caption]] |||Specifies the text that appears in the title bar. |
++|[[CurrentRecord]] |||Identifies the current record in the recordset being viewed on a form. |
++|[[Filter]] |||Specifies a subset of records to be displayed. |
++|[[FilterOn]] |||Specifies if the Filter has to be applied. |
++|[[Height]] |||Specifies the height of the form. |
++|[[IsLoaded]] || Y |True if form is open. |
++|[[Name]] || Y |Specifies the real and full (including its path, if any) name of the form |
++|[[ObjectType]] || Y |Returns &quot;FORM&quot; |
++|[[On form events|On (form event)]]|||Specifies the Basic macro executed when an event is triggered. |
++|[[OpenArgs]] || Y |Specifies the ~OpenArgs argument of an [[OpenForm]] action. |
++|[[OrderBy]] |||Specifies in which order the records should be displayed. |
++|[[OrderByOn]] |||Specifies if the ~OrderBy has to be applied. |
++|[[RecordSource]] |||Specifies the source of the data. |
++|[[Visible]] |||Shows or hides the form. |
++|[[Width]] |||Specifies the width of the form. |
++|Component | UNO | Y |com.sun.star.text.~TextDocument |
++|~ContainerWindow | UNO | Y ||
++|~DatabaseForm | UNO | Y |com.sun.star.form.component.~DataForm&lt;br /&gt;com.sun.star.sdb.~ResultSet |
++!!!Methods
++| !Method | !Argument(s) | !Return | !Description |
++|[[Close|Close (method)]] | None | Boolean |Close the form. Always returns {{{True}}}. |
++|[[CurrentDb]] | None | Object |Return the [[database|Database]] object related to the [[standalone|Standalone Forms]] form, or {{{Nothing}}}. |
++|[[getProperty]] | property | Variant |Return the value of the given property. |
++|[[hasProperty]] | property | Boolean |Return True if the Form has the given property. |
++|[[Move]] | coordinates |~|Return True if Form has been moved successfully. |
++|[[Refresh]] | None |~|Refresh data with its most recent value in the database. |
++|[[Requery]] |~|~|Refresh the data displayed in the Form. |
++|[[SetFocus]] |~|~|Return True if focus set on Form successfully. |
++|[[setProperty]] | value&lt;br /&gt;property |~|Return True if the given property could be set. |
++!!!Remarks
++Each //Form// [[object|Object Model]] has a Controls [[collection|Collection]] method, which contains all controls on the form. You can refer to a specific control on a form by referring to the [[Controls]] collection.
++!!!Examples
++&lt;&lt;tiddler &quot;Forms examples&quot;&gt;&gt;</pre>
++</div>
++<div title="Form (subform)" modifier="Jean-Pierre Ledure" created="201107191433" modified="201405291545" tags="Properties" changecount="1">
++<pre>The //Form// property refers to the //Form// associated with a [[subform control|SubForm]].
++!!!Applies to ...
++| !Pseudo object | !Type when&lt;br /&gt;in a form | !Type when&lt;br /&gt;in a ~GridControl |!Description |
++|[[Control]] | ~SubForm | None |A control on an open form representing a subset (subform) of the form |
++!!!Syntax
++//control//{{{.Form}}}
++!!!Returned values
++An object of type [[SubForm]]
++!!!Remarks
++The //Form// property is read-only.
++!!!Error messages
++| Property 'Form' not applicable in this context |
++!!!See also
++The [[SubForm]] object
++!!!Example
++&lt;&lt;tiddler &quot;Subform example&quot;&gt;&gt;</pre>
++</div>
++<div title="Format" modifier="Jean-Pierre Ledure" created="201108170859" modified="201508290730" tags="Properties" changecount="4">
++<pre>The //Format// property determines the way data is displayed in controls of type date, time or formattedfield.
++!!!Applies to ...
++| !Object | !Type when&lt;br /&gt;in a form | !Type when&lt;br /&gt;in a ~GridControl |!Description |
++|[[Control]] | ~DateField&lt;br /&gt;~FormattedField&lt;br /&gt;~TimeField | ~DateField&lt;br /&gt;~FormattedField&lt;br /&gt;~TimeField |A control on an open form or within a [[GridControl]] of one of the listed types |
++!!!Syntax
++//control//{{{.Format}}}
++//control//{{{.Format}}} = //value//
++!!!Returned values/Arguments
++{{{String}}}
++
++Valid values for ''__datefield controls__'' are :
++|Standard (short) |
++|Standard (short YY) |
++|Standard (short YYYY) |
++|Standard (long) |
++|DD/MM/YY |
++|MM/DD/YY |
++|YY/MM/DD |
++|DD/MM/YYYY |
++|MM/DD/YYYY |
++|YYYY/MM/DD |
++|~YY-MM-DD |
++|~YYYY-MM-DD |
++
++Valid values for ''__timefield controls__'' are :
++|24h short |13:45 |
++|24h long |13:45:00 |
++|12h short |01:45 PM |
++|12h long |01:45:00 PM |
++
++Other values are rejected.
++!!!Remarks
++The //Format// property is read-only for controls of type //~FormattedField//.
++!!!Error messages
++|Property 'Format' not applicable in this context |
++|Value '...' is invalid for property 'Format' |
++!!!Examples
++&lt;&lt;tiddler &quot;Format example&quot;&gt;&gt;</pre>
++</div>
++<div title="Format example" modifier="Jean-PierreLedure" created="201108170912" modified="201303301221" tags="[[Snippets of Code]]">
++<pre>Display the format of a formatted field
++//{{{
++Dim ocControl As Object
++ Set ocControl = Controls(&quot;myForm&quot;, &quot;myFormattedField&quot;)
++ MsgBox ocControl.Format
++//}}}
++Change the format of a date field
++//{{{
++Dim ocControl As Object
++ Set ocControl = Controls(&quot;myForm&quot;, &quot;myDateField&quot;)
++ ocControl.Format = &quot;YYYY-MM-DD&quot;
++//}}}</pre>
++</div>
++<div title="Forms" modifier="YourName" created="201106251412" modified="201902151443" tags="Collections" changecount="4">
++<pre>The //Forms// [[collection|Collection]] describes instances of all __open forms__ present in the current Base document (&quot;.odb&quot; file) or in the current non-Base document (&quot;.odt&quot;, &quot;.ods&quot;, ... file) containing one or more [[standalone forms|Standalone Forms]].
++&lt;&lt;tiddler &quot;ApplyApplication&quot;&gt;&gt;
++!!!Syntax
++{{{[Application.]Forms()}}} or {{{Forms()}}}
++{{{[Application.]Forms(index)}}}
++{{{[Application.]Forms(formname)}}}
++| !Argument #1 | !Type |!Returned value |
++|| absent |A [[Collection]] object |
++| index | integer&lt;br&gt;long |A [[Form]] object corresponding to the index-th item in the Forms() collection. The 1st form is Forms(0), the 2nd is Forms(1) and so on ... The last one is Forms.Count - 1.|
++| formname | string |A [[Form]] object having the argument as name. The argument is NOT case-sensitive.|
++!!!Remarks
++*~Access2Base supports hierarchical form names exactly like Base does it. The //formname// argument must contain the full pathname of the designated form.
++*You can refer to an individual Form object in the Forms collection either by referring to the form by name, or by referring to its index within the collection. If you want to refer to a specific form in the Forms collection, it's better to refer to the form by name because a form's collection index may change. The Forms collection is indexed beginning with zero. If you refer to a form by its index, the first form opened is Forms(0), the second form opened is Forms(1), and so on. If you opened Form1 and then opened Form2, Form2 would be referenced in the Forms collection by its index as Forms(1). If you then closed Form1, Form2 would be referenced in the Forms collection by its index as Forms(0).
++*The //formname// argument is not case sensitive.
++*The returned Form object is always a main form.
++!!!Error messages
++|Argument nr. 1 [Value = '...'] is invalid |
++|Out of array range or incorrect array size for collection Forms() |
++|Form '...' not found |
++|Form '...' is currently not open|
++!!!See also ...
++[[AllForms]]
++!!!Examples
++&lt;&lt;tiddler &quot;Forms examples&quot;&gt;&gt;</pre>
++</div>
++<div title="Forms examples" modifier="Jean-Pierre Ledure" created="201107011401" modified="201405241627" tags="[[Snippets of Code]]" changecount="2">
++<pre>To display the name of all open forms (uses the [[Name]] property):
++//{{{
++Dim i As Integer, oCollection As Object
++ Set oCollection = Application.Forms()
++ For i = 0 To oCollection.Count - 1 'Forms without argument returns a Collection object
++ Print Application.Forms(i).Name, 'Forms(...) with an argument returns a Form object
++ Next i
++ Print
++//}}}
++Can shorter ... :
++//{{{
++Dim i As Integer
++ For i = 0 To Application.Forms.Count - 1 'Forms without argument returns a Collection object
++ Print Application.Forms(i).Name, 'Forms(...) with an argument returns a Form object
++ Next i
++ Print
++//}}}
++To know the size of an open form:
++//{{{
++Dim ofForm As Object
++ Set ofForm = Application.Forms(&quot;myForm&quot;)
++ MsgBox &quot;Height = &quot; &amp; ofForm.Height &amp; &quot;, Width = &quot; &amp; ofForm.Width
++//}}}</pre>
++</div>
++<div title="Full Index" modifier="Jean-Pierre Ledure" created="201108071237" modified="201507121427" tags="NoTag" changecount="2">
++<pre>&lt;&lt;list&gt;&gt;</pre>
++</div>
++<div title="GetChunk" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201603121127" modified="201603121454" tags="Methods" changecount="6">
++<pre>The //~GetChunk// method returns all or a portion of the content of a binary [[Field]] belonging to the [[Fields]] collection of a [[Recordset]].
++!!!Applies to ...
++| !Object | !Type of field |
++|[[Field]] |com.sun.star.sdbc.~DataType.BINARY&lt;br /&gt;com.sun.star.sdbc.~DataType.VARBINARY&lt;br /&gt;com.sun.star.sdbc.~DataType.LONGVARBINARY |
++!!!Syntax
++//chunk// = //field//{{{.GetChunk(}}}//offset, numbytes//{{{)}}}
++!!!Arguments
++| !Argument / Return value | !Type | !Description |
++|chunk | Variant |An array of integers. Its size is determined by the //numbytes// argument or by the number of remaining bytes to read, whichever is the smallest.&lt;br /&gt;If the field contains {{{Null}}}, //~GetChunk// will return {{{Null}}} (to be tested with the {{{IsNull()}}} Basic builtin function). |
++|offset | Long |The number of bytes to skip before copying begins. |
++|numbytes | Long |The number of bytes you want to return. |
++!!!Remarks
++*Use //~GetChunk// to return a portion of the total data value at a time. You can use the [[AppendChunk]] method to reassemble the pieces.
++*If offset is 0, //~GetChunk// begins copying from the first byte of the field.
++*If numbytes is greater than the number of bytes in the field, //~GetChunk// returns the actual number of remaining bytes in the field.
++!!!Error messages
++|Method '~GetChunk' not applicable in this context |
++|Argument nr. ... [Value = '...'] is invalid |
++!!!See also
++[[AppendChunk]]
++[[ReadAllBytes]]
++[[Value|Value (field)]]
++!!!Example
++&lt;&lt;tiddler &quot;Chunk example&quot;&gt;&gt;</pre>
++</div>
++<div title="GetHiddenAttribute" modifier="Jean-Pierre Ledure" created="201312260818" modified="201405241127" tags="Actions" changecount="5">
++<pre>The //~GetHiddenAttribute// property specifies if a named window is currently hidden or visible.
++&lt;&lt;tiddler &quot;ApplyDoCmd&quot;&gt;&gt;
++!!!Syntax
++{{{[DoCmd.]GetHiddenAttribute(}}}//{{{ObjectType, ObjectName}}}//{{{)}}}
++| !Argument | !Optional | !Type&lt;br /&gt;or&lt;br /&gt;Symbol |!Description |
++|{{{ObjectType}}} | No | acTable&lt;br /&gt;acQuery&lt;br /&gt;acForm&lt;br /&gt;acReport&lt;br /&gt;acDiagram (i.e. Relationships)&lt;br /&gt;acBasicIDE&lt;br /&gt;acDatabaseWindow&lt;br /&gt;acDocument |The type of object to hide or to show. |
++|{{{ObjectName}}} | Yes | String |The name of the object. This argument is NOT case-sensitive.&lt;br /&gt;The argument is mandatory when the //~ObjectType// argument is one of next values: //acTable//, //acQuery//, //acForm//, //acReport// or //acDocument//.&lt;br /&gt;When the //~ObjectType// is equal to //acDocument//, the //~ObjectName// argument must contain the __filename__ of the targeted window. |
++The symbolic constants can be included in your code by copying and pasting next lines:
++//{{{
++Const acDiagram = 8
++Const acForm = 2
++Const acQuery = 1
++Const acReport = 3
++Const acTable = 0
++
++Const acBasicIDE = 101
++Const acDatabaseWindow = 102
++Const acDocument = 111
++//}}}
++!!!Returned values
++{{{Boolean}}}
++!!!Remarks
++*In //~MSAccess// the //~GetHiddenAttribute// property is related to the [[Application]] root object, not to the [[DoCmd]] one.
++*When the //~ObjectType// is {{{acTable}}}, {{{acQuery}}}, {{{acForm}}} or {{{acReport}}}, the named object MUST be open.
++!!!Error messages
++|Arguments are missing or are not initialized |
++|Argument nr. ... [Value = '...'] is invalid |
++|Object '...' not found |
++!!!See also
++[[Maximize]]
++[[Minimize]]
++[[MoveSize]]
++[[RunCommand]]
++[[SetFocus]]
++[[SelectObject]]
++[[SetHiddenAttribute]]
++!!!Example
++&lt;&lt;tiddler &quot;SetHiddenAttribute example&quot;&gt;&gt;</pre>
++</div>
++<div title="GetRows" modifier="Jean-Pierre Ledure" created="201401261441" modified="201408011516" tags="Methods" changecount="6">
++<pre>The //~GetRows// method retrieves multiple rows from a [[Recordset]] object.
++!!!Applies to ...
++| !Object | !Description |
++|[[Recordset]] |A set of records derived from a table, a query or a SQL statement. |
++!!!Syntax
++//recordset//{{{.GetRows(}}}//numrows//{{{)}}}
++| !Argument | !Optional | !Type | !Description | !Returned value |
++|recordset || [[Recordset object|Recordset]] |An open recordset |//~GetRows// returns a two-dimensional array. The first subscript identifies the field and the second identifies the row number. |
++|numrows | N | Long |Specifies the maximum number of rows to retrieve. |~|
++!!!Remarks
++//~GetRows// returns a two-dimensional zero-based array.
++For example, to get the first field value in the second row returned, use code like the following:
++//{{{
++Dim vVarRecords() As Variant, oRecordset As Object, vField1 As Variant
++ Set oRecordset = ... OpenRecordset(...)
++ Set vVarRecords = oRecordset.GetRows(1000)
++ vField1 = vVarRecords(0, 1).
++//}}}
++To get the second field value in the first row, use code like the following:
++//{{{
++Dim vField2 As Variant
++ vField2 = vVarRecords(1, 0)
++//}}}
++The {{{vVarRecords}}} variable automatically becomes a two-dimensional array when //~GetRows// returns data. Otherwise //~GetRows// will return an uninitialized array (i.e. the output of the Basic builtin {{{Array()}}} function).
++Each element of the returned array will be of the Basic type most close to the [[DataType]] of the original database field.
++A {{{Null}}} field value in the database will be returned as a {{{Null}}} value in the array resulting from the invocation of //~GetRows//. To be evaluated with the {{{IsNull()}}} Basic builtin function.
++
++If you request more rows than are available, then //~GetRows// returns only the number of available rows. You can use the Basic {{{UBound}}} function to determine how many rows //~GetRows// actually retrieved, because the array is sized to fit the number of returned rows.
++For example, you could use the following code to determine how many rows were actually returned:
++//{{{
++ numReturned = UBound(vVarRecords, 2) + 1
++//}}}
++You need to use &quot;+ 1&quot; because the first row returned is in the 0th element of the array. The number of rows that you can retrieve is constrained by the amount of available memory. You shouldn't use //~GetRows// to retrieve an entire table into an array if it is large.
++Because GetRows returns all fields of the //Recordset// into the array, including Memo fields, you might want to use a query that restricts the fields returned.
++
++Binary fields are not returned. Instead the corresponding element in the array returned by //~GetRows// contains the //length// of the field.
++
++After you call //~GetRows//, the current record is positioned at the next unread row. That is, //~GetRows// has the same effect on the current record as {{{recordset.Move(numrows)}}}.
++If you are trying to retrieve all the rows by using multiple //~GetRows// calls, use the [[EOF|BOF, EOF]] property to be sure that you're at the end of the //Recordset//. //~GetRows// returns less than the number requested if it's at the end of the //Recordset//.
++
++Calling //~GetRows// cancels all not confirmed updates on the //recordset//.
++!!!Error messages
++|Argument nr.1 (Value='...') is invalid |
++|Recordset has been closed. Recordset action rejected |
++!!!See also
++[[BOF, EOF]]
++[[Move (recordset)]]
++[[OpenRecordset]]
++!!!Example
++&lt;&lt;tiddler &quot;GetRows example&quot;&gt;&gt;</pre>
++</div>
++<div title="GetRows example" modifier="YourName" created="201401262005" modified="201401262005" tags="[[Snippets of Code]]">
++<pre>Create a new recordset, extract the data in blocks of 50 records
++//{{{
++Const dbReadOnly = 4
++Const cstNumRecs = 50
++Dim orsRecords As Object, vDataBlock() As Variant
++ Set orsRecords = Application.CurrentDb().OpenRecordset(&quot;EXPENSES&quot;, , , dbReadOnly)
++ With orsRecords
++ Do While Not .EOF()
++ Set vDataBlock = .GetRows(cstNumRecs)
++ ' ... process data block ...
++ ' vDataBlock(i, j) = value in (i + 1)th field of (j + 1)th record
++ Loop
++ .mClose()
++ End With
++//}}}</pre>
++</div>
++<div title="GoToControl" modifier="Jean-Pierre Ledure" created="201205171621" modified="201409271452" tags="Actions" changecount="4">
++<pre>{{firstletter{
++ @@color:#930;T@@
++ }}}he //~GoToControl// action moves the focus to the named control in the active window. The active window is assumed to be a form.
++&lt;&lt;tiddler &quot;ApplyDoCmd&quot;&gt;&gt;
++!!!Syntax
++{{{[DoCmd.]GoToControl(}}}//{{{ControlName}}}//{{{)}}}
++| !Argument | !Optional | !Type |!Description |
++|{{{ControlName}}} | No | String |The name of the control to move the focus to. This argument is NOT case-sensitive. |
++!!!Remarks
++*If
++**the active window is not a form belonging to a Base document (&quot;.odb&quot; suffix),
++**or if the active window is indeed a form but no control is found with the given ~ControlName,
++**or if such a control is found but it is not enabled,
++{{indent{then the ~GoToControl request is ignored.
++*You can also use the [[SetFocus]] method to move the focus to a control on a form or any of its subforms. This is the preferred method for moving the focus, especially to controls on subforms and nested subforms.
++!!!Error messages
++|Argument nr. 1 [Value = '...'] is invalid |
++!!!See also
++[[SetFocus]]
++!!!Example
++//{{{
++ SelectObject(acForm, &quot;myForm&quot;)
++ GoToControl(&quot;myControl&quot;)
++//}}}</pre>
++</div>
++<div title="GoToRecord" modifier="Jean-Pierre Ledure" created="201112311138" modified="201412301600" tags="Actions" changecount="13">
++<pre>{{firstletter{
++ @@color:#930;T@@
++ }}}he //~GoToRecord// action makes the specified record the current record in an open form, a table or a query datasheet.
++&lt;&lt;tiddler &quot;ApplyDoCmd&quot;&gt;&gt;
++!!!Syntax
++{{{[DoCmd.]GoToRecord(}}}//{{{ObjectType, ObjectName, Record, Offset}}}//{{{)}}}
++| !Argument | !Optional | !Type&lt;br /&gt;or&lt;br /&gt;Symbol |!Description |
++|{{{ObjectType}}} | Yes | acActiveDataObject&lt;br /&gt;acDataForm&lt;br /&gt;acDataTable&lt;br /&gt;acDataQuery |The type of object that contains the record you want to make current. Leave this argument blank to select the active window. |
++|{{{ObjectName}}} |~| String |The name of the object that contains the record you want to make the current record. If you leave the Object Type argument blank, leave this argument blank also.&lt;br /&gt;This argument may also contain a [[shortcut|ShortCut Notation]] to a [[Form]] or a [[SubForm]]. |
++|{{{Record}}} |~| acFirst&lt;br /&gt;acGoTo&lt;br /&gt;acLast&lt;br /&gt;acNewRec&lt;br /&gt;acNext&lt;br/&gt;acPrevious |Specifies the record to make the current record. The default is //acNext//. |
++|{{{Offset}}} |~| Integer&lt;br /&gt;Long |This argument specifies the record to make the current record. You can use the Offset argument in two ways:&lt;br /&gt;- When the Record argument is //acNext// or //acPrevious//, the cursor moves the number of records forward or backward specified in the Offset argument.&lt;br /&gt;- When the Record argument is //acGoTo//, the cursor moves to the record with the number equal to the Offset argument. |
++The symbolic constants can be included in your code by copying and pasting next lines:
++//{{{
++Const acActiveDataObject = -1
++Const acDataTable = 0
++Const acDataQuery = 1
++Const acDataForm = 2
++
++Const acFirst = 2
++Const acGoTo = 4
++Const acLast = 3
++Const acNewRec = 5
++Const acNext = 1
++Const acPrevious = 0
++//}}}
++!!!Remarks
++*If the targeted window (= combination of //~ObjectType// and //~ObjectName//) does not exist or is not open then the //~GoToRecord// action request is ignored.
++*The //~GoToRecord// action is most often started from an event. Clicking on a button in a form triggering the event might change the focus from the current form to the form containing the button. This could not be the desired effect. In that case use the [[SetFocus]] method on the targeted //form// or alternatively the [[SelectObject]] action, before executing the //~GoToRecord// statement.
++*The //~GoToRecord// action, when applied to a table or a query datasheet, __does NOT work in //~OpenOffice//__ (//~LibreOffice// OK).
++*When run from a //non-Base// document containing several forms, the first argument must be equal to {{{acDataForm}}} and the second one must be a {{{string}}} containing either the name of the targeted form or a [[shortcut|ShortCut Notation]] to it.
++*An attempt to position the cursor beyond the first/last row in the result set leaves the cursor before/after the first/last row, respectively.
++*If {{{Record}}} = //acGoTo// then:
++**If the {{{Offset}}} is positive, the cursor moves to the given row number with respect to the beginning of the result set. The first row is row 1, the second is row 2, and so on.
++**If the given {{{Offset}}} is negative, the cursor moves to an absolute row position with respect to the end of the result set. For example, {{{Offset}}} = (-1) positions the cursor on the last row, {{{Offset}}} = (-2) indicates the next-to-last row, and so on.
++*Before moving to the indicated record, the current record is saved if it was either being created or being updated.
++*//~GoToRecord// returns {{{True}}} if the move was successful, {{{False}}} otherwise.
++!!!Error messages
++|Argument nr.X [Value = '...'] is invalid|
++!!!See also
++[[Bookmark]]
++[[OpenTable]]
++[[OpenQuery]]
++[[SelectObject]]
++[[SetFocus]]
++!!!Example
++&lt;&lt;tiddler &quot;GoToRecord example&quot;&gt;&gt;</pre>
++</div>
++<div title="GoToRecord example" modifier="Jean-Pierre Ledure" created="201112311346" modified="201411021514" tags="[[Snippets of Code]]" changecount="6">
++<pre>Jump to the 5th record before the last one
++//{{{
++Const acDataForm = 2
++ GoToRecord acDataForm, &quot;myForm&quot;, acLast
++ GoToRecord acDataForm, &quot;myForm&quot;, acPrevious, 5
++//}}}
++Jump to the last record of a table datasheet
++//{{{
++Const acDataTable = 0
++ GotoRecord acDataTable, &quot;ARTICLE&quot;, acLast
++//}}}</pre>
++</div>
++<div title="GridControl" modifier="Jean-Pierre Ledure" created="201109021440" modified="201405300632" tags="[[Special controls]]" changecount="3">
++<pre>{{firstletter{
++ @@color:#930;A@@
++ }}} //~GridControl// [[control|Control]] presents the records of a table or query in a tabular form.
++!!!Functions returning a ~GridControl control
++| !Function | !Type | !Arguments |!Description |
++|[[Controls]] | [[Collection]] | Integer&lt;br /&gt;String |{{{Dim ofForm As Object}}}&lt;br /&gt;{{{Set ofForm = Forms(&quot;myForm&quot;)}}}&lt;br /&gt;{{{ofForm.Controls(&quot;myGridControl&quot;)}}} returns a control object corresponding with the {{{myGridControl}}} control in the {{{myForm}}} form. {{{myForm}}} must be open. |
++|[[getObject]] || String |{{{getObject(&quot;Forms!myForm!myGridControl&quot;)}}} returns a control object corresponding with the {{{myGridControl}}} control in the {{{myForm}}} form. {{{myForm}}} must be open. |
++!!!Properties
++| !Property | !Type | !Read only |!Description or UNO object |
++|[[Name]] || Y |Specifies the exact name of the control |
++|BackColor |||Specifies the color of the interior of a control. |
++|BorderColor |||Specifies the color of a control's border. |
++|BorderStyle |||Specifies how a control's border appears. |
++|[[ControlTipText]] |||Specifies the text that appears in a ~ScreenTip when you hold the mouse pointer over a control. |
++|[[ControlType]] || Y |Specifies the type of a control. |
++|[[Enabled]] |||Specifies if the cursor can access the control. |
++|[[FontBold]]&lt;br /&gt;[[FontItalic]]&lt;br /&gt;[[FontName]]&lt;br /&gt;[[FontSize]]&lt;br /&gt;[[FontUnderline]]&lt;br /&gt;[[FontWeight]]&lt;br /&gt;[[ForeColor]] |||Specify the font characteristics of all the columns of the grid. |
++|[[TabIndex]] |||Specifies a control's place in the tab order on a form. |
++|[[TabStop]] |||Specifies whether you can use the TAB key to move the focus to a control. |
++|[[Tag]] |||Stores extra information about a control. |
++|[[Visible]] |||Specifies if a control is visible or hidden. |
++!!!Methods
++| !Method | !Argument(s) | !Return | !Description |
++|[[getProperty]] | property | Variant |Return the value of the given property. |
++|[[hasProperty]] | property | Boolean |Return True if the ~GridControl has the given property. |
++|[[Requery]] ||~|True if data reloaded in the ~GridControl |
++|[[SetFocus]] | none |~|Return True if focus set on Control successfully. |
++|[[setProperty]] | property&lt;br /&gt;value |~|Return True if the given property could be set. |
++!!!Remarks
++Each //~GridControl// [[control object|Object Model]] has a Controls [[collection|Collection]], which contains all controls on the gridcontrol. You can refer to a specific control on a gridcontrol by referring to its [[Controls]] collection.
++!!!Example
++&lt;&lt;tiddler &quot;Gridcontrol examples&quot;&gt;&gt;</pre>
++</div>
++<div title="Gridcontrol examples" modifier="Jean-Pierre Ledure" created="201109021509" modified="201405210822" tags="[[Snippets of Code]]" changecount="1">
++<pre>Change font properties for ALL fields in a gridcontrol
++//{{{
++Dim ocGrid As Object
++ Set ocGrid = Forms(&quot;myForm&quot;).Controls(&quot;myGridControl&quot;)
++ ocGrid.FontBold = True
++//}}}
++To know the controls present in a gridcontrol (datagrid)
++//{{{
++Dim i As Integer, iCountGrid As Integer
++ iCountGrid = ocGrid.Controls().Count
++ For i = 0 To iCountGrid - 1
++ Print ocGrid.Controls(i).Name,
++ Next i
++ Print
++//}}}</pre>
++</div>
++<div title="Height" modifier="Jean-PierreLedure" created="201107171203" modified="201306151428" tags="Properties">
++<pre>The //Height// property specifies the height of a form or a dialog.
++!!!Applies to ...
++| !Object |!Description |
++|[[Form]] |An open form |
++|[[Dialog]] |An active dialog |
++!!!Syntax
++//form//{{{.Height}}}
++//form//{{{.Height = }}}//value//
++//dialog//{{{.Height}}}
++//dialog//{{{.Height = }}}//value//
++!!!Returned values / Arguments
++{{{Integer}}} or {{{Long}}}
++!!!Remarks
++!!!Error messages
++|Form '...' is currently not open|
++|Dialog '...' not active |
++|Value '...' is invalid for property 'Height' |
++!!!See also
++[[Maximize]]
++[[Minimize]]
++[[Move]]
++[[Width]]
++!!!Example
++&lt;&lt;tiddler &quot;Height &amp; Width example&quot;&gt;&gt;</pre>
++</div>
++<div title="Height &amp; Width example" modifier="Jean-PierreLedure" created="201107171231" modified="201212091146" tags="[[Snippets of Code]]">
++<pre>Modify height and width of a form
++//{{{
++Dim ofForm As Object
++ Set ofForm = Forms(&quot;myForm&quot;)
++ ofForm.Height = 300
++ ofForm.Width = 200
++//}}}</pre>
++</div>
++<div title="Home" modifier="YourName" created="201106250808" modified="201902151454" tags="NoTag" changecount="32">
++<pre>!NEW
++
++Read about ''[[BASEDOCUMENTER|http://www.access2base.com/basedocumenter]]'': a new ~LibreOffice __extension__ for producing a __HTML documentation__ of Base applications.
++~BaseDocumenter is based on the ~Access2Base library.
++!What is __~Access2Base__ ?
++
++{{firstletter{
++ @@color:#930;A@@
++ }}}''ccess2Base'' is a ~LibreOffice/~OpenOffice Basic library of macros for (business or personal) __application developers__ and __advanced users__.
++Their syntax and their meaning are directly inspired by //~MSAccess//. The macros are callable from
++*a ''~LibreOffice / ~OpenOffice Base'' application,
++*any ''~LibreOffice / ~OpenOffice document'' wanting to access data stored in databases.
++
++It is intended first to support people having a knowledge of ~MSAccess and willing to step over to a similar but free software, i.e. //~LibreOffice/~OpenOffice Base//.
++It is also useful for users having already a practical knowledge of ~LibreOffice/~OpenOffice (Base or other ...) and wanting to start building applications with it, while remaining focussed on the application or business logic only.
++
++//It is also recommended to people having tried to program in AOO/~LibO Basic with the standard ~LibreOffice/~OpenOffice UNO API and having given it up ...//
++
++The ''~Access2Base API'' is ''much more concise, intuitive, easy to learn'' and ''easy to use'' than the standard UNO API (API = Application Programming Interface).
++
++''
++~Access2Base is provided either
++&gt;- __pre-installed as a standard feature in all versions of //~LibreOffice// since //~LibO version 4.2//__
++&gt;- as an __extension__ downloadable from the //~LibreOffice// (versions &lt;= 4.1) or //~OpenOffice// (all versions) download centers.
++The current and future versions of ~Access2Base (6.2.0) will be delivered only as a part of ~LibreOffice (&gt;= 6.2).
++See the [[getting started instructions|Install]] for more details.
++''
++
++The implemented macros include:
++&gt;1. a simplified and extensible ''__API__'' for [[forms|Forms]], [[dialogs|Dialog]] and [[controls|Controls]] manipulations similar with the ''//~MSAccess// object model''
++&gt;2. an API for database access with the [[table|TableDef]], [[query|QueryDef]], [[recordset|Recordset]] and [[field|Field]] objects, aligned with the ''//DAO (Microsoft Data Access Object)// object model''
++&gt;3. a number of actions with a syntax identical to their corresponding //~MSAccess// macros/actions including [[FindRecord]], [[RunCommand]], [[RunSQL]] or [[SelectObject]]
++&gt;4. the DLookup, DSum, ... database functions
++&gt;5. the support of the [[shortcut|ShortCut Notation]] notations like {{{Forms!myForm!myControl}}}
+++
++&gt;6. a consistent [[errors and exceptions handler|Error Handler]]
++&gt;7. facilities for programming [[form, dialog and control events|Events Handler]]
++&gt;8. the support of both //embedded forms// (in Base documents) and [[forms stored in non-Base documents|Standalone Forms]]
++!Compare ~Access2Base with ~MSAccess VBA
++&lt;&lt;tiddler &quot;Access2Base vs. VBA&quot;&gt;&gt;
++!To know more ...
++[[Why Access2Base ?]]
++The [[Object model|Object Model]]
++[[A tutorial|Tutorial]]
++Browse the [[User's Guide]]
++A detailed [[comparison|MSAccessCoverage]] between //~Access2Base// and //~MSAccess 2013//
++!Getting started
++[[Download the extension and get started|Install]]
++!To give feedback ...
++&lt;&lt;tiddler &quot;Contact&quot;&gt;&gt;</pre>
++</div>
++<div title="How To's" modifier="Jean-Pierre Ledure" created="201205010510" modified="201408011517" tags="NoTag" changecount="1">
++<pre></pre>
++</div>
++<div title="HtmlEncode" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201510031310" modified="201510031326" tags="Properties" changecount="7">
++<pre>The //~HtmlEncode// property converts a string to an ~HTML-encoded string.
++&lt;&lt;tiddler &quot;ApplyApplication&quot;&gt;&gt;
++!!!Syntax
++{{{[Application.]HtmlEncode(}}}//{{{InputString}}}//, [//{{{OutputLength}}}//]{{{)}}}
++!!!Returned values / Arguments
++| !Argument | !Optional | !Type |!Description | !Returned value |
++|{{{InputString}}} | No | String |Maximum length of 64,000 characters. | String |
++|{{{OutputLength}}} | Yes | Integer&lt;br /&gt;Long |The output string will be truncated after {{{OutputLength}}} characters. However an &amp;-encoded character will remain complete. |~|
++!!!Remarks
++!!!Error messages
++|Argument nr. ... [Value = '...'] is invalid |
++!!!See also
++[[OutputTo]]
++!!!Example
++&lt;&lt;tiddler &quot;HtmlEncode example&quot;&gt;&gt;</pre>
++</div>
++<div title="HtmlEncode example" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201510031343" modified="201510031345" tags="[[Snippets of Code]]" changecount="3">
++<pre>Html encoding of a string
++Returned string: {{{Amounts in &amp;euro;, not in &amp;#163;. Montants affich&amp;#233;s en &amp;euro;, pas en &amp;#163;.}}}
++//{{{
++Const cstString = &quot;Amounts in €, not in £. Montants affichés en €, pas en £.&quot;
++ DebugPrint Application.HtmlEncode(cstString)
++//}}}</pre>
++</div>
++<div title="Identification example" modifier="Jean-Pierre Ledure" created="201312261119" modified="201611101401" tags="[[Snippets of Code]]" changecount="2">
++<pre>//{{{
++ MsgBox Application.Version &amp; &quot; - &quot; &amp; Application.ProductCode &amp; &quot; - &quot; &amp; Application.CurrentUser
++ MsgBox Application.CurrentDb.Version
++//}}}</pre>
++</div>
++<div title="ImportImages" modifier="Jean-PierreLedure" created="201308161552" modified="201308161607" tags="HowTo">
++<pre>(Q) Can I import the content of a directory in individual binary fields ?
++
++(R) Use the [[ReadAllBytes]] method. It's exactly its purpose !
++
++Let's consider next table:
++&lt;&lt;tiddler &quot;CategoriesTable&quot;&gt;&gt;
++Run next Sub. The assumption is that each file in the directory has a name corresponding with the name of the category (after having substituted &quot;/&quot; in category names by a space).
++//{{{
++Sub ImportImages(psPath As String)
++
++Dim oTable As Object, oRecordset As Object, sCatName As String
++ Set oTable = Application.CurrentDb().TableDefs(&quot;CATEGORIES&quot;)
++ Set oRecordset = oTable.OpenRecordset()
++
++ With oRecordset
++ Do While Not .EOF()
++ sCatName = Join(Split(.Fields(&quot;CATEGORYNAME&quot;).Value, &quot;/&quot;), &quot; &quot;)
++ .Edit
++ .Fields(&quot;Picture&quot;).ReadAllBytes(psPath &amp; sCatName &amp; &quot;.png&quot;)
++ .Update
++ .MoveNext
++ Loop
++ .mClose()
++ End With
++
++End Sub
++//}}}
++!!!See also
++[[Fields]]
++[[OpenRecordset]]
++[[Recordset]]
++[[TableDefs]]
++[[WriteAllBytes]]
++!!!Refer to ...
++| !Basic module | !Form | !Form event | !Control | !Control event |!Comments |
++|Images |||||Store images in a directory, adapt the //path// argument and run the //Main// Sub from the Basic IDE. |</pre>
++</div>
++<div title="Index" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201507121436" modified="201507121453" tags="Properties" changecount="5">
++<pre>The //Index// property specifies the index number for a [[CommandBarControl]] object in the [[CommandBarControls]] collection of [[CommandBar]]. The property is read-only.
++!!!Applies to ...
++| !Object |!Description |
++|[[CommandBarControl]] |An element of a ~CommandBar. |
++!!!Syntax
++//commandbarcontrol//{{{.Index}}}
++!!!Returned values / Arguments
++{{{Integer}}}
++!!!Remarks
++For compatibility reasons with Microsoft Access ''the //Index// property starts at 1'', not at 0.
++To retrieve a commandbarcontrol object from its collection and you know the value of its //Index// property, use that value minus 1 as argument of the ~CommandBarControls collection.</pre>
++</div>
++<div title="InlineJavascriptPlugin" modifier="YourName" created="201203161501" modified="201203161502" tags="systemConfig excludeLists">
++<pre>/***
++|Name|InlineJavascriptPlugin|
++|Source|http://www.TiddlyTools.com/#InlineJavascriptPlugin|
++|Documentation|http://www.TiddlyTools.com/#InlineJavascriptPluginInfo|
++|Version|1.9.6|
++|Author|Eric Shulman|
++|License|http://www.TiddlyTools.com/#LegalStatements|
++|~CoreVersion|2.1|
++|Type|plugin|
++|Description|Insert Javascript executable code directly into your tiddler content.|
++''Call directly into TW core utility routines, define new functions, calculate values, add dynamically-generated TiddlyWiki-formatted output'' into tiddler content, or perform any other programmatic actions each time the tiddler is rendered.
++!!!!!Documentation
++&gt;see [[InlineJavascriptPluginInfo]]
++!!!!!Revisions
++&lt;&lt;&lt;
++2010.12.15 1.9.6 allow (but ignore) type=&quot;...&quot; syntax
++|please see [[InlineJavascriptPluginInfo]] for additional revision details|
++2005.11.08 1.0.0 initial release
++&lt;&lt;&lt;
++!!!!!Code
++***/
++//{{{
++version.extensions.InlineJavascriptPlugin= {major: 1, minor: 9, revision: 6, date: new Date(2010,12,15)};
++
++config.formatters.push( {
++ name: &quot;inlineJavascript&quot;,
++ match: &quot;\\&lt;script&quot;,
++ lookahead: &quot;\\&lt;script(?: type=\\\&quot;[^\\\&quot;]*\\\&quot;)?(?: src=\\\&quot;([^\\\&quot;]*)\\\&quot;)?(?: label=\\\&quot;([^\\\&quot;]*)\\\&quot;)?(?: title=\\\&quot;([^\\\&quot;]*)\\\&quot;)?(?: key=\\\&quot;([^\\\&quot;]*)\\\&quot;)?( show)?\\&gt;((?:.|\\n)*?)\\&lt;/script\\&gt;&quot;,
++ handler: function(w) {
++ var lookaheadRegExp = new RegExp(this.lookahead,&quot;mg&quot;);
++ lookaheadRegExp.lastIndex = w.matchStart;
++ var lookaheadMatch = lookaheadRegExp.exec(w.source)
++ if(lookaheadMatch &amp;&amp; lookaheadMatch.index == w.matchStart) {
++ var src=lookaheadMatch[1];
++ var label=lookaheadMatch[2];
++ var tip=lookaheadMatch[3];
++ var key=lookaheadMatch[4];
++ var show=lookaheadMatch[5];
++ var code=lookaheadMatch[6];
++ if (src) { // external script library
++ var script = document.createElement(&quot;script&quot;); script.src = src;
++ document.body.appendChild(script); document.body.removeChild(script);
++ }
++ if (code) { // inline code
++ if (show) // display source in tiddler
++ wikify(&quot;{{{\n&quot;+lookaheadMatch[0]+&quot;\n}}}\n&quot;,w.output);
++ if (label) { // create 'onclick' command link
++ var link=createTiddlyElement(w.output,&quot;a&quot;,null,&quot;tiddlyLinkExisting&quot;,wikifyPlainText(label));
++ var fixup=code.replace(/document.write\s*\(/gi,'place.bufferedHTML+=(');
++ link.code=&quot;function _out(place,tiddler){&quot;+fixup+&quot;\n};_out(this,this.tiddler);&quot;
++ link.tiddler=w.tiddler;
++ link.onclick=function(){
++ this.bufferedHTML=&quot;&quot;;
++ try{ var r=eval(this.code);
++ if(this.bufferedHTML.length || (typeof(r)===&quot;string&quot;)&amp;&amp;r.length)
++ var s=this.parentNode.insertBefore(document.createElement(&quot;span&quot;),this.nextSibling);
++ if(this.bufferedHTML.length)
++ s.innerHTML=this.bufferedHTML;
++ if((typeof(r)===&quot;string&quot;)&amp;&amp;r.length) {
++ wikify(r,s,null,this.tiddler);
++ return false;
++ } else return r!==undefined?r:false;
++ } catch(e){alert(e.description||e.toString());return false;}
++ };
++ link.setAttribute(&quot;title&quot;,tip||&quot;&quot;);
++ var URIcode='javascript:void(eval(decodeURIComponent(%22(function(){try{';
++ URIcode+=encodeURIComponent(encodeURIComponent(code.replace(/\n/g,' ')));
++ URIcode+='}catch(e){alert(e.description||e.toString())}})()%22)))';
++ link.setAttribute(&quot;href&quot;,URIcode);
++ link.style.cursor=&quot;pointer&quot;;
++ if (key) link.accessKey=key.substr(0,1); // single character only
++ }
++ else { // run script immediately
++ var fixup=code.replace(/document.write\s*\(/gi,'place.innerHTML+=(');
++ var c=&quot;function _out(place,tiddler){&quot;+fixup+&quot;\n};_out(w.output,w.tiddler);&quot;;
++ try { var out=eval(c); }
++ catch(e) { out=e.description?e.description:e.toString(); }
++ if (out &amp;&amp; out.length) wikify(out,w.output,w.highlightRegExp,w.tiddler);
++ }
++ }
++ w.nextMatch = lookaheadMatch.index + lookaheadMatch[0].length;
++ }
++ }
++} )
++//}}}
++
++// // Backward-compatibility for TW2.1.x and earlier
++//{{{
++if (typeof(wikifyPlainText)==&quot;undefined&quot;) window.wikifyPlainText=function(text,limit,tiddler) {
++ if(limit &gt; 0) text = text.substr(0,limit);
++ var wikifier = new Wikifier(text,formatter,null,tiddler);
++ return wikifier.wikifyPlain();
++}
++//}}}
++
++// // GLOBAL FUNCTION: $(...) -- 'shorthand' convenience syntax for document.getElementById()
++//{{{
++if (typeof($)=='undefined') { function $(id) { return document.getElementById(id.replace(/^#/,'')); } }
++//}}}</pre>
++</div>
++<div title="InlineJavascriptPluginInfo" modifier="YourName" created="201203161446" modified="201204071108" tags="excludeLists">
++<pre>/***
++|Name|InlineJavascriptPluginInfo|
++|Source|http://www.TiddlyTools.com/#InlineJavascriptPlugin|
++|Documentation|http://www.TiddlyTools.com/#InlineJavascriptPluginInfo|
++|Version|1.9.6|
++|Author|Eric Shulman|
++|License|http://www.TiddlyTools.com/#LegalStatements|
++|~CoreVersion|2.1|
++|Type|documentation|
++|Description|Documentation for InlineJavascriptPlugin|
++''Call directly into TW core utility routines, define new functions, calculate values, add dynamically-generated ~TiddlyWiki-formatted output'' into tiddler content, or perform any other programmatic actions each time the tiddler is rendered.
++!!!!!Usage
++&lt;&lt;&lt;
++This plugin adds wiki syntax for surrounding tiddler content with {{{&lt;script&gt;}}} and {{{&lt;/script&gt;}}} markers, so that it can be recognized as embedded javascript code. When a tiddler is rendered, the plugin automatically invokes any embedded scripts, which can be used to construct and return dynamically-generated output that is inserted into the tiddler content.
++{{{
++&lt;script type=&quot;...&quot; src=&quot;...&quot; label=&quot;...&quot; title=&quot;...&quot; key=&quot;...&quot; show&gt;
++ /* javascript code goes here... */
++&lt;/script&gt;
++}}}
++All parameters are //optional//. When the ''show'' keyword is used, the plugin will also include the script source code in the output that it displays in the tiddler. This is helpful when creating examples for documentation purposes (such as used in this tiddler!)
++
++__''Deferred execution from an 'onClick' link''__
++&lt;script label=&quot;click here&quot; title=&quot;mouseover tooltip text&quot; key=&quot;X&quot; show&gt;
++ /* javascript code goes here... */
++ alert('you clicked on the link!');
++&lt;/script&gt;
++By including a {{{label=&quot;...&quot;}}} parameter in the initial {{{&lt;script&gt;}}} marker, the plugin will create a link to an 'onclick' script that will only be executed when that specific link is clicked, rather than running the script each time the tiddler is rendered. You may also include a {{{title=&quot;...&quot;}}} parameter to specify the 'tooltip' text that will appear whenever the mouse is moved over the onClick link text, and a {{{key=&quot;X&quot;}}} parameter to specify an //access key// (which must be a //single// letter or numeric digit only).
++
++__''Loading scripts from external source files''__
++&lt;script src=&quot;URL&quot; show&gt;
++ /* optional javascript code goes here... */
++&lt;/script&gt;You can also load javascript directly from an external source URL, by including a src=&quot;...&quot; parameter in the initial {{{&lt;script&gt;}}} marker (e.g., {{{&lt;script src=&quot;demo.js&quot;&gt;&lt;/script&gt;}}}). This is particularly useful when incorporating third-party javascript libraries for use in custom extensions and plugins. The 'foreign' javascript code remains isolated in a separate file that can be easily replaced whenever an updated library file becomes available.
++
++In addition to loading the javascript from the external file, you can also use this feature to invoke javascript code contained within the {{{&lt;script&gt;...&lt;/script&gt;}}} markers. This code is invoked //after// the external script file has been processed, and can make immediate use of the functions and/or global variables defined by the external script file.
++&gt;Note: To ensure that your javascript functions are always available when needed, you should load the libraries from a tiddler that is rendered as soon as your ~TiddlyWiki document is opened, such as MainMenu. For example: put your {{{&lt;script src=&quot;...&quot;&gt;&lt;/script&gt;}}} syntax into a separate 'library' tiddler (e.g., ~LoadScripts), and then add {{{&lt;&lt;tiddler LoadScripts&gt;&gt;}}} to MainMenu so that the library is loaded before any other tiddlers that rely upon the functions it defines.
++&gt;
++&gt;Normally, loading external javascript in this way does not produce any direct output, and should not have any impact on the appearance of your MainMenu. However, if your ~LoadScripts tiddler contains notes or other visible content, you can suppress this output by using 'inline CSS' in the MainMenu, like this: {{{@@display:none;&lt;&lt;tiddler LoadScripts&gt;&gt;@@}}}
++&lt;&lt;&lt;
++!!!!!Creating dynamic tiddler content and accessing the ~TiddlyWiki DOM
++&lt;&lt;&lt;
++An important difference between ~TiddlyWiki inline scripting and conventional embedded javascript techniques for web pages is the method used to produce output that is dynamically inserted into the document: in a typical web document, you use the {{{document.write()}}} (or {{{document.writeln()}}}) function to output text sequences (often containing HTML tags) that are then rendered when the entire document is first loaded into the browser window.
++
++However, in a ~TiddlyWiki document, tiddlers (and other DOM elements) are created, deleted, and rendered &quot;on-the-fly&quot;, so writing directly to the global 'document' object does not produce the results you want (i.e., replacing the embedded script within the tiddler content), and instead will //completely replace the entire ~TiddlyWiki document in your browser window (which is clearly not a good thing!)//. In order to allow scripts to use {{{document.write()}}}, the plugin automatically converts and buffers all HTML output so it can be safely inserted into your tiddler content, immediately following the script.
++
++''Note that {{{document.write()}}} can only be used to output &quot;pure HTML&quot; syntax. To produce //wiki-formatted// output, your script should instead return a text value containing the desired wiki-syntax content'', which will then be automatically rendered immediately following the script. If returning a text value is not sufficient for your needs, the plugin also provides an automatically-defined variable, 'place', that gives the script code ''direct access to the //containing DOM element//'' into which the tiddler output is being rendered. You can use this variable to ''perform direct DOM manipulations'' that can, for example:
++* generate wiki-formatted output using {{{wikify(&quot;...content...&quot;,place)}}}
++* vary the script's actions based upon the DOM element in which it is embedded
++* access 'tiddler-relative' DOM information using {{{story.findContainingTiddler(place)}}}
++Note:
++''When using an 'onclick' script, the 'place' element actually refers to the onclick //link text// itself, instead of the containing DOM element.'' This permits you to directly reference or modify the link text to reflect any 'stateful' conditions that might set by the script. To refer to the containing DOM element from within an 'onclick' script, you can use &quot;place.parentNode&quot; instead.
++&lt;&lt;&lt;
++!!!!!Instant &quot;bookmarklets&quot;
++&lt;&lt;&lt;
++You can also use an 'onclick' link to define a &quot;bookmarklet&quot;: a small piece of javascript that can be ''invoked directly from the browser without having to be defined within the current document.'' This allows you to create 'stand-alone' commands that can be applied to virtually ANY ~TiddlyWiki document... even remotely-hosted documents that have been written by others!! To create a bookmarklet, simply define an 'onclick' script and then grab the resulting link text and drag-and-drop it onto your browser's toolbar (or right-click and use the 'bookmark this link' command to add it to the browser's menu).
++
++Notes:
++*When writing scripts intended for use as bookmarklets, due to the ~URI-encoding required by the browser, ''you cannot not use ANY double-quotes (&quot;) within the bookmarklet script code.''
++*All comments embedded in the bookmarklet script must ''use the fully-delimited {{{/* ... */}}} comment syntax,'' rather than the shorter {{{//}}} comment syntax.
++*Most importantly, because bookmarklets are invoked directly from the browser interface and are not embedded within the ~TiddlyWiki document, there is NO containing 'place' DOM element surrounding the script. As a result, ''you cannot use a bookmarklet to generate dynamic output in your document,'' and using {{{document.write()}}} or returning wiki-syntax text or making reference to the 'place' DOM element will halt the script and report a &quot;Reference Error&quot; when that bookmarklet is invoked.
++Please see ~InstantBookmarklets for many examples of 'onclick' scripts that can also be used as bookmarklets.
++&lt;&lt;&lt;
++!!!!!Special reserved function name
++&lt;&lt;&lt;
++The plugin 'wraps' all inline javascript code inside a function, {{{_out()}}}, so that any return value you provide can be correctly handled by the plugin and inserted into the tiddler. To avoid unpredictable results (and possibly fatal execution errors), this function should never be redefined or called from ''within'' your script code.
++&lt;&lt;&lt;
++!!!!!$(...) 'shorthand' function
++&lt;&lt;&lt;
++As described by Dustin Diaz [[here|http://www.dustindiaz.com/top-ten-javascript/]], the plugin defines a 'shorthand' function that allows you to write:
++{{{
++$(id)
++}}}
++in place of the normal standard javascript syntax:
++{{{
++document.getElementById(id)
++}}}
++This function is provided merely as a convenience for javascript coders that may be familiar with this abbreviation, in order to allow them to save a few bytes when writing their own inline script code.
++&lt;&lt;&lt;
++!!!!!Examples
++&lt;&lt;&lt;
++simple dynamic output:
++&gt;&lt;script show&gt;
++ document.write(&quot;The current date/time is: &quot;+(new Date())+&quot;&lt;br&gt;&quot;);
++ return &quot;link to current user: [[&quot;+config.options.txtUserName+&quot;]]\n&quot;;
++&lt;/script&gt;
++dynamic output using 'place' to get size information for current tiddler:
++&gt;&lt;script show&gt;
++ if (!window.story) window.story=window;
++ var title=story.findContainingTiddler(place).getAttribute(&quot;tiddler&quot;);
++ var size=store.getTiddlerText(title).length;
++ return title+&quot; is using &quot;+size+&quot; bytes&quot;;
++&lt;/script&gt;
++dynamic output from an 'onclick' script, using {{{document.write()}}} and/or {{{return &quot;...&quot;}}}
++&gt;&lt;script label=&quot;click here&quot; show&gt;
++ document.write(&quot;&lt;br&gt;The current date/time is: &quot;+(new Date())+&quot;&lt;br&gt;&quot;);
++ return &quot;link to current user: [[&quot;+config.options.txtUserName+&quot;]]\n&quot;;
++&lt;/script&gt;
++creating an 'onclick' button/link that accesses the link text AND the containing tiddler:
++&gt;&lt;script label=&quot;click here&quot; title=&quot;clicking this link will show an 'alert' box&quot; key=&quot;H&quot; show&gt;
++ if (!window.story) window.story=window;
++ var txt=place.firstChild.data;
++ var tid=story.findContainingTiddler(place).getAttribute('tiddler');
++ alert('Hello World!\nlinktext='+txt+'\ntiddler='+tid);
++&lt;/script&gt;
++dynamically setting onclick link text based on stateful information:
++&gt;{{block{
++{{{
++&lt;script label=&quot;click here&quot;&gt;
++ /* toggle &quot;txtSomething&quot; value */
++ var on=(config.txtSomething==&quot;ON&quot;);
++ place.innerHTML=on?&quot;enable&quot;:&quot;disable&quot;;
++ config.txtSomething=on?&quot;OFF&quot;:&quot;ON&quot;;
++ return &quot;\nThe current value is: &quot;+config.txtSomething;
++&lt;/script&gt;&lt;script&gt;
++ /* initialize onclick link text based on current &quot;txtSomething&quot; value */
++ var on=(config.txtSomething==&quot;ON&quot;);
++ place.lastChild.previousSibling.innerHTML=on?&quot;disable&quot;:&quot;enable&quot;;
++&lt;/script&gt;
++}}}
++&lt;script label=&quot;click here&quot;&gt;
++ /* toggle &quot;txtSomething&quot; value */
++ var on=(config.txtSomething==&quot;ON&quot;);
++ place.innerHTML=on?&quot;enable&quot;:&quot;disable&quot;;
++ config.txtSomething=on?&quot;OFF&quot;:&quot;ON&quot;;
++ return &quot;\nThe current value is: &quot;+config.txtSomething;
++&lt;/script&gt;&lt;script&gt;
++ /* initialize onclick link text based on current &quot;txtSomething&quot; value */
++ var on=(config.txtSomething==&quot;ON&quot;);
++ place.lastChild.innerHTML=on?&quot;enable&quot;:&quot;disable&quot;;
++&lt;/script&gt;
++}}}
++loading a script from a source url:
++&gt;http://www.TiddlyTools.com/demo.js contains:
++&gt;&gt;{{{function inlineJavascriptDemo() { alert('Hello from demo.js!!') } }}}
++&gt;&gt;{{{displayMessage('InlineJavascriptPlugin: demo.js has been loaded');}}}
++&gt;note: When using this example on your local system, you will need to download the external script file from the above URL and install it into the same directory as your document.
++&gt;
++&gt;&lt;script src=&quot;demo.js&quot; show&gt;
++ return &quot;inlineJavascriptDemo() function has been defined&quot;
++&lt;/script&gt;
++&gt;&lt;script label=&quot;click to invoke inlineJavascriptDemo()&quot; key=&quot;D&quot; show&gt;
++ inlineJavascriptDemo();
++&lt;/script&gt;
++&lt;&lt;&lt;
++!!!!!Revisions
++&lt;&lt;&lt;
++2010.12.15 1.9.6 allow (but ignore) type=&quot;...&quot; syntax
++2009.04.11 1.9.5 pass current tiddler object into wrapper code so it can be referenced from within 'onclick' scripts
++2009.02.26 1.9.4 in $(), handle leading '#' on ID for compatibility with ~JQuery syntax
++2008.06.11 1.9.3 added $(...) function as 'shorthand' for document.getElementById()
++2008.03.03 1.9.2 corrected fallback declaration of wikifyPlainText() (fixes Safari &quot;parse error&quot;)
++2008.02.23 1.9.1 in onclick function, use string instead of array for 'bufferedHTML' (fixes IE errors)
++2008.02.21 1.9.0 output from 'onclick' scripts (return value or document.write() calls) are now buffered and rendered into into a span following the script. Also, added default 'return false' handling if no return value provided (prevents HREF from being triggered -- return TRUE to allow HREF to be processed). Thanks to Xavier Verges for suggestion and preliminary code.
++2008.02.14 1.8.1 added backward-compatibility for use of wikifyPlainText() in ~TW2.1.3 and earlier
++2008.01.08 [*.*.*] plugin size reduction: documentation moved to ...Info tiddler
++2007.12.28 1.8.0 added support for key=&quot;X&quot; syntax to specify custom access key definitions
++2007.12.15 1.7.0 autogenerate URI encoded HREF on links for onclick scripts. Drag links to browser toolbar to create bookmarklets. IMPORTANT NOTE: place is NOT defined when scripts are used as bookmarklets. In addition, double-quotes will cause syntax errors. Thanks to ~PaulReiber for debugging and brainstorming.
++2007.11.26 1.6.2 when converting &quot;document.write()&quot; function calls in inline code, allow whitespace between &quot;write&quot; and &quot;(&quot; so that &quot;document.write ( foobar )&quot; is properly converted.
++2007.11.16 1.6.1 when rendering &quot;onclick scripts&quot;, pass label text through wikifyPlainText() to parse any embedded wiki-syntax to enable use of HTML entities or even TW macros to generate dynamic label text.
++2007.02.19 1.6.0 added support for title=&quot;...&quot; to specify mouseover tooltip when using an onclick (label=&quot;...&quot;) script
++2006.10.16 1.5.2 add newline before closing '}' in 'function out_' wrapper. Fixes error caused when last line of script is a comment.
++2006.06.01 1.5.1 when calling wikify() on script return value, pass hightlightRegExp and tiddler params so macros that rely on these values can render properly
++2006.04.19 1.5.0 added 'show' parameter to force display of javascript source code in tiddler output
++2006.01.05 1.4.0 added support 'onclick' scripts. When label=&quot;...&quot; param is present, a button/link is created using the indicated label text, and the script is only executed when the button/link is clicked. 'place' value is set to match the clicked button/link element.
++2005.12.13 1.3.1 when catching eval error in IE, e.description contains the error text, instead of e.toString(). Fixed error reporting so IE shows the correct response text. Based on a suggestion by ~UdoBorkowski
++2005.11.09 1.3.0 for 'inline' scripts (i.e., not scripts loaded with src=&quot;...&quot;), automatically replace calls to 'document.write()' with 'place.innerHTML+=' so script output is directed into tiddler content. Based on a suggestion by ~BradleyMeck
++2005.11.08 1.2.0 handle loading of javascript from an external URL via src=&quot;...&quot; syntax
++2005.11.08 1.1.0 pass 'place' param into scripts to provide direct DOM access
++2005.11.08 1.0.0 initial release
++&lt;&lt;&lt;</pre>
++</div>
++<div title="Install" modifier="YourName" created="201201071417" modified="201902151503" tags="NoTag" changecount="60">
++<pre>{{firstletter{
++ @@color:#930;D@@
++ }}}epending on the office suite you are using and its version, the installation instructions may vary.
++!For LIBREOFFICE users only
++The //~Access2Base// library is included in ~LibreOffice as from its version 4.2. If you run that or a later version, then ''~Access2Base is already installed'' on your device. As such ... skip the installation of the extension and go to the ''__Start using the library__'' paragraph below.
++If you are using ~Access2Base with ~LibreOffice in a version earlier than 4.2, then __REMOVE the ~Access2Base extension__ before installing ~LibreOffice 4.2 or later.
++| !~LibreOffice version | !Embedded ~Access2Base version | !Ịnstallation / upgrade instructions |
++| &lt;= 4.1 | None |See ''__Install ~Access2Base as an extension__'' below. |
++| 4.2 | 1.0.0 |Go to ''__Start using the library__'' below. |
++| 4.3 | 1.1.0 |~|
++| 4.4 | 1.2.0 |~|
++| 5.0 | 1.3.0 |~|
++| 5.1 | 1.4.0 |~|
++| 5.2 | 1.5.0 |~|
++| 5.3 | 1.6.0 |~|
++| 5.4 | 1.7.0 |~|
++| 6.0 | 1.8.0 |~|
++| 6.1 | 1.9.0 |~|
++|''If you would like to benefit from the latest version of ~Access2Base (typically 1.9.0) but, for any reason, want to stay in an older version of ~LibreOffice (typically 6.0), then you might decide anyway to download and install the extension as described below.&lt;br /&gt;This option is available only as from __~LibreOffice 4.2.6__.&lt;br /&gt;&lt;br /&gt;However, before upgrading later on ~LibreOffice to a newer major release (typically 6.1), first __REMOVE the ~Access2Base extension__.'' |&gt;|&gt;|
++!Install ~Access2Base as an extension (DEPRECATED)
++!!Download //~Access2Base// either from the
++*[[OpenOffice extensions repository|http://extensions.services.openoffice.org/en/project/access2base]]
++*[[LibreOffice extensions center|http://extensions.libreoffice.org/extension-center/access2base]]
++The downloaded contents are identical if their version numbers are identical too.
++&gt;''Starting from version 6.2.0, ~Access2Base is not available as an extension anymore. To benefit from its features, install ~LibreOffice (&gt;=) 6.2.''
++!!Install the //~Access2Base// extension
++The name of he downloaded file is __~Access2Base.oxt__. Select preferably the last proposed version.
++Note: //some browsers might download the extension as a .zip file; if this happens rename the downloaded file from .zip to .oxt//
++Install the extension as any other extension. To know more, follow the instructions in [[Installing an extension (AOO)|https://wiki.openoffice.org/wiki/Documentation/Administration_Guide/Using_Package_Manager]] or in [[Installing an extension (LibO)|https://wiki.documentfoundation.org/Documentation/HowTo/install_extension]]
++
++The Basic IDE ...
++... has now 2 more options:
++#The {{{Tools + Add-Ons + Access2Base Console ...}}} menu item opens the ~Access2Base console (see the [[Error Handler]]).
++#The {{{Help + Access2Base Online Help}}} menu item opens the current Help file in your preferred browser.
++!Start using the library
++To be able to invoke the //~Access2Base// API from a AOO/~LibO &quot;.odb&quot; file (the usual suffix for the front-end part of database documents) you have to
++*Have a minimal knowledge of the Basic IDE and of the Basic programming language.
++*Open in the main AOO/~LibO Base window the &quot;.odb&quot; file (the database document) on which you would like to apply ~Access2Base functions.
++*With {{{Tools + Macros + Organize Macros + OpenOffice/LibreOffice Basic...}}} open the Basic IDE and create a Basic module in the Standard library of the database document itself. The module should contain as a minimum next code:
++&lt;&lt;tiddler &quot;Openconnection example&quot;&gt;&gt;
++*Assign in the main Base window with menu items {{{Tools + Customize...}}} ({{{Events}}} tab) the above Sub (&quot;~DBOpen&quot; in the example but use the name of your choice) to the //~OpenDocument// event. Save in the &quot;.odb&quot; file itself.
++*//Close// and re-//open// the &quot;.odb&quot; file. This will trigger the //~OpenDocument// event.
++*__Optionally__ associate next code with the //&quot;View is going to be closed&quot;// document event.
++//{{{
++Sub DBClose(Optional poEvent As Object)
++ Call CloseConnection()
++End Sub
++//}}}
++*Start programming macro's. Associate them with //form// or //control events// if relevant.
++Caution: the procedure is different for [[Standalone Forms]].
++!!If no database connection ...
++&lt;&lt;tiddler &quot;RunWithoutConnection&quot;&gt;&gt;
++!!See also
++[[OpenConnection]]
++[[Standalone Forms]]
++!!Releases History
++&lt;&lt;tiddler &quot;ReleaseNotes&quot;&gt;&gt;</pre>
++</div>
++<div title="IsLoaded" modifier="Jean-PierreLedure" created="201107171306" modified="201306151428" tags="Properties">
++<pre>You can use the //~IsLoaded// property to specify if a form or dialog is currently loaded.
++!!!Applies to ...
++| !Object |!Description |
++|[[Form]] |A form, either open or not |
++|[[Dialog]] |A dialog, active or not |
++!!!Syntax
++//form//{{{.IsLoaded}}}
++//dialog//{{{.IsLoaded}}}
++!!!Returned values / Arguments
++{{{Boolean}}}
++!!!Remarks
++The //~IsLoaded// property is read-only
++!!!Error messages
++!!!See also
++!!!Example
++&lt;&lt;tiddler &quot;IsLoaded example&quot;&gt;&gt;</pre>
++</div>
++<div title="IsLoaded example" modifier="Jean-Pierre Ledure" created="201107171304" modified="201408011456" tags="[[Snippets of Code]]" changecount="1">
++<pre>List all forms and specify which ones are open
++//{{{
++Dim ofForm As Object, iCount As Integer, i As Integer
++ iCount = AllForms.Count
++ For i = 0 To iCount - 1
++ Set ofForm = AllForms(i)
++ With ofForm
++ Print &quot;Form &quot; &amp; .Name &amp; &quot; is &quot; &amp; Iif(.IsLoaded, &quot;&quot;, &quot;NOT &quot;) &amp; &quot;open&quot;
++ End With
++ Next i
++ Print
++//}}}</pre>
++</div>
++<div title="Item" modifier="Jean-Pierre Ledure" created="201308131050" modified="201405311123" tags="Properties" changecount="5">
++<pre>The //Item// property identifies a member of a [[collection|Collection]] by its name or its index.
++!!!Applies to ...
++| !Collection |!Description |
++|[[AllDialogs]] |All dialogs present in any of the accessible dialog libraries |
++|[[AllForms]] |All forms, open or closed, in the current database document (&quot;.odb&quot; file) |
++|[[Controls]] |All the controls of a //form//, a //dialog//, a //subform// or a //gridcontrol// |
++|[[Fields]] |All the fields of a //table//, a //query// or a //recordset// |
++|[[Forms]] |All open forms |
++|[[Properties|Properties (collection)]] |All properties of an object |
++|[[QueryDefs]] |All queries in the database |
++|[[Recordsets]] |All recordsets currently open |
++|[[TableDefs]] |All tables in the database |
++!!!Syntax
++//collection//{{{.Item(}}}//index//{{{)}}}
++//collection//{{{.Item(}}}//name//{{{)}}}
++!!!Arguments / Returned values
++| !Argument | !Type | !Returned value |
++|index | Integer&lt;br /&gt;Long |An {{{Object}}} of the collection. |
++|name | String |~|
++!!!Remarks
++*The //Item// property is read-only.
++*The //index// argument must have a value in the interval 0 to {{{Count - 1}}}.
++!!!Error messages
++!!!See also
++[[Count]]
++!!!Example
++&lt;&lt;tiddler &quot;Item example&quot;&gt;&gt;</pre>
++</div>
++<div title="Item example" modifier="Jean-PierreLedure" created="201308141504" modified="201308141504" tags="[[Snippets of Code]]">
++<pre>Document all database queries
++//{{{
++Dim oQueryDefs As Object, oFields As Object, oProperties As Object, oProperty As Object
++Dim i As Integer, j As Integer, k As Integer
++ Set oQueryDefs = Application.CurrentDb().QueryDefs
++ for i = 0 to oQueryDefs.Count - 1
++ Set oFields = oQueryDefs.Item(i).Fields()
++ For j = 0 to oFields.Count - 1
++ Set oProperties = oFields.Item(j).Properties
++ for k = 0 to oProperties.Count - 1
++ Set oProperty = oProperties.Item(k)
++ DebugPrint oQueryDefs.Item(i).Name, oFields.Item(j).Name, _
++ oProperty.Name, oProperty.Value
++ next k
++ next j
++ next i
++//}}}</pre>
++</div>
++<div title="ItemData" modifier="Jean-Pierre Ledure" created="201108181232" modified="201405241128" tags="Properties" changecount="1">
++<pre>The //~ItemData// property returns the data in the bound column for the specified row in a combo box or list box.
++!!!Applies to ...
++| !Object | !Type when&lt;br /&gt;in a form | !Type when&lt;br /&gt;in a ~GridControl | !Type when&lt;br /&gt;in a dialog |!Description |
++|[[Control]] | [[ComboBox]]&lt;br /&gt;[[ListBox]] | [[ComboBox]]&lt;br /&gt;[[ListBox]] | [[ComboBox]]&lt;br /&gt;[[ListBox]] |A combo- or listbox on an open form or dialog, or in a [[GridControl]]|
++!!!Syntax
++//control//{{{.ItemData}}}
++//control//{{{.ItemData(index)}}}
++!!!Returned values / Arguments
++{{{Array of Strings}}} (might be empty) if index is absent
++{{{String}}} (might be null string) if index is present
++!!!Remarks
++*The //~ItemData// property is read-only. To modify the list of items displayed in a //~ComboBox// or a //~ListBox//, use the [[RowSource]] and [[RowSourceType]] properties.
++*The //index// argument must have a (integer or long) value between 0 and (ListCount - 1)
++!!!Error messages
++|Argument nr. ... [Value = '...'] is invalid |
++|Property '~ItemData' not applicable in this context |
++|Out of array range or incorrect array size for property '~ItemData'|
++!!!See also
++[[ListCount]]
++[[ListIndex]]
++[[MultiSelect]]
++[[RowSource]]
++[[RowSourceType]]
++[[Selected]]
++!!!Example
++*Combo box
++&lt;&lt;tiddler &quot;ComboBox example&quot;&gt;&gt;
++*List box
++&lt;&lt;tiddler &quot;ListBox example&quot;&gt;&gt;</pre>
++</div>
++<div title="KeepFormsSynchro" modifier="Jean-Pierre Ledure" created="201212241514" modified="201408011519" tags="HowTo" changecount="1">
++<pre>(Q) I can't put all the numerous fields of a table on one single form. I need several forms and will navigate thru them with buttons. Of course, when I navigate thru records, I want to keep all open forms synchronized with the active one. How can I get that ?
++
++(R) The synchronization will be obtained by using subforms and filters. However the challenge is to have one single concise code to do all the job.
++
++Let's consider next tables:
++&lt;&lt;tiddler &quot;OrdersTable&quot;&gt;&gt;
++&lt;&lt;tiddler &quot;OrderDetailsTable&quot;&gt;&gt;
++&lt;&lt;tiddler &quot;CustomersTable&quot;&gt;&gt;
++&lt;&lt;tiddler &quot;ProductsTable&quot;&gt;&gt;
++&lt;&lt;tiddler &quot;EmployeesTable&quot;&gt;&gt;
++We will use 4 forms:
++*a //main// form and its subform for displaying Orders and their ~OrderDetails.
++*3 //auxiliary// forms for displaying on request more details about the concerned Customer, Product or Employee.
++*3 buttons (one for each of the 3 //auxiliary// forms) available from the //main// form activating the corresponding //auxiliary// form.
++The trick is that when navigating among orders or order details, the open //auxiliary// forms remain synchronized with the //main// form and its subform.
++!!!Synchronize all forms
++Link next code to next events:
++*//After record change// in the form events list
++*//Mouse button pressed// control events of each of the 3 buttons
++*//After record change// in the ''sub''form events list
++//{{{
++Sub SyncForms(poEvent As Object)
++
++Dim ofForm As Object, oeEvent As Object, oTrigger As Object, oMainForm As Object
++Dim sFilter As String, sEmployee As String, sCustomer As String, sProduct As String
++Dim i As Integer, sForm As String
++Const cstMainForm = &quot;Orders_Details_Sync_Cust-Prod-Emp&quot;
++Const cstSuffix = &quot;_Sync_Orders&quot; ' Suffix of auxiliary form names
++
++ Set oeEvent = Events(poEvent)
++ Set oTrigger = oeEvent.Source ' Determine the trigger: one of the buttons ? or record navigation in main form ?
++ ' or record navigation in subform ?
++ Set oMainForm = AllForms(cstMainForm)
++ If Not oMainForm.IsLoaded Then Goto Exit_Sub ' May happen at form loading or closure
++
++ If Left(oTrigger.Name, Len(&quot;btn&quot;)) = &quot;btn&quot; Then ' Triggered by buttons btnCustomers, btnProducts or btnEmployees
++ sForm = Right(oTrigger.Name, Len(oTrigger.Name)- Len(&quot;btn&quot;)) &amp; cstSuffix
++ Set ofForm = AllForms(sForm) ' AllForms() collects all forms, whether open or not
++ If ofForm.IsLoaded Then ofForm.SetFocus() Else OpenForm(sForm)
++ End If
++
++ 'Determine filters
++ sCustomer = &quot;[CustomerID]='&quot; &amp; oMainForm.Controls(&quot;txtCustomerID&quot;).Value &amp; &quot;'&quot; ' String !!!
++ sProduct = &quot;[ProductID]=&quot; &amp; oMainForm.Controls(&quot;SubForm&quot;).Form.Controls(&quot;SubForm_Grid&quot;).Controls(&quot;ProductID&quot;).Value
++ sEmployee = &quot;[EmployeeID]=&quot; &amp; oMainForm.Controls(&quot;fmtEmployeeID&quot;).Value
++ For i = 0 To Forms().Count - 1 ' Forms() collects all open forms
++ Set ofForm = Forms(i)
++ sFilter = &quot;&quot;
++ Select Case Split(ofForm.Name, cstSuffix)(0)
++ Case &quot;Customers&quot; : sFilter = sCustomer
++ Case &quot;Products&quot; : sFilter = sProduct
++ Case &quot;Employees&quot; : sFilter = sEmployee
++ Case Else ' Ignore any other open form
++ End Select
++ If Len(sFilter) &gt; 0 Then
++ ofForm.Filter = sFilter
++ ofForm.FilterOn = True
++ End If
++ Next i
++
++Exit_Sub:
++ Set ofForm = Nothing
++ Set oeEvent = Nothing
++ Set oTrigger =Nothing
++ Set oMainForm = Nothing
++ Exit Sub
++End Sub
++//}}}
++!!!To close all the forms simultaneously when the main form is closed
++Link next Sub to the //Closed a sub component// event of the database file (Use the {{{Tools + Customize ... + Events}}} menu items).
++//{{{
++Sub SyncCloseForms(poEvent As Object)
++
++' Fired at each component closure !!
++
++Dim oEvent As Object
++Const acForm = 2
++Const cstMainForm = &quot;Orders_Details_Sync_Cust-Prod-Emp&quot;
++ Set oEvent = Events(poEvent)
++ If UCase(oEvent.SubComponentName) &lt;&gt; UCase(cstMainForm) Then Exit Sub
++ DoCmd.mClose acForm, &quot;Customers_Sync_Orders&quot;
++ DoCmd.mClose acForm, &quot;Employees_Sync_Orders&quot;
++ DoCmd.mClose acForm, &quot;Products_Sync_Orders&quot;
++ Exit Sub
++
++End Sub
++//}}}
++!!!See also
++[[AllForms]]
++[[Close (method)]]
++[[Event]]
++[[Filter]]
++[[FilterOn]]
++[[Forms]]
++!!!Refer to ...
++| !Basic module | !Database event | !Form | !Form event | !~SubForm | !~SubForm event | !Control | !Control event |!Comments |
++|Synchro |Closed a sub-component | ~Orders_Details_Sync_Cust-Prod-Emp&lt;br /&gt;~Customers_Sync_Orders&lt;br /&gt;~Employees_Sync_Orders&lt;br /&gt;~Products_Sync_Orders |After record change |~SubForm |After record change | btnCustomers&lt;br /&gt;btnEmployees&lt;br /&gt;btnProducts |Mouse button pressed ||</pre>
++</div>
++<div title="LimitsRecordset" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201405311333" modified="201406161406" tags="HowTo" changecount="16">
++<pre>(Q) When browsing thru a //recordset//, how can I identify that I reached the end ?
++
++(R) In a [[Recordset object|Recordset]], if you try to move beyond the beginning or ending record, an error occurs. For example, if you try to use the [[MoveNext|Move (recordset)]] method when you are already at the last record of the //Recordset//, an error occurs. For this reason, it is helpful to know the limits of the //Recordset// object.
++
++The [[BOF|BOF, EOF]] property indicates whether the current position is at the beginning of the //Recordset//. If //BOF// is {{{True}}}, the current position is before the first record in the //Recordset//. The //BOF// property is also {{{True}}} if there are no records in the //Recordset// when it is opened. Similarly, the [[EOF|BOF, EOF]] property is {{{True}}} if the current position is after the last record in the //Recordset//, or if there are no records.
++
++The following code example shows how to use the //BOF// and //EOF// properties to detect the beginning and end of a //Recordset// object. This code fragment creates a //Recordset// based on the ''Orders table'' from the current database. It moves through the records, first from the beginning of the //Recordset// to the end, and then from the end of the //Recordset// to the beginning.
++//{{{
++Dim odbNorthwind As Object
++Dim orsOrders As Object
++ Set odbNorthwind = Application.CurrentDb
++ Set orsOrders = odbNorthwind.OpenRecordset(&quot;Orders&quot;)
++
++ ' Do until ending of file.
++ Do Until orsOrders.EOF
++ ' Manipulate the data.
++ orsOrders.MoveNext ' Move to the next record.
++ Loop
++
++ orsOrders.MoveLast ' Move to the last record.
++ ' Do until beginning of file.
++ Do Until orsOrders.BOF
++ ' Manipulate the data.
++ orsOrders.MovePrevious ' Move to the previous record.
++ Loop
++
++ orsOrders.mClose()
++//}}}
++Be aware that there is no current record immediately following the first loop. The //BOF// and //EOF// properties both have the following characteristics.
++*If the //Recordset// contains no records when you open it, both //BOF// and //EOF// are {{{True}}}.
++*When //BOF// or //EOF// is {{{True}}}, the property remains {{{True}}} until you move to an existing record, at which time the value of //BOF// or //EOF// becomes {{{False}}}.
++*At the moment you create or open a //Recordset// that contains at least one record, the first record is the current record, and both //BOF// and //EOF// are {{{False}}}.
++*If the first record is the current record when you use the [[MovePrevious|Move (recordset)]] method, //BOF// is set to {{{True}}}. If you use //~MovePrevious// while //BOF// is {{{True}}}, an error occurs. When this happens, //BOF// remains {{{True}}} and there is no current record.
++*Similarly, moving past the last record in the //Recordset// changes the value of the //EOF// property to True. If you use the //~MoveNext// method while //EOF// is {{{True}}}, an error occurs.
++!!!See also
++[[BOF, EOF]]
++[[MoveFirst, MoveLast, MoveNext, MovePrevious|Move (recordset)]]
++[[OpenRecordset]]
++!!!Refer to ...
++| !Basic module | !Sub |!Comments |
++|~HowTo |~FindLimitsRecordset ||
++</pre>
++</div>
++<div title="Lines" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201612181409" modified="201612181427" tags="Properties" changecount="4">
++<pre>The //Lines// property returns a string containing the contents of a specified line or lines in a standard or a class [[module|Module]].
++!!!Applies to ...
++| !Object |!Description |
++|[[Module]] |The representation of a Basic script. |
++!!!Syntax
++//module//{{{.Lines(}}}//line, numlines//{{{)}}}
++!!!Returned values / Arguments
++| !Argument | !Type | !Description | !Returned type |
++|module | Object |The concerned module. | String |
++|line | Long |The number of the first line to return. |~|
++|numlines | Long |The number of lines to return. |~|
++!!!Remarks
++The requested lines are returned as one single string. The individual lines are separated by a line feed (Chr(10)) character.
++Lines in a module are numbered beginning with 1. For example, if you read the //Lines// property with a value of 1 for the //line// argument and 1 for the //numlines// argument, the //Lines// property returns a string containing the text of the first line in the module.
++!!!Error messages
++|Property 'Lines' not applicable in this context |
++|Argument nr. ... [Value = '...'] is invalid |
++!!!See also
++[[CountOfDeclarationLines]]
++[[CountOfLines]]
++!!!Example
++&lt;&lt;tiddler &quot;Module example&quot;&gt;&gt;</pre>
++</div>
++<div title="LinkChildFields" modifier="Jean-Pierre Ledure" created="201108131647" modified="201405241128" tags="Properties" changecount="1">
++<pre>You can use the ~LinkChildFields property (along with the LinkMasterFields property together) to know how the records in a form are linked to records in a subform.
++!!!Applies to ...
++| !Object | !Type when&lt;br /&gt;in a form | !Type when&lt;br /&gt;in a ~GridControl |!Description |
++|[[Control]] | [[SubForm]] | None |A subform of an open form or another subform |
++!!!Syntax
++//control//{{{.LinkChildFields}}}
++//control//{{{.LinkChildFields(index)}}}
++!!!Returned values
++Array of {{{Strings}}} or {{{String}}}
++!!!Remarks
++The ~LinkChildFields property is read-only.
++The array can be empty. In this case the {{{UBound()}}} function applied on that array will return {{{-1}}}.
++!!!Error messages
++|Argument nr. ... [Value = '...'] is invalid |
++|Property '~LinkChildFields' not applicable in this context |
++|Out of array range or incorrect array size for property '~LinkChildFields' |
++!!!See also
++[[LinkMasterFields]]
++!!!Example
++&lt;&lt;tiddler &quot;Linkfields example&quot;&gt;&gt;</pre>
++</div>
++<div title="LinkMasterFields" modifier="Jean-Pierre Ledure" created="201108131633" modified="201405241128" tags="Properties" changecount="1">
++<pre>You can use the ~LinkMasterFields property (along with the LinkChildFields property together) to know how the records in a form are linked to records in a subform.
++!!!Applies to ...
++| !Object | !Type when&lt;br /&gt;in a form | !Type when&lt;br /&gt;in a ~GridControl |!Description |
++|[[Control]] | [[SubForm]] | None |A subform of an open form or another subform |
++!!!Syntax
++//control//{{{.LinkMasterFields}}}
++//control//{{{.LinkMasterFields(index)}}}
++!!!Returned values
++Array of {{{Strings}}} or {{{String}}}
++!!!Remarks
++The ~LinkMasterFields property is read-only.
++The array can be empty. In this case the {{{UBound()}}} function applied on that array will return {{{-1}}}.
++!!!Error messages
++|Argument nr. ... [Value = '...'] is invalid |
++|Property '~LinkMasterFields' not applicable in this context |
++|Out of array range or incorrect array size for property '~LinkMasterFields' |
++!!!See also
++[[LinkChildFields]]
++!!!Example
++&lt;&lt;tiddler &quot;Linkfields example&quot;&gt;&gt;</pre>
++</div>
++<div title="Linkfields example" modifier="Jean-PierreLedure" created="201108131630" modified="201212091200" tags="[[Snippets of Code]]">
++<pre>List all the master / children fields of a subform
++//{{{
++Dim ocSubform As Object, i As Integer, iCount As Integer
++ Set ocSubform = getValue(&quot;Forms!myForm!mySubform.Form&quot;)
++ iCount = UBound(ocSubform.LinkMasterFields)
++ For i = 0 To iCount
++ Print &quot;Master &quot; &amp; ocSubform.LinkMasterFields(i) &amp; &quot; is linked to &quot; &amp; ocSubform.LinkChildFields(i),
++ Next i
++ Print
++//}}}</pre>
++</div>
++<div title="ListBox" modifier="YourName" created="201108171432" modified="201802231510" tags="[[Special controls]]" changecount="7">
++<pre>{{firstletter{
++ @@color:#930;A@@
++ }}} //~ListBox// describes a list box control. It has specific properties to manage the input list of potential values and to select one or more of them programmatically.
++A ~ListBox control is returned by the [[Controls]] collection or by the [[getObject]] shortcut.
++!!!Specific properties for list box management
++| !Property | !Type | !Read only | !Description |
++|[[ItemData]] | Variant array | Y |Returns the data for the specified row in a combo box or list box. |
++|[[ListCount]] | Integer&lt;br /&gt;Long | Y |Determines the number of rows in a ~ListBox or the list box portion of a [[ComboBox]]. |
++|[[ListIndex]] | Integer&lt;br /&gt;Long ||Determines which item is selected in a ~ListBox or a [[ComboBox]]. |
++|[[MultiSelect]] | Boolean ||Specifies whether a user can make multiple selections in a ~ListBox on a form. |
++|[[RowSource]] | String ||Specifies the source (tablename, queryname or SQL statement) of the data in a ~ListBox or a [[ComboBox]]. |
++|[[RowSourceType]] | Integer&lt;br /&gt;Long ||Specifies the type of source (table, query or SQL statement) of the data in a ~ListBox or a [[ComboBox]]. |
++|[[Selected]] | Boolean array ||Specifies if an item in the data proposed by a ~ListBox is currently selected. |
++|[[Value]] | Variant ||Specifies the value contained in the (~MultiSelect = False !) ~ListBox. |
++!!!Methods
++| !Method | !Argument(s) | !Return | !Description |
++|[[AddItem]] | String |Boolean|Add a new item to the list of displayed values. |
++|[[getProperty]] | property | Variant |Return the value of the given property. |
++|[[hasProperty]] | property | Boolean |Return True if the ~ListBox has the given property. |
++|[[RemoveItem]] | String&lt;br /&gt;Integer |~|Remove an item from the list of displayed values. |
++|[[Requery]] | none |~|True if data reloaded in the ~ListBox |
++|[[SetFocus]] |~|~|Return True if focus set on Control successfully. |
++|[[setProperty]] | property&lt;br /&gt;value |~|Return True if the given property could be set. |
++!!!Remarks
++*A //~ListBox// may or not have a second (hidden) column which is bound to the underlying data in the database. It is most often an index, the visible column being a readable label associated with that index. When it is the case the //Value// property contains the value in the index column.
++*If no item is selected in the //~ListBox//, the //~ListIndex// property is set to {{{-1}}} and the //Selected// array contains {{{False}}} in all its entries. If //~MutliSelect// is {{{True}}} then //~ListIndex// always returns {{{-1}}}
++!!!See also
++[[ComboBox]]
++!!!Example
++&lt;&lt;tiddler &quot;ListBox example&quot;&gt;&gt;</pre>
++</div>
++<div title="ListBox example" modifier="Jean-Pierre Ledure" created="201108171620" modified="201405300629" tags="[[Snippets of Code]]" changecount="1">
++<pre>Display the selected rows of a (multiselect) listbox
++//{{{
++Dim i As Integer, ocList As Object
++ Set ocList = getObject(&quot;Forms!myForm!myListBox&quot;)
++ For i = 0 To ocList.ListCount - 1
++ If ocList.Selected(i) Then Print i &amp; &quot; - &quot; &amp; ocList.ItemData(i),
++ Next i
++//}}}
++Select all options
++//{{{
++ For i = 0 To ocList.ListCount - 1
++ setSelected(ocList, True, i)
++ Next i
++ Print
++//}}}</pre>
++</div>
++<div title="ListCount" modifier="Jean-PierreLedure" created="201108181254" modified="201306151422" tags="Properties">
++<pre>You can use the //~ListCount property// to determine the number of rows in a list box or the list box portion of a combo box.
++!!!Applies to ...
++| !Object | !Type when&lt;br /&gt;in a form | !Type when&lt;br /&gt;in a ~GridControl | !Type when&lt;br /&gt;in a dialog |!Description |
++|[[Control]] | [[ComboBox]]&lt;br /&gt;[[ListBox]] | [[ComboBox]]&lt;br /&gt;[[ListBox]] | [[ComboBox]]&lt;br /&gt;[[ListBox]] |A combo- or listbox on an open form or dialog, or in a [[GridControl]]|
++!!!Syntax
++//control//{{{.ListCount}}}
++!!!Returned values
++{{{Long}}}
++!!!Remarks
++The //~ListCount// property is read-only.
++!!!Error messages
++|Property '~ListCount' not applicable in this context |
++!!!See also
++[[ItemData]]
++[[ListIndex]]
++[[MultiSelect]]
++[[RowSource]]
++[[RowSourceType]]
++[[Selected]]
++!!!Example
++*Combo box
++&lt;&lt;tiddler &quot;ComboBox example&quot;&gt;&gt;
++*List box
++&lt;&lt;tiddler &quot;ListBox example&quot;&gt;&gt;</pre>
++</div>
++<div title="ListIndex" modifier="Jean-Pierre Ledure" created="201108181302" modified="201405291558" tags="Properties" changecount="1">
++<pre>You can use the //~ListIndex// property to determine which item is selected in a list box or combo box.
++!!!Applies to ...
++| !Object | !Type when&lt;br /&gt;in a form | !Type when&lt;br /&gt;in a ~GridControl | !Type when&lt;br /&gt;in a dialog |!Description |
++|[[Control]] | [[ComboBox]]&lt;br /&gt;[[ListBox]] | [[ComboBox]]&lt;br /&gt;[[ListBox]] | [[ComboBox]]&lt;br /&gt;[[ListBox]] |A combo- or listbox on an open form or dialog, or in a [[GridControl]]|
++!!!Syntax
++//control//{{{.ListIndex}}}
++//control//{{{.ListIndex}}} = //value//
++!!!Returned values / Arguments
++{{{Long}}} in interval [0, //~ListCount// - 1] or (-1)
++!!!Remarks
++If the control is a [[MultiSelect]] listbox, or if there is no item selected, then the //~ListIndex// property always returns {{{-1}}}
++!!!Error messages
++|Property '~ListIndex' not applicable in this context |
++|Value '...' is invalid for property '~ListIndex' |
++!!!See also
++[[ItemData]]
++[[ListCount]]
++[[MultiSelect]]
++[[RowSource]]
++[[RowSourceType]]
++[[Selected]]
++!!!Example
++*Combo box
++&lt;&lt;tiddler &quot;ComboBox example&quot;&gt;&gt;
++*List box
++&lt;&lt;tiddler &quot;ListBox example&quot;&gt;&gt;</pre>
++</div>
++<div title="Locked" modifier="Jean-PierreLedure" created="201108051500" modified="201306151423" tags="Properties">
++<pre>The //Locked// property specifies if the control is read only.
++!!!Applies to ...
++| !Object | !Type when&lt;br /&gt;in a form | !Type when&lt;br /&gt;in a ~GridControl | !Type when&lt;br /&gt;in a dialog |!Description |
++|[[Control]] |[[ComboBox]]&lt;br /&gt;~CurrencyField&lt;br /&gt;~DateField&lt;br /&gt;~FileControl&lt;br /&gt;~FormattedField&lt;br /&gt;~ImageControl&lt;br /&gt;[[ListBox]]&lt;br /&gt;~NumericField&lt;br /&gt;~PatternField&lt;br /&gt;~TextField&lt;br /&gt;~TimeField | All except&lt;br /&gt;--~CheckBox-- |[[ComboBox]]&lt;br /&gt;~CurrencyField&lt;br /&gt;~DateField&lt;br /&gt;~FileControl&lt;br /&gt;~FormattedField&lt;br /&gt;[[ListBox]]&lt;br /&gt;~NumericField&lt;br /&gt;~PatternField&lt;br /&gt;~TextField&lt;br /&gt;~TimeField |A control on an open form, a dialog or a [[GridControl]] |
++!!!Syntax
++//control//{{{.Locked}}}
++//control//{{{.Locked}}} = //value//
++!!!Returned values / Arguments
++{{{Boolean}}}
++!!!Remarks
++!!!Error messages
++|Property 'Locked' not applicable in this context |
++|Value '...' is invalid for property 'Locked' |
++!!!See also
++[[Enabled]]
++!!!Example
++&lt;&lt;tiddler &quot;Enabled &amp; Locked example&quot;&gt;&gt;</pre>
++</div>
++<div title="MSAccessCoverage" creator="Jean-Pierre Ledure" modifier="YourName" created="201406281616" modified="201804241258" tags="NoTag" changecount="75">
++<pre>{{firstletter{
++ @@color:#930;A@@
++ }}} detailed info has been compiled in this page about which actions and which objects, as they exist in //~MSAccess 2013//, have been - partly or more completely - already implemented in //~Access2Base//. A @@background-color:#ff3;perspective for future developments@@ of //~Access2Base// is also given in terms of interest for users and of complexity of implementation.
++!Access objects
++| !OBJECTS |&gt;|&gt;|&gt;|&gt;| ''__FUNCTIONALITY__'' |&gt;|&gt;|&gt;|background-color:#eee; ''__IMPLEMENTATION__'' | !Comments |
++|~| !Done | !Could be improved | !Very nice to have | !Nice to have | !Not applicable | !Out of Reach | !Complex | !Average | !Easy |~|
++|''&quot;&quot;&quot;AccessObject&quot;&quot;&quot;'' | | | | X | |background-color:#eee; X |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Generic object for forms, queries, ..., database objects&quot;&quot;&quot; |
++|''&quot;&quot;&quot;AccessObjectProperties&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Similar to Properties&quot;&quot;&quot; |
++|''&quot;&quot;&quot;AccessObjectProperty&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Similar to Property&quot;&quot;&quot; |
++|''&quot;&quot;&quot;AdditionalData&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Linked to ExportXML method&quot;&quot;&quot; |
++|''&quot;&quot;&quot;AllDatabaseDiagrams&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; | |
++|''&quot;&quot;&quot;AllForms&quot;&quot;&quot;'' | X | | | | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; | |
++|''&quot;&quot;&quot;AllFunctions&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;List VBA code&quot;&quot;&quot; |
++|''&quot;&quot;&quot;AllMacros&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;MSAccess macro's &lt;&gt; LibO/AOO macro's&quot;&quot;&quot; |
++|''&quot;&quot;&quot;AllModules&quot;&quot;&quot;'' | X | | | | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;List VBA code&quot;&quot;&quot; |
++|''&quot;&quot;&quot;AllQueries&quot;&quot;&quot;'' | X | | | | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Redundant with QueryDefs collection&quot;&quot;&quot; |
++|background-color:#ff3;''&quot;&quot;&quot;AllReports&quot;&quot;&quot;'' | | | X | | |background-color:#eee; |background-color:#eee; |background-color:#eee; X |background-color:#eee; | |
++|''&quot;&quot;&quot;AllStoredProcedures&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;RDBMS dependent&quot;&quot;&quot; |
++|''&quot;&quot;&quot;AllTables&quot;&quot;&quot;'' | X | | | | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Redundant with TableDefs collection&quot;&quot;&quot; |
++|''&quot;&quot;&quot;AllViews&quot;&quot;&quot;'' | | | | X | |background-color:#eee; X |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;RDBMS views are seen as Tables in Base&quot;&quot;&quot; |
++|''&quot;&quot;&quot;Application&quot;&quot;&quot;'' | X | X | | | |background-color:#eee; X |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Extensions to form, report design are Out of Reach&quot;&quot;&quot; |
++|''&quot;&quot;&quot;Attachment&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Access database fields can hold file attachments&quot;&quot;&quot; |
++|''&quot;&quot;&quot;AutoCorrect&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Dictionaries/Thesaurus linked&quot;&quot;&quot; |
++|''&quot;&quot;&quot;BoundObjectFrame&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;For OLE objects stored in databases&quot;&quot;&quot; |
++|''&quot;&quot;&quot;CheckBox&quot;&quot;&quot;'' | X | | | | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Inherited from Control&quot;&quot;&quot; |
++|''&quot;&quot;&quot;CodeData&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;The database from which the code is executed&quot;&quot;&quot; |
++|''&quot;&quot;&quot;CodeProject&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |~|
++|''&quot;&quot;&quot;ComboBox&quot;&quot;&quot;'' | X | | | | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Inherited from Control&quot;&quot;&quot; |
++|''&quot;&quot;&quot;CommandButton&quot;&quot;&quot;'' | X | | | | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |~|
++|''&quot;&quot;&quot;Control&quot;&quot;&quot;'' | X | | | | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Most Control types do not match between MSAccess and Base&quot;&quot;&quot; |
++|''&quot;&quot;&quot;Controls&quot;&quot;&quot;'' | X | | | | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; | |
++|''&quot;&quot;&quot;CurrentData&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;The server database, usually SQL Server&quot;&quot;&quot; |
++|''&quot;&quot;&quot;CurrentProject&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; | |
++|''&quot;&quot;&quot;CustomControl&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;ActiveX control&quot;&quot;&quot; |
++|''&quot;&quot;&quot;DependencyInfo&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Dependency between database objects (e.g. in which queries is a table used ?)&quot;&quot;&quot; |
++|''&quot;&quot;&quot;DependencyObjects&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; | |
++|''&quot;&quot;&quot;DoCmd&quot;&quot;&quot;'' | X | X | | | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;See DoCmd Actions sheet&quot;&quot;&quot; |
++|''&quot;&quot;&quot;EmptyCell&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Form or Report design mode&quot;&quot;&quot; |
++|''&quot;&quot;&quot;Entities&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; | |
++|''&quot;&quot;&quot;Entity&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Related to Microsoft Business Connectivity Services (BCS)&quot;&quot;&quot; |
++|''&quot;&quot;&quot;Form&quot;&quot;&quot;'' | X | X | | | |background-color:#eee; |background-color:#eee; X |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;TBC event handling&quot;&quot;&quot; |
++|''&quot;&quot;&quot;FormatCondition&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Most Control types do not match between MSAccess and Base&quot;&quot;&quot; |
++|''&quot;&quot;&quot;FormatConditions&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; | |
++|''&quot;&quot;&quot;Forms&quot;&quot;&quot;'' | X | | | | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; | |
++|background-color:#ff3;''&quot;&quot;&quot;GroupLevel&quot;&quot;&quot;'' | | | X | | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Related to Report object&quot;&quot;&quot; |
++|''&quot;&quot;&quot;Hyperlink&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Too specific&quot;&quot;&quot; |
++|''&quot;&quot;&quot;Image&quot;&quot;&quot;'' | X | | | | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Inherited from Control&quot;&quot;&quot; |
++|''&quot;&quot;&quot;ImportExportSpecification&quot;&quot;&quot;'' | | | X | | |background-color:#eee; X |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;See TransferXXX actions in DoCmd&quot;&quot;&quot; |
++|''&quot;&quot;&quot;ImportExportSpecifications&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; | |
++|''&quot;&quot;&quot;Label&quot;&quot;&quot;'' | X | | | | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Inherited from Control&quot;&quot;&quot; |
++|''&quot;&quot;&quot;Line&quot;&quot;&quot;'' | X | | | | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Inherited from Control, for Dialogs only&quot;&quot;&quot; |
++|''&quot;&quot;&quot;ListBox&quot;&quot;&quot;'' | X | | | | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Inherited from Control&quot;&quot;&quot; |
++|''&quot;&quot;&quot;MacroError&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;MSAccess macro's !&quot;&quot;&quot; |
++|''&quot;&quot;&quot;Module&quot;&quot;&quot;'' | X | | | | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;VBA Code&quot;&quot;&quot; |
++|''&quot;&quot;&quot;Modules&quot;&quot;&quot;'' | X | | | | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |~|
++|''&quot;&quot;&quot;NavigationButton&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; | |
++|''&quot;&quot;&quot;NavigationControl&quot;&quot;&quot;'' | X | | | | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Inherited from Control&quot;&quot;&quot; |
++|''&quot;&quot;&quot;ObjectFrame&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Pictures in forms&quot;&quot;&quot; |
++|''&quot;&quot;&quot;Operation&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Related to Microsoft Business Connectivity Services (BCS)&quot;&quot;&quot; |
++|''&quot;&quot;&quot;Operations&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |~|
++|''&quot;&quot;&quot;OptionButton&quot;&quot;&quot;'' | X | | | | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Inherited from Control&quot;&quot;&quot; |
++|''&quot;&quot;&quot;OptionGroup&quot;&quot;&quot;'' | X | | | | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; | |
++|''&quot;&quot;&quot;Page&quot;&quot;&quot;'' | X | | | | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Only for Dialogs&quot;&quot;&quot; |
++|background-color:#ff3;''&quot;&quot;&quot;PageBreak&quot;&quot;&quot;'' | | | | X | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;See Report object&quot;&quot;&quot; |
++|''&quot;&quot;&quot;Pages&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; | |
++|''&quot;&quot;&quot;Printer&quot;&quot;&quot;'' | | | X | | |background-color:#eee; X |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;TBC&quot;&quot;&quot; |
++|''&quot;&quot;&quot;Printers&quot;&quot;&quot;'' | | | X | | |background-color:#eee; X |background-color:#eee; |background-color:#eee; |background-color:#eee; |~|
++|''&quot;&quot;&quot;Properties&quot;&quot;&quot;'' | X | | | | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; | |
++|''&quot;&quot;&quot;Rectangle&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;No such objects in Base Forms&quot;&quot;&quot; |
++|''&quot;&quot;&quot;Reference&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Windows specific&quot;&quot;&quot; |
++|''&quot;&quot;&quot;References&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; | |
++|background-color:#ff3;''&quot;&quot;&quot;Report&quot;&quot;&quot;'' | | | X | | |background-color:#eee; |background-color:#eee; X |background-color:#eee; |background-color:#eee; | |
++|background-color:#ff3;''&quot;&quot;&quot;Reports&quot;&quot;&quot;'' | | | X | | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; X | |
++|''&quot;&quot;&quot;ReturnVar&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;MSAccess macro's specific&quot;&quot;&quot; |
++|''&quot;&quot;&quot;ReturnVars&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; | |
++|background-color:#ff3;''&quot;&quot;&quot;Screen&quot;&quot;&quot;'' | | | X | | |background-color:#eee; |background-color:#eee; |background-color:#eee; X |background-color:#eee; |&quot;&quot;&quot;To manage active window&quot;&quot;&quot; |
++|''&quot;&quot;&quot;Section&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;To manage headers, footers, pages of a form&quot;&quot;&quot; |
++|''&quot;&quot;&quot;SharedResource&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Microsoft Office shared resources&quot;&quot;&quot; |
++|''&quot;&quot;&quot;SharedResources&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; | |
++|''&quot;&quot;&quot;SmartTag&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Microsoft Office specific&quot;&quot;&quot; |
++|''&quot;&quot;&quot;SmartTagAction&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; | |
++|''&quot;&quot;&quot;SmartTagActions&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; | |
++|''&quot;&quot;&quot;SmartTagProperties&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; | |
++|''&quot;&quot;&quot;SmartTagProperty&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; | |
++|''&quot;&quot;&quot;SmartTags&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; | |
++|''&quot;&quot;&quot;SubForm&quot;&quot;&quot;'' | X | | | | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;TBC event handling&quot;&quot;&quot; |
++|''&quot;&quot;&quot;TabControl&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Most Control types do not match between MSAccess and Base&quot;&quot;&quot; |
++|''&quot;&quot;&quot;TempVar&quot;&quot;&quot;'' | X | | | | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;To store &quot;Global&quot; variables accessible from any document&quot;&quot;&quot; |
++|''&quot;&quot;&quot;TempVars&quot;&quot;&quot;'' | X | | | | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |~|
++|''&quot;&quot;&quot;TextBox&quot;&quot;&quot;'' | X | | | | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Inherited from Control&quot;&quot;&quot; |
++|''&quot;&quot;&quot;ToggleButton&quot;&quot;&quot;'' | X | | | | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |~|
++|''&quot;&quot;&quot;WebBrowserControl&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Web frame in form&quot;&quot;&quot; |
++|''&quot;&quot;&quot;WebService&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Related to Microsoft Business Connectivity Services (BCS)&quot;&quot;&quot; |
++|''&quot;&quot;&quot;WebServices&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |~|
++|''&quot;&quot;&quot;WSParameter&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |~|
++|''&quot;&quot;&quot;WSParameters&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |~|
++!~DataAccess objects
++| !OBJECTS |&gt;|&gt;|&gt;|&gt;| ''__FUNCTIONALITY__'' |&gt;|&gt;|&gt;|background-color:#eee; ''__IMPLEMENTATION__'' | !Comments |
++|~| !Done | !Could be improved | !Very nice to have | !Nice to have | !Not applicable | !Out of Reach | !Complex | !Average | !Easy |~|
++|''&quot;&quot;&quot;ComplexType&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;For multi-valued fields&quot;&quot;&quot; |
++|''&quot;&quot;&quot;Connection&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Confused with Database object&quot;&quot;&quot; |
++|''&quot;&quot;&quot;Connections&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Connections of a workspace&quot;&quot;&quot; |
++|''&quot;&quot;&quot;Container&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Useless generic object&quot;&quot;&quot; |
++|''&quot;&quot;&quot;Containers&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; | |
++|''&quot;&quot;&quot;Database&quot;&quot;&quot;'' | X | | | | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;RunSQL has been preferred to Execute method&quot;&quot;&quot; |
++|background-color:#ff3;''&quot;&quot;&quot;Databases&quot;&quot;&quot;'' | | | | X | |background-color:#eee; |background-color:#eee; X |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Manage collection of all databases opened during a LibO/AOO session&quot;&quot;&quot; |
++|''&quot;&quot;&quot;DBEngine&quot;&quot;&quot;'' | | | | X | |background-color:#eee; X |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Database administration&quot;&quot;&quot; |
++|''&quot;&quot;&quot;Document&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |~|
++|''&quot;&quot;&quot;Documents&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; | |
++|''&quot;&quot;&quot;Error&quot;&quot;&quot;'' | | | X | | |background-color:#eee; X |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Database errors management&quot;&quot;&quot; |
++|''&quot;&quot;&quot;Errors&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; | |
++|''&quot;&quot;&quot;Field&quot;&quot;&quot;'' | X | X | | | |background-color:#eee; |background-color:#eee; X |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;See Relation object&quot;&quot;&quot; |
++|''&quot;&quot;&quot;Field2&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;For multi-valued fields&quot;&quot;&quot; |
++|''&quot;&quot;&quot;Fields&quot;&quot;&quot;'' | X | | | | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; | |
++|background-color:#ff3;''&quot;&quot;&quot;Index&quot;&quot;&quot;'' | | | X | | |background-color:#eee; |background-color:#eee; X |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Description of table indexes&quot;&quot;&quot;&lt;br /&gt;&quot;&quot;&quot;Fields collection to be derived&quot;&quot;&quot; |
++|background-color:#ff3;''&quot;&quot;&quot;Indexes&quot;&quot;&quot;'' | | | X | | |background-color:#eee; |background-color:#eee; X |background-color:#eee; |background-color:#eee; | |
++|background-color:#ff3;''&quot;&quot;&quot;Parameter&quot;&quot;&quot;'' | | | X | | |background-color:#eee; |background-color:#eee; |background-color:#eee; X |background-color:#eee; |&quot;&quot;&quot;To manage parameter queries&quot;&quot;&quot; |
++|background-color:#ff3;''&quot;&quot;&quot;Parameters&quot;&quot;&quot;'' | | | X | | |background-color:#eee; |background-color:#eee; |background-color:#eee; X |background-color:#eee; | |
++|''&quot;&quot;&quot;Properties&quot;&quot;&quot;'' | X | X | | | |background-color:#eee; |background-color:#eee; |background-color:#eee; X |background-color:#eee; |&quot;&quot;&quot;MSAccess supports user-defined properties for Database, TableDef, QueryDef and Index objects&quot;&quot;&quot; |
++|''&quot;&quot;&quot;Property&quot;&quot;&quot;'' | X | X | | | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; | |
++|''&quot;&quot;&quot;QueryDef&quot;&quot;&quot;'' | X | | | | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; | |
++|''&quot;&quot;&quot;QueryDefs&quot;&quot;&quot;'' | X | X | | | |background-color:#eee; |background-color:#eee; |background-color:#eee; X |background-color:#eee; |&quot;&quot;&quot;Creation of temporary queries could be useful bt strongly depend on RDBMS&quot;&quot;&quot; |
++|''&quot;&quot;&quot;Recordset&quot;&quot;&quot;'' | X | | | | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; | |
++|''&quot;&quot;&quot;Recordset2&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;For multi-valued fields&quot;&quot;&quot; |
++|''&quot;&quot;&quot;Recordsets&quot;&quot;&quot;'' | X | | | | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Not very useful&quot;&quot;&quot; |
++|background-color:#ff3;''&quot;&quot;&quot;Relation&quot;&quot;&quot;'' | | | | X | |background-color:#eee; |background-color:#eee; X |background-color:#eee; |background-color:#eee; | |
++|background-color:#ff3;''&quot;&quot;&quot;Relations&quot;&quot;&quot;'' | | | | X | |background-color:#eee; |background-color:#eee; X |background-color:#eee; |background-color:#eee; | |
++|''&quot;&quot;&quot;TableDef&quot;&quot;&quot;'' | X | | | | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; | |
++|''&quot;&quot;&quot;TableDefs&quot;&quot;&quot;'' | X | | | | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; | |
++|''&quot;&quot;&quot;Workspace&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Transaction management and data security&quot;&quot;&quot; |
++|''&quot;&quot;&quot;Workspaces&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |~|
++!~DoCmd Actions
++| !ACTIONS |&gt;|&gt;|&gt;|&gt;| ''__FUNCTIONALITY__'' |&gt;|&gt;|&gt;|background-color:#eee; ''__IMPLEMENTATION__'' | !Comments |
++|~| !Done | !Could be improved | !Very nice to have | !Nice to have | !Not applicable | !Out of Reach | !Complex | !Average | !Easy |~|
++|''&quot;&quot;&quot;AddMenu&quot;&quot;&quot;'' | | | X | | |background-color:#eee; X |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Menus are static in LibO/AOO&quot;&quot;&quot;&lt;br /&gt;&quot;&quot;&quot;(except in shortcut menus)&quot;&quot;&quot; |
++|''&quot;&quot;&quot;ApplyFilter&quot;&quot;&quot;'' | X | | | | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Better replaced by the Filter and FilterOn properties for Forms&quot;&quot;&quot;&lt;br /&gt;&quot;&quot;&quot;Applicable to table/query datasheet views&quot;&quot;&quot; |
++|''&quot;&quot;&quot;Beep&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Standard in LibO/AOO Basic&quot;&quot;&quot; |
++|''&quot;&quot;&quot;BrowseTo&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Browse thru forms and reports displayed in a tabbed interface&quot;&quot;&quot; |
++|''&quot;&quot;&quot;CancelEvent&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Exit Sub in procedure invoked by event&quot;&quot;&quot; |
++|''&quot;&quot;&quot;ClearMacroError&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; | |
++|''&quot;&quot;&quot;Close&quot;&quot;&quot;'' | X | | | | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;mClose i.o. Close&quot;&quot;&quot; |
++|background-color:#ff3;''&quot;&quot;&quot;CloseDatabase&quot;&quot;&quot;'' | | | | X | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; X |&quot;&quot;&quot;Easy to reproduce with&quot;&quot;&quot;&lt;br /&gt;&quot;&quot;&quot;SelectObject(acDatabaseWindow)&quot;&quot;&quot;&lt;br /&gt;&quot;&quot;&quot;RunCommand(&quot;acCmdClose&quot;)&quot;&quot;&quot; |
++|''&quot;&quot;&quot;CopyDatabaseFile&quot;&quot;&quot;'' | | | X | | |background-color:#eee; X |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Copy database to server&quot;&quot;&quot; |
++|''&quot;&quot;&quot;CopyObject&quot;&quot;&quot;'' | X | | | | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Only tables and queries&quot;&quot;&quot;&lt;br /&gt;&quot;&quot;&quot;Between different databases, even from different RDBMS&quot;&quot;&quot; |
++|background-color:#ff3;''&quot;&quot;&quot;DeleteObject&quot;&quot;&quot;'' | | | | X | |background-color:#eee; |background-color:#eee; |background-color:#eee; X |background-color:#eee; X |&quot;&quot;&quot;Replaceable by Delete method applied on TableDef/QueryDef objects&quot;&quot;&quot; |
++|''&quot;&quot;&quot;DoMenuItem&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Yet obsolete in MSAccess&quot;&quot;&quot; |
++|''&quot;&quot;&quot;Echo&quot;&quot;&quot;'' | | | X | | |background-color:#eee; X |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Hide or show the results of a macro while it runs&quot;&quot;&quot; |
++|''&quot;&quot;&quot;FindNext&quot;&quot;&quot;'' | X | X | | | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Limited to a grid control, very slow&quot;&quot;&quot; |
++|''&quot;&quot;&quot;FindRecord&quot;&quot;&quot;'' | X | X | | | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |~|
++|''&quot;&quot;&quot;GoToControl&quot;&quot;&quot;'' | X | | | | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Better replaced by SetFocus&quot;&quot;&quot; |
++|''&quot;&quot;&quot;GoToPage&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Yet obsolete in MSAccess&quot;&quot;&quot; |
++|''&quot;&quot;&quot;GoToRecord&quot;&quot;&quot;'' | X | | | | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Enriched with subforms&quot;&quot;&quot; |
++|''&quot;&quot;&quot;Hourglass&quot;&quot;&quot;'' | | | X | | |background-color:#eee; X |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;SystemPointer interface not at application level in LibO/AOO&quot;&quot;&quot; |
++|''&quot;&quot;&quot;LockNavigationPane&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;No navigation pane in LibO/AOO&quot;&quot;&quot; |
++|''&quot;&quot;&quot;Maximize&quot;&quot;&quot;'' | X | | | | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; | |
++|''&quot;&quot;&quot;Minimize&quot;&quot;&quot;'' | X | | | | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; | |
++|''&quot;&quot;&quot;MoveSize&quot;&quot;&quot;'' | X | | | | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; | |
++|''&quot;&quot;&quot;NavigateTo&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;No navigation pane in LibO/AOO&quot;&quot;&quot; |
++|''&quot;&quot;&quot;OpenDataAccessPage&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;No data access pages in LibO/AOO&quot;&quot;&quot; |
++|background-color:#ff3;''&quot;&quot;&quot;OpenDiagram&quot;&quot;&quot;'' | | | | X | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; X |&quot;&quot;&quot;Easy to reproduce with&quot;&quot;&quot;&lt;br /&gt;&quot;&quot;&quot;SelectObject(acDatabaseWindow)&quot;&quot;&quot;&lt;br /&gt;&quot;&quot;&quot;RunCommand(acCmdShowAllRelationships)&quot;&quot;&quot;&lt;br /&gt;&quot;&quot;&quot;1 diagram by database !&quot;&quot;&quot; |
++|''&quot;&quot;&quot;OpenForm&quot;&quot;&quot;'' | X | X | | | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;The OpenArgs argument is (almost) meaningless&quot;&quot;&quot; |
++|''&quot;&quot;&quot;OpenFunction&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Function in SQL Server&quot;&quot;&quot; |
++|''&quot;&quot;&quot;OpenModule&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Access2Base not intended to manage interaction with Basic IDE&quot;&quot;&quot; |
++|''&quot;&quot;&quot;OpenQuery&quot;&quot;&quot;'' | X | | | | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;The DataMode argument is ignored&quot;&quot;&quot; |
++|''&quot;&quot;&quot;OpenReport&quot;&quot;&quot;'' | X | X | | | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Filters, etc. are ignored.&quot;&quot;&quot; |
++|''&quot;&quot;&quot;OpenStoredProcedure&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Database specific&quot;&quot;&quot; |
++|''&quot;&quot;&quot;OpenTable&quot;&quot;&quot;'' | X | | | | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;The DataMode argument is ignored&quot;&quot;&quot; |
++|''&quot;&quot;&quot;OpenView&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Views are seen as tables&quot;&quot;&quot; |
++|''&quot;&quot;&quot;OutputTo&quot;&quot;&quot;'' | X | | | | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Supported output formats are different&quot;&quot;&quot;&lt;br /&gt;&quot;&quot;&quot;TemplateFile, Encoding and OutputQuality arguments are ignored&quot;&quot;&quot; |
++|background-color:#ff3;''&quot;&quot;&quot;PrintOut&quot;&quot;&quot;'' | | | X | | |background-color:#eee; |background-color:#eee; X |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Maybe with Print menu command ??&quot;&quot;&quot; |
++|''&quot;&quot;&quot;Quit&quot;&quot;&quot;'' | X | | | | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; | |
++|''&quot;&quot;&quot;RefreshRecord&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Better replaced by the Refresh method&quot;&quot;&quot; |
++|background-color:#ff3;''&quot;&quot;&quot;Rename&quot;&quot;&quot;'' | | | | X | |background-color:#eee; |background-color:#eee; |background-color:#eee; X |background-color:#eee; |&quot;&quot;&quot;Rename forms, querries, tables and reports&quot;&quot;&quot; |
++|''&quot;&quot;&quot;RepaintObject&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Yet obsolete in MSAccess&quot;&quot;&quot; |
++|''&quot;&quot;&quot;Requery&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Better replaced by the Requery method&quot;&quot;&quot; |
++|background-color:#ff3;''&quot;&quot;&quot;Restore&quot;&quot;&quot;'' | | | X | | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; X |&quot;&quot;&quot;Probably solved with IsMaximized=False tbc&quot;&quot;&quot; |
++|''&quot;&quot;&quot;RunCommand&quot;&quot;&quot;'' | X | | | | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Where to find their arguments ??&quot;&quot;&quot;&lt;br /&gt;&quot;&quot;&quot;VBA commands list derived from MSAccess 2003&quot;&quot;&quot; |
++|''&quot;&quot;&quot;RunDataMacro&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;No concept of DataMacros in LibO/AOO&quot;&quot;&quot; |
++|''&quot;&quot;&quot;RunMacro&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;No concept of Macros in LibO/AOO&quot;&quot;&quot; |
++|''&quot;&quot;&quot;RunSavedImportExport&quot;&quot;&quot;'' | | | X | | |background-color:#eee; X |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Let's try TransferXXX first&quot;&quot;&quot; |
++|''&quot;&quot;&quot;RunSQL&quot;&quot;&quot;'' | X | X | | | |background-color:#eee; |background-color:#eee; |background-color:#eee; X |background-color:#eee; |&quot;&quot;&quot;Has dbSQLPassThrough option&quot;&quot;&quot;&lt;br /&gt;&quot;&quot;&quot;Extended to database objects&quot;&quot;&quot;&lt;br /&gt;&quot;&quot;&quot;UseTranasction argument not supported&quot;&quot;&quot; |
++|''&quot;&quot;&quot;Save&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Design views of Forms or Reports are not supported&quot;&quot;&quot;&lt;br /&gt;&quot;&quot;&quot;Easily replaced by RunCommand(acCmdSave)&quot;&quot;&quot; |
++|''&quot;&quot;&quot;SearchForRecord&quot;&quot;&quot;'' | | | X | | |background-color:#eee; X |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;&quot;Where&quot; parser ?&quot;&quot;&quot; |
++|''&quot;&quot;&quot;SelectObject&quot;&quot;&quot;'' | X | X | | | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;InNavigationPane not implemented&quot;&quot;&quot; |
++|''&quot;&quot;&quot;SendObject&quot;&quot;&quot;'' | X | | | | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;TemplateFile argument ignored&quot;&quot;&quot; |
++|''&quot;&quot;&quot;SetDisplayedCategories&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Linked to navigation pane&quot;&quot;&quot; |
++|''&quot;&quot;&quot;SetFilter&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Better replaced by the Filter and FilterOn properties for Forms&quot;&quot;&quot;&lt;br /&gt;&quot;&quot;&quot;Doable for table/query datasheet views ?&quot;&quot;&quot; |
++|''&quot;&quot;&quot;SetMenuItem&quot;&quot;&quot;'' | | | | | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Yet obsolete in MSAccess&quot;&quot;&quot; |
++|''&quot;&quot;&quot;SetOrderBy&quot;&quot;&quot;'' | X | | | | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Better replaced by the OrderBy and OrderByOn properties for Forms&quot;&quot;&quot;&lt;br /&gt;&quot;&quot;&quot;Applicable to table/query datasheet views&quot;&quot;&quot; |
++|''&quot;&quot;&quot;SetParameter&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Related to (data)macros&quot;&quot;&quot; |
++|''&quot;&quot;&quot;SetProperty&quot;&quot;&quot;'' | X | | | | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Much broader scope in Access2Base&quot;&quot;&quot; |
++|''&quot;&quot;&quot;SetWarnings&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Related to system messages&quot;&quot;&quot; |
++|''&quot;&quot;&quot;ShowAllRecords&quot;&quot;&quot;'' | X | | | | |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; | |
++|background-color:#ff3;''&quot;&quot;&quot;ShowToolbar&quot;&quot;&quot;'' | | | X | | |background-color:#eee; |background-color:#eee; |background-color:#eee; X |background-color:#eee; |&quot;&quot;&quot;Toolbars are static on LibO/AOO&quot;&quot;&quot; |
++|''&quot;&quot;&quot;SingleStep&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Related to (data)macros&quot;&quot;&quot; |
++|''&quot;&quot;&quot;TransferDatabase&quot;&quot;&quot;'' | | | X | | |background-color:#eee; X |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Copy objects (forms, queries, tables, ...) between databases&quot;&quot;&quot; |
++|''&quot;&quot;&quot;TransferSharePointList&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; | |
++|background-color:#ff3;''&quot;&quot;&quot;TransferSpreadsheet&quot;&quot;&quot;'' | | | X | | |background-color:#eee; |background-color:#eee; X |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Calc only&quot;&quot;&quot; |
++|''&quot;&quot;&quot;TransferSQLDatabase&quot;&quot;&quot;'' | | | | | X |background-color:#eee; |background-color:#eee; |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Copy full database w/ or wo/ data&quot;&quot;&quot; |
++|background-color:#ff3;''&quot;&quot;&quot;TransferText&quot;&quot;&quot;'' | | | X | | |background-color:#eee; |background-color:#eee; X |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Fixed + variable length; Schema.ini file parser&quot;&quot;&quot; |
++!Other topics
++| !ACTIONS |&gt;|&gt;|&gt;|&gt;| ''__FUNCTIONALITY__'' |&gt;|&gt;|&gt;|background-color:#eee; ''__IMPLEMENTATION__'' | !Comments |
++|~| !Done | !Could be improved | !Very nice to have | !Nice to have | !Not applicable | !Out of Reach | !Complex | !Average | !Easy |~|
++|''&quot;&quot;&quot;On properties&quot;&quot;&quot;'' | X | | | | |background-color:#eee; |background-color:#eee; X |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;Assign programmatically events to macros&quot;&quot;&quot; |
++|background-color:#ff3;''&quot;&quot;&quot;Switchboard&quot;&quot;&quot;'' | | | | X | |background-color:#eee; |background-color:#eee; X |background-color:#eee; |background-color:#eee; |&quot;&quot;&quot;To be completely redesigned:&quot;&quot;&quot;&lt;br /&gt;&quot;&quot;&quot;- to avoid use of table (only 1 database in Base ... !)&quot;&quot;&quot;&lt;br /&gt;&quot;&quot;&quot;- Use of either (language-neutral) dialog box or shortcut menus&quot;&quot;&quot; |
++|background-color:#ff3;''&quot;&quot;&quot;Shortcut menus&quot;&quot;&quot;'' | | | X | | |background-color:#eee; |background-color:#eee; X |background-color:#eee; |background-color:#eee; | |
++|background-color:#ff3;''&quot;&quot;&quot;Error handling&quot;&quot;&quot;'' | | | | X | |background-color:#eee; |background-color:#eee; |background-color:#eee; X |background-color:#eee; |&quot;&quot;&quot;Process A2B errors in user code&quot;&quot;&quot; |</pre>
++</div>
++<div title="MainMenu" modifier="YourName" created="201106251004" modified="201902151437" tags="excludeLists" changecount="14">
++<pre>[[Software Version: 6.2.0|ReleaseNotes]]
++[[Home|Home]]
++&lt;&lt;search&gt;&gt;
++[[Index|Full Index]]
++[[Getting started|Install]]
++[[The object model|Object Model]]
++[[Tutorial]]
++&lt;&lt;tagsTree Menu&gt;&gt;
++[[Thanks|Thanks]]
++[[Contact]]
++&lt;&lt;toggleSideBar &quot;&quot; &quot;Toggle side bar&quot; hide&gt;&gt;</pre>
++</div>
++<div title="Maximize" modifier="Jean-Pierre Ledure" created="201203311248" modified="201409271453" tags="Actions" changecount="2">
++<pre>{{firstletter{
++ @@color:#930;T@@
++ }}}he //Maximize// action maximizes the window containing the [[Form]] having the focus.
++&lt;&lt;tiddler &quot;ApplyDoCmd&quot;&gt;&gt;
++!!!Syntax
++{{{[DoCmd.]Maximize()}}}
++!!!Remarks
++*The //Maximize// action is usually preceded by a [[SelectObject]] action or by a [[SetFocus]] method applied on the targeted //form//.
++*//Maximize// returns {{{True}}} if the action was successful, {{{False}}} otherwise.
++!!!Error messages
++|No active form or control found |
++!!!See also
++[[Minimize]]
++[[SelectObject]]
++[[SetFocus]]
++!!!Example
++&lt;&lt;tiddler &quot;Maximize example&quot;&gt;&gt;</pre>
++</div>
++<div title="Maximize example" modifier="Jean-Pierre Ledure" created="201203311257" modified="201408011520" tags="[[Snippets of Code]]" changecount="1">
++<pre>Set focus on targeted form and maximize it
++//{{{
++Dim ofForm As Object
++ Set ofForm = Forms(&quot;myForm&quot;)
++ ofForm.SetFocus
++ Maximize() ' ... or Minimize() ...
++ MsgBox ofForm.Width
++//}}}</pre>
++</div>
++<div title="Methods" modifier="Jean-Pierre Ledure" created="201108131502" tags="Menu">
++<pre></pre>
++</div>
++<div title="Minimize" modifier="Jean-Pierre Ledure" created="201203311311" modified="201409271453" tags="Actions" changecount="3">
++<pre>{{firstletter{
++ @@color:#930;T@@
++ }}}he //Minimize// action minimizes the window containing the [[Form]] having the focus.
++&lt;&lt;tiddler &quot;ApplyDoCmd&quot;&gt;&gt;
++!!!Syntax
++{{{[DoCmd.]Minimize()}}}
++!!!Remarks
++*The //Minimize// action is usually preceded by a [[SelectObject]] action or by a [[SetFocus]] method applied on the targeted //form//.
++*//Minimize// returns {{{True}}} if the action was successful, {{{False}}} otherwise.
++!!!Error messages
++|No active form or control found |
++!!!See also
++[[Maximize]]
++[[SelectObject]]
++[[SetFocus]]
++!!!Example
++&lt;&lt;tiddler &quot;Maximize example&quot;&gt;&gt; </pre>
++</div>
++<div title="MixAccess2baseAndUNO" modifier="Jean-PierreLedure" created="201212301013" modified="201308161035" tags="HowTo">
++<pre>(Q) Is it possible to mix calls to the //~Access2Base// API and to the //UNO// API in the same code ?
++
++(R) Yes, this is by the way exactly what //~Access2Base// does internally. Additionally most [[Access2Base objects|Object Model]] provide entries to useful //UNO// objects.
++
++!!!Documentation
++Next objects have within their properties one or more of them qualified as &quot;UNO&quot;. Have a look at:
++*[[Database]]
++*[[Form]]
++*[[Control]] with the - very useful - //~ControlModel// and //~ControlView// properties
++*[[SubForm]]
++*[[Recordset]]
++*[[Field]] with the //Column// property
++!!!Example 1
++To get the character surrounding table and fieldnames in SQL statements for the current database:
++//{{{
++ MsgBox CurrentDb.MetaData.IdentifierQuoteString
++//}}}
++[[CurrentDb]] returns the current database object making its //metadata// property available.
++!!!Example 2
++Next function (inspired by a code snippet from [[XRay|http://bernard.marcelly.perso.sfr.fr/index2.html]]) returns the nature of a //UNO// object:
++//{{{
++Public Function getUNOTypeName(pvObject As Variant) As String
++' Return the symbolic name of the pvObject (UNO-object) type
++' Code-snippet from XRAY
++
++Dim oService As Object, vClass as Variant, sType As String
++ _getUNOTypeName = &quot;&quot;
++ On Local Error Resume Next
++ sType = pvObject.getImplementationName()
++ If sType = &quot;&quot; Then
++ oService = CreateUnoService(&quot;com.sun.star.reflection.CoreReflection&quot;)
++ vClass = oService.getType(pvObject)
++ If vClass.TypeClass = com.sun.star.uno.TypeClass.STRUCT Then
++ getUNOTypeName = vClass.Name
++ End If
++ oService.Dispose()
++ End If
++
++ getUNOTypeName = sType
++
++End Function ' getUNOTypeName
++//}}}
++Next code will probably display //com.sun.star.comp.forms.~ODatabaseForm//
++//{{{
++Dim ofForm As Object
++ Set ofForm = Forms(&quot;Orders_Browse&quot;)
++ MsgBox getUNOTypeName(ofForm.DatabaseForm)
++//}}}
++!!!Example 3
++To apply a font attribute that is not implemented within the //~Access2Base// API:
++//{{{
++Dim ocControl As Object
++ Set ocControl = Forms(&quot;Orders_Browse&quot;).Controls(&quot;txtCustomerID&quot;)
++ ocControl.ControlModel.FontStrikeout = com.sun.star.awt.FontStrikeout.DOUBLE
++//}}}
++!!!Refer to ...
++| !Basic module | !Form | !Form event | !Control | !Control event |!Prerequisite |
++|Snippets |||||Form ~Orders_Browse must be open before running examples 2 and 3. |
++</pre>
++</div>
++<div title="Module" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201612181037" modified="201708191650" tags="Objects" changecount="9">
++<pre>{{firstletter{
++ @@color:#930;A@@
++ }}} //Module// object represents a module containing a Basic script. It might represent either a standard module or a class module.
++!!!Function returning a module object
++| !Parent object | !Function | !Type | !Argument |!Description |
++|[[Application]] |[[AllModules]] | [[Collection]] | Integer or String |{{{Application.AllModules(&quot;myModule&quot;)}}} returns an object corresponding with the {{{myModule}}} module stored in the current document |
++!!!Properties
++| !Property | !Type | !Read only | !Description or UNO object |
++|[[CountOfDeclarationLines]] || Y |Indicates the number of lines of code in the Declarations section of the module. |
++|[[CountOfLines]] || Y |Indicates the number of lines of code in the module. |
++|[[Lines]] || Y |Returns a string containing the contents of a specified line or lines in a module. |
++|[[Name]] || Y |Specifies the real name of the module |
++|[[ObjectType]] || Y |Returns &quot;MODULE&quot; |
++|[[ProcBodyLine]] || Y |Returns the number of the line at which the body of a specified procedure begins in the module. |
++|[[ProcCountLines]] || Y |Returns the number of lines in a specified procedure in the module. |
++|[[ProcOfLine]] || Y |Returns the name of the procedure that contains a specified line in the module. |
++|[[ProcStartLine]] || Y |Returns a value identifying the line at which a specified procedure begins in the module. |
++|[[Type]] || Y |Indicates whether a module is a standard module or a class module. |
++!!!Methods
++| !Method | !Argument(s) | !Return | !Description |
++|[[Find]] | string to find | Boolean |Return True if the string was found. Other arguments contain its position (line and column). |
++!!!What does return the //Name// property of a module ?
++To manage potential homonyms among libraries, the ''name'' of a module consists in 3 components:
++//{{{
++ SCOPE.LIBRARY.MODULE
++//}}}
++*The //SCOPE// is either
++**''{{{GLOBAL}}}'' grouping both the ''~LibreOffice/~OpenOffice Macros and Dialogs'' and the ''My Macros and Dialogs'' catalogs of libraries.
++**''{{{DOCUMENT}}}'' grouping the libraries stored in the current document.
++*The //LIBRARY// component is the name of the library. It is often equal to &quot;''Standard''&quot;.
++!!!See also
++[[AllModules]]
++!!!Examples
++&lt;&lt;tiddler &quot;Module example&quot;&gt;&gt;</pre>
++</div>
++<div title="Module example" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201612181339" modified="201612181714" tags="[[Snippets of Code]]" changecount="5">
++<pre>Query the properties of a Basic module
++//{{{
++Const cstModule = &quot;myModule&quot;
++Const cstProc = &quot;mySub&quot;
++Const vbext_pk_Proc = 0 ' A Sub or Function procedure
++Const cstStringToFind = &quot;some string&quot;
++
++Dim oModule As Object, sProc As String, iProcType As Integer
++Dim vStartLine As Variant, vStartColumn As Variant, vEndLine As Variant, vEndColumn As Variant
++
++ Set oModule = Application.AllModules(cstModule)
++ With oModule
++ DebugPrint &quot;Name = &quot; &amp; .Name
++ DebugPrint &quot;# of lines = &quot; &amp; .CountOfLines
++ DebugPrint &quot;# of declaration lines = &quot; &amp; .CountOfdeclarationLines
++ DebugPrint &quot;Lines 26 to 31 = &quot; &amp; .Lines(26, 6)
++ DebugPrint &quot;# of lines in proc &quot; &amp; cstProc &amp; &quot; = &quot; &amp; .ProcCountLines(cstProc, vbext_pk_Proc)
++ DebugPrint &quot;Start line in proc &quot; &amp; cstProc &amp; &quot; = &quot; &amp; .ProcStartLine(cstProc, vbext_pk_Proc)
++ DebugPrint &quot;Start body line in proc &quot; &amp; cstProc &amp; &quot; = &quot; &amp; .ProcBodyLine(cstProc, vbext_pk_Proc)
++ ' Line 35 is located within procedure sProc (of type iProcType)
++ sProc = .ProcOfLine(35, iProcType)
++ ' Arguments are left uninitialized to consider the whole module
++ If .Find(cstStringToFind, vStartLine, vStartColumn, vEndLine, vEndColumn) Then DebugPrint cstStringToFind &amp; &quot; found on line &quot; &amp; vStartLine
++ End With
++ TraceConsole()
++//}}}</pre>
++</div>
++<div title="Move" modifier="Jean-Pierre Ledure" created="201111011543" modified="201405241129" tags="Methods" changecount="1">
++<pre>The //Move// method moves the specified object to the coordinates specified by the argument values.
++!!!Applies to ...
++| !Object | !Description |
++|[[Form]] |The representation of an //~OpenOffice/~LibreOffice// database form |
++|[[Dialog]] |The representation of a Basic dialog |
++!!!Syntax
++//form//.{{{Move([}}}//Left//{{{], [}}}//Top//{{{], [}}}//Width//{{{], [}}}//Height//{{{])}}}
++//dialog//.{{{Move([}}}//Left//{{{], [}}}//Top//{{{], [}}}//Width//{{{], [}}}//Height//{{{])}}}
++| !Argument | !Type | !Description | !Returned value |
++| form |[[Form object|Form]] |Form to be moved |//True// if success. |
++| dialog |[[Dialog object|Dialog]] |Dialog to be moved |~|
++| Left | Integer&lt;br /&gt;Long |The screen position for the left edge of the form relative to the left edge of the screen |~|
++| Top | Integer&lt;br /&gt;Long |The screen position for the top edge of the form relative to the top edge of the screen |~|
++| Width | Integer&lt;br /&gt;Long |The desired width of the form |~|
++| Height | Integer&lt;br /&gt;Long |The desired height of the form |~|
++!!!Remarks
++!!!Error messages
++|Argument nr. ... [Value = '...'] is invalid |
++!!!See also
++[[Height]]
++[[MoveSize]]
++[[Width]]
++!!!Example
++&lt;&lt;tiddler &quot;Move example&quot;&gt;&gt;</pre>
++</div>
++<div title="Move (recordset)" modifier="Jean-Pierre Ledure" created="201306291017" modified="201405241134" tags="Methods" changecount="2">
++<pre>The //Move//, //~MoveFirst//, //~MoveLast//, //~MoveNext// and //~MovePrevious// methods move the cursor either
++*to a record specified by its position
++*or to the first, last, next, or previous record
++in a specified [[Recordset]] object and make that record the current record.
++!!!Applies to ...
++| !Object | !Description |
++|[[Recordset]] |A set of records derived from a table, a query or a SQL statement. |
++!!!Syntax
++//recordset//{{{.Move(}}}//rows, startbookmark//{{{)}}}
++//recordset//{{{.MoveFirst}}}
++//recordset//{{{.MoveLast}}}
++//recordset//{{{.MoveNext}}}
++//recordset//{{{.MovePrevious}}}
++| !Argument | !Optional | !Type | !Description | !Returned value |
++|recordset || [[Recordset object|Recordset]] |An open recordset |//True// if success. |
++|rows || Long |Specifies the number of rows the position will move.&lt;br /&gt;If rows is greater than 0, the position is moved forward (toward the end of the file).&lt;br /&gt;If rows is less than 0, the position is moved backward (toward the beginning of the file). |~|
++|startbookmark | Y | Variant |Value identifying a bookmark. If you specify //startbookmark//, the //move// begins relative to this bookmark. Otherwise, //move// begins from the current record. |~|
++!!!Remarks
++*''Caution'' If you edit the current record, be sure you use the [[Update]] method to save the changes before you move to another record. If you move to another record without updating, your changes are lost without warning.
++*When using the //Move// method:
++**If you use //Move// to position the current record pointer before the first record, the current record pointer moves to the beginning of the file. If the //Recordset// contains no records and its [[BOF|BOF, EOF]] property is {{{True}}}, using this method to move backward causes an error.
++**If you use //Move// to position the current record pointer after the last record, the current record pointer position moves to the end of the file. If the //Recordset// contains no records and its [[EOF|BOF, EOF]] property is {{{True}}}, then using this method to move forward causes an error.
++**If either the [[BOF|BOF, EOF]] or [[EOF|BOF, EOF]] property is {{{True}}} and you attempt to use the //Move// method without a valid bookmark, a run-time error occurs.
++*When using //~MoveFirst, ~MoveLast, ~MoveNext// or //~MovePrevious// methods
++**When you open a //Recordset//, the first record is current and the [[BOF|BOF, EOF]] property is {{{False}}}. If the //Recordset// contains no records, the [[BOF|BOF, EOF]] property is {{{True}}}, and there is no current record.
++**If the first or last record is already current when you use //~MoveFirst// or //~MoveLast//, the current record doesn't change.
++**If you use //~MovePrevious// when the first record is current, the [[BOF|BOF, EOF]] property is {{{True}}}, and there is no current record. If you use //~MovePrevious// again, an error occurs, and [[BOF|BOF, EOF]] remains {{{True}}}.
++**If you use //~MoveNext// when the last record is current, the [[EOF|BOF, EOF]] property is {{{True}}}, and there is no current record. If you use //~MoveNext// again, an error occurs, and [[EOF|BOF, EOF]] remains {{{True}}}.
++!!!Error messages
++|Argument nr. ... [Value = '...'] is invalid |
++|Action rejected in a forward-only or not bookmarkable recordset |
++|Recordset delivered no data. Action on current record rejected |
++|Recordset has been closed. Recordset action rejected |
++|Current record out of range |
++!!!See also
++[[Bookmark]]
++[[Bookmarkable]]
++[[OpenRecordset]]
++!!!Example
++&lt;&lt;tiddler &quot;OpenRecordset example&quot;&gt;&gt;</pre>
++</div>
++<div title="Move example" modifier="Jean-PierreLedure" created="201111011601" modified="201212141433" tags="[[Snippets of Code]]">
++<pre>Move a form to new left-top coordinates and resize it ...
++//{{{
++Dim ofForm As Object
++ Set ofForm = Forms(&quot;myForm&quot;)
++ ofForm.Move(100, 200, 500, 200)
++//}}}</pre>
++</div>
++<div title="MoveItemsBetweenListboxes" modifier="Jean-PierreLedure" created="201306021037" modified="201308161339" tags="HowTo">
++<pre>(Q) Can I move easily items from one listbox to another ?
++
++(R) Let's implement the classical method of moving either the selected items or all the items from one listbox to another and reciprocally.
++
++A first listbox is loaded from the database. The second one is empty.
++The goal is to load the second listbox with a selection of items from the first one, thanks to 4 buttons:
++*{{{&gt;}}} and {{{&lt;}}} move all selected items from one listbox to the other one and remove them from the original one.
++*{{{&gt;&gt;}}} and {{{&lt;&lt;}}} empty the original box and move all its items to the other one.
++!!!Solution
++It consists in putting on a form:
++*2 [[listboxes|ListBox]] called //~LeftList// and //~RightList//
++*4 buttons called //~MoveOneRight// ({{{&gt;}}}), //~MoveAllRight// ({{{&gt;&gt;}}}), //~MoveOneLeft// ({{{&lt;}}}), //~MoveAllLeft// ({{{&lt;&lt;}}})
++The code associated with the events is mainly a matter of arrays redimensioning, trimming and housekeeping. Both listboxes must be reinitialized from the event macro after each button activation to remain synchronized.
++
++Let's assume next table:
++&lt;&lt;tiddler &quot;ProductsTable&quot;&gt;&gt;
++The //~LeftList// box is loaded initially with the //~ProductName// field of the //Products// table.
++
++1. Associate next code with the //When loading// form event: after initial loading the //~LeftList// control will be dissociated from its bound field. Additionally 3 constants are defined at module level.
++//{{{
++Const cstForm = &quot;Products_FastSelect&quot;
++Const cstLeftList = &quot;LeftList&quot;
++Const cstRightList = &quot;RightList&quot;
++
++Sub InitFirstList(poEvent As Object)
++'Activated when form opened
++Dim ocList As Object, sSource As String
++
++ Set ocList = Forms(cstForm).Controls(cstLeftList)
++ sSource = Join(ocList.ItemData, &quot;;&quot;)
++ ocList.RowSourceType = com.sun.star.form.ListSourceType.VALUELIST ' Cancel link with bound field
++ ocList.RowSource = sSource
++End Sub
++//}}}
++
++2. Associate the //Execute action// event of each of the 4 buttons with next macro:
++//{{{
++Sub MoveItems(poEvent As Object)
++Dim oEvent As Object, ocLeftList As Object, ocRightList As Object
++Dim i As Integer, vLeft() As Variant, vRight() As Variant, vSelected() As Variant
++Dim iMaxDim As Integer, iLeftSize As Integer, iRightSize As Integer, sSource As String
++ Set oEvent = Events(poEvent)
++ Set ocLeftList = Forms(cstForm).Controls(cstLeftList)
++ Set ocRightList = Forms(cstForm).Controls(cstRightList)
++ ' Initial load of arrays
++ vLeft = ocLeftList.ItemData
++ vRight = ocRightList.ItemData
++ iLeftSize = UBound(vLeft)
++ iRightSize = UBound(vRight)
++ iMaxDim = iLeftSize + 1 + iRightSize + 1
++ ReDim Preserve vLeft(iMaxDim)
++ ReDim Preserve vRight(iMaxDim)
++
++ Select Case oEvent.Source.Name
++ Case &quot;MoveOneRight&quot; ' &gt;
++ vSelected = ocLeftList.Selected
++ For i = 0 To iLeftSize
++ If vSelected(i) Then
++ iRightSize = iRightSize + 1
++ vRight(iRightSize) = vLeft(i)
++ vLeft(i) = &quot;&quot;
++ End If
++ Next i
++ Case &quot;MoveAllRight&quot; ' &gt;&gt;
++ For i = 0 To iLeftSize
++ iRightSize = iRightSize + 1
++ vRight(iRightSize) = vLeft(i)
++ vLeft(i) = &quot;&quot;
++ Next i
++ Case &quot;MoveOneLeft&quot; ' &lt;
++ vSelected = ocRightList.Selected
++ For i = 0 To iRightSize
++ If vSelected(i) Then
++ iLeftSize = iLeftSize + 1
++ vLeft(iLeftSize) = vRight(i)
++ vRight(i) = &quot;&quot;
++ End If
++ Next i
++ Case &quot;MoveAllLeft&quot; ' &lt;&lt;
++ For i = 0 To iRightSize
++ iLeftSize = iLeftSize + 1
++ vLeft(iLeftSize) = vRight(i)
++ vRight(i) = &quot;&quot;
++ Next i
++ End Select
++
++ 'Reload listboxes
++ sSource = &quot;&quot;
++ For i = 0 To iLeftSize
++ If vLeft(i) &lt;&gt; &quot;&quot; Then sSource = sSource &amp; vLeft(i) &amp; &quot;;&quot;
++ Next i
++ If Len(sSource) = 0 Then ocLeftList.RowSource = &quot;&quot; Else ocLeftList.RowSource = Left(sSource, Len(sSource) - 1) ' Remove last &quot;;&quot;
++ sSource = &quot;&quot;
++ For i = 0 To iRightSize
++ If vRight(i) &lt;&gt; &quot;&quot; Then sSource = sSource &amp; vRight(i) &amp; &quot;;&quot;
++ Next i
++ If Len(sSource) = 0 Then ocRightList.RowSource = &quot;&quot; Else ocRightList.RowSource = Left(sSource, Len(sSource) - 1)' Remove last &quot;;&quot;
++
++ 'Deselect listboxes
++ For i = 0 To ocLeftList.ListCount - 1
++ setSelected(ocLeftList, False, i)
++ Next i
++ For i = 0 To ocRightList.ListCount - 1
++ setSelected(ocRightList, False, i)
++ Next i
++End Sub
++//}}}
++!!!See also
++[[ListBox]]
++[[ListCount]]
++[[RowSource]]
++[[RowSourceType]]
++[[Selected]]
++[[Event]]
++!!!Refer to ...
++| !Basic module | !Form | !Form event | !Control | !Control event |!Comments |
++|~FastSelect |~Products_FastSelect |When loading |~MoveOneRight&lt;br /&gt;~MoveAllRight&lt;br /&gt;~MoveOneLeft&lt;br /&gt;~MoveAllLeft |Execute action ||</pre>
++</div>
++<div title="MoveSize" modifier="Jean-Pierre Ledure" created="201204061510" modified="201409271453" tags="Actions" changecount="3">
++<pre>The //~MoveSize// action moves the active window to the coordinates specified by the argument values.
++&lt;&lt;tiddler &quot;ApplyDoCmd&quot;&gt;&gt;
++!!!Syntax
++{{{[DoCmd.]MoveSize([}}}//Left//{{{], [}}}//Top//{{{], [}}}//Width//{{{], [}}}//Height//{{{])}}}
++| !Argument | !Optional | !Type | !Description | !Returned value |
++| Left | Yes |Integer&lt;br /&gt;Long |The screen position for the left edge of the window relative to the left edge of the screen | True if success |
++| Top |~| Integer&lt;br /&gt;Long |The screen position for the top edge of the window relative to the top edge of the screen |~|
++| Width |~| Integer&lt;br /&gt;Long |The desired width of the window |~|
++| Height |~| Integer&lt;br /&gt;Long |The desired height of the window |~|
++!!!Remarks
++*The action applies to the active window. A window may be made active with the [[SelectObject]] action.
++*The //~MoveSize// action is also applicable to the Basic IDE window or the database window. However it will ignore any window opened by another application than the one having called the //~MoveSize// action..
++*The //~MoveSize// action applies to [[forms|Form]] or [[dialogs|Dialog]] only.
++!!!Error messages
++|Argument nr. ... [Value = '...'] is invalid |
++!!!See also
++[[Height]]
++[[Move]]
++[[SelectObject]]
++[[Width]]
++!!!Example
++&lt;&lt;tiddler &quot;MoveSize example&quot;&gt;&gt;</pre>
++</div>
++<div title="MoveSize example" modifier="Jean-Pierre Ledure" created="201204061544" modified="201408011520" tags="[[Snippets of Code]]" changecount="1">
++<pre>Select an open form and resize it
++//{{{
++ SelectObject(acForm, &quot;myForm&quot;)
++ MoveSize 100, 200, 500, 200
++//}}}</pre>
++</div>
++<div title="MultiSelect" modifier="Jean-PierreLedure" created="201108181326" modified="201306151423" tags="Properties">
++<pre>You can use the ~MultiSelect property to specify whether a user can make multiple selections in a list box on a form
++!!!Applies to ...
++| !Object | !Type when&lt;br /&gt;in a form | !Type when&lt;br /&gt;in a ~GridControl | !Type when&lt;br /&gt;in a dialog |!Description |
++|[[Control]] | [[ListBox]] | [[ListBox]] | [[ListBox]] |A listbox on an open form or dialog, or in a [[GridControl]]|
++!!!Syntax
++//control//{{{.MultiSelect}}}
++//control//{{{.MultiSelect}}} = //value//
++!!!Returned values / Arguments
++{{{Boolean}}}
++!!!Remarks
++In ~MSAccess VBA the //~MultiSelect// property returns an integer value.
++!!!Error messages
++|Property '~MultiSelect' not applicable in this context |
++|Value '...' is invalid for property '~MultiSelect' |
++!!!See also
++[[ItemData]]
++[[ListCount]]
++[[ListIndex]]
++[[RowSource]]
++[[RowSourceType]]
++[[Selected]]
++!!!Example
++*Combo box
++&lt;&lt;tiddler &quot;ComboBox example&quot;&gt;&gt;
++*List box
++&lt;&lt;tiddler &quot;ListBox example&quot;&gt;&gt;</pre>
++</div>
++<div title="MultiSelectListboxSelectForm" modifier="Jean-PierreLedure" created="201212161708" modified="201308161049" tags="HowTo">
++<pre>(Q) I have a listbox control (might be MultiSelect) on my form. I want to pass the selected items to select the data listed in a gridcontrol on the same form. How do I do this?
++
++(R) The criteria must be built as a character string and passed to the [[RecordSource]] of the form.
++
++Assuming next tables:
++&lt;&lt;tiddler &quot;SuppliersTable&quot;&gt;&gt;
++&lt;&lt;tiddler &quot;ProductsTable&quot;&gt;&gt;
++and a form
++*bound to the Table &quot;Products&quot;
++*containing an unbound listbox having as data source
++//{{{
++ SELECT &quot;CompanyName&quot; FROM &quot;Suppliers&quot; ORDER BY &quot;CompanyName&quot; ASC
++//}}}
++!!!(1) Solution for ~MultiSelect = No listbox
++We make the //Changed// event of the listbox control triggering next code:
++//{{{
++Sub SyncFormListBoxMono(poEvent As Object)
++
++Dim oEvent As Object, ocList As Object, oForm As Object
++Dim sSupplier As String, lSupplier As Long
++
++ Set oEvent = Events(poEvent)
++ Set ocList = oEvent.Source ' Retrieve listbox object
++ Set oForm = ocList.Parent ' Retrieve parent form
++ sSupplier = Join(Split(ocList.Value, &quot;'&quot;), &quot;''&quot;) ' For the case the company name contains quotes
++ lSupplier = DLookup(&quot;[SupplierID]&quot;, &quot;[Suppliers]&quot;, &quot;[CompanyName]='&quot; &amp; sSupplier &amp; &quot;'&quot;)
++ oForm.RecordSource = &quot;SELECT [SupplierID], [ProductID], [ProductName], [UnitPrice] FROM [Products] WHERE [SupplierID]=&quot; &amp; lSupplier
++
++End Sub
++//}}}
++This will produce the requested effect.
++
++!!!(2) Solution for ~MultiSelect = Yes listbox
++A first variant is when the listbox is defined with ~MultiSelection = Yes
++//{{{
++Sub SyncFormListBoxMulti(poEvent As Object)
++
++Dim oEvent As Object, ocList As Object, oForm As Object
++Dim sSupplier As String, lSupplier As Long, i As Integer, sSQL As String
++Const cstCriteria = &quot; OR [SupplierID]=&quot;
++
++ Set oEvent = Events(poEvent)
++ Set ocList = oEvent.Source ' Retrieve listbox object
++ Set oForm = ocList.Parent ' Retrieve parent form
++ sSQL = &quot;SELECT [SupplierID], [ProductID], [ProductName], [UnitPrice] FROM [Products] WHERE [SupplierID]=&quot;
++ For i = 0 To UBound(oclist.Selected)
++ If ocList.Selected(i) Then
++ sSupplier = Join(Split(ocList.ItemData(i), &quot;'&quot;), &quot;''&quot;) ' For the case the company name contains quotes
++ lSupplier = DLookup(&quot;[SupplierID]&quot;, &quot;[Suppliers]&quot;, &quot;[CompanyName]='&quot; &amp; sSupplier &amp; &quot;'&quot;)
++ sSQL = sSQL &amp; lSupplier &amp; cstCriteria
++ End If
++ Next i
++ oForm.RecordSource = Left(sSQL, Len(sSQL) - Len(cstCriteria)) ' Trim SQL phrase
++
++End Sub
++//}}}
++
++!!!(3) Solution with form filtering
++Another variant is to use a filter. This lets the user the freedom to cancel the filtering option or to filter the data independently from the listbox. This freedom can be desired by the developer or not. ~MultiSelection is presumed False in the example:
++//{{{
++Sub SyncFormListBoxFilter(poEvent As Object)
++
++Dim oEvent As Object, ocList As Object, oForm As Object
++Dim sSupplier As String, lSupplier As Long
++
++ Set oEvent = Events(poEvent)
++ Set ocList = oEvent.Source ' Retrieve listbox object
++ Set oForm = ocList.Parent ' Retrieve parent form
++ sSupplier = Join(Split(ocList.Value, &quot;'&quot;), &quot;''&quot;) ' For the case the company name contains quotes
++ lSupplier = DLookup(&quot;[SupplierID]&quot;, &quot;[Suppliers]&quot;, &quot;[CompanyName]='&quot; &amp; sSupplier &amp; &quot;'&quot;)
++ oForm.Filter = &quot;[SupplierID]=&quot; &amp; lSupplier
++ oForm.FilterOn = True
++
++End Sub
++//}}}
++!!!See also
++[[getObject]]
++[[Events Handler]]
++[[Filter]]
++[[Parent]]
++[[RecordSource]]
++!!!Refer to ...
++| !Solution | !Basic module | !Form | !Form event | !Control | !Control event |!Comments |
++| (1) |~ListBox |~Products_ListBoxFilter ||~SuppliersListBoxMono |Changed ||
++| (2) |~|~|~|~SuppliersListBoxMulti |~|~|</pre>
++</div>
++<div title="Name" modifier="YourName" created="201107181600" modified="201902151447" tags="Properties" changecount="7">
++<pre>The //Name// property specifies the text string corresponding to the name of an object.
++!!!Applies to ...
++| !Object |!Description |
++|[[CommandBar]] |A tool-, menu- or statusbar |
++|[[Control]] |A control of an open form |
++|[[Database]] |A database the application is currently connected to |
++|[[Dialog]] |A dialog, active or not |
++|[[Field]] |A field within a //~TableDef//, a //~QueryDef// or a //Recordset// |
++|[[Form]] |A form, open or not, including its path name, if any |
++|[[Module]] |A Basic script |
++|[[OptionGroup]] |A group of radio buttons |
++|[[Property]] |A property of an object |
++|[[QueryDef]] |A query definition |
++|[[Recordset]] |A set of records related to a table, a query or a SQL statement |
++|[[SubForm]] |A subform of an open form |
++|[[TableDef]] |A table definition |
++|[[TempVar]] |A temporary variable |
++!!!Syntax
++//commandbar//{{{.Name}}}
++//control//{{{.Name}}}
++//database//{{{.Name}}}
++//dialog//{{{.Name}}}
++//form//{{{.Name}}}
++//module//{{{.Name}}}
++//optiongroup//{{{.Name}}}
++//property//{{{.Name}}}
++//querydef//{{{.Name}}}
++//recordset//{{{.Name}}}
++//subform//{{{.Name}}}
++//tabledef//{{{.Name}}}
++//tempvar//{{{.Name}}}
++!!!Returned values
++{{{String}}}
++!!!Remarks
++*The Name property is read-only.
++*When relevant the returned string contains the name of the object __as stored by ~LibreOffice/~OpenOffice Base__. In ~LibreOffice/~OpenOffice Base &quot;myForm&quot; is different from &quot;MYFORM&quot;. At the opposite, in ~Access2Base, all references to a name as argument of a function are //''not case-sensitive''//.&lt;br /&gt;Example: {{{Forms(&quot;myForm&quot;)}}} is identical to {{{Forms(&quot;MYFORM&quot;)}}}
++*The //Name// property of a recordset is artificially set by //~Access2Base//. See the [[Recordsets]] collection for more info.
++!!!Error messages
++!!!Example
++&lt;&lt;tiddler &quot;Name example&quot;&gt;&gt;</pre>
++</div>
++<div title="Name example" modifier="Jean-PierreLedure" created="201107181642" modified="201212141439" tags="[[Snippets of Code]]">
++<pre>Display exact name of the first open form
++Display all property names of that form
++//{{{
++Dim ofForm As Object, opProperty As Object, i As Integer
++ If Forms.Count &gt; 0 Then
++ Set ofForm = Forms(0)
++ _Print ofForm.Name
++ For i = 0 To ofForm.Properties().Count - 1
++ Set opProperty = ofForm.Properties(i)
++ Print opProperty.Name,
++ Next i
++ End If
++ Print
++//}}}</pre>
++</div>
++<div title="Object Model" modifier="Jean-Pierre Ledure" created="201106251306" modified="201612181032" tags="Definitions" changecount="35">
++<pre>{{firstletter{
++ @@color:#930;A@@
++ }}}OO/~LibO Basic is a simple but still an object-oriented language. To know more about object-oriented programming in Basic, you can have a look at [[here|https://forum.openoffice.org/en/forum/viewtopic.php?f=21&amp;t=58135]]
++To stay close to the syntax of the //~MSAccess// object model the implementation of ~Access2Base has been based on BASIC object classes.
++*Specific functions, sometimes called &quot;Collections&quot; will create instances of classes of type ''Form'', ''Subform'', ''Control'' or ''Database'', etc.
++*To use these instances in your own code, your local/global/... variables should be declared as being of type {{{Object}}}
++*The names of the ''properties'' and ''methods'' to be applied on those variables are identical in //~MSAccess// and in //~Access2Base//. Their arguments are identical as well. Note however that //~Access2Base// implements only a limited subset of the object model of //~MSAccess//. Note also that their semantics might differ from the original //~MSAccess// one. Read the current documentation carefully.
++*''Indirection'', i.e. accessing a property by its name given as a {{{string}}} argument, and ''introspection'', i.e. knowing which properties are available for any object, are supported for propertiesl.
++!The Object Model
++[img[The Access2Base object model|objectmodel.png]]
++!!Root classes
++| !Class | !Description | !Collections | !Properties | !Methods |
++|[[Application]] |The root class |[[AllDialogs]]&lt;br /&gt;[[AllForms]]&lt;br /&gt;[[AllModules]]&lt;br /&gt;[[CommandBars]]&lt;br /&gt;[[Events]]&lt;br /&gt;[[Forms]]&lt;br /&gt;[[TempVars]] |[[CurrentUser]]&lt;br /&gt;[[HtmlEncode]]&lt;br /&gt;[[ProductCode]]&lt;br /&gt;[[Version]] |[[CurrentDb]]&lt;br /&gt;[[DAvg]]&lt;br /&gt;[[DCount]]&lt;br /&gt;[[DLookup]]&lt;br /&gt;[[DMin, DMax]]&lt;br /&gt;[[DStDev, DStDevP]]&lt;br /&gt;[[DSum]]&lt;br /&gt;[[DVar, DVarP]]&lt;br /&gt;[[OpenConnection]]&lt;br /&gt;[[OpenDatabase]] |
++|[[DoCmd]] |A secondary root class from which a number of commands can be run ||[[GetHiddenAttribute]] |[[ApplyFilter]]&lt;br /&gt;[[Close]]&lt;br /&gt;[[CopyObject]]&lt;br /&gt;[[FindNext]]&lt;br /&gt;[[FindRecord]]&lt;br /&gt;[[GoToControl]]&lt;br /&gt;[[GoToRecord]]&lt;br /&gt;[[Maximize]]&lt;br /&gt;[[Minimize]]&lt;br /&gt;[[MoveSize]]&lt;br /&gt;[[OpenForm]]&lt;br /&gt;[[OpenQuery]]&lt;br /&gt;[[OpenReport]]&lt;br /&gt;[[OpenSQL]]&lt;br /&gt;[[OpenTable]]&lt;br /&gt;[[OutputTo]]&lt;br /&gt;[[Quit]]&lt;br /&gt;[[RunApp]]&lt;br /&gt;[[RunCommand]]&lt;br /&gt;[[RunSQL]]&lt;br /&gt;[[SelectObject]]&lt;br /&gt;[[SendObject]]&lt;br /&gt;[[SetHiddenAttribute]]&lt;br /&gt;[[ShowAllRecords]]&lt;br /&gt;[[SysCmd]] |
++|[[Collection]] |An array of objects accessible via their index or their name ||[[Count]]&lt;br /&gt;[[Item]]&lt;br /&gt;[[ObjectType]] |[[Add]]&lt;br /&gt;[[Delete|Delete (table-query)]]&lt;br /&gt;[[Remove]]&lt;br /&gt;[[RemoveAll]] |
++!!Forms, dialogs, command bars and controls
++| !Class | !Description | !Collections | !Properties | !Methods |
++|[[Form]] |The representation of an //~OpenOffice/~LibreOffice// database form |[[Controls]]&lt;br /&gt;[[OptionGroup|OptionGroup (Method)]]&lt;br /&gt;[[Properties|Properties (collection)]] |[[AllowAdditions]]&lt;br /&gt;[[AllowDeletions]]&lt;br /&gt;[[AllowEdits]]&lt;br /&gt;[[Bookmark]]&lt;br /&gt;[[Caption]]&lt;br /&gt;[[CurrentRecord]]&lt;br /&gt;[[Filter]]&lt;br /&gt;[[FilterOn]]&lt;br /&gt;[[Height]]&lt;br /&gt;[[IsLoaded]]&lt;br /&gt;[[Name]]&lt;br /&gt;[[ObjectType]]&lt;br /&gt;[[On ... form events|On (form event)]]&lt;br /&gt;[[OpenArgs]]&lt;br /&gt;[[OrderBy]]&lt;br /&gt;[[OrderByOn]]&lt;br /&gt;[[Recordset|Recordset (property)]]&lt;br /&gt;[[RecordSource]]&lt;br /&gt;[[Visible]]&lt;br /&gt;[[Width]] |[[Close]]&lt;br /&gt;[[CurrentDb]]&lt;br /&gt;[[Move]]&lt;br /&gt;[[Refresh]]&lt;br /&gt;[[Requery]]&lt;br /&gt;[[SetFocus]] |
++|[[Dialog]] |The representation of a Basic dialog |[[Controls]]&lt;br /&gt;[[OptionGroup|OptionGroup (Method)]]&lt;br /&gt;[[Properties|Properties (collection)]] |[[Caption]]&lt;br /&gt;[[Height]]&lt;br /&gt;[[IsLoaded]]&lt;br /&gt;[[Name]]&lt;br /&gt;[[ObjectType]]&lt;br /&gt;[[Visible]]&lt;br /&gt;[[Width]] |[[Execute|Execute (dialog)]]&lt;br /&gt;[[Move]]&lt;br /&gt;[[Start]]&lt;br /&gt;[[Terminate]] |
++|[[CommandBar]] |Identifies a toolbar, a menubar or the statusbar. |[[CommandBarControls]]&lt;br /&gt;[[Controls]]&lt;br /&gt;[[Properties|Properties (collection)]] |[[BuiltIn]]&lt;br /&gt;[[Name]]&lt;br /&gt;[[ObjectType]]&lt;br /&gt;[[Visible]] |[[Reset]] |
++|[[Control]] |The representation of a control within a Form, a Dialog, a ~SubForm or an ~OptionGroup |[[Controls]]&lt;br /&gt;[[Properties|Properties (collection)]] |[[BackColor]]&lt;br /&gt;[[BorderColor]]&lt;br /&gt;[[BorderStyle]]&lt;br /&gt;[[Cancel]]&lt;br /&gt;[[Caption]]&lt;br /&gt;[[ControlSource]]&lt;br /&gt;[[ControlTipText]]&lt;br /&gt;[[ControlType]]&lt;br /&gt;[[Count]]&lt;br /&gt;[[Default]]&lt;br /&gt;[[DefaultValue]]&lt;br /&gt;[[Enabled]]&lt;br /&gt;[[FontBold]]&lt;br /&gt;[[FontItalic]]&lt;br /&gt;[[FontName]]&lt;br /&gt;[[FontSize]]&lt;br /&gt;[[FontUnderline]]&lt;br /&gt;[[FontWeight]]&lt;br /&gt;[[ForeColor]]&lt;br /&gt;[[Form|Form (subform)]]&lt;br /&gt;[[Format]]&lt;br /&gt;[[ItemData]]&lt;br /&gt;[[ListCount]]&lt;br /&gt;[[ListIndex]]&lt;br /&gt;[[Locked]]&lt;br /&gt;[[MultiSelect]]&lt;br /&gt;[[Name]]&lt;br /&gt;[[ObjectType]]&lt;br /&gt;[[On ... control events|On (control event)]]&lt;br /&gt;[[OptionValue]]&lt;br /&gt;[[Parent]]&lt;br /&gt;[[Picture]]&lt;br /&gt;[[Required]]&lt;br /&gt;[[RowSource]]&lt;br /&gt;[[RowSourceType]]&lt;br /&gt;[[Selected]]&lt;br /&gt;[[SelLength]]&lt;br /&gt;[[SelStart]]&lt;br /&gt;[[SelText]]&lt;br /&gt;[[SubType]]&lt;br /&gt;[[TabIndex]]&lt;br /&gt;[[TabStop]]&lt;br /&gt;[[Tag]]&lt;br /&gt;[[Text]]&lt;br /&gt;[[TextAlign]]&lt;br /&gt;[[TripleState]]&lt;br /&gt;[[Value]]&lt;br /&gt;[[Visible]] |[[AddItem]]&lt;br /&gt;[[RemoveItem]]&lt;br /&gt;[[Requery]]&lt;br /&gt;[[SetFocus]] |
++|[[SubForm]] |Identifies a specific control which is a subform of a database form or another subform |[[Controls]]&lt;br /&gt;[[OptionGroup|OptionGroup (Method)]]&lt;br /&gt;[[Properties|Properties (collection)]] |[[AllowAdditions]]&lt;br /&gt;[[AllowDeletions]]&lt;br /&gt;[[AllowEdits]]&lt;br /&gt;[[Filter]]&lt;br /&gt;[[FilterOn]]&lt;br /&gt;[[LinkChildFields]]&lt;br /&gt;[[LinkMasterFields]]&lt;br /&gt;[[Name]]&lt;br /&gt;[[ObjectType]]&lt;br /&gt;[[On ... form events|On (form event)]]&lt;br /&gt;[[OrderBy]]&lt;br /&gt;[[OrderByOn]]&lt;br /&gt;[[Parent]]&lt;br /&gt;[[Recordset|Recordset (property)]]&lt;br /&gt;[[RecordSource]] |[[Refresh]]&lt;br /&gt;[[Requery]] |
++|[[OptionGroup]] |Identifies a group of specific controls, i.e. radio buttons. |[[Controls]]&lt;br /&gt;[[Properties|Properties (collection)]] |[[Count]]&lt;br /&gt;[[Name]]&lt;br /&gt;[[ObjectType]]&lt;br /&gt;[[Value]] ||
++|[[CommandBarControl]] |Identifies a control within a ~CommandBar. |[[Execute|Execute (commandbarcontrol)]]&lt;br /&gt;[[Properties|Properties (collection)]] |[[BeginGroup]]&lt;br /&gt;[[BuiltIn]]&lt;br /&gt;[[Caption]]&lt;br /&gt;[[Index]]&lt;br /&gt;[[ObjectType]]&lt;br /&gt;[[OnAction]]&lt;br /&gt;[[Parent]]&lt;br /&gt;[[TooltipText]]&lt;br /&gt;[[Type]]&lt;br /&gt;[[Visible]] |
++!!Database access
++| !Class | !Description | !Collections | !Properties | !Methods |
++|[[Database]] |One of the databases to which the application is connected |[[Properties|Properties (collection)]]&lt;br /&gt;[[TableDefs]]&lt;br /&gt;[[QueryDefs]]&lt;br /&gt;[[Recordsets]]|[[Connect]]&lt;br /&gt;[[Name]]&lt;br /&gt;[[ObjectType]]&lt;br /&gt;[[Version]] |[[Close|Close (method)]]&lt;br /&gt;[[CloseAllRecordsets]]&lt;br /&gt;[[CreateQueryDef]]&lt;br /&gt;[[DAvg]]&lt;br /&gt;[[DCount]]&lt;br /&gt;[[DLookup]]&lt;br /&gt;[[DMin, DMax]]&lt;br /&gt;[[DStDev, DStDevP]]&lt;br /&gt;[[DSum]]&lt;br /&gt;[[DVar, DVarP]]&lt;br /&gt;[[OpenRecordset]] |
++|[[TableDef]] |The representation of a Table. |[[Fields]]&lt;br /&gt;[[Properties|Properties (collection)]] |[[Name]]&lt;br /&gt;[[ObjectType]] |[[OpenRecordset]] |
++|[[QueryDef]] |The representation of a Query. |[[Fields]]&lt;br /&gt;[[Properties|Properties (collection)]] |[[Name]]&lt;br /&gt;[[ObjectType]]&lt;br /&gt;[[SQL]]&lt;br /&gt;[[Type]] |[[Execute|Execute (query)]]&lt;br /&gt;[[OpenRecordset]] |
++|[[Recordset]] |The representation of a set of records from a table, a query or a SQL statement. |[[Fields]]&lt;br /&gt;[[Properties|Properties (collection)]] |[[AbsolutePosition]]&lt;br /&gt;[[BOF|BOF, EOF]]&lt;br /&gt;[[Bookmark]]&lt;br /&gt;[[Bookmarkable]]&lt;br /&gt;[[EditMode]]&lt;br /&gt;[[EOF|BOF, EOF]]&lt;br /&gt;[[Filter]]&lt;br /&gt;[[Name]]&lt;br /&gt;[[ObjectType]]&lt;br /&gt;[[RecordCount]] |[[AddNew]]&lt;br /&gt;[[CancelUpdate]]&lt;br /&gt;[[Clone]]&lt;br /&gt;[[Close|Close (method)]]&lt;br /&gt;[[Delete]]&lt;br /&gt;[[Edit]]&lt;br /&gt;[[GetRows]]&lt;br /&gt;[[Move|Move (recordset)]]&lt;br /&gt;[[MoveFirst|Move (recordset)]]&lt;br /&gt;[[MoveLast|Move (recordset)]]&lt;br /&gt;[[MoveNext|Move (recordset)]]&lt;br /&gt;[[MovePrevious|Move (recordset)]]&lt;br /&gt;[[OpenRecordset]]&lt;br /&gt;[[Update]] |
++|[[Field]] |The representation of a field of a table, a query or a recordset. |[[Properties|Properties (collection)]] |[[DataType]]&lt;br /&gt;[[DataUpdatable]]&lt;br /&gt;[[DbType|DataType]]&lt;br /&gt;[[DefaultValue]]&lt;br /&gt;[[Description]]&lt;br /&gt;[[FieldSize]]&lt;br /&gt;[[Name]]&lt;br /&gt;[[ObjectType]]&lt;br /&gt;[[Size]]&lt;br /&gt;[[SourceField]]&lt;br /&gt;[[SourceTable]]&lt;br /&gt;[[TypeName|DataType]]&lt;br /&gt;[[Value|Value (field)]] |[[AppendChunk]]&lt;br /&gt;[[GetChunk]]&lt;br /&gt;[[ReadAllBytes]]&lt;br /&gt;[[ReadAllText]]&lt;br /&gt;[[WriteAllBytes]]&lt;br /&gt;[[WriteAllText]] |
++!!Other
++| !Class | !Description | !Collections | !Properties | !Methods |
++|[[Property]] |A name-value pair allowing objects introspection (see below) ||[[Name]]&lt;br /&gt;[[ObjectType]]&lt;br /&gt;[[Value]] ||
++|[[TempVar]] |The representation of a temporary variable ||[[Name]]&lt;br /&gt;[[ObjectType]]&lt;br /&gt;[[Value]] ||
++|[[Event|Events]] |A description of an occurred form, dialog or control event ||~ButtonLeft&lt;br /&gt;~ButtonMiddle&lt;br /&gt;~ButtonRight&lt;br /&gt;~ClickCount&lt;br /&gt;~ContextShortcut&lt;br /&gt;~EventName&lt;br /&gt;~EventSource&lt;br /&gt;~EventType&lt;br /&gt;~FocusChangeTemporary&lt;br /&gt;~KeyAlt&lt;br /&gt;~KeyChar&lt;br /&gt;~KeyCode&lt;br /&gt;~KeyCtrl&lt;br /&gt;~KeyFunction&lt;br /&gt;~KeyShift&lt;br /&gt;[[ObjectType]]&lt;br /&gt;Recommendation&lt;br /&gt;~RowChangeAction&lt;br /&gt;Source&lt;br /&gt;~SubComponentName&lt;br /&gt;~SubComponentType&lt;br /&gt;~XPos&lt;br /&gt;~YPos ||
++|[[Module]] |The representation of a Basic script ||[[CountOfDeclarationLines]]&lt;br /&gt;[[CountOfLines]]&lt;br /&gt;[[Lines]]&lt;br /&gt;[[Name]]&lt;br /&gt;[[ObjectType]]&lt;br /&gt;[[ProcBodyLine]]&lt;br /&gt;[[ProcCountLines]]&lt;br /&gt;[[ProcOfLine]]&lt;br /&gt;[[ProcStartLine]]&lt;br /&gt;[[Type]] |[[Find]] |
++The object class is returned for all objects as a string by the [[ObjectType]] property.
++!Remark about the //Application// and //~DoCmd// classes
++The //Application// and //~DoCmd// classes may be instantiated only once. Their instance MUST be called {{{Application}}} and {{{DoCmd}}} respectively. In fact they are implemented as module names.
++As an example, it is equivalent to write next statements:
++//{{{
++ DoCmd.OpenForm &quot;anyform&quot;
++//}}}
++or
++//{{{
++ OpenForm &quot;anyform&quot;
++//}}}
++This complies with the //~MSAccess// object model. Additionally this freedom solves potential homonymy issues between concurrent Basic libraries.
++!Collections - Functions returning objects
++Objects are created by the invocation of specific functions included in the API. In the calling procedure an object is defined as a variable of type //Object//.
++Example:
++//{{{
++Dim ofForm As Object ' Variant would also be correct
++ Set ofForm = AllForms(&quot;myForm&quot;) ' The Set verb is mandatory in MSAccess but optional in AOO/LibO Basic
++//}}}
++{{{ofForm}}} contains after execution the instance of an object of class Form.
++{{{AllForms}}} is called a [[collection|Collection]]. Individual members of a collection are reachable either by their index or by their name.
++!Properties
++!!!Property types
++Within an object class one can distinguish in the current documentation next 2 property types:
++| !Type of property | !Description |
++|UNO |The property refers to a UNO object that can be used from user macros to invoke directly alternative properties and methods to those supported by the //~Access2Base// API. |
++|Normal |Where it is really about in the //~Access2Base// software. Such a property complies with or is close to the //~MSAccess// object model. |
++!!!Property names
++The names of the properties are identical to their equivalent in //~MSAccess//.
++However
++*the semantics of the property might differ more or less,
++*their arguments might differ,
++*the returned values might be different.
++Read the documentation about each individual property for more info.
++!!!Get properties
++To get the value of a __normal__ property named &quot;~MyProperty&quot;, write :
++{{indent{{{{vValue = myObject.MyProperty}}}
++Depending on the context an error message can be generated stopping the execution of the macro. The error message can be issued either by AOO/~LibO Basic or by the API.
++
++If the property is an array use :
++{{indent{{{{vValue = myObject.MyProperty(i)}}}
++!!!Set properties
++To set the value of a __normal__ property named &quot;~MyProperty&quot;, use next syntax :
++{{indent{{{{myObject.MyProperty[(i)] = vValue}}}
++the optional argument being the index if the property returns an array.
++
++The macro will be stopped if the property setting failed.
++!!!Indirection
++To get the value of a __normal__ property of an object, one can write also:
++{{indent{{{{vValue = myObject.getProperty(&quot;MyProperty&quot;[, i])}}}
++
++To set its value:
++{{indent{{{{myObject.setProperty(&quot;MyProperty&quot;, vValue[, i])}}}
++!!!Introspection
++Finally it is possible to get the value of ALL normal properties of an object with the //Properties// function as in next example:
++//{{{
++Dim ofForm As Object, i As Integer, oProperty As Object
++ Set ofForm = AllForms(&quot;myForm&quot;)
++ For i = 0 To ofForm.Properties().Count - 1
++ Set oProperty = ofForm.Properties(i)
++ Print oProperty.Name &amp; &quot; = &quot; &amp; oProperty.Value &amp; &quot; / &quot;,
++ Next i
++ Print
++//}}}
++Additionally all objects have a {{{hasProperty}}} method indicating if the given property argument is applicable or not, like in:
++//{{{
++Dim ofForm As Object
++ Set ofForm = AllForms(&quot;myForm&quot;)
++ If ofForm.hasProperty(&quot;AllowEdits&quot;) Then
++ ...
++ End If
++//}}}
++!Methods
++!!!Method names
++The names of the methods are identical to their equivalent in //~MSAccess//.
++However
++*when the name is a ''reserved word'' in AOO/~LibO Basic the name is preceded by a &quot;m&quot; (like in method). E.g. //mClose// replaces //Close//,
++*the semantics of the method might differ more or less,
++*the arguments might be different in number or in admitted values or value types.
++Read the documentation about each individual method for more info.
++!!!Syntax
++Example:
++//{{{
++Dim ofForm As Object
++ Set ofForm = AllForms(&quot;myForm&quot;)
++ ofForm.Move(100, 200)
++//}}}
++!Compatibility
++Existing programs written with //~Access2Base// in versions older than 0.9.0 ''will not run normally''. The invocation of properties and methods like in
++&gt;{{{getPROPERTY(OBJECT)}}}
++&gt;{{{setPROPERTY(OBJECT, }}}//value//{{{)}}}
++&gt;{{{METHOD(OBJECT, }}}//arg1, ...//{{{)}}
++''is not supported anymore as from ~Access2Base 1.7.0''.
++</pre>
++</div>
++<div title="ObjectType" modifier="Jean-Pierre Ledure" created="201212281353" modified="201612181034" tags="Properties" changecount="7">
++<pre>The //~ObjectType// property specifies the type of an [[object|Object Model]].
++!!!Applies to ...
++| !Object |!Description |
++|[[Collection]] |A collection of objects |
++|[[CommandBar]] |A toolbar or a menu |
++|[[CommandBarControl]] |An element within a ~CommandBar |
++|[[Control]] |A control of an open form |
++|[[Database]] |The current database object |
++|[[Dialog]] |A dialog, active or not |
++|[[Event]] |An event object triggered by a form or control event |
++|[[Field]] |A field of a table, a query or a recordset |
++|[[Form]] |A form, open or not |
++|[[Module]] |A Basic script |
++|[[OptionGroup]] |A group of radio buttons |
++|[[Property]] |A property of an object |
++|[[QueryDef]] |A stored query definition |
++|[[Recordset]] |A set of records related to a table, a query or a SQL statement |
++|[[SubForm]] |A subform of an open form |
++|[[TableDef]] |A stored table definition |
++|[[TempVar]] |A temporary variable |
++!!!Syntax and returned values
++| !Syntax | !Returned string |
++|//collection//{{{.ObjectType}}} |&quot;COLLECTION&quot; |
++|//commandbar//{{{.ObjectType}}} |&quot;COMMANDBAR&quot; |
++|//commandbarcontrol//{{{.ObjectType}}} |&quot;COMMANDBARCONTROL&quot; |
++|//control//{{{.ObjectType}}} |&quot;CONTROL&quot; |
++|//database//{{{.ObjectType}}} |&quot;DATABASE&quot; |
++|//dialog//{{{.ObjectType}}} |&quot;DIALOG&quot; |
++|//event//{{{.ObjectType}}} |&quot;EVENT&quot; |
++|//field//{{{.ObjectType}}} |&quot;FIELD&quot; |
++|//form//{{{.ObjectType}}} |&quot;FORM&quot; |
++|//module//{{{.ObjectType}}} |&quot;MODULE&quot; |
++|//optiongroup//{{{.ObjectType}}} |&quot;OPTIONGROUP&quot; |
++|//property//{{{.ObjectType}}} |&quot;PROPERTY&quot; |
++|//querydef//{{{.ObjectType}}} |&quot;QUERYDEF&quot; |
++|//recordset//{{{.ObjectType}}} |&quot;RECORDSET&quot; |
++|//subform//{{{.ObjectType}}} |&quot;SUBFORM&quot; |
++|//tabledef//{{{.ObjectType}}} |&quot;TABLEDEF&quot; |
++|//tempvar//{{{.ObjectType}}} |&quot;TEMPVAR&quot; |
++!!!Remarks
++The //~ObjectType// property is read-only.</pre>
++</div>
++<div title="Objects" modifier="Jean-Pierre Ledure" created="201106260832" modified="201106260845" tags="Menu">
++<pre></pre>
++</div>
++<div title="On (control event)" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201611181607" modified="201710291452" tags="Properties" changecount="37">
++<pre>The //on ... control events// properties set or return the Basic script function which is executed when the event occurs.
++!!!Applies to ...
++The list below details which event is applicable on which control type. Additionally a distinction is made depending on the location of the control: within a [[form|Form]] (or [[subform|SubForm]]), a [[dialog|Dialog]] or a [[grid control|GridControl]].
++The last column indicates how the event is displayed in the properties box related to the control when the form or dialog is being edited.
++|!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;EVENT| !&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;When applied to ... | !&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;C&amp;nbsp;&lt;br /&gt;&amp;nbsp;h&amp;nbsp;&lt;br /&gt;&amp;nbsp;e&amp;nbsp;&lt;br /&gt;&amp;nbsp;c&amp;nbsp;&lt;br /&gt;&amp;nbsp;k&amp;nbsp;&lt;br /&gt;&amp;nbsp;B&amp;nbsp;&lt;br /&gt;&amp;nbsp;o&amp;nbsp;&lt;br /&gt;&amp;nbsp;x&amp;nbsp; | !&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;C&amp;nbsp;&lt;br /&gt;&amp;nbsp;o&amp;nbsp;&lt;br /&gt;&amp;nbsp;m&amp;nbsp;&lt;br /&gt;&amp;nbsp;b&amp;nbsp;&lt;br /&gt;&amp;nbsp;o&amp;nbsp;&lt;br /&gt;&amp;nbsp;B&amp;nbsp;&lt;br /&gt;&amp;nbsp;o&amp;nbsp;&lt;br /&gt;&amp;nbsp;x&amp;nbsp; | !&lt;br /&gt;&amp;nbsp;C&amp;nbsp;&lt;br /&gt;&amp;nbsp;o&amp;nbsp;&lt;br /&gt;&amp;nbsp;m&amp;nbsp;&lt;br /&gt;&amp;nbsp;m&amp;nbsp;&lt;br /&gt;&amp;nbsp;a&amp;nbsp;&lt;br /&gt;&amp;nbsp;n&amp;nbsp;&lt;br /&gt;&amp;nbsp;d&amp;nbsp;&lt;br /&gt;&amp;nbsp;B&amp;nbsp;&lt;br /&gt;&amp;nbsp;u&amp;nbsp;&lt;br /&gt;&amp;nbsp;t&amp;nbsp;&lt;br /&gt;&amp;nbsp;t&amp;nbsp;&lt;br /&gt;&amp;nbsp;o&amp;nbsp;&lt;br /&gt;&amp;nbsp;n&amp;nbsp; | !&lt;br /&gt;&amp;nbsp;C&amp;nbsp;&lt;br /&gt;&amp;nbsp;u&amp;nbsp;&lt;br /&gt;&amp;nbsp;r&amp;nbsp;&lt;br /&gt;&amp;nbsp;r&amp;nbsp;&lt;br /&gt;&amp;nbsp;e&amp;nbsp;&lt;br /&gt;&amp;nbsp;n&amp;nbsp;&lt;br /&gt;&amp;nbsp;c&amp;nbsp;&lt;br /&gt;&amp;nbsp;y&amp;nbsp;&lt;br /&gt;&amp;nbsp;F&amp;nbsp;&lt;br /&gt;&amp;nbsp;i&amp;nbsp;&lt;br /&gt;&amp;nbsp;e&amp;nbsp;&lt;br /&gt;&amp;nbsp;l&amp;nbsp;&lt;br /&gt;&amp;nbsp;d&amp;nbsp; | !&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;D&amp;nbsp;&lt;br /&gt;&amp;nbsp;a&amp;nbsp;&lt;br /&gt;&amp;nbsp;t&amp;nbsp;&lt;br /&gt;&amp;nbsp;e&amp;nbsp;&lt;br /&gt;&amp;nbsp;F&amp;nbsp;&lt;br /&gt;&amp;nbsp;i&amp;nbsp;&lt;br /&gt;&amp;nbsp;e&amp;nbsp;&lt;br /&gt;&amp;nbsp;l&amp;nbsp;&lt;br /&gt;&amp;nbsp;d&amp;nbsp; | !&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;F&amp;nbsp;&lt;br /&gt;&amp;nbsp;i&amp;nbsp;&lt;br /&gt;&amp;nbsp;l&amp;nbsp;&lt;br /&gt;&amp;nbsp;e&amp;nbsp;&lt;br /&gt;&amp;nbsp;C&amp;nbsp;&lt;br /&gt;&amp;nbsp;o&amp;nbsp;&lt;br /&gt;&amp;nbsp;n&amp;nbsp;&lt;br /&gt;&amp;nbsp;t&amp;nbsp;&lt;br /&gt;&amp;nbsp;r&amp;nbsp;&lt;br /&gt;&amp;nbsp;o&amp;nbsp;&lt;br /&gt;&amp;nbsp;l&amp;nbsp; | !&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;F&amp;nbsp;&lt;br /&gt;&amp;nbsp;i&amp;nbsp;&lt;br /&gt;&amp;nbsp;x&amp;nbsp;&lt;br /&gt;&amp;nbsp;e&amp;nbsp;&lt;br /&gt;&amp;nbsp;d&amp;nbsp;&lt;br /&gt;&amp;nbsp;L&amp;nbsp;&lt;br /&gt;&amp;nbsp;i&amp;nbsp;&lt;br /&gt;&amp;nbsp;n&amp;nbsp;&lt;br /&gt;&amp;nbsp;e&amp;nbsp; | !&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;F&amp;nbsp;&lt;br /&gt;&amp;nbsp;i&amp;nbsp;&lt;br /&gt;&amp;nbsp;x&amp;nbsp;&lt;br /&gt;&amp;nbsp;e&amp;nbsp;&lt;br /&gt;&amp;nbsp;d&amp;nbsp;&lt;br /&gt;&amp;nbsp;T&amp;nbsp;&lt;br /&gt;&amp;nbsp;e&amp;nbsp;&lt;br /&gt;&amp;nbsp;x&amp;nbsp;&lt;br /&gt;&amp;nbsp;t&amp;nbsp; | !&amp;nbsp;F&amp;nbsp;&lt;br /&gt;&amp;nbsp;o&amp;nbsp;&lt;br /&gt;&amp;nbsp;r&amp;nbsp;&lt;br /&gt;&amp;nbsp;m&amp;nbsp;&lt;br /&gt;&amp;nbsp;a&amp;nbsp;&lt;br /&gt;&amp;nbsp;t&amp;nbsp;&lt;br /&gt;&amp;nbsp;t&amp;nbsp;&lt;br /&gt;&amp;nbsp;e&amp;nbsp;&lt;br /&gt;&amp;nbsp;d&amp;nbsp;&lt;br /&gt;&amp;nbsp;F&amp;nbsp;&lt;br /&gt;&amp;nbsp;i&amp;nbsp;&lt;br /&gt;&amp;nbsp;e&amp;nbsp;&lt;br /&gt;&amp;nbsp;l&amp;nbsp;&lt;br /&gt;&amp;nbsp;d&amp;nbsp; | !&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;G&amp;nbsp;&lt;br /&gt;&amp;nbsp;r&amp;nbsp;&lt;br /&gt;&amp;nbsp;i&amp;nbsp;&lt;br /&gt;&amp;nbsp;d&amp;nbsp;&lt;br /&gt;&amp;nbsp;C&amp;nbsp;&lt;br /&gt;&amp;nbsp;o&amp;nbsp;&lt;br /&gt;&amp;nbsp;n&amp;nbsp;&lt;br /&gt;&amp;nbsp;t&amp;nbsp;&lt;br /&gt;&amp;nbsp;r&amp;nbsp;&lt;br /&gt;&amp;nbsp;o&amp;nbsp;&lt;br /&gt;&amp;nbsp;l&amp;nbsp; | !&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;G&amp;nbsp;&lt;br /&gt;&amp;nbsp;r&amp;nbsp;&lt;br /&gt;&amp;nbsp;o&amp;nbsp;&lt;br /&gt;&amp;nbsp;u&amp;nbsp;&lt;br /&gt;&amp;nbsp;p&amp;nbsp;&lt;br /&gt;&amp;nbsp;B&amp;nbsp;&lt;br /&gt;&amp;nbsp;o&amp;nbsp;&lt;br /&gt;&amp;nbsp;x&amp;nbsp; | !&lt;br /&gt;&amp;nbsp;H&amp;nbsp;&lt;br /&gt;&amp;nbsp;i&amp;nbsp;&lt;br /&gt;&amp;nbsp;d&amp;nbsp;&lt;br /&gt;&amp;nbsp;d&amp;nbsp;&lt;br /&gt;&amp;nbsp;e&amp;nbsp;&lt;br /&gt;&amp;nbsp;n&amp;nbsp;&lt;br /&gt;&amp;nbsp;C&amp;nbsp;&lt;br /&gt;&amp;nbsp;o&amp;nbsp;&lt;br /&gt;&amp;nbsp;n&amp;nbsp;&lt;br /&gt;&amp;nbsp;t&amp;nbsp;&lt;br /&gt;&amp;nbsp;r&amp;nbsp;&lt;br /&gt;&amp;nbsp;o&amp;nbsp;&lt;br /&gt;&amp;nbsp;l&amp;nbsp; | !&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;I&amp;nbsp;&lt;br /&gt;&amp;nbsp;m&amp;nbsp;&lt;br /&gt;&amp;nbsp;a&amp;nbsp;&lt;br /&gt;&amp;nbsp;g&amp;nbsp;&lt;br /&gt;&amp;nbsp;e&amp;nbsp;&lt;br /&gt;&amp;nbsp;B&amp;nbsp;&lt;br /&gt;&amp;nbsp;u&amp;nbsp;&lt;br /&gt;&amp;nbsp;t&amp;nbsp;&lt;br /&gt;&amp;nbsp;t&amp;nbsp;&lt;br /&gt;&amp;nbsp;o&amp;nbsp;&lt;br /&gt;&amp;nbsp;n&amp;nbsp; | !&lt;br /&gt;&lt;br /&gt;&amp;nbsp;I&amp;nbsp;&lt;br /&gt;&amp;nbsp;m&amp;nbsp;&lt;br /&gt;&amp;nbsp;a&amp;nbsp;&lt;br /&gt;&amp;nbsp;g&amp;nbsp;&lt;br /&gt;&amp;nbsp;e&amp;nbsp;&lt;br /&gt;&amp;nbsp;C&amp;nbsp;&lt;br /&gt;&amp;nbsp;o&amp;nbsp;&lt;br /&gt;&amp;nbsp;n&amp;nbsp;&lt;br /&gt;&amp;nbsp;t&amp;nbsp;&lt;br /&gt;&amp;nbsp;r&amp;nbsp;&lt;br /&gt;&amp;nbsp;o&amp;nbsp;&lt;br /&gt;&amp;nbsp;l&amp;nbsp; | !&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;L&amp;nbsp;&lt;br /&gt;&amp;nbsp;i&amp;nbsp;&lt;br /&gt;&amp;nbsp;s&amp;nbsp;&lt;br /&gt;&amp;nbsp;t&amp;nbsp;&lt;br /&gt;&amp;nbsp;B&amp;nbsp;&lt;br /&gt;&amp;nbsp;o&amp;nbsp;&lt;br /&gt;&amp;nbsp;x&amp;nbsp; | !&lt;br /&gt;&amp;nbsp;N&amp;nbsp;&lt;br /&gt;&amp;nbsp;a&amp;nbsp;&lt;br /&gt;&amp;nbsp;v&amp;nbsp;&lt;br /&gt;&amp;nbsp;i&amp;nbsp;&lt;br /&gt;&amp;nbsp;g&amp;nbsp;&lt;br /&gt;&amp;nbsp;a&amp;nbsp;&lt;br /&gt;&amp;nbsp;t&amp;nbsp;&lt;br /&gt;&amp;nbsp;i&amp;nbsp;&lt;br /&gt;&amp;nbsp;o&amp;nbsp;&lt;br /&gt;&amp;nbsp;n&amp;nbsp;&lt;br /&gt;&amp;nbsp;B&amp;nbsp;&lt;br /&gt;&amp;nbsp;a&amp;nbsp;&lt;br /&gt;&amp;nbsp;r&amp;nbsp; | !&lt;br /&gt;&lt;br /&gt;&amp;nbsp;N&amp;nbsp;&lt;br /&gt;&amp;nbsp;u&amp;nbsp;&lt;br /&gt;&amp;nbsp;m&amp;nbsp;&lt;br /&gt;&amp;nbsp;e&amp;nbsp;&lt;br /&gt;&amp;nbsp;r&amp;nbsp;&lt;br /&gt;&amp;nbsp;i&amp;nbsp;&lt;br /&gt;&amp;nbsp;c&amp;nbsp;&lt;br /&gt;&amp;nbsp;F&amp;nbsp;&lt;br /&gt;&amp;nbsp;i&amp;nbsp;&lt;br /&gt;&amp;nbsp;e&amp;nbsp;&lt;br /&gt;&amp;nbsp;l&amp;nbsp;&lt;br /&gt;&amp;nbsp;d&amp;nbsp; | !&lt;br /&gt;&lt;br /&gt;&amp;nbsp;P&amp;nbsp;&lt;br /&gt;&amp;nbsp;a&amp;nbsp;&lt;br /&gt;&amp;nbsp;t&amp;nbsp;&lt;br /&gt;&amp;nbsp;t&amp;nbsp;&lt;br /&gt;&amp;nbsp;e&amp;nbsp;&lt;br /&gt;&amp;nbsp;r&amp;nbsp;&lt;br /&gt;&amp;nbsp;n&amp;nbsp;&lt;br /&gt;&amp;nbsp;F&amp;nbsp;&lt;br /&gt;&amp;nbsp;i&amp;nbsp;&lt;br /&gt;&amp;nbsp;e&amp;nbsp;&lt;br /&gt;&amp;nbsp;l&amp;nbsp;&lt;br /&gt;&amp;nbsp;d&amp;nbsp; | !&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;P&amp;nbsp;&lt;br /&gt;&amp;nbsp;r&amp;nbsp;&lt;br /&gt;&amp;nbsp;o&amp;nbsp;&lt;br /&gt;&amp;nbsp;g&amp;nbsp;&lt;br /&gt;&amp;nbsp;r&amp;nbsp;&lt;br /&gt;&amp;nbsp;e&amp;nbsp;&lt;br /&gt;&amp;nbsp;s&amp;nbsp;&lt;br /&gt;&amp;nbsp;s&amp;nbsp;&lt;br /&gt;&amp;nbsp;B&amp;nbsp;&lt;br /&gt;&amp;nbsp;a&amp;nbsp;&lt;br /&gt;&amp;nbsp;r&amp;nbsp; | !&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;R&amp;nbsp;&lt;br /&gt;&amp;nbsp;a&amp;nbsp;&lt;br /&gt;&amp;nbsp;d&amp;nbsp;&lt;br /&gt;&amp;nbsp;i&amp;nbsp;&lt;br /&gt;&amp;nbsp;o&amp;nbsp;&lt;br /&gt;&amp;nbsp;B&amp;nbsp;&lt;br /&gt;&amp;nbsp;u&amp;nbsp;&lt;br /&gt;&amp;nbsp;t&amp;nbsp;&lt;br /&gt;&amp;nbsp;t&amp;nbsp;&lt;br /&gt;&amp;nbsp;o&amp;nbsp;&lt;br /&gt;&amp;nbsp;n&amp;nbsp; | !&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;S&amp;nbsp;&lt;br /&gt;&amp;nbsp;c&amp;nbsp;&lt;br /&gt;&amp;nbsp;r&amp;nbsp;&lt;br /&gt;&amp;nbsp;o&amp;nbsp;&lt;br /&gt;&amp;nbsp;l&amp;nbsp;&lt;br /&gt;&amp;nbsp;l&amp;nbsp;&lt;br /&gt;&amp;nbsp;B&amp;nbsp;&lt;br /&gt;&amp;nbsp;a&amp;nbsp;&lt;br /&gt;&amp;nbsp;r&amp;nbsp; | !&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;S&amp;nbsp;&lt;br /&gt;&amp;nbsp;p&amp;nbsp;&lt;br /&gt;&amp;nbsp;i&amp;nbsp;&lt;br /&gt;&amp;nbsp;n&amp;nbsp;&lt;br /&gt;&amp;nbsp;B&amp;nbsp;&lt;br /&gt;&amp;nbsp;u&amp;nbsp;&lt;br /&gt;&amp;nbsp;t&amp;nbsp;&lt;br /&gt;&amp;nbsp;t&amp;nbsp;&lt;br /&gt;&amp;nbsp;o&amp;nbsp;&lt;br /&gt;&amp;nbsp;n&amp;nbsp; | !&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;S&amp;nbsp;&lt;br /&gt;&amp;nbsp;u&amp;nbsp;&lt;br /&gt;&amp;nbsp;b&amp;nbsp;&lt;br /&gt;&amp;nbsp;F&amp;nbsp;&lt;br /&gt;&amp;nbsp;o&amp;nbsp;&lt;br /&gt;&amp;nbsp;r&amp;nbsp;&lt;br /&gt;&amp;nbsp;m&amp;nbsp; | !&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;T&amp;nbsp;&lt;br /&gt;&amp;nbsp;e&amp;nbsp;&lt;br /&gt;&amp;nbsp;x&amp;nbsp;&lt;br /&gt;&amp;nbsp;t&amp;nbsp;&lt;br /&gt;&amp;nbsp;F&amp;nbsp;&lt;br /&gt;&amp;nbsp;i&amp;nbsp;&lt;br /&gt;&amp;nbsp;e&amp;nbsp;&lt;br /&gt;&amp;nbsp;l&amp;nbsp;&lt;br /&gt;&amp;nbsp;d&amp;nbsp; | !&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;T&amp;nbsp;&lt;br /&gt;&amp;nbsp;i&amp;nbsp;&lt;br /&gt;&amp;nbsp;m&amp;nbsp;&lt;br /&gt;&amp;nbsp;e&amp;nbsp;&lt;br /&gt;&amp;nbsp;F&amp;nbsp;&lt;br /&gt;&amp;nbsp;i&amp;nbsp;&lt;br /&gt;&amp;nbsp;e&amp;nbsp;&lt;br /&gt;&amp;nbsp;l&amp;nbsp;&lt;br /&gt;&amp;nbsp;d&amp;nbsp; | !&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Event as displayed in the (english) Base user interface |
++| ''~OnActionPerformed'' | //Form// |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X ||||||||||||background-color:#eee; X |||||background-color:#eee; X |||||| Execute action |
++|~| //Datagrid// |background-color:#eee; X |||||||||||||||||||||||||~|
++|~| //Dialog// |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X ||||||||||||background-color:#eee; X |||||background-color:#eee; X ||||||~|
++| ''~OnAdjustmentValueChanged'' | //Form// |||||||||||||||||||||background-color:#eee; X |background-color:#eee; X |||| While adjusting |
++|~| //Datagrid// ||||||||||||||||||||||||||~|
++|~| //Dialog// |||||||||||||||||||||background-color:#eee; X |||||~|
++| ''~OnApproveAction'' | //Form// |||background-color:#eee; X ||||||||||background-color:#eee; X ||||||||||||| Approve action |
++|~| //Datagrid// ||||||||||||||||||||||||||~|
++|~| //Dialog// ||||||||||||||||||||||||||~|
++| ''~OnApproveReset'' | //Form// |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |||background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |||background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X | Prior to reset |
++|~| //Datagrid// |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X ||||background-color:#eee; X ||||||background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X ||||||background-color:#eee; X |background-color:#eee; X |~|
++|~| //Dialog// ||||||||||||||||||||||||||~|
++| ''~OnApproveUpdate'' | //Form// ||background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X ||||background-color:#eee; X |background-color:#eee; X |||||background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X |||background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X | Before updating |
++|~| //Datagrid// ||background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X ||||background-color:#eee; X ||||||background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X ||||||background-color:#eee; X |background-color:#eee; X |~|
++|~| //Dialog// ||||||||||||||||||||||||||~|
++| ''~OnChanged'' | //Form// |||||||||||||||background-color:#eee; X |||||||||background-color:#eee; X || Changed |
++|~| //Datagrid// ||||||||||||||||||||||||background-color:#eee; X ||~|
++|~| //Dialog// ||||||||||||||||||||||||||~|
++| ''~OnErrorOccurred'' | //Form// ||background-color:#eee; X |||||||background-color:#eee; X |background-color:#eee; X |||||background-color:#eee; X ||||||||||| Error occurred |
++|~| //Datagrid// ||background-color:#eee; X |||||||background-color:#eee; X ||||||background-color:#eee; X |||||||||||~|
++|~| //Dialog// ||||||||||||||||||||||||||~|
++| ''~OnFocusGained'' | //Form// |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X | When receiving focus |
++|~| //Datagrid// |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X ||||background-color:#eee; X ||||||background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X ||||||background-color:#eee; X |background-color:#eee; X |~|
++|~| //Dialog// |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |||background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |||background-color:#eee; X |background-color:#eee; X |~|
++| ''~OnFocusLost'' | //Form// |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X | When losing focus |
++|~| //Datagrid// |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X ||||background-color:#eee; X ||||||background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X ||||||background-color:#eee; X |background-color:#eee; X |~|
++|~| //Dialog// |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |||background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |||background-color:#eee; X |background-color:#eee; X |~|
++| ''~OnItemStateChanged'' | //Form// |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X ||||||||||||background-color:#eee; X |||||background-color:#eee; X |||||| Item status changed |
++|~| //Datagrid// |background-color:#eee; X |background-color:#eee; X |||||||||||||background-color:#eee; X |||||||||||~|
++|~| //Dialog// |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X ||||||||||||background-color:#eee; X |||||background-color:#eee; X ||||||~|
++| ''~OnKeyPressed'' | //Form// |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X | Key pressed |
++|~| //Datagrid// |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X ||||background-color:#eee; X ||||||background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X ||||||background-color:#eee; X |background-color:#eee; X |~|
++|~| //Dialog// |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |||background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |||background-color:#eee; X |background-color:#eee; X |~|
++| ''~OnKeyReleased'' | //Form// |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X | Key released |
++|~| //Datagrid// |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X ||||background-color:#eee; X ||||||background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X ||||||background-color:#eee; X |background-color:#eee; X |~|
++|~| //Dialog// |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |||background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |||background-color:#eee; X |background-color:#eee; X |~|
++| ''~OnMouseDragged'' | //Form// |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X | Mouse moved while key pressed |
++|~| //Datagrid// |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X ||||background-color:#eee; X ||||||background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X ||||||background-color:#eee; X |background-color:#eee; X |~|
++|~| //Dialog// |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |||background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |||background-color:#eee; X |background-color:#eee; X |~|
++| ''~OnMouseEntered'' | //Form// |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X | Mouse inside |
++|~| //Datagrid// |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X ||||background-color:#eee; X ||||||background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X ||||||background-color:#eee; X |background-color:#eee; X |~|
++|~| //Dialog// |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |||background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |||background-color:#eee; X |background-color:#eee; X |~|
++| ''~OnMouseExited'' | //Form// |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X | Mouse outside |
++|~| //Datagrid// |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X ||||background-color:#eee; X ||||||background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X ||||||background-color:#eee; X |background-color:#eee; X |~|
++|~| //Dialog// |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |||background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |||background-color:#eee; X |background-color:#eee; X |~|
++| ''~OnMouseMoved'' | //Form// |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X | Mouse moved |
++|~| //Datagrid// |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X ||||background-color:#eee; X ||||||background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X ||||||background-color:#eee; X |background-color:#eee; X |~|
++|~| //Dialog// |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |||background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |||background-color:#eee; X |background-color:#eee; X |~|
++| ''~OnMousePressed'' | //Form// |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X | Mouse button pressed |
++|~| //Datagrid// |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X ||||background-color:#eee; X ||||||background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X ||||||background-color:#eee; X |background-color:#eee; X |~|
++|~| //Dialog// |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |||background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |||background-color:#eee; X |background-color:#eee; X |~|
++| ''~OnMouseReleased'' | //Form// |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X | Mouse button released |
++|~| //Datagrid// |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X ||||background-color:#eee; X ||||||background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X ||||||background-color:#eee; X |background-color:#eee; X |~|
++|~| //Dialog// |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |||background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |||background-color:#eee; X |background-color:#eee; X |~|
++| ''~OnResetted'' | //Form// |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |||background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |||background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X | After resetting |
++|~| //Datagrid// |background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X ||||background-color:#eee; X ||||||background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X ||||||background-color:#eee; X |background-color:#eee; X |~|
++|~| //Dialog// ||||||||||||||||||||||||||~|
++| ''~OnTextChanged'' | //Form// ||background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |||background-color:#eee; X ||||||||background-color:#eee; X |background-color:#eee; X ||||||background-color:#eee; X |background-color:#eee; X | Text modified |
++|~| //Datagrid// ||background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X ||||background-color:#eee; X ||||||||background-color:#eee; X |background-color:#eee; X ||||||background-color:#eee; X |background-color:#eee; X |~|
++|~| //Dialog// ||background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X |background-color:#eee; X |||background-color:#eee; X ||||||||background-color:#eee; X |background-color:#eee; X ||||||background-color:#eee; X |background-color:#eee; X |~|
++| ''~OnUpdated'' | //Form// ||background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X ||||background-color:#eee; X |background-color:#eee; X |||||background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X |||background-color:#eee; X |background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X | After updating |
++|~| //Datagrid// ||background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X ||||background-color:#eee; X ||||||background-color:#eee; X ||background-color:#eee; X |background-color:#eee; X ||||||background-color:#eee; X |background-color:#eee; X |~|
++|~| //Dialog// ||||||||||||||||||||||||||~|
++
++!!!Syntax
++//control.//{{{OnActionPerformed}}}
++//control.//{{{OnActionPerformed}}}=//value//
++...etc...
++!!!Returned vales / Arguments
++{{{String}}}
++!!!Remarks
++*The //value// argument or the returned value is a string pointing to a Basic (or other ...) subroutine: see the [[Scripting Framework URI Specification|https://wiki.openoffice.org/wiki/Documentation/DevGuide/Scripting/Scripting_Framework_URI_Specification]] for more info.&lt;br /&gt;E.g.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{{{vnd.sun.star.script:Standard.myModule.myMacro?language=Basic&amp;location=document}}}&lt;br /&gt;designates the {{{myMacro}}} Function or Sub in the {{{myModule}}} module of the Basic {{{Standard}}} library belonging to the current document.&lt;br /&gt;Note that ~Access2Base does not check the validity of the provided argument.
++*Use an empty string (&quot;&quot;) to remove the current setting.
++*The new control events settings will ''NOT'' be saved in the form after its closure.
++!!!Error messages
++|Property 'On...' not applicable in this context |
++|&quot;Value '...' is invalid for property 'On...' |
++!!!See also
++[[On (database event)]]
++[[On (dialog event)]]
++[[On (form event)]]
++!!!Example
++&lt;&lt;tiddler &quot;On control event example&quot;&gt;&gt;</pre>
++</div>
++<div title="On (database event)" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201710291438" modified="201710291451" tags="Properties" changecount="6">
++<pre>The //on ... database events// properties return the Basic script function which is executed when the event occurs.
++!!!Applies to ...
++The list below details which event is applicable on [[database documents|Database]].
++The last column indicates how the event is displayed in the //Events// tab of the //Tools + Customize// dialog box.
++| !EVENT | !DATABASE | !Event as dispayed in the (english) Base user interface |
++|~OnCreate | X |Document created |
++|~OnFocus | X |Activate Document |
++|~OnLoad | X |Open Document |
++|~OnLoadFinished | X |Document loading finished |
++|~OnModifyChanged | X |'Modified’ status was changed |
++|~OnNew | X |New Document |
++|~OnPrepareUnload | X |Document is going to be closed |
++|~OnPrepareViewClosing | X |View is going to be closed |
++|~OnSave | X |Save Document |
++|~OnSaveAs | X |Save Document As |
++|~OnSaveAsDone | X |Document has been saved as |
++|~OnSaveAsFailed | X |'Save as’ has failed |
++|~OnSaveDone | X |Document has been saved |
++|~OnSaveFailed | X |Saving of document failed |
++|~OnSubComponentClosed | X |Closed a sub component |
++|~OnSubComponentOpened | X |Loaded a sub component |
++|~OnTitleChanged | X |Document title changed |
++|~OnUnfocus | X |Deactivate Document |
++|~OnUnload | X |Document closed |
++|~OnViewClosed | X |View closed |
++|~OnViewCreated | X |View created |
++!!!Syntax
++//database.//{{{OnLoad}}}
++...etc...
++!!!Returned value
++{{{String}}}
++!!!Remarks
++*The returned value is a string pointing to a Basic (or other ...) subroutine: see the [[Scripting Framework URI Specification|https://wiki.openoffice.org/wiki/Documentation/DevGuide/Scripting/Scripting_Framework_URI_Specification]] for more info.&lt;br /&gt;E.g.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{{{vnd.sun.star.script:Standard.myModule.myMacro?language=Basic&amp;location=document}}}&lt;br /&gt;designates the {{{myMacro}}} Function or Sub in the {{{myModule}}} module of the Basic {{{Standard}}} library belonging to the current document.&lt;br /&gt;Note that ~Access2Base does not check the validity of the provided argument.
++!!!Error messages
++|Property 'On...' not applicable in this context |
++!!!See also
++[[On (control event)]]
++[[On (dialog event)]]
++[[On (form event)]]</pre>
++</div>
++<div title="On (dialog event)" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201703181602" modified="201710291451" tags="Properties" changecount="8">
++<pre>The //on ... dialog events// properties set or return the Basic script function which is executed when the event occurs.
++!!!Applies to ...
++The list below details which event is applicable on [[dialogs|Dialog]].
++The last column indicates how the event is displayed in the dialog properties box when the dialog is being edited.
++| !EVENT | !DIALOG | !Event as dispayed in the (english) Base user interface |
++|~OnFocusGained | X |When receiving focus |
++|~OnFocusLost | X |When losing focus |
++|~OnKeyPressed | X |Key pressed |
++|~OnKeyReleased | X |Key released |
++|~OnMouseDragged | X |Mouse moved while key pressed |
++|~OnMouseEntered | X |Mouse inside |
++|~OnMouseExited | X |Mouse outside |
++|~OnMouseMoved | X |Mouse moved |
++|~OnMousePressed | X |Mouse button pressed |
++|~OnMouseReleased | X |Mouse button released |
++!!!Syntax
++//dialog.//{{{OnFocusGained}}}
++//dialog.//{{{OnFocusGained}}}=//value//
++...etc...
++!!!Returned values / Arguments
++{{{String}}}
++!!!Remarks
++*The //value// argument or the returned value is a string pointing to a Basic (or other ...) subroutine: see the [[Scripting Framework URI Specification|https://wiki.openoffice.org/wiki/Documentation/DevGuide/Scripting/Scripting_Framework_URI_Specification]] for more info.&lt;br /&gt;E.g.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{{{vnd.sun.star.script:Standard.myModule.myMacro?language=Basic&amp;location=document}}}&lt;br /&gt;designates the {{{myMacro}}} Function or Sub in the {{{myModule}}} module of the Basic {{{Standard}}} library belonging to the current document.&lt;br /&gt;Note that ~Access2Base does not check the validity of the provided argument.
++*Use an empty string (&quot;&quot;) to remove the current setting.
++*The dialog must at least be [[started|Start]] to change the script assigned to an event.
++*The new dialog events settings will ''NOT'' be saved in the dialog library after its closure.
++!!!Error messages
++|Property 'On...' not applicable in this context |
++|&quot;Value '...' is invalid for property 'On...' |
++!!!See also
++[[On (control event)]]
++[[On (database event)]]
++[[On (form event)]]
++!!!Example
++&lt;&lt;tiddler &quot;On dialog event example&quot;&gt;&gt;</pre>
++</div>
++<div title="On (form event)" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201611300920" modified="201710291453" tags="Properties" changecount="10">
++<pre>The //on ... form events// properties set or return the Basic script function which is executed when the event occurs.
++!!!Applies to ...
++The list below details which event is applicable either on [[forms|Form]] or on [[subforms|SubForm]]. In fact, there is no difference.
++The last column indicates how the event is displayed in the form or (subform) control properties box when the form is being edited.
++| !EVENT | !FORM | !SUBFORM | !Event as dispayed in the (english) Base user interface |
++|~OnApproveCursorMove | X | X |Before record change |
++|~OnApproveParameter | X | X |Fill parameters |
++|~OnApproveReset | X | X |Prior to reset |
++|~OnApproveRowChange | X | X |Before record action |
++|~OnApproveSubmit | X | X |Before submitting |
++|~OnConfirmDelete | X | X |Confirm deletion |
++|~OnCursorMoved | X | X |After record change |
++|~OnErrorOccurred | X | X |Error occurred |
++|~OnLoaded | X | X |When loading |
++|~OnReloaded | X | X |When reloading |
++|~OnReloading | X | X |Before reloading |
++|~OnResetted | X | X |After resetting |
++|~OnRowChanged | X | X |After record action |
++|~OnUnloaded | X | X |When unloading |
++|~OnUnloading | X | X |Before unloading |
++!!!Syntax
++//form.//{{{OnApproveCursorMove}}}
++//form.//{{{OnApproveCursorMove}}}=//value//
++//subform.//{{{OnApproveCursorMove}}}
++//subform.//{{{OnApproveCursorMove}}}=//value//
++...etc...
++!!!Returned vales / Arguments
++{{{String}}}
++!!!Remarks
++*The //value// argument or the returned value is a string pointing to a Basic (or other ...) subroutine: see the [[Scripting Framework URI Specification|https://wiki.openoffice.org/wiki/Documentation/DevGuide/Scripting/Scripting_Framework_URI_Specification]] for more info.&lt;br /&gt;E.g.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{{{vnd.sun.star.script:Standard.myModule.myMacro?language=Basic&amp;location=document}}}&lt;br /&gt;designates the {{{myMacro}}} Function or Sub in the {{{myModule}}} module of the Basic {{{Standard}}} library belonging to the current document.&lt;br /&gt;Note that ~Access2Base does not check the validity of the provided argument.
++*Use an empty string (&quot;&quot;) to remove the current setting.
++*The new form events settings will ''NOT'' be saved in the form after its closure.
++!!!Error messages
++|Property 'On...' not applicable in this context |
++|&quot;Value '...' is invalid for property 'On...' |
++!!!See also
++[[On (control event)]]
++[[On (database event)]]
++[[On (dialog event)]]
++!!!Example
++&lt;&lt;tiddler &quot;On form event example&quot;&gt;&gt;</pre>
++</div>
++<div title="On control event example" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201611300838" modified="201611300839" tags="[[Snippets of Code]]" changecount="2">
++<pre>Change the behaviour of the form when a control gets the focus
++//{{{
++Dim ocControl As Object
++ Set ocControl = Application.Forms(&quot;myForm&quot;).Controls(&quot;myControl&quot;)
++ ' Change event &quot;When receiving focus&quot;
++ ocControl.OnFocusGained = &quot;vnd.sun.star.script:Standard.myModule.myFunction?language=Basic&amp;location=document&quot;
++ ' Cancel the event &quot;When losing focus&quot;
++ ocControl.OnFocusLost = &quot;&quot;
++//}}}</pre>
++</div>
++<div title="On dialog event example" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201703181628" tags="[[Snippets of Code]]" changecount="1">
++<pre>Change the behaviour of the dialog when the mouse is pressed anywhere in the perimeter of the dialog
++//{{{
++Dim oDialog As Object
++ Set oDialog = Application.AllDialogs(&quot;myDialog&quot;)
++ oDialog.Start()
++ ' Change event &quot;OnMousePressed&quot;
++ ' The function might return True or False
++ oDialog.OnMousePressed = &quot;vnd.sun.star.script:Standard.myModule.myFunction?language=Basic&amp;location=document&quot;
++ ' Cancel the event &quot;OnKey Pressed&quot;
++ oDialog.OnKeyPressed = &quot;&quot;
++//}}}</pre>
++</div>
++<div title="On form event example" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201611300938" modified="201611300942" tags="[[Snippets of Code]]" changecount="2">
++<pre>Change the behaviour of the form when the user erases a record from a subform
++//{{{
++Dim ocSubForm As Object
++ Set ocSubForm = Application.Forms(&quot;myForm&quot;).Controls(&quot;mySubForm&quot;).Form
++ ' Change event &quot;Confirm deletion&quot;
++ ' The function might return True or False
++ ocSubForm.OnConfirmDelete = &quot;vnd.sun.star.script:Standard.myModule.myFunction?language=Basic&amp;location=document&quot;
++ ' Cancel the event &quot;SQL Error occurred&quot;
++ ocSubForm.OnErrorOccurred = &quot;&quot;
++//}}}</pre>
++</div>
++<div title="OnAction" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201507251218" modified="201507251404" tags="Properties" changecount="16">
++<pre>The //~OnAction// property gets or sets the name of a Basic procedure or a menu-command that will run when the user clicks on a [[CommandBarControl]].
++!!!Applies to ...
++| !Object |!Description |
++|[[CommandBarControl]] |A control belonging to a ~CommandBar. |
++!!!Syntax
++//commandbarcontrol//{{{.OnAction}}}
++//commandbarcontrol//{{{.OnAction}}} = //value//
++!!!Returned value / Argument
++The returned value is always a {{{String}}}.
++The argument may be either an {{{Integer/Long}}} or a {{{String}}}
++!!!Remarks
++The //value// argument can be 1 out of 3 types:
++*any valid argument of the [[RunCommand]] action;
++*any valid command with the leftmost characters = ''{{{&quot;.uno:&quot;}}}'';
++*or a string pointing to a Basic (or other ...) subroutine: see the [[Scripting Framework URI Specification|https://wiki.openoffice.org/wiki/Documentation/DevGuide/Scripting/Scripting_Framework_URI_Specification]] for more info.&lt;br /&gt;E.g.&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{{{vnd.sun.star.script:Standard.myModule.myMacro?language=Basic&amp;location=document}}}&lt;br /&gt;designates the {{{myMacro}}} Function or Sub in the {{{myModule}}} module of the Basic {{{Standard}}} library belonging to the current document.
++!!!Error messages
++|Property '~OnAction' not applicable in this context |
++|Value '...' is invalid for property '~OnAction |
++!!!See also
++[[CommandBar]]
++[[CommandBarControl]]
++[[Execute|Execute (commandbarcontrol)]]
++[[RunCommand]]
++!!!Example
++&lt;&lt;tiddler &quot;CommandBarControl example&quot;&gt;&gt;</pre>
++</div>
++<div title="OpenArgs" modifier="Jean-Pierre Ledure" created="201107181309" modified="201405291627" tags="Properties" changecount="2">
++<pre>The //~OpenArgs// property determines the expression that was passed as argument of an [[OpenForm]] action.
++!!!Applies to ...
++| !Object |!Description |
++|[[Form]] |An open form |
++!!!Syntax
++//form//{{{.OpenArgs}}}
++!!!Returned values
++{{{Variant}}}
++!!!Remarks
++*The //~OpenArgs// property is read-only.
++*Being a variant, the ~OpenArgs argument of the OpenForm action might contain a complex value allowing complex processing (see example).
++*The //form// argument must be the [[object|Object Model]] returned by the OpenForm action. Otherwise, f.i. if the object is the usual output of a [[Forms]] method, the ~OpenArgs property always returns a zero-length string.&lt;br /&gt;__This is a major restriction to the functionality provided by ~MSAccess__.
++*The //~OpenArgs// property applied to a [[standalone form|Standalone Forms]] stored in a non-Base (Writer, Calc, ...) document always returns a zero-length string.
++!!!Error messages
++!!!See also
++[[Tag]]
++!!!Example
++&lt;&lt;tiddler &quot;OpenArgs example&quot;&gt;&gt;</pre>
++</div>
++<div title="OpenArgs example" modifier="Jean-PierreLedure" created="201107181246" modified="201212141454" tags="[[Snippets of Code]]">
++<pre>In a 1st step open a form with the ~OpenArgs argument
++//{{{
++Dim ofForm As Object
++Const acNormal = 0
++ Set ofForm = OpenForm(&quot;myForm&quot;, acNormal, , , , , Array(&quot;MICKEY&quot;, &quot;WINNIE&quot;))
++//}}}
++In a 2nd step compute a filter based on the ~OpenArgs property
++//{{{
++Dim sFilter As String, i As Integer
++ sFilter = &quot;&quot;
++ For i = 0 To UBound(ofForm.OpenArgs)
++ sFilter = sFilter &amp; Iif(i=0, &quot;&quot;, &quot; Or &quot;) &amp; &quot;[EMPLOYEE].[NAME] LIKE '*&quot; &amp; ofForm.OpenArgs(i) &amp; &quot;*'&quot;
++ Next i
++ ofForm.Filter = sFilter
++ ofForm.FilterOn = True
++//}}}</pre>
++</div>
++<div title="OpenConnection" modifier="Jean-Pierre Ledure" created="201201071457" modified="201408311553" tags="Methods" changecount="9">
++<pre>{{firstletter{
++ @@color:#930;T@@
++ }}}he invocation of the //~OpenConnection// as a Sub is mandatory before any other use of the //~Access2Base// API. It initializes the resources needed to process inside the API the subsequent invocations to its methods and actions.
++*If the document is a Base document (suffix = &quot;.odb&quot;) then a link is established with its database.
++*If the document is not a Base document (a Writer, Calc, ... document), then a link is established with each database associated with the [[standalone forms|Standalone Forms]] contained in the document.
++&lt;&lt;tiddler &quot;ApplyApplication&quot;&gt;&gt;
++!!!Syntax when invoked from a usual Base document (.odb file)
++{{{Call [Application.]OpenConnection (ThisDatabaseDocument)}}}
++| !Argument | !Optional | !Type |!Description |
++|{{{ThisDatabaseDocument}}} | No | com.sun.star.comp.dba.~ODatabaseDocument |Must be exactly spelled as is. |
++!!!Syntax when invoked from document containing one or more standalone forms (Writer, Calc, ... file)
++{{{Call [Application.]OpenConnection (ThisComponent)}}}
++| !Argument | !Optional | !Type |!Description |
++|{{{ThisComponent}}} | No | ~SwXTextDocument |Must be exactly spelled as is. |
++!!!Remarks
++*If the access to the database requires a //login// and if not yet done, the user will be prompted for entering a username and a password.
++*The syntax that was valid up to //~Access2Base// version 1.0.0 is still accepted. However the //username// and //password// arguments are ignored.
++!!!See also
++[[CloseConnection]]
++[[CurrentDb]]
++[[Database]]
++[[Install]]
++[[OpenDatabase]]
++[[Standalone Forms]]
++!!!Example
++The Call ~OpenConnection sentence is usually invoked in the macro linked to the //~OpenDocument event// of the (Base or non-Base) document.
++&lt;&lt;tiddler &quot;Openconnection example&quot;&gt;&gt;
++&lt;&lt;tiddler &quot;CurrentDb example&quot;&gt;&gt;
++&lt;&lt;tiddler &quot;Standalone Connect example&quot;&gt;&gt;
++</pre>
++</div>
++<div title="OpenDatabase" modifier="Jean-Pierre Ledure" created="201402161525" modified="201405241306" tags="Methods" changecount="3">
++<pre>{{firstletter{
++ @@color:#930;T@@
++ }}}he //~OpenDatabase// method returns a [[Database]] object that establishes a link with an external database represented by a database document (&quot;.odb&quot; file).
++The returned object allows data retrieval and update in the targeted database.
++&lt;&lt;tiddler &quot;ApplyApplication&quot;&gt;&gt;
++!!!Syntax
++{{{Set }}}//{{{database}}}//{{{ = [Application.]OpenDatabase (connectionstring, [username], [password], [readonly])}}}
++| !Argument | !Optional | !Type |!Description |
++|{{{connectionstring}}} || string |Either&lt;br /&gt;- the name under which the targeted database is //registered//&lt;br /&gt;- or the URL of the &quot;.odb&quot; file referring to the targeted database. |
++|{{{username}}} | Y | string |The connection parameters to the effective database, if any. |
++|{{{password}}} | Y |~|~|
++|{{{readonly}}} | Y | Boolean |If {{{True}}} updates of the database data will be forbidden.&lt;br /&gt;Default = {{{False}}} |
++!!!Remarks
++*The resulting [[Database]] object must be kept by the program in a Basic variable with a scope that is compatible with the duration of the operations done on the database. F.i. a {{{Global}}}, a {{{Static}}} or a module-level {{{Public}}} variable sometimes fit best for that purpose.
++*After use the database should be closed with the [[Close|Close (method)]] method.
++!!!Error messages
++|Connection to the database is not active |
++!!!See also
++[[Close (method)]]
++[[Database]]
++[[CurrentDb]]
++[[OpenConnection]]
++[[Standalone Forms]]
++!!!Example
++&lt;&lt;tiddler &quot;Opendatabase example&quot;&gt;&gt;</pre>
++</div>
++<div title="OpenForm" modifier="Jean-Pierre Ledure" created="201112311435" modified="201409271453" tags="Actions" changecount="8">
++<pre>{{firstletter{
++ @@color:#930;T@@
++ }}}he //~OpenForm// action opens a form in Form view or in form Design view. You can select data entry and window modes for the form and restrict the records that the form displays.
++&lt;&lt;tiddler &quot;ApplyDoCmd&quot;&gt;&gt;
++!!!Syntax
++{{{[DoCmd.]OpenForm(}}}//{{{FormName, View, Filter, WhereCondition, DataMode, WindowMode, OpenArgs}}}//{{{)}}}
++| !Argument | !Optional | !Type&lt;br /&gt;or&lt;br /&gt;Symbol |!Description |
++|{{{FormName}}} | No | String |The name of the form to open. |
++|{{{View}}} | Yes | acDesign&lt;br /&gt;acNormal&lt;br /&gt;acPreview |The view in which the form will open.&lt;br /&gt;//acNormal// and //acPreview// are equivalent. Default is //acNormal//. |
++|{{{Filter}}} |~| String |A valid __SQL WHERE clause__ (without the word WHERE). |
++|{{{WhereCondition}}} |~| String |A valid __SQL WHERE clause__ (without the word WHERE). |
++|{{{DataMode}}} |~| acFormAdd&lt;br /&gt;acFormEdit&lt;br /&gt;acFormPropertySettings&lt;br /&gt;acFormReadOnly |Specifies if the user will be allowed to add new records (//acFormAdd//), add new and edit existing records (//acFormEdit//) or only read existing records (//acFormReadOnly//). //acFormPropertySettings// refers to the settings at form creation.&lt;br /&gt;Only //acFormEdit// alows record deletions. |
++|{{{WindowMode}}} |~| acHidden&lt;br /&gt;acWindowNormal |Default is //acWindowNormal//. |
++|{{{OpenArgs}}} |~| Variant |The argument is used to set the form's [[OpenArgs]] property. |
++The symbolic constants can be included in your code by copying and pasting next lines:
++//{{{
++Const acDesign = 1
++Const acNormal = 0
++Const acPreview = 2
++
++Const acFormAdd = 0
++Const acFormEdit = 1
++Const acFormPropertySettings = -1
++Const acFormReadOnly = 2
++
++Const acHidden = 1
++Const acWindowNormal = 0
++//}}}
++!!!Remarks
++*The //Filter// and //~WhereCondition// arguments are simply concatenated and applied as filter to the form:
++//{{{
++( Filter ) And ( WhereCondition )
++//}}}
++*The //~OpenForm// action returns a [[Form]] object.
++*If the //view// argument is //acDesign//, the form will get opened in Design mode. However any further action is not supported by the ~Access2Base API.
++*The //~OpenForm// action cannot open and must not be triggered from a [[standalone form|Standalone Forms]].
++!!!Error messages
++|Action not applicable in this context |
++|Form '...' could not be opened |
++!!!See also
++[[AllowAdditions]]
++[[AllowDeletions]]
++[[AllowEdits]]
++[[Close]]
++[[Filter]]
++[[FilterOn]]
++[[OpenArgs]]
++[[OpenQuery]]
++[[OpenReport]]
++[[OpenSQL]]
++[[OpenTable]]
++!!!Example
++&lt;&lt;tiddler &quot;Openform example&quot;&gt;&gt;</pre>
++</div>
++<div title="OpenQuery" modifier="Jean-Pierre Ledure" created="201201011504" modified="201409271454" tags="Actions" changecount="4">
++<pre>{{firstletter{
++ @@color:#930;T@@
++ }}}he //~OpenQuery// action opens a query in normal view or in query design view.
++&lt;&lt;tiddler &quot;ApplyDoCmd&quot;&gt;&gt;
++!!!Syntax
++{{{[DoCmd.]OpenQuery(}}}//{{{QueryName, View, DataMode}}}//{{{)}}}
++| !Argument | !Optional | !Type&lt;br /&gt;or&lt;br /&gt;Symbol |!Description |
++|{{{QueryName}}} | No | String |The name of the query to open. This argument is NOT case-sensitive. |
++|{{{View}}} | Yes | acViewDesign&lt;br /&gt;acViewNormal&lt;br /&gt;acViewPreview |The view in which the query will open.&lt;br /&gt;//acViewNormal// and //acViewPreview// are equivalent. Default is //acViewNormal//. |
++|{{{DataMode}}} |~| acEdit |The user will be allowed to add new records and edit existing records. |
++The symbolic constants can be included in your code by copying and pasting next lines:
++//{{{
++Const acViewDesign = 1
++Const acViewNormal = 0
++Const acViewPreview = 2
++
++Const acEdit = 1
++//}}}
++!!!Remarks
++*If the //view// argument is //acDesign//, the query will get opened in Design mode. However any further action is not supported by the ~Access2Base API.
++*The //~OpenQuery// action must not be triggered from a [[standalone form|Standalone Forms]].
++!!!Error messages
++|Query '...' could not be opened |
++|Query '...' not found |
++|Action not applicable in this context |
++!!!See also
++[[Close]]
++[[OpenForm]]
++[[OpenReport]]
++[[OpenSQL]]
++[[OpenTable]]
++!!!Example
++//{{{
++Const acViewNormal = 0
++ OpenQuery(&quot;myQuery&quot;, acViewNormal)
++//}}}</pre>
++</div>
++<div title="OpenRecordset" modifier="Jean-Pierre Ledure" created="201306141339" modified="201405241308" tags="Methods" changecount="5">
++<pre>Creates a new [[Recordset]] object and appends it to the [[Recordsets]] collection of the concerned [[database object|Database]].
++!!!Applies to ...
++| !Object | !Description |
++|[[Database]] |The representation of a database. |
++|[[TableDef]] |The representation of a database table. |
++|[[QueryDef]] |The representation of a database query. |
++|[[Recordset]] |The representation of another recordset. |
++!!!Syntax
++For a database object:
++&gt;Set //recordset// = //database//.{{{Openrecordset}}} (//source, type, option, lockedit//)
++For tabledef, querydef and recordset objects:
++&gt;Set //recordset// = //tabledef//.{{{Openrecordset}}} (//type, option, lockedit//)
++&gt;Set //recordset// = //querydef//.{{{Openrecordset}}} (//type, option, lockedit//)
++&gt;Set //recordset// = //recordset//.{{{Openrecordset}}} (//type, option, lockedit//)
++!!!Arguments - Returned value
++| !Argument | !Type | !Optional | !Description | !Returned value |
++|source | String ||A table name, a query name, or an SQL statement that returns records | A [[recordset|Recordset]] object |
++|type | Integer&lt;br /&gt;Long | Y |If the argument is present its only allowed value = //dbOpenForwardOnly//.&lt;br /&gt;Forces one-directional browsing of the records. |~|
++|option | Integer&lt;br /&gt;Long | Y |If the argument is present its only allowed value = //dbSQLPassThrough//.&lt;br /&gt;Forces escape substitution before sending the SQL statement to the database. |~|
++|lockedit | Integer&lt;br /&gt;Long | Y |If the argument is present its only allowed value = //dbReadOnly//.&lt;br /&gt;Forces dirty read and prevents from database updates. |~|
++!!!Remarks
++*A recordset object MUST be closed by the [[close|Close (method)]] method __as soon as it becomes useless__ to avoid eventual record (dead)locks. To close all open recordsets at once, use the [[CloseAllRecordsets]] method.
++*If the //~OpenRecordset// method is applied to a //database// object and the //source// argument is not a SQL statement then the //source// is presumed to contain at first a TABLE name and secondly a QUERY name.
++*To include the constants in your own code, copy and paste next lines:
++//{{{
++Const dbOpenForwardOnly = 8
++Const dbSQLPassThrough = 64
++Const dbReadOnly = 4
++//}}}
++*To access the recordset linked to a [[form|Form]] or a [[subform|SubForm]] use the [[recordset property|Recordset (property)]].
++!!!Error messages
++|Argument nr. ... [Value = '...'] is invalid |
++|SQL error, SQL statement = '...' |
++|Table/Query '...' not found |
++!!!See also
++[[Close|Close (method)]]
++[[CloseAllRecordsets]]
++[[Filter]]
++[[Recordset object|Recordset]]
++[[Recordset property|Recordset (property)]]
++[[TableDefs]]
++[[TableDef]]
++[[QueryDefs]]
++[[QueryDef]]
++!!!Example
++&lt;&lt;tiddler &quot;OpenRecordset example&quot;&gt;&gt;</pre>
++</div>
++<div title="OpenRecordset example" modifier="Jean-PierreLedure" created="201306141523" modified="201306291004" tags="[[Snippets of Code]]">
++<pre>Create a new recordset on table //Invoices// and count the records (not the most efficient way to do it ... !)
++//{{{
++Const dbReadOnly = 4
++Dim orsRecords As Object, lCount As Long
++ Set orsRecords = Application.CurrentDb().OpenRecordset(&quot;INVOICES&quot;, , , dbReadOnly)
++ lCount = 0
++ With orsRecords
++ If Not .BOF Then ' An empty recordset has both .BOF and .EOF set to True
++ Do While Not .EOF
++ lCount = lCount + 1
++ .MoveNext
++ Loop
++ End If
++ .mClose()
++ End With
++ Print &quot;Number of records = &quot; &amp; lCount
++//}}}</pre>
++</div>
++<div title="OpenReport" modifier="Jean-Pierre Ledure" created="201201011509" modified="201409271454" tags="Actions" changecount="3">
++<pre>{{firstletter{
++ @@color:#930;T@@
++ }}}he //~OpenReport// action opens a report in normal view or in report design view.
++&lt;&lt;tiddler &quot;ApplyDoCmd&quot;&gt;&gt;
++!!!Syntax
++{{{[DoCmd.]OpenReport(}}}//{{{ReportName, View}}}//{{{)}}}
++| !Argument | !Optional | !Type&lt;br /&gt;or&lt;br /&gt;Symbol |!Description |
++|{{{ReportName}}} | No | String |The name of the report to open. This argument is NOT case-sensitive. |
++|{{{View}}} | Yes | acViewDesign&lt;br /&gt;acViewNormal&lt;br /&gt;acViewPreview |The view in which the query will open.&lt;br /&gt;//acViewNormal// and //acViewPreview// are equivalent. Default is //acViewNormal//. |
++The symbolic constants can be included in your code by copying and pasting next lines:
++//{{{
++Const acViewDesign = 1
++Const acViewNormal = 0
++Const acViewPreview = 2
++//}}}
++!!!Remarks
++*If the report was built with the Sun Report Builder extension, this extension is required to get the report open.
++*If the //view// argument is //acDesign//, the query will get opened in Design mode. However any further action is not supported by the ~Access2Base API.
++*The //~OpenReport// action must not be triggered from a [[standalone form|Standalone Forms]].
++!!!Error messages
++|Report '...' could not be opened |
++|Report '...' not found |
++|Action not applicable in this context |
++!!!See also
++[[Close]]
++[[OpenForm]]
++[[OpenQuery]]
++[[OpenSQL]]
++[[OpenTable]]
++!!!Example
++//{{{
++Const acViewNormal = 0
++ OpenQuery(&quot;myQuery&quot;, acViewNormal)
++//}}}</pre>
++</div>
++<div title="OpenSQL" modifier="Jean-Pierre Ledure" created="201303311533" modified="201502151536" tags="Actions" changecount="4">
++<pre>{{firstletter{
++ @@color:#930;T@@
++ }}}he //~OpenSQL// action opens a datasheet containing the data described by the provided SELECT SQL statement.
++&lt;&lt;tiddler &quot;ApplyDoCmd&quot;&gt;&gt;
++or to ...
++| !Object | !Description |
++|[[Database]] |A database object returned by the [[CurrentDb]] or [[OpenDatabase]] methods. |
++!!!Syntax
++{{{[DoCmd.]OpenSQL(}}}//{{{SQL, option}}}//{{{)}}}
++//{{{database}}}//{{{.OpenSQL(}}}//{{{SQL, option}}}//{{{)}}}
++| !Argument | !Optional | !Type |!Description |
++|database || Object |A database object opened with the //~OpenDatabase// method. |
++|SQL | No | String |A SELECT SQL statement. |
++|option | Yes | Integer&lt;br /&gt;Long |If the argument is present its only allowed value = //dbSQLPassThrough//.&lt;br /&gt;Forces escape substitution before sending the SQL statement to the database. |~|
++!!!Remarks
++*Statements
++//{{{
++DoCmd.OpenSQL( ... )
++//}}}
++and
++//{{{
++Application.CurrentDb().OpenSQL( ... )
++//}}}
++are equivalent.
++*The tablenames and columnnames used in the SQL statement may be surrounded by square brackets &quot;[]&quot;. They will be replaced by the character(s) expected by their RDBMS (//Relational Database Management System//).
++*To include the constant in your own code, copy and paste next lines:
++//{{{
++Const dbSQLPassThrough = 64
++//}}}
++!!!Error messages
++If the syntax of the SQL statement is wrong a system error will be raised.
++!!!See also
++[[CurrentDb]]
++[[OpenDatabase]]
++[[OpenForm]]
++[[OpenQuery]]
++[[OpenReport]]
++[[OpenTable]]
++!!!Example
++//{{{
++ OpenSQL(&quot;SELECT * FROM [EMPLOYEES]&quot;)
++//}}}</pre>
++</div>
++<div title="OpenTable" modifier="Jean-Pierre Ledure" created="201201011448" modified="201409271454" tags="Actions" changecount="3">
++<pre>{{firstletter{
++ @@color:#930;T@@
++ }}}he //~OpenTable// action opens a table in normal view or in table design view.
++&lt;&lt;tiddler &quot;ApplyDoCmd&quot;&gt;&gt;
++!!!Syntax
++{{{[DoCmd.]OpenTable(}}}//{{{TableName, View, DataMode}}}//{{{)}}}
++| !Argument | !Optional | !Type&lt;br /&gt;or&lt;br /&gt;Symbol |!Description |
++|{{{TableName}}} | No | String |The name of the table to open. This argument is NOT case-sensitive. |
++|{{{View}}} | Yes | acViewDesign&lt;br /&gt;acViewNormal&lt;br /&gt;acViewPreview |The view in which the table will open.&lt;br /&gt;//acViewNormal// and //acViewPreview// are equivalent. Default is //acViewNormal//. |
++|{{{DataMode}}} |~| acEdit |The user will be allowed to add new records and edit existing records. |
++The symbolic constants can be included in your code by copying and pasting next lines:
++//{{{
++Const acViewDesign = 1
++Const acViewNormal = 0
++Const acViewPreview = 2
++
++Const acEdit = 1
++//}}}
++!!!Remarks
++*If the //view// argument is //acDesign//, the table will get opened in Design mode. However any further action is not supported by the ~Access2Base API.
++*The //~OpenTable// action must not be triggered from a [[standalone form|Standalone Forms]].
++!!!Error messages
++|Table '...' could not be opened |
++|Table '...' not found |
++|Action not applicable in this context |
++!!!See also
++[[Close]]
++[[OpenForm]]
++[[OpenQuery]]
++[[OpenReport]]
++[[OpenSQL]]
++!!!Example
++//{{{
++Const acViewNormal = 0
++ OpenTable(&quot;myTable&quot;, acViewNormal)
++//}}}</pre>
++</div>
++<div title="Openconnection example" modifier="Jean-Pierre Ledure" created="201201071458" modified="201703041600" tags="[[Snippets of Code]]" changecount="2">
++<pre>//{{{
++Sub DBOpen(Optional poEvent As Object)
++ If GlobalScope.BasicLibraries.hasByName(&quot;Access2Base&quot;) Then
++ GlobalScope.BasicLibraries.loadLibrary(&quot;Access2Base&quot;)
++ End If
++ Call Application.OpenConnection(ThisDatabaseDocument)
++End Sub
++//}}}</pre>
++</div>
++<div title="Opendatabase example" modifier="Jean-Pierre Ledure" created="201402161613" modified="201408011521" tags="[[Snippets of Code]]" changecount="1">
++<pre>List all table names of an external database
++//{{{
++Public oDatabase As Object
++
++Sub ScanTables()
++
++Dim oTable As Object, oField As Object, i As Integer
++ Set oDatabase = Application.OpenDatabase(&quot;/home/somedir/TT NorthWind.odb&quot;,,,)
++ With oDatabase
++ For i = 0 To .TableDefs.Count - 1
++ Set oTable = .TableDefs(i)
++ DebugPrint oTable.Name
++ Next i
++ End With
++ oDatabase.mClose()
++
++End Sub
++//}}}</pre>
++</div>
++<div title="Openform example" modifier="Jean-PierreLedure" created="201112311558" modified="201212141458" tags="[[Snippets of Code]]">
++<pre>Open a form
++//{{{
++ OpenForm &quot;myForm&quot;
++//}}}
++Open a form in read only mode
++//{{{
++ OpenForm &quot;myForm&quot;, , , , acFormReadOnly
++//}}}
++Open a form in read only mode. The form must be hidden.
++//{{{
++Dim ofForm As Object
++ ofForm = OpenForm &quot;myForm&quot;, , , , acFormReadOnly, acHidden
++//}}}
++Make it later visible
++//{{{
++ ofForm.Visible = True
++//}}}</pre>
++</div>
++<div title="OptionGroup" modifier="Jean-Pierre Ledure" created="201112271348" modified="201405251535" tags="Objects" changecount="6">
++<pre>{{firstletter{
++ @@color:#930;A@@
++ }}}n //~OptionGroup// [[object|Object Model]] represents a set of [[RadioButton]] controls in a [[form|Form]], a [[subform|SubForm]] or a [[dialog|Dialog]], having in common the characteristic that selecting one button deselects automatically all the others.
++Most properties can be set at //~RadioButton// level and individually for each of them. However the key reason for having introduced //~OptionGroups// (an artificial entity with no equivalent in //~OpenOffice/~LibreOffice//) in //~Access2Base// is to give the programmer an easy mean to determine which //~RadioButton// is currently selected.
++!!!How to identify the set of //~RadioButtons// constituting an //~OptionGroup// ?
++| !Container | !Identification of the //~OptionGroup// |!Name of the //~OptionGroup// |
++|[[Form]]&lt;br /&gt;[[SubForm]] |All the //~RadioButtons// sharing the same name |That unique name |
++|[[Dialog]] |All the //~RadioButtons// having contiguous //~TabIndexes//&lt;br /&gt;(= //Order// in the control's property sheet) |The name of the __first__ //~RadioButton// of the set |
++!!!Function returning an ~OptionGroup object
++| !Parent object | !Method | !Arg |!Description |
++|[[Form]]&lt;br /&gt;[[SubForm]]&lt;br /&gt;[[Dialog]] |[[OptionGroup|OptionGroup (Method)]] | String |Returns an //~OptionGroup// object in the form, the subform or the dialog on which the method is applied having its argument as name. The name is the common name of all //radio buttons// belonging to the ~OptionGroup.|
++!!!Properties
++| !Property | !Read only | !Description or UNO object |
++|[[Name]] | Y |Specifies the exact name of the option group. |
++|[[Count]] | Y |Specifies the number of radio buttons belonging to the group. |
++|[[ObjectType]] | Y |Returns &quot;OPTIONGROUP&quot; |
++|[[Value]] ||Specifies the index of the radio button being currently selected. |
++!!!Methods
++| !Method | !Argument(s) | !Return | !Description |
++|[[getProperty]] | property | Variant |Return the value of the given property. |
++|[[hasProperty]] | property | Boolean |Return True if the ~OptionGroup has the given property. |
++|[[setProperty]] | property&lt;br /&gt;value |~|Return True if the given property could be set. |
++!!Remarks
++The //Value// property holds a value between 0 and //Count// - 1.
++!!!See also
++[[Controls]]
++[[OptionGroup (Method)]]
++[[RadioButton]]
++[[TabIndex]]
++!!!Example
++&lt;&lt;tiddler &quot;Optiongroup example&quot;&gt;&gt;</pre>
++</div>
++<div title="OptionGroup (Method)" modifier="Jean-PierreLedure" created="201112271512" modified="201304211013" tags="Methods">
++<pre>The //~OptionGroup// method returns an [[object|Object Model]] of type [[OptionGroup]]
++!!!Syntax
++//form//.{{{OptionGroup(}}}//groupname//{{{)}}}
++//subform//.{{{OptionGroup(}}}//groupname//{{{)}}}
++//dialog//.{{{OptionGroup(}}}//groupname//{{{)}}}
++| !ObjectType | !Argument |!Returned value |
++| [[Form]]&lt;br /&gt;[[SubForm]] | String |An object of type //~OptionGroup// having the //groupname// as name. The name is the common name of all radio buttons sharing the same selection group. |
++| [[Dialog]] |~|An object of type //~OptionGroup// having the //groupname// as name. The name is the name of the first radio button belonging to the same selection group. |
++!!!Remarks
++The individual //~RadioButtons// can be retrieved with the [[Controls]] method applied to the //~OptionGroup// object. Use their //index// as second argument. The //index// is determined
++*in //forms// and //subforms// by the ~X-Y coordinates of the //~RadioButton// on the screen
++*in //dialogs// by the rank of the //~TabIndex// property in the sequence of contiguous //~TabIndexes// determining the //~OptionGroup//.
++The //index// starts from 0.
++!!!See also
++[[Controls]]
++[[OptionGroup]]
++[[RadioButton]]
++[[TabIndex]]
++!!!Example
++&lt;&lt;tiddler &quot;Optiongroup example&quot;&gt;&gt;</pre>
++</div>
++<div title="OptionValue" modifier="Jean-PierreLedure" created="201112271522" modified="201306151424" tags="Properties">
++<pre>The //~OptionValue// property specifies the value stored in the database as determined by the selected [[RadioButton]].
++!!!Applies to ...
++| !Object | !Type when&lt;br /&gt;in a form | !Type when&lt;br /&gt;in a ~GridControl |!Description |
++|[[Control]] | [[RadioButton]] | None |A control on an open form. |
++!!!Syntax
++//control//{{{.OptionValue}}}
++!!!Returned value
++{{{String}}}
++!!!Remarks
++The //~OptionValue// property is read-only.
++!!!Error messages
++!!!See also
++[[RadioButton]]
++[[OptionGroup]]
++!!!Example
++&lt;&lt;tiddler &quot;OptionValue example&quot;&gt;&gt;</pre>
++</div>
++<div title="OptionValue example" modifier="Jean-PierreLedure" created="201212141506" tags="[[Snippets of Code]]">
++<pre>Browse thru the values to store in the database by button
++//{{{
++Dim ofForm As Object, ocOptionGroup As Object, ocControl As Object, i as integer
++ Set ofForm = Forms(&quot;myform&quot;)
++ Set ocOptionGroup = ofForm.OptionGroup(&quot;myRadioButton&quot;)
++ ocOptionGroup.Value = 2
++ For i = 0 to ocOptionGroup.Count - 1
++ ocControl = ocOptionGroup.Controls(i)
++ Print ocControl.OptionValue &amp; &quot;/&quot;,
++ Next i
++//}}}</pre>
++</div>
++<div title="Optiongroup example" modifier="Jean-PierreLedure" created="201112271438" modified="201212081408" tags="[[Snippets of Code]]">
++<pre>Change the currently selected radio button and modify its appearance
++//{{{
++Dim ofForm As Object, ocOptionGroup As Object, ocControl As Object, i as integer
++ Set ofForm = Forms(&quot;myform&quot;)
++ Set ocOptionGroup = ofForm.OptionGroup(&quot;myRadioButton&quot;)
++ ocOptionGroup.Value = 2
++ For i = 0 to ocOptionGroup.Count - 1
++ ocControl = ocOptionGroup.Controls(i)
++ If i = ocOptionGroup.Value Then
++ ocControl.ForeColor = RGB(255, 0 ,0)
++ Else
++ ocControl.ForeColor = RGB(0, 0 ,0)
++ End If
++ Next i
++//}}}</pre>
++</div>
++<div title="OrderBy" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201407261334" modified="201407261344" tags="Properties" changecount="3">
++<pre>You can use the //OrderBy// property to specify how you want to sort records in a [[form|Form]] or a [[subform|SubForm]].
++!!!Applies to ...
++| !Object |!Description |
++|[[Form]] |An open form |
++|[[SubForm]] |A subform in an open form |
++!!!Syntax
++//form//{{{.OrderBy}}}
++//form//{{{.OrderBy = }}}//value//
++//subform//{{{.OrderBy}}}
++//subform//{{{.OrderBy = }}}//value//
++!!!Returned values / Arguments
++{{{String}}}
++!!!Remarks
++*The //~OrderBy// property is a string expression consisting of a ''ORDER BY'' SQL clause without the ORDER BY keywords. Like in //~MsAccess// __table names__, or __field names__ (e.g. when containing a space) may be surrounded by square brackets ([]).
++*The ordering sequence is effectively applied only when the [[OrderByOn]] property is set to {{{True}}}.
++!!!Error messages
++|Form '...' is currently not open|
++|Value '...' is invalid for property '~OrderBy' |
++!!!See also
++[[OrderByOn]]
++!!!Example
++&lt;&lt;tiddler &quot;OrderBy example&quot;&gt;&gt;</pre>
++</div>
++<div title="OrderBy example" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201407261343" tags="[[Snippets of Code]]" changecount="1">
++<pre>Set and apply an ordering sequence on a form
++//{{{
++Dim ofForm As Object, sOrderBy As String
++ Set ofForm = Forms(&quot;myForm&quot;)
++ sOrderBy = &quot;[DENOMINATION] DESC&quot;
++ ofForm.OrderBy = sOrderBy
++ ofForm.OrderByOn = True
++//}}}</pre>
++</div>
++<div title="OrderByOn" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201407261340" modified="201407261342" tags="Properties" changecount="2">
++<pre>Use the //~OrderByOn// property to specify or determine whether the [[OrderBy]] property for a form is applied.
++!!!Applies to ...
++| !Object | !Description |
++|[[Form]] |An open form |
++|[[SubForm]] |A subform in an open form |
++!!!Syntax
++//form//{{{.OrderByOn}}}
++//form//{{{.OrderByOn = }}}//value//
++//subform//{{{.OrderByOn}}}
++//subform//{{{.OrderByOn = }}}//value//
++!!!Returned values / Arguments
++{{{Boolean}}}
++!!!Remarks
++When a //~OrderBy// is applied, the form is [[requeried|Requery]].
++!!!Error messages
++|Form '...' is currently not open|
++|Value '...' is invalid for property '~OrderByOn' |
++!!!See also
++[[OrderBy]]
++[[Requery]]
++!!!Example
++&lt;&lt;tiddler &quot;OrderBy example&quot;&gt;&gt;</pre>
++</div>
++<div title="OrderDetailsTable" modifier="Jean-PierreLedure" created="201212161600" modified="201308241518" tags="HowTo">
++<pre>*Order Details table
++| !Fields | !Field Type | !Primary |
++|Discount | Float ||
++|~OrderID | ~BigInt | Y |
++|~ProductID | ~BigInt | Y |
++|Quantity | Integer ||
++|~UnitPrice | Number ||</pre>
++</div>
++<div title="OrdersTable" modifier="Jean-PierreLedure" created="201212161553" modified="201212161621" tags="HowTo">
++<pre>*Orders table
++| !Fields | !Field Type | !Primary |
++|~CustomerID | Text ||
++|~EmployeeID | Integer ||
++|Freight | Number ||
++|~OrderDate | Date/Time ||
++|~OrderID | ~BigInt | Y |
++|~RequiredDate | Date/Time ||
++|~ShipAddress | Text ||
++|~ShipCity | Text ||
++|~ShipCountry | Text ||
++|~ShipName | Text ||
++|~ShippedDate | Date/Time ||
++|~ShipPostalCode | Text ||
++|~ShipRegion | Text ||
++|~ShipVia | Integer ||</pre>
++</div>
++<div title="OutputTo" modifier="YourName" created="201208031317" modified="201802161401" tags="Actions" changecount="59">
++<pre>{{firstletter{
++ @@color:#930;T@@
++ }}}he //~OutputTo// action outputs the data located
++*in a specified [[form|Form]]
++*in a specified [[table|TableDef]] or [[query|QueryDef]]
++ to several output formats
++&lt;&lt;tiddler &quot;ApplyDoCmd&quot;&gt;&gt;
++or, when applicable to a table or a query, to ...
++| !Object | !Description |
++|[[Database]] |A database object opened with the [[OpenDatabase]] or returned by the [[CurrentDb]] methods. |
++!!!Syntax
++{{{[DoCmd.]OutputTo(}}}//{{{ObjectType, ObjectName, OutputFormat, OutputFile, AutoStart, TemplateFile, Encoding, Quality}}}//{{{)}}}
++//database//{{{.OutputTo(}}}//{{{ObjectType, ObjectName, OutputFormat, OutputFile, AutoStart, TemplateFile, Encoding, Quality}}}//{{{)}}}
++| !Argument | !Optional | !Type&lt;br /&gt;or&lt;br /&gt;Symbol |!Description | !Returned value |
++|{{{ObjectType}}} | No | acOutputTable&lt;br /&gt;acOutputQuery&lt;br /&gt;acOutputForm |The type of object to output. | {{{True}}} if success |
++|{{{ObjectName}}} | Yes | String |The valid name of an object of the type selected by the //~ObjectType// argument.&lt;br /&gt;If the //~ObjectType// is acOutputForm and you want to output the active form, leave this argument blank. |~|
++|{{{OutputFormat}}} | Yes | acFormatPDF&lt;br /&gt;acFormatODT&lt;br /&gt;acFormatDOC&lt;br /&gt;acFormatHTML&lt;br /&gt;acFormatODS&lt;br /&gt;acFormatXLS&lt;br /&gt;acFormatXLSX&lt;br /&gt;acFormatTXT |The output format, expressed as an acFormatXXX constant. If this argument is omitted, the user will be prompted for the output format. |~|
++|{{{OutputFile}}} | Yes | String |The full name, including the path, of the file you want to output the object to. If this argument is left blank, the user will be prompted for an output file name. |~|
++|{{{AutoStart}}} | Yes | Boolean |If {{{True}}}, specifies that you want the appropriate application to start immediately after the //~OutputTo// action runs, with the file specified by the //~OutputFile// argument opened. |~|
++|{{{TemplateFile}}} | Yes | String |Meaningful only if the //~ObjectType// argument is {{{acOutputTable}}} or {{{acOutputQuery}}} and the //~OutputFormat// argument is HTML. Otherwise must contain the null-length string.&lt;br /&gt;The full name, including the path, of the template file. |~|
++|{{{Encoding}}} | Yes | acUTF8Encoding |Meaningful only if the //~ObjectType// argument is {{{acOutputTable}}} or {{{acOutputQuery}}}. Otherwise must be zero. |~|
++|{{{Quality}}} | Yes | acExportQualityPrint&lt;br /&gt;acExportQualityScreen |This argument is ignored. |~|
++The symbolic constants can be included in your code by copying and pasting next lines:
++//{{{
++Global Const acOutputTable = 0
++Global Const acOutputQuery = 1
++Global Const acOutputForm = 2
++
++Global Const acUTF8Encoding = 76
++
++Global Const acFormatPDF = &quot;writer_pdf_Export&quot;
++Global Const acFormatODT = &quot;writer8&quot;{{{date}}}&lt;br /&gt;
++Global Const acFormatDOC = &quot;MS Word 97&quot;
++Global Const acFormatHTML = &quot;HTML&quot;
++Global Const acFormatODS = &quot;calc8&quot;
++Global Const acFormatXLS = &quot;MS Excel 97&quot;
++Global Const acFormatXLSX = &quot;Calc MS Excel 2007 XML&quot;
++Global Const acFormatTXT = &quot;Text - txt - csv (StarCalc)&quot;
++
++Global Const acExportQualityPrint = 0
++Global Const acExportQualityScreen = 1
++//}}}
++!!!Remarks
++*When applied to a table or a query data {{{DoCmd.OutputTo(...)}}} and {{{Application.CurrentDb().OutputTo(...)}}} are strictly equivalent.
++*The designated form MUST be open before the //~OutputTo// action is called.
++*If the {{{OutputFile}}} argument is not equal to space, and If the output file already exists, it will be overwritten without warning. If the user is prompted for the output file ({{{OutputFile}}} = space), the user will be requested to confirm the Save.
++*The {{{OutputFile}}} argument may be expressed either in the (recommended) URL format (i.e. &quot;{{{file:// ...}}}&quot;) or by using the operating system usual syntax (e.g. &quot;{{{C:\...}}}&quot; in Windows).
++*Outputting a table or a query to a Calc, Excel or text file goes first through the generation of a Calc document which is saved via the adequate filter.
++*A text/csv file will always be encoded using the __Unicode (~UTF-8)__ character set. The choice of the field separator will depend on the locale setting for the decimal point: if it is a dot, then the field separator will be the comma, if it is a comma, then it will be the semi-colon. All text strings will be enclosed in double quotes.
++!!!Templating and styling
++Templates and CSS styles can be used when the output format is HTML and when the source of the exported data is a table or a query.
++The {{{TemplateFile}}} given as argument of the //~OutputTo// action may contain abreakny HTML tags, ~JavaScript code or any other element that is acceptable in a HTML page. ~Access2Base will leave them unchanged, except when a //token// is encountered. The only accepted tokens are
++| !Token | !Description |
++|{{{&lt;!--Template_Title--&gt;}}} |Will be replaced by the name of the table or the query. |
++|{{{&lt;!--Template_Body--&gt;}}} |Will be replaced by the effective data contained in the table or the query. |
++({{{&lt;!--AccessTemplate_Title--&gt;}}} and {{{&lt;!--AccessTemplate_Body--&gt;}}} are also accepted for compatibility with ~MSAccess)
++If the {{{TemplateFile}}} argument is absent, the default template used by ~Access2Base is:
++//{{{
++&lt;!DOCTYPE html&gt;
++&lt;html&gt;
++ &lt;head&gt;
++ &lt;title&gt;&lt;!--Template_Title--&gt;&lt;/title&gt;
++ &lt;/head&gt;
++ &lt;body&gt;
++ &lt;!--Template_Body--&gt;
++ &lt;/body&gt;
++&lt;/html&gt;
++//}}}
++To make CSS styling easy the data themselves will be generated together with next classes:
++| !Class | !Tags | !Typical usage |
++|{{{dbdatatable}}} | {{{&lt;table&gt;}}} |To not confuse the data table with other tables present in the template. |
++|{{{odd}}}&lt;br /&gt;{{{even}}} | {{{&lt;tr&gt;}}} |To display alternate colors or backgrounds..|
++|{{{firstrow}}}&lt;br /&gt;{{{lastrow}}} |~|To define specific borders above or under the first or the last row. |
++|{{{firstcol}}}&lt;br /&gt;{{{lastcol}}} | {{{&lt;th&gt;}}}&lt;br /&gt;{{{&lt;td&gt;}}} |To define specific borders on the left or the right of the first or the last column. |
++|{{{char}}}&lt;br /&gt;{{{numeric}}}&lt;br /&gt;{{{negative}}}&lt;br /&gt;{{{date}}}&lt;br /&gt;{{{bool}}}&lt;br /&gt;{{{false}}}&lt;br /&gt;{{{null}}} | {{{&lt;td&gt;}}} |To define display effects depending on the content of the table cell.&lt;br /&gt;Like right justifying numbers, red fonts for negative numbers, special background for empty cells, etc. |
++//Body// output example:
++//{{{
++ &lt;table class=&quot;dbdatatable&quot;&gt;
++ &lt;caption&gt;myQuery&lt;/caption&gt;
++ &lt;thead&gt;
++ &lt;tr&gt;
++ &lt;th scope=&quot;col&quot; class=&quot;firstcol&quot;&gt;Month&lt;/th&gt;
++ &lt;th scope=&quot;col&quot;&gt;Dept&lt;/th&gt;
++ &lt;th scope=&quot;col&quot;&gt;Savings&lt;/th&gt;
++ &lt;th scope=&quot;col&quot; class=&quot;lastcol&quot;&gt;Comments&lt;/th&gt;
++ &lt;/tr&gt;
++ &lt;/thead&gt;
++ &lt;tfoot&gt;
++ &lt;/tfoot&gt;
++ &lt;tbody&gt;
++ &lt;tr class=&quot;odd firstrow&quot;&gt;
++ &lt;td class=&quot;char firstcol&quot;&gt;January&lt;/td&gt;
++ &lt;td class=&quot;char&quot;&gt;Dept1&lt;/td&gt;
++ &lt;td class=&quot;numeric&quot;&gt;100.0&lt;/td&gt;
++ &lt;td class=&quot;char lastcol&quot;&gt;Some comments about this department&lt;/td&gt;
++ &lt;/tr&gt;
++ &lt;tr class=&quot;even&quot;&gt;
++ &lt;td class=&quot;char firstcol&quot;&gt;February&lt;/td&gt;
++ &lt;td class=&quot;char&quot;&gt;Dept2&lt;/td&gt;
++ &lt;td class=&quot;numeric negative&quot;&gt;-80.5&lt;/td&gt;
++ &lt;td class=&quot;char lastcol&quot;&gt;No comment&lt;/td&gt;
++ &lt;/tr&gt;
++ &lt;tr class=&quot;odd lastrow&quot;&gt;
++ &lt;td class=&quot;char firstcol&quot;&gt;March&lt;/td&gt;
++ &lt;td class=&quot;char&quot;&gt;Dept3&lt;/td&gt;
++ &lt;td class=&quot;numeric&quot;&gt;75.9&lt;/td&gt;
++ &lt;td class=&quot;char null lastcol&quot;&gt;&lt;/td&gt;
++ &lt;/tr&gt;
++ &lt;/tbody&gt;
++ &lt;/table&gt;
++//}}}
++!!!String encoding
++When exporting data from a table or a query, all strings will be &quot;~UTF-8 encoded&quot;. See f.i. [[here|http://www.w3schools.com/charsets/ref_html_utf8.asp]] for more explanation.
++There are however a few exceptions. Some HTML tags (= NOT ALL) found within data strings will not be encoded. Typically links to pages located in &lt;a&gt; tags will remain unchanged.
++Next patterns will not be encoded:
++| !Pattern | !Remark |
++|{{{&amp;quot;}}}&lt;br /&gt;{{{&amp;apos;}}} ||
++|{{{&amp;amp;}}} |&quot;&amp;&quot; will be encoded as {{{&amp;amp;}}}. &quot;{{{&amp;amp;}}}&quot; will not be encoded as {{{&amp;amp;amp;}}} |
++|{{{&amp;lt;}}}&lt;br /&gt;{{{&amp;gt;}}} ||
++|{{{&amp;nbsp;}}} |Multiple normal spaces will probably appear as one single space |
++|{{{&lt;pre&gt;}}}&lt;br /&gt;{{{&lt;/pre&gt;}}} |To preserve spacing and line breaks |
++|{{{&lt;br&gt;}}} |To force a line break |
++|{{{&lt;a href=&quot;...&quot;}}}&lt;br /&gt;{{{&lt;a id=&quot;...&quot;}}}&lt;br /&gt;{{{&lt;/a&gt;}}} |References to hyperlinks or anchors may be present and will be preserved in strings |
++|{{{&lt;img src=&quot;...&quot;}}} |~|
++|{{{&lt;span class=&quot;...&quot;}}}&lt;br /&gt;{{{&lt;/span&gt;}}} |The &lt;span&gt; tag provides a way to add a specific class name or other hook to a part of a text or a part of a document |
++|{{{&lt;b&gt; &lt;/b&gt;}}}&lt;br /&gt;{{{&lt;u&gt; &lt;/u&gt;}}}&lt;br /&gt;{{{&lt;i&gt; &lt;/i&gt;}}} |Usual editing tags |
++!!!Error messages
++|Object '...' not found |
++|Action not applicable in this context |
++!!!See also
++[[HtmlEncode]]
++[[RunApp]]
++[[SelectObject]]
++[[SendObject]]
++!!!Examples
++&lt;&lt;tiddler &quot;OutputTo example&quot;&gt;&gt;
++Additionally, styling examples can be found in [[Output table or query to html - styling examples|OutputToStyling]].</pre>
++</div>
++<div title="OutputTo example" modifier="Jean-PierreLedure" created="201208100834" modified="201208100835" tags="[[Snippets of Code]]">
++<pre>Output form in PDF format to a file (you will be prompted for the file name and location) and open the generated file (asynchronously)
++//{{{
++Const acOutputForm = 2
++Const acFormatPDF = &quot;writer_pdf_Export&quot;
++ OutputTo(acOutputForm, &quot;myform&quot;, acFormatPDF,, True)
++//}}}</pre>
++</div>
++<div title="OutputToStyling" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201511141443" modified="201601161503" tags="HowTo" changecount="46">
++<pre>Q: How can I output data to a web page and make it nice to read ?
++
++R: Data can be inserted statically in a web page thanks to the [[OutputTo]] action which will export the data to a static HTML page. The exported output shall contain predefined classes which can help producing nice effects. See the examples below.
++
++For all the examples we will use the //~EmployeesList// query.
++The query embeds html tags to allow browsing from the last column rapidly to the employee's manager.
++//{{{
++SELECT
++ '&lt;a id=&quot;' || &quot;Employees&quot;.&quot;EmployeeID&quot; || '&quot;&gt;' || &quot;Employees&quot;.&quot;LastName&quot; || '&lt;/a&gt;' AS &quot;Last name&quot;
++ , &quot;Employees&quot;.&quot;FirstName&quot; AS &quot;First name&quot;
++ , &quot;Employees&quot;.&quot;BirthDate&quot; AS &quot;Birth&quot;
++ , &quot;Employees&quot;.&quot;Extension&quot; AS &quot;Phone&quot;
++ , &quot;Employees&quot;.&quot;HomePhone&quot; AS &quot;Home phone&quot;
++ , &quot;Employees&quot;.&quot;Title&quot;
++ , '&lt;a href=&quot;#' || &quot;ReportingTo&quot;.&quot;EmployeeID&quot; || '&quot;&gt;' || &quot;ReportingTo&quot;.&quot;LastName&quot; || '&lt;/a&gt;' AS &quot;Manager&quot;
++FROM
++ { OJ &quot;Employees&quot; AS &quot;ReportingTo&quot; RIGHT OUTER JOIN &quot;Employees&quot; ON &quot;ReportingTo&quot;.&quot;EmployeeID&quot; = &quot;Employees&quot;.&quot;ReportsTo&quot; }
++//}}}
++based on the //Employees// table:
++&lt;&lt;tiddler EmployeesTable&gt;&gt;
++The data will be generated by next statement:
++//{{{
++ DoCmd.OutputTo(acOutputQuery, &quot;EmployeesList&quot;, acFormatHtml, sOutputFile, False, sTemplateFile, acUTF8Encoding)
++//}}}
++The template file contains nothing else but:
++//{{{
++&lt;!DOCTYPE html&gt;
++&lt;html&gt;
++ &lt;head&gt;
++ &lt;title&gt;&lt;!--Template_Title--&gt;&lt;/title&gt;
++ &lt;link rel=&quot;stylesheet&quot; type=&quot;text/css&quot; href=&quot;styleX.css&quot;&gt;
++ &lt;/head&gt;
++ &lt;body&gt;
++ &lt;!--Template_Body--&gt;
++ &lt;/body&gt;
++&lt;/html&gt;
++//}}}
++Only the content of the css stylesheet will vary in next examples.
++!!Raw data without styling effects
++!!!Stylesheet
++The stylesheet is empty.
++!!!Result
++&lt;html&gt;
++&lt;iframe style=&quot;background-color:#ffffff; border-color:#ffffff; border:none;&quot; width=&quot;1000&quot; height=&quot;270&quot; frameborder=&quot;0&quot; scrolling=&quot;yes&quot; src=&quot;_outputto/output1.html&quot; title=&quot;Raw Data&quot;&gt;&lt;/iframe&gt;
++&lt;/html&gt;
++!!Specify the table and the table caption
++The ''.dbdatatable'' class designates the whole table. Use it to avoid confusion when other tables are present in the template file.
++!!!Stylesheet
++//{{{
++body {
++ font-size: 100%;
++}
++.dbdatatable {
++ padding: 0;
++ margin: 0;
++ border-collapse: collapse;
++ border: 1px solid #333;
++ font-family: &quot;Trebuchet MS&quot;, Verdana, Arial, Helvetica, sans-serif;
++ font-size: 0.9em;
++ color: #000;
++ background: #bcd0e4;
++}
++.dbdatatable caption {
++ caption-side: bottom;
++ font-size: 0.9em;
++ font-style: italic;
++ text-align: right;
++ padding: 0.5em 0;
++}
++//}}}
++!!!Result
++&lt;html&gt;
++&lt;iframe style=&quot;background-color:#ffffff; border-color:#ffffff; border:none;&quot; width=&quot;1000&quot; height=&quot;250&quot; frameborder=&quot;0&quot; scrolling=&quot;yes&quot; src=&quot;_outputto/output2.html&quot; title=&quot;Sample border&quot;&gt;&lt;/iframe&gt;
++&lt;/html&gt;
++!!Specify the table cells
++Both the header row and data cells receive in the example the same styles. The bold character of table header cells is implicit.
++!!!Stylesheet
++Same as before + ...
++//{{{
++.dbdatatable th, .dbdatatable td {
++ border: 1px dotted #666;
++ padding: 0.5em;
++ text-align: left;
++ color: #632a39;
++ vertical-align: middle;
++}
++//}}}
++!!!Result
++&lt;html&gt;
++&lt;iframe style=&quot;background-color:#ffffff; border-color:#ffffff; border:none;&quot; width=&quot;1000&quot; height=&quot;380&quot; frameborder=&quot;0&quot; scrolling=&quot;yes&quot; src=&quot;_outputto/output3.html&quot; title=&quot;Sample border&quot;&gt;&lt;/iframe&gt;
++&lt;/html&gt;
++!!Specify the header row
++Uppercases, white text.
++!!!Stylesheet
++Same as before + ...
++//{{{
++.dbdatatable th {
++ color: #fff;
++ background-color: #8fadcc;
++ text-transform: uppercase;
++ background-color: #7d98b3;
++ border-right: 1px dotted #666;
++ text-align: center;
++}
++//}}}
++!!!Result
++&lt;html&gt;
++&lt;iframe style=&quot;background-color:#ffffff; border-color:#ffffff; border:none;&quot; width=&quot;1000&quot; height=&quot;380&quot; frameborder=&quot;0&quot; scrolling=&quot;yes&quot; src=&quot;_outputto/output4.html&quot; title=&quot;Sample border&quot;&gt;&lt;/iframe&gt;
++&lt;/html&gt;
++!!Specify alternate colors for the table rows
++Use the ''.odd'' and/or ''.even'' classes to specify different styles for the table rows
++!!!Stylesheet
++The same as before + ...
++//{{{
++.dbdatatable tr.odd th, .dbdatatable tr.odd td {
++ background-color: #fff;
++}
++//}}}
++!!!Result
++&lt;html&gt;
++&lt;iframe style=&quot;background-color:#ffffff; border-color:#ffffff; border:none;&quot; width=&quot;1000&quot; height=&quot;380&quot; frameborder=&quot;0&quot; scrolling=&quot;yes&quot; src=&quot;_outputto/output5.html&quot; title=&quot;Sample border&quot;&gt;&lt;/iframe&gt;
++&lt;/html&gt;
++!!Specify a row appearance change when mouse hovers it
++!!!Stylesheet
++The same as before + ...
++//{{{
++.dbdatatable tr:hover td {
++ background-color: #632a2a;
++ color: #fff;
++}
++.dbdatatable tr:hover a {
++ background-color: #632a2a;
++ color: #fff;
++}
++//}}}
++!!!Result
++&lt;html&gt;
++&lt;iframe style=&quot;background-color:#ffffff; border-color:#ffffff; border:none;&quot; width=&quot;1000&quot; height=&quot;380&quot; frameborder=&quot;0&quot; scrolling=&quot;yes&quot; src=&quot;_outputto/output6.html&quot; title=&quot;Sample border&quot;&gt;&lt;/iframe&gt;
++&lt;/html&gt;
++!!Specify cells depending on their content or type
++Use the ''.char'', ''.numeric'', ''.bool'', ''.date'', ''.negative'' and ''.null'' classes.
++!!!Stylesheet
++Same as before + ...
++//{{{
++.dbdatatable td.numeric {
++ text-align: right;
++}
++.dbdatatable td.negative {
++ color: red;
++}
++.dbdatatable td.null {
++ background-color: red;
++}
++//}}}
++!!!Result
++&lt;html&gt;
++&lt;iframe style=&quot;background-color:#ffffff; border-color:#ffffff; border:none;&quot; width=&quot;1000&quot; height=&quot;380&quot; frameborder=&quot;0&quot; scrolling=&quot;yes&quot; src=&quot;_outputto/output7.html&quot; title=&quot;Sample border&quot;&gt;&lt;/iframe&gt;
++&lt;/html&gt;
++!!Emphasize first and last row borders
++Use the ''.firstrow'', ''.lastrow'', .''firstcol'' and/or ''.lastcol'' classes to mark their borders specifically
++!!!Stylesheet
++All Together
++//{{{
++body {
++ font-size: 100%;
++}
++.dbdatatable {
++ padding: 0;
++ margin: 0;
++ border-collapse: collapse;
++ border: 1px solid #333;
++ font-family: &quot;Trebuchet MS&quot;, Verdana, Arial, Helvetica, sans-serif;
++ font-size: 0.9em;
++ color: #000;
++ background: #bcd0e4;
++}
++.dbdatatable caption {
++ caption-side: bottom;
++ font-size: 0.9em;
++ font-style: italic;
++ text-align: right;
++ padding: 0.5em 0;
++}
++.dbdatatable th, .dbdatatable td {
++ border: 1px dotted #666;
++ padding: 0.5em;
++ text-align: left;
++ color: #632a39;
++ vertical-align: middle;
++}
++.dbdatatable th {
++ color: #fff;
++ background-color: #8fadcc;
++ text-transform: uppercase;
++ background-color: #7d98b3;
++ border-right: 1px dotted #666;
++ text-align: center;
++}
++.dbdatatable tr.odd th, .dbdatatable tr.odd td {
++ background-color: #fff;
++}
++.dbdatatable tr:hover td {
++ background-color: #632a2a;
++ color: #fff;
++}
++.dbdatatable tr:hover a {
++ background-color: #632a2a;
++ color: #fff;
++}
++.dbdatatable td.numeric {
++ text-align: right;
++}
++.dbdatatable td.negative {
++ color: red;
++}
++.dbdatatable td.null {
++ background-color: red;
++}
++.dbdatatable tr.firstrow {
++ border-top: 3px solid #444;
++}
++.dbdatatable tr.lastrow {
++ border-bottom: 3px solid #444;
++}
++//}}}
++!!!Result
++&lt;html&gt;
++&lt;iframe style=&quot;background-color:#ffffff; border-color:#ffffff; border:none;&quot; width=&quot;1000&quot; height=&quot;390&quot; frameborder=&quot;0&quot; scrolling=&quot;yes&quot; src=&quot;_outputto/output8.html&quot; title=&quot;Sample border&quot;&gt;&lt;/iframe&gt;
++&lt;/html&gt;</pre>
++</div>
++<div title="Page" modifier="Jean-PierreLedure" created="201303301748" modified="201306151424" tags="Properties">
++<pre>A dialog may have several pages that can be traversed by the user step by step. The //Page// property of the [[Dialog object|Dialog]] defines which page of the dialog is active. At runtime the next page of a dialog is displayed by increasing the page value by 1.
++
++The //Page// property of a control defines the page of the dialog on which the control is visible. For example, if a control has a page value of 1, it is only visible on page 1 of the dialog. If the page value of the dialog is increased from 1 to 2, then all controls with a page value of 1 disappear and all controls with a page value of 2 become visible.
++!!!Applies to ...
++| !Object | !Type when&lt;br /&gt;in a form | !Type when&lt;br /&gt;in a ~GridControl | !Type when&lt;br /&gt;in a Dialog |!Description |
++|[[Dialog]] |&gt;|&gt;| NA |The page to be displayed |
++|[[Control]] | None | None | All |The page to which the control belongs |
++!!!Syntax
++//dialog//{{{.Page}}}
++//dialog//{{{.Page}}} = //value//
++//control//{{{.Page}}}
++//control//{{{.Page}}} = //value//
++!!!Returned values / Arguments
++{{{Long}}}
++!!!Remarks
++The page value 0 has a special role. If a control has a page value of 0, the control is displayed on all dialog pages. If a dialog has a page value of 0, all controls of the dialog are displayed, regardless of the page value of the individual controls.
++!!!Error messages
++|Property 'Page' not applicable in this context |
++|Value '...' is invalid for property 'Page' |</pre>
++</div>
++<div title="PageTemplate" modifier="Jean-PierreLedure" created="201106250821" modified="201212311225" tags="excludeLists">
++<pre>&lt;!--{{{--&gt;
++&lt;div class='header'&gt;
++&lt;div class='titleLine'&gt;
++&lt;span class='siteTitle' refresh='content' tiddler='SiteTitle'&gt;&lt;/span&gt;&amp;nbsp;
++&lt;span class='siteSubtitle' refresh='content' tiddler='SiteSubtitle'&gt;&lt;/span&gt;
++&lt;/div&gt;
++&lt;/div&gt;
++&lt;div id='mainMenu' refresh='content' tiddler='MainMenu'&gt;&lt;/div&gt;
++&lt;div id='sidebar'&gt;
++&lt;div macro='gradient vert #ffffff #cc9900'&gt;&lt;a&gt; &lt;/a&gt;&lt;div id='sidebarOptions' refresh='content' tiddler='SideBarOptions'&gt;&lt;/div&gt;
++&lt;/div&gt;
++&lt;div id='sidebarTabs' refresh='content' force='true' tiddler='SideBarTabs'&gt;&lt;/div&gt;
++&lt;/div&gt;
++&lt;div id='displayArea'&gt;
++&lt;div id='messageArea'&gt;&lt;/div&gt;
++&lt;div id='tiddlersBar' refresh='none' ondblclick='config.macros.tiddlersBar.onTiddlersBarAction(event)'&gt;&lt;/div&gt;
++&lt;div id='tiddlerDisplay'&gt;&lt;/div&gt;
++&lt;/div&gt;
++&lt;!--}}}--&gt;</pre>
++</div>
++<div title="Parent" modifier="Jean-Pierre Ledure" created="201212221430" modified="201507121403" tags="Properties" changecount="1">
++<pre>The //Parent// property returns the parent object of a [[Control]] or of a [[SubForm]].
++!!!Applies to ...
++| !Object |!Description |
++|[[SubForm]] |A subform of an open form. |
++|[[Control]] |A control of an open form. |
++|[[CommandBarControl]] |An element of a commandbar. |
++!!!Syntax
++//subform//{{{.Parent}}}
++//control//{{{.Parent}}}
++//commandbarcontrol//{{{.Parent}}}
++!!!Returned values
++{{{Object}}}
++!!!Remarks
++*The Parent property is read-only.
++*The parent can be itself an object of type [[Control]], [[SubForm]], [[Form]], [[Dialog]] or [[CommandBar]].
++!!!Error messages
++!!!Example
++&lt;&lt;tiddler &quot;Parent example&quot;&gt;&gt;</pre>
++</div>
++<div title="Parent example" modifier="Jean-PierreLedure" created="201212221507" modified="201212221508" tags="[[Snippets of Code]]">
++<pre>Browse objects tree upwards
++//{{{
++Dim oSomeObject As Object
++ Set oSomeObject = getObject(&quot;Forms!Invoice!SubForm.Form!SubForm_Grid![SeqNr Invoice]&quot;)
++ While Not IsNull(oSomeObject)
++ Print oSomeObject.Name,
++ Set oSomeObject = oSomeObject.Parent
++ Wend
++//}}}</pre>
++</div>
++<div title="Picture" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201603280952" modified="201603281013" tags="Properties" changecount="8">
++<pre>The //Picture// property specifies a bitmap or other type of graphic to be displayed on the specified control.
++!!!Applies to ...
++| !Object | !Type when&lt;br /&gt;in a form | !Type when&lt;br /&gt;in a ~GridControl | !Type when in a Dialog |!Description |
++|[[Control]] | ~CommandButton&lt;br /&gt;~ImageButton&lt;br /&gt;~ImageControl | None | ~CommandButton&lt;br /&gt;~ImageControl |A control on an open form or a dialog of one of the listed types. |
++!!!Syntax
++//control//{{{.Picture}}}
++//control//{{{.Picture}}} = //value//
++!!!Returned value / Argument
++{{{String}}}
++!!!Remarks
++*The control MUST NOT be bound to a database field.
++*The {{{value}}} argument may be provided either in the (recommended) URL format (i.e. &quot;{{{file:// ...}}}&quot;) or by using the operating system usual syntax (e.g. &quot;{{{C:\...}}}&quot; in Windows).&lt;br /&gt;However the argument is always returned in the URL format.
++!!!Error messages
++|Property 'Picture' not applicable in this context |
++|Value '...' is invalid for property 'Caption' |
++!!!Example
++&lt;&lt;tiddler &quot;Picture example&quot;&gt;&gt;</pre>
++</div>
++<div title="Picture example" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201603281007" modified="201603281010" tags="[[Snippets of Code]]" changecount="2">
++<pre>Modify the picture displayed in an ~ImageControl control.
++//{{{
++Dim ofForm As Object, ocControl As Object
++ Set ofForm = Forms(&quot;myForm&quot;) ' Form must be open
++ Set ocControl = ofForm.Controls(&quot;MyImage&quot;)
++ ocControl.Picture = &quot;C:\MyPicture.jpg&quot;
++//}}}</pre>
++</div>
++<div title="ProcBodyLine" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201612181550" modified="201612181628" tags="Properties" changecount="8">
++<pre>The //~ProcBodyLine// property returns the number of the line at which the body of a specified procedure begins in a standard or a class [[module|Module]].
++!!!Applies to ...
++| !Object |!Description |
++|[[Module]] |The representation of a Basic script. |
++!!!Syntax
++//module//{{{.ProcBodyLine(}}}//~ProcName, ~ProcKind//{{{)}}}
++!!!Returned values / Arguments
++| !Argument | !Type | !Optional | !Description | !Returned type |
++|module | Object ||The concerned module. | Long |
++|~ProcName | String | N |The name of a procedure in the module. |~|
++|~ProcKind | Integer | N |The type of procedure. It can be one of the following constants:&lt;br /&gt;vbext_pk_Get&lt;br /&gt;vbext_pk_Let&lt;br /&gt;vbext_pk_Proc&lt;br /&gt;vbext_pk_Set |~|
++!!!Remarks
++*Lines in a module are numbered beginning with 1.
++*The body of a procedure begins with the procedure definition, denoted by one of the following:
++**A {{{Sub}}} statement.
++**A {{{Function}}} statement.
++**A {{{Property Get}}} statement.
++**A {{{Property Let}}} statement.
++**A {{{Property Set}}} statement.
++*The //~ProcBodyLine// property returns a number that identifies the line on which the procedure definition begins. In contrast, the [[ProcStartLine]] property returns a number that identifies the line at which a procedure is separated from the preceding procedure in a module. Any comments that precede the procedure definition (the body of a procedure) are considered part of the procedure, but the //~ProcBodyLine// property ignores them.
++*The //~ProcStartLine// and //~ProcBodyLine// properties can have the same value, if the procedure definition is the first line of the procedure. If the procedure definition isn't the first line of the procedure, the //~ProcBodyLine// property will have a greater value than the //~ProcStartLine// property.
++*If useful, insert the following constants in your own code:
++//{{{
++Const vbext_pk_Get = 1 ' A Property Get procedure
++Const vbext_pk_Let = 2 ' A Property Let procedure
++Const vbext_pk_Proc = 0 ' A Sub or Function procedure
++Const vbext_pk_Set = 3 ' A Property Set procedure
++//}}}
++!!!Error messages
++|Property '~ProcBodyLine' not applicable in this context |
++|Argument nr. ... [Value = '...'] is invalid |
++!!!See also
++[[ProcCountLines]]
++[[ProcOfLine]]
++[[ProcStartLine]]
++!!!Example
++&lt;&lt;tiddler &quot;Module example&quot;&gt;&gt;</pre>
++</div>
++<div title="ProcCountLines" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201612181600" modified="201612181627" tags="Properties" changecount="5">
++<pre>The //~ProcCountLines// property eturns the number of lines in a specified procedure in a standard or a class [[module|Module]].
++!!!Applies to ...
++| !Object |!Description |
++|[[Module]] |The representation of a Basic script. |
++!!!Syntax
++//module//{{{.ProcCountLines(}}}//~ProcName, ~ProcKind//{{{)}}}
++!!!Returned values / Arguments
++| !Argument | !Type | !Optional | !Description | !Returned type |
++|module | Object ||The concerned module. | Long |
++|~ProcName | String | N |The name of a procedure in the module. |~|
++|~ProcKind | Integer | N |The type of procedure. It can be one of the following constants:&lt;br /&gt;vbext_pk_Get&lt;br /&gt;vbext_pk_Let&lt;br /&gt;vbext_pk_Proc&lt;br /&gt;vbext_pk_Set |~|
++!!!Remarks
++*A procedure begins with any comments that immediately precede the procedure definition, denoted by one of the following:
++**A {{{Sub}}} statement.
++**A {{{Function}}} statement.
++**A {{{Property Get}}} statement.
++**A {{{Property Let}}} statement.
++**A {{{Property Set}}} statement.
++*The //~ProcCountLines// property returns the number of lines in a procedure, beginning with the line returned by the [[ProcStartLine]] property and ending with the line that ends the procedure. The procedure may be ended with {{{End Sub}}}, {{{End Function}}}, or {{{End Property}}}.
++*If useful, insert the following constants in your own code:
++//{{{
++Const vbext_pk_Get = 1 ' A Property Get procedure
++Const vbext_pk_Let = 2 ' A Property Let procedure
++Const vbext_pk_Proc = 0 ' A Sub or Function procedure
++Const vbext_pk_Set = 3 ' A Property Set procedure
++//}}}
++!!!Error messages
++|Property '~ProcCountLines' not applicable in this context |
++|Argument nr. ... [Value = '...'] is invalid |
++!!!See also
++[[ProcBodyLine]]
++[[ProcOfLine]]
++[[ProcStartLine]]
++!!!Example
++&lt;&lt;tiddler &quot;Module example&quot;&gt;&gt;</pre>
++</div>
++<div title="ProcOfLine" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201612181612" modified="201612181626" tags="Properties" changecount="4">
++<pre>The //~ProcOfLine// property returns the name of the procedure that contains a specified line in a standard or a class [[module|Module]].
++!!!Applies to ...
++| !Object |!Description |
++|[[Module]] |The representation of a Basic script. |
++!!!Syntax
++//module//{{{.ProcOfLine(}}}//Line, ~ProcKind//{{{)}}}
++!!!Returned values / Arguments
++| !Argument | !Type | !Optional | !Description | !Returned type |
++|module | Object ||The concerned module. | String |
++|Line | Long | N |The number of a line in the module. |~|
++|~ProcKind | Integer | N |The type of procedure. After execution it will contain one of the following constants:&lt;br /&gt;vbext_pk_Get&lt;br /&gt;vbext_pk_Let&lt;br /&gt;vbext_pk_Proc&lt;br /&gt;vbext_pk_Set |~|
++!!!Remarks
++*Lines in a module are numbered beginning with 1.
++*For any given line number, the //~ProcOfLine// property returns the name of the procedure that contains that line. Since comments immediately preceding a procedure definition are considered part of that procedure, the //~ProcOfLine// property may return the name of a procedure for a line that isn't within the body of the procedure. The [[ProcStartLine]] property indicates the line on which a procedure begins; the [[ProcBodyLine]] property indicates the line on which the procedure definition begins (the body of the procedure).
++*Note that the //~ProcKind// argument indicates whether the line belongs to a {{{Sub}}} or {{{Function}}} procedure, a {{{Property Get}}} procedure, a {{{Property Let}}} procedure, or a {{{Property Set}}} procedure. To determine what type of procedure a line is in, pass a variable of type {{{Integer}}} to the ProcOfLine property, then check the value of that variable.
++*If useful, insert the following constants in your own code:
++//{{{
++Const vbext_pk_Get = 1 ' A Property Get procedure
++Const vbext_pk_Let = 2 ' A Property Let procedure
++Const vbext_pk_Proc = 0 ' A Sub or Function procedure
++Const vbext_pk_Set = 3 ' A Property Set procedure
++//}}}
++!!!Error messages
++|Property '~ProcOfLine' not applicable in this context |
++|Argument nr. ... [Value = '...'] is invalid |
++!!!See also
++[[ProcBodyLine]]
++[[ProcCountLines]]
++[[ProcStartLine]]
++!!!Example
++&lt;&lt;tiddler &quot;Module example&quot;&gt;&gt; in a standard or a class [[module|Module]].
++</pre>
++</div>
++<div title="ProcStartLine" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201612181443" modified="201612181628" tags="Properties" changecount="10">
++<pre>The //~ProcStartLine// property returns a value identifying the line at which a specified procedure begins in a standard or a class [[module|Module]].
++!!!Applies to ...
++| !Object |!Description |
++|[[Module]] |The representation of a Basic script. |
++!!!Syntax
++//module//{{{.ProcStartLine(}}}//~ProcName, ~ProcKind//{{{)}}}
++!!!Returned values / Arguments
++| !Argument | !Type | !Optional | !Description | !Returned type |
++|module | Object ||The concerned module. | Long |
++|~ProcName | String | N |The name of a procedure in the module. |~|
++|~ProcKind | Integer | N |The type of procedure. It can be one of the following constants:&lt;br /&gt;vbext_pk_Get&lt;br /&gt;vbext_pk_Let&lt;br /&gt;vbext_pk_Proc&lt;br /&gt;vbext_pk_Set |~|
++!!!Remarks
++*Lines in a module are numbered beginning with 1.
++*A procedure begins with any comments that immediately precede the procedure definition, denoted by one of the following:
++**A {{{Sub}}} statement.
++**A {{{Function}}} statement.
++**A {{{Property Get}}} statement.
++**A {{{Property Let}}} statement.
++**A {{{Property Set}}} statement.
++*The //~ProcStartLine// property returns the number of the line on which the specified procedure begins. The beginning of the procedure may include comments that precede the procedure definition.&lt;br /&gt;To determine the line on which the procedure definition begins, use the [[ProcBodyLine]] property. This property returns the number of the line that begins with a {{{Sub}}}, {{{Function}}}, {{{Property Get}}}, {{{Property Let}}}, or {{{Property Set}}} statement.
++*The //~ProcStartLine// and //~ProcBodyLine// properties can have the same value, if the procedure definition is the first line of the procedure. If the procedure definition isn't the first line of the procedure, the //~ProcBodyLine// property will have a greater value than the //~ProcStartLine// property.
++*If useful, insert the following constants in your own code:
++//{{{
++Const vbext_pk_Get = 1 ' A Property Get procedure
++Const vbext_pk_Let = 2 ' A Property Let procedure
++Const vbext_pk_Proc = 0 ' A Sub or Function procedure
++Const vbext_pk_Set = 3 ' A Property Set procedure
++//}}}
++!!!Error messages
++|Property '~ProcStartLine' not applicable in this context |
++|Argument nr. ... [Value = '...'] is invalid |
++!!!See also
++[[ProcBodyLine]]
++[[ProcCountLines]]
++[[ProcOfLine]]
++!!!Example
++&lt;&lt;tiddler &quot;Module example&quot;&gt;&gt;</pre>
++</div>
++<div title="ProductCode" modifier="Jean-Pierre Ledure" created="201312261112" modified="201405291527" tags="Properties" changecount="3">
++<pre>The //~ProductCode// property returns &quot;~Access2Base x.y.z&quot; where x.y.z equals the version number of the library.
++&lt;&lt;tiddler &quot;ApplyApplication&quot;&gt;&gt;
++!!!Syntax
++{{{[Application.]ProductCode}}}
++!!!Returned values / Arguments
++{{{String}}}
++!!!Remarks
++!!!Error messages
++!!!See also
++[[CurrentUser]]
++[[Version]]
++!!!Example
++&lt;&lt;tiddler &quot;Identification example&quot;&gt;&gt;</pre>
++</div>
++<div title="ProductsTable" modifier="Jean-PierreLedure" created="201212211624" modified="201212241135" tags="HowTo">
++<pre>*Products table
++| !Fields | !Field Type | !Primary |
++|~CategoryID | ~BigInt ||
++|~ProductName | Text ||
++|~QuantityPerUnit | Text ||
++|~ReorderLevel | Integer ||
++|~SupplierID | ~BigInt ||
++|~UnitPrice | Number ||
++|~UnitsInStock | Integer ||
++|~UnitsOnOrder | Integer ||
++|Discontinued | Boolean ||
++|~ProductID | ~BigInt | Y |
++|Picture | Image ||</pre>
++</div>
++<div title="Properties" modifier="Jean-PierreLedure" created="201306151415" tags="Menu">
++<pre></pre>
++</div>
++<div title="Properties (collection)" modifier="Jean-Pierre Ledure" created="201107021457" modified="201405241129" tags="Collections" changecount="1">
++<pre>The //Properties// collection describes instances of all __properties__ of an [[object|Object Model]]
++!!!Syntax
++//object//.{{{Properties()}}}
++//object//.{{{Properties(index)}}} or //object//.{{{Properties(propertyname)}}}
++| !Argument | !Type |!Returned value |
++|| absent |A [[Collection]] of the properties of the object |
++| index | integer&lt;br /&gt;long |A [[property|Property]] object |
++| propertyname | string |~|
++!!!Remarks
++*Property [[collections|Collection]] are numbered from 0 to //object//.{{{Properties(...).Count - 1}}}
++*The //propertyname// argument is not case sensitive.
++!!!Error messages
++|Argument nr. 1 [Value = '...'] is invalid |
++|Out of array range or incorrect array size for collection Properties() |
++!!!See also
++[[Property]]
++[[hasProperty]]
++[[getProperty]]
++[[setProperty]]
++!!!Examples
++&lt;&lt;tiddler &quot;Properties example&quot;&gt;&gt;
++</pre>
++</div>
++<div title="Properties example" modifier="Jean-Pierre Ledure" created="201107021639" modified="201611261226" tags="[[Snippets of Code]]" changecount="1">
++<pre>To list the value of each property of a form ...
++//{{{
++Dim ofForm As Object, i As Integer, iCount As Integer, oProperty As Object
++ Set ofForm = Forms(&quot;myForm&quot;)
++ iCount = ofForm.Properties.Count
++ For i = 0 To iCount - 1
++ Set oProperty = ofForm.Properties.Item(i)
++ Print oProperty.Name &amp; &quot;=&quot; &amp; oProperty).Value
++ Next i
++ Print
++//}}}</pre>
++</div>
++<div title="Property" modifier="Jean-Pierre Ledure" created="201110010743" modified="201405251537" tags="Objects" changecount="3">
++<pre>The {{{Property}}} [[object|Object Model]] describes a ~Name-Value pair of any property of any other object.
++!!!Functions returning a property object
++| !Parent object | !Function | !Type |!Description |
++| Any |[[Properties|Properties (collection)]] | [[Collection]] |//object//.{{{Properties(}}}//property-name//{{{)}}} returns a //Property// object. |
++!!!Properties of the returned object
++| !Property | !Type | !Description |
++|[[Name]] | String ||
++|[[ObjectType]] | String |Returns &quot;PROPERTY&quot; |
++|[[Value]] | Variant |The value of the considered property (might be an array). |
++!!!Syntax
++//property//{{{.Name}}}
++//property//{{{.Value}}}
++!!!Methods
++| !Method | !Argument(s) | !Return | !Description |
++|[[getProperty]] | property | Variant |Return the value of the given property. |
++|[[hasProperty]] | property | Boolean |Return True if the Property object has the given property. |
++!!!Remarks
++*All properties of a //Property// object are read-only.
++!!!See also
++[[Properties|Properties (collection)]]
++[[hasProperty]]
++[[getProperty]]
++[[setProperty]]
++!!!Example
++&lt;&lt;tiddler &quot;Properties example&quot;&gt;&gt;</pre>
++</div>
++<div title="QueryDef" modifier="Jean-Pierre Ledure" created="201306141626" modified="201405251547" tags="Objects" changecount="5">
++<pre>{{firstletter{
++ @@color:#930;A@@
++ }}}//~QueryDef// [[object|Object Model]] describes one of the Queries located in a database document (&quot;.odb&quot; file).
++!!!Function returning a //~QueryDef// object
++| !Parent object | !Function | !Type | !Argument |!Description |
++|[[Database]] |[[QueryDefs]] | [[Collection]] | Integer or String |{{{Application.CurrentDb().QueryDefs(&quot;myQuery&quot;)}}} returns an object corresponding with the {{{myQuery}}} query |
++!!!Properties
++| !Property | !Type | !Read only | !Description or UNO object |
++|[[Name]] || Y |Specifies the exact name of the query |
++|[[ObjectType]] || Y |Returns &quot;QUERYDEF&quot; |
++|[[SQL]] |||Specifies the SQL statement related to the query |
++|[[Type]] || Y |Classifies the query |
++|Query | UNO | Y |com.sun.star.sdb.dbaccess.~OQuery |
++!!!Methods
++| !Method | !Argument(s) | !Return | !Description |
++|[[Execute|Execute (query)]] | options | Boolean |Execute an action query. |
++|[[Fields]] | None&lt;br /&gt;Index&lt;br /&gt;Name | [[Collection]] |Return the collection of the fields belonging to the query. |
++|[[getProperty]] | property | Variant |Return the value of the given property. |
++|[[hasProperty]] | property | Boolean |Return True if the //~QueryDef// has the given property. |
++|[[OpenRecordset]] | options | [[Recordset]] |Return a recordset object allowing access to the query data. |
++|[[setProperty]] | property&lt;br /&gt;value | Boolean |Return True if the given property could be set. |
++!!!Remarks
++!!!See also
++[[TableDef]]
++!!!Examples
++&lt;&lt;tiddler &quot;Datadef example&quot;&gt;&gt;</pre>
++</div>
++<div title="QueryDefs" modifier="Jean-Pierre Ledure" created="201306081259" modified="201405241129" tags="Collections" changecount="1">
++<pre>The //~QueryDefs// collection describes instances of all __queries__ present in the current database.
++!!!Syntax
++{{{database.QueryDefs()}}}
++{{{database.QueryDefs(index)}}}
++{{{database.QueryDefs(queryname)}}}
++| !Object | !Type | !Argument | !Type |!Returned value |
++|database |[[Database object|Database]] | absent ||A [[Collection]] object |
++|~|~| index | integer&lt;br&gt;long |A [[QueryDef]] object corresponding to the index-th item in the ~QueryDefs() collection. The 1st query is ~QueryDefs(0), the 2nd is ~QueryDefs(1) and so on ... The last one is ~QueryDefs.Count - 1.|
++|~|~| queryname | string |A [[QueryDef]] object having the argument as name. The argument is NOT case-sensitive.|
++!!!Methods
++| !Method | !Description |
++|[[Delete|Delete (table-query)]]|Delete an existing //~QueryDef//. |
++!!!Remarks
++The //queryname// argument is not case sensitive.
++!!!Error messages
++|Argument nr. 1 [Value = '...'] is invalid |
++|Out of array range or incorrect array size for collection ~QueryDefs() |
++|Query '...' not found |
++!!!See also ...
++[[CreateQueryDef]]
++[[TableDefs]]
++[[Recordsets]]
++!!!Example
++&lt;&lt;tiddler &quot;Datadef example&quot;&gt;&gt;
++</pre>
++</div>
++<div title="Quit" modifier="Jean-Pierre Ledure" created="201112311418" modified="201409271455" tags="Actions" changecount="4">
++<pre>{{firstletter{
++ @@color:#930;T@@
++ }}}he //Quit// action quits //~OpenOffice/~LibreOffice Base//. You can select one of several options for saving the database document before quitting.
++&lt;&lt;tiddler &quot;ApplyDoCmd&quot;&gt;&gt;
++!!!Syntax
++{{{[DoCmd.]Quit(}}}//{{{Option}}}//{{{)}}}
++| !Argument | !Optional | !Type&lt;br /&gt;or&lt;br /&gt;Symbol |!Description |
++|{{{Option}}} | Yes | acQuitPrompt, acQuitSaveAll, acQuitSaveNone |//acQuitPrompt// Displays a dialog box that asks whether you want really to quit or not.&lt;br /&gt;//acQuitSaveAll// (default) Saves all objects without displaying a dialog box.&lt;br /&gt;//acQuitSaveNone// Quits without saving any objects. |
++The symbolic constants can be included in your code by copying and pasting next lines:
++//{{{
++Const acQuitPrompt = 0
++Const acQuitSaveAll = 1
++Const acQuitSaveNone = 2
++//}}}
++!!!Remarks
++*The Quit action has the same effect as clicking Exit on the File menu in the //~OpenOffice/~LibreOffice Base// window.
++*In //~MSAccess// the //Quit// method is linked to the [[Application]] object.
++*The //Quit// action must not be triggered from a [[standalone form|Standalone Forms]].
++!!!Error messages
++|Action not applicable in this context |
++!!!See also
++!!!Example
++Display next message box: ''Do you really want to quit the application ? Changed data will be saved.''
++If Yes pressed, the application will close.
++//{{{
++ DoCmd.Quit(acQuitPrompt)
++//}}}
++</pre>
++</div>
++<div title="RadioButton" modifier="Jean-Pierre Ledure" created="201112271447" modified="201405300636" tags="[[Special controls]]" changecount="4">
++<pre>{{firstletter{
++ @@color:#930;A@@
++ }}} //~RadioButton// [[control|Control]] enables the user to choose among one of several options.
++Radio buttons are grouped in the sense that selecting one deselects all the others.
++&gt;In [[forms|Form]] and [[subforms|SubForm]] all //~RadioButtons// in a group share the same name (Name property).
++&gt;In [[dialogs|Dialog]] the //~RadioButtons// constituting a group have contiguous [[TabIndex]] properties.
++Usually, //~RadioButtons// are grouped in a group box. In //AOO/~LibO// group boxes play only a graphical role.
++!!!Specific properties of radio buttons
++| !Property | !Read only | !Description |
++|[[Name]] | Y |Specifies the exact name of the [[OptionGroup]]. |
++|[[OptionValue]] | Y |Specifies the value that is stored in the database when the radio button is selected and the record saved. |
++!!!Methods
++| !Method | !Argument(s) | !Return | !Description |
++|[[getProperty]] | property | Variant |Return the value of the given property. |
++|[[hasProperty]] | property | Boolean |Return True if the ~RadioButton has the given property. |
++|[[Requery]] ||~|True if data reloaded in the ~RadioButton |
++|[[SetFocus]] | none |~|Return True if focus set on Control successfully. |
++|[[setProperty]] | property&lt;br /&gt;value |~|Return True if the given property could be set. |
++!!!Remarks
++The ~RadioButton control has no //Value// property.
++To identify the selected radio button, use the [[OptionGroup method|OptionGroup (Method)]] and the [[Value]] property of the returned [[OptionGroup]] object.
++!!!See also
++[[OptionGroup (Method)]]
++[[OptionGroup]]
++[[TabIndex]]
++!!!Example
++&lt;&lt;tiddler &quot;Optiongroup example&quot;&gt;&gt;</pre>
++</div>
++<div title="ReadAllBytes" modifier="Jean-Pierre Ledure" created="201308041222" modified="201405241314" tags="Methods" changecount="2">
++<pre>The //~ReadAllBytes// method imports the content of a file specified by its full name into a binary [[Field]] belonging to a [[Recordset]].
++!!!Applies to ...
++| !Object | !Type of field |
++|[[Field]] |com.sun.star.sdbc.~DataType.BINARY&lt;br /&gt;com.sun.star.sdbc.~DataType.VARBINARY&lt;br /&gt;com.sun.star.sdbc.~DataType.LONGVARBINARY |
++!!!Syntax
++//field//{{{.ReadAllBytes(}}}//file//{{{)}}}
++!!!Arguments
++| !Argument | !Type | !Description |
++| file | String |The full name, including the path, of the file you want to import the data from. |
++!!!Remarks
++*The //~ReadAllBytes// method must be preceeded by a [[AddNew]] or [[Edit]] method and followed by an [[Update]] method, both applied to the concerned //Recordset//.
++*The {{{file}}} argument may be expressed either in the (recommended) URL format (i.e. &quot;{{{file:// ...}}}&quot;) or by using the operating system usual syntax (e.g. &quot;{{{C:\...}}}&quot; in Windows).
++!!!Error messages
++|Method '~ReadAllBytes' not applicable in this context |
++|File access error on file '...' |
++|Recordset or field is not updatable |
++|Recordset update sequence error |
++!!!See also
++[[ReadAllText]]
++[[Value|Value (field)]]
++[[WriteAllBytes]]
++[[WriteAllText]]
++!!!Example
++&lt;&lt;tiddler &quot;ReadAllBytes example&quot;&gt;&gt;</pre>
++</div>
++<div title="ReadAllBytes example" modifier="Jean-PierreLedure" created="201308041302" modified="201308041303" tags="[[Snippets of Code]]">
++<pre>Save the image stored in a file into a new record
++//{{{
++Dim oRecordset As Object, sFile As String
++ sFile = &quot;C:\...&quot;
++ Set oRecordset = Application.CurrentDb().OpenRecordset(&quot;Products&quot;)
++ With oRecordset
++ .AddNew ' All fields are initialized with their default value
++ .Fields(&quot;IMAGE&quot;).ReadAllBytes(sFile)
++ ' ... Other fields can be set by setting their Value property
++ .Update
++ End With
++ oRecordset.mClose()
++//}}}</pre>
++</div>
++<div title="ReadAllText" modifier="Jean-PierreLedure" created="201308041304" modified="201308041307" tags="Methods">
++<pre>The //~ReadAllText// method imports the content of a file specified by its full name into a memo [[Field]] belonging to a [[Recordset]].
++!!!Applies to ...
++| !Object | !Type of field |
++|[[Field]] |com.sun.star.sdbc.DataType.LONGVARCHAR |
++!!!Syntax
++//field//{{{.ReadAllText(}}}//file//{{{)}}}
++!!!Arguments
++| !Argument | !Type | !Description |
++| file | String |The full name, including the path, of the file you want to import the data from. |
++!!!Remarks
++*The //~ReadAllText// method must be preceeded by a [[AddNew]] or [[Edit]] method and followed by an [[Update]] method, both applied to the concerned //Recordset//.
++*The {{{file}}} argument may be expressed either in the (recommended) URL format (i.e. &quot;{{{file:// ...}}}&quot;) or by using the operating system usual syntax (e.g. &quot;{{{C:\...}}}&quot; in Windows).
++*The text file must NOT BE LONGER than 64K.
++!!!Error messages
++|Method '~ReadAllText' not applicable in this context |
++|File access error on file '...' |
++|Recordset or field is not updatable |
++|Recordset update sequence error |
++!!!See also
++[[ReadAllBytes]]
++[[Value|Value (field)]]
++[[WriteAllBytes]]
++[[WriteAllText]]
++!!!Example
++&lt;&lt;tiddler &quot;ReadAllText example&quot;&gt;&gt;</pre>
++</div>
++<div title="ReadAllText example" modifier="Jean-PierreLedure" created="201308041313" tags="[[Snippets of Code]]">
++<pre>Save the image stored in a file into a new record
++//{{{
++Dim oRecordset As Object, sFile As String
++ sFile = &quot;C:\...&quot;
++ Set oRecordset = Application.CurrentDb().OpenRecordset(&quot;Products&quot;)
++ With oRecordset
++ .AddNew ' All fields are initialized with their default value
++ .Fields(&quot;MEMOFIELD&quot;).ReadAllText(sFile)
++ ' ... Other fields can be set by setting their Value property
++ .Update
++ End With
++ oRecordset.mClose()
++//}}}</pre>
++</div>
++<div title="RecordCount" modifier="Jean-PierreLedure" created="201306231523" modified="201306231544" tags="Properties">
++<pre>You can use the //~RecordCount// property to specify the number of records accessed in a [[Recordset]] object.
++!!!Applies to ...
++| !Object |!Description |
++|[[Recordset]] |A set of records derived from a table, a query or an SQL statement |
++!!!Syntax
++//recordset//{{{.RecordCount}}}
++!!!Returned values
++{{{Long}}}
++!!!Remarks
++*The //~RecordCount// property is read-only.
++*Use the //~RecordCount// property to find out how many records in a //Recordset// object have been accessed. The //~RecordCount// property doesn't indicate how many records are contained in a //Recordset// object until all records have been accessed. Once the last record has been accessed, the //~RecordCount// property indicates the total number of undeleted records in the //Recordset// object. To force the last record to be accessed, use the [[MoveLast|Move (recordset)]] method on the //Recordset// object. You can also use an SQL Count function to determine the approximate number of records your query will return.
++*Note: using the //~MoveLast// method to populate a newly opened //Recordset// negatively impacts performance. Unless it is necessary to have an accurate //~RecordCount// as soon as you open a //Recordset//, it's better to wait until you populate the //Recordset// with other portions of code before checking the //~RecordCount// property.
++!!!Error messages
++!!!See also
++[[MoveLast|Move (recordset)]]
++[[Recordset|Recordset (property)]]
++!!!Example
++&lt;&lt;tiddler &quot;Filter2 example&quot;&gt;&gt;</pre>
++</div>
++<div title="RecordSource" modifier="Jean-PierreLedure" created="201107181337" modified="201306151430" tags="Properties">
++<pre>You can use the //~RecordSource// property to specify the source of the data displayed in a form.
++!!!Applies to ...
++| !Object |!Description |
++|[[Form]] |An open form |
++|[[SubForm]] |The subform of an open form |
++!!!Syntax
++//form//{{{.RecordSource}}}
++//form//{{{.RecordSource}}} = //value//
++//subform//{{{.RecordSource}}}
++//subform//{{{.RecordSource}}} = //value//
++!!!Returned values / Arguments
++{{{String}}}
++!!!Remarks
++The //~RecordSource// property is a string expression consisting of either
++*a table name
++*a query name
++*a SQL statement including the SELECT verb
++However to modify the ~RecordSource property, use __only a SQL statement__. When the ~RecordSource property value is changed, the //form// or //subform// is reloaded automatically.
++
++After modification of the //~RecordSource// any preexisting filter on the form is reset.
++!!!Error messages
++|Form '...' is currently not open |
++|Value '...' is invalid for property '~RecordSource' |
++!!!See also
++[[ControlSource]]
++[[Requery]]
++!!!Example
++&lt;&lt;tiddler &quot;RecordSource example&quot;&gt;&gt;</pre>
++</div>
++<div title="RecordSource example" modifier="Jean-PierreLedure" created="201107181410" modified="201212141527" tags="[[Snippets of Code]]">
++<pre>Set new data source on open form
++//{{{
++Dim ofForm As Object, sSQL As String
++ ofForm = Forms(&quot;myForm&quot;)
++ sSQL = &quot;SELECT * FROM [EMPLOYEE] WHERE &quot; _
++ &amp; &quot;[EMPLOYEE].[NAME] LIKE '*MICKEY*' Or [EMPLOYEE].[NAME] LIKE '*WINNIE*'&quot;
++ ofForm.RecordSource = sSQL
++//}}}</pre>
++</div>
++<div title="Recordset" modifier="Jean-Pierre Ledure" created="201306221335" modified="201407121454" tags="Objects" changecount="11">
++<pre>{{firstletter{
++ @@color:#930;A@@
++ }}} //Recordset// object represents the records in a base table or the records that result from running a query. A cursor technique allows to walk through the records of the recordset.
++!!!Functions returning a recordset object
++| !Parent object | !Method | !Type |
++|[[Database]] |[[Recordsets]] | [[Collection]] |
++|[[Database]] |[[OpenRecordset]] ||
++|[[TableDef]] |~|~|
++|[[QueryDef]] |~|~|
++|//Recordset// |[[OpenRecordset]] |~|
++|~|[[Clone]] |~|
++|[[Form]] |[[Recordset|Recordset (property)]] |~|
++|[[SubForm]] |~|~|
++!!!Properties
++| !Property | !Type | !Read only |!Description or UNO object |
++|[[AbsolutePosition]] |||Sets or returns the relative record number of a //Recordset//. |
++|[[BOF|BOF, EOF]] || Y |Specifies if the recordset cursor is placed before the first record. |
++|[[Bookmark]] |||Sets or returns a bookmark that uniquely identifies the current record in a //Recordset// object. |
++|[[Bookmarkable]] || Y |Returns a value that indicates whether a //Recordset// object supports bookmarks. |
++|[[EditMode]] || Y |Indicates the state of editing for the current record. |
++|[[EOF|BOF, EOF]] || Y |Specifies if the recordset cursor is placed after the last record. |
++|[[Filter]] |||Specifies a selection to be set on the current recordset before opening with [[OpenRecordset]] a new derived recordset. |
++|[[Name]] || Y |Specifies the name assigned by ~Access2Base to the recordset. |
++|[[ObjectType]] || Y |Returns &quot;RECORDSET&quot;. |
++|[[RecordCount]] || Y |Returns the number of records of the recordset. |
++|~RowSet | UNO | Y |com.sun.star.comp.dba.~ORowSet |
++!!!Methods
++| !Method | !Description |
++|[[AddNew]] |Initiate the creation of a new record. |
++|[[CancelUpdate]] |Cancel on-going updates. |
++|[[Clone]] |Create a duplicate //Recordset// object that refers to the current one. |
++|[[Close|Close (method)]] |Close the //Recordset// object. The object is not usable anymore. |
++|[[Delete]] |Delete the current record. |
++|[[Edit]] |Initiate the update of fields in the current record. |
++|[[Fields]] |Access the collection of fields of the recordset. |
++|[[getProperty]] |Return the value of the given property. |
++|[[GetRows]] |Retrieve multiple rows at once. |
++|[[hasProperty]] |Return True if the Recordset has the given property. |
++|[[Move|Move (recordset)]]|Walk through the recordset. |
++|[[MoveFirst|Move (recordset)]] |~|
++|[[MoveLast|Move (recordset)]] |~|
++|[[MoveNext|Move (recordset)]] |~|
++|[[MovePrevious|Move (recordset)]] |~|
++|[[OpenRecordset]] |derive a new //Recordset// object from the current one. |
++|[[setProperty]] |Return True if the given property could be set. |
++|[[Update]] |Confirm on-going updates. |
++!!!Remarks
++*A new //Recordset// object is automatically added to the [[Recordsets]] collection when you open the object, and is automatically removed when you close it.
++*You can create as many //Recordset// object variables as needed. Different //Recordset// objects can access the same tables, queries, and fields without conflicting.
++*When you create a //Recordset// object, the current record is positioned to the first record if there are any records. If there are no records, the [[RecordCount]] property setting is 0, and the [[BOF|BOF, EOF]] and [[EOF|BOF, EOF]] property settings are {{{True}}}.
++*Information about the structure of a base table, such as the names and data types of each [[Field]] object, is contained in a [[TableDef]] object.
++!!!Example
++&lt;&lt;tiddler &quot;OpenRecordset example&quot;&gt;&gt;</pre>
++</div>
++<div title="Recordset (property)" modifier="Jean-Pierre Ledure" created="201306231553" modified="201405291634" tags="Properties" changecount="1">
++<pre>Returns a [[Recordset]] object representing the record source for the specified form or subform.
++!!!Applies to ...
++| !Object |!Description |
++|[[Form]] |An open form. |
++|[[SubForm]] |A subform in an open form. |
++!!!Syntax
++//form//{{{.Recordset}}}
++//subform//{{{.Recordset}}}
++!!!Returned values
++[[Recordset object|Recordset]]
++!!!Remarks
++*The //Recordset// property is read-only.
++*The //Recordset// property returns the recordset object that provides the data being browsed in a form. However walking thru the form or walking thru the recordset will remain independent from each other.
++!!!Error messages
++|Property 'Recordset' not applicable in this context |
++!!!See also
++[[OpenRecordset]]
++[[Recordset]]
++!!!Example</pre>
++</div>
++<div title="Recordsets" modifier="Jean-Pierre Ledure" created="201306221336" modified="201405241130" tags="Collections" changecount="2">
++<pre>The //Recordsets// collection describes instances of all __recordsets__ that are currently open in relation with a given [[database object|Database]].
++!!!Syntax
++{{{database.Recordsets()}}}
++{{{database.Recordsets(index)}}}
++{{{database.Recordsets(recordsetname)}}}
++| !Object | !Type | !Argument | !Type |!Returned value |
++|database |[[Database object|Database]] | absent ||A [[Collection]] object |
++|~|~| index | integer&lt;br&gt;long |A [[Recordset]] object corresponding to the index-th item in the ~Recordsets() collection. The 1st recordset is Recordsets(0), the 2nd is Recordsets(1) and so on ... The last one is Recordsets.Count - 1.|
++|~|~| recordsetname | string |A [[Recordset]] object having the argument as name. The argument is NOT case-sensitive.|
++!!!Remarks
++*The //recordsetname// argument is not case sensitive.
++*The name of a recordset is not chosen by the user or the programmer. It is defined as a unique name by ~Access2Base. As a consequence the use of the syntax based on the recordsetname requires the name to be kept somewhere to allow the retrieval of the recordset object. See the example.
++!!!Error messages
++|Argument nr. 1 [Value = '...'] is invalid |
++|Out of array range or incorrect array size for collection Recordsets() |
++|Recordset '...' not found |
++!!!See also ...
++[[QueryDefs]]
++[[TableDefs]]
++!!!Example
++&lt;&lt;tiddler &quot;Recordsets example&quot;&gt;&gt;</pre>
++</div>
++<div title="Recordsets example" modifier="Jean-PierreLedure" created="201306221354" modified="201306221356" tags="[[Snippets of Code]]">
++<pre>A recordset is created somewhere
++//{{{
++Global sRSName As String
++'---------------------------------------
++Dim oRecordset As Object
++ Set oRecordset = Application.CurrentDb().OpenRecordset(&quot;SELECT * FROM [PRODUCTS]&quot;)
++ sRSName = oRecordset.Name
++//}}}
++... then, elsewhere, for instance in an event ... next construction is valid:
++//{{{
++Dim oRecordset As Object
++ Set oRecordset = Application.CurrentDb().Recordsets(sRSName)
++ '...
++//}}}
++</pre>
++</div>
++<div title="Refresh" modifier="Jean-Pierre Ledure" created="201111191343" modified="201405241315" tags="Methods" changecount="1">
++<pre>The //Refresh// method immediately updates the records in the underlying record source for a specified form to reflect changes made to the data by you or other users in a multiuser environment.
++!!!Applies to ...
++| !Object | !Description |
++|[[Form]] |The representation of an open database form. |
++|[[SubForm]] |A subset of the [[Controls|Control]] present in a Form. |
++!!!Syntax
++//form.//{{{Refresh}}}
++//subform.//{{{Refresh}}}
++!!!Remarks
++!!!Error messages
++!!!See also
++[[RecordSource]]
++[[Requery]]
++!!!Example
++&lt;&lt;tiddler &quot;Refresh example&quot;&gt;&gt;</pre>
++</div>
++<div title="Refresh example" modifier="Jean-Pierre Ledure" created="201111191435" modified="201405241316" tags="[[Snippets of Code]]" changecount="1">
++<pre>Refresh the data in the current record of a form
++//{{{
++Dim ofForm As Object
++ Set ofForm = Application.Forms(&quot;myForm&quot;)
++ ofForm.Refresh
++//}}}</pre>
++</div>
++<div title="ReleaseNotes" modifier="YourName" created="201203171447" modified="201902151438" tags="NoTag" changecount="69">
++<pre>| !Release | !Date | !Description | !Embedded in ... |
++| 6.2.0 | 02/2019 |Support of hierarchical form names.&lt;br /&gt;Support of (embedded) Firebird 3.0 database system. | ~LibreOffice 6.2 |
++| 1.9.0 | 07/2018 |Base forms may contain more than 1 root form, all belonging to a forms collection, each of them having its own data source (NB: ~MSAccess does not have that feature). It is now supported by ~Access2Base&lt;br /&gt;A translation in german is provided (thanks to Gisbert Friege). | ~LibreOffice 6.1 |
++| 1.8.0 | 01/2018 |Database document and dialog events can be dynamically got and updated with the new [[On database events|On (database event)]] and [[On dialog events|On (dialog event)]]. | ~LibreOffice 6.0 |
++| 1.7.0 | 07/2017 |Form, subform and control events can be dynamically got and updated with the new [[On form events|On (form event)]] and [[On control events|On (control event)]] properties.&lt;br /&gt;The new [[module|Module]] object class and its properties and methods makes it easy to navigate through the Basic libraries attached to the current file or application. | ~LibreOffice 5.4 |
++| 1.6.0 | 01/2017 |The [[CopyObject]] action may copy tables (structure and data) from one database to another. As an experimental feature involved tables may even reside in different database systems.&lt;br /&gt;The //database// class has received new properties: [[Name]], [[Connect]] and [[Version]].&lt;br /&gt;Additionally, a spanish translation is provided (thanks to Iñigo Zuluaga). | ~LibreOffice 5.3 |
++| 1.5.0 | 08/2016 |More flexible management of (long) binary fields in databases with the addition of the [[GetChunk]] and [[AppendChunk]] methods to the [[field object|Field]].&lt;br /&gt;Addition of the [[Picture]] property for //~ImageControl// controls. | ~LibreOffice 5.2 |
++| 1.4.0 | 01/2016 |The [[OutputTo]] action has been significantly enhanced. Output in one single Basic statement the content of a table or of a SELECT query into&lt;br /&gt;- an html file. The data table can be embedded in a template file. Examples of table styling to make the output more attractive are available in this [[tutorial|OutputToStyling]];&lt;br /&gt;- a Calc spreadsheet&lt;br /&gt;- a text/csv file&lt;br /&gt;The [[OpenQuery]] action is now applicable to action queries. | ~LibreOffice 5.1 |
++| 1.3.0 | 07/2015 |New [[CommandBars]] collection of [[CommandBar]] objects:&lt;br /&gt;Easily show/hide menu bar, status bar, toolbars and toolbar elements. | ~LibreOffice 5.0 |
++| 1.2.0 | 01/2015 |All the methods which can meaningfully be used without a database connection (error handling, dialogs manipulations, status bar and window handling, commands launch, ...) have been reviewed and documented as acceptable before any //~OpenConnection// call.&lt;br /&gt;A [[CloseConnection]] method has been added to allow freeing resources.&lt;br /&gt;To pass values from one open document to another, use the [[TempVars]] collection of [[TempVar]] objects.&lt;br /&gt;New properties for forms and subforms: [[OrderBy]] and [[OrderByOn]].&lt;br /&gt;Additionally the new [[ApplyFilter]] and [[SetOrderBy]] actions are applicable on table or query datasheets, and on forms or subforms as well. Also the [[GoToRecord]] action has been extended to table and query datasheets.&lt;br /&gt;Bug fixes and internal redesigns. | ~LibreOffice 4.4 |
++| 1.1.0 | 07/2014 |The ~Access2Base library can be run to access a database defined in any form defined in any AOO/~LibO document. Now the [[CurrentDb]] method may be associated with a form object, not only with the root class.&lt;br /&gt;The [[OpenDatabase]] method allows any AOO/~LibO document or any Basic macro to get access to tables stored in any database.&lt;br /&gt;The [[CopyObject]] (new) action copies query definitions and/or table d0000000efinitions and data.&lt;br /&gt;Creation of table and fields without SQL with the [[CreateTableDef]], [[CreateField]] and [[Add]] methods.&lt;br /&gt;The new [[GetRows]] method loads a given number of records from a recordset in a Basic array.&lt;br /&gt;[[RunSQL]], [[OpenSQL]], database functions have been extended to be run from a database object, not only as a command.&lt;br /&gt;New [[GetHiddenAttribute]] and [[SetHiddenAttribute]] actions hide or show any //AOO/~LibO// document or //Base// object. [[SelectObject]] scope has been extended accordingly.&lt;br /&gt;The [[Description]] property of a //~TableDef// is writable.&lt;br /&gt;Addition of the [[SelStart]], [[SelLength]] and [[SelText]] properties for text controls. | ~LibreOffice 4.3 |
++| 1.0.0 | 12/2013 |Inclusion of ~Access2Base code into the ~LibreOffice 4.2 build.&lt;br /&gt;Code stabilisation, robustness improvements (naming collisions risks, error handler, ...)&lt;br /&gt;Toggle sidebar in [[RunCommand]]&lt;br/&gt;Support of ~LibreOffice 4.2 new internal format for Time fields (compatibility with ~OpenOffice and older versions of ~LibreOffice is ensured). | ~LibreOffice 4.2 |
++| 0.9.5 | 08/2013 |Framework for database access:&lt;br /&gt;[[TableDefs]], [[QueryDefs]], [[Recordsets]] and [[Fields]] collections.&lt;br /&gt;[[TableDef]], [[QueryDef]], [[Recordset]] and [[Field]] objects.&lt;br /&gt;Addition of the [[CurrentRecord]] and [[Recordset|Recordset (property)]] properties for //forms// and //subforms//.&lt;br /&gt;Introspection improved with the [[Item]] property for //Collections//.&lt;br /&gt;[[RunSQL]] and [[OpenSQL]] support //pass-through// mode of operation. ||
++| 0.9.1 | 04/2013 |Bug fixing.&lt;br /&gt;Performance improvement when processing very large (1000+ items) listboxes.&lt;br /&gt;Workaround implemented to survive the ~LibreOffice 4.0 bug described in [[BugZilla|https://www.libreoffice.org/bugzilla/show_bug.cgi?id=60752]].&lt;br /&gt;Finalization of the [[Application]] object.&lt;br /&gt;Implementation of the [[SysCmd]] method for the management of the status bars.&lt;br /&gt;Redocumentation of the [[object model|Object Model]].&lt;br /&gt;Addition of the [[Dialog]] object. &lt;br /&gt;The [[Format]] property may be set programmatically for date and time controls.&lt;br /&gt;Addition of the [[OpenSQL]] action. ||
++| 0.9.0 | 01/2013 |Complete internal redesign of code to allow more object-oriented syntaxes for property settings and method invocations.&lt;br /&gt;E.g.&lt;br /&gt;{{{form.height = 100}}}&lt;br /&gt;{{{form.move(100,200)}}}&lt;br /&gt;Old syntax still supported.&lt;br /&gt;Consolidation of the object model with the [[Parent]], [[Source|Event]] and [[ObjectType]] properties.&lt;br /&gt;Addition of a [[Close|Close (method)]] method to the //Form// object.&lt;br /&gt;Several bugs corrections. ||
++| 0.8.9 | 10/2012 |Localization:&lt;br /&gt;- of the 2 dialog forms&lt;br /&gt;- of all strings (mainly error messages) used in the API&lt;br /&gt;A french translation is provided.&lt;br /&gt;For other languages, contributions are welcome. See [[Contact]]. ||
++| 0.8.6 | 09/2012 |Maintenance release. ||
++| 0.8.5 | 08/2012 |Introduction of new commands:&lt;br /&gt;[[OutputTo]] for storing a form document as a PDF, DOC, ... file.&lt;br /&gt;[[SendObject]] to send a form after transformation to PDF, DOC, ... by mail.&lt;br /&gt;[[RunApp]] to start an external application. ||
++| 0.8.2 | 08/2012 |API implementation identical to 0.8.1&lt;br /&gt;&quot;Check for Updates ...&quot; functionality of AAO/~LibO now detects ~Access2Base new versions. ||
++| 0.8.1 | 08/2012 |Maintenance release (bug in setValue method). ||
++| 0.8.0 | 07/2012 |Full support of [[standalone (Writer) forms|Standalone Forms]].&lt;br /&gt;[[RadioButtons|RadioButton]] order is now determined by their ~X-Y coordinates on the screen.&lt;br /&gt;Bug fixing in [[checkboxes controls|Control]] when linked to a database field.&lt;br /&gt; Support of &quot;Currency&quot; datatype in arguments to the API. Useful for controls of currency type. Converted to Double in internal processing. ||
++| 0.7.5 | 05/2012 |Support of [[Listboxes|ListBox]] with a separate column for bound fields.&lt;br /&gt;Introduction of the [[Bookmark]] property of [[Form]] pseudo-objects.&lt;br /&gt;New actions: [[ShowAllRecords]] and [[GoToControl]].&lt;br /&gt;New methods for managing Listboxes content (with the //~ValueList// rowsource type): [[AddItem]] and [[RemoveItem]].&lt;br /&gt;The [[RunSQL]] command accepts square brackets to surround field or table names. ||
++| 0.7.1 | 04/2012 |Correction of URL of online help. Clickable from Help menu in the Basic IDE. ||
++| 0.7.0 | 04/2012 |Bugs fixing in the [[SelectObject]] action (abort when help file open).&lt;br /&gt;Extension of the scope of the [[SelectObject]] action.&lt;br /&gt;Introduction of the [[RunCommand]] action. Documentation updated. ||
++| 0.6.0 | 04/2012 |New actions [[SelectObject]], [[Minimize]], [[Maximize]] and [[MoveSize]]&lt;br /&gt;&quot;~Access2Base Help&quot; menu command in IDE opens Online help on [[www.access2base.com|http://www.access2base.com]]. ||
++| 0.5.1 | 03/2012 |&quot;Out of array range&quot; error message added for collections (i.o. &quot;Invalid parameter&quot;). ||
++| 0.5.0 | 03/2012 |First public release. ||</pre>
++</div>
++<div title="Remove" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201409271313" modified="201409271320" tags="Methods" changecount="4">
++<pre>Erases a [[tempvar|TempVar]] object from the [[TempVars]] collection.
++!!!Applies to ...
++| !Object | !Description |
++|[[TempVars]] |The set of temporary variables. |
++!!!Syntax
++//application.~TempVars()//{{{.Remove(}}}//tempvarname//{{{)}}}
++| !Argument | !Type |!Returned value |
++|tempvarname | String |True if success.|
++!!!Remarks
++*The //tempvarname// argument is NOT case-sensitive.
++*By default, a //~TempVar// object remains in memory until ~LibO/AOO is closed. You can use the //Remove// method to remove a //~TempVar// object.
++!!!Error Messages
++|Temporary variable '...' not found |
++|Method 'Collection.Remove' not applicable in this context |
++!!!See also
++[[Add]]
++[[RemoveAll]]
++[[TempVar]]
++[[TempVars]]
++!!!Example
++&lt;&lt;tiddler &quot;Tempvar example&quot;&gt;&gt;</pre>
++</div>
++<div title="RemoveAll" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201409271322" modified="201409271325" tags="Methods" changecount="5">
++<pre>Erases all [[tempvar|TempVar]] objects from the [[TempVars]] collection.
++!!!Applies to ...
++| !Object | !Description |
++|[[TempVars]] |The set of temporary variables. |
++!!!Syntax
++[Application.]{{{TempVars().RemoveAll()}}}
++!!!Remarks
++By default, a //~TempVar// object remains in memory until ~LibO/AOO is closed. You can use the //~RemoveAll// method to remove all //~TempVar// objects at once.
++!!!Error Messages
++|Method 'Collection.~RemoveAll' not applicable in this context |
++!!!See also
++[[Add]]
++[[Remove]]
++[[TempVar]]
++[[TempVars]]
++!!!Example
++&lt;&lt;tiddler &quot;Tempvar example&quot;&gt;&gt;</pre>
++</div>
++<div title="RemoveItem" modifier="Jean-Pierre Ledure" created="201205251145" modified="201405241130" tags="Methods" changecount="1">
++<pre>The //~RemoveItem// method removes an item from the list of values displayed by the specified list box control.
++!!!Applies to ...
++| !Object | !Type when&lt;br /&gt;in a form or a dialog | !Type when&lt;br /&gt;in a ~GridControl |!Description |
++|[[Control]] | [[ListBox]] | [[ListBox]] |A listbox on an open form, a dialog or in a [[GridControl]]|
++!!!Syntax
++//control//{{{.RemoveItem(}}}//index//{{{)}}}
++| !Argument | !Type | !Description |
++| index | Integer&lt;br /&gt;Long |The position in the list of the item to remove. |
++|~| String |The value of the item to remove. The comparison with the actual values in the list is case-sensitive. |
++!!!Remarks
++*The [[RowSourceType]] property (invalid in dialogs) of the concerned //~ListBox// must contain the value {{{com.sun.star.form.ListSourceType.VALUELIST}}}.
++*Combo boxes do not support this value. That's why //~RemoveItem// is applicable only on listboxes.
++*List item numbers start from zero. If the value of the {{{index}}} argument doesn't correspond to an existing item number, an error occurs.
++*//~RemoveItem// returns True if success, False otherwise. False is returned if {{{index}}} is a string and the string has not been found in the listbox.
++!!!Error messages
++|Argument nr. 1 [Value = '...'] is invalid |
++|Method not applicable in this context |
++!!!See also
++[[ListBox]]
++[[AddItem]]
++[[RowSource]]
++[[RowSourceType]]
++!!!Example
++&lt;&lt;tiddler &quot;Addremoveitem example&quot;&gt;&gt;</pre>
++</div>
++<div title="Requery" modifier="Jean-Pierre Ledure" created="201111111525" modified="201407261214" tags="Methods" changecount="2">
++<pre>The //Requery// method updates the data underlying a specified control that's on the active form by requerying the source of data for the control.
++If the target is a [[Form]] and the source is a //Parameter Query// the parameters are re-asked to the user.
++!!!Applies to ...
++| !Object | !Description |
++|[[Form]] |The representation of an //~OpenOffice/~LibreOffice// database form. |
++|[[SubForm]] |A subset of the [[Controls|Control]] present in a Form. |
++|[[ComboBox]] |A combobox control. |
++|[[ListBox]] |A listbox control. |
++!!!Syntax
++//form.//{{{Requery}}}
++//subform.//{{{Requery}}}
++//control.//{{{Requery}}}
++!!!Remarks
++If the targeted object is a Form or a ~SubForm the //Requery// method resets the current record to the first available in the record set.
++!!!Error messages
++!!!See also
++[[Filter]]
++[[FilterOn]]
++[[RecordSource]]
++[[Refresh]]
++[[RowSource]]
++!!!Example
++&lt;&lt;tiddler &quot;Requery example&quot;&gt;&gt;</pre>
++</div>
++<div title="Requery example" modifier="Jean-PierreLedure" created="201111111542" modified="201212141545" tags="[[Snippets of Code]]">
++<pre>Reload the content of a combo box after a database change
++//{{{
++Dim ofForm As Object, ocCombo As Object
++ Set ofForm = Forms(&quot;myForm&quot;)
++ Set ocCombo = ofForm.Controls(&quot;myComboBox&quot;)
++ ocCombo.Requery
++//}}}</pre>
++</div>
++<div title="Required" modifier="Jean-PierreLedure" created="201109021358" modified="201306151425" tags="Properties">
++<pre>The //Required// property specifies whether a control must contain a value when the record is edited.
++!!!Applies to ...
++| !Object | !Type when&lt;br /&gt;in a form | !Type when&lt;br /&gt;in a ~GridControl | !Type when&lt;br /&gt;in a dialog |!Description |
++|[[Control]] |~CheckBox&lt;br /&gt;[[ComboBox]]&lt;br /&gt;~CurrencyField&lt;br /&gt;~DateField&lt;br /&gt;~FormattedField&lt;br /&gt;~ImageControl&lt;br /&gt;[[ListBox]]&lt;br /&gt;~NumericField&lt;br /&gt;~PatternField&lt;br /&gt;[[RadioButton]]&lt;br /&gt;~TextField&lt;br /&gt;~TimeField | All except&lt;br /&gt;--~CheckBox-- | None |A control on an open form or a [[GridControl]] |
++!!!Syntax
++//control//{{{.Required}}}
++//control//{{{.Required}}} = //value//
++!!!Returned values / Arguments
++{{{Boolean}}}
++!!!Remarks
++The //Required// property is not applicable to //controls// located in a [[Dialog]].
++!!!Error messages
++|Property 'Required' not applicable in this context |
++|Value '...' is invalid for property 'Required' |
++!!!Example
++&lt;&lt;tiddler &quot;Required example&quot;&gt;&gt;</pre>
++</div>
++<div title="Required example" modifier="Jean-PierreLedure" created="201109021414" modified="201212151127" tags="[[Snippets of Code]]">
++<pre>Force value in field to avoid error on Null value when saving record (e.g. in When Loading form event)
++{{{
++Dim ocControl As Object
++ Set ocControl = Controls(&quot;myForm&quot;, &quot;myFormattedField&quot;)
++ ocControl.Required = True
++}}}</pre>
++</div>
++<div title="Reset" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201503081707" modified="201503081711" tags="Methods" changecount="2">
++<pre>Resetting a built-in ||command bar|CommandBar]] restores the actions originally intended for the command bar and resets each of the command bar control's properties back to their original state.
++!!!Applies to ...
++| !Object | !Description |
++|[[CommandBar]] |The representation of a tool-, menu- or statusbar. |
++!!!Syntax
++//commandbar//{{{.Reset()}}}
++!!!Returned value
++{{{True}}} if success.
++!!!Remarks
++!!!Error Messages
++!!!See also
++[[CommandBar]]
++[[CommandBarControl]]
++!!!Example
++&lt;&lt;tiddler &quot;CommandBar example&quot;&gt;&gt;</pre>
++</div>
++<div title="RowSource" modifier="Jean-Pierre Ledure" created="201108181337" modified="201405291606" tags="Properties" changecount="4">
++<pre>You can use the //~RowSource// property (along with the [[RowSourceType]] property) to tell ~OpenOffice/~LibreOffice Base how to provide data to a list box or to a combo box.
++!!Applies to ...
++| !Object | !Type when&lt;br /&gt;in a form | !Type when&lt;br /&gt;in a ~GridControl | !Type when&lt;br /&gt;in a dialog |!Description |
++|[[Control]] | [[ComboBox]]&lt;br /&gt;[[ListBox]] | [[ComboBox]]&lt;br /&gt;[[ListBox]] | [[ComboBox]]&lt;br /&gt;[[ListBox]] |A combo- or listbox on an open form, a dialog or in a [[GridControl]]|
++!!!Syntax
++//control//{{{.RowSource}}}
++//control//{{{.RowSource}}} = //value//
++!!!Returned values / Arguments
++{{{String}}}
++!!!Remarks
++*The //value// argument must contain, depending on the value of the [[RowSourceType]] property, either
++| !~RowSourceType |!Argument of ~RowSource |
++|com.sun.star.form.~ListSourceType.TABLE |the exact name of a table |
++|com.sun.star.form.~ListSourceType.QUERY |the exact name of a query |
++|com.sun.star.form.~ListSourceType.SQL |a correct SQL SELECT statement |
++|com.sun.star.form.~ListSourceType.SQLPASSTHROUGH |~|
++|com.sun.star.form.~ListSourceType.TABLEFIELDS |a list of values separated by a semicolon (&quot;;&quot;) bundled in one single string |
++|com.sun.star.form.~ListSourceType.VALUELIST |~|
++*When the //~RowSource// property is changed the content of the combo- or listbox is refreshed.
++!!!Error messages
++|Property '~RowSource' not applicable in this context |
++|Value '...' is invalid for property '~RowSource' |
++!!!See also
++[[ItemData]]
++[[ListCount]]
++[[ListIndex]]
++[[MultiSelect]]
++[[Requery]]
++[[RowSourceType]]
++[[Selected]]
++!!!Example
++&lt;&lt;tiddler &quot;RowSource example&quot;&gt;&gt;</pre>
++</div>
++<div title="RowSource example" modifier="Jean-PierreLedure" created="201108181514" modified="201212141410" tags="[[Snippets of Code]]">
++<pre>Modify the content of a combo and a listbox
++Select first item in the combobox
++Select all tems in the listbox
++//{{{
++Dim ocCombo As Object, ocList As Object
++
++ Set ocCombo = getObject(&quot;Forms!myForm!myComboBox&quot;)
++ ocCombo.RowSourceType = com.sun.star.form.ListSourceType.SQL
++ ocCombo.RowSource = &quot;SELECT [SHORTNAME] FROM COMPANIES WHERE [SHORTNAME]&lt;&gt;'' ORDER BY [SHORTNAME]&quot;
++ ocCombo.ListIndex = 0
++
++ Set ocList = getObject(&quot;Forms!myForm!myListBox&quot;)
++ ocList.RowSourceType = com.sun.star.form.ListSourceType.VALUELIST
++ ocList.RowSource = &quot;First;Second;Third&quot;
++ ocList.Selected = Array(True, True, True)
++//}}}</pre>
++</div>
++<div title="RowSourceType" modifier="Jean-Pierre Ledure" created="201108181519" modified="201405291609" tags="Properties" changecount="2">
++<pre>You can use the //~RowSourceType// property (along with the [[RowSource]] property) to tell ~OpenOffice/~LibreOffice Base how to provide data to a list box or to a combo box.
++!!Applies to ...
++| !Object | !Type when&lt;br /&gt;in a form | !Type when&lt;br /&gt;in a ~GridControl |!Description |
++|[[Control]] | [[ComboBox]]&lt;br /&gt;[[ListBox]] | [[ComboBox]]&lt;br /&gt;[[ListBox]] |A combo- or listbox on an open form or in a [[GridControl]]|
++!!!Syntax
++//control//{{{.RowSourceType}}}
++//control//{{{.RowSourceType}}} = //value//
++!!!Returned values / Arguments
++{{{Integer}}}
++!!!Remarks
++*The //value// argument must contain, depending on the value of the [[RowSource]] property, one of next symbolic values:
++|com.sun.star.form.~ListSourceType.VALUELIST |
++|com.sun.star.form.~ListSourceType.TABLE |
++|com.sun.star.form.~ListSourceType.QUERY |
++|com.sun.star.form.~ListSourceType.SQL |
++|com.sun.star.form.~ListSourceType.SQLPASSTHROUGH |
++|com.sun.star.form.~ListSourceType.TABLEFIELDS |
++See the [[OpenOffice documentation|http://api.openoffice.org/docs/common/ref/com/sun/star/form/component/DatabaseListBox.html#ListSourceType]] for more details.
++*A //~ComboBox// control does not support the value {{{com.sun.star.form.ListSourceType.VALUELIST}}} for the //~RowSourceType// property.
++*When the //~RowSourceType// property is changed the content of the combo- or listbox is ''NOT'' refreshed.
++*The //~RowSourceType// property is not applicable to //list-// or //comboboxes// located in a [[Dialog]].
++!!!Error messages
++|Property '~RowSourceType' not applicable in this context |
++|Value '...' is invalid for property '~RowSourceType' |
++!!!See also
++[[ItemData]]
++[[ListCount]]
++[[ListIndex]]
++[[MultiSelect]]
++[[Requery]]
++[[RowSource]]
++[[Selected]]
++!!!Example
++&lt;&lt;tiddler &quot;RowSource example&quot;&gt;&gt;</pre>
++</div>
++<div title="RunApp" modifier="Jean-Pierre Ledure" created="201208310849" modified="201409271455" tags="Actions" changecount="1">
++<pre>{{firstletter{
++ @@color:#930;T@@
++ }}}he //~RunApp// action runs an external application given by its command line. The command line may be an executable file or a user file associated via its suffix with an executable application.&lt;br /&gt;Use caution when running executable files or code in macros or applications. Executable files or code can be used to carry out actions that might compromise the security of your computer and data.
++&lt;&lt;tiddler &quot;ApplyDoCmd&quot;&gt;&gt;
++!!!Syntax
++{{{Call [DoCmd.]RunApp(}}}//{{{CommandLine}}}//{{{)}}}
++| !Argument | !Optional | !Type |!Description | !Returned value |
++|{{{CommandLine}}} | No | String |The command line used to start the application&lt;br /&gt;(including the path and any other necessary parameters, such as switches that run the application in a particular mode). | No return. {{{RunApp}}} is a Sub. |
++!!!Remarks
++*The application selected with this action loads and runs in the foreground. The macro containing this action continues to run after starting the application.
++*The {{{CommandLine}}} argument may be expressed either in the (recommended) URL format (i.e. &quot;{{{file:// ...}}}&quot;) or by using the operating system usual syntax (e.g. &quot;{{{C:\...}}}&quot; in Windows).
++*Note that Basic provides an equivalent standard function {{{Shell}}}. It provides even more options. //~RunApp// is proposed here to improve compatibility with Visual Basic.
++!!!Error messages
++None
++!!!See also
++[[OutputTo]]
++!!!Example
++&lt;&lt;tiddler &quot;RunApp example&quot;&gt;&gt; </pre>
++</div>
++<div title="RunApp example" modifier="Jean-PierreLedure" created="201208310915" modified="201212151128" tags="[[Snippets of Code]]">
++<pre>To open a PDF file
++//{{{
++ RunApp(&quot;C:\Users\MyName\Documents\Doc\Basic\OOBasic FormsAndDialogs.pdf&quot;) ' Valid only in Windows
++//}}}</pre>
++</div>
++<div title="RunCommand" modifier="Jean-Pierre Ledure" created="201204151204" modified="201501021114" tags="Actions" changecount="5">
++<pre>The absence of Macro Recorder in ~LibO/AOO Base and the lack of documentation makes the use of the numerous commands available in the software very difficult. The current help page tries to compensate partially this handicap.
++
++The //~RunCommand// action executes the command given as argument.
++Combined with the [[SelectObject]] action it enhances significantly the automation capabilities of applications using the //~Access2Base// API.
++&lt;&lt;tiddler &quot;ApplyDoCmd&quot;&gt;&gt;
++!!!Syntax
++{{{[DoCmd.]RunCommand(}}}//{{{Command}}}//{{{)}}}
++| !Argument | !Optional | !Type |!Description | !Returned Value |
++| Command | No | String&lt;br /&gt;Integer, Long |If numeric the Command is selected by using the VBA denomination. If the Type is a String, the ~LibO/AOO command-name is expected | Always returns True |
++!!!Commands List
++| !~LibO/AOO Command | !VBA Equivalent | !Context(s) |!Short description |
++|&quot;About&quot; |acCmdAboutMicrosoftAccess | Any |About ~OpenOffice.org/~LibreOffice |
++|~|acCmdAboutOpenOffice | Any |About ~OpenOffice.org/~LibreOffice |
++|~|acCmdAboutLibreOffice | Any |About ~OpenOffice.org/~LibreOffice |
++|&quot;~ActiveHelp&quot; || Any |Extended Tips |
++|&quot;~AddDirect&quot; || Any |New |
++|&quot;~AddField&quot; || acForm (Design mode) |Add Field |
++|&quot;~AutoControlFocus&quot; || acForm (Design mode) |Automatic Control Focus |
++|&quot;~AutoFilter&quot; || acTable |~AutoFilter |
++|&quot;~AutoPilotAddressDataSource&quot; || Any |~AutoPilot: Address Data Source |
++|&quot;~BasicBreak&quot; || Any |Interrupt Macro |
++|&quot;~BasicIDEAppear&quot; |acCmdVisualBasicEditor | Any |Edit Macros |
++|&quot;~BasicStop&quot; || acBasicIDE |Stop Macro |
++|&quot;~BringToFront&quot; |acCmdBringToFront | Any |Bring to Front |
++|&quot;~CheckBox&quot; || acForm (Design mode) |Check Box |
++|&quot;~ChooseMacro&quot; || acBasicIDE |Select Macro |
++|&quot;~CloseDoc&quot; |acCmdClose | Any |Close |
++|&quot;~CloseWin&quot; || Any |Close Window |
++|&quot;~ConfigureDialog&quot; |acCmdToolbarsCustomize | Any |Customize |
++|&quot;~ControlProperties&quot; || Controls |Control |
++|&quot;~ConvertToButton&quot; |acCmdChangeToCommandButton | Controls |Replace with Button |
++|&quot;~ConvertToCheckBox&quot; |acCmdChangeToCheckBox | Controls |Replace with Check Box |
++|&quot;~ConvertToCombo&quot; |acCmdChangeToComboBox | Controls |Replace with Combo Box |
++|&quot;~ConvertToCurrency&quot; || Controls |Replace with Currency Field |
++|&quot;~ConvertToDate&quot; || Controls |Replace with Date Field |
++|&quot;~ConvertToEdit&quot; |acCmdChangeToTextBox | Controls |Replace with Text Box |
++|&quot;~ConvertToFileControl&quot; || Controls |Replace with File Selection |
++|&quot;~ConvertToFixed&quot; |acCmdChangeToLabel | Controls |Replace with Label Field |
++|&quot;~ConvertToFormatted&quot; || Controls |Replace with Formatted Field |
++|&quot;~ConvertToGroup&quot; || Controls |Replace with Group Box |
++|&quot;~ConvertToImageBtn&quot; || Controls |Replace with Image Button |
++|&quot;~ConvertToImageControl&quot; |acCmdChangeToImage | Controls |Replace with Image Control |
++|&quot;~ConvertToList&quot; |acCmdChangeToListBox | Controls |Replace with List Box |
++|&quot;~ConvertToNavigationBar&quot; || Controls |Replace with Navigation Bar |
++|&quot;~ConvertToNumeric&quot; || Controls |Replace with Numerical Field |
++|&quot;~ConvertToPattern&quot; || Controls |Replace with Pattern Field |
++|&quot;~ConvertToRadio&quot; |acCmdChangeToOptionButton | Controls |Replace with Radio Button |
++|&quot;~ConvertToScrollBar&quot; || Controls |Replace with Scrollbar |
++|&quot;~ConvertToSpinButton&quot; || Controls |Replace with Spin Button |
++|&quot;~ConvertToTime&quot; || Controls |Replace with Time Field |
++|&quot;Copy&quot; |acCmdCopy | Any |Copy |
++|&quot;~CurrencyField&quot; || acForm (Design mode) |Currency Field |
++|&quot;Cut&quot; |acCmdCut | Any |Cut |
++|&quot;~DateField&quot; || acForm (Design mode) |Date Field |
++|&quot;~DBAddRelation&quot; |acCmdCreateRelationship | acDiagram |New Relation ... |
++|&quot;~DBConvertToView&quot; || acDatabaseWindow (Queries) |Create as View |
++|&quot;~DBDelete&quot; |acCmdDelete | acDatabaseWindow |Delete |
++|&quot;~DBDirectSQL&quot; || acDatabaseWindow |SQL ... |
++|&quot;~DBDSAdvancedSettings&quot; || acDatabaseWindow |Advanced Settings ... |
++|&quot;~DBDSConnectionType&quot; || acDatabaseWindow |Connection Type ... |
++|&quot;~DBDSProperties&quot; |acCmdDatabaseProperties | acDatabaseWindow |Properties ... |
++|&quot;~DBEdit&quot; || acDatabaseWindow |Edit ... |
++|&quot;~DBEditSqlView&quot; |acCmdSQLView | acDatabaseWindow (Queries) |Edit in SQL View ... |
++|&quot;~DBFormDelete&quot; |acCmdRemove | acDatabaseWindow (Forms) |Delete |
++|&quot;~DBFormEdit&quot; |acCmdDesignView | acDatabaseWindow (Forms) |Edit ... |
++|&quot;~DBFormOpen&quot; |acCmdFormView | acDatabaseWindow (Forms) |Open Database Object ... |
++|&quot;~DBFormRename&quot; || acDatabaseWindow (Forms) |Rename ... |
++|&quot;~DBNewForm&quot; |acCmdNewObjectForm | acDatabaseWindow (Forms) |Form ... |
++|&quot;~DBNewFormAutoPilot&quot; || acDatabaseWindow (Forms) |Form Wizard ... |
++|&quot;~DBNewQuery&quot; || acDatabaseWindow (Queries) |Query (Design View) ... |
++|&quot;~DBNewQueryAutoPilot&quot; || acDatabaseWindow (Queries) |Query Wizard ... |
++|&quot;~DBNewQuerySql&quot; || acDatabaseWindow (Queries) |Query (SQL View) ... |
++|&quot;~DBNewReport&quot; || acDatabaseWindow (Reports) |Report ... |
++|&quot;~DBNewReportAutoPilot&quot; || acDatabaseWindow (Reports) |Report Wizard ... |
++|&quot;~DBNewTable&quot; |acCmdNewObjectTable | acDatabaseWindow (Tables) |Table Design ... |
++|&quot;~DBNewTableAutoPilot&quot; || acDatabaseWindow (Tables) |Table Wizard ... |
++|&quot;~DBNewView&quot; |acCmdNewObjectView | acDatabaseWindow (Tables) |View Design ... |
++|&quot;~DBNewViewSQL&quot; || acDatabaseWindow (Tables) |View (Simple) ... |
++|&quot;~DBOpen&quot; |acCmdOpenDatabase | acDatabaseWindow |Open Database Object ... |
++|&quot;~DBQueryDelete&quot; |acCmdRemove | acDatabaseWindow (Queries) |Delete |
++|&quot;~DBQueryEdit&quot; |acCmdDesignView | acDatabaseWindow (Queries) |Edit ... |
++|&quot;~DBQueryOpen&quot; |acCmdNewObjectQuery | acDatabaseWindow (Queries) |Open Database Object ... |
++|&quot;~DBQueryRename&quot; || acDatabaseWindow (Queries) |Rename ... |
++|&quot;~DBRefreshTables&quot; || acDatabaseWindow |Refresh Tables |
++|&quot;~DBRelationDesign&quot; |acCmdShowAllRelationships | acDatabaseWindow |Relationships ... |
++|&quot;~DBRename&quot; || acDatabaseWindow |Rename ... |
++|&quot;~DBReportDelete&quot; |acCmdRemove | acDatabaseWindow (Reports) |Delete |
++|&quot;~DBReportEdit&quot; |acCmdDesignView | acDatabaseWindow (Reports) |Edit ... |
++|&quot;~DBReportOpen&quot; |acCmdNewObjectReport | acDatabaseWindow (Reports) |Open Database Object ... |
++|&quot;~DBReportRename&quot; || acDatabaseWindow (Reports) |Rename ... |
++|&quot;~DBSelectAll&quot; |acCmdSelectAll | acDatabaseWindow |Select All |
++|&quot;~DBShowDocInfoPreview&quot; || acDatabaseWindow |Document Information |
++|&quot;~DBShowDocPreview&quot; || acDatabaseWindow |Document |
++|&quot;~DBTableDelete&quot; |acCmdRemoveTable | acDatabaseWindow (Tables) |Delete |
++|&quot;~DBTableEdit&quot; |acCmdDesignView | acDatabaseWindow (Tables) |Edit ... |
++|&quot;~DBTableFilter&quot; || acDatabaseWindow (Tables) |Table Filter ... |
++|&quot;~DBTableOpen&quot; |acCmdOpenTable | acDatabaseWindow (Tables) |Open Database Object ... |
++|&quot;~DBTableRename&quot; |acCmdRename | acDatabaseWindow (Tables) |Rename ... |
++|&quot;~DBUserAdmin&quot; || acDatabaseWindow |User Administration ... |
++|&quot;~DBViewForms&quot; || acDatabaseWindow |Forms |
++|&quot;~DBViewQueries&quot; || acDatabaseWindow |Queries |
++|&quot;~DBViewReports&quot; || acDatabaseWindow |Reports |
++|&quot;~DBViewTables&quot; || acDatabaseWindow |Tables |
++|&quot;Delete&quot; |acCmdDelete | Any |Delete Contents |
++|&quot;~DeleteRecord&quot; |acCmdDeleteRecord | acForm |Delete Record |
++|&quot;~DesignerDialog&quot; || acForm (Design mode) |Styles and Formatting |
++|&quot;Edit&quot; || acForm (Design mode) |Text Box |
++|&quot;~FirstRecord&quot; || acForm |First Record |
++|&quot;~FontDialog&quot; || acForm (Design mode) |Character |
++|&quot;~FontHeight&quot; || acForm (Design mode) |Font Size |
++|&quot;~FormattedField&quot; || acForm (Design mode) |Formatted Field |
++|&quot;~FormFilter&quot; || acForm |~Form-Based Filters |
++|&quot;~FormFiltered&quot; |acCmdApplyFilterSort | acForm |Apply Filter |
++|&quot;~FormFilterExecute&quot; || acForm |Apply ~Form-Based Filter |
++|&quot;~FormFilterExit&quot; || acForm |Close |
++|&quot;~FormFilterNavigator&quot; || acForm |Filter Navigation |
++|&quot;~FormProperties&quot; || acForm (Design mode) |Form |
++|&quot;~FullScreen&quot; || acForm |Full Screen |
++|&quot;Gallery&quot; || acForm |Gallery |
++|&quot;Grid&quot; || acForm (Design mode) |Table Control |
++|&quot;~GridUse&quot; |acCmdSnapToGrid | acForm (Design mode) |Snap to Grid |
++|&quot;~GridVisible&quot; |acCmdViewGrid | acForm (Design mode) |Display Grid |
++|&quot;~GroupBox&quot; || acForm (Design mode) |Group Box |
++|&quot;~HelpIndex&quot; || Any |~OpenOffice.org Help |
++|&quot;~HelpSupport&quot; || Any |Support |
++|&quot;~HyperlinkDialog&quot; |acCmdInsertHyperlink | acForm (Design mode) |Hyperlink |
++|&quot;Imagebutton&quot; || acForm (Design mode) |Image Button |
++|&quot;~ImageControl&quot; || acForm (Design mode) |Image Control |
++|&quot;Label&quot; || acForm (Design mode) |Label Field |
++|&quot;~LastRecord&quot; |acCmdMaximumRecords | acForm |Last Record |
++|&quot;~ListBox&quot; || acForm (Design mode) |List Box |
++|&quot;~MacroDialog&quot; || Any |~OpenOffice.org Basic |
++|&quot;~MacroOrganizer&quot; || Any |~OpenOffice.org Basic Macro Organizer |
++|&quot;~MoreControls&quot; || acForm (Design mode) |More Controls |
++|&quot;~NavigationBar&quot; || acForm (Design mode) |Navigation Bar |
++|&quot;Navigator&quot; |acCmdObjectBrowser | acForm (Design mode) |Navigator |
++|&quot;~NewDoc&quot; || Any |New Document From Template |
++|&quot;~NewRecord&quot; || acForm |New Record |
++|&quot;~NextRecord&quot; || acForm |Next Record |
++|&quot;~NumericField&quot; || acForm (Design mode) |Numerical Field |
++|&quot;Open&quot; || Any |Open |
++|&quot;~OptionsTreeDialog&quot; || Any |Options |
++|&quot;Organizer&quot; || Any |Organize |
++|&quot;~ParagraphDialog&quot; || acForm (Design mode) |Paragraph |
++|&quot;Paste&quot; |acCmdPaste | Any |Paste |
++|&quot;~PasteSpecial&quot; |acCmdPasteSpecial | acForm (Design mode) |Paste Special ... |
++|&quot;~PatternField&quot; || acForm (Design mode) |Pattern Field |
++|&quot;~PrevRecord&quot; || acForm |Previous Record |
++|&quot;Print&quot; |acCmdPrint | acForm, acReport (normal and design modes) |Print |
++|&quot;~PrintDefault&quot; || acForm, acReport (normal and design modes) |Print File Directly |
++|&quot;~PrinterSetup&quot; || acForm, acReport (normal and design modes) |Printer Settings |
++|&quot;~PrintPreview&quot; |acCmdPrintPreview | acForm, acReport (normal and design modes) |Page Preview |
++|&quot;Pushbutton&quot; || acForm (Design mode) |Push Button |
++|&quot;Quit&quot; || acDatabaseWindow |Exit |
++|&quot;~RadioButton&quot; || acForm (Design mode) |Option Button |
++|&quot;~RecSave&quot; |acCmdSaveRecord | acForm |Save Record |
++|&quot;~RecSearch&quot; |acCmdFind | acForm |Find Record |
++|&quot;~RecUndo&quot; |acCmdUndo | acForm |Undo: Data entry |
++|&quot;Refresh&quot; |acCmdRefresh | acForm, acTable, acQuery |Refresh |
++|&quot;Reload&quot; || Any |Reload |
++|&quot;~RemoveFilterSort&quot; |acCmdRemoveFilterSort | acForm |Remove Filter/Sort |
++|&quot;~RunMacro&quot; |acCmdRunMacro | Any |Run Macro |
++|&quot;Save&quot; |acCmdSave | Any |Save |
++|&quot;~SaveAll&quot; || Any |Save All |
++|&quot;~SaveAs&quot; |acCmdSaveAs | Any |Save As |
++|&quot;~SaveBasicAs&quot; || acBasicIDE |Save BASIC |
++|&quot;~ScriptOrganizer&quot; || Any |Organize Macros |
++|&quot;~ScrollBar&quot; || acForm (Design mode) |Scrollbar |
++|&quot;~SearchDialog&quot; |acCmdFind | acForm |Find &amp; Replace |
++|&quot;~SelectAll&quot; |acCmdSelectAll | Any |Select All |
++|~|acCmdSelectAllRecords | Any |Select All |
++|&quot;~SendToBack&quot; |acCmdSendToBack | Any |Send to Back |
++|&quot;~ShowFmExplorer&quot; || acForm (Design mode) |Form Navigator |
++|&quot;Sidebar&quot; || acForm |Toggle sidebar |
++|&quot;~SortDown&quot; |acCmdSortDescending | acForm, acTable, acQuery |Sort Descending |
++|&quot;Sortup&quot; |acCmdSortAscending | acForm, acTable, acQuery |Sort Ascending |
++|&quot;~SpinButton&quot; || acForm (Design mode) |Spin Button |
++|&quot;~StatusBarVisible&quot; || Any |Status Bar |
++|&quot;~SwitchControlDesignMode&quot; || acForm (Design mode) |Design Mode On/Off |
++|&quot;~TabDialog&quot; |acCmdTabOrder | acForm (Design mode) |Activation Order |
++|&quot;~UseWizards&quot; || acForm (Design mode) |Wizards On/Off |
++|&quot;~VersionDialog&quot; || acForm (Design mode) |Versions |
++|&quot;~ViewDataSourceBrowser&quot; || acForm |Data Sources |
++|&quot;~ViewFormAsGrid&quot; |acCmdDatasheetView | acForm |Data source as Table |
++|&quot;Zoom&quot; |acCmdZoomSelection | |Zoom |
++The (VBA) symbolic constants can be included in your code by copying and pasting next lines:
++//{{{
++Const acDiagram = 8
++Const acForm = 2
++Const acQuery = 1
++Const acReport = 3
++Const acTable = 0
++
++Const acBasicIDE = 101
++Const acDatabaseWindow = 102
++//}}}
++and, or ...
++//{{{
++Const acCmdAboutMicrosoftAccess = 35
++Const acCmdAboutOpenOffice = 35
++Const acCmdAboutLibreOffice = 35
++Const acCmdVisualBasicEditor = 525
++Const acCmdBringToFront = 52
++Const acCmdClose = 58
++Const acCmdToolbarsCustomize = 165
++Const acCmdChangeToCommandButton = 501
++Const acCmdChangeToCheckBox = 231
++Const acCmdChangeToComboBox = 230
++Const acCmdChangeToTextBox = 227
++Const acCmdChangeToLabel = 228
++Const acCmdChangeToImage = 234
++Const acCmdChangeToListBox = 229
++Const acCmdChangeToOptionButton = 233
++Const acCmdCopy = 190
++Const acCmdCut = 189
++Const acCmdCreateRelationship = 150
++Const acCmdDelete = 337
++Const acCmdDatabaseProperties = 256
++Const acCmdSQLView = 184
++Const acCmdRemove = 366
++Const acCmdDesignView = 183
++Const acCmdFormView = 281
++Const acCmdNewObjectForm = 136
++Const acCmdNewObjectTable = 134
++Const acCmdNewObjectView = 350
++Const acCmdOpenDatabase = 25
++Const acCmdRemove = 366
++Const acCmdDesignView = 183
++Const acCmdNewObjectQuery = 135
++Const acCmdShowAllRelationships = 149
++Const acCmdRemove = 366
++Const acCmdDesignView = 183
++Const acCmdNewObjectReport = 137
++Const acCmdSelectAll = 333
++Const acCmdRemoveTable = 84
++Const acCmdDesignView = 183
++Const acCmdOpenTable = 221
++Const acCmdRename = 143
++Const acCmdDelete = 337
++Const acCmdDeleteRecord = 223
++Const acCmdApplyFilterSort = 93
++Const acCmdSnapToGrid = 62
++Const acCmdViewGrid = 63
++Const acCmdInsertHyperlink = 259
++Const acCmdMaximumRecords = 508
++Const acCmdObjectBrowser = 200
++Const acCmdPaste = 191
++Const acCmdPasteSpecial = 64
++Const acCmdPrint = 340
++Const acCmdPrintPreview = 54
++Const acCmdSaveRecord = 97
++Const acCmdFind = 30
++Const acCmdUndo = 292
++Const acCmdRefresh = 18
++Const acCmdRemoveFilterSort = 144
++Const acCmdRunMacro = 31
++Const acCmdSave = 20
++Const acCmdSaveAs = 21
++Const acCmdFind = 30
++Const acCmdSelectAll = 333
++Const acCmdSelectAllRecords = 109
++Const acCmdSendToBack = 53
++Const acCmdSortDescending = 164
++Const acCmdSortAscending = 163
++Const acCmdTabOrder = 41
++Const acCmdDatasheetView = 282
++Const acCmdZoomSelection = 371
++//}}}
++!!!Remarks
++*//~RunCommand// always returns {{{True}}}. If the argument does not exist, or if the request is not appropriate to the context, the request is ignored.
++*The Command argument, when of type {{{String}}}, is not case-sensitive.
++*Above list of commands is not exhaustive. Other commands could succeed as well. However if the command to execute is not in the above list the argument MUST correspond exactly (... be properly cased as should ...) with the argument expected by a {{{executeDispatch()}}} UNO statement.
++*If the given Command argument is of type {{{String}}} and starts with &quot;{{{.uno:}}}&quot;, the command is executed literally without any other parsing.
++*The ~LibO/AOO command and its VBA equivalent are //presumed// to be similar or equivalent. The ~RunCommand action always executes a ~LibO/AOO command. There is no emulation of the VBA command.
++*The //Context// column indicates one or more contexts in which the command has been tested and executed successfully. This is not a guarantee that it will succeed in the given context nor that other contexts could not also provide the same functionality. When the context is __//Any//__ this only means that the command is likely to succeed in any context.
++*The //~RunCommand// action is very often preceded by a [[SelectObject]] action to activate the correct context.
++*Most commands open a dialog box. Today the ~LibO/AOO documentation does not contain any indication about arguments that could bypass the dialog. The only ways to discover them are either to scan the software sources (what I did not do !) or to record the macro. But //~LibO/AOO Base// has no //Macro Recorder// (although Forms have ...!?) implemented.
++!!!Error messages
++|Arguments are missing or are not initialized |
++!!!See also
++[[SelectObject]]
++!!!Examples
++&lt;&lt;tiddler &quot;RunCommand example&quot;&gt;&gt;</pre>
++</div>
++<div title="RunCommand example" modifier="Jean-PierreLedure" created="201204211041" modified="201205131745" tags="[[Snippets of Code]]">
++<pre>Open a form, and display it with its data source grid ...
++//{{{
++ OpenForm(&quot;myForm&quot;)
++ RunCommand(acCmdDatasheetView) ' or RunCommand(&quot;ViewFormAsGrid&quot;)
++//}}}
++Next Sub linked to the &quot;When loading&quot; event ALWAYS opens a form with its datagrid ...
++//{{{
++Sub DisplayGrid(oEvent As Object)
++ RunCommand(acCmdDatasheetView)
++End Sub
++//}}}
++To open a form in design mode with automatic display of Form properties ...
++//{{{
++ OpenForm(&quot;myForm&quot;, acDesign)
++ RunCommand(&quot;FormProperties&quot;)
++//}}}
++To enter an SQL statement at any time, execute next code ...
++//{{{
++ SelectObject(acDatabaseWindow)
++ RunCommand(&quot;DBDirectSQL&quot;)
++//}}}</pre>
++</div>
++<div title="RunSQL" modifier="Jean-Pierre Ledure" created="201112301423" modified="201607311210" tags="Actions" changecount="6">
++<pre>{{firstletter{
++ @@color:#930;T@@
++ }}}he //~RunSQL// action executes the SQL statement given as argument. The statement must execute an action. Typical statements are: INSERT INTO, DELETE, SELECT...INTO, UPDATE, CREATE TABLE, ALTER TABLE, DROP TABLE, CREATE INDEX, or DROP INDEX.
++&lt;&lt;tiddler &quot;ApplyDoCmd&quot;&gt;&gt;
++or to ...
++| !Object | !Description |
++|[[Database]] |A database object returned by the [[CurrentDb]] or [[OpenDatabase]] methods. |
++!!!Syntax
++{{{[DoCmd.]RunSQL(}}}//{{{SQL, option}}}//{{{)}}}
++//{{{database}}}//{{{.RunSQL(}}}//{{{SQL, option}}}//{{{)}}}
++| !Argument | !Optional | !Type |!Description |
++|database || Object |A database object opened with the //~OpenDatabase// method. |
++|SQL | No | String |Specifies the statement to execute |
++|option | Yes | Integer&lt;br /&gt;Long |If the argument is present its only allowed value = //dbSQLPassThrough//.&lt;br /&gt;Forces escape substitution before sending the SQL statement to the database. |~|
++The action returns False if the execution of the SQL statement failed.
++!!!Remarks
++*Statements
++//{{{
++DoCmd.RunSQL( ... )
++//}}}
++and
++//{{{
++Application.CurrentDb().RunSQL( ... )
++//}}}
++are equivalent.
++*RDBMS system commands can also be executed with {{{RunSQL}}}. E.g. next command, which is valid for an HSQLDB database, will close the database connection and compact the data contained in the database. See the respective RDBMS manuals for more details.
++//{{{
++SHUTDOWN COMPACT
++//}}}
++*To test the SQL string: copy and paste it to or from the text box displayed when activating the {{{Tools}}} + {{{SQL ...}}} menu item.
++*The field or table names of the SQL argument may be surrounded by square brackets [], especially when they contain special characters like spaces. The brackets will be replaced by the appropriate quoting chaaracter(s), e.g. the double-quote for the HSQLDB database management system.
++*The supplied SQL string must obviously be syntactically correct. Pay particularly attention to single and double quotes. See the &quot;[[How to include values in SQL statements|UseVariablesInSQL]]&quot; topic in this matter.
++*To include the constant in your own code, copy and paste next line:
++//{{{
++Const dbSQLPassThrough = 64
++//}}}
++!!!Error messages
++|Arguments are missing or are not initialized |
++|SQL Error, SQL statement = '...' |
++!!!See also
++[[CurrentDb]]
++[[OpenDatabase]]
++!!!Example
++&lt;&lt;tiddler &quot;Runsql example&quot;&gt;&gt;</pre>
++</div>
++<div title="RunWithoutConnection" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201408140939" modified="201612181101" tags="NoTag" changecount="7">
++<pre>Before the execution of the //~OpenConnection// verb, of if its execution failed, or after a //~CloseConnection// verb execution, next methods are nevertheless available:
++| !Method | !Description |
++|[[DebugPrint]] |All error handling routines. |
++|[[TraceConsole]] |~|
++|[[TraceError]] |~|
++|[[TraceLevel]] |~|
++|[[TraceLog]] |~|
++|[[TempVars]] |The collection of [[TempVar]] objects to share and pass values among documents. |
++|[[AllDialogs]] |Access to the collection of dialogs, the [[Dialog]] objects and their [[Controls|Control]]. |
++|[[AllModules]] |Access to the collection of Basic modules and the [[Module]] objects. |
++|[[CurrentDb]] |Returns {{{Nothing}}} if no database connection available. |
++|[[CurrentUser]] |Context information. |
++|[[ProductCode]] |~|
++|[[Version]] |(When applied to Application).|
++|[[OpenDatabase]] |Access to external database. |
++|[[CommandBars]] |Manage menu-, status- and toolbars. |
++|[[SysCmd]] |Status bar, progress meter handling. |
++|[[GetHiddenAttribute]] |Window handling when no forms, queries, tables, reports implied. |
++|[[Maximize]] |~|
++|[[Minimize]] |~|
++|[[MoveSize]] |~|
++|[[SelectObject]] |~|
++|[[SetHiddenAttribute]] |~|
++|[[RunApp]] |External commands calls. |
++|[[RunCommand]] |~|
++</pre>
++</div>
++<div title="Runsql example" modifier="Jean-Pierre Ledure" created="201112301431" modified="201405161557" tags="[[Snippets of Code]]" changecount="1">
++<pre>Create a new database table
++//{{{
++ If DoCmd.RunSQL( _
++ &quot;CREATE TABLE customer (&quot; _
++ &amp; &quot;First_Name char(50)&quot; _
++ &amp; &quot;, Last_Name char(50)&quot; _
++ &amp; &quot;, Address char(50)&quot; _
++ &amp; &quot;, City char(50)&quot; _
++ &amp; &quot;, Country char(25)&quot; _
++ &amp; &quot;, Birth_Date date&quot; _
++ &amp; &quot;)&quot;) Then MsgBox &quot;Customer table has been created !&quot;
++//}}}</pre>
++</div>
++<div title="SQL" modifier="Jean-Pierre Ledure" created="201306150720" modified="201405291654" tags="Properties" changecount="2">
++<pre>You can use the //SQL// property to specify the statement contained in a [[QueryDef]] object.
++!!!Applies to ...
++| !Object |!Description |
++|[[QueryDef]] |The representation of a database query |
++!!!Syntax
++//querydef//{{{.SQL}}}
++//querydef//{{{.SQL = }}}//value//
++!!!Returned values / Arguments
++{{{String}}}
++!!!Remarks
++*The SQL statement may be either a SELECT query, or an action query (data update, data manipulation, ...).
++*The SQL statement may be set programmatically. The SQL string MUST then contain a SELECT statement.
++*When the query is updated the change is immediate in the database document file (with &quot;.odb&quot; suffix) without having to save the query. However the change will be made persistent only if the user confirms the update by saving the database document itself. Alternatively the programmer could provide the Save command, e.g. with a statement like {{{RunCommand(&quot;Save&quot;)}}}
++*In the SQL statement table- and fieldnames may be surrounded with square brackets [] to improve readability. They will be substituted with the appropriate surrounding character.
++!!!Error messages
++|Property '...' not applicable in this context |
++|Value '...' is invalid for property 'SQL' |
++!!!See also
++[[Type]]
++!!!Example
++&lt;&lt;tiddler &quot;SQL example&quot;&gt;&gt;</pre>
++</div>
++<div title="SQL example" modifier="Jean-PierreLedure" created="201306150736" modified="201306150736" tags="[[Snippets of Code]]">
++<pre>Modify the SQL statement of a stored query
++//{{{
++Dim oQuery As Object
++ Set oQuery = Application.CurrentDb().QueryDefs(&quot;myQuery&quot;)
++ oQuery.SQL = &quot;SELECT * FROM [PRODUCTS]&quot;
++//}}}</pre>
++</div>
++<div title="SearchStandalone" modifier="Jean-Pierre Ledure" created="201304051219" modified="201406021128" tags="HowTo" changecount="1">
++<pre>(Q) Can I have a search box and trigger the search thru all the records related to a form ?
++
++(R) Use the [[FindRecord]] and [[FindNext]] actions.
++
++The feature is illustrated thru the use of a [[standalone form|Standalone Forms]].
++
++!!!Solution
++Design the //standalone// form taking into account:
++*The //~FindRecord// action works only on data displayed in a tabular form, i.e. through the use of a [[grid control|GridControl]].
++*You will observe that the execution is slow: indeed //~FindRecord// will literally scroll thru the data and refresh the display accordingly. The solution is not adapted for very large tables of data.
++
++Design next 4 fields and buttons:
++#The search box: a simple //text box//, name = //~SearchText//. In the //Properties// window set its //Default text// property to &quot;(search)&quot;. Link its //When receiving focus// event to the //~CleanSearch// procedure.
++#A //checkbox// called //~MatchCase// indicating if the search must or not respect upper and lower cases.
++#A search start button : link the //execute action// event with the //~ButtonStart// procedure.
++#A //next// button : link the //execute action// event with the //~ButtonNext// procedure.
++
++Now the code:
++The //~CleanSearch// procedure empties the search box when its content is the default value:
++//{{{
++Const cstDefault = &quot;(search)&quot;
++
++Sub CleanSearch(poEvent As Object)
++Dim oEvent As Object, oField As Object
++ Set oEvent = Application.Events(poEvent)
++ Set oField = oEvent.Source
++ If oField.Value = cstDefault Then oField.Value = &quot;&quot;
++End Sub
++//}}}
++The //cstDefault// constant is set outside the //Sub...End Sub// to be available also in next procedures:
++//{{{
++Sub ButtonStart(poEvent As Object)
++Dim ofForm As Object, sSearch As String, bMatch As Boolean
++ Set ofForm = Application.Forms(0) ' standalone form itself
++ sSearch = ofForm.Controls(&quot;SearchText&quot;).Value
++ If sSearch = &quot;&quot; Or sSearch = cstDefault Then
++ MsgBox &quot;The search box is not initialized. Please do and retry.&quot;, 16, &quot;Search&quot;
++ ofForm.Controls(&quot;SearchText&quot;).SetFocus()
++ Else
++ bMatch = ofForm.Controls(&quot;MatchCase&quot;).Value
++ DoCmd.Findrecord sSearch, acAnyWhere, bmatch, acDown, , acAll, True
++ End If
++End Sub
++
++Sub ButtonNext(poEvent As Object)
++ DoCmd.FindNext
++End Sub
++//}}}
++!!!See also
++[[FindRecord]]
++[[FindNext]]
++[[GridControl]]
++[[SetFocus]]
++!!!Refer to ...
++| !Basic module | !Form | !Form event | !Control | !Control event |!Comments |
++|Code |//TT Northwind Standalone.odt// ||~SearchText |When receiving focus |Enter a search text and press //Start//. |
++|~|~|~|btnStart&lt;br /&gt;btnNext |Execute action |~|</pre>
++</div>
++<div title="SelLength" modifier="Jean-Pierre Ledure" created="201401241651" modified="201408011521" tags="Properties" changecount="1">
++<pre>The //~SelLength// property specifies or determines the number of characters selected in a text box.
++!!!Applies to ...
++| !Object | !Type when&lt;br /&gt;in a form | !Type when&lt;br /&gt;in a ~GridControl | !Type when&lt;br /&gt;in a dialog |!Description |
++|[[Control]] |&gt;|&gt;| ~PatternField&lt;br /&gt;~TextField |A control on an open form or dialog |
++!!!Syntax
++//control//{{{.SelLength}}}
++//control//{{{.SelLength = }}}//value//
++!!!Returned values / Arguments
++{{{Long}}}
++!!!Remarks
++*The //~SelLength// property uses an integer value in the range 0 to the total number of characters in a text box.
++*To set or return this property for a control, the control must have the focus. To move the focus to a control, use the [[SetFocus]] method.
++!!!Error messages
++|Property '~SelLength' not applicable in this context |
++|Value '...' is invalid for property '~SelLength' |
++!!!See also
++[[SelStart]]
++[[SelText]]
++[[SetFocus]]
++!!!Example
++&lt;&lt;tiddler &quot;Selection example&quot;&gt;&gt;</pre>
++</div>
++<div title="SelStart" modifier="Jean-Pierre Ledure" created="201401241603" modified="201405291637" tags="Properties" changecount="1">
++<pre>The //~SelStart// property specifies or determines the starting point of the selected text in a control or the position of the insertion point if no text is selected.
++!!!Applies to ...
++| !Object | !Type when&lt;br /&gt;in a form | !Type when&lt;br /&gt;in a ~GridControl | !Type when&lt;br /&gt;in a dialog |!Description |
++|[[Control]] |&gt;|&gt;| ~PatternField&lt;br /&gt;~TextField |A control on an open form or dialog |
++!!!Syntax
++//control//{{{.SelStart}}}
++//control//{{{.SelStart = }}}//value//
++!!!Returned values / Arguments
++{{{Long}}}
++!!!Remarks
++*The //~SelStart// property uses an integer value in the range 1 to the total number of characters in a text box + 1.
++*To set or return this property for a control, the control must have the focus. To move the focus to a control, use the [[SetFocus]] method.
++*Changing the SelStart property cancels the selection, places the insertion point in the text at the left of the ~SelStart-th character, and sets the [[SelLength]] property to 0.
++!!!Error messages
++|Property '~SelStart' not applicable in this context |
++|Value '...' is invalid for property '~SelStart' |
++!!!See also
++[[SelLength]]
++[[SelText]]
++[[SetFocus]]
++!!!Example
++&lt;&lt;tiddler &quot;Selection example&quot;&gt;&gt;</pre>
++</div>
++<div title="SelText" modifier="Jean-Pierre Ledure" created="201401241655" modified="201408011521" tags="Properties" changecount="1">
++<pre>The //~SelText// property returns a string containing the selected text. If no text is selected, the //~SelText// property contains an empty string (&quot;&quot;).
++!!!Applies to ...
++| !Object | !Type when&lt;br /&gt;in a form | !Type when&lt;br /&gt;in a ~GridControl | !Type when&lt;br /&gt;in a dialog |!Description |
++|[[Control]] |&gt;|&gt;| ~PatternField&lt;br /&gt;~TextField |A control on an open form or dialog |
++!!!Syntax
++//control//{{{.SelText}}}
++//control//{{{.SelText = }}}//value//
++!!!Returned values / Arguments
++{{{String}}}
++!!!Remarks
++*If the control contains the selected text when this property is set, the selected text is replaced by the new //~SelText// setting. Otherwise selection is not cahnged.
++*To set or return this property for a control, the control must have the focus. To move the focus to a control, use the [[SetFocus]] method.
++!!!Error messages
++|Property '~SelStart' not applicable in this context |
++|Value '...' is invalid for property '~SelStart' |
++!!!See also
++[[SelLength]]
++[[SelStart]]
++[[SetFocus]]
++!!!Example
++&lt;&lt;tiddler &quot;Selection example&quot;&gt;&gt;</pre>
++</div>
++<div title="SelectListboxOnFirstLetters" modifier="Jean-PierreLedure" created="201212311658" modified="201308161333" tags="HowTo">
++<pre>(Q) Can I make a search box where the proposed choices are dynamically limited to those starting with the letters typed by the user ?
++
++(R) There are several solutions. One of them is presented below.
++
++The implemented module is triggered each time a character is entered.
++Accepted characters are :
++*Letters, either lower or upper cased, and the space character
++*The BACKSPACE which cancels the last entered letter
++*The ESCAPE key which cancels the complete string of characters.
++Other keys are ignored.
++
++The goal is to minimize the reload of the data from the database, as it is an operation that could take a long time while the user is keying letters in ...
++
++!!!Solution
++It consists in:
++*A [[listbox|ListBox]]. It is reinitialized with database data at each //form loading//, and, while the focus is on the box, at each BACKSPACE key and at each ESCAPE key pressing.
++*After each letter pressed by the user the box keeps only the subset of the initial data that corresponds with the entered characters, without database access. The control is temporarily converted from an SQL [[RowSourceType]] to a VALUELIST one.
++*The succession of letters is kept into the [[Tag]] property of the //listbox//.
++Let's assume next table:
++&lt;&lt;tiddler &quot;ProductsTable&quot;&gt;&gt;
++The //listbox// will help to converge as quickly as possible to the searched product name.
++
++1. Associate next code with the //When loading// form event:
++//{{{
++Sub InitList(Optional poEvent As Object) ' Optional because also called from CaptureChar routine
++'Activated when form opened and when ESC key is pressed in listbox
++
++Const cstForm = &quot;Products_FastSearch&quot;
++Const cstList = &quot;FastList&quot;
++Dim ocList As Object, sSource As String
++
++ Set ocList = Forms(cstForm).Controls(cstList)
++ If Not IsMissing(poEvent) Then ocList.Tag = &quot;&quot; ' Initialized only when form opened
++
++ ocList.RowSourceType = com.sun.star.form.ListSourceType.SQL
++ ocList.RowSource = &quot;SELECT [ProductName] FROM [Products] ORDER BY [ProductName] ASC&quot; 'Requery implicit
++
++ sSource = Join(ocList.ItemData, &quot;;&quot;)
++ ocList.RowSourceType = com.sun.star.form.ListSourceType.VALUELIST ' For performance
++ ocList.RowSource = sSource
++
++End Sub
++//}}}
++2. Associate next routine with the //Key pressed// event of the concerned //listbox// control :
++//{{{
++Sub CaptureChar(poEvent As Object)
++
++Dim oEvent As Object, ocList As Object, sTag As String, i As Integer
++Dim vList() As Variant, vNewList() As Variant, iNew As Integer
++ Set oEvent = Events(poEvent)
++ If oEvent.EventType &lt;&gt; &quot;KEYEVENT&quot; Then Exit Sub
++
++'Accepted keys: A-Z, a-z, BACKSPACE, ESCAPE. All other keys ignored
++'Tag property of list box is used to keep sequence of entered characters
++ With oEvent
++ Set ocList = oEvent.Source
++ Select Case True
++ Case .KeyAlt, .KeyCtrl : Exit Sub
++ Case .KeyCode = com.sun.star.awt.Key.ESCAPE
++ ocList.Tag = &quot;&quot;
++ Call InitList()
++ Exit Sub
++ Case .KeyCode = com.sun.star.awt.Key.BACKSPACE
++ If Len(ocList.Tag) &gt; 0 Then
++ sTag = ocList.Tag
++ ocList.Tag = Left(sTag, Len(sTag) - 1) ' Reduce length of Tag
++ Call InitList()
++ End If
++ Case (UCase(.KeyChar) &gt;= &quot;A&quot; And UCase(.KeyChar) &lt;= &quot;Z&quot;) Or (.KeyCode = com.sun.star.awt.Key.SPACE)
++ ocList.Tag = ocList.Tag &amp; .KeyChar
++ Case Else : Exit Sub
++ End Select
++ End With
++
++ With ocList ' Process Tag
++ sTag = .Tag
++ vList() = Split(.RowSource, &quot;;&quot;)
++ .RowSource = &quot;&quot;
++ vNewList() = Array() ' Otherwise Redim protests
++ If UBound(vList) &gt;= 0 Then
++ ReDim vNewList(0 To UBound(vList)) ' Resized later
++ iNew = 0 ' Counts valid entries in vList
++ For i = 0 To UBound(vList)
++ If Len(vList(i)) &gt;= Len(sTag) Then
++ If UCase(Left(vList(i), Len(sTag))) = UCase(sTag) Then ' Case not sensitive
++ vNewList(iNew) = vList(i)
++ iNew = iNew + 1
++ End If
++ End If
++ Next i
++ If iNew &gt; 0 Then
++ ReDim Preserve vNewList(0 To iNew - 1)
++ .RowSource = Join(vNewlist, &quot;;&quot;) 'Apply new list after Tag selection
++ .ListIndex = 0 'Select first element
++ End If
++ End If
++ End With
++
++End Sub
++//}}}
++!!!See also
++[[Event]]
++[[ItemData]]
++[[ListIndex]]
++[[RowSource]]
++[[RowSourceType]]
++[[Tag]]
++!!!Refer to ...
++| !Basic module | !Form | !Form event | !Control | !Control event |!Comments |
++|~FastSearch |~Products_FastSearch |When loading |~FastList |Key pressed |Select the listbox, enter characters =&gt; the listbox content changes. |</pre>
++</div>
++<div title="SelectObject" modifier="Jean-Pierre Ledure" created="201204061442" modified="201409271455" tags="Actions" changecount="4">
++<pre>The //~SelectObject// action moves the focus to the specified window.
++&lt;&lt;tiddler &quot;ApplyDoCmd&quot;&gt;&gt;
++!!!Syntax
++{{{[DoCmd.]SelectObject(}}}//{{{ObjectType, ObjectName, InDatabaseWindow}}}//{{{)}}}
++| !Argument | !Optional | !Type&lt;br /&gt;or&lt;br /&gt;Symbol |!Description | !Returned Value |
++|{{{ObjectType}}} | No | acTable&lt;br /&gt;acQuery&lt;br /&gt;acForm&lt;br /&gt;acReport&lt;br /&gt;acDiagram (i.e. Relationships)&lt;br /&gt;acDocument&lt;br /&gt;acBasicIDE&lt;br /&gt;acDatabaseWindow |The type of object to set the focus on. | True if sucess |
++|{{{ObjectName}}} | Yes | String |The name of the object to set the focus on. This argument is NOT case-sensitive.&lt;br /&gt;The argument is mandatory when the //~ObjectType// argument is one of next values: //acTable//, //acQuery//, //acForm//, //acReport// or //acDocument//.&lt;br /&gt;When the //~ObjectType// is equal to //acDocument//, the //~ObjectName// argument must contain the __filename__ of the window to be selected. |~|
++|{{{InDatabaseWindow}}} | Yes | Boolean |Specifies if the object has to be selected in the Database Window.&lt;br /&gt;Must be FALSE. |~|
++The symbolic constants can be included in your code by copying and pasting next lines:
++//{{{
++Const acDiagram = 8
++Const acForm = 2
++Const acQuery = 1
++Const acReport = 3
++Const acTable = 0
++
++Const acBasicIDE = 101
++Const acDatabaseWindow = 102
++Const acDocument = 111
++//}}}
++!!!Remarks
++If the selected window is minimized or hidden, the //~SelectObject// action will reset the minimized or hidden status.
++!!!Error messages
++|Arguments are missing or are not initialized |
++|Argument nr. ... [Value = '...'] is invalid |
++|Object '...' not found |
++!!!See also
++[[GetHiddenAttribute]]
++[[Maximize]]
++[[Minimize]]
++[[MoveSize]]
++[[RunCommand]]
++[[SetFocus]]
++[[SetHiddenAttribute]]
++!!!Example
++&lt;&lt;tiddler &quot;SelectObject example&quot;&gt;&gt;</pre>
++</div>
++<div title="SelectObject example" modifier="Jean-Pierre Ledure" created="201204061502" modified="201408011522" tags="[[Snippets of Code]]" changecount="1">
++<pre>Select the database window and minimize it, then set focus on an open form.
++//{{{
++Const acForm = 2
++Const acDatabaseWindow = 102
++ DoCmd.SelectObject(acDatabaseWindow)
++ DoCmd.Minimize()
++ DoCmd.SelectObject(acForm, &quot;myForm&quot;)
++ DoCmd.Maximize()
++//}}}
++Put the focus on a Writer document
++//{{{
++Const acDocument = 111
++ DoCmd.SelectObject(acDocument, &quot;myWriterDocument.odt&quot;)
++//}}}</pre>
++</div>
++<div title="Selected" modifier="Jean-Pierre Ledure" created="201109021323" modified="201405291612" tags="Properties" changecount="2">
++<pre>The //Selected// property determines if the specified row in a list box is currently selected.
++!!!Applies to ...
++| !Object | !Type when&lt;br /&gt;in a form | !Type when&lt;br /&gt;in a ~GridControl | !Type when&lt;br /&gt;in a dialog |!Description |
++|[[Control]] | [[ListBox]] | [[ListBox]] | [[ListBox]] |A listbox on an open form, dialog or in a [[GridControl]]|
++!!!Syntax
++//control//{{{.Selected}}}
++//control//{{{.Selected(}}}//index//{{{)}}}
++//control//{{{.Selected}}} = //value//
++{{{setSelected(}}}//control, value, index//{{{)}}}
++!!!Returned values / Arguments
++{{{Array of Booleans}}} (might be empty) if index is absent.
++{{{Boolean}}} if index is present
++!!!Remarks
++*It is better to use the [[Value]] property for non-multiselect listboxes.
++*Selecting an item in a [[combobox|ComboBox]] is done with the [[Value]] property.
++*The //index// argument must have a (integer or long) value between 0 and (//~ListCount// - 1)
++*If //index// is absent //control//{{{.Selected}}} returns an array dimensioned as [0 ... //~ListCount// - 1]. If the listbox is empty the returned array is also empty.
++*If //index// is absent the //value// argument must be an array dimensioned as [0 ... //~ListCount// - 1].
++*The use of {{{setSelected(}}}//control, value, index//{{{)}}} as syntax is due to the incapacity of Basic to accept //Optional// arguments in //Property Let// routines.
++!!!Error messages
++|Argument nr. ... [Value = '...'] is invalid |
++|Property 'Selected' not applicable in this context |
++|Out of array range or incorrect array size for property 'Selected'|
++!!!See also
++[[ItemData]]
++[[ListCount]]
++[[ListIndex]]
++[[MultiSelect]]
++[[RowSource]]
++[[RowSourceType]]
++[[Value]]
++!!!Example
++*List box
++&lt;&lt;tiddler &quot;ListBox example&quot;&gt;&gt;</pre>
++</div>
++<div title="Selection example" modifier="Jean-Pierre Ledure" created="201401241615" modified="201408011457" tags="[[Snippets of Code]]" changecount="1">
++<pre>Search a string in a text column and select it when found
++//{{{
++Dim ofForm As Object, ocControl As Object
++Const cstSearch = &quot;WINNIE&quot;
++ Set ofForm = Forms(&quot;myForm&quot;)
++ Set ocControl =ofForm.Controls(&quot;myGridControl&quot;).Controls(&quot;mytextField&quot;)
++ With ocControl
++ .SetFocus()
++ DoCmd.FindRecord(cstSearch, acAnyWhere, True, , , acCurrent, True) ' Find first occurrence
++ .SelText = cstSearch
++ MsgBox &quot;String '&quot; &amp; cstSearch &amp; &quot;' found in position &quot; &amp; .SelStart &amp; &quot;. Length = &quot; .SelLength
++ End With
++//}}}</pre>
++</div>
++<div title="SendObject" modifier="Jean-Pierre Ledure" created="201208171508" modified="201409271456" tags="Actions" changecount="2">
++<pre>{{firstletter{
++ @@color:#930;T@@
++ }}}he //~SendObject// action outputs the data in the specified object (currently only a form) to several output formats and inserts it into an e-mail. Recipients, subject and other elements can be inserted automatically as well.
++&lt;&lt;tiddler &quot;ApplyDoCmd&quot;&gt;&gt;
++!!!Syntax
++{{{[DoCmd.]SendObject(}}}//{{{ObjectType, ObjectName, OutputFormat, To, Cc, Bcc, Subject, MessageText, EditMessage, TemplateFile}}}//{{{)}}}
++| !Argument | !Optional | !Type&lt;br /&gt;or&lt;br /&gt;Symbol |!Description | !Returned value |
++|{{{ObjectType}}} | Yes | acSendNoObject&lt;br /&gt;acSendForm |The type of object to output.&lt;br /&gt;If absent the default value is {{{acSendNoObject}}}. | {{{True}}} if success |
++|{{{ObjectName}}} | Yes | String |The valid name of an object of the type selected by the //~ObjectType// argument. If you want to output the active object, specify the object's type for the {{{ObjectType}}} argument and leave this argument blank.&lt;br /&gt;If the {{{ObjectType}}} argument is left empty or is equal to the default value, if this argument is not empty, then it will be interpreted as the full path name of the file to attach to the mail. |~|
++|{{{OutputFormat}}} | Yes | acFormatPDF&lt;br /&gt;acFormatODT&lt;br /&gt;acFormatDOC&lt;br /&gt;acFormatHTML |The output format, expressed as an acFormatXXX constant. If this argument is omitted, te user will be prompted for the output format. |~|
++|{{{To}}} | Yes | String |The recipients of the message whose names you want to put on the To line in the mail message.&lt;br /&gt;Separate the recipients' names you specify in this argument (and in the Cc and Bcc arguments) with a semicolon (;).&lt;br /&gt;If the mail application can't identify the recipients' names, the message isn't sent and an error occurs. |~|
++|{{{Cc}}} | Yes | String |The message recipients whose names you want to put on the Cc (&quot;carbon copy&quot;) line in the mail message. |~|
++|{{{Bcc}}} | Yes | String |The message recipients whose names you want to put on the Bcc (&quot;blind carbon copy&quot;) line in the mail message. |~|
++|{{{Subject}}} | Yes | String |The subject of the message. This text appears on the Subject line in the mail message. |~|
++|{{{MessageText}}} | Yes | String |Any text you want to include in the message in addition to the database object or the attachment. This text appears in the main body of the mail message. If you leave this argument blank, no additional text is included in the mail message.&lt;br /&gt;If you leave the {{{ObjectType}}} and {{{ObjectName}}} arguments blank, you can use this argument to send a mail message without any database object. |~|
++|{{{EditMessage}}} | Yes | Boolean |Specifies whether the message can be edited before it's sent. If you select {{{True}}}, the electronic mail application starts automatically, and the message can be edited. If you select {{{False}}}, the message is sent without the user having a chance to edit the message.&lt;br /&gt;The default is {{{True}}}. |~|
++|{{{TemplateFile}}} | Yes | String |If present, must be a null-length string. |~|
++The symbolic constants can be included in your code by copying and pasting next lines:
++//{{{
++Const acSendForm = 2
++Const acSendNoObject = -1
++
++Const acFormatPDF = &quot;writer_pdf_Export&quot;
++Const acFormatODT = &quot;writer8&quot;
++Const acFormatDOC = &quot;MS Word 97&quot;
++Const acFormatHTML = &quot;HTML&quot;
++//}}}
++!!!Remarks
++*//~Access2Base// uses for the sending of the mail the most appropriate of next protocols:
++| !Protocol | !Used when | !Limitations | !Consequence |
++|mailto: |{{{ObjectType}}} left empty or = {{{acSendNoObject}}} and {{{ObjectName}}} left blank. |No attachments&lt;br /&gt;Message edition always allowed. |The {{{EditMessage}}} argument is ignored. |
++|~XSimpleMailMessage&lt;br /&gt;UNO interface |~LibreOffice&lt;br /&gt;~OpenOffice 3.X |No Body insertion |The {{{MessageText}}} argument is ignored. |
++|~|~|Maximum 1 &quot;To&quot; recipient |All the &quot;To&quot; recipients as from the 2nd in the list are added to the &quot;Cc&quot; recipients list. |
++|~XSystemMailProvider&lt;br /&gt;UNO interface |~OpenOffice 4.X |Maximum 1 &quot;To&quot; recipient |All the &quot;To&quot; recipients as from the 2nd in the list are added to the &quot;Cc&quot; recipients list. |
++*If a form has to be sent, the designated form MUST be open before the //~SendObject// action is called.
++*If the {{{ObjectName}}} argument is a file name then it may be expressed either in the (recommended) URL format (i.e. &quot;{{{file:// ...}}}&quot;) or by using the operating system usual syntax (e.g. &quot;{{{C:\...}}}&quot; in Windows).
++*When the form is transformed into another format, //~Access2Base// will use as temporary directory the directory mentioned in the //AOO/~LibO// {{{Options}}} for the {{{Paths/Temporary files}}} parameter.
++!!!Error messages
++|Object '...' not found |
++|Action not applicable in this context |
++|File access error on file '...' |
++|Mail service could not be activated |
++!!!See also
++[[OutputTo]]
++[[SelectObject]]
++!!!Example
++&lt;&lt;tiddler &quot;SendObject example&quot;&gt;&gt; </pre>
++</div>
++<div title="SendObject example" modifier="Jean-PierreLedure" created="201208310934" modified="201308021615" tags="[[Snippets of Code]]">
++<pre>To send a message without attachments, with a body. The mail client will open before the message being sent.
++//{{{
++ DoCmd.SendObject( , , , &quot;abc@def.com;ghi@def.com&quot;,&quot;xyz@abc.eu&quot;,,&quot;This is the subject&quot;, &quot;This is&quot; &amp; chr(13) &amp; &quot;the body&quot;)
++//}}}
++To send a file as attachment. The body will however be ignored. The mail client will open before the message being sent.
++//{{{
++ Const acFormatPDF = &quot;writer_pdf_Export&quot;
++ DoCmd.SendObject(, &quot;file:///C:/Users/MyName/Documents/Doc/Access2Base/access2base.html&quot; _
++ , acFormatPDF, &quot;abc@def.com;me@sdf.eu&quot;, &quot;aaa@kk.it;bbb@kk.it&quot;, &quot;me@mail.be&quot;, &quot;This is the subject&quot;, &quot;This is&quot; &amp; chr(13) &amp; &quot;the body&quot; _
++ )
++//}}}
++To send a form in PDF as attachment in the mail, the mail client will not propose to edit the message
++//{{{
++ Const acFormatPDF = &quot;writer_pdf_Export&quot;
++ DoCmd.SendObject(acSendForm, &quot;myForm&quot;, acFormatPDF, &quot;toyou@yourmail.eu&quot;, , , &quot;Read carefully the attached file&quot;, , False)
++//}}}</pre>
++</div>
++<div title="SetFocus" modifier="Jean-Pierre Ledure" created="201110311031" modified="201405241319" tags="Methods" changecount="1">
++<pre>The //~SetFocus// method moves the focus to the specified form or to the specified control on the active form.
++!!!Applies to ...
++| !Object | !Description |
++|[[Form]] |The representation of a form |
++|[[Control]] |The representation of a control within a [[form|Form]], a [[subform|SubForm]] or a [[gridcontrol|GridControl]] |
++!!!Syntax
++//form//.{{{SetFocus}}}
++//control//.{{{SetFocus}}}
++!!!Returned value
++//True// if success.
++!!!Remarks
++!!!Error messages
++|Control '...' not found in gridcontrol '...' |
++!!!See also
++[[Bookmark]]
++[[FindRecord]]
++[[GoToRecord]]
++[[SelectObject]]
++!!!Example
++&lt;&lt;tiddler &quot;SetFocus example&quot;&gt;&gt;</pre>
++</div>
++<div title="SetFocus example" modifier="Jean-Pierre Ledure" created="201110311042" modified="201408011522" tags="[[Snippets of Code]]" changecount="1">
++<pre>Set focus on named control
++//{{{
++Dim sControl As String
++ getObject(&quot;Forms!myForm!myControl&quot;).SetFocus
++//}}}</pre>
++</div>
++<div title="SetHiddenAttribute" modifier="Jean-Pierre Ledure" created="201312251126" modified="201409271456" tags="Actions" changecount="4">
++<pre>The //~SetHiddenAttribute// action hides or shows the specified window.
++&lt;&lt;tiddler &quot;ApplyDoCmd&quot;&gt;&gt;
++!!!Syntax
++{{{[DoCmd.]SetHiddenAttribute(}}}//{{{ObjectType, ObjectName, Hidden}}}//{{{)}}}
++| !Argument | !Optional | !Type&lt;br /&gt;or&lt;br /&gt;Symbol |!Description | !Returned Value |
++|{{{ObjectType}}} | No | acTable&lt;br /&gt;acQuery&lt;br /&gt;acForm&lt;br /&gt;acReport&lt;br /&gt;acDiagram (i.e. Relationships)&lt;br /&gt;acBasicIDE&lt;br /&gt;acDatabaseWindow&lt;br /&gt;acDocument |The type of object to hide or show. | True if sucess |
++|{{{ObjectName}}} | Yes | String |The name of the object to hide or to show. This argument is NOT case-sensitive.&lt;br /&gt;The argument is mandatory when the //~ObjectType// argument is one of next values: //acTable//, //acQuery//, //acForm//, //acReport// or //acDocument//.&lt;br /&gt;When the //~ObjectType// is equal to //acDocument//, the //~ObjectName// argument must contain the __filename__ of the targeted window. |~|
++|{{{Hidden}}} | Yes | Boolean |{{{True}}} (default value) hides the object window.&lt;br /&gt;{{{False}}}.makes the object visible again and sets the __focus__ on the window. |~|
++The symbolic constants can be included in your code by copying and pasting next lines:
++//{{{
++Const acDiagram = 8
++Const acForm = 2
++Const acQuery = 1
++Const acReport = 3
++Const acTable = 0
++
++Const acBasicIDE = 101
++Const acDatabaseWindow = 102
++Const acDocument = 111
++//}}}
++!!!Remarks
++*In //~MSAccess// the //~SetHiddenAttribute// action is related to the [[Application]] root object, not to the [[DoCmd]] one.
++*When the //~ObjectType// is {{{acTable}}}, {{{acQuery}}}, {{{acForm}}} or {{{acReport}}}, the named object MUST be open.
++*Before hiding the database window, be sure that a (programmatic) mean exists to make it visible again and be able to close the Base application.
++!!!Error messages
++|Arguments are missing or are not initialized |
++|Argument nr. ... [Value = '...'] is invalid |
++|Object '...' not found |
++!!!See also
++[[GetHiddenAttribute]]
++[[Maximize]]
++[[Minimize]]
++[[MoveSize]]
++[[RunCommand]]
++[[SetFocus]]
++[[SelectObject]]
++!!!Example
++&lt;&lt;tiddler &quot;SetHiddenAttribute example&quot;&gt;&gt;</pre>
++</div>
++<div title="SetHiddenAttribute example" modifier="Jean-Pierre Ledure" created="201312251152" modified="201408011523" tags="[[Snippets of Code]]" changecount="2">
++<pre>Hide the database window, select an open and visible form then maximize it.
++//{{{
++Const acForm = 2
++Const acDatabaseWindow = 102
++ DoCmd.SetHiddenAttribute(acDatabaseWindow)
++ If Not GetHiddenAttribute(acForm, &quot;myForm&quot;) Then
++ DoCmd.SelectObject(acForm, &quot;myForm&quot;)
++ DoCmd.Maximize()
++ End If
++//}}}</pre>
++</div>
++<div title="SetOrderBy" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201411011334" modified="201502151539" tags="Actions" changecount="7">
++<pre>{{firstletter{
++ @@color:#930;W @@
++ }}}hen you run the //~SetOrderBy// action, the sort is applied to the table, form or datasheet (for example, query result) that is active and has the focus.
++&lt;&lt;tiddler &quot;ApplyDoCmd&quot;&gt;&gt;
++!!!Syntax
++{{{[DoCmd.]SetOrderBy(}}}//{{{[orderby], [controlname]}}}//{{{)}}}
++| !Argument | !Optional | !Type |!Description |
++|{{{orderby}}} | Yes | String |The name of the field or fields on which you want to sort records. When you use more than one field name, separate the names with a comma (,). |
++|{{{controlname}}} |~|~|The name of a subform of the active form. |
++!!!Remarks
++*The //~SetOrderBy// action must not be called from a [[standalone form|Standalone Forms]].
++*The //~SetOrderBy// action is applied on the current window. To make a window current, use the [[SelectObject]] action. If the current window is neither a form, a table datasheet or a query datasheet, the //~SetOrderBy// action returns {{{False}}} and ignores the request.
++*The //~SetOrderBy// action, when applied to a table or a query datasheet, __does NOT work in //~OpenOffice//__ (//~LibreOffice// OK).
++*To sort a table or a query with //~SetOrderBy//, the table or the query must be open. Eventually use therefore the [[OpenTable]] or [[OpenQuery]] actions.
++*If //controlname// is present, the active window is expected to be a form. Otherwise //~SetOrderBy// refurns {{{False}}} and the request is ignored. The //controlname// is NOT case-sensitive. If //controlname// does not exist in the active form or is not the name of one of its [[subforms|SubForm]] then the action generates a run-time error.
++*When records are sorted with //~SetOrderBy// the first record (if it exists ...) becomes the current record.
++*Once applied, the sorting sequence is preserved for subsequent table or query openings during the same //~LibreOffice/~OpenOffice// session. It will become persistent when the database file (&quot;*.odb&quot;) is saved.
++*In the orderby argument, record and field names may be surrounded by square brackets. They will be replaced with the correct character surrounding such names in SQL statements targeted to be run on the concerned RDBMS (Relational Database Management System).
++*To sort records in descending order, type DESC immediately after the field that needs to be sorted in descending order.
++*Giving the null-length string (&quot;&quot;) as orderby argument resets any pre-existing sorting sequence.
++!!!Error messages
++|Argument nr.X [Value = '...'] is invalid|
++|Control '...' not found in parent (form, grid or dialog) '...' |
++|Subform '...' not found in parent form '...' |
++!!!See also
++[[ApplyFilter]]
++[[Filter]]
++[[FilterOn]]
++[[GoToRecord]]
++[[SelectObject]]
++[[SetFocus]]
++!!!Example
++&lt;&lt;tiddler &quot;SetOrderBy example&quot;&gt;&gt;</pre>
++</div>
++<div title="SetOrderBy example" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201411011356" tags="[[Snippets of Code]]" changecount="1">
++<pre>Sort the records of a subform
++//{{{
++Dim sSetOrderBy As String
++Const cstFormName = &quot;INVOICE&quot;
++Const cstSubFormName = &quot;SubForm&quot;
++ OpenForm(cstFormName)
++ sSetOrderBy = &quot;[PURCHASE_PRICE] DESC&quot;
++ SelectObject(acForm, cstFormName)
++ DoCmd.SetOrderBy(sSetOrderBy, cstSubFormName)
++//}}}</pre>
++</div>
++<div title="ShippersTable" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201405311057" modified="201405311109" tags="HowTo" changecount="2">
++<pre>*Shippers table
++| !Fields | !Field Type | !Primary |
++|~CompanyName |Text ||
++|Phone |Text ||
++|~ShipperID |~BigInt | Y |</pre>
++</div>
++<div title="ShortCut Notation" modifier="Jean-Pierre Ledure" created="201108201319" modified="201409271432" tags="Shortcuts" changecount="7">
++<pre>The shortcut n{{firstletter{
++ @@color:#930;T@@
++ }}}ation allows to reach an [[object|Object Model]] or anyone of its properties by mean of a call to one single function. The first argument of the function is a ''STRING'' designating unambiguously the target [[form|Form]], [[dialog|Dialog]] or [[control|Control]], or one of their properties.
++!!!The shortcut notation
++The //shortcut notation// binds several //components// by mean of two operators:
++*The &quot;!&quot; (exclamation mark)&lt;br /&gt;The component on the left of the &quot;!&quot; is a //parent// of the component on its right. A //parent// may be a [[collection|Collection]] or an [[object|Object Model]] containing other //objects//, just like __a form contains controls__.&lt;br /&gt;The first component must be a collection.
++| ! Allowed collections | ! |
++| [[Forms]] |The form must be open. |
++| [[Dialogs|AllDialogs]] |The dialog must be active but not necessarily in execution. |
++| [[TempVars]] |The invoked temporary variable must exist. |
++*The &quot;.&quot; (dot)&lt;br /&gt;The dot separates an object on its left from one of the properties of the object on its right.
++Note that the //shortcut notation// is NOT case-sensitive.
++!!!Remarks
++In //~MSAccess// the shortcut notation is a construction recognized as such by the Visual Basic interpreter. It can be used directly in expressions.
++In //~Access2Base// the notation is given as a {{{String}}} argument to the [[getObject]], [[getValue]] and a few other functions.
++!!!Examples
++*The //myForm// form:
++//{{{
++Forms!myForm
++//}}}
++*The //myDialog// dialog:
++//{{{
++Dialogs!myDialog
++//}}}
++*The //myVar// variable
++//{{{
++TempVars!myVar
++//}}}
++*The [[AllowEdits]] property of //myForm//:
++//{{{
++Forms!myForm.AllowEdits
++//}}}
++*The [[Visible]] property of //myDialog//:
++//{{{
++Dialogs!myDialog.Visible
++//}}}
++*A control in //myForm//:
++//{{{
++Forms!myForm!myControl
++//}}}
++*The [[BackColor]] property of //myControl//:
++//{{{
++Forms!myForm!myControl.BackColor
++Dialogs!myDialog!myControl.BackColor
++//}}}
++*A control in a subform:
++//{{{
++Forms!myForm!mySubForm.Form!mySubcontrol
++//}}}
++*The [[ControlTipText]] property of a control in a [[gridcontrol|GridControl]] located itself in a subform:
++//{{{
++Forms!myForm!mySubForm.Form!myGridControl!mySubControl.ControlTipText
++//}}}
++!!!Associated functions
++| !Function | !Description |
++|[[getObject]] |Returns an object corresponding with its argument. |
++|[[getValue]] |Returns a property of the object corresponding with its argument. |
++|[[setValue]] |Sets a property of the object corresponding with its first argument. |
++
++&gt;[[To know more ...|ShortcutNotationMore]]</pre>
++</div>
++<div title="ShortcutNotationMore" modifier="Jean-Pierre Ledure" created="201212301146" modified="201405300618" tags="HowTo" changecount="1">
++<pre>(Q) Can I reach any control on any form with the shortcut notation ?
++
++(R) The [[ShortCut Notation]] is a very rapid mean to reach the control or form you want and ...
++*get with the [[getObject]] function its corresponding //~Access2Base// [[form|Form]] or [[control|Control]] [[object|Object Model]]
++*get or set - with [[getValue]] or [[setValue]] - any property of the targetted object
++
++The //shortcut notation// binds several //components// by mean of two operators:
++*The &quot;!&quot; (exclamation mark)&lt;br /&gt;The component on the left of the &quot;!&quot; is a //parent// of the component on its right. A //parent// may be a [[collection|Collection]] or an [[object|Object Model]] containing other //objects//, just like __a form contains controls__.&lt;br /&gt;The first component must be a collection, the only allowed collections being [[Forms]] and [[Dialogs|AllDialogs]].
++*The &quot;.&quot; (dot)&lt;br /&gt;The dot separates an object on its left from one of the properties of the object on its right.
++
++Note also that a shortcut is NOT case-sensitive.
++
++Let's assume
++#//Mainform// is the name of the top level FORM
++#//Subform1// is the name of the subform CONTROL on //Mainform//
++#//Subform2// is the name of the subform CONTROL on //Subform1//
++#//~Subform2_Grid// is the name of the grid CONTROL contained in //Subform2//
++!!!To refer to a form property, like [[RecordSource]]
++|On //Mainform// |Forms!Mainform.~RecordSource |
++|On //Subform1// |Forms!Mainform!Subform1.Form.~RecordSource |
++|On //Subform2// |Forms!Mainform!Subform1.Form!Subform2.Form.~RecordSource |
++!!!To refer to a control
++|On //Mainform// |Forms!Mainform!~ControlName |
++|On //Subform1// |Forms!Mainform!Subform1.Form!~ControlName |
++|On //Subform2// |Forms!Mainform!Subform1.Form!Subform2.Form!~ControlName |
++|On //~Subform2_Grid// |Forms!Mainform!Subform1.Form!Subform2.Form!~Subform2_Grid!~ControlName |
++!!!To refer to a control property, like [[Enabled]]
++|On //Mainform// |Forms!Mainform!~ControlName.Enabled |
++|On //Subform1// |Forms!Mainform!Subform1.Form!~ControlName.Enabled |
++|On //Subform2// |Forms!Mainform!Subform1.Form!Subform2.Form!~ControlName.Enabled |
++|On //~Subform2_Grid// |Forms!Mainform!Subform1.Form!Subform2.Form!~Subform2_Grid!~ControlName.Enabled |
++!!!To refer to a subform or grid control property, like [[Name]]
++|On //Subform1// |Forms!Mainform!Subform1.Name |
++|On //Subform2// |Forms!Mainform!Subform1.Form!Subform2.Name |
++|On //~Subform2_Grid// |Forms!Mainform!Subform1.Form!Subform2.Form!~Subform2_Grid.Name |</pre>
++</div>
++<div title="Shortcuts" modifier="Jean-Pierre Ledure" created="201108201320" tags="Menu">
++<pre></pre>
++</div>
++<div title="ShowAllRecords" modifier="Jean-Pierre Ledure" created="201205171433" modified="201409271456" tags="Actions" changecount="3">
++<pre>{{firstletter{
++ @@color:#930;T@@
++ }}}he //ShowAllRecords// action removes any existing filters and sorts that may exist on the current table, query, or form.
++&lt;&lt;tiddler &quot;ApplyDoCmd&quot;&gt;&gt;
++!!!Syntax
++{{{[DoCmd.]ShowAllRecords()}}}
++!!!Remarks
++*The //~ShowAllrecords// action is usually preceded by a [[SelectObject]] action or by the [[SetFocus]] method applied on the targeted //form//.
++*//~ShowAllRecords// returns {{{True}}} if the action was successful, {{{False}}} otherwise.
++*The //~ShowAllrecords// action must not be triggered from a [[standalone form|Standalone Forms]]. Use the [[FilterOn]] property instead.
++!!!Error messages
++|Action not applicable in this context |
++!!!See also
++[[FilterOn]]
++[[SelectObject]]
++[[SetFocus]]
++!!!Example
++&lt;&lt;tiddler &quot;ShowAllRecords example&quot;&gt;&gt;</pre>
++</div>
++<div title="ShowAllRecords example" modifier="Jean-PierreLedure" created="201205171448" tags="[[Snippets of Code]]">
++<pre>Reset existing filter or sort on an open form
++//{{{
++ SelectObject(acForm, &quot;myForm&quot;)
++ ShowAllRecords
++//}}}</pre>
++</div>
++<div title="SimulateTabbed" modifier="Jean-Pierre Ledure" created="201401031328" modified="201405251642" tags="HowTo" changecount="3">
++<pre>(Q) Can I easily simulate a tabbed interface (like in Calc ... ?) in a database form ?
++
++(R) A tabbed interface is for building wizards stepping from a page to the next or hiding/unhiding portions of a form when a button is clicked.
++This feature is builtin In a [[dialog|Dialog]]. See the [[Page]] property of dialogs and/or dialog [[controls|Control]].
++
++However in a form we will have to be more creative by:
++*making use of the concept of //sections// (remember that a database form is finally a Writer document ...). Indeed //sections// can be made programmatically hidden or visible very simply.
++*managing them by mixing the //~Access2Base// and //UNO// API's
++You have to understand that a //section// in a Writer document is nothing else than a set of __contiguous paragraphs__.
++If we anchor a control on the form to a paragraph, and if that paragraph is included a a //section//, when hiding the //section// the control will be made hidden as well.
++
++The concept has been derived from a topic from the (french) [[OpenOffice forum|https://forum.openoffice.org/fr/forum/viewtopic.php?f=29&amp;t=23703]].
++
++In next example we have put the main form - except its 2 top buttons //Orders// and //Details// - , in the first section, and a subform in the second one.This allows us to obtain next result:
++
++[img[tabbed_orders.png]]
++and after having pressed the //Details// button:
++
++[img[tabbed_details.png]]
++!!!The code behind the top buttons
++//{{{
++Public Sub SelectTab(Optional poEvent As Object)
++Dim oEvent As Object, oForm As Object
++ Set oEvent = Application.Events(poEvent)
++ Set oForm = Forms(&quot;Orders_Tabbed&quot;)
++ If oEvent.Source.Name = &quot;btnOrders&quot; Then
++ oForm.Component.TextSections.getByIndex(1).IsVisible = False
++ oForm.Component.TextSections.getByIndex(0).IsVisible = True
++ oEvent.Source.Value = True
++ oForm.Controls(&quot;btnDetails&quot;).Value = False
++ Else ' btnDetails
++ oForm.Component.TextSections.getByIndex(0).IsVisible = False
++ oForm.Component.TextSections.getByIndex(1).IsVisible = True
++ oEvent.Source.Value = True
++ oForm.Controls(&quot;btnOrders&quot;).Value = False
++ End If
++End Sub
++//}}}
++The code manages
++*the visibility of each section : see the //~TextSections// property of text components;
++*the toggle status of the upper buttons : see the [[Value]] property of command buttons.
++!!!Refer to ...
++| !Basic module | !Form | !Form event | !Control | !Control event |!Comments |
++|Tabbed |~Orders_Tabbed ||btnOrders&lt;br /&gt;btnDetails |Execute action ||</pre>
++</div>
++<div title="SiteSubtitle" modifier="YourName" created="201106250810" modified="201405040832" tags="excludeLists">
++<pre>{{indent{It's about converting ''PEOPLE'', not data</pre>
++</div>
++<div title="SiteTitle" modifier="Jean-Pierre Ledure" created="201106250811" modified="201108061606" tags="excludeLists">
++<pre>//[[Access2Base|Home]]//</pre>
++</div>
++<div title="SiteUrl" modifier="Jean-PierreLedure" created="201203110829" modified="201301162024" tags="excludeLists">
++<pre>http://www.access2base.com/</pre>
++</div>
++<div title="Size" modifier="Jean-PierreLedure" created="201307211111" modified="201307211120" tags="Properties">
++<pre>Returns a value that indicates the maximum size, in bytes, of a [[Field object|Field]].
++!!!Applies to ...
++| !Object |!Description |
++|[[Field]] |The representation of a field of a table, a query or a recordset. |
++!!!Syntax
++//field//{{{.Size}}}
++!!!Returned values
++{{{Long}}}
++!!!Remarks
++*The //Size// property is read-only.
++*For fields (other than Memo type fields) that contain character data, the //Size// property indicates the maximum number of characters that the field can hold. For numeric fields, the //Size// property indicates the number of decimal digits that the field can hold.
++*For Long Binary and Memo Field objects, //Size// is always set to 0. To determine the size of a [[Field object|Field]] of the Memo or Long Binary types, use the [[FieldSize property|FieldSize]].
++!!!Error messages
++|Property 'Size' not applicable in this context |
++!!!See also
++[[DataType]]
++[[FieldSize]]
++!!!Example</pre>
++</div>
++<div title="Snippets of Code" modifier="Jean-Pierre Ledure" created="201107311453" tags="Menu">
++<pre></pre>
++</div>
++<div title="SourceField" modifier="Jean-PierreLedure" created="201307211406" modified="201307211408" tags="Properties">
++<pre>Returns a value that indicates the name of the field that is the original source of the data for a [[Field object|Field]].
++!!!Applies to ...
++| !Object |!Description |
++|[[Field]] |The representation of a field of a [[TableDef]] or a [[QueryDef]]. |
++!!!Syntax
++//field//{{{.SourceField}}}
++!!!Returned values
++{{{String}}}
++!!!Remarks
++*The value returned by the //~SourceField// property of a field belonging to a //~TableDef// is probably not relevant. It is however applicable.
++*The //~SourceField// property is not valid for a [[Recordset]] object.
++!!!Error messages
++!!!See also
++[[SourceTable]]
++!!!Example</pre>
++</div>
++<div title="SourceTable" modifier="Jean-PierreLedure" created="201307211356" modified="201307211405" tags="Properties">
++<pre>returns a value that indicates the name of the table that is the original source of the data for a [[Field object|Field]].
++!!!Applies to ...
++| !Object |!Description |
++|[[Field]] |The representation of a field of a [[TableDef]], a [[QueryDef]] or a [[Recordset]]. |
++!!!Syntax
++//field//{{{.SourceTable}}}
++!!!Returned values
++{{{String}}}
++!!!Remarks
++The value returned by the //~SourceTable// property of a field belonging to a //~TableDef// is probably not relevant. It is however applicable.
++!!!Error messages
++!!!See also
++[[SourceField]]
++!!!Example</pre>
++</div>
++<div title="Special controls" modifier="Jean-Pierre Ledure" created="201108170951" tags="Menu">
++<pre></pre>
++</div>
++<div title="SpecificA2BPlugin" modifier="YourName" created="201107191138" modified="201902151516" tags="systemConfig excludeLists" changecount="3">
++<pre>/***
++|''Name:''|SpecificA2BPlugin|
++|''Description:''|Forces readOnly to true or false. Useful to distribute a ReadOnly version of Access2Base help file. Set value to //true// in code below.|
++!Code
++***/
++//{{{
++readOnly = (window.location.protocol == &quot;file:&quot;) ? true : config.options.chkHttpReadOnly;
++//}}}
++/***
++|''Description:''|Modify tiddler tooltip for anonymisation.&lt;br&gt;Standard value: &quot;%0 - %1, %2&quot;.|
++!Code
++***/
++//{{{
++merge(config.messages,{
++ tiddlerLinkTooltip: &quot;%0 - Click to open&quot;,
++});
++//}}}
++/***
++|''Description''|Modify the header of the List macro.|
++!Code
++***/
++//{{{
++config.macros.list.all.prompt = &quot;All topics in alphabetical order&quot;;
++//}}}
++</pre>
++</div>
++<div title="Standalone Connect example" modifier="Jean-Pierre Ledure" created="201206161953" modified="201405241146" tags="[[Snippets of Code]]" changecount="2">
++<pre>Connect all standalone form contained in a non-Base document to their target databases:
++//{{{
++Sub DBOpen(Optional poEvent As Object)
++ If GlobalScope.BasicLibraries.hasByName(&quot;Access2Base&quot;) then
++ GlobalScope.BasicLibraries.loadLibrary(&quot;Access2Base&quot;)
++ End If
++ Call Application.OpenConnection(ThisComponent)
++End Sub
++//}}}</pre>
++</div>
++<div title="Standalone Forms" modifier="Jean-Pierre Ledure" created="201206161918" modified="201410280826" tags="Menu" changecount="23">
++<pre>{{firstletter{
++ @@color:#930;S@@
++ }}}//tandalone forms// are stored in non-Base AOO/~LibO documents (Writer, Calc, ...), usually (but not necessarily) built from a normal //form// Base object. These forms and controls may be linked with data located in databases by referring to a Base document (&quot;.odb&quot; file) in the __data tab__ of the form properties.
++
++&gt;''Each such form may access a separate database document !''
++
++To make such forms, documentation is available on several forums, e.g. [[here|http://user.services.openoffice.org/en/forum/viewtopic.php?t=40493]].
++
++//~Access2Base// may be invoked from macros stored in documents containing one or more //standalone forms//. However NOT ALL the properties, methods, actions etc. are meaningful in such a context.
++Find below the status by function. If not mentioned a function is available without restriction.
++
++In addition a //standalone form// does see the //Table// and //Query// objects stored within the database document (&quot;.odb&quot; file) where it is connected with.
++At the opposite:
++|A //standalone form// ''CANNOT INTERACT'' with (either standalone or embedded) forms stored in ''OTHER DOCUMENTS''.&lt;br /&gt;If it is necessary to exchange data between individual //~LibO/AOO// applications, use [[TempVar]] objects. Their scope is the whole //~LibO/AOO// session. |
++|A //standalone form// can ''READ and MODIFY DATA'' in its related database, can ''READ its DESIGN'' but cannot modify it. |
++Several documents containing standalone forms might be opened at the same time, all using the //~Access2Base// API.
++!!Use the ~Access2Base library
++To be able to invoke the //~Access2Base// API from a non-Base AOO/~LibO document you have to
++*Have a minimal knowledge of the Basic IDE and of the Basic programming language.
++*Open the targeted document and edit at least next macro:
++&lt;&lt;tiddler &quot;Standalone Connect example&quot;&gt;&gt;
++*Assign with menu items {{{Tools + Customize...}}} ({{{Events}}} tab) the above Sub (&quot;~DBOpen&quot; in the example but use the name of your choice) to the //~OpenDocument// event. Save in the document file itself.
++*__Optionally__ associate next code with the //&quot;View is going to be closed&quot;// document event.
++//{{{
++Sub DBClose(Optional poEvent As Object)
++ Call CloseConnection()
++End Sub
++//}}}
++*//Close// and re-//open// the file. This will trigger the //~OpenDocument// event.
++*Start programming macro's. Associate them with //form// or //control events// if relevant
++!!Next functions are available __with limitations__
++| !Function | !Limitation |
++|[[AllForms]] |The //~AllForms// collection is limited to the //standalone forms// stored in the same document.&lt;br /&gt;When a document contains one single form - which is very often the case - the smart syntax for invoking that single form is simply:&lt;br /&gt;{{{AllForms(0)}}}&lt;br /&gt;which will return a //form object// representing the single //standalone form// itself, giving subsequently access to its individual controls. |
++|[[FindRecord]] |If the form contains subforms and if the targeted field to search on is in that subform, then the //~OnlyCurrentField// argument must be a {{{string}}} containing a [[shortcut|ShortCut Notation]] if the targeted grid or grid column is in the subform. |
++|[[GoToRecord]] |The //~ObjectType// argument must be equal to {{{acDataForm}}} and the //~ObjectName// argument must be a {{{string}}} containing either the name of the targeted form or a [[shortcut|ShortCut Notation]] to it. |
++|[[SelectObject]] |The objects opened from a Base document (&quot;.odb&quot;) - tables, queries, etc. - can be selected from a //standalone form//.&lt;br /&gt;Similarly //Standalone forms// can be selected from a Base document (&quot;.odb&quot;) via their filenames.&lt;br /&gt;However no interaction is possible between them thru the //~Access2Base// API. As an example it is not possible to know from the current //standalone form// the content of a //control// located in another //database form// or a //standalone form// belonging to another document. |
++|[[Height]]&lt;br /&gt;[[Width]]&lt;br /&gt;[[Move]] |These methods, even when applied to a specific form, act on the containing window, i.e. on all its forms. |
++|[[OpenArgs]] |The //~OpenArg// (read-only) property always returns a zero-length string. |
++!!Next functions are not available
++//~Access2Base// will generate an error (or sometimes ignore the request) if one of next functions is invoked from a //standalone form// context.
++| !Function | !Comment |
++|[[ApplyFilter]] |Use the [[Filter]] and [[FilterOn]] form properties instead. |
++|[[Close]] |Forbidden when applied to a form or another database object.&lt;br /&gt;Closing a [[Recordset]] is allowed. |
++|[[CopyObject]] |A standalone form has limited access to database objects. The offered facilities are mainly [[recordset|Recordset]] manipulations thru tables and queries. |
++|[[OpenForm]], [[OpenQuery]], [[OpenReport]], [[OpenTable]] |~|
++|[[CreateQueryDef]] |~|
++|[[CreateTableDef]], [[CreateField]], [[Add]] |~|
++|[[Delete (table-query)]] |~|
++|[[GoToControl]] |Use the [[SetFocus]] method instead. |
++|[[Quit]] ||
++|[[ShowAllRecords]] |Use the [[FilterOn]] and/or [[OrderByOn]] form properties instead. |
++!!See also ...
++[[CloseConnection]]
++[[OpenConnection]]</pre>
++</div>
++<div title="Start" modifier="Jean-Pierre Ledure" created="201302021432" modified="201405241109" tags="Methods" changecount="1">
++<pre>The //Start// method initializes the specified [[dialog|Dialog]].
++!!!Applies to ...
++| !Object | !Description |
++|[[Dialog]] |The representation of a Basic dialog |
++!!!Syntax
++//dialog//.{{{Start}}}
++| !Returned value |
++|//True// if success. |
++!!!Remarks
++The //Start// method makes the controls of the dialog available to the programmer. The display of the dialog will be triggered by the [[Execute|Execute (dialog)]] method.
++!!!Error messages
++|Dialog unknown |
++|Dialog already started |
++!!!See also
++[[AllDialogs]]
++[[EndExecute]]
++[[Execute|Execute (dialog)]]
++[[Terminate]]
++!!!Example
++&lt;&lt;tiddler &quot;Dialog example&quot;&gt;&gt;</pre>
++</div>
++<div title="StyleSheet" modifier="YourName" created="201106250800" modified="201112271605" tags="excludeLists">
++<pre>/***
++!~TiddlyWiki Classic Color Scheme
++Designed by Jeremy Ruston
++http://tiddlystyles.com/#theme:Classic
++
++To use this color scheme copy the ~ClassicTiddlyWiki contents into a tiddler and name it 'StyleSheet' also grab the ~ClassicTemplate and copy its contents into a tiddler named 'PageTemplate'.
++
++!Colors Used
++*@@bgcolor(#630):color(#fff): #630@@
++*@@bgcolor(#930): #930@@
++*@@bgcolor(#996633): #963@@
++*@@bgcolor(#c90): #c90@@
++*@@bgcolor(#cf6): #cf6@@
++*@@bgcolor(#cc9): #cc9@@
++*@@bgcolor(#ba9): #ba9@@
++*@@bgcolor(#996): #996@@
++*@@bgcolor(#300):color(#fff): #300@@
++*@@bgcolor(#000000):color(#fff): #000@@
++*@@bgcolor(#666): #666@@
++*@@bgcolor(#888): #888@@
++*@@bgcolor(#aaa): #aaa@@
++*@@bgcolor(#ddd): #ddd@@
++*@@bgcolor(#eee): #eee@@
++*@@bgcolor(#ffffff): #fff@@
++*@@bgcolor(#f00): #f00@@
++*@@bgcolor(#ff3): #ff3@@
++!Generic Rules /%==============================================%/
++***/
++/*{{{*/
++body {
++ background: #fff;
++ color: #000;
++}
++
++a{
++ color: #963;
++}
++
++a:hover{
++ background: #963;
++ color: #fff;
++}
++
++a img{
++ border: 0;
++}
++
++h1,h2,h3,h4,h5 {
++ background: #cc9;
++}
++/*}}}*/
++/***
++!Header /%==================================================%/
++***/
++/*{{{*/
++.header{
++ background: #300;
++}
++
++.titleLine {
++ color: #fff;
++ padding: 5em 0em 1em .5em;
++}
++
++.titleLine a {
++ color: #cf6;
++}
++
++.titleLine a:hover {
++ background: transparent;
++}
++/*}}}*/
++/***
++!Main Menu /%=================================================%/
++***/
++/*{{{*/
++#mainMenu .button {
++ color: #930;
++}
++
++#mainMenu .button:hover {
++ color: #cf6;
++ background: #930;
++}
++
++#mainMenu li{
++ list-style: none;
++}
++/*}}}*/
++/***
++!Sidebar options /%=================================================%/
++~TiddlyLinks and buttons are treated identically in the sidebar and slider panel
++***/
++/*{{{*/
++#sidebar {
++ background: #c90;
++ right: 0;
++}
++
++#sidebarOptions a{
++ color: #930;
++ border: 0;
++ margin: 0;
++ padding: .25em .5em;
++}
++
++#sidebarOptions a:hover {
++ color: #cf6;
++ background: #930;
++}
++
++#sidebarOptions a:active {
++ color: #930;
++ background: #cf6;
++}
++
++#sidebarOptions .sliderPanel {
++ background: #eea;
++ margin: 0;
++}
++
++#sidebarOptions .sliderPanel a {
++ color: #930;
++}
++
++#sidebarOptions .sliderPanel a:hover {
++ color: #cf6;
++ background: #930;
++}
++
++#sidebarOptions .sliderPanel a:active {
++ color: #930;
++ background: #cf6;
++}
++/*}}}*/
++/***
++!Sidebar tabs /%=================================================%/
++***/
++/*{{{*/
++.tabSelected,.tabContents {
++ background: #eea;
++ border: 0;
++}
++
++.tabUnselected {
++ background: #c90;
++}
++
++#sidebarTabs {
++ background: #c90;
++}
++
++#sidebarTabs .tabSelected{
++ color: #cf6;
++ background: #963;
++}
++
++#sidebarTabs .tabUnselected {
++ color: #cf6;
++ background: #930;
++}
++
++#sidebarTabs .tabContents{
++ background: #963;
++}
++
++#sidebarTabs .txtMoreTab .tabSelected,
++#sidebarTabs .txtMoreTab .tabSelected:hover{
++ background: #930;
++ color: #cf6;
++}
++
++#sidebarTabs .txtMoreTab .tabUnselected,
++#sidebarTabs .txtMoreTab .tabUnselected:hover{
++ background: #300;
++ color: #cf6;
++}
++
++#sidebarTabs .txtMoreTab .tabContents {
++ background: #930;
++}
++
++#sidebarTabs .tabContents a {
++ color: #cf6;
++ border: 0;
++}
++
++#sidebarTabs .button.highlight,
++#sidebarTabs .tabContents a:hover {
++ background: #cf6;
++ color: #300;
++}
++/*}}}*/
++/***
++!Message Area /%=================================================%/
++***/
++/*{{{*/
++#messageArea {
++ background: #930;
++ color: #fff;
++}
++
++#messageArea a:link, #messageArea a:visited {
++ color: #c90;
++}
++
++#messageArea a:hover {
++ color: #963;
++ background: transparent;
++}
++
++#messageArea a:active {
++ color: #fff;
++}
++/*}}}*/
++/***
++!Popup /%=================================================%/
++***/
++/*{{{*/
++.popup {
++ background: #eea;
++ border: 1px solid #930;
++}
++
++.popup hr {
++ color: #963;
++ background: #963;
++ border-bottom: 1px;
++}
++
++.popup li.disabled {
++ color: #ba9;
++}
++
++.popup li a, .popup li a:visited {
++ color: #300;
++}
++
++.popup li a:hover {
++ background: #930;
++ color: #eea;
++}
++/*}}}*/
++/***
++!Tiddler Display /%=================================================%/
++***/
++/*{{{*/
++.tiddler .button {
++ color: #930;
++}
++
++.tiddler .button:hover {
++ color: #cf6;
++ background: #930;
++}
++
++.tiddler .button:active {
++ color: #fff;
++ background: #c90;
++}
++
++.shadow .title {
++ color: #888;
++}
++
++.title {
++ color: #422;
++}
++
++.subtitle {
++ color: #866;
++}
++
++.toolbar {
++ color: #aaa;
++}
++
++.toolbar a,
++.toolbar a:hover{
++ border: 0;
++}
++
++.tagging, .tagged {
++ border: 1px solid #fff;
++ background-color: #ffc;
++}
++
++.selected .tagging, .selected .tagged {
++ border: 1px solid #aa6;
++ background-color: #ffc;
++}
++
++.tagging .listTitle, .tagged .listTitle {
++color: #999999;
++}
++
++.footer {
++ color: #ddd;
++}
++
++.selected .footer {
++ color: #888;
++}
++
++.sparkline {
++ background: #eea;
++ border: 0;
++}
++
++.sparktick {
++ background: #930;
++}
++
++.errorButton {
++ color: #ff0;
++ background: #f00;
++}
++
++.zoomer {
++ color: #963;
++ border: 1px solid #963;
++}
++/*}}}*/
++/***
++''The viewer is where the tiddler content is displayed'' /%------------------------------------------------%/
++***/
++/*{{{*/
++.viewer .button {
++ background: #c90;
++ color: #300;
++ border-right: 1px solid #300;
++ border-bottom: 1px solid #300;
++}
++
++.viewer .button:hover {
++ background: #eea;
++ color: #c90;
++}
++
++.viewer .imageLink{
++ background: transparent;
++}
++
++.viewer blockquote {
++ border-left: 3px solid #666;
++}
++
++.viewer table {
++ border: 2px solid #303030;
++}
++
++.viewer th, thead td {
++ background: #996;
++ border: 1px solid #606060;
++ color: #fff;
++}
++
++.viewer td, .viewer tr {
++ border: 1px solid #606060;
++}
++
++.viewer pre {
++ border: 1px solid #963;
++ background: #eea;
++}
++
++.viewer code {
++ color: #630;
++}
++
++.viewer hr {
++ border: 0;
++ border-top: dashed 1px #606060;
++ color: #666;
++}
++
++.highlight, .marked {
++ background: #ff3;
++}
++/*}}}*/
++/***
++''The editor replaces the viewer in the tiddler'' /%------------------------------------------------%/
++***/
++/*{{{*/
++.editor input {
++ border: 1px solid #000;
++}
++
++.editor textarea {
++ border: 1px solid #000;
++ width: 100%;
++}
++
++.editorFooter {
++ color: #aaa;
++}
++
++.editorFooter a {
++ color: #930;
++}
++
++.editorFooter a:hover {
++ color: #cf6;
++ background: #930;
++}
++
++.editorFooter a:active {
++ color: #fff;
++ background: #c90;
++}
++/*}}}*/
++/***
++!Specific addition for ~Access2Base /%=================================================%/
++***/
++/*{{{*/
++@media print {#mainMenu {display: none ! important;}}
++@media print {#topMenu {display: none ! important;}}
++@media print {#sidebar {display: none ! important;}}
++@media print {#messageArea {display: none ! important;}}
++@media print {#toolbar {display: none ! important;}}
++@media print {.header {display: none ! important;}}
++@media print {.tiddler .subtitle {display: none ! important;}}
++@media print {.tiddler .toolbar {display; none ! important; }}
++@media print {.tiddler .tagging {display; none ! important; }}
++@media print {.tiddler .tagged {display; none ! important; }}
++
++#mainMenu {
++ position:absolute;
++ left:0;
++ width:13em;
++ text-align:right;
++ line-height:1.6em;
++ padding:1.5em 0.5em 0.5em 0.5em;
++ font-size:1.1em;
++}
++#displayArea {
++ margin:1em 17em 0 16em;
++}
++
++.titleLine {
++ color: #fff;
++ padding: 3em 0em 1em .5em;
++}
++
++.firstletter{ float:left; width:0.75em; font-size:400%; font-family:times,arial; line-height:60%; }
++
++.tiddler .subtitle { display:none; }
++
++/*}}}*/
++/*~StyleSheetShortcuts*/</pre>
++</div>
++<div title="SubForm" modifier="Jean-Pierre Ledure" created="201107191255" modified="201407261333" tags="Objects [[Special controls]]" changecount="8">
++<pre>{{firstletter{
++ @@color:#930;A@@
++ }}} //~SubForm// [[object|Object Model]] represents a subset of the controls of an open //form//. The open form is called the &quot;parent form&quot; or &quot;master&quot;. ~SubForms are used mainly to access more than one table (or query) from a //form//. Each additional table requires its own //subform//.
++!!!Properties returning a subform object
++| !Parent object | !Property |!Description |
++|[[Control]] |[[Form|Form (subform)]] |A //subform// is a //Control// like another. The //Form// property of a control of type //~SubForm// will return a //~SubForm// object. |
++!!!Properties
++| !Property | !Type | !Read only | !Description or UNO object |
++|[[AllowAdditions]] |||Specifies whether a user can add a record when using the subform. |
++|[[AllowDeletions]] |||Specifies whether a user can delete a record when using the subform. |
++|[[AllowEdits]] |||Specifies whether a user can modify a record when using the subform. |
++|[[CurrentRecord]] |||Identifies the current record in the recordset being viewed on the subform. |
++|[[Filter]] |||Specifies a subset of records to be displayed. |
++|[[FilterOn]] |||Specifies if the Filter has to be applied. |
++|[[LinkChildFields]]&lt;br /&gt;[[LinkMasterFields]] || Y |Specifies how records in the subform (//child//) are linked to records in its parent (//master//) form. |
++|[[Name]] || Y |Specifies the exact name of the subform control. |
++|[[ObjectType]] || Y |Returns &quot;SUBFORM&quot; |
++|[[OrderBy]] |||Specifies in which order the records should be displayed. |
++|[[OrderByOn]] |||Specifies if the ~OrderBy has to be applied. |
++|[[Parent]] || Y |Returns the parent object of the subform. |
++|[[RecordSource]] |||Specifies the source of the data. |
++|~ParentComponent | UNO | Y |com.sun.star.text.~TextDocument |
++|~DatabaseForm | UNO | Y |com.sun.star.form.component.~DataForm&lt;br /&gt;com.sun.star.sdb.~ResultSet |
++!!!Methods
++| !Method | !Argument(s) | !Return | !Description |
++|[[getProperty]] | property | Variant |Return the value of the given property. |
++|[[hasProperty]] | property | Boolean |Return True if the Dialog has the given property. |
++|[[Requery]] ||~|True if data reloaded in ~SubForm |
++|[[setProperty]] | property&lt;br /&gt;value |~|Return True if the given property could be set. |
++!!!Remarks
++Each //~SubForm// [[object|Object Model]] has a Controls [[collection|Collection]], which contains all controls on the subform. You can refer to a specific control on a subform by referring to the [[Controls]] collection.
++!!!Example
++&lt;&lt;tiddler &quot;Subform example&quot;&gt;&gt;</pre>
++</div>
++<div title="SubType" modifier="Jean-PierreLedure" created="201107311648" modified="201306151426" tags="Properties">
++<pre>The types of control can be recognized thru the use either of the //~SubType// or the [[ControlType]] properties. The ~SubType property has no correspondent within ~MSAccess but has the advantage to identify all control types.
++See the correspondence table below.
++!!!Applies to ...
++| !Object | !Type when&lt;br /&gt;in a form | !Type when&lt;br /&gt;in a ~GridControl |!Description |
++|[[Control]] | All | All |A control on an open form |
++!!!Syntax
++//control//{{{.SubType}}}
++!!!Returned values
++{{{String}}}
++
++Table of values:
++&lt;&lt;tiddler &quot;ControlTypesList&quot;&gt;&gt;
++!!!Remarks
++The ~SubType property is read-only.
++!!!Error messages
++!!!See also
++[[ControlType]]
++!!!Example
++&lt;&lt;tiddler &quot;ControlType example&quot;&gt;&gt;</pre>
++</div>
++<div title="Subform example" modifier="Jean-PierreLedure" created="201107191441" modified="201212071845" tags="[[Snippets of Code]]">
++<pre>List all the controls of a subform
++//{{{
++Dim ocSubform As Object, osfSubform As Object, i As Integer, iCount As Integer
++ Set ocSubform = Controls(&quot;FACTURE&quot;, &quot;subform&quot;)
++ Set osfSubform = ocSubform.Form
++ iCount = osfSubform.Controls().Count
++ For i = 0 To iCount - 1
++ Print osfSubform.Controls(i).Name,
++ Next i
++ Print
++//}}}</pre>
++</div>
++<div title="SuppliersTable" modifier="Jean-PierreLedure" created="201212161701" modified="201212161702" tags="HowTo">
++<pre>*Suppliers table
++| !Fields | !Field Type | !Primary |
++|Address | Text ||
++|City | Text ||
++|~ComanyName | Text ||
++|~ContactName | Text ||
++|~ContactTitle | Text ||
++|Country | Text ||
++|Fax | Text ||
++|~HomePage | Text ||
++|Phone | Text ||
++|~PostalCode | Text ||
++|Region | Text ||
++|~SupplierID | ~BigInt | Y |</pre>
++</div>
++<div title="Sync2Combos" modifier="Jean-PierreLedure" created="201212231729" modified="201308161234" tags="HowTo">
++<pre>(Q) How can I limit the contents of one combo/list box based on what's selected in another combo/list box ?
++
++(R) An easy way to do this would be to assign a dynamic SQL statement to the [[RowSource]] property of the secondary combo/list box at runtime.
++
++Our goal in the example is to select in a 1st combo box a CITY, in the 2nd combo the LASTNAME of the employees (working in CITY) to filter finally only the //Orders// placed by the concerned //Employee//.
++Considering
++&lt;&lt;tiddler &quot;EmployeesTable&quot;&gt;&gt;
++
++*Initialize the //List content// entry of the 1st combo box with:
++//{{{
++ SELECT DISTINCT &quot;City&quot; FROM &quot;Employees&quot;
++//}}}
++*Assign next Sub to the //Text modified// event of the 1st combo box:
++//{{{
++Sub Update2ndCombo(poEvent As Object)
++
++Dim ocCombo1 As Object, ocCombo2 As Object, sSQL As String
++ Set ocCombo1 = Events(poEvent).Source
++ Set ocCombo2 = ocCombo1.Parent.Controls(&quot;EmployeeName&quot;)
++ sSQL = &quot;SELECT DISTINCT [LastName] FROM [Employees] WHERE [Employees].[City]='&quot; &amp; ocCombo1.Value &amp; &quot;'&quot;
++ ocCombo2.RowSourceType = com.sun.star.form.ListSourceType.SQL
++ ocCombo2.RowSource = sSQL
++
++End Sub
++//}}}
++*Initilialize the //List content// entry of the 2nd combo box with:
++//{{{
++ SELECT DISTINCT &quot;LastName&quot; FROM &quot;Employees&quot;
++//}}}
++*Assign next Sub to the //Text modified// event of the 2nd combo box:
++//{{{
++Sub UpdateMainForm(poEvent As Object)
++
++Dim ofForm As Object, ocCombo As Object, sSQL As String, lEmpID As Integer
++ Set ocCombo = Events(poEvent).Source
++ Set ofForm = ocCombo.Parent
++ lEmpID = DLookup(&quot;[EmployeeID]&quot;, &quot;[Employees]&quot;, &quot;[LastName]='&quot; &amp; ocCombo.Value &amp; &quot;'&quot;)
++ ofForm.Filter = &quot;[EmployeeID]=&quot; &amp; lEmpID
++ ofForm.FilterOn = True
++
++End Sub
++//}}}
++!!!Refer to ...
++| !Basic module | !Form | !Form event | !Control | !Control event |!Comments |
++|~ComboBox |~Orders_2Combos ||~EmployeeCity |Text modified ||
++|~|~|~|~EmployeeName |~|~|</pre>
++</div>
++<div title="SysCmd" modifier="Jean-Pierre Ledure" created="201301191424" modified="201408031038" tags="Actions" changecount="5">
++<pre>The //~SysCmd// method displays a progress meter or optional specified text in the status bar. By calling the //~SysCmd// method with the various progress meter actions, you can display a progress meter in the status bar for an operation that has a known duration or number of steps, and update it to indicate the progress of the operation.
++&lt;&lt;tiddler &quot;ApplyDoCmd&quot;&gt;&gt;
++!!!Syntax
++{{{[DoCmd.]SysCmd(}}}//{{{Action, Text, Value}}}//{{{)}}}
++| !Argument | !Optional | !Type&lt;br /&gt;or&lt;br /&gt;Symbol |!Description |
++|{{{Action}}} | No | acSysCmdAccessVer |Returns &quot;~LibreOffice x.y.z&quot; or &quot;~OpenOffice x.y.z&quot; where x.y.z is the version number.&lt;br /&gt;Use [[Application.Version|Application]] instead. |
++|~|~| acSysCmdSetStatus |Sets the status bar text to the //text// argument. |
++|~|~| acSysCmdClearStatus |Resets the status bar to its usual content. |
++|~|~| acSysCmdInitMeter |Initializes the progress meter. You must specify the //Text// and //Value// arguments when you use this action. |
++|~|~| acSysCmdUpdateMeter |Updates the progress meter with the specified value. You must specify the text argument when you use this action. |
++|~|~| acSysCmdRemoveMeter |Removes the progress meter. |
++|~|~| acSysCmdRuntime |Returns //True// (–1) if a run-time version of //~LibO/AOO// is running.&lt;br /&gt;Always returns //False//. |
++|~|~| acSysCmdAccessDir&lt;br /&gt; acSysCmdClearHelpTopic&lt;br /&gt;acSysCmdGetObjectState&lt;br /&gt;acSysCmdGetWorkgroupFile&lt;br /&gt;acSysCmdIniFile&lt;br /&gt;acSysCmdProfile |Returns //True// without doing anything. |
++|{{{Text}}} | Yes | String |A string expression identifying the text to be displayed left-aligned in the status bar. This argument is required when the //action// argument is ''acSysCmdInitMeter'', ''acSysCmdUpdateMeter'', or ''acSysCmdSetStatus''.&lt;br /&gt;This argument isn't valid for other action argument values. |
++|{{{Value}}} | Yes | Integer&lt;br /&gt;Long |A numeric expression that controls the display of the progress meter. This argument is required when the //action// argument is ''acSysCmdInitMeter''.&lt;br /&gt;This argument isn't valid for other action argument values. |
++The symbolic constants can be included in your code by copying and pasting next lines:
++//{{{
++Const acSysCmdAccessVer = 7
++Const acSysCmdClearStatus = 5
++Const acSysCmdInitMeter = 1
++Const acSysCmdRemoveMeter = 3
++Const acSysCmdSetStatus = 4
++Const acSysCmdUpdateMeter = 2
++Const acSysCmdRuntime = 6
++
++Const acSysCmdAccessDir = 9
++Const acSysCmdClearHelpTopic = 11
++Const acSysCmdGetObjectState = 10
++Const acSysCmdGetWorkgroupFile = 13
++Const acSysCmdIniFile = 8
++Const acSysCmdProfile = 12
++//}}}
++!!!Remarks
++*In //~MSAccess// the //~SysCmd// method is linked to the [[Application]] object.
++*The //~SysCmd// method will be often preceeded with a [[SelectObject]] action.
++*Only status bars of //forms// and //reports// can be managed with the //~SysCmd// method. When another window is active the method is ignored.
++*To display a progress meter in the status bar, you must first call the //~SysCmd// method with the ''acSysCmdInitMeter'' action argument, and the text and value arguments. When the action argument is ''acSysCmdInitMeter'', the value argument is the maximum value of the meter, or 100 percent.&lt;br /&gt;To update the meter to show the progress of the operation, call the //~SysCmd// method with the ''acSysCmdUpdateMeter'' action argument and the text and value arguments. When the action argument is ''acSysCmdUpdateMeter'', the //~SysCmd// method uses the value argument to calculate the percentage displayed by the meter. For example, if you set the maximum value to 200 and then update the meter with a value of 100, the progress meter will be half-filled.
++*When a progress meter has been initiated with a ''acSysCmdInitMeter'' action argument, all subsequent calls to //~SysCmd// to feed the meter will be applied on the status bar of the same window even if other windows become active in the mean time.
++*You can also change the text that's displayed in the status bar of the currently active window by calling the //~SysCmd// method with the ''acSysCmdSetStatus'' action argument and the text argument.&lt;br /&gt;If the progress meter is already displayed when you set the text by calling the //~SysCmd// method with the ''acSysCmdSetStatus'' action argument, the //~SysCmd// method automatically removes the meter, __even if the progress meter is on another - non active - window__.
++!!!Error messages
++|Arguments are missing or are not initialized |
++|Argument nr. ... [Value = '...'] is invalid |
++!!!See also
++[[SelectObject]]
++!!!Example
++&lt;&lt;tiddler &quot;SysCmd example&quot;&gt;&gt;</pre>
++</div>
++<div title="SysCmd example" modifier="Jean-PierreLedure" created="201301201457" modified="201301201503" tags="[[Snippets of Code]]">
++<pre>To have a help text displayed in the status bar when a field receives the focus, link next code with the //When receiving focus// event of the concerned field:
++//{{{
++Sub DisplayHelp(poEvent As Object)
++' Display help text in status bar when focus set on control
++
++Dim oEvent As Object, ocControl As Object, sHelp As String
++ On Error Resume Next ' Never display an error message in a &quot;When receiving focus&quot; event or you might have to kill AOO/LibO !!
++ Set oEvent = Application.Events(poEvent)
++ Set ocControl = oEvent.Source
++ sHelp = ocControl.ControlTipText
++ If Len(sHelp) &gt; 0 Then Application.SysCmd(acSysCmdSetStatus, sHelp)
++
++End Sub
++//}}}</pre>
++</div>
++<div title="TabIndex" modifier="Jean-Pierre Ledure" created="201109251023" modified="201405291656" tags="Properties" changecount="1">
++<pre>The //~TabIndex// property specifies a control's place in the tab order on a form or dialog.
++!!!Applies to ...
++| !Object | !Type when&lt;br /&gt;in a form | !Type when&lt;br /&gt;in a ~GridControl | !Type when&lt;br /&gt;in a dialog |!Description |
++|[[Control]] |All except&lt;br /&gt;--~FixedText&lt;br /&gt;~GroupBox&lt;br /&gt;~HiddenControl&lt;br /&gt;[[SubForm]]-- | None | All |A control on an open form or dialog |
++!!!Syntax
++//control//{{{.TabIndex}}}
++//control//{{{.TabIndex}}} = //value//
++!!!Returned values / Arguments
++{{{Integer}}} or {{{Long}}}
++!!!Remarks
++The default {{{-1}}} is used to indicate that the tab-order of this control should be determined automatically.
++!!!Error messages
++|Property '~TabIndex' not applicable in this context |
++|Value '...' is invalid for property '~TabIndex' |
++!!!See also
++[[TabStop]]
++!!!Example
++&lt;&lt;tiddler &quot;TabIndex example&quot;&gt;&gt;</pre>
++</div>
++<div title="TabIndex example" modifier="Jean-PierreLedure" created="201109251020" modified="201212151259" tags="[[Snippets of Code]]">
++<pre>List all controls in ~TabIndex ascending sequence. Only initialized ~TabIndexes are included.
++//{{{
++Dim ofForm As Object, ocControl As Object, i As Integer, iCount As Integer
++Dim sNames() As String
++ Set ofForm = Forms(&quot;myForm&quot;)
++ iCount = ofForm.Controls().Count
++ ReDim sNames(0 To iCount - 1)
++ For i = 0 To iCount - 1
++ Set ocControl = ofForm.Controls(i)
++ If ocControl.hasProperty(&quot;TABINDEX&quot;) Then
++ If ocControl.TabIndex &gt; 0 And ocControl.TabIndex &lt; iCount Then sNames(ocControl.TabIndex) = ocControl.Name
++ End If
++ Next i
++ For i = 0 To iCount - 1
++ If sNames(i) &lt;&gt; &quot;&quot; Then Print sNames(i),
++ Next i
++ Print
++//}}}
++Reset Tab sequence to automatic
++//{{{
++ For i = 0 To iCount - 1
++ If sNames(i) &lt;&gt; &quot;&quot; Then
++ Set ocControl = ofForm.Controls(sNames(i))
++ ocControl.TabIndex = -1
++ End If
++ Next i
++//}}}</pre>
++</div>
++<div title="TabStop" modifier="Jean-PierreLedure" created="201109241502" modified="201306151426" tags="Properties">
++<pre>The //~TabStop// property specifies if the focus can be set on a control by using .the TAB key.
++!!!Applies to ...
++| !Object | !Type when&lt;br /&gt;in a form | !Type when&lt;br /&gt;in a ~GridControl | !Type when&lt;br /&gt;in a dialog |!Description |
++|[[Control]] |All except&lt;br /&gt;--~FixedText&lt;br /&gt;~GroupBox&lt;br /&gt;~HiddenControl&lt;br /&gt;[[SubForm]]-- | None | All except --~FixedLine&lt;br /&gt;~GroupBox&lt;br /&gt;~ProgressBar-- |A control on an open form or dialog |
++!!!Syntax
++//control//{{{.TabStop}}}
++//control//{{{.TabStop}}} = //value//
++!!!Returned values / Arguments
++{{{Boolean}}}
++!!!Remarks
++!!!Error messages
++|Property '~TabStop' not applicable in this context |
++|Value '...' is invalid for property '~TabStop' |
++!!!See also
++[[TabIndex]]
++!!!Example
++&lt;&lt;tiddler &quot;TabStop example&quot;&gt;&gt;</pre>
++</div>
++<div title="TabStop example" modifier="Jean-PierreLedure" created="201109241508" modified="201212151307" tags="[[Snippets of Code]]">
++<pre>List all controls having ~TabStop = True
++//{{{
++Dim ofForm As Object, ocControl As Object, i As Integer
++ Set ofForm = Forms(&quot;myForm&quot;)
++ For i = 0 To ofForm.Controls().Count - 1
++ Set ocControl = ofForm.Controls(i)
++ If ocControl.hasProperty(&quot;TABSTOP&quot;) Then
++ If ocControl.TabStop Then Print ocControl.Name,
++ End If
++ Next i
++ Print
++//}}}
++Forbid access to myControl via Tab key
++//{{{
++ Set ocControl = ofForm.Controls(&quot;myControl&quot;)
++ ocControl.TabStop = False
++//}}}</pre>
++</div>
++<div title="TableDef" modifier="Jean-Pierre Ledure" created="201306141553" modified="201602271435" tags="Objects" changecount="6">
++<pre>{{firstletter{
++ @@color:#930;A@@
++ }}}//~TableDef// [[object|Object Model]] describes one of the Tables located in the database document (&quot;.odb&quot; file).
++!!!Function returning a //~TableDef// object
++| !Parent object | !Function | !Type | !Argument |!Description |
++|[[Database]] |[[TableDefs]] | [[Collection]] | Integer or String |{{{Application.CurrentDb().TableDefs(&quot;myTable&quot;)}}} returns an object corresponding with the {{{myTable}}} table |
++!!!Properties
++| !Property | !Type | !Read only | !Description or UNO object |
++|[[Name]] || Y |Specifies the exact name of the table |
++|[[ObjectType]] || Y |Returns &quot;TABLEDEF&quot; |
++|Table | UNO | Y |com.sun.star.sdb.dbaccess.~ODBTable |
++!!!Methods
++| !Method | !Argument(s) | !Return | !Description |
++|[[Fields]] | None&lt;br /&gt;Index&lt;br /&gt;Name | [[Collection]] |Return the collection of the fields belonging to the table. |
++|[[getProperty]] | property | Variant |Return the value of the given property. |
++|[[hasProperty]] | property | Boolean |Return True if the //~TableDef// has the given property. |
++|[[OpenRecordset]] | options | [[Recordset]] |Return a recordset object allowing access to the table data. |
++!!!Remarks
++A table //name// might consist in up to 3 components separated by a dot (&quot;.&quot;) character :
++*A //catalog// name
++*A //schema// name
++*A //table// name
++The first two components are optional:
++//{{{
++[[catalogname.]schemaname.]tablename
++//}}}
++The presence of one or two optional components is determined by the Relational ~DataBase Management System (RDBMS) in usage.
++HSQLDB will not require more than the //tablename//. ~MySQL will require at least the //schemaname//.
++Scrolling thru the [[TableDefs]] collection - see the example below - can help identifying the required naming scheme.
++!!!See also
++[[QueryDef]]
++!!!Examples
++&lt;&lt;tiddler &quot;Datadef example&quot;&gt;&gt;</pre>
++</div>
++<div title="TableDefs" modifier="Jean-Pierre Ledure" created="201306081241" modified="201405241131" tags="Collections" changecount="1">
++<pre>The //~TableDefs// collection describes instances of all __tables__ present in the related database.
++!!!Syntax
++{{{database.TableDefs()}}}
++{{{database.TableDefs(index)}}}
++{{{database.TableDefs(tablename)}}}
++| !Object | !Type | !Argument | !Type |!Returned value |
++|database |[[Database object|Database]] | absent ||A [[Collection]] object |
++|~|~| index | integer&lt;br&gt;long |A [[TableDef]] object corresponding to the index-th item in the ~TableDefs() collection. The 1st table is ~TableDefs(0), the 2nd is ~TableDefs(1) and so on ... The last one is ~TableDefs.Count - 1.|
++|~|~| tablename | string |A [[TableDef]] object having the argument as name. The argument is NOT case-sensitive.|
++!!!Methods
++| !Method | !Description |
++|[[Add]] |Finalize the creation of a new //~TableDef// initiated with [[CreateTableDef]]. |
++|[[Delete|Delete (table-query)]]|Delete an existing //~TableDef//. |
++!!!Remarks
++The //tablename// argument is not case sensitive.
++!!!Error messages
++|Argument nr. 1 [Value = '...'] is invalid |
++|Out of array range or incorrect array size for collection ~TableDefs() |
++|Table '...' not found |
++!!!See also ...
++[[CreateTableDef]]
++[[QueryDefs]]
++[[Recordsets]]
++!!!Example
++&lt;&lt;tiddler &quot;Datadef example&quot;&gt;&gt;
++</pre>
++</div>
++<div title="Tag" modifier="Jean-PierreLedure" created="201112251434" modified="201306151426" tags="Properties">
++<pre>The //Tag// property stores extra information about a [[Control]].
++!!!Applies to ...
++| !Object | !Type when&lt;br /&gt;in a form | !Type when&lt;br /&gt;in a ~GridControl | !Type when&lt;br /&gt;in a dialog |!Description |
++|[[Control]] |All except&lt;br /&gt;--~SubForm&lt;br /&gt;-- | All | All |A control on an open form or dialog |
++!!!Syntax
++//control//{{{.Tag}}}
++//control//{{{.Tag}}} = //value//
++!!!Returned values / Arguments
++{{{String}}}
++!!!Remarks
++You can use this property to assign an identification string to a control without affecting any of its other property settings or causing other side effects. The //Tag// property is useful when you need to check the identity of a control that is passed as a variable to a procedure.
++!!!Error messages
++|Value '...' is invalid for property 'Tag' |
++!!!See also
++[[OpenArgs]]
++!!!Example
++&lt;&lt;tiddler &quot;Tag example&quot;&gt;&gt;</pre>
++</div>
++<div title="Tag example" modifier="Jean-PierreLedure" created="201112251456" modified="201212151311" tags="[[Snippets of Code]]">
++<pre>Associate a tag value to a control
++//{{{
++Dim ofForm As Object, ocControl As Object, sTag As String
++ sTag = &quot;This is an informative message&quot;
++ Set ofForm = Forms(&quot;myForm&quot;)
++ Set ocControl = ofForm.Controls(&quot;myControl&quot;)
++ ocControl.Tag = sTag
++//}}}
++Usage: f.i. displaying the tag content in a info textbox when the control receives the focus
++</pre>
++</div>
++<div title="TagsTreePlugin" modifier="Jean-Pierre Ledure" created="201106250920" modified="201108061630" tags="systemConfig excludeLists">
++<pre>/***
++|''Name:''|TagsTreePlugin|
++|''Description:''|Displays tags hierachy as a tree of tagged tiddlers.&lt;br&gt;Can be used to create dynamic outline navigation.|
++|''Version:''|1.0.1|
++|''Date:''|Jan 04,2008|
++|''Source:''|http://visualtw.ouvaton.org/VisualTW.html|
++|''Author:''|Pascal Collin|
++|''License:''|[[BSD open source license|License]]|
++|''~CoreVersion:''|2.1.0|
++|''Browser:''|Firefox 2.0; InternetExplorer 6.0|
++!Demo
++On the plugin [[homepage|http://visualtw.ouvaton.org/VisualTW.html]] :
++*Try to tag some &lt;&lt;newTiddler&gt;&gt; with a tag displayed in the menu and edit MainMenu.
++*Look at some tags like [[Plugins]] or [[menu]].
++!Installation
++#import the plugin,
++#save and reload,
++#optionally, edit TagsTreeStyleSheet.
++! Usage
++{{{&lt;&lt;tagsTree&gt;&gt;}}} macro accepts the following //optional// parameters.
++|!#|!parameter|!description|!by default|
++|1|{{{root}}}|Uses {{{root}}} tag as tree root|- In a //tiddler// content or template : uses the tiddler as root tag.&lt;br&gt;- In the //page// content or template (by ex MainMenu) : displays all untagged tags.|
++|2|{{{excludeTag}}}|Excludes all such tagged tiddlers from the tree|Uses default excludeLists tag|
++|3|{{{level}}}|Expands nodes until level {{{level}}}.&lt;br&gt;Value {{{0}}} hides expand/collapse buttons.|Nodes are collapsed on first level|
++|4|{{{depth}}}|Hierachy depth|6 levels depth (H1 to H6 header styles)|
++|5|{{{sortField}}}|Alternate sort field. By example : &quot;index&quot;.|Sorts tags and tiddlers alphabetically (on their title)|
++|6|{{{labelField}}}|Alertnate label field. By example : &quot;label&quot;.|Displays tiddler's title|
++
++!Useful addons
++*[[FieldsEditorPlugin]] : //create//, //edit//, //view// and //delete// commands in toolbar &lt;&lt;toolbar fields&gt;&gt;.
++*[[TaggerPlugin]] : Provides a drop down listing current tiddler tags, and allowing toggling of tags.
++!Advanced Users
++You can change the global defaults for TagsTreePlugin, like default {{{level}}} value or level styles, by editing or overriding the first config.macros.tagsTree attributes below.
++!Code
++***/
++//{{{
++config.macros.tagsTree = {
++ expand : &quot;+&quot;,
++ collapse : &quot;–&quot;,
++ depth : 6,
++ level : 1,
++ sortField : &quot;&quot;,
++ labelField : &quot;&quot;,
++ styles : [&quot;h1&quot;,&quot;h2&quot;,&quot;h3&quot;,&quot;h4&quot;,&quot;h5&quot;,&quot;h6&quot;],
++ trees : {}
++}
++
++config.macros.tagsTree.handler = function(place,macroName,params,wikifier,paramString,tiddler)
++{
++ var root = params[0] ? params[0] : (tiddler ? tiddler.title : null);
++ var excludeTag = params[1] ? params[1] : &quot;excludeTagsTree&quot;;
++ var level = params[2] ? params[2] : config.macros.tagsTree.level;
++ var depth = params[3] ? params[3] : config.macros.tagsTree.depth;
++ var sortField = params[4] ? params[4] : config.macros.tagsTree.sortField;
++ var labelField = params[5] ? params[5] : config.macros.tagsTree.labelField;
++ var showButtons = (level&gt;0);
++ var id = config.macros.tagsTree.getId(place);
++ if (config.macros.tagsTree.trees[id]==undefined) config.macros.tagsTree.trees[id]={};
++ config.macros.tagsTree.createSubTree(place,id,root,excludeTag,[],level&gt;0 ? level : 1,depth, sortField, labelField,showButtons);
++}
++
++config.macros.tagsTree.createSubTree = function(place, id, root, excludeTag, ancestors, level, depth, sortField, labelField,showButtons){
++ var childNodes = root ? this.getChildNodes(root, ancestors) : this.getRootTags(excludeTag);
++ var isOpen = (level&gt;0) || (!showButtons);
++ if (root &amp;&amp; this.trees[id][root]!=undefined) isOpen = this.trees[id][root];
++ if (root &amp;&amp; ancestors.length) {
++ var t = store.getTiddler(root);
++ if (childNodes.length &amp;&amp; depth&gt;0) {
++ var wrapper = createTiddlyElement(place , this.styles[Math.min(Math.max(ancestors.length,1),6)-1],null,&quot;branch&quot;);
++ if (showButtons) {
++ b = createTiddlyButton(wrapper, isOpen ? config.macros.tagsTree.collapse : config.macros.tagsTree.expand, null, config.macros.tagsTree.onClick);
++ b.setAttribute(&quot;treeId&quot;,id);
++ b.setAttribute(&quot;tiddler&quot;,root);
++ }
++ createTiddlyText(createTiddlyLink(wrapper, root),t&amp;&amp;labelField ? t.fields[labelField] ? t.fields[labelField] : root : root);
++ }
++ else
++ createTiddlyText(createTiddlyLink(place, root,false,&quot;leaf&quot;),t&amp;&amp;labelField ? t.fields[labelField] ? t.fields[labelField] : root : root);
++ }
++ if (childNodes.length &amp;&amp; depth) {
++ var d = createTiddlyElement(place,&quot;div&quot;,null,&quot;subtree&quot;);
++ d.style.display= isOpen ? &quot;block&quot; : &quot;none&quot;;
++ if (sortField)
++ childNodes.sort(function(a, b){
++ var fa=a.fields[sortField];
++ var fb=b.fields[sortField];
++ return (fa==undefined &amp;&amp; fb==undefined) ? a.title &lt; b.title ? -1 : a.title &gt; b.title ? 1 : 0 : (fa==undefined &amp;&amp; fb!=undefined) ? 1 :(fa!=undefined &amp;&amp; fb==undefined) ? -1 : fa &lt; fb ? -1 : fa &gt; fb ? 1 : 0;
++ })
++ for (var cpt=0; cpt&lt;childNodes.length; cpt++)
++ this.createSubTree(d, id, childNodes[cpt].title, excludeTag, ancestors.concat(root), level-1, depth-1, sortField, labelField, showButtons);
++ }
++}
++
++config.macros.tagsTree.onClick = function(e){
++ var id = this.getAttribute(&quot;treeId&quot;);
++ var tiddler = this.getAttribute(&quot;tiddler&quot;);
++ var n = this.parentNode.nextSibling;
++ var isOpen = n.style.display != &quot;none&quot;;
++ if(config.options.chkAnimate &amp;&amp; anim &amp;&amp; typeof Slider == &quot;function&quot;)
++ anim.startAnimating(new Slider(n,!isOpen,null,&quot;none&quot;));
++ else
++ n.style.display = isOpen ? &quot;none&quot; : &quot;block&quot;;
++ this.firstChild.nodeValue = isOpen ? config.macros.tagsTree.expand : config.macros.tagsTree.collapse;
++ config.macros.tagsTree.trees[id][tiddler]=!isOpen;
++ return false;
++}
++
++config.macros.tagsTree.getChildNodes = function(root ,ancestors){
++ var childs = store.getTaggedTiddlers(root);
++ var result = new Array();
++ for (var cpt=0; cpt&lt;childs.length; cpt++)
++ if (childs[cpt].title!=root &amp;&amp; ancestors.indexOf(childs[cpt].title)==-1) result.push(childs[cpt]);
++ return result;
++}
++
++config.macros.tagsTree.getRootTags = function(excludeTag){
++ var tags = store.getTags(excludeTag);
++ tags.sort(function(a,b) {return a[0].toLowerCase() &lt; b[0].toLowerCase() ? -1 : (a[0].toLowerCase() == b[0].toLowerCase() ? 0 : +1);});
++ var result = new Array();
++ for (var cpt=0; cpt&lt;tags.length; cpt++) {
++ var t = store.getTiddler(tags[cpt][0]);
++ if (!t || t.tags.length==0) result.push(t ? t : {title:tags[cpt][0],fields:{}});
++ }
++ return result;
++}
++
++config.macros.tagsTree.getId = function(element){
++ while (!element.id &amp;&amp; element.parentNode) element=element.parentNode;
++ return element.id ? element.id : &quot;&lt;html&gt;&quot;;
++}
++
++config.shadowTiddlers.TagsTreeStyleSheet = &quot;/*{{{*/\n&quot;;
++config.shadowTiddlers.TagsTreeStyleSheet +=&quot;.leaf, .subtree {display:block; margin-left : 0.5em}\n&quot;;
++config.shadowTiddlers.TagsTreeStyleSheet +=&quot;.subtree {margin-bottom:0.5em}\n&quot;;
++config.shadowTiddlers.TagsTreeStyleSheet +=&quot;#mainMenu {text-align:left}\n&quot;;
++config.shadowTiddlers.TagsTreeStyleSheet +=&quot;.branch .button {border:1px solid #DDD; color:#AAA;font-size:9px;padding:0 2px;margin-right:0.3em;vertical-align:middle;text-align:center;}\n&quot;;
++config.shadowTiddlers.TagsTreeStyleSheet +=&quot;/*}}}*/&quot;;
++
++store.addNotification(&quot;TagsTreeStyleSheet&quot;, refreshStyles);
++
++config.shadowTiddlers.MainMenu=&quot;&lt;&lt;tagsTree&gt;&gt;&quot;
++
++config.shadowTiddlers.PageTemplate = config.shadowTiddlers.PageTemplate.replace(/id='mainMenu' refresh='content' /,&quot;id='mainMenu' refresh='content' force='true' &quot;)
++
++//}}}</pre>
++</div>
++<div title="TagsTreeStyleSheet" modifier="Jean-Pierre Ledure" created="201106251129" modified="201108061609" tags="excludeLists">
++<pre>/*{{{*/
++.leaf, .subtree {
++ display:block;
++ margin-left : 0.5em
++}
++.subtree {
++ margin-bottom:0.5em
++}
++
++#mainMenu {
++ text-align:left
++}
++.branch {
++ border:1px solid #DDD;
++ color:#AAA;
++ font-size:12px;
++ padding:0 2px;
++ margin-right:0.3em;
++ vertical-align:middle;
++ text-align:left;
++}
++.button {
++ border:1px solid #DDD;
++ font-size:12px;
++ padding:0 2px;
++ margin-right:0.7em;
++ vertical-align:
++ middle;
++ text-align:center;
++}
++/*}}}*/</pre>
++</div>
++<div title="TempVar" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201409271230" modified="201412201609" tags="Objects" changecount="8">
++<pre>The //~TempVar// [[object|Object Model]] represents a persistent variable that can be used from any Basic macro as soon as the //~Access2Base// library has been loaded.
++Each //~TempVar// is created the first time with the [[Add]] method applied on the [[TempVars]] collection. It can be removed at any time with the [[Remove]] or [[RemoveAll]] methods. Their scope is the whole //~LibO/AOO// session. They are very similar to Basic {{{Global}}} variables, except that they can be enumerated thru the TempVars collection and that their names can be managed as usual strings instead of being hardcoded.
++!!!Functions returning a //~TempVar// object
++| !Parent object | !Function | !Type | !Argument |!Description |
++|[[Application]] |[[TempVars]] | [[Collection]] | Integer or String |{{{Application.TempVars(&quot;myVar&quot;)}}} returns an object corresponding with the {{{myVar}}} temporary variable. |
++||[[getObject]] || String |{{{getObject(&quot;TempVars!myVar&quot;)}}} returns an object corresponding with the {{{myVar}}} variable. |
++!!!Properties of the returned object
++| !Property | !Type | !Description |
++|[[Name]] | String |Returns the real name of the variable, i.e. the name used at its creation. |
++|[[ObjectType]] | String |Returns &quot;TEMPVAR&quot; |
++|[[Value]] | Variant |The value of the considered variable (might be any value that can be stored in a {{{Variant}}} including arrays or objects). |
++!!!Syntax
++//tempvar//{{{.Name}}}
++//tempvar//{{{.Value}}}
++//tempvar//{{{.Value = }}}//expression//
++!!!Methods
++| !Method | !Argument(s) | !Return | !Description |
++|[[getProperty]] | property | Variant |Return the value of the given property. |
++|[[hasProperty]] | property | Boolean |Return True if the ~TempVar object has the given property. |
++!!!Remarks
++!!!See also
++[[TempVars]]
++[[hasProperty]]
++[[getProperty]]
++[[setProperty]]
++!!!Example
++&lt;&lt;tiddler &quot;Tempvar example&quot;&gt;&gt;</pre>
++</div>
++<div title="TempVars" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201409271205" modified="201410061645" tags="Collections" changecount="12">
++<pre>The //~TempVars// collection represents the collection of [[TempVar]] objects..
++&lt;&lt;tiddler &quot;ApplyApplication&quot;&gt;&gt;
++!!!Syntax
++{{{[Application.]TempVars()}}}
++{{{[Application.]TempVars(index)}}}
++{{{[Application.]TempVars(tempvarname)}}}
++| !Argument #1 | !Type |!Returned value |
++|| absent |A [[Collection]] object |
++| index | integer&lt;br&gt;long |A [[TempVar]] object corresponding to the index-th item in the ~TempVars() collection. The 1st temporary var is ~TempVars(0), the 2nd is ~TempVars(1) and so on ... The last one is ~TempVars.Count - 1.|
++| tempvarname | string |A [[TempVar]] object having the argument as name. The argument is NOT case-sensitive.|
++!!!Methods
++| !Method | !Description |
++|[[Add]] |Use the //Add// method to create a //~TempVar// object. |
++|[[Remove]] |Use the //Remove// method to delete a //~TempVar// object from the //~TempVars// collection. |
++|[[RemoveAll]] |Use the //~RemoveAll// method to delete all //~TempVar// objects from the //~TempVars// collection. |
++!!!Remarks
++*The //tempvarname// argument is not case sensitive.
++*A //~TempVar// object can be reached either from the //~TempVars// collection of by using the [[shortcut notation|ShortCut Notation]]
++//{{{
++getValue(&quot;TempVars!tempvarname&quot;)
++//}}}
++!!!Error messages
++|Argument nr. 1 [Value = '...'] is invalid |
++|Out of array range |
++|Temporary variable '...' not found |
++!!!See also ...
++[[Add]]
++[[getObject]]
++[[getValue]]
++[[Remove]]
++[[RemoveAll]]
++[[setValue]]
++[[TempVar]]
++!!!Examples
++&lt;&lt;tiddler &quot;Tempvar example&quot;&gt;&gt;
++</pre>
++</div>
++<div title="Tempvar example" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201409271512" modified="201602131614" tags="[[Snippets of Code]]" changecount="4">
++<pre>Set, get and remove temporary variables, enumerate their values
++//{{{
++Dim oVars As Object, i As Integer
++ Set oVars = TempVars()
++ oVars.RemoveAll() ' Empty the collection
++ oVars.Add(&quot;First&quot;,12345)
++ oVars.Add(&quot;Second&quot;,&quot;anything&quot;)
++ oVars.Add(&quot;Third&quot;,&quot;else&quot;)
++ oVars.Remove(&quot;SECOND&quot;)
++ oVars.Item(&quot;ThiRD&quot;).Value = &quot;other value&quot;
++ oVars.Add(&quot;Fourth&quot;,&quot;somethinG&quot;)
++ Print oVars.Count,
++ Print getValue(&quot;Tempvars!fourth&quot;),
++ For i = 0 to oVars.Count - 1
++ Print oVars.Item(i).Value,
++ Next i
++//}}}</pre>
++</div>
++<div title="Terminate" modifier="Jean-Pierre Ledure" created="201302021534" modified="201405241109" tags="Methods" changecount="1">
++<pre>The //Terminate// method finalizes the specified [[dialog|Dialog]].
++!!!Applies to ...
++| !Object | !Description |
++|[[Dialog]] |The representation of a Basic dialog |
++!!!Syntax
++//dialog//.{{{Terminate}}}
++| !Returned value |
++|//True// if success. |
++!!!Remarks
++The //Terminate// method makes the controls of the dialog unavailable to the programmer. The dialog must have been started with the [[Start]] method applied on the same dialog object.
++!!!Error messages
++|Dialog unknown |
++|Dialog '...' not active |
++!!!See also
++[[AllDialogs]]
++[[EndExecute]]
++[[Execute|Execute (dialog)]]
++[[Start]]
++!!!Example
++&lt;&lt;tiddler &quot;Dialog example&quot;&gt;&gt;</pre>
++</div>
++<div title="Text" modifier="YourName" created="201112251145" modified="201805251007" tags="Properties" changecount="2">
++<pre>The //Text// property specifies the text displayed in a Control. This property is __read-only__.
++!!!Applies to ...
++| !Object | !Type when&lt;br /&gt;in a form | !Type when&lt;br /&gt;in a ~GridControl | !Type when&lt;br /&gt;in a dialog |!Description |
++|[[Control]] |[[ComboBox]]&lt;br /&gt;~DateField&lt;br /&gt;~FileControl&lt;br /&gt;~FormattedField&lt;br /&gt;~PatternField&lt;br /&gt;~TextField&lt;br /&gt;~TimeField |[[ComboBox]]&lt;br /&gt;~DateField&lt;br /&gt;~FormattedField&lt;br /&gt;~PatternField&lt;br /&gt;~TextField&lt;br /&gt;~TimeField |[[ComboBox]]&lt;br /&gt;~DateField&lt;br /&gt;~FileControl&lt;br /&gt;~FormattedField&lt;br /&gt;~PatternField&lt;br /&gt;~TextField&lt;br /&gt;~TimeField |A control on an open form or dialog |
++!!!Syntax
++//control//{{{.Text}}}
++!!!Returned values
++{{{String}}}
++!!!Remarks
++To set the text contained in a Control, use the [[Value]] or [[Caption]] properties.
++!!!Error messages
++|Property 'Text' not applicable in this context |
++!!!See also
++[[Caption]]
++[[Value]]
++!!!Example
++&lt;&lt;tiddler &quot;Text example&quot;&gt;&gt;</pre>
++</div>
++<div title="Text example" modifier="Jean-PierreLedure" created="201112251356" modified="201212151314" tags="[[Snippets of Code]]">
++<pre>Display the text as displayed in a DATEFIELD control (depends on the regional settings)
++//{{{
++Dim ofForm As Object, ocDate As Object, vValue As Variant, sText As String
++ Set ofForm = OpenForm(&quot;myForm&quot;)
++ ocDate = ofForm.Controls(&quot;myDateField&quot;)
++ sText = ocDate.Text
++ vValue = ocDate.Value
++ MsgBox sText &amp; &quot; - &quot; &amp; Day(vValue) &amp; &quot;/&quot; &amp; Month(vValue) &amp; &quot;/&quot; &amp; Year(vValue)
++//}}}</pre>
++</div>
++<div title="TextAlign" modifier="Jean-PierreLedure" created="201108051643" modified="201306151427" tags="Properties">
++<pre>The //~TextAlign// property specifies the text alignment in a Control.
++!!!Applies to ...
++| !Object | !Type when&lt;br /&gt;in a form | !Type when&lt;br /&gt;in a ~GridControl | !Type when&lt;br /&gt;in a dialog |!Description |
++|[[Control]] |~CheckBox&lt;br /&gt;[[ComboBox]]&lt;br /&gt;~CommandButton&lt;br /&gt;~CurrencyField&lt;br /&gt;~DateField&lt;br /&gt;~FixedText&lt;br /&gt;~FormattedField&lt;br /&gt;[[ListBox]]&lt;br /&gt;~NumericField&lt;br /&gt;~PatternField&lt;br /&gt;[[RadioButton]]&lt;br /&gt;~TextField&lt;br /&gt;~TimeField | All |~CheckBox&lt;br /&gt;[[ComboBox]]&lt;br /&gt;~CommandButton&lt;br /&gt;~CurrencyField&lt;br /&gt;~DateField&lt;br /&gt;~FileControl&lt;br /&gt;~FixedText&lt;br /&gt;~FormattedField&lt;br /&gt;[[ListBox]]&lt;br /&gt;~NumericField&lt;br /&gt;~PatternField&lt;br /&gt;[[RadioButton]]&lt;br /&gt;~TextField&lt;br /&gt;~TimeField |A control on an open form or dialog |
++!!!Syntax
++//control//{{{.TextAlign}}}
++//control//{{{.TextAlign = }}}//value//
++!!!Returned values / Arguments
++{{{Integer}}} or {{{Long}}}
++!!!Remarks
++The allowed values for ~TextAlign are:
++&gt;0: Left
++&gt;1: Center
++&gt;2: Right
++!!!Error messages
++|Property '~TextAlign' not applicable in this context |
++|Value '...' is invalid for property '~TextAlign' |
++!!!See also
++[[FontBold]]
++[[FontItalic]]
++[[FontName]]
++[[FontSize]]
++[[FontUnderline]]
++[[FontWeight]]
++[[ForeColor]]
++!!!Example
++&lt;&lt;tiddler &quot;Font example&quot;&gt;&gt;</pre>
++</div>
++<div title="Thanks" modifier="YourName" created="201202181600" modified="201808101327" tags="NoTag" changecount="6">
++<pre>Next people have directly or indirectly contributed to the birth and the success of the ~Access2Base API:
++*''Bernard Marcelly'' because I would have abandoned the project without the existence of ~XRayTool, the inspector of API objects, See [[here|http://bernard.marcelly.perso.sfr.fr/index2.html]].
++*''Jeremy Ruston'' who developed the remarkable personal wiki which served as template for the documentation of ~Access2Base. See [[TiddlyWiki, a reusable non-linear personal web notebook|http://www.tiddlywiki.com/]].
++*''Andrew Pitonyak'' I found a number of promising examples in [[Base Macro programming|http://www.pitonyak.org/database/AndrewBase.pdf]].
++*''Roberto Benitez'', his [[BaseTools|http://extensions.services.openoffice.org/en/project/BaseTools]] extension was a first step in the direction of the implementation of an ~MSAccess-like API. A few snippets in my code are inspired by his work.
++*''DACM'', after a few database corruptions I was very happy to implement his recommendations found on the ~OpenOffice forum (see a.o. [[Avoid data loss by avoiding &quot;Embedded databases&quot;|http://user.services.openoffice.org/en/forum/viewtopic.php?p=162653#p162653]]) !!
++*''Lionel Mamane'', who is my mentor and my sponsor inside the //~LibreOffice// developers community.
++*''Iñigo Zuluaga'', who provides the spanish translation of what in the source code requires such a translation.
++*''Gisbert Friege'', who provides the german translation since version 1.9.0.
++
++Many thanks to all of them.</pre>
++</div>
++<div title="TiddlersBarPlugin" modifier="Jean-Pierre Ledure" created="201106250917" modified="201108071328" tags="systemConfig excludeLists">
++<pre>/***
++|''Name:''|TiddlersBarPlugin|
++|''Description:''|A bar to switch between tiddlers through tabs (like browser tabs bar).|
++|''Version:''|1.2.5|
++|''Date:''|Jan 18,2008|
++|''Source:''|http://visualtw.ouvaton.org/VisualTW.html|
++|''Author:''|Pascal Collin|
++|''License:''|[[BSD open source license|License]]|
++|''~CoreVersion:''|2.1.0|
++|''Browser:''|Firefox 2.0; InternetExplorer 6.0, others|
++!Demos
++On [[homepage|http://visualtw.ouvaton.org/VisualTW.html]], open several tiddlers to use the tabs bar.
++!Installation
++#import this tiddler from [[homepage|http://visualtw.ouvaton.org/VisualTW.html]] (tagged as systemConfig)
++#save and reload
++#''if you're using a custom [[PageTemplate]]'', add {{{&lt;div id='tiddlersBar' refresh='none' ondblclick='config.macros.tiddlersBar.onTiddlersBarAction(event)'&gt;&lt;/div&gt;}}} before {{{&lt;div id='tiddlerDisplay'&gt;&lt;/div&gt;}}}
++#optionally, adjust StyleSheetTiddlersBar
++!Tips
++*Doubleclick on the tiddlers bar (where there is no tab) create a new tiddler.
++*Tabs include a button to close {{{x}}} or save {{{!}}} their tiddler.
++*By default, click on the current tab close all others tiddlers.
++!Configuration options
++&lt;&lt;option chkDisableTabsBar&gt;&gt; Disable the tabs bar (to print, by example).
++&lt;&lt;option chkHideTabsBarWhenSingleTab &gt;&gt; Automatically hide the tabs bar when only one tiddler is displayed.
++&lt;&lt;option txtSelectedTiddlerTabButton&gt;&gt; ''selected'' tab command button.
++&lt;&lt;option txtPreviousTabKey&gt;&gt; previous tab access key.
++&lt;&lt;option txtNextTabKey&gt;&gt; next tab access key.
++!Code
++***/
++//{{{
++config.options.chkDisableTabsBar = config.options.chkDisableTabsBar ? config.options.chkDisableTabsBar : false;
++config.options.chkHideTabsBarWhenSingleTab = config.options.chkHideTabsBarWhenSingleTab ? config.options.chkHideTabsBarWhenSingleTab : false;
++config.options.txtSelectedTiddlerTabButton = config.options.txtSelectedTiddlerTabButton ? config.options.txtSelectedTiddlerTabButton : &quot;closeOthers&quot;;
++config.options.txtPreviousTabKey = config.options.txtPreviousTabKey ? config.options.txtPreviousTabKey : &quot;&quot;;
++config.options.txtNextTabKey = config.options.txtNextTabKey ? config.options.txtNextTabKey : &quot;&quot;;
++config.macros.tiddlersBar = {
++ tooltip : &quot;see &quot;,
++ tooltipClose : &quot;click here to close this tab&quot;,
++ tooltipSave : &quot;click here to save this tab&quot;,
++ promptRename : &quot;Enter tiddler new name&quot;,
++ currentTiddler : &quot;&quot;,
++ previousState : false,
++ previousKey : config.options.txtPreviousTabKey,
++ nextKey : config.options.txtNextTabKey,
++ tabsAnimationSource : null, //use document.getElementById(&quot;tiddlerDisplay&quot;) if you need animation on tab switching.
++ handler: function(place,macroName,params) {
++ var previous = null;
++ if (config.macros.tiddlersBar.isShown())
++ story.forEachTiddler(function(title,e){
++ if (title==config.macros.tiddlersBar.currentTiddler){
++ var d = createTiddlyElement(null,&quot;span&quot;,null,&quot;tab tabSelected&quot;);
++ config.macros.tiddlersBar.createActiveTabButton(d,title);
++ if (previous &amp;&amp; config.macros.tiddlersBar.previousKey) previous.setAttribute(&quot;accessKey&quot;,config.macros.tiddlersBar.nextKey);
++ previous = &quot;active&quot;;
++ }
++ else {
++ var d = createTiddlyElement(place,&quot;span&quot;,null,&quot;tab tabUnselected&quot;);
++ var btn = createTiddlyButton(d,title,config.macros.tiddlersBar.tooltip + title,config.macros.tiddlersBar.onSelectTab);
++ btn.setAttribute(&quot;tiddler&quot;, title);
++ if (previous==&quot;active&quot; &amp;&amp; config.macros.tiddlersBar.nextKey) btn.setAttribute(&quot;accessKey&quot;,config.macros.tiddlersBar.previousKey);
++ previous=btn;
++ }
++ var isDirty =story.isDirty(title);
++ var c = createTiddlyButton(d,isDirty ?&quot;!&quot;:&quot;x&quot;,isDirty?config.macros.tiddlersBar.tooltipSave:config.macros.tiddlersBar.tooltipClose, isDirty ? config.macros.tiddlersBar.onTabSave : config.macros.tiddlersBar.onTabClose,&quot;tabButton&quot;);
++ c.setAttribute(&quot;tiddler&quot;, title);
++ if (place.childNodes) {
++ place.insertBefore(document.createTextNode(&quot; &quot;),place.firstChild); // to allow break line here when many tiddlers are open
++ place.insertBefore(d,place.firstChild);
++ }
++ else place.appendChild(d);
++ })
++ },
++ refresh: function(place,params){
++ removeChildren(place);
++ config.macros.tiddlersBar.handler(place,&quot;tiddlersBar&quot;,params);
++ if (config.macros.tiddlersBar.previousState!=config.macros.tiddlersBar.isShown()) {
++ story.refreshAllTiddlers();
++ if (config.macros.tiddlersBar.previousState) story.forEachTiddler(function(t,e){e.style.display=&quot;&quot;;});
++ config.macros.tiddlersBar.previousState = !config.macros.tiddlersBar.previousState;
++ }
++ },
++ isShown : function(){
++ if (config.options.chkDisableTabsBar) return false;
++ if (!config.options.chkHideTabsBarWhenSingleTab) return true;
++ var cpt=0;
++ story.forEachTiddler(function(){cpt++});
++ return (cpt&gt;1);
++ },
++ selectNextTab : function(){ //used when the current tab is closed (to select another tab)
++ var previous=&quot;&quot;;
++ story.forEachTiddler(function(title){
++ if (!config.macros.tiddlersBar.currentTiddler) {
++ story.displayTiddler(null,title);
++ return;
++ }
++ if (title==config.macros.tiddlersBar.currentTiddler) {
++ if (previous) {
++ story.displayTiddler(null,previous);
++ return;
++ }
++ else config.macros.tiddlersBar.currentTiddler=&quot;&quot;; // so next tab will be selected
++ }
++ else previous=title;
++ });
++ },
++ onSelectTab : function(e){
++ var t = this.getAttribute(&quot;tiddler&quot;);
++ if (t) story.displayTiddler(null,t);
++ return false;
++ },
++ onTabClose : function(e){
++ var t = this.getAttribute(&quot;tiddler&quot;);
++ if (t) {
++ if(story.hasChanges(t) &amp;&amp; !readOnly) {
++ if(!confirm(config.commands.cancelTiddler.warning.format([t])))
++ return false;
++ }
++ story.closeTiddler(t);
++ }
++ return false;
++ },
++ onTabSave : function(e) {
++ var t = this.getAttribute(&quot;tiddler&quot;);
++ if (!e) e=window.event;
++ if (t) config.commands.saveTiddler.handler(e,null,t);
++ return false;
++ },
++ onSelectedTabButtonClick : function(event,src,title) {
++ var t = this.getAttribute(&quot;tiddler&quot;);
++ if (!event) event=window.event;
++ if (t &amp;&amp; config.options.txtSelectedTiddlerTabButton &amp;&amp; config.commands[config.options.txtSelectedTiddlerTabButton])
++ config.commands[config.options.txtSelectedTiddlerTabButton].handler(event, src, t);
++ return false;
++ },
++ onTiddlersBarAction: function(event) {
++ var source = event.target ? event.target.id : event.srcElement.id; // FF uses target and IE uses srcElement;
++ if (source==&quot;tiddlersBar&quot;) story.displayTiddler(null,'New Tiddler',DEFAULT_EDIT_TEMPLATE,false,null,null);
++ },
++ createActiveTabButton : function(place,title) {
++ if (config.options.txtSelectedTiddlerTabButton &amp;&amp; config.commands[config.options.txtSelectedTiddlerTabButton]) {
++ var btn = createTiddlyButton(place, title, config.commands[config.options.txtSelectedTiddlerTabButton].tooltip ,config.macros.tiddlersBar.onSelectedTabButtonClick);
++ btn.setAttribute(&quot;tiddler&quot;, title);
++ }
++ else
++ createTiddlyText(place,title);
++ }
++}
++
++story.coreCloseTiddler = story.coreCloseTiddler? story.coreCloseTiddler : story.closeTiddler;
++story.coreDisplayTiddler = story.coreDisplayTiddler ? story.coreDisplayTiddler : story.displayTiddler;
++
++story.closeTiddler = function(title,animate,unused) {
++ if (title==config.macros.tiddlersBar.currentTiddler)
++ config.macros.tiddlersBar.selectNextTab();
++ story.coreCloseTiddler(title,false,unused); //disable animation to get it closed before calling tiddlersBar.refresh
++ var e=document.getElementById(&quot;tiddlersBar&quot;);
++ if (e) config.macros.tiddlersBar.refresh(e,null);
++}
++
++story.displayTiddler = function(srcElement,tiddler,template,animate,unused,customFields,toggle){
++ story.coreDisplayTiddler(config.macros.tiddlersBar.tabsAnimationSource,tiddler,template,animate,unused,customFields,toggle);
++ var title = (tiddler instanceof Tiddler)? tiddler.title : tiddler;
++ if (config.macros.tiddlersBar.isShown()) {
++ story.forEachTiddler(function(t,e){
++ if (t!=title) e.style.display=&quot;none&quot;;
++ else e.style.display=&quot;&quot;;
++ })
++ config.macros.tiddlersBar.currentTiddler=title;
++ }
++ var e=document.getElementById(&quot;tiddlersBar&quot;);
++ if (e) config.macros.tiddlersBar.refresh(e,null);
++}
++
++var coreRefreshPageTemplate = coreRefreshPageTemplate ? coreRefreshPageTemplate : refreshPageTemplate;
++refreshPageTemplate = function(title) {
++ coreRefreshPageTemplate(title);
++ if (config.macros.tiddlersBar) config.macros.tiddlersBar.refresh(document.getElementById(&quot;tiddlersBar&quot;));
++}
++
++ensureVisible=function (e) {return 0} //disable bottom scrolling (not useful now)
++
++config.shadowTiddlers.StyleSheetTiddlersBar = &quot;/*{{{*/\n&quot;;
++config.shadowTiddlers.StyleSheetTiddlersBar += &quot;#tiddlersBar .button {border:0}\n&quot;;
++config.shadowTiddlers.StyleSheetTiddlersBar += &quot;#tiddlersBar .tab {white-space:nowrap}\n&quot;;
++config.shadowTiddlers.StyleSheetTiddlersBar += &quot;#tiddlersBar {padding : 1em 0.5em 2px 0.5em}\n&quot;;
++config.shadowTiddlers.StyleSheetTiddlersBar += &quot;.tabUnselected .tabButton, .tabSelected .tabButton {padding : 0 2px 0 2px; margin: 0 0 0 4px;}\n&quot;;
++config.shadowTiddlers.StyleSheetTiddlersBar += &quot;.tiddler, .tabContents {border:1px [[ColorPalette::TertiaryPale]] solid;}\n&quot;;
++config.shadowTiddlers.StyleSheetTiddlersBar +=&quot;/*}}}*/&quot;;
++store.addNotification(&quot;StyleSheetTiddlersBar&quot;, refreshStyles);
++
++config.refreshers.none = function(){return true;}
++config.shadowTiddlers.PageTemplate=config.shadowTiddlers.PageTemplate.replace(/&lt;div id='tiddlerDisplay'&gt;&lt;\/div&gt;/m,&quot;&lt;div id='tiddlersBar' refresh='none' ondblclick='config.macros.tiddlersBar.onTiddlersBarAction(event)'&gt;&lt;/div&gt;\n&lt;div id='tiddlerDisplay'&gt;&lt;/div&gt;&quot;);
++
++//}}}</pre>
++</div>
++<div title="TipTextForLongValues" modifier="Jean-PierreLedure" created="201212231438" modified="201308161214" tags="HowTo">
++<pre>(Q) Some of the records in my database have values that are longer than the width of the bound control on the form. Is there a way I can display the complete text without requiring the user to click in the field and using arrow keys to read the value ?
++
++(R) Form controls have a property called [[ControlTipText]] (what you see in the yellow tooltip popup if you place the mouse over a control for some time). This property can be easily used to display the complete value of the actual control itself.
++!!!Solution
++Fire next code from the //After record change// event of a form:
++//{{{
++Sub setTipText(poEvent As Object)
++
++Dim ofForm As Object, ocControl As Object, i As Integer, sValue As String
++Const cstMin = 10
++Const cstMax = 200
++ Set ofForm = Events(poEvent).Source
++ For i = 0 To ofForm.Controls.Count - 1
++ Set ocControl = ofForm.Controls(i)
++ sValue = CStr(ocControl.Value)
++ If Len(sValue) &gt; cstMin Then
++ If Len(sValue) &gt; cstMax Then
++ ocControl.ControlTiptext = Left(sValue, cstMax)
++ Else
++ ocControl.ControlTiptext = sValue
++ End If
++ End If
++ Next i
++
++End Sub
++//}}}
++You will have noted that the tip text is modified only if long enough and truncated if the value is too long.
++!!!Refer to ...
++| !Basic module | !Form | !Form event | !Control | !Control event |!Comments |
++|~TipText |~Orders_Browse |After record change ||||</pre>
++</div>
++<div title="ToggleSideBarMacro" modifier="Jean-Pierre Ledure" created="201106251031" modified="201108061609" tags="systemConfig excludeLists">
++<pre>/***
++
++|Name|ToggleSideBarMacro|
++|Created by|SaqImtiaz|
++|Location|http://tw.lewcid.org/#ToggleSideBarMacro|
++|Version|1.0|
++|Requires|~TW2.x|
++!Description:
++Provides a button for toggling visibility of the SideBar. You can choose whether the SideBar should initially be hidden or displayed.
++
++!Demo
++&lt;&lt;toggleSideBar &quot;Toggle Sidebar&quot;&gt;&gt;
++
++!Usage:
++{{{&lt;&lt;toggleSideBar&gt;&gt;}}} &lt;&lt;toggleSideBar&gt;&gt;
++additional options:
++{{{&lt;&lt;toggleSideBar label tooltip show/hide&gt;&gt;}}} where:
++label = custom label for the button,
++tooltip = custom tooltip for the button,
++show/hide = use one or the other, determines whether the sidebar is shown at first or not.
++(default is to show the sidebar)
++
++You can add it to your tiddler toolbar, your MainMenu, or where you like really.
++If you are using a horizontal MainMenu and want the button to be right aligned, put the following in your StyleSheet:
++{{{ .HideSideBarButton {float:right;} }}}
++
++!History
++*23-07-06: version 1.0: completely rewritten, now works with custom stylesheets too, and easier to customize start behaviour.
++*20-07-06: version 0.11
++*27-04-06: version 0.1: working.
++
++!Code
++***/
++//{{{
++config.macros.toggleSideBar={};
++
++config.macros.toggleSideBar.settings={
++ styleHide : &quot;#sidebar { display: none;}\n&quot;+&quot;#contentWrapper #displayArea { margin-right: 1em;}\n&quot;+&quot;&quot;,
++ styleShow : &quot; &quot;,
++ arrow1: &quot;«&quot;,
++ arrow2: &quot;»&quot;
++};
++
++config.macros.toggleSideBar.handler=function (place,macroName,params,wikifier,paramString,tiddler)
++{
++ var tooltip= params[1]||'toggle sidebar';
++ var mode = (params[2] &amp;&amp; params[2]==&quot;hide&quot;)? &quot;hide&quot;:&quot;show&quot;;
++ var arrow = (mode == &quot;hide&quot;)? this.settings.arrow1:this.settings.arrow2;
++ var label= (params[0]&amp;&amp;params[0]!='.')?params[0]+&quot; &quot;+arrow:arrow;
++ var theBtn = createTiddlyButton(place,label,tooltip,this.onToggleSideBar,&quot;button HideSideBarButton&quot;);
++ if (mode == &quot;hide&quot;)
++ {
++ (document.getElementById(&quot;sidebar&quot;)).setAttribute(&quot;toggle&quot;,&quot;hide&quot;);
++ setStylesheet(this.settings.styleHide,&quot;ToggleSideBarStyles&quot;);
++ }
++};
++
++config.macros.toggleSideBar.onToggleSideBar = function(){
++ var sidebar = document.getElementById(&quot;sidebar&quot;);
++ var settings = config.macros.toggleSideBar.settings;
++ if (sidebar.getAttribute(&quot;toggle&quot;)=='hide')
++ {
++ setStylesheet(settings.styleShow,&quot;ToggleSideBarStyles&quot;);
++ sidebar.setAttribute(&quot;toggle&quot;,&quot;show&quot;);
++ this.firstChild.data= (this.firstChild.data).replace(settings.arrow1,settings.arrow2);
++ }
++ else
++ {
++ setStylesheet(settings.styleHide,&quot;ToggleSideBarStyles&quot;);
++ sidebar.setAttribute(&quot;toggle&quot;,&quot;hide&quot;);
++ this.firstChild.data= (this.firstChild.data).replace(settings.arrow2,settings.arrow1);
++ }
++
++ return false;
++}
++
++setStylesheet(&quot;.HideSideBarButton .button {font-weight:bold; padding: 0 5px;}\n&quot;,&quot;ToggleSideBarButtonStyles&quot;);
++
++//}}}</pre>
++</div>
++<div title="ToolbarCommands" modifier="Jean-Pierre Ledure" created="201107210816" modified="201108061610" tags="excludeLists">
++<pre>|~ViewToolbar|closeTiddler closeOthers +editTiddler &gt; permalink references|
++|~EditToolbar|+saveTiddler -cancelTiddler deleteTiddler|</pre>
++</div>
++<div title="TooltipText" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201507251404" changecount="1">
++<pre>The //~TooltipText// property specifies the text that appears in a ~ScreenTip when you hold the mouse pointer over a toolbar control.
++!!!Applies to ...
++| !Object |!Description |
++|[[CommandBarControl]] |A control belonging to a CommandBar. |
++!!!Syntax
++//commandbarcontrol//{{{.TooltipText}}}
++//commanbarcontrol//{{{.TooltipText}}} = //value//{{{)}}}
++!!!Returned values / Arguments
++{{{String}}}
++!!!Remarks
++!!!Error messages
++|Property '~TooltipText' not applicable in this context |
++|Value '...' is invalid for property '~TooltipText' |
++!!!See also
++[[CommandBar]]
++[[CommandBarControl]]
++!!!Example
++&lt;&lt;tiddler &quot;CommandBarControl example&quot;&gt;&gt;</pre>
++</div>
++<div title="TraceConsole" modifier="Jean-Pierre Ledure" created="201108071418" modified="201405221357" tags="[[Error handling]]" changecount="4">
++<pre>!!!Role
++Display a dialog box for error handling settings and registered errors viewing. This routine is typically called from a button or a menu item.
++
++[img[tracelog dialog.png]]
++!!!Syntax
++~TraceConsole has no arguments.
++{{{TraceConsole()}}}
++!!!User interface
++| !Control | !Description |
++|Clear the list |All the entries are erased from the list. |
++|Set minimal trace level |All the calls for logging an event (TraceLog) having a level below the indicated level are ignored. |
++|Set max number of entries |Determines the size of the circular buffer containing the logged events. When changed the existing list is always erased. |
++|Dump to file |Open a File Save As ... window to save all the current entries in APPEND mode to a text file. |
++!!!Remarks
++When //~Access2Base// has been installed as an extension the //~TraceConsole// function can be activated by executing, when in the Basic IDE, next menu command:
++&gt;{{{Tools + Add-Ons + Access2Base Console ...}}}.
++!!!See also
++[[DebugPrint]]
++[[Error Handler]]
++[[TraceError]]
++[[TraceLevel]]
++[[TraceLog]]</pre>
++</div>
++<div title="TraceError" modifier="Jean-Pierre Ledure" created="201108071458" modified="201405221547" tags="[[Error handling]]" changecount="1">
++<pre>!!!Role
++Manages errors:
++- registers the error in the error logging circular buffer
++- informs the end-user
++- stops the program or continues
++!!!Syntax
++{{{TraceError(TraceLevel, ErrorCode, ErrorProcedure, ErrorLine)}}}
++!!!Arguments
++| !Argument | !Type | !Description |
++|~TraceLevel | String |The level of the occurred event. See [[error handling generalities|Error Handler]] for more details.&lt;br /&gt;The call to ~TraceError is __ignored__ if the given level is lower than the current minimal trace level. |
++|~ErrorCode | Integer |The numeric code of the error. Normally the output of the AOO/~LibO Basic {{{Err}}} function. |
++|~ErrorProcedure | String |The name of the procedure where the error occurred. |
++|~ErrorLine | Integer |The line number where the error occurred. Normally the output of the AOO/~LibO Basic {{{Erl}}} function. |
++!!!See also
++[[DebugPrint]]
++[[Error Handler]]
++[[TraceConsole]]
++[[TraceLevel]]
++[[TraceLog]]
++!!!Example
++&lt;&lt;tiddler &quot;TraceError example&quot;&gt;&gt;</pre>
++</div>
++<div title="TraceError example" modifier="Jean-Pierre Ledure" created="201108071523" modified="201408011524" tags="[[Snippets of Code]]" changecount="1">
++<pre>Trap an error:
++//{{{
++Function ShowError()
++
++ On Local Error Goto Error_Function
++Dim i As Integer, j As Integer
++ i = 10
++ j = i / 0
++ REM ...
++
++Exit_Function:
++ Exit Function
++Error_Function:
++ TraceError(&quot;ERROR&quot;, Err, &quot;ShowError&quot;, Erl)
++ Goto Exit_Function
++End Function ' ShowError
++//}}}
++The execution of
++&gt;{{{ShowError()}}}
++will result in the display of next message to the user:
++
++[img[traceerror msgbox.png]]</pre>
++</div>
++<div title="TraceLevel" modifier="Jean-Pierre Ledure" created="201301251653" modified="201408031009" tags="[[Error handling]]" changecount="2">
++<pre>!!!Role
++Set the minimal level as from which an error should be logged in the circular buffer managed by the [[Access2Base error handler|Error Handler]].
++!!!Syntax
++{{{Call TraceLevel(newTraceLevel)}}}
++!!!Argument
++| !newTraceLevel | !Type |!Description |
++|&quot;DEBUG&quot; | String |To report values of variables during the program execution. The report is NOT user visible. |
++|&quot;INFO&quot; |~|To report any event |
++|&quot;WARNING&quot; |~|To report some abnormal event. |
++|&quot;ERROR&quot; |~|To report an error trapped by a user program. |
++|&quot;FATAL&quot; |~|To report an error detected by ~Access2Base (f.i. &quot;Form does not exist ...&quot; etc.). |
++|&quot;ABORT&quot; |~|To report an error inside the ~Access2Base API itself. Do not use for programmer or user errors. |
++!!!Remark
++When the argument is absent, or equal to space, the minimal error level is reset to its default, i.e. {{{&quot;ERROR&quot;}}}. If the provided argument is different from the above list, the program execution continues without interruption.
++!!!See also
++[[DebugPrint]]
++[[Error Handler]]
++[[TraceConsole]]
++[[TraceError]]
++[[TraceLog]]</pre>
++</div>
++<div title="TraceLog" modifier="Jean-Pierre Ledure" created="201108071427" modified="201405221547" tags="[[Error handling]]" changecount="1">
++<pre>!!!Role
++Registers in the Traces circular buffer a new entry.
++!!!Syntax
++{{{TraceLog(TraceLevel, Text, [MessageBox])}}}
++!!!Arguments
++| !Argument | !Type | !Default | !Description |
++|~TraceLevel | String ||The level of the occurred event. See [[error handling generalities|Error Handler]] for more details.&lt;br /&gt;The call to //~TraceLog// is __ignored__ if the given level is lower than the current minimal trace level. |
++|Text | String ||Text to be recorded. |
++|~MessageBox | Boolean | True |Indicates if the Text must also be displayed to the user in a message box. |
++!!!See also
++[[DebugPrint]]
++[[Error Handler]]
++[[TraceConsole]]
++[[TraceError]]
++[[TraceLevel]]
++!!!Example
++&lt;&lt;tiddler &quot;TraceLog example&quot;&gt;&gt;</pre>
++</div>
++<div title="TraceLog example" modifier="Jean-Pierre Ledure" created="201108071451" modified="201408011524" tags="[[Snippets of Code]]" changecount="1">
++<pre>~TraceLog some information
++//{{{
++ TraceLog(&quot;WARNING&quot;, &quot;You should be more careful !!&quot;)
++//}}}
++Next message will be displayed to the user if the current minimal trace level is at least &quot;WARNING&quot;.
++
++[img[tracelog msgbox.png]]</pre>
++</div>
++<div title="TripleState" modifier="Jean-Pierre Ledure" created="201112271539" modified="201405291700" tags="Properties" changecount="1">
++<pre>The //~TripleState// property specifies how a check box will display {{{Null}}} values.
++!!!Applies to ...
++| !Object | !Type when&lt;br /&gt;in a form | !Type when&lt;br /&gt;in a ~GridControl | !Type when&lt;br /&gt;in a dialog |!Description |
++|[[Control]] | ~CheckBox | ~CheckBox | ~CheckBox |A control on an open form, dialog or ~GridControl. |
++!!!Syntax
++//control//{{{.TripleState}}}
++//control//{{{.TripleState}}} = //value//
++!!!Returned values / Arguments
++{{{Boolean}}}
++!!!Remarks
++The ~TripleState property uses the following settings:
++|True |The control will cycle through states for Yes, No, and Null values. The control appears dimmed (grayed) when its Value property is set to Null. |
++|False (Default) |The control will cycle through states for Yes and No values. Null values display as if they were No values. |
++!!!Error messages
++|Property '~TripleState' not applicable in this context |
++|Value '...' is invalid for property '~TripleState' |
++!!!Example
++&lt;&lt;tiddler &quot;Triplestate example&quot;&gt;&gt;</pre>
++</div>
++<div title="Triplestate example" modifier="Jean-PierreLedure" created="201112271552" modified="201212151322" tags="[[Snippets of Code]]">
++<pre>Identify if a checkbox accept Null values
++//{{{
++Dim ofForm As Object,ocControl As Object
++ Set ofForm = Forms(&quot;myform&quot;)
++ Set ocControl = ofForm.Controls(&quot;myChkBox&quot;)
++ MsgBox ocControl.TripleState
++//}}}</pre>
++</div>
++<div title="Tutorial" modifier="YourName" created="201205010526" modified="201802071424" tags="HowTo" changecount="19">
++<pre>Consider the list below as a set of examples you should browse thru depending on your needs, more than a tutorial to read from top to bottom.
++!!Optionally, download and install the examples
++(Almost) all examples below require a prior installation of the __last version__ of //~Access2Base// to run satisfactorily.
++
++Most examples have been implemented in a database that can be ''downloaded [[HERE|http://www.access2base.com/_howtos/TT NorthWind.zip]].''
++Note that the database has been designed to illustrate the individual examples not to be a fully functional application. The data has been converted from the well-known //~NorthWind// database for Microsoft Access.
++
++Additionally, everyone will understand that ...
++&gt;The attached code is distributed in the hope that it will be useful,
++&gt;but WITHOUT ANY WARRANTY; without even the implied warranty of
++&gt;MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
++#Download the file.
++#Unzip all the files in one single directory of your choice.
++#//Open// one of next 3 files, allow the execution of macros and explore the proposed forms and code. All forms, queries, Basic code in those files refer to one or more of next examples.
++##''&quot;TT ~NorthWind.odb&quot;'' Base file
++##''&quot;TT ~NorthWind ~StandAlone.odt&quot;'' Writer file
++##''&quot;TT ~NorthWind Calc.ods&quot;'' Calc file
++!!Easy How to's
++#[[Find out if a form is open|FindOutFormOpen]]
++#[[Enumerate all controls on a form|EnumerateControls]]
++#[[Find out if a table exists|FindOutTableExists]]
++#[[Use Variables and Controls in SQL|UseVariablesInSQL]]
++#[[Create a recordset from a table, a query or a form|CreateRecordsetFrom]]
++#[[Add a record to a recordset|AddRecordToRecordset]]
++#[[Count the number of records in a recordset|CountRecordsRecordset]]
++#[[Detect the limits of recordset|LimitsRecordset]]
++!!Generalities
++#[[Mix Access2Base and UNO objects in the same code|MixAccess2baseAndUNO]]
++#[[Manipulate the database window|DatabaseWindow]]
++#[[More about the shortcut notation|ShortcutNotationMore]]
++#[[DLookup usage samples|DLookupSamples]]
++!!About Forms
++#[[Simulate calculated fields|CalculatedField]]
++#[[Use a (Multi-select) listbox to select the data displayed in a form|MultiSelectListboxSelectForm]]
++#[[Fill Fields automatically on form based on a control's value|FillAutoControlValue]]
++#[[Carry current value of a control to new records|CarryToNewRecord]]
++#[[Browse recursively thru all controls of a form/subform|BrowseThruControls]]
++#[[Use ControlTipText to display textbox value|TipTextForLongValues]]
++#[[Ask before saving record|AskBeforeSaving]]
++#[[Limit content of combo/list boxes|Sync2Combos]]
++#[[Zoom on image|ZoomOnImage]]
++#[[Adding &quot;All&quot; to a list- or combobox|AddAllToBox]]
++#[[Keep several linked forms synchronized|KeepFormsSynchro]]
++#[[Simulate a Google search box|SelectListboxOnFirstLetters]]
++#[[Moving items between 2 listboxes with &gt;, &gt;&gt;, &lt; and &lt;&lt; buttons|MoveItemsBetweenListboxes]]
++#[[Simulate a tabbed interface in a form|SimulateTabbed]]
++!!About standalone forms
++#[[Search a character string thru all the records|SearchStandalone]]
++!!About dialogs
++#[[Insert a calculator in the user interface|CalculatorDialog]]
++!!About tables, queries and recordsets
++#[[Explore tables and fields|ExploreTables]]
++#[[Extract data from a database table|ExtractDataTable]]
++#[[Find the position of the current record of a recordset|FindPositionRecordset]]
++#[[Design a generic DMedian function|DMedian function]]
++#[[Compute the value corresponding with a given percentile|DPercentile]]
++#[[Import images in the database|ImportImages]]
++#[[Export images from the database to the file system|ExportImages]]
++#[[CrossTab queries|CrossTabQuery]]
++#[[Access data dynamically from a Calc spreadsheet|DbaccessFromCalc]]
++#[[Output table or query to html - styling examples|OutputToStyling]]</pre>
++</div>
++<div title="Type" modifier="Jean-Pierre Ledure" created="201306221245" modified="201612181050" tags="Properties" changecount="5">
++<pre>The //Type// property specifies the type of a [[query|QueryDef]], a [[commandbarcontrol|CommandBarControl]] or a [[Basic module|Module].
++!!!Applies to ...
++| !Object |!Description |
++|[[QueryDef]] |A stored query definition. |
++|[[CommandBarControl]] |An element of a [[CommandBar]]. |
++|[[Module]] |A Basic script. |
++!!!Syntax and returned values
++| !Syntax |!Returned value |&gt;|
++|//querydef//{{{.pType}}} |dbQAction |A query that copies or changes data. Action queries include append, delete, make-table, and update queries. Delete and update queries change existing data; append and make-table queries copy existing data. In contrast, select queries return data records. An SQL pass-through query may also be an action query. |
++|~|dbQAppend |An action query that adds new records to the end of an existing table or query. Append queries don't return records (rows). |
++|~|dbQDDL |An SQL query that can create, alter, or delete a table, or create or delete an index in a database. |
++|~|dbQDelete |An action query that deletes a set of rows that match the criteria you specify. A delete query doesn’t return rows. |
++|~|dbQMakeTable |An action query that creates a new table from the Recordset object of an existing query. |
++|~|dbQSelect |A query that asks a question about the data stored in your tables and returns a Recordset object without changing the data. |
++|~|dbQSetOperation |An select query that creates a Recordset object containing data from all specified records in two or more tables with any duplicate records removed. To include the duplicates, add the keyword ALL. &lt;br /&gt;For instance, a union query of the Customers table and the Suppliers table results in a Recordset that contains all suppliers that are also customers. |
++|~|dbQSQLPassThrough |An SQL query you use to send commands directly to the database (server). Pass-through queries are used to execute SQL queries and system-specific commands written by using SQL dialects known only to the server.&lt;br /&gt;A pass-through query may or may not return records. |
++|~|dbQUpdate |An action query that changes a set of records according to criteria you specify. An update query doesn’t return any records. |
++|//commandbarcontrol//{{{.pType}}} |msoControlButton |The only supported value describing a command button. |
++|//module//{{{.pType}}} |acClassModule |The specified module is a class module. |
++|~|acStandardModule |The specified module is a susal, standard module. |
++!!!Remarks
++*The //Type// property is read-only.
++*The values returned by the //Type// property applied to a query may be combined. In fact they are summed. For instance an update query is also an action query. The property will return in such case the value dbQAction + dbQUpdate.&lt;br /&gt;To test a single value, use next construction:
++//{{{
++ If (querydef.pType And dbQAction) &lt;&gt; 0 Then ... ' is an action query
++//}}}
++*You can incorporate next constant definitions in your own code if useful:
++//{{{
++Const dbQAction = 240
++Const dbQAppend = 64
++Const dbQDDL = 4
++Const dbQDelete = 32
++Const dbQMakeTable = 128
++Const dbQSelect = 0
++Const dbQSetOperation = 8
++Const dbQSQLPassThrough = 1
++Const dbQUpdate = 16
++
++Const msoControlButton = 1
++
++Const acClassModule = 1
++Const acStandardModule = 0
++//}}}
++!!!Example
++&lt;&lt;tiddler &quot;Type example&quot;&gt;&gt;</pre>
++</div>
++<div title="Type example" modifier="Jean-PierreLedure" created="201306221246" modified="201306221323" tags="[[Snippets of Code]]">
++<pre>List all queries with type and sql statement
++//{{{
++Dim i As Integer, odbDatabase As Object, oQuery As Object
++ Set odbDatabase = Application.CurrentDb()
++ With odbDatabase
++ For i = 0 To .QueryDefs().Count - 1
++ Set oQuery = .QueryDefs(i)
++ DebugPrint oQuery.Name, oQuery.pType, oQuery.SQL
++ Next i
++ End With
++//}}}</pre>
++</div>
++<div title="Update" modifier="Jean-PierreLedure" created="201307191402" modified="201307211502" tags="Methods">
++<pre>Saves the contents of the edit buffer to an updatable [[Recordset object|Recordset]].
++!!!Applies to ...
++| !Object | !Description |
++|[[Recordset]] |A set of records derived from a table, a query or an SQL statement. |
++!!!Syntax
++//recordset//{{{.Update()}}}
++!!!Returned value
++{{{True}}} if success.
++!!!Remarks
++*To edit a record, use the [[Edit method|Edit]] to copy the contents of the current record to the edit buffer. If you don't use //Edit// first, an error occurs when you use //Update// or attempt to change a field's value.
++*To create a new record use the [[AddNew method|AddNew]].
++*''Caution'' Changes to the current record are lost if:
++**You use the //Edit// or //~AddNew// method, and then move to another record without first using //Update//.
++**You use //Edit// or //~AddNew//, and then use //Edit// or //AddNew// again without first using Update.
++**You set the [[Bookmark property|Bookmark]] to another record.
++**You close the //Recordset// without first using //Update//.
++**You cancel the //Edit// or //~AddNew// operation by using [[CancelUpdate]].
++!!!Error Messages
++|Recordset or field is not updatable |
++|Current row has been deleted |
++|Recordset update sequence error |
++!!!See also
++[[AddNew]]
++[[CancelUpdate]]
++[[Close|Close (method)]]
++[[CloseAllRecordsets]]
++[[DefaultValue]]
++[[Edit]]
++[[Update]]
++[[Value|Value (field)]]
++!!!Example
++&lt;&lt;tiddler &quot;AddNew example&quot;&gt;&gt;
++&lt;&lt;tiddler &quot;Edit example&quot;&gt;&gt;</pre>
++</div>
++<div title="UseVariablesInSQL" modifier="Jean-Pierre Ledure" created="201212231335" modified="201602200940" tags="HowTo" changecount="9">
++<pre>(Q) In code behind my form, I'm trying to reference the value contained in a control on my form in a SQL statement. But I'm not successful in doing this. I'm using the following syntax:
++--{{{sSQL = &quot;SELECT * FROM Employees WHERE [LastName] = myControl.Value&quot;}}}--
++What am I doing wrong??
++
++(R) In order to reference values contained in form controls, you have to use the &amp; operator and concatenate the results. The positioning of quotes is also important.
++!!!Solution
++*In an SQL statement query-, table- and fieldnames are surrounded with a special character which is __depending on the used Relational Database Management System__. When used in character strings whose SQL nature is recognizable (in [[form filtering|Filter]], in a [[RunSQL]] action, a [[RecordSource]] or [[ControlSource]] property, ...), //~Access2Base// will substitute the square brackets ([ ... ]) with the correct character.&lt;br /&gt;In next examples the resulting SQL statement is assumed to be used for such a purpose, reason why it still contains square brackets.
++*When the WHERE clause refers to a numeric field, it is sufficient to concatenate the SQL sentence and the value, like in:
++//{{{
++ sSQL = &quot;SELECT * FROM Employees WHERE [Age] &gt;= &quot; &amp; myNumericControl.Value
++//}}}
++*A bit more complicated is the reference to a date field. Simplest is to use the ISO representation of a date '''~YYYY-MM-DD''' (between single quotes):
++//{{{
++ Dim sDate As String
++ Const cstQuote = &quot;'&quot; ' Single quote
++ sDate = Format(myDateControl.Value), &quot;YYYY-MM-DD&quot;)
++ sSQL = &quot;SELECT * FROM Employees WHERE [BirthDate] = &quot; &amp; cstQuote &amp; sDate &amp; cstQuote
++//}}}
++*Similarly if the database field is of Date/Time type, the time should be added in the SQL statement. However the &quot;time&quot; control in the form is separated from the &quot;date&quot; one.
++//{{{
++ Dim sDateTime As String
++ Const cstQuote = &quot;'&quot; ' Single quote
++ sDateTime = Format(myDateControl.Value + myTimeControl.Value, &quot;YYYY-MM-DD HH:MM:SS&quot;)
++ sSQL = &quot;SELECT * FROM Employees WHERE [BirthDateTime] = &quot; &amp; cstQuote &amp; sDateTime &amp; cstQuote
++//}}}
++*Finally for simple strings, it seems easy. Just surround them with single quotes. However, if the string itself is able to contain a single quote, it is safer to anticipate its doubling:
++//{{{
++ Dim sName As String
++ Const cstQuote = &quot;'&quot; ' Single quote
++ sName = Join(Split(myCharControl.Value, cstQuote), cstQuote &amp; cstQuote) ' Replace ' by ''
++ sSQL = &quot;SELECT * FROM Employees WHERE [LastName] = &quot; &amp; cstQuote &amp; sName &amp; cstQuote
++//}}}</pre>
++</div>
++<div title="User's Guide" modifier="Jean-Pierre Ledure" created="201106251151" modified="201611301003" tags="Menu" changecount="26">
++<pre>{{firstletter{
++ @@color:#930;T@@
++ }}}he reader is assumed to have already a reasonable knowledge of //~LibO/AOO Basic// and of the //~LibO/AOO Basic// IDE. The knowledge of the //~LibreOffice/~OpenOffice UNO API// is not required. A basic knowledge of the //~MSAccess// object model is an advantage.
++!DEFINITIONS
++!!!What are objects ?
++AOO/~LibO Basic is a rudimentary object-oriented language.
++To stay close to the syntax of the //~MSAccess// object model the implementation of ~Access2Base has nevertheless been based on BASIC object classes. Their main characteristics are :
++**Use of classes of types ''Form'', ''Subform'' or ''Control'', etc.
++**In BASIC code using these classes, variables should be declared as being of type {{{Object}}}.
++**''Property'' and ''method'' names are identical in //~MSAccess// and in //~Access2Base//. Note however that //~Access2Base// implements only a limited subset of the object model of //~MSAccess//. Note also that their semantics might differ from the original //~MSAccess// one. Read the current documentation carefully.
++**Support of indirection and introspection for properties.
++**2 ROOT objects: [[Application]] and [[DoCmd]].
++**The [[CurrentDb]] method returns a [[Database]] object. It might be (and most often is ...) the database related to the only opened Base document (&quot;.odb&quot;) or any of the databases related to one of the [[standalone forms|Standalone Forms]] stored in a non-Base (Writer, Calc, ...) document.
++!!!What are [[collections ?|Collection]]
++**Their [[Count]] and [[Item]] properties
++**Their [[Add]], [[Delete|Delete (table-query)]], [[Remove]] and [[RemoveAll]] methods
++&gt;''Here is the complete [[Object Model]]''
++!FORMS, DIALOGS and CONTROLS
++!!Introduction
++*The [[AllForms]] collection - all forms
++*The [[Forms]] collection - all active forms
++*The [[AllDialogs]] collection - all available dialogs
++*The [[Form]] object - one single active form
++*The [[Dialog]] object - one single active dialog
++*The [[Controls]] collection - all controls of an active form or dialog
++*The [[Control]] object - one single control on an active form or dialog
++!!Properties
++*Form properties
++**[[Name]]
++**[[AllowAdditions]], [[AllowDeletions]], [[AllowEdits]] - is a form updatable ?
++**[[RecordSource]], [[Filter]], [[FilterOn]], [[OrderBy]], [[OrderByOn]] - which data are queried and in which sequence ?
++**[[Recordset|Recordset (property)]] - to query the same data programmatically
++**[[IsLoaded]] - is the form active ?
++**[[Caption]], [[Height]], [[Width]], [[Visible]] - how is the form formatted ?
++**[[Bookmark]], [[CurrentRecord]] - how to identify the current record and go back to it afterwards, how to identify the current record number ?
++**[[OpenArgs]]
++**[[On ... form events|On (form event)]] - which routine is triggered when an event occurs ?
++*Dialog properties
++**[[Name]]
++**[[IsLoaded]] - is the dialog active ?
++**[[Caption]], [[Height]], [[Width]], [[Visible]] - how is the dialog formatted ?
++*Control properties
++**[[Name]]
++**[[ControlType]], [[SubType]] - control typology ?
++**[[BackColor]], [[BorderColor]], [[BorderStyle]], [[ControlTipText]]&lt;br /&gt;[[FontBold]], [[FontItalic]], [[FontName]], [[FontSize]], [[FontUnderline]], [[FontWeight]], [[ForeColor]]&lt;br /&gt;[[Format]], [[TextAlign]], [[Visible]], [[TripleState]]&lt;br /&gt;[[Cancel]], [[Caption]], [[Default]]&lt;br /&gt; - how is the control's look &amp; feel ?
++**[[Page]] - define the set of controls of a dialog displayed page by page
++**[[Enabled]], [[Locked]], [[Required]] - is the control read-only ... ?
++**[[SelStart]], [[SelLength]] and [[SelText]] - what are the characters selected by the user, where is the insertion point in a textbox control ?
++**[[DefaultValue]], [[Tag]], [[Text]], [[Value]], [[Picture]] - what is the content of the control ?
++**[[TabIndex]], [[TabStop]] - what is the tab sequence of the control ?
++**[[ControlSource]] - which data is linked to the control ?
++**[[Parent]] - which object contains the control ?
++**[[On ... control events|On (control event)]] - which routine is triggered when an event occurs ?
++!!Methods
++*[[Move]] - move and resize a form or dialog
++*[[Refresh]], [[Requery]] - requery the underlying data of a form or a control
++*[[SetFocus]] - set the cursor somewhere
++*Manage dialogs with the [[Start]], [[Execute|Execute (dialog)]], [[EndExecute]] and [[Terminate]] methods
++!!Special controls
++!!!Subforms
++*What is a [[subform|SubForm]] ?
++*The [[form|Form (subform)]] property of a control
++*Subform properties
++**[[Name]]
++**[[AllowAdditions]], [[AllowDeletions]], [[AllowEdits]] - is a subform updatable ?
++**[[RecordSource]], [[Filter]], [[FilterOn]], [[OrderBy]], [[OrderByOn]] - which data are queried and in which sequence ?
++**[[Recordset|Recordset (property)]] - to query the same data programmatically
++**[[LinkChildFields]], [[LinkMasterFields]] - how is the subform related to its parent form ?
++**[[Parent]] - which (other sub)form contains the subform ?
++!!!Gridcontrols
++*Tabular display of data via a [[gridcontrol|GridControl]]
++*Use of the [[Controls]] collection to find the columns of a gridcontrol
++!!!List- and Comboboxes
++*What is a [[ListBox]] ? What is a [[ComboBox]] ?
++*List- and combobox properties
++**[[ItemData]], [[RowSource]], [[RowSourceType]] - which data in the box and where does it come from ?
++**[[ListCount]], [[ListIndex]] - how long is the list and which item is currently selected ?
++**[[MultiSelect]], [[Selected]] - how to manage multi-select listboxes ?
++*Listbox methods
++**[[AddItem]], [[RemoveItem]] - manage its content
++!!!~OptionGroup and ~RadioButton controls
++*How are [[OptionGroups|OptionGroup]] and [[RadioButtons|RadioButton]] related ?
++*How many radio buttons in an options group ([[Count]])?
++*The [[OptionGroup|OptionGroup (Method)]] method of a (sub)form
++*The [[OptionValue]] property of a ~RadioButton
++!!DATABASE ACCESS
++!!!Info about the database
++*The [[Name]] provides the file name of the Base document (&quot;{{{xxx.odb}}}&quot;).
++*The [[Connect]] property returns the connection string between the Base document and the effective database.
++*The [[Version]] property describes the database system supporting the actual database and its version.
++!!!Database tables
++*Use of the [[TableDefs]] collection to access individual tables
++*Each [[TableDef]] object represents a table
++*When applied to the //~TableDefs// collection the [[CreateTableDef]] and [[Add]] methods create a new table in the database
++*The [[Fields]] collection applied to a ~TableDef object gives access to each individual field of the concerned table
++*The [[OpenRecordset]] method gives access to the individual records of the table
++!!!Database queries
++*Use of the [[QueryDefs]] collection to access individual queries
++*Each [[QueryDef]] object represents a query
++*The [[Fields]] collection applied to the ~QueryDef object gives access to each individual field of the concerned query
++*The [[OpenRecordset]] method gives access to the individual records of the query
++*The [[SQL]] property of the querydef allows getting and setting the SQL statement related to the query
++!!!Access to the records in a table, a query or an arbitrary SQL statement
++*Such a set of records is represented by a [[Recordset]] object
++*A recordset object is created via the [[OpenRecordset]] method. A recordset can be explored forward or backward starting from its //current position//
++*The individual fields of a recordset are accessed from its [[Fields]] collection
++*Properties of a recordset
++**[[RecordCount]] - know the total number of records in the recordset
++**[[BOF and EOF|BOF, EOF]] - identify if the current position is //before the first// or //after the last// record
++**[[AbsolutePosition]] - know or set the position of the current record
++**[[Bookmarkable]] and [[Bookmark]] to remember the current record to prepare a later return to it
++**[[Filter]] helps preparing to build a new recordset which will be a subset of the current one
++*Methods of a recordset
++**[[Move|Move (recordset)]], [[MoveFirst|Move (recordset)]], [[MoveLast|Move (recordset)]], [[MoveNext|Move (recordset)]], [[MovePrevious|Move (recordset)]] - navigate thru the recordset and set its new current record
++**[[OpenRecordset]] - open a new recordset based on a preset [[Filter]]
++**[[AddNew]], [[Edit]], [[Update]] and [[CancelUpdate]] - add new records or update the current record. With the [[EditMode]] property, know the current editing status
++**[[GetRows]] - Read a set of records at once into an array.
++**[[Close|Close (method)]] - closing a recordset after use is ''mandatory'' !
++!!!Access to the individual fields of a table, a query or any recordset
++*Such a set of fields is represented by a [[Fields]] collection of indivudual [[Field]] objects
++*New fields can be added to a table thru the [[CreateField]] method.
++*Properties of a field
++**[[Name]] - the name of the field as given by the source SQL statement
++**[[Description]] - to know the help text associated with a field when the table is listed in design view
++**[[DataType]], [[DbType|DataType]], [[TypeName|DataType]] and [[Size]] - know the type of the field in the database and its size
++**[[SourceTable]] and [[SourceField]] - identify the names of the underlying table and field
++**[[DataUpdatable]] - know if that specific field may be updated
++**[[DefaultValue]] - get or set the value that will be preset in new records
++**[[Value|Value (field)]] - get the current value of the field or modify it
++*Methods of a field (only for text and binary fields)
++**[[WriteAllText]] and [[WriteAllBytes]] - export the content of a (text or binary) database field into a file identified by its name
++**[[ReadAllText]] and [[ReadAllBytes]] - import the content of a (text or binary) file identified by its name directly into a database field
++**[[GetChunk]] and [[AppendChunk]] - move the content of a binary field by chunks and store it by chunk into another binary field
++!TEMPORARY VARIABLES
++[[Temporary variables|TempVar]] are variables that can be created or removed at any time by any macro. They help passing values through macros or ~LibO/AOO applications sharing the same ~Access2Base API.
++They are gathered in the [[TempVars]] collection.
++Their value can be get or set with the [[Value]] property.
++!INTROSPECTION
++All objects have an [[ObjectType]] property
++Specific methods are available to manage property //indirection// and property //introspection//.
++*[[hasProperty]] determines if an object has a given property
++*[[getProperty]] and [[setProperty]] help managing the values of properties
++See also the [[Property]] object and the [[Properties|Properties (collection)]] collection.
++!SHORTCUTS
++A [[shortcut|ShortCut Notation]] is a character string designating unambiguously forms and controls. Next functions help managing them:
++*[[getObject]] returns the corresponding object
++*[[getValue]] and [[setValue]] get and set their properties
++!ACTIONS
++*[[OpenForm]], [[OpenTable]], [[OpenQuery]], [[OpenReport]], [[Close]] - open or close //~OpenOffice/~LibreOffice Base// objects
++*[[CopyObject]] - copy tables and/or queries
++*[[RunSQL]] - run action SQL statements
++*[[OpenSQL]] - display the data related to a SELECT SQL statement
++*[[FindRecord]], [[FindNext]] - search strings or values in gridcontrols
++*[[GoToRecord]] - move back-and forward in form records
++*[[ApplyFilter]], [[SetOrderBy]], [[ShowAllRecords]] - set or remove filters and sorting sequences
++*[[GoToControl]] - move the focus to a control simply by its name
++*[[SelectObject]], [[SetHiddenAttribute]], [[GetHiddenAttribute]] - browse thru open windows, hide them dynamically
++*[[Maximize]], [[Minimize]], [[MoveSize]] - move and resize windows
++*[[RunCommand]] - run //AOO/~LibO// menu commands
++*[[RunApp]] - run an external application
++*[[OutputTo]] - export data to a Calc spreadsheet, a text/csv (comma-separated-value) file or to a formatted html page
++*[[SendObject]] - output a form in another format (PDF, ...) and send it as attachment of a mail
++*[[Quit]] - quit the application
++!DATABASE FUNCTIONS
++*Search a single value with [[DLookup]]
++*Make totals or similar computations with [[DSum]], [[DAvg]], [[DCount]], [[DMin and DMax|DMin, DMax]]
++*Make use of statistical functions with the [[DStDev, DStDevP]], [[DVar and DVarP|DVar, DVarP]] functions
++!ERROR HANDLING
++*The [[Introduction about error handling|Error Handler]] - to read first
++*[[TraceLevel]] sets the minimal level for error messages to be traced
++*The [[TraceError]] function may be used by one's own Basic code
++*[[TraceLog]] is for user messages or internal debugging information
++*Use [[DebugPrint]] for debugging
++*The logged information can be displayed by mean of [[TraceConsole]].
++!EVENTS HANDLING
++*The [[Introduction about event handling|Events Handler]] - to read first
++*The [[Events]] collection of ...
++*... the [[Event]] objects with their specific properties
++
++</pre>
++</div>
++<div title="Value" modifier="Jean-Pierre Ledure" created="201110080936" modified="201409271423" tags="Properties" changecount="9">
++<pre>The //Value// property specifies what is the current value of a [[Control]], an [[OptionGroup]], a [[TempVar]] or a [[Property]]
++!!!Applies to ...
++| !Object | !Type of control | !Type |!Remarks (not all control types are valid in //~GridControls// !) |
++|[[Control]] |~CheckBox | Boolean&lt;br /&gt;Integer&lt;br /&gt;Long |Meaning:&lt;br /&gt;0 = Not selected&lt;br /&gt;1 = Selected&lt;br /&gt;2 = Don't know&lt;br /&gt;A checkbox also accepts boolean values {{{True/False}}}. |
++|~|~CommandButton | Boolean |Always {{{False}}} except if button has a //Toggle// attribute and it is pressed in, then {{{True}}}. |
++|~|[[ComboBox]]&lt;br /&gt;[[ListBox]] | String&lt;br /&gt;Numeric&lt;br /&gt;Date |The {{{Value}}} property is {{{Null}}} for a multiselect ~ListBox control.&lt;br /&gt;Type must be {{{String}}} for a Combo.&lt;br /&gt;Otherwise the {{{Value}}} property always refers to the content of the __bound column__ (if it exists). |
++|~|~CurrencyField&lt;br /&gt;~NumericField&lt;br /&gt;~ProgressBar&lt;br /&gt;~ScrollBar&lt;br /&gt;~SpinButton | Numeric |Determines the numeric value associated with the control.&lt;br /&gt;The value associated with a ~ProgressBar, a ~ScrollBar or a ~SpinButton must be numeric and set between the minimum and maximum values preset when the control was designed. |
++|~|~FormattedField | Numeric&lt;br /&gt;String&lt;br /&gt;Date&lt;br /&gt;Boolean |A ~FormattedField most of the time contains a numeric value. However it also accepts, {{{Date}}}, {{{Boolean}}} or {{{String}}} values if they are compatible with the set format. |
++|~|~DateField&lt;br /&gt;~TimeField | Date&lt;br /&gt;Long |The expected {{{Value}}} is of type {{{Date}}} for ~DateFields.&lt;br /&gt;For ~TimeFields it is a numeric value of the form {{{HHMMSSCC}}} (the highest possible value is 23595999). |
++|~|~FileControl&lt;br /&gt;~HiddenControl&lt;br /&gt;~PatternField&lt;br /&gt;~TextField | String |The {{{string}}} contained in the control. |
++|[[OptionGroup]]|| Integer |Specifies the currently selected [[RadioButton]]. The buttons are counted as 0, 1, ... from left to right and from top to bottom. |
++|[[Property]]|~| Variant |Returns the property value. |
++|[[TempVar]]|~| Variant |The //Value// of a //~TempVar// is normally a string or a numeric value. However this is not controlled by the API. Any {{{Variant}}} content will be accepted, including arrays or objects, without restriction. Use of objects should be handled by the programmer with care. |
++!!!Syntax
++//control//{{{.Value}}}
++//control//{{{.Value}}} = //value//
++//optiongroup//{{{.Value}}}
++//optiongroup//{{{.Value}}} = //value//
++//property//{{{.Value}}}
++//tempvar//{{{.Value}}}
++//tempvar//{{{.Value}}} = //value//
++!!!Returned values / Arguments
++{{{Variant}}} (see the remarks in the table above)
++!!!Remarks
++*The //Value// property returns always a single value. For multiselect [[ListBox]] controls the //Value// property returns a {{{Null}}}.
++*The //Value// for a [[ListBox]] is the value of the ''bound field'', i.e. the value of the field in the underlying record in the database.
++*If the control or the optiongroup is bound to a database field, changing the value in the control programmatically __''modifies''__ also __''the value in the database''__ accordingly.
++*The //Value// of a //Property// is read-only.
++!!!Error messages
++|Property 'Value' not applicable in this context |
++|Value '...' is invalid for property 'value' |
++!!!See also
++[[getValue]]
++[[setValue]]
++[[OptionGroup]]
++!!!Example
++&lt;&lt;tiddler &quot;Value example&quot;&gt;&gt;</pre>
++</div>
++<div title="Value (field)" modifier="Jean-Pierre Ledure" created="201307050940" modified="201603121407" tags="Properties" changecount="6">
++<pre>The //Value// property specifies what is the current value of a [[Field]].
++The setting or return value is a {{{Variant}}} data type that evaluates to a value appropriate for the data type, as specified by the [[type properties|DataType]] of the field.
++!!!Applies to ...
++| !Object | !Type of field | !Type of the //Value// property | !Comment |
++|[[Field]] |com.sun.star.sdbc.~DataType.BIT&lt;br /&gt;com.sun.star.sdbc.~DataType.BOOLEAN | vbBoolean ||
++|~|com.sun.star.sdbc.~DataType.TINYINT | vbInteger |Ranging from −32768 to 32767, inclusive |
++|~|com.sun.star.sdbc.~DataType.SMALLINT&lt;br /&gt;com.sun.star.sdbc.~DataType.INTEGER | vbLong |Ranging from −2147483648 to 2147483647, inclusive |
++|~|com.sun.star.sdbc.~DataType.BIGINT | vbBigInt |Ranging from −9223372036854775808 to 9223372036854775807, inclusive|
++|~|com.sun.star.sdbc.~DataType.FLOAT | vbSingle |Absolute value ranging from 3.402823 x 10E38 to 1.401298 x 10E-45 |
++|~|com.sun.star.sdbc.~DataType.REAL&lt;br /&gt;com.sun.star.sdbc.~DataType.DOUBLE | vbDouble |Absolute value ranging from 1.79769313486232 x 10E308 to 4.94065645841247 x10E-324 |
++|~|com.sun.star.sdbc.~DataType.NUMERIC&lt;br /&gt;com.sun.star.sdbc.~DataType.DECIMAL | vbDouble&lt;br /&gt;vbLong |//vbDouble// if non-integer value, //vbLong// otherwise. |
++|~|com.sun.star.sdbc.~DataType.CHAR&lt;br /&gt;com.sun.star.sdbc.~DataType.VARCHAR | vbString ||
++|~|com.sun.star.sdbc.~DataType.LONGVARCHAR | vbString |Error if length &gt; 64K.&lt;br /&gt;To get a memo field exceeding the maximum length, use the [[WriteAllText]] method. |
++|~|com.sun.star.sdbc.~DataType.DATE&lt;br /&gt;com.sun.star.sdbc.~DataType.TIME&lt;br /&gt;com.sun.star.sdbc.~DataType.TIMESTAMP | vbDate |Use the Basic built-in date functions to&lt;br /&gt;- build the argument (f.i. //~DateSerial// and //~TimeSerial//)&lt;br /&gt;- process the returned value (f.i. //~DatePart//) |
++|~|com.sun.star.sdbc.~DataType.BINARY&lt;br /&gt;com.sun.star.sdbc.~DataType.VARBINARY&lt;br /&gt;com.sun.star.sdbc.~DataType.LONGVARBINARY | vbLong |The binary content of the field is returned under the form of an array of integer values, one by binary character.&lt;br /&gt;The dimension of the array must not exceed 64,000. To get/set a binary field exceeding the maximum size, use the [[GetChunk]]/[[AppendChunk]] methods, or alternatively the [[WriteAllBytes]]/[[ReadAllBytes]] methods. |
++|~|com.sun.star.sdbc.~DataType.CLOB | NA ||
++|~|com.sun.star.sdbc.~DataType.BLOB | NA ||
++!!!Syntax
++//field//{{{.Value}}}
++//field//{{{.Value}}} = //value//
++!!!Returned values / Arguments
++{{{Variant}}} (see the table above)
++!!!Remarks
++*If the database field contains {{{Null}}} the //Value// property will contain {{{Null}}} as well. To be tested with the {{{IsNull()}}} BASIC builtin function.
++*To set the database field to {{{Null}}} set simply the //Value// property to {{{Null}}} as well.
++*Setting the //Value// property will be rejected if either the [[AddNew]] or the [[Edit]] method has not been applied on the concerned [[Recordset]] first. The modifications will be applied when the [[Update]] Method is applied on the same //recordset// object. If the //Update// method is never applied, or if the [[CancelUpdate]] method is invoked instead, the database will not be impacted.
++*If the field to update is numeric (TINYINT, SMALLINT, BIGINT, FLOAT, REAL, DOUBLE, NUMERIC, DECIMAL) the //Value// property may be of any numeric type.
++*Trying to __set the //Value// property__ in an inappropriate context (for example, the //Value// property of a //Field// object in the [[Fields collection|Fields]] of a [[TableDef object|TableDef]]) will cause an error.
++*When the application is __getting the //Value// property__ in an erroneous context, the returned value will always be //empty// (to be tested in your code with the Basic {{{IsEmpty}}} builtin function).
++*Next Basic type constants may be included in your own code, if relevant:
++//{{{
++REM VarType constants
++Const vbEmpty = 0
++Const vbNull = 1
++Const vbInteger = 2
++Const vbLong = 3
++Const vbSingle = 4
++Const vbDouble = 5
++Const vbCurrency = 6
++Const vbDate = 7
++Const vbString = 8
++Const vbObject = 9
++Const vbBoolean = 11
++Const vbVariant = 12
++Const vbByte = 17
++Const vbUShort = 18
++Const vbULong = 19
++Const vbBigint = 35
++Const vbDecimal = 37
++//}}}
++!!!Error messages
++|Property 'Value' not applicable in this context |
++|Value '...' is invalid for property 'value' |
++|Field length (...) exceeds maximum length. Use WriteAllText instead |
++!!!See also
++[[Value (controls)|Value]]
++[[AppendChunk]]
++[[GetChunk]]
++[[ReadAllBytes]]
++[[ReadAllText]]
++[[WriteAllBytes]]
++[[WriteAllText]]
++!!!Example
++&lt;&lt;tiddler &quot;AddNew example&quot;&gt;&gt;
++&lt;&lt;tiddler &quot;Edit example&quot;&gt;&gt;</pre>
++</div>
++<div title="Value example" modifier="Jean-PierreLedure" created="201110081231" modified="201212151334" tags="[[Snippets of Code]]">
++<pre>Set new value in text field depending on value in combo box
++//{{{
++Dim ofForm As Object, ocCombo As Object, ocText As Object
++Dim vDesc As Variant
++ Set ofForm = Forms(&quot;myForm&quot;)
++ Set ocCombo = ofForm.Controls(&quot;myComboBox&quot;)
++ vDesc = DLookup(&quot;DENOMINATION&quot;, &quot;CATEGORIES&quot;, &quot;[CODE CATEGORY]='&quot; &amp; ocCombo.Value &amp; &quot;'&quot;)
++ If Not IsNull(vDesc) Then
++ Set ocText = ofForm.Controls(&quot;myTextBox&quot;)
++ ocText.Value = vDesc
++ End If
++//}}}
++</pre>
++</div>
++<div title="Version" modifier="Jean-Pierre Ledure" created="201312261115" modified="201611111358" tags="Properties" changecount="9">
++<pre>The //Version// property returns
++* either ''~LibreOffice w.x.y.z'' or ''~OpenOffice w.x.y.z'' where w.x.y.z is the version number.
++*or the name and version of the database engine, f.i. ''HSQL Database Engine 1.8.0''.
++&lt;&lt;tiddler &quot;ApplyApplication&quot;&gt;&gt;
++or to ...
++| !Object | !Description |
++|[[Database]] |A database object returned by the [[CurrentDb]] or [[OpenDatabase]] methods. |
++!!!Syntax
++{{{[Application.]Version}}}
++{{{database.Version}}}
++!!!Returned values / Arguments
++{{{String}}}
++!!!Remarks
++The //Version// property is read-only.
++!!!Error messages
++!!!See also
++[[Connect]]
++[[CurrentUser]]
++[[ProductCode]]
++!!!Example
++&lt;&lt;tiddler &quot;Identification example&quot;&gt;&gt;</pre>
++</div>
++<div title="ViewTemplate" modifier="Jean-PierreLedure" created="201212311159" modified="201212311226" tags="excludeLists">
++<pre>&lt;!--{{{--&gt;
++&lt;div class='toolbar' macro='toolbar [[ToolbarCommands::ViewToolbar]]'&gt;&lt;/div&gt;
++&lt;div class='title' macro='view title'&gt;&lt;/div&gt;
++&lt;div class='subtitle'&gt;&lt;span macro='view modifier link'&gt;&lt;/span&gt;, &lt;span macro='view modified date'&gt;&lt;/span&gt; (&lt;span macro='message views.wikified.createdPrompt'&gt;&lt;/span&gt; &lt;span macro='view created date'&gt;&lt;/span&gt;)&lt;/div&gt;
++&lt;div class='tagging' macro='tagging'&gt;&lt;/div&gt;
++&lt;div class='tagged' macro='tags'&gt;&lt;/div&gt;
++&lt;div class='viewer' macro='view text wikified'&gt;&lt;/div&gt;
++&lt;div class='tagClear'&gt;&lt;/div&gt;
++&lt;div style='float:center;' macro='tiddler BookMarkTiddler'&gt;&lt;/div&gt;
++&lt;!--}}}--&gt;</pre>
++</div>
++<div title="Visible" modifier="Jean-Pierre Ledure" created="201107191226" modified="201507121421" tags="Properties" changecount="2">
++<pre>The //Visible// property specifies or determines if a //form//, //dialog// or a //control// in a form, subform or dialog, or if a //commandbar// or a //commandbarcontrol// in a commandbar, is hidden or visible.
++!!!Applies to ...
++| !Object | !Type when&lt;br /&gt;in a form | !Type when&lt;br /&gt;in a ~GridControl | !Type when&lt;br /&gt;in a dialog |!Description |
++|[[Form]] ||||An open form. |
++|[[Dialog]] |~|~|~|An active dialog. |
++|[[Control]] |All except&lt;br /&gt;--~HiddenControl&lt;br /&gt;[[SubForm]]-- | None | All |A control on an open form or dialog. |
++|[[CommandBar]] ||||A toolbar. |
++|[[CommandBarControl]] |~|~|~|An element of a toolbar. |
++!!!Syntax
++//form//{{{.Visible}}}
++//form//{{{.Visible}}} = //value//
++//dialog//{{{.Visible}}}
++//dialog//{{{.Visible}}} = //value//
++//control//{{{.Visible}}}
++//control//{{{.Visible}}} = //value//
++//commandbar//{{{.Visible}}}
++//commandbar//{{{.Visible}}} = //value//
++//commandbarcontrol//{{{.Visible}}}
++//commandbarcontrol//{{{.Visible}}} = //value//
++!!!Returned values / Arguments
++{{{Boolean}}}
++!!!Remarks
++A [[subform|SubForm]] cannot be made hidden programmatically. Neither exists a tabbed interface for forms.
++To simulate anyhow such a tabbed interface, one can store in the form several groups of controls by mean of subforms. To make visible one subform while hiding the other ones, have a look at the second example below.
++
++A tabbed interface in [[dialogs|Dialog]] is easy to simulate thru the [[Page]] property.
++!!!Error messages
++|Form '...' is currently not open |
++|Dialog '...' not active |
++|Property 'Visible' not applicable in this context |
++|Value '...' is invalid for property 'Visible' |
++!!!Examples
++&lt;&lt;tiddler &quot;Visible example&quot;&gt;&gt;</pre>
++</div>
++<div title="Visible example" modifier="YourName" created="201107191225" modified="201805151519" tags="[[Snippets of Code]]" changecount="2">
++<pre>Hide a control on a form
++//{{{
++Dim ocControl As Object
++ Set ocControl = Controls(&quot;myForm&quot;, &quot;myControl&quot;)
++ ocControl.Visible = False
++//}}}
++
++A subform cannot be made hidden; simulate it by hiding each of its controls
++//{{{
++Dim ofSubform As Object, ocControl As Object, i As Integer
++ Set ofSubform = getValue(&quot;Forms!myForm!mySubForm.Form&quot;)
++ For i = 0 To ofSubForm.Controls().Count - 1
++ Set ocControl = ofSubForm.Controls(i)
++ If ocControl.hasProperty(&quot;Visible&quot;) Then ocControl.Visible = False
++ Next i
++//}}}</pre>
++</div>
++<div title="Why Access2Base ?" modifier="Jean-Pierre Ledure" created="201106251429" modified="201407111110" tags="Menu" changecount="3">
++<pre>!!Observation:
++{{firstletter{
++ @@color:#930;O@@
++ }}}penOffice/~LibreOffice Calc, Writer, Impress softwares have proved to be valid alternatives to their //~MSOffice// equivalents. __Base has obviously not reached the same success__
++
++&gt;''//~Access2Base// has simply the ambition to close a small part of the gap, i.e. provide a quite simple programming interface.''
++
++If you compare
++*The number of objects, constants, services, interfaces, methods, properties, enumerations in the whole ~OpenOffice/~LibreOffice API - including indeed also Calc, Writer, etc. - is about 20,000.
++* The number of collections, objects, methods, properties, constants in the whole //~MSAccess// API - indeed only //~MSAccess// oriented - is about 1,600 including 800 constants.
++you will admit that both softwares are functionally extremely rich but also that //~OpenOffice/~LibreOffice requires from an application developer undoubtedly a huge initial effort !//
++
++AND ... can anyone tell me: __why should an application developer know and use the same API as the developer of the software itself ?__
++
++Additionally
++*Calc and Writer applications, in most cases, do not require any script programming
++*Base, at the opposite, does require such __automation__ capacity __for most business or personal applications__. As a minimum to validate the entered data and avoid database corruption.
++!!Conclusion =&gt; the 80/20 rule
++&gt;''Why not implement the few % of the //~MSAccess// API in //~OpenOffice/~LibreOffice// that cover 80% of the needs ?''
++An inventory of the coverage by //~Access2Base// of the //~MSAccess// API has been done in the [[MSAccess coverage|MSAccessCoverage]] page.</pre>
++</div>
++<div title="Width" modifier="Jean-PierreLedure" created="201107171232" modified="201306151428" tags="Properties">
++<pre>The //Width// property specifies the width of a form or a dialog.
++!!!Applies to ...
++| !Object |!Description |
++|[[Form]] |An open form |
++|[[Dialog]] |An active dialog |
++!!!Syntax
++//form//{{{.Width}}}
++//form//{{{.Width = }}}//value//
++//dialog//{{{.Width}}}
++//dialog//{{{.Width = }}}//value//
++!!!Returned values / Arguments
++{{{Integer}}} or {{{Long}}}
++!!!Remarks
++!!!Error messages
++|Form '...' is currently not open |
++|Dialog '...' not active |
++|Value '...' is invalid for property 'Width' |
++!!!See also
++[[Height]]
++[[Maximize]]
++[[Minimize]]
++[[Move]]
++!!!Example
++&lt;&lt;tiddler &quot;Height &amp; Width example&quot;&gt;&gt;</pre>
++</div>
++<div title="WriteAllBytes" modifier="Jean-PierreLedure" created="201307211418" modified="201307211500" tags="Methods">
++<pre>The //~WriteAllBytes// method writes the content of a binary [[Field]] belonging to a [[Recordset]] to a file specified by its full name.
++!!!Applies to ...
++| !Object | !Type of field |
++|[[Field]] |com.sun.star.sdbc.~DataType.BINARY&lt;br /&gt;com.sun.star.sdbc.~DataType.VARBINARY&lt;br /&gt;com.sun.star.sdbc.~DataType.LONGVARBINARY |
++!!!Syntax
++//field//{{{.WriteAllBytes(}}}//file//{{{)}}}
++!!!Arguments
++| !Argument | !Type | !Description |
++| file | String |The full name, including the path, of the file you want to output the data to. |
++!!!Remarks
++The {{{file}}} argument may be expressed either in the (recommended) URL format (i.e. &quot;{{{file:// ...}}}&quot;) or by using the operating system usual syntax (e.g. &quot;{{{C:\...}}}&quot; in Windows).
++!!!Error messages
++|Method '~WriteAllBytes' not applicable in this context |
++|File access error on file '...' |
++|Field is null or empty. Action rejected |
++!!!See also
++[[ReadAllBytes]]
++[[ReadAllText]]
++[[Value|Value (field)]]
++[[WriteAllText]]
++!!!Example
++&lt;&lt;tiddler &quot;WriteAllBytes example&quot;&gt;&gt;</pre>
++</div>
++<div title="WriteAllBytes example" modifier="Jean-PierreLedure" created="201307211454" modified="201307211455" tags="[[Snippets of Code]]">
++<pre>Save the image stored in the 1st record database to a file
++//{{{
++Dim oRecordset As Object, oImage As Object, vValue As Variant, sFile As String
++ sFile = &quot;C:\TestImage.jpg&quot;
++ Set oRecordset = Application.CurrentDb().OpenRecordset(&quot;Products&quot;) ' Current record = 1st
++ With oRecordset
++ Set oImage = .Fields(&quot;IMAGE&quot;)
++ vValue = oImage.Value
++ If Not IsNull(vValue) Then 'A null field in the database returns a null value property
++ If vValue &gt; 0 Then 'The value property of a binary field returns its LENGTH
++ oImage.WriteAllBytes(sFile)
++ End If
++ End If
++ End With
++ oRecordset.mClose()
++//}}}</pre>
++</div>
++<div title="WriteAllText" modifier="Jean-PierreLedure" created="201307281459" modified="201307281500" tags="Methods">
++<pre>The //~WriteAllText// method writes the content of a memo [[Field]] belonging to a [[Recordset]] to a file specified by its full name.
++!!!Applies to ...
++| !Object | !Type of field |
++|[[Field]] |com.sun.star.sdbc.~DataType.LONGVARCHAR |
++!!!Syntax
++//field//{{{.WriteAllText(}}}//file//{{{)}}}
++!!!Arguments
++| !Argument | !Type | !Description |
++| file | String |The full name, including the path, of the file you want to output the data to. |
++!!!Remarks
++The {{{file}}} argument may be expressed either in the (recommended) URL format (i.e. &quot;{{{file:// ...}}}&quot;) or by using the operating system usual syntax (e.g. &quot;{{{C:\...}}}&quot; in Windows).
++!!!Error messages
++|Method '~WriteAllText' not applicable in this context |
++|File access error on file '...' |
++|Field is null or empty. Action rejected |
++!!!See also
++[[ReadAllBytes]]
++[[ReadAllText]]
++[[Value|Value (field)]]
++[[WriteAllBytes]]
++!!!Example
++&lt;&lt;tiddler &quot;WriteAllText example&quot;&gt;&gt;</pre>
++</div>
++<div title="WriteAllText example" modifier="Jean-PierreLedure" created="201307281505" modified="201307281506" tags="[[Snippets of Code]]">
++<pre>Save the text stored in a memo field in the 1st record to a file
++//{{{
++Dim oRecordset As Object, oMemo As Object, vValue As Variant, lSize As Long, sFile As String
++ sFile = &quot;C:\SomeFile.txt&quot;
++ Set oRecordset = Application.CurrentDb().OpenRecordset(&quot;Products&quot;) ' Current record = 1st
++ With oRecordset
++ Set oMemo = .Fields(&quot;DetailedDescription&quot;)
++ lSize = oMemo.FieldSize
++ If lSize &lt; 64000 Then vValue = oMemo.Value ' If you want to manipulate the resulting string ...
++ If Not IsNull(vValue) Then 'A null field in the database returns a null value property
++ If Len(vValue) &gt; 0 Then
++ oMemo.WriteAllText(sFile)
++ End If
++ End If
++ End With
++ oRecordset.mClose()
++//}}}
++</pre>
++</div>
++<div title="ZoomOnImage" modifier="Jean-PierreLedure" created="201212241133" modified="201308161244" tags="HowTo">
++<pre>(Q) How can I enlarge a picture by moving the mouse above it ?
++
++(R) Bind 2 different image controls with different sizes to the same database field.
++
++Considering next table:
++&lt;&lt;tiddler &quot;ProductsTable&quot;&gt;&gt;
++and a form having a small (for thumbnail display) and a large image control, both bound to the same //Picture// database field ...
++!!!Solution based on mouse movements
++... use the (small) control's //Mouse inside// and //Mouse outside// events to let appear and disappear the large image.
++Link to them next code:
++//{{{
++Sub ZoomInOut(poEvent As Object)
++Dim ofForm As Object, ocZoom As Object
++ Set ofForm = Events(poEvent).Source.Parent
++ Set ocZoom = ofForm.Controls(&quot;imgZoom&quot;)
++ ocZoom.Visible = Not ocZoom.Visible
++End Sub
++//}}}
++To ensure the right behaviour, we reset the //Visible// property //After// each //record change//:
++//{{{
++Sub ZoomInit(poEvent As Object)
++Dim ofForm As Object, ocZoom As Object
++ Set ofForm = Events(poEvent).Source
++ Set ocZoom = ofForm.Controls(&quot;imgZoom&quot;)
++ ocZoom.Visible = False
++End Sub
++//}}}
++!!!See also
++[[Visible]]
++[[Events Handler]]
++!!!Refer to ...
++| !Basic module | !Form | !Form event | !Control | !Control event |!Comments |
++|Zoom |~Products_ZoomImage |After record change |imgPicture |Mouse inside&lt;br /&gt;Mouse outside ||</pre>
++</div>
++<div title="calculator.png" modifier="Jean-Pierre Ledure" created="201304121752" modified="201408011525" tags="attachment excludeMissing excludeLists Image" changecount="1">
++<pre>!usage
++{{{[img[calculator.png]]}}}
++[img[calculator.png]]
++!notes
++//none//
++!type
++image/png
++!file
++./_wikiimages/calculator.png
++!url
++
++!data
++
++</pre>
++</div>
++<div title="dbaccess_from_calc.png" modifier="Jean-Pierre Ledure" created="201404051345" modified="201408011525" tags="attachment excludeMissing excludeLists Image" changecount="1">
++<pre>!usage
++{{{[img[dbaccess_from_calc.png]]}}}
++[img[dbaccess_from_calc.png]]
++!notes
++//none//
++!type
++image/png
++!file
++./_wikiimages/dbaccess_from_calc.png
++!url
++
++!data
++
++</pre>
++</div>
++<div title="getObject" modifier="Jean-Pierre Ledure" created="201108201410" modified="201405300620" tags="Shortcuts" changecount="1">
++<pre>The //getObject// function returns an [[object|Object Model]] designated by its [[shortcut notation|ShortCut Notation]].
++!!!Syntax
++{{{getObject(}}}//shortcut//{{{)}}}
++| !Shortcut |!Returned value |
++| String |An object of types [[Form]], [[Dialog]] or [[Control]]. Other types are currently not supported. |
++!!!See also
++[[ShortCut Notation]]
++[[getValue]]
++[[setValue]]
++!!!Example
++//{{{
++getObject(&quot;Forms!myForm!mySubForm.Form!myGridControl!mySubControl&quot;)
++//}}}
++is equivalent to
++//{{{
++Forms(&quot;myForm&quot;).Controls(&quot;mySubForm&quot;).Form.Controls(&quot;myGridControl&quot;).Controls(&quot;mySubControl&quot;)
++//}}}</pre>
++</div>
++<div title="getProperty" modifier="Jean-Pierre Ledure" created="201110010656" modified="201409271259" tags="Methods" changecount="7">
++<pre>The //getProperty// method returns the current value of any property of any [[object|Object Model]].
++!!!Applies to ...
++| !Object | !Description |
++|[[Collection]] |An array of objects accessible via their index or their names |
++|[[Control]] |The representation of a control within a form, a subform, a gridcontrol or a dialog.&lt;br /&gt;The control may be any control type including a [[gridcontrol|GridControl]]. |
++|[[Database]] |The representation of a database |
++|[[Event|Events]] |A description of an occurred form or control event |
++|[[Field]] |Identifies a field within a //~TableDef//, a //~QueryDef// or a //Recordset// |
++|[[Form]] |The representation of a database form |
++|[[OptionGroup]] |Identifies a group of radio buttons within a form or a subform. |
++|[[Property]] |A name-value pair allowing objects introspection |
++|[[QueryDef]] |Corresponds with a query definition |
++|[[Recordset]] |Identifies a set of records related to a table, a query or a SQL statement |
++|[[SubForm]] |Identifies a specific control which is a subform of a database form or another subform |
++|[[TableDef]] |Corresponds with a table definition |
++|[[TempVar]] |Represents a temporary variable |
++!!!Syntax
++//collection//.{{{getProperty}}}(//property-name//{{{)}}}
++//control//.{{{getProperty(}}}//property-name//{{{)}}}
++//control//.{{{getProperty(}}}//property-name//{{{, }}}//index//{{{)}}}
++//database//.{{{getProperty(}}}//property-name//{{{)}}}
++//event//.{{{getProperty(}}}//property-name//{{{)}}}
++//field//.{{{getProperty(}}}//property-name//{{{)}}}
++//form//.{{{getProperty(}}}//property-name//{{{)}}}
++//optiongroup//.{{{getProperty(}}}//property-name//{{{)}}}
++//property//.{{{getProperty(}}}//property-name//{{{)}}}
++//querydef//.{{{getProperty(}}}//property-name//{{{)}}}
++//recordset//.{{{getProperty(}}}//property-name//{{{)}}}
++|//subform//.{{{getProperty(}}}//property-name//{{{)}}}
++//subform//.{{{getProperty(}}}//property-name//{{{, }}}//index//{{{)}}}
++//tabledef//.{{{getProperty(}}}//property-name//{{{)}}}
++//tempvar//.{{{getProperty(}}}//property-name//{{{)}}}
++| !Applied to | !Type | !Argument #1 | !Type | !Argument #2 | !Type |!Returned value |
++|collection | [[Collection object|Collection]] | property-name | String |||Variant or Variant array. |
++|control | [[Control object|Control]] |~|~| index | absent |~|
++|~|~|~|~|~| Integer&lt;br /&gt;Long |Variant (or index-th array entry). |
++|database | [[Database object|Database]] |~|~|||Variant. |
++|event | [[Event object|Event]] |~|~|~|~|~|
++|field | [[Field object|Field]] |~|~|~|~|Variant. |
++|form | [[Form object|Form]] |~|~|~|~|Variant. |
++|optiongroup | [[Optiongroup object|OptionGroup]] |~|~|~|~|Variant. |
++|property | [[Property object|Property]] |~|~|~|~|Variant or Variant array. |
++|querydef | [[QueryDef object|QueryDef]] |~|~|~|~|Variant. |
++|recordset | [[Recordset object|Recordset]] |~|~|~|~|Variant. |
++|tabledef | [[TableDef object|TableDef]] |~|~|~|~|Variant. |
++|subform | [[Subform object|SubForm]] |~|~| index | absent |Variant or Variant array. |
++|~|~|~|~|~| Integer&lt;br /&gt;Long |Variant (or index-th array entry). |
++|tempvar | [[TempVar object|TempVar]] |~|~|||Variant. |
++!!!Remarks
++The //index// argument must have a (integer or long) value between 0 and the size of the array associated with the considered //property// - 1
++!!!Error messages
++|Argument nr. ... [Value = '...'] is invalid |
++|Property '...' not applicable in this context |
++|Out of array range or incorrect array size for property '...' |
++!!!See also
++[[Property]]
++[[Properties|Properties (collection)]]
++[[hasProperty]]
++[[setProperty]]
++!!!Example
++</pre>
++</div>
++<div title="getValue" modifier="Jean-PierreLedure" created="201108201414" modified="201212081501" tags="Shortcuts">
++<pre>The //getValue// function returns a property of an [[object|Object Model]] designated by its [[shortcut notation|ShortCut Notation]].
++!!!Syntax
++{{{getValue(}}}//shortcut//{{{)}}}
++| !Shortcut | !Returned value |
++| String | Variant |
++!!!Remark
++If the last component of the //shortcut// is not a property (i.e. the last operator is not a &quot;.&quot;) then the property [[Value]] is assumed.
++!!!See also
++[[ShortCut Notation]]
++[[getObject]]
++[[setValue]]
++The [[Value]] property
++!!!Example
++//{{{
++getValue(&quot;Forms!myForm!mySubForm.Form!myGridControl!mySubControl.ControlTipText&quot;)
++//}}}
++is equivalent to
++//{{{
++Forms(&quot;myForm&quot;).Controls(&quot;mySubForm&quot;).Form.Controls(&quot;myGridControl&quot;).Controls(&quot;mySubControl&quot;).ControlTipText
++//}}}</pre>
++</div>
++<div title="hasProperty" modifier="Jean-Pierre Ledure" created="201110011330" modified="201405241125" tags="Methods" changecount="2">
++<pre>The //hasProperty// method returns //True// if an [[object|Object Model]] has a specific //property//.
++!!!Applies to ...
++| !Object | !Description |
++|[[Collection]] |An array of objects accessible via their index or their names |
++|[[Database]] |The representation of a database object |
++|[[Form]] |The representation of a database form |
++|[[Control]] |The representation of a control within a form, a subform, a gridcontrol or a dialog.&lt;br /&gt;The control may be any control type including a [[gridcontrol|GridControl]]. |
++|[[SubForm]] |Identifies a specific control which is a subform of a database form or another subform |
++|[[OptionGroup]] |Identifies a group of radio buttons within a form or a subform. |
++|[[TableDef]] |Corresponds with a table definition |
++|[[QueryDef]] |Corresponds with a query definition |
++|[[Recordset]] |Identifies a set of records related to a table, a query or a SQL statement |
++|[[Field]] |Identifies a field within a //~TableDef//, a //~QueryDef// or a //Recordset// |
++|[[Property]] |A name-value pair allowing objects introspection |
++|[[Event|Events]] |A description of an occurred form or control event |
++!!!Syntax
++//object//.{{{hasProperty(}}}//property-name//{{{)}}}
++| !Argument | !Type |!Returned value |
++| property-name | String | Boolean |
++!!!Error messages
++|Argument nr. ... [Value = '...'] is invalid |
++!!!See also
++[[Property]]
++[[Properties|Properties (collection)]]
++[[getProperty]]
++[[setProperty]]
++!!!Example
++&lt;&lt;tiddler &quot;setProperty example&quot;&gt;&gt;</pre>
++</div>
++<div title="objectmodel.png" creator="Jean-Pierre Ledure" modifier="Jean-Pierre Ledure" created="201405171020" modified="201405171020" tags="attachment excludeLists excludeMissing Image" changecount="2">
++<pre>!usage
++{{{[img[objectmodel.png]]}}}
++[img[objectmodel.png]]
++!notes
++//none//
++!type
++image/png
++!file
++./_wikiimages/objectmodel.png
++!url
++
++!data
++
++</pre>
++</div>
++<div title="setProperty" modifier="Jean-Pierre Ledure" created="201110011035" modified="201409271309" tags="Methods" changecount="6">
++<pre>The //setProperty// method modifies the current value of any modifiable property of [[objects|Object Model]].
++!!!Applies to ...
++| !Object | !Description |
++|[[Control]] |The representation of a control within a form, a subform, a gridcontrol or a dialog.&lt;br /&gt;The control may be any control type including a [[gridcontrol|GridControl]]. |
++|[[Field]] |Identifies a field within a //~TableDef//, a //~QueryDef// or a //Recordset// |
++|[[Form]] |The representation of a database form |
++|[[OptionGroup]] |Identifies a group of radio buttons within a form or a subform. |
++|[[QueryDef]] |Corresponds with a query definition |
++|[[Recordset]] |Identifies a set of records related to a table, a query or a SQL statement |
++|[[SubForm]] |Identifies a specific control which is a subform of a database form or another subform |
++|[[TempVar]] |Represents a temporary variable |
++!!!Syntax
++//control//.{{{setProperty(}}}//property-name, value//{{{)}}}
++//control//.{{{setProperty(}}}//property-name, value, index//{{{)}}}
++//field//.{{{setProperty(}}}//property-name, value//{{{)}}}
++//form//.{{{setProperty(}}}//property-name, value//{{{)}}}
++//optiongroup//.{{{setProperty(}}}//property-name, value//{{{)}}}
++//querydef//.{{{setProperty(}}}//property-name, value//{{{)}}}
++//recordset//.{{{setProperty(}}}//property-name, value//{{{)}}}
++//subform//.{{{setProperty(}}}//property-name, value//{{{)}}}
++//tempvar//.{{{setProperty(}}}//property-name, value//{{{)}}}
++| !Applied to | !Type | !Argument #1 | !Type | !Argument #2 | !Type | !Argument #3 | !Type | !Returned value |
++| control | [[Control object|Control]] | property-name | String | value | Variant | index | absent |{{{True}}} if success. |
++|~|~|~|~|~|~|~| Integer&lt;br /&gt;Long |~|
++| field | [[Field object|Field]] |~|~|~|~|||~|
++| form | [[Form object|Form]] |~|~|~|~|~|~|~|
++| optiongroup | [[Optiongroup object|OptionGroup]] |~|~|~|~|~|~|~|
++| querydef | [[QueryDef object|QueryDef]] |~|~|~|~|~|~|~|
++| recordset | [[Recordset object|Recordset]] |~|~|~|~|~|~|~|
++| subform | [[Subform object|SubForm]] |~|~|~|~|~|~|~|
++| tempvar | [[Subform object|SubForm]] |~|~|~|~|~|~|~|
++!!!Remarks
++The //index// argument must have a (integer or long) value between 0 and the size of the array associated with the considered //property// - 1.
++!!!Error messages
++|Argument nr. ... [Value = '...'] is invalid |
++|Property '...' not applicable in this context |
++|Value '...' is invalid for property '...' |
++|Out of array range or incorrect array size for property '...' |
++!!!See also
++[[Property]]
++[[Properties|Properties (collection)]]
++[[hasProperty]]
++[[getProperty]]
++!!!Example
++&lt;&lt;tiddler &quot;setProperty example&quot;&gt;&gt;
++</pre>
++</div>
++<div title="setProperty example" modifier="Jean-PierreLedure" created="201110011114" modified="201212081453" tags="[[Snippets of Code]]">
++<pre>Set all enabled controls on a form in italic
++//{{{
++Dim ofForm As Object, i As Integer, iCount As Integer, ocControl As Object
++ Set ofForm = Forms(&quot;myForm&quot;)
++ iCount = ofForm.Controls().Count
++ For i = 0 To iCount - 1
++ Set ocControl = ofForm.Controls(i)
++ If ocControl.hasProperty(&quot;FONTITALIC&quot;) Then
++ If ocControl.hasProperty(&quot;ENABLED&quot;) Then
++ If ocControl.Enabled Then ocControl.setProperty(&quot;FONTITALIC&quot;, True)
++ End If
++ End If
++ Next i
++//}}}</pre>
++</div>
++<div title="setValue" modifier="Jean-PierreLedure" created="201108201419" modified="201212151153" tags="Shortcuts">
++<pre>The //setValue// function sets a property of an [[object|Object Model]] designated by its [[shortcut notation|ShortCut Notation]].
++!!!Syntax
++{{{setValue(}}}//shortcut, value//{{{)}}}
++| !Shortcut | !Value |!Returned value |
++| String | Variant |Boolean. True if success. |
++!!!Remark
++If the last component of the //shortcut// is not a property (i.e. the last operator is not a &quot;.&quot;) then the property [[Value]] is assumed.
++The //setValue// does not allow to set a single element of an array if the property value is an array. However setting all the elements at once is allowed.
++!!!See also
++[[ShortCut Notation]]
++[[getObject]]
++[[getValue]]
++The [[Value]] property
++!!!Example
++//{{{
++setValue(&quot;Forms!myForm!mySubForm.Form!myGridControl!mySubControl.ControlTipText&quot;, &quot;New tip&quot;)
++//}}}
++is equivalent to
++//{{{
++Forms(&quot;myForm&quot;).Controls(&quot;mySubForm&quot;).Form.Controls(&quot;myGridControl&quot;).Controls(&quot;mySubControl&quot;).ControlTipText = &quot;New tip&quot;
++//}}}</pre>
++</div>
++<div title="systemConfig" modifier="Jean-Pierre Ledure" created="201106250958" modified="201108061610" tags="excludeLists">
++<pre>Type the text for 'systemConfig'</pre>
++</div>
++<div title="tabbed_details.png" modifier="Jean-Pierre Ledure" created="201401031511" modified="201408011526" tags="attachment excludeMissing excludeLists Image" changecount="1">
++<pre>!usage
++{{{[img[tabbed_details.png]]}}}
++[img[tabbed_details.png]]
++!notes
++//none//
++!type
++image/png
++!file
++./_wikiimages/tabbed_details.png
++!url
++
++!data
++
++</pre>
++</div>
++<div title="tabbed_orders.png" modifier="Jean-Pierre Ledure" created="201401031506" modified="201408011526" tags="attachment excludeMissing excludeLists Image" changecount="1">
++<pre>!usage
++{{{[img[tabbed_orders.png]]}}}
++[img[tabbed_orders.png]]
++!notes
++//none//
++!type
++image/png
++!file
++./_wikiimages/tabbed_orders.png
++!url
++
++!data
++
++</pre>
++</div>
++<div title="traceerror msgbox.png" modifier="Jean-Pierre Ledure" created="201108071525" modified="201408011526" tags="attachment excludeMissing excludeLists Image" changecount="1">
++<pre>!usage
++{{{[img[traceerror msgbox.png]]}}}
++[img[traceerror msgbox.png]]
++!notes
++//none//
++!type
++image/png
++!file
++./_wikiimages/traceerror msgbox.png
++!url
++
++!data
++
++</pre>
++</div>
++<div title="tracelog dialog.png" modifier="Jean-Pierre Ledure" created="201108061443" modified="201408011527" tags="Image excludeLists attachment excludeMissing" changecount="1">
++<pre>!usage
++{{{[img[tracelog dialog.png]]}}}
++[img[tracelog dialog.png]]
++!notes
++//none//
++!type
++image/png
++!file
++./_wikiimages/tracelog dialog.png
++!url
++
++!data
++
++</pre>
++</div>
++<div title="tracelog msgbox.png" modifier="Jean-Pierre Ledure" created="201108071453" modified="201408011527" tags="attachment excludeMissing excludeLists Image" changecount="1">
++<pre>!usage
++{{{[img[tracelog msgbox.png]]}}}
++[img[tracelog msgbox.png]]
++!notes
++//none//
++!type
++image/png
++!file
++./_wikiimages/tracelog msgbox.png
++!url
++
++!data
++
++</pre>
++</div>
++</div>
++<!--POST-STOREAREA-->
++<!--POST-BODY-START-->
++
++<!--POST-BODY-END-->
++<script id="jsArea" type="text/javascript">
++//<![CDATA[
++
++//
++// Please note:
++//
++// * This code is designed to be readable but for compactness it only includes brief comments. You can see fuller comments
++// in the project repository at https://github.com/TiddlyWiki/tiddlywiki
++//
++// * You should never need to modify this source code directly. TiddlyWiki is carefully designed to allow deep customisation
++// without changing the core code. Please consult the development group at http://groups.google.com/group/TiddlyWikiDev
++//
++// JSLint directives
++/*global jQuery:false, version:false */
++/*jslint bitwise:true, browser:true, confusion:true, eqeq:true, evil:true, forin:true, maxerr:100, plusplus:true, regexp:true, sloppy:true, sub:true, undef:true, unparam:true, vars:true, white:true */
++//--
++//-- Configuration repository
++//--
++
++// Miscellaneous options
++var config = {
++ numRssItems: 20, // Number of items in the RSS feed
++ animDuration: 400, // Duration of UI animations in milliseconds
++ cascadeFast: 20, // Speed for cascade animations (higher == slower)
++ cascadeSlow: 60, // Speed for EasterEgg cascade animations
++ cascadeDepth: 5, // Depth of cascade animation
++ locale: "en" // W3C language tag
++};
++
++// Hashmap of alternative parsers for the wikifier
++config.parsers = {};
++
++// Adaptors
++config.adaptors = {};
++config.defaultAdaptor = null;
++
++// Backstage tasks
++config.tasks = {};
++
++// Annotations
++config.annotations = {};
++
++// Custom fields to be automatically added to new tiddlers
++config.defaultCustomFields = {};
++
++// Messages
++config.messages = {
++ messageClose: {},
++ dates: {},
++ tiddlerPopup: {}
++};
++
++// Options that can be set in the options panel and/or cookies
++config.options = {
++ chkRegExpSearch: false,
++ chkCaseSensitiveSearch: false,
++ chkIncrementalSearch: true,
++ chkAnimate: true,
++ chkSaveBackups: true,
++ chkAutoSave: false,
++ chkGenerateAnRssFeed: false,
++ chkSaveEmptyTemplate: false,
++ chkOpenInNewWindow: true,
++ chkToggleLinks: false,
++ chkHttpReadOnly: true,
++ chkForceMinorUpdate: false,
++ chkConfirmDelete: true,
++ chkInsertTabs: false,
++ chkUsePreForStorage: true, // Whether to use <pre> format for storage
++ chkDisplayInstrumentation: false,
++ txtBackupFolder: "",
++ txtEditorFocus: "text",
++ txtMainTab: "tabTimeline",
++ txtMoreTab: "moreTabAll",
++ txtMaxEditRows: "30",
++ txtFileSystemCharSet: "UTF-8",
++ txtTheme: ""
++ };
++config.optionsDesc = {};
++
++config.optionsSource = {};
++
++// Default tiddler templates
++var DEFAULT_VIEW_TEMPLATE = 1;
++var DEFAULT_EDIT_TEMPLATE = 2;
++config.tiddlerTemplates = {
++ 1: "ViewTemplate",
++ 2: "EditTemplate"
++};
++
++// More messages (rather a legacy layout that should not really be like this)
++config.views = {
++ wikified: {
++ tag: {}
++ },
++ editor: {
++ tagChooser: {}
++ }
++};
++
++// Backstage tasks
++config.backstageTasks = ["save","importTask","tweak","upgrade","plugins"];
++
++// Extensions
++config.extensions = {};
++
++// Macros; each has a 'handler' member that is inserted later
++config.macros = {
++ today: {},
++ version: {},
++ search: {sizeTextbox: 15},
++ tiddler: {},
++ tag: {},
++ tags: {},
++ tagging: {},
++ timeline: {},
++ allTags: {},
++ list: {
++ all: {},
++ missing: {},
++ orphans: {},
++ shadowed: {},
++ touched: {},
++ filter: {}
++ },
++ closeAll: {},
++ permaview: {},
++ saveChanges: {},
++ slider: {},
++ option: {},
++ options: {},
++ newTiddler: {},
++ newJournal: {},
++ tabs: {},
++ gradient: {},
++ message: {},
++ view: {defaultView: "text"},
++ edit: {},
++ tagChooser: {},
++ toolbar: {},
++ plugins: {},
++ refreshDisplay: {},
++ importTiddlers: {},
++ upgrade: {
++ source: "http://tiddlywiki-releases.tiddlyspace.com/upgrade",
++ backupExtension: "pre.core.upgrade"
++ },
++ sync: {},
++ annotations: {}
++};
++
++// Commands supported by the toolbar macro
++config.commands = {
++ closeTiddler: {},
++ closeOthers: {},
++ editTiddler: {},
++ saveTiddler: {hideReadOnly: true},
++ cancelTiddler: {},
++ deleteTiddler: {hideReadOnly: true},
++ permalink: {},
++ references: {type: "popup"},
++ jump: {type: "popup"},
++ syncing: {type: "popup"},
++ fields: {type: "popup"}
++};
++
++// Control of macro parameter evaluation
++config.evaluateMacroParameters = "all";
++
++// Basic regular expressions
++config.textPrimitives = {
++ upperLetter: "[A-Z\u00c0-\u00de\u0150\u0170]",
++ lowerLetter: "[a-z0-9_\\-\u00df-\u00ff\u0151\u0171]",
++ anyLetter: "[A-Za-z0-9_\\-\u00c0-\u00de\u00df-\u00ff\u0150\u0170\u0151\u0171]",
++ anyLetterStrict: "[A-Za-z0-9\u00c0-\u00de\u00df-\u00ff\u0150\u0170\u0151\u0171]"
++};
++if(!((new RegExp("[\u0150\u0170]","g")).test("\u0150"))) {
++ config.textPrimitives = {
++ upperLetter: "[A-Z\u00c0-\u00de]",
++ lowerLetter: "[a-z0-9_\\-\u00df-\u00ff]",
++ anyLetter: "[A-Za-z0-9_\\-\u00c0-\u00de\u00df-\u00ff]",
++ anyLetterStrict: "[A-Za-z0-9\u00c0-\u00de\u00df-\u00ff]"
++ };
++}
++config.textPrimitives.sliceSeparator = "::";
++config.textPrimitives.sectionSeparator = "##";
++config.textPrimitives.urlPattern = "(?:file|http|https|mailto|ftp|irc|news|data):[^\\s'\"]+(?:/|\\b)";
++config.textPrimitives.unWikiLink = "~";
++config.textPrimitives.wikiLink = "(?:(?:" + config.textPrimitives.upperLetter + "+" +
++ config.textPrimitives.lowerLetter + "+" +
++ config.textPrimitives.upperLetter +
++ config.textPrimitives.anyLetter + "*)|(?:" +
++ config.textPrimitives.upperLetter + "{2,}" +
++ config.textPrimitives.lowerLetter + "+))";
++
++config.textPrimitives.cssLookahead = "(?:(" + config.textPrimitives.anyLetter + "+)\\(([^\\)\\|\\n]+)(?:\\):))|(?:(" + config.textPrimitives.anyLetter + "+):([^;\\|\\n]+);)";
++config.textPrimitives.cssLookaheadRegExp = new RegExp(config.textPrimitives.cssLookahead,"mg");
++
++config.textPrimitives.brackettedLink = "\\[\\[([^\\]]+)\\]\\]";
++config.textPrimitives.titledBrackettedLink = "\\[\\[([^\\[\\]\\|]+)\\|([^\\[\\]\\|]+)\\]\\]";
++config.textPrimitives.tiddlerForcedLinkRegExp = new RegExp("(?:" + config.textPrimitives.titledBrackettedLink + ")|(?:" +
++ config.textPrimitives.brackettedLink + ")|(?:" +
++ config.textPrimitives.urlPattern + ")","mg");
++config.textPrimitives.tiddlerAnyLinkRegExp = new RegExp("("+ config.textPrimitives.wikiLink + ")|(?:" +
++ config.textPrimitives.titledBrackettedLink + ")|(?:" +
++ config.textPrimitives.brackettedLink + ")|(?:" +
++ config.textPrimitives.urlPattern + ")","mg");
++
++config.glyphs = {
++ currBrowser: null,
++ browsers: [],
++ codes: {}
++};
++
++//--
++//-- Shadow tiddlers
++//--
++
++config.shadowTiddlers = {
++ StyleSheet: "",
++ MarkupPreHead: "",
++ MarkupPostHead: "",
++ MarkupPreBody: "",
++ MarkupPostBody: "",
++ TabTimeline: '<<timeline>>',
++ TabAll: '<<list all>>',
++ TabTags: '<<allTags excludeLists>>',
++ TabMoreMissing: '<<list missing>>',
++ TabMoreOrphans: '<<list orphans>>',
++ TabMoreShadowed: '<<list shadowed>>',
++ AdvancedOptions: '<<options>>',
++ PluginManager: '<<plugins>>',
++ SystemSettings: '',
++ ToolbarCommands: '|~ViewToolbar|closeTiddler closeOthers +editTiddler > fields syncing permalink references jump|\n|~EditToolbar|+saveTiddler -cancelTiddler deleteTiddler|',
++ WindowTitle: '<<tiddler SiteTitle>> - <<tiddler SiteSubtitle>>'
++};
++
++// Browser detection... In a very few places, there's nothing else for it but to know what browser we're using.
++config.userAgent = navigator.userAgent.toLowerCase();
++config.browser = {
++ isIE: config.userAgent.indexOf("msie") != -1 && config.userAgent.indexOf("opera") == -1,
++ isGecko: navigator.product == "Gecko" && config.userAgent.indexOf("WebKit") == -1,
++ ieVersion: /MSIE (\d{1,2}.\d)/i.exec(config.userAgent), // config.browser.ieVersion[1], if it exists, will be the IE version string, eg "6.0"
++ isSafari: config.userAgent.indexOf("applewebkit") != -1,
++ isBadSafari: !((new RegExp("[\u0150\u0170]","g")).test("\u0150")),
++ firefoxDate: /gecko\/(\d{8})/i.exec(config.userAgent), // config.browser.firefoxDate[1], if it exists, will be Firefox release date as "YYYYMMDD"
++ isOpera: config.userAgent.indexOf("opera") != -1,
++ isChrome: config.userAgent.indexOf('chrome') > -1,
++ isLinux: config.userAgent.indexOf("linux") != -1,
++ isUnix: config.userAgent.indexOf("x11") != -1,
++ isMac: config.userAgent.indexOf("mac") != -1,
++ isWindows: config.userAgent.indexOf("win") != -1
++};
++
++merge(config.glyphs,{
++ browsers: [
++ function() {return config.browser.isIE;},
++ function() {return true;}
++ ],
++ codes: {
++ downTriangle: ["\u25BC","\u25BE"],
++ downArrow: ["\u2193","\u2193"],
++ bentArrowLeft: ["\u2190","\u21A9"],
++ bentArrowRight: ["\u2192","\u21AA"]
++ }
++});
++
++//--
++//-- Translateable strings
++//--
++
++// Strings in "double quotes" should be translated; strings in 'single quotes' should be left alone
++
++merge(config.options,{
++ txtUserName: "YourName"});
++
++merge(config.tasks,{
++ save: {text: "save", tooltip: "Save your changes to this TiddlyWiki"},
++ importTask: {text: "import", tooltip: "Import tiddlers and plugins from other TiddlyWiki files and servers", content: '<<importTiddlers>>'},
++ tweak: {text: "tweak", tooltip: "Tweak the appearance and behaviour of TiddlyWiki", content: '<<options>>'},
++ upgrade: {text: "upgrade", tooltip: "Upgrade TiddlyWiki core code", content: '<<upgrade>>'},
++ plugins: {text: "plugins", tooltip: "Manage installed plugins", content: '<<plugins>>'}
++});
++
++// Options that can be set in the options panel and/or cookies
++merge(config.optionsDesc,{
++ txtUserName: "Username for signing your edits",
++ chkRegExpSearch: "Enable regular expressions for searches",
++ chkCaseSensitiveSearch: "Case-sensitive searching",
++ chkIncrementalSearch: "Incremental key-by-key searching",
++ chkAnimate: "Enable animations",
++ chkSaveBackups: "Keep backup file when saving changes",
++ chkAutoSave: "Automatically save changes",
++ chkGenerateAnRssFeed: "Generate an RSS feed when saving changes",
++ chkSaveEmptyTemplate: "Generate an empty template when saving changes",
++ chkOpenInNewWindow: "Open external links in a new window",
++ chkToggleLinks: "Clicking on links to open tiddlers causes them to close",
++ chkHttpReadOnly: "Hide editing features when viewed over HTTP",
++ chkForceMinorUpdate: "Don't update modifier username and date when editing tiddlers",
++ chkConfirmDelete: "Require confirmation before deleting tiddlers",
++ chkInsertTabs: "Use the tab key to insert tab characters instead of moving between fields",
++ txtBackupFolder: "Name of folder to use for backups",
++ txtMaxEditRows: "Maximum number of rows in edit boxes",
++ txtTheme: "Name of the theme to use",
++ txtFileSystemCharSet: "Default character set for saving changes (Firefox/Mozilla only)"});
++
++merge(config.messages,{
++ customConfigError: "Problems were encountered loading plugins. See PluginManager for details",
++ pluginError: "Error: %0",
++ pluginDisabled: "Not executed because disabled via 'systemConfigDisable' tag",
++ pluginForced: "Executed because forced via 'systemConfigForce' tag",
++ pluginVersionError: "Not executed because this plugin needs a newer version of TiddlyWiki",
++ nothingSelected: "Nothing is selected. You must select one or more items first",
++ savedSnapshotError: "It appears that this TiddlyWiki has been incorrectly saved. Please see http://www.tiddlywiki.com/#Download for details",
++ subtitleUnknown: "(unknown)",
++ undefinedTiddlerToolTip: "The tiddler '%0' doesn't yet exist",
++ shadowedTiddlerToolTip: "The tiddler '%0' doesn't yet exist, but has a pre-defined shadow value",
++ tiddlerLinkTooltip: "%0 - %1, %2",
++ externalLinkTooltip: "External link to %0",
++ noTags: "There are no tagged tiddlers",
++ notFileUrlError: "You need to save this TiddlyWiki to a file before you can save changes",
++ cantSaveError: "It's not possible to save changes. Possible reasons include:\n- your browser doesn't support saving (Firefox, Internet Explorer, Safari and Opera all work if properly configured)\n- the pathname to your TiddlyWiki file contains illegal characters\n- the TiddlyWiki HTML file has been moved or renamed",
++ invalidFileError: "The original file '%0' does not appear to be a valid TiddlyWiki",
++ backupSaved: "Backup saved",
++ backupFailed: "Failed to save backup file",
++ rssSaved: "RSS feed saved",
++ rssFailed: "Failed to save RSS feed file",
++ emptySaved: "Empty template saved",
++ emptyFailed: "Failed to save empty template file",
++ mainSaved: "Main TiddlyWiki file saved",
++ mainDownload: "Downloading/saving main TiddlyWiki file",
++ mainDownloadManual: "RIGHT CLICK HERE to download/save main TiddlyWiki file",
++ mainFailed: "Failed to save main TiddlyWiki file. Your changes have not been saved",
++ macroError: "Error in macro <<%0>>",
++ macroErrorDetails: "Error while executing macro <<%0>>:\n%1",
++ missingMacro: "No such macro",
++ overwriteWarning: "A tiddler named '%0' already exists. Choose OK to overwrite it",
++ unsavedChangesWarning: "WARNING! There are unsaved changes in TiddlyWiki\n\nChoose OK to save\nChoose CANCEL to discard",
++ confirmExit: "--------------------------------\n\nThere are unsaved changes in TiddlyWiki. If you continue you will lose those changes\n\n--------------------------------",
++ saveInstructions: "SaveChanges",
++ unsupportedTWFormat: "Unsupported TiddlyWiki format '%0'",
++ tiddlerSaveError: "Error when saving tiddler '%0'",
++ tiddlerLoadError: "Error when loading tiddler '%0'",
++ wrongSaveFormat: "Cannot save with storage format '%0'. Using standard format for save.",
++ invalidFieldName: "Invalid field name %0",
++ fieldCannotBeChanged: "Field '%0' cannot be changed",
++ loadingMissingTiddler: "Attempting to retrieve the tiddler '%0' from the '%1' server at:\n\n'%2' in the workspace '%3'",
++ upgradeDone: "The upgrade to version %0 is now complete\n\nClick 'OK' to reload the newly upgraded TiddlyWiki",
++ invalidCookie: "Invalid cookie '%0'"});
++
++merge(config.messages.messageClose,{
++ text: "close",
++ tooltip: "close this message area"});
++
++config.messages.backstage = {
++ open: {text: "backstage", tooltip: "Open the backstage area to perform authoring and editing tasks"},
++ close: {text: "close", tooltip: "Close the backstage area"},
++ prompt: "backstage: ",
++ decal: {
++ edit: {text: "edit", tooltip: "Edit the tiddler '%0'"}
++ }
++};
++
++config.messages.listView = {
++ tiddlerTooltip: "Click for the full text of this tiddler",
++ previewUnavailable: "(preview not available)"
++};
++
++config.messages.dates.months = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November","December"];
++config.messages.dates.days = ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"];
++config.messages.dates.shortMonths = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
++config.messages.dates.shortDays = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"];
++// suffixes for dates, eg "1st","2nd","3rd"..."30th","31st"
++config.messages.dates.daySuffixes = ["st","nd","rd","th","th","th","th","th","th","th",
++ "th","th","th","th","th","th","th","th","th","th",
++ "st","nd","rd","th","th","th","th","th","th","th",
++ "st"];
++config.messages.dates.am = "am";
++config.messages.dates.pm = "pm";
++
++merge(config.messages.tiddlerPopup,{
++ });
++
++merge(config.views.wikified.tag,{
++ labelNoTags: "no tags",
++ labelTags: "tags: ",
++ openTag: "Open tag '%0'",
++ tooltip: "Show tiddlers tagged with '%0'",
++ openAllText: "Open all",
++ openAllTooltip: "Open all of these tiddlers",
++ popupNone: "No other tiddlers tagged with '%0'"});
++
++merge(config.views.wikified,{
++ defaultText: "The tiddler '%0' doesn't yet exist. Double-click to create it",
++ defaultModifier: "(missing)",
++ shadowModifier: "(built-in shadow tiddler)",
++ dateFormat: "DD MMM YYYY",
++ createdPrompt: "created"});
++
++merge(config.views.editor,{
++ tagPrompt: "Type tags separated with spaces, [[use double square brackets]] if necessary, or add existing",
++ defaultText: "Type the text for '%0'"});
++
++merge(config.views.editor.tagChooser,{
++ text: "tags",
++ tooltip: "Choose existing tags to add to this tiddler",
++ popupNone: "There are no tags defined",
++ tagTooltip: "Add the tag '%0'"});
++
++merge(config.messages,{
++ sizeTemplates:
++ [
++ {unit: 1024*1024*1024, template: "%0\u00a0GB"},
++ {unit: 1024*1024, template: "%0\u00a0MB"},
++ {unit: 1024, template: "%0\u00a0KB"},
++ {unit: 1, template: "%0\u00a0B"}
++ ]});
++
++merge(config.macros.search,{
++ label: "search",
++ prompt: "Search this TiddlyWiki",
++ placeholder: "",
++ accessKey: "F",
++ successMsg: "%0 tiddlers found matching %1",
++ failureMsg: "No tiddlers found matching %0"});
++
++merge(config.macros.tagging,{
++ label: "tagging: ",
++ labelNotTag: "not tagging",
++ tooltip: "List of tiddlers tagged with '%0'"});
++
++merge(config.macros.timeline,{
++ dateFormat: "DD MMM YYYY"});
++
++merge(config.macros.allTags,{
++ tooltip: "Show tiddlers tagged with '%0'",
++ noTags: "There are no tagged tiddlers"});
++
++config.macros.list.all.prompt = "All tiddlers in alphabetical order";
++config.macros.list.missing.prompt = "Tiddlers that have links to them but are not defined";
++config.macros.list.orphans.prompt = "Tiddlers that are not linked to from any other tiddlers";
++config.macros.list.shadowed.prompt = "Tiddlers shadowed with default contents";
++config.macros.list.touched.prompt = "Tiddlers that have been modified locally";
++
++merge(config.macros.closeAll,{
++ label: "close all",
++ prompt: "Close all displayed tiddlers (except any that are being edited)"});
++
++merge(config.macros.permaview,{
++ label: "permaview",
++ prompt: "Link to an URL that retrieves all the currently displayed tiddlers"});
++
++merge(config.macros.saveChanges,{
++ label: "save changes",
++ prompt: "Save all tiddlers to create a new TiddlyWiki",
++ accessKey: "S"});
++
++merge(config.macros.newTiddler,{
++ label: "new tiddler",
++ prompt: "Create a new tiddler",
++ title: "New Tiddler",
++ accessKey: "N"});
++
++merge(config.macros.newJournal,{
++ label: "new journal",
++ prompt: "Create a new tiddler from the current date and time",
++ accessKey: "J"});
++
++merge(config.macros.options,{
++ wizardTitle: "Tweak advanced options",
++ step1Title: "These options are saved in cookies in your browser",
++ step1Html: "<input type='hidden' name='markList'></input><br><input type='checkbox' checked='false' name='chkUnknown'>Show unknown options</input>",
++ unknownDescription: "//(unknown)//",
++ listViewTemplate: {
++ columns: [
++ {name: 'Option', field: 'option', title: "Option", type: 'String'},
++ {name: 'Description', field: 'description', title: "Description", type: 'WikiText'},
++ {name: 'Name', field: 'name', title: "Name", type: 'String'}
++ ],
++ rowClasses: [
++ {className: 'lowlight', field: 'lowlight'}
++ ]}
++ });
++
++merge(config.macros.plugins,{
++ wizardTitle: "Manage plugins",
++ step1Title: "Currently loaded plugins",
++ step1Html: "<input type='hidden' name='markList'></input>", // DO NOT TRANSLATE
++ skippedText: "(This plugin has not been executed because it was added since startup)",
++ noPluginText: "There are no plugins installed",
++ confirmDeleteText: "Are you sure you want to delete these plugins:\n\n%0",
++ removeLabel: "remove systemConfig tag",
++ removePrompt: "Remove systemConfig tag",
++ deleteLabel: "delete",
++ deletePrompt: "Delete these tiddlers forever",
++ listViewTemplate: {
++ columns: [
++ {name: 'Selected', field: 'Selected', rowName: 'title', type: 'Selector'},
++ {name: 'Tiddler', field: 'tiddler', title: "Tiddler", type: 'Tiddler'},
++ {name: 'Description', field: 'Description', title: "Description", type: 'String'},
++ {name: 'Version', field: 'Version', title: "Version", type: 'String'},
++ {name: 'Size', field: 'size', tiddlerLink: 'size', title: "Size", type: 'Size'},
++ {name: 'Forced', field: 'forced', title: "Forced", tag: 'systemConfigForce', type: 'TagCheckbox'},
++ {name: 'Disabled', field: 'disabled', title: "Disabled", tag: 'systemConfigDisable', type: 'TagCheckbox'},
++ {name: 'Executed', field: 'executed', title: "Loaded", type: 'Boolean', trueText: "Yes", falseText: "No"},
++ {name: 'Startup Time', field: 'startupTime', title: "Startup Time", type: 'String'},
++ {name: 'Error', field: 'error', title: "Status", type: 'Boolean', trueText: "Error", falseText: "OK"},
++ {name: 'Log', field: 'log', title: "Log", type: 'StringList'}
++ ],
++ rowClasses: [
++ {className: 'error', field: 'error'},
++ {className: 'warning', field: 'warning'}
++ ]},
++ listViewTemplateReadOnly: {
++ columns: [
++ {name: 'Tiddler', field: 'tiddler', title: "Tiddler", type: 'Tiddler'},
++ {name: 'Description', field: 'Description', title: "Description", type: 'String'},
++ {name: 'Version', field: 'Version', title: "Version", type: 'String'},
++ {name: 'Size', field: 'size', tiddlerLink: 'size', title: "Size", type: 'Size'},
++ {name: 'Executed', field: 'executed', title: "Loaded", type: 'Boolean', trueText: "Yes", falseText: "No"},
++ {name: 'Startup Time', field: 'startupTime', title: "Startup Time", type: 'String'},
++ {name: 'Error', field: 'error', title: "Status", type: 'Boolean', trueText: "Error", falseText: "OK"},
++ {name: 'Log', field: 'log', title: "Log", type: 'StringList'}
++ ],
++ rowClasses: [
++ {className: 'error', field: 'error'},
++ {className: 'warning', field: 'warning'}
++ ]}
++ });
++
++merge(config.macros.toolbar,{
++ moreLabel: "more",
++ morePrompt: "Show additional commands",
++ lessLabel: "less",
++ lessPrompt: "Hide additional commands",
++ separator: "|"
++ });
++
++merge(config.macros.refreshDisplay,{
++ label: "refresh",
++ prompt: "Redraw the entire TiddlyWiki display"
++ });
++
++merge(config.macros.importTiddlers,{
++ readOnlyWarning: "You cannot import into a read-only TiddlyWiki file. Try opening it from a file:// URL",
++ wizardTitle: "Import tiddlers from another file or server",
++ step1Title: "Step 1: Locate the server or TiddlyWiki file",
++ step1Html: "Specify the type of the server: <select name='selTypes'><option value=''>Choose...</option></select><br>Enter the URL or pathname here: <input type='text' size=50 name='txtPath'><br>...or browse for a file: <input type='file' size=50 name='txtBrowse'><br><hr>...or select a pre-defined feed: <select name='selFeeds'><option value=''>Choose...</option></select>",
++ openLabel: "open",
++ openPrompt: "Open the connection to this file or server",
++ statusOpenHost: "Opening the host",
++ statusGetWorkspaceList: "Getting the list of available workspaces",
++ step2Title: "Step 2: Choose the workspace",
++ step2Html: "Enter a workspace name: <input type='text' size=50 name='txtWorkspace'><br>...or select a workspace: <select name='selWorkspace'><option value=''>Choose...</option></select>",
++ cancelLabel: "cancel",
++ cancelPrompt: "Cancel this import",
++ statusOpenWorkspace: "Opening the workspace",
++ statusGetTiddlerList: "Getting the list of available tiddlers",
++ errorGettingTiddlerList: "Error getting list of tiddlers, click Cancel to try again",
++ errorGettingTiddlerListHttp404: "Error retrieving tiddlers from url, please ensure the url exists. Click Cancel to try again.",
++ errorGettingTiddlerListHttp: "Error retrieving tiddlers from url, please ensure this url exists and is <a href='http://enable-cors.org/'>CORS</a> enabled",
++ errorGettingTiddlerListFile: "Error retrieving tiddlers from local file, please make sure the file is in the same directory as your TiddlyWiki. Click Cancel to try again.",
++ step3Title: "Step 3: Choose the tiddlers to import",
++ step3Html: "<input type='hidden' name='markList'></input><br><input type='checkbox' checked='true' name='chkSync'>Keep these tiddlers linked to this server so that you can synchronise subsequent changes</input><br><input type='checkbox' name='chkSave'>Save the details of this server in a 'systemServer' tiddler called:</input> <input type='text' size=25 name='txtSaveTiddler'>",
++ importLabel: "import",
++ importPrompt: "Import these tiddlers",
++ confirmOverwriteText: "Are you sure you want to overwrite these tiddlers:\n\n%0",
++ step4Title: "Step 4: Importing %0 tiddler(s)",
++ step4Html: "<input type='hidden' name='markReport'></input>", // DO NOT TRANSLATE
++ doneLabel: "done",
++ donePrompt: "Close this wizard",
++ statusDoingImport: "Importing tiddlers",
++ statusDoneImport: "All tiddlers imported",
++ systemServerNamePattern: "%2 on %1",
++ systemServerNamePatternNoWorkspace: "%1",
++ confirmOverwriteSaveTiddler: "The tiddler '%0' already exists. Click 'OK' to overwrite it with the details of this server, or 'Cancel' to leave it unchanged",
++ serverSaveTemplate: "|''Type:''|%0|\n|''URL:''|%1|\n|''Workspace:''|%2|\n\nThis tiddler was automatically created to record the details of this server",
++ serverSaveModifier: "(System)",
++ listViewTemplate: {
++ columns: [
++ {name: 'Selected', field: 'Selected', rowName: 'title', type: 'Selector'},
++ {name: 'Tiddler', field: 'tiddler', title: "Tiddler", type: 'Tiddler'},
++ {name: 'Size', field: 'size', tiddlerLink: 'size', title: "Size", type: 'Size'},
++ {name: 'Tags', field: 'tags', title: "Tags", type: 'Tags'}
++ ],
++ rowClasses: [
++ ]}
++ });
++
++merge(config.macros.upgrade,{
++ wizardTitle: "Upgrade TiddlyWiki core code",
++ step1Title: "Update or repair this TiddlyWiki to the latest release",
++ step1Html: "You are about to upgrade to the latest release of the TiddlyWiki core code (from <a href='%0' class='externalLink' target='_blank'>%1</a>). Your content will be preserved across the upgrade.<br><br>Note that core upgrades have been known to interfere with older plugins. If you run into problems with the upgraded file, see <a href='http://www.tiddlywiki.org/wiki/CoreUpgrades' class='externalLink' target='_blank'>http://www.tiddlywiki.org/wiki/CoreUpgrades</a>",
++ errorCantUpgrade: "Unable to upgrade this TiddlyWiki. You can only perform upgrades on TiddlyWiki files stored locally",
++ errorNotSaved: "You must save changes before you can perform an upgrade",
++ step2Title: "Confirm the upgrade details",
++ step2Html_downgrade: "You are about to downgrade to TiddlyWiki version %0 from %1.<br><br>Downgrading to an earlier version of the core code is not recommended",
++ step2Html_restore: "This TiddlyWiki appears to be already using the latest version of the core code (%0).<br><br>You can continue to upgrade anyway to ensure that the core code hasn't been corrupted or damaged",
++ step2Html_upgrade: "You are about to upgrade to TiddlyWiki version %0 from %1",
++ upgradeLabel: "upgrade",
++ upgradePrompt: "Prepare for the upgrade process",
++ statusPreparingBackup: "Preparing backup",
++ statusSavingBackup: "Saving backup file",
++ errorSavingBackup: "There was a problem saving the backup file",
++ statusLoadingCore: "Loading core code",
++ errorLoadingCore: "Error loading the core code",
++ errorCoreFormat: "Error with the new core code",
++ statusSavingCore: "Saving the new core code",
++ statusReloadingCore: "Reloading the new core code",
++ startLabel: "start",
++ startPrompt: "Start the upgrade process",
++ cancelLabel: "cancel",
++ cancelPrompt: "Cancel the upgrade process",
++ step3Title: "Upgrade cancelled",
++ step3Html: "You have cancelled the upgrade process"
++ });
++
++merge(config.macros.annotations,{
++ });
++
++merge(config.commands.closeTiddler,{
++ text: "close",
++ tooltip: "Close this tiddler"});
++
++merge(config.commands.closeOthers,{
++ text: "close others",
++ tooltip: "Close all other tiddlers"});
++
++merge(config.commands.editTiddler,{
++ text: "edit",
++ tooltip: "Edit this tiddler",
++ readOnlyText: "view",
++ readOnlyTooltip: "View the source of this tiddler"});
++
++merge(config.commands.saveTiddler,{
++ text: "done",
++ tooltip: "Save changes to this tiddler"});
++
++merge(config.commands.cancelTiddler,{
++ text: "cancel",
++ tooltip: "Undo changes to this tiddler",
++ warning: "Are you sure you want to abandon your changes to '%0'?",
++ readOnlyText: "done",
++ readOnlyTooltip: "View this tiddler normally"});
++
++merge(config.commands.deleteTiddler,{
++ text: "delete",
++ tooltip: "Delete this tiddler",
++ warning: "Are you sure you want to delete '%0'?"});
++
++merge(config.commands.permalink,{
++ text: "permalink",
++ tooltip: "Permalink for this tiddler"});
++
++merge(config.commands.references,{
++ text: "references",
++ tooltip: "Show tiddlers that link to this one",
++ popupNone: "No references"});
++
++merge(config.commands.jump,{
++ text: "jump",
++ tooltip: "Jump to another open tiddler"});
++
++merge(config.commands.fields,{
++ text: "fields",
++ tooltip: "Show the extended fields of this tiddler",
++ emptyText: "There are no extended fields for this tiddler",
++ listViewTemplate: {
++ columns: [
++ {name: 'Field', field: 'field', title: "Field", type: 'String'},
++ {name: 'Value', field: 'value', title: "Value", type: 'String'}
++ ],
++ rowClasses: [
++ ],
++ buttons: [
++ ]}});
++
++merge(config.shadowTiddlers,{
++ DefaultTiddlers: "[[GettingStarted]]",
++ MainMenu: "[[GettingStarted]]",
++ SiteTitle: "My TiddlyWiki",
++ SiteSubtitle: "a reusable non-linear personal web notebook",
++ SiteUrl: "",
++ SideBarOptions: '<<search>><<closeAll>><<permaview>><<newTiddler>><<newJournal "DD MMM YYYY" "journal">><<saveChanges>><<slider chkSliderOptionsPanel OptionsPanel "options \u00bb" "Change TiddlyWiki advanced options">>',
++ SideBarTabs: '<<tabs txtMainTab "Timeline" "Timeline" TabTimeline "All" "All tiddlers" TabAll "Tags" "All tags" TabTags "More" "More lists" TabMore>>',
++ TabMore: '<<tabs txtMoreTab "Missing" "Missing tiddlers" TabMoreMissing "Orphans" "Orphaned tiddlers" TabMoreOrphans "Shadowed" "Shadowed tiddlers" TabMoreShadowed>>'
++ });
++
++merge(config.annotations,{
++ AdvancedOptions: "This shadow tiddler provides access to several advanced options",
++ ColorPalette: "These values in this shadow tiddler determine the colour scheme of the ~TiddlyWiki user interface",
++ DefaultTiddlers: "The tiddlers listed in this shadow tiddler will be automatically displayed when ~TiddlyWiki starts up",
++ EditTemplate: "The HTML template in this shadow tiddler determines how tiddlers look while they are being edited",
++ GettingStarted: "This shadow tiddler provides basic usage instructions",
++ ImportTiddlers: "This shadow tiddler provides access to importing tiddlers",
++ MainMenu: "This shadow tiddler is used as the contents of the main menu in the left-hand column of the screen",
++ MarkupPreHead: "This tiddler is inserted at the top of the <head> section of the TiddlyWiki HTML file",
++ MarkupPostHead: "This tiddler is inserted at the bottom of the <head> section of the TiddlyWiki HTML file",
++ MarkupPreBody: "This tiddler is inserted at the top of the <body> section of the TiddlyWiki HTML file",
++ MarkupPostBody: "This tiddler is inserted at the end of the <body> section of the TiddlyWiki HTML file immediately after the script block",
++ OptionsPanel: "This shadow tiddler is used as the contents of the options panel slider in the right-hand sidebar",
++ PageTemplate: "The HTML template in this shadow tiddler determines the overall ~TiddlyWiki layout",
++ PluginManager: "This shadow tiddler provides access to the plugin manager",
++ SideBarOptions: "This shadow tiddler is used as the contents of the option panel in the right-hand sidebar",
++ SideBarTabs: "This shadow tiddler is used as the contents of the tabs panel in the right-hand sidebar",
++ SiteSubtitle: "This shadow tiddler is used as the second part of the page title",
++ SiteTitle: "This shadow tiddler is used as the first part of the page title",
++ SiteUrl: "This shadow tiddler should be set to the full target URL for publication",
++ StyleSheetColors: "This shadow tiddler contains CSS definitions related to the color of page elements. ''DO NOT EDIT THIS TIDDLER'', instead make your changes in the StyleSheet shadow tiddler",
++ StyleSheet: "This tiddler can contain custom CSS definitions",
++ StyleSheetLayout: "This shadow tiddler contains CSS definitions related to the layout of page elements. ''DO NOT EDIT THIS TIDDLER'', instead make your changes in the StyleSheet shadow tiddler",
++ StyleSheetLocale: "This shadow tiddler contains CSS definitions related to the translation locale",
++ StyleSheetPrint: "This shadow tiddler contains CSS definitions for printing",
++ SystemSettings: "This tiddler is used to store configuration options for this TiddlyWiki document",
++ TabAll: "This shadow tiddler contains the contents of the 'All' tab in the right-hand sidebar",
++ TabMore: "This shadow tiddler contains the contents of the 'More' tab in the right-hand sidebar",
++ TabMoreMissing: "This shadow tiddler contains the contents of the 'Missing' tab in the right-hand sidebar",
++ TabMoreOrphans: "This shadow tiddler contains the contents of the 'Orphans' tab in the right-hand sidebar",
++ TabMoreShadowed: "This shadow tiddler contains the contents of the 'Shadowed' tab in the right-hand sidebar",
++ TabTags: "This shadow tiddler contains the contents of the 'Tags' tab in the right-hand sidebar",
++ TabTimeline: "This shadow tiddler contains the contents of the 'Timeline' tab in the right-hand sidebar",
++ ToolbarCommands: "This shadow tiddler determines which commands are shown in tiddler toolbars",
++ ViewTemplate: "The HTML template in this shadow tiddler determines how tiddlers look"
++ });
++//--
++//-- Main
++//--
++
++var params = null; // Command line parameters
++var store = null; // TiddlyWiki storage
++var story = null; // Main story
++var formatter = null; // Default formatters for the wikifier
++var anim = typeof Animator == "function" ? new Animator() : null; // Animation engine
++var readOnly = false; // Whether we're in readonly mode
++var highlightHack = null; // Embarrassing hack department...
++var hadConfirmExit = false; // Don't warn more than once
++var safeMode = false; // Disable all plugins and cookies
++var showBackstage; // Whether to include the backstage area
++var installedPlugins = []; // Information filled in when plugins are executed
++var startingUp = false; // Whether we're in the process of starting up
++var pluginInfo,tiddler; // Used to pass information to plugins in loadPlugins()
++
++// Whether this file can be saved back to the same location [Preemption]
++window.allowSave = window.allowSave || function(l)
++{
++ return true;
++}
++
++// Whether this file is being viewed locally
++window.isLocal = function()
++{
++ return (document.location.protocol == "file:");
++}
++
++// Whether to use the JavaSaver applet
++var useJavaSaver = window.isLocal() && (config.browser.isSafari || config.browser.isOpera);
++
++// Allow preemption code a chance to tweak config and useJavaSaver [Preemption]
++if (window.tweakConfig) window.tweakConfig();
++
++if(!window || !window.console) {
++ console = {tiddlywiki:true,log:function(message) {displayMessage(message);}};
++}
++
++// Starting up
++function main()
++{
++ window.originalHTML=recreateOriginal();
++
++ var t10,t9,t8,t7,t6,t5,t4,t3,t2,t1,t0 = new Date();
++ startingUp = true;
++ var doc = jQuery(document);
++ jQuery.noConflict();
++ window.onbeforeunload = function(e) {if(window.confirmExit) return confirmExit();};
++ params = getParameters();
++ if(params)
++ params = params.parseParams("open",null,false);
++ store = new TiddlyWiki({config:config});
++ invokeParamifier(params,"oninit");
++ story = new Story("tiddlerDisplay","tiddler");
++ addEvent(document,"click",Popup.onDocumentClick);
++ saveTest();
++ var s;
++ for(s=0; s<config.notifyTiddlers.length; s++)
++ store.addNotification(config.notifyTiddlers[s].name,config.notifyTiddlers[s].notify);
++ t1 = new Date();
++ loadShadowTiddlers();
++ doc.trigger("loadShadows");
++ t2 = new Date();
++ store.loadFromDiv("storeArea","store",true);
++ doc.trigger("loadTiddlers");
++ loadOptions();
++ t3 = new Date();
++ invokeParamifier(params,"onload");
++ t4 = new Date();
++ readOnly = window.isLocal() ? false : config.options.chkHttpReadOnly;
++ var pluginProblem = loadPlugins("systemConfig");
++ doc.trigger("loadPlugins");
++ t5 = new Date();
++ formatter = new Formatter(config.formatters);
++ invokeParamifier(params,"onconfig");
++ story.switchTheme(config.options.txtTheme);
++ showBackstage = showBackstage !== undefined ? showBackstage : !readOnly;
++ t6 = new Date();
++ var m;
++ for(m in config.macros) {
++ if(config.macros[m].init)
++ config.macros[m].init();
++ }
++ t7 = new Date();
++ store.notifyAll();
++ t8 = new Date();
++ restart();
++ refreshDisplay();
++ t9 = new Date();
++ if(pluginProblem) {
++ story.displayTiddler(null,"PluginManager");
++ displayMessage(config.messages.customConfigError);
++ }
++ if(showBackstage)
++ backstage.init();
++ t10 = new Date();
++ if(config.options.chkDisplayInstrumentation) {
++ displayMessage("LoadShadows " + (t2-t1) + " ms");
++ displayMessage("LoadFromDiv " + (t3-t2) + " ms");
++ displayMessage("LoadPlugins " + (t5-t4) + " ms");
++ displayMessage("Macro init " + (t7-t6) + " ms");
++ displayMessage("Notify " + (t8-t7) + " ms");
++ displayMessage("Restart " + (t9-t8) + " ms");
++ displayMessage("Total: " + (t10-t0) + " ms");
++ }
++ startingUp = false;
++ doc.trigger("startup");
++}
++
++// Called on unload. All functions called conditionally since they themselves may have been unloaded.
++function unload()
++{
++ if(window.checkUnsavedChanges)
++ checkUnsavedChanges();
++ if(window.scrubNodes)
++ scrubNodes(document.body);
++}
++
++// Restarting
++function restart()
++{
++ invokeParamifier(params,"onstart");
++ if(story.isEmpty()) {
++ story.displayDefaultTiddlers();
++ }
++ window.scrollTo(0,0);
++}
++
++function saveTest()
++{
++ var s = document.getElementById("saveTest");
++ if(s.hasChildNodes())
++ alert(config.messages.savedSnapshotError);
++ s.appendChild(document.createTextNode("savetest"));
++}
++
++function loadShadowTiddlers()
++{
++ var shadows = new TiddlyWiki();
++ shadows.loadFromDiv("shadowArea","shadows",true);
++ shadows.forEachTiddler(function(title,tiddler){config.shadowTiddlers[title] = tiddler.text;});
++}
++
++function loadPlugins(tag)
++{
++ if(safeMode)
++ return false;
++ var tiddlers = store.getTaggedTiddlers(tag);
++ tiddlers.sort(function(a,b) {return a.title < b.title ? -1 : (a.title == b.title ? 0 : 1);});
++ var toLoad = [];
++ var nLoaded = 0;
++ var map = {};
++ var nPlugins = tiddlers.length;
++ installedPlugins = [];
++ var i;
++ for(i=0; i<nPlugins; i++) {
++ var p = getPluginInfo(tiddlers[i]);
++ installedPlugins[i] = p;
++ var n = p.Name || p.title;
++ if(n)
++ map[n] = p;
++ n = p.Source;
++ if(n)
++ map[n] = p;
++ }
++ var visit = function(p) {
++ if(!p || p.done)
++ return;
++ p.done = 1;
++ var reqs = p.Requires;
++ if(reqs) {
++ reqs = reqs.readBracketedList();
++ var i;
++ for(i=0; i<reqs.length; i++)
++ visit(map[reqs[i]]);
++ }
++ toLoad.push(p);
++ };
++ for(i=0; i<nPlugins; i++)
++ visit(installedPlugins[i]);
++ for(i=0; i<toLoad.length; i++) {
++ p = toLoad[i];
++ pluginInfo = p;
++ tiddler = p.tiddler;
++ if(isPluginExecutable(p)) {
++ if(isPluginEnabled(p)) {
++ p.executed = true;
++ var startTime = new Date();
++ try {
++ if(tiddler.text)
++ window.eval(tiddler.text);
++ nLoaded++;
++ } catch(ex) {
++ p.log.push(config.messages.pluginError.format([exceptionText(ex)]));
++ p.error = true;
++ if(!console.tiddlywiki) {
++ console.log("error evaluating " + tiddler.title, ex);
++ }
++ }
++ pluginInfo.startupTime = String((new Date()) - startTime) + "ms";
++ } else {
++ nPlugins--;
++ }
++ } else {
++ p.warning = true;
++ }
++ }
++ return nLoaded != nPlugins;
++}
++
++function getPluginInfo(tiddler)
++{
++ var p = store.getTiddlerSlices(tiddler.title,["Name","Description","Version","Requires","CoreVersion","Date","Source","Author","License","Browsers"]);
++ p.tiddler = tiddler;
++ p.title = tiddler.title;
++ p.log = [];
++ return p;
++}
++
++// Check that a particular plugin is valid for execution
++function isPluginExecutable(plugin)
++{
++ if(plugin.tiddler.isTagged("systemConfigForce")) {
++ plugin.log.push(config.messages.pluginForced);
++ return true;
++ }
++ if(plugin["CoreVersion"]) {
++ var coreVersion = plugin["CoreVersion"].split(".");
++ var w = parseInt(coreVersion[0],10) - version.major;
++ if(w == 0 && coreVersion[1])
++ w = parseInt(coreVersion[1],10) - version.minor;
++ if(w == 0 && coreVersion[2])
++ w = parseInt(coreVersion[2],10) - version.revision;
++ if(w > 0) {
++ plugin.log.push(config.messages.pluginVersionError);
++ return false;
++ }
++ }
++ return true;
++}
++
++function isPluginEnabled(plugin)
++{
++ if(plugin.tiddler.isTagged("systemConfigDisable")) {
++ plugin.log.push(config.messages.pluginDisabled);
++ return false;
++ }
++ return true;
++}
++
++//--
++//-- Paramifiers
++//--
++
++function getParameters()
++{
++ var p = null;
++ if(window.location.hash) {
++ p = decodeURIComponent(window.location.hash.substr(1));
++ if(config.browser.firefoxDate != null && config.browser.firefoxDate[1] < "20051111")
++ p = convertUTF8ToUnicode(p);
++ }
++ return p;
++}
++
++function invokeParamifier(params,handler)
++{
++ if(!params || params.length == undefined || params.length <= 1)
++ return;
++ var i;
++ for(i=1; i<params.length; i++) {
++ var p = config.paramifiers[params[i].name];
++ if(p && p[handler] instanceof Function)
++ p[handler](params[i].value);
++ else {
++ var h = config.optionHandlers[params[i].name.substr(0,3)];
++ if(h && h.set instanceof Function)
++ h.set(params[i].name,params[i].value);
++ }
++ }
++}
++
++config.paramifiers = {};
++
++config.paramifiers.start = {
++ oninit: function(v) {
++ safeMode = v.toLowerCase() == "safe";
++ }
++};
++
++config.paramifiers.open = {
++ onstart: function(v) {
++ if(!readOnly || store.tiddlerExists(v) || store.isShadowTiddler(v))
++ story.displayTiddler("bottom",v,null,false,null);
++ }
++};
++
++config.paramifiers.story = {
++ onstart: function(v) {
++ var list = store.getTiddlerText(v,"").parseParams("open",null,false);
++ invokeParamifier(list,"onstart");
++ }
++};
++
++config.paramifiers.search = {
++ onstart: function(v) {
++ story.search(v,false,false);
++ }
++};
++
++config.paramifiers.searchRegExp = {
++ onstart: function(v) {
++ story.prototype.search(v,false,true);
++ }
++};
++
++config.paramifiers.tag = {
++ onstart: function(v) {
++ story.displayTiddlers(null,store.filterTiddlers("[tag["+v+"]]"),null,false,null);
++ }
++};
++
++config.paramifiers.newTiddler = {
++ onstart: function(v) {
++ var args = v.parseParams("anon", null, null)[0];
++ var title = args.title ? args.title[0] : v;
++ var customFields = args.fields ? args.fields[0] : null;
++ if(!readOnly) {
++ story.displayTiddler(null,title,DEFAULT_EDIT_TEMPLATE,false,null,customFields);
++ story.focusTiddler(title,"text");
++ var i,tags = args.tag || [];
++ for(i=0;i<tags.length;i++) {
++ story.setTiddlerTag(title,tags[i],+1);
++ }
++ }
++ }
++};
++
++config.paramifiers.newJournal = {
++ onstart: function(v) {
++ if(!readOnly) {
++ var now = new Date();
++ var title = now.formatString(v.trim());
++ story.displayTiddler(null,title,DEFAULT_EDIT_TEMPLATE);
++ story.focusTiddler(title,"text");
++ }
++ }
++};
++
++config.paramifiers.readOnly = {
++ onconfig: function(v) {
++ var p = v.toLowerCase();
++ readOnly = p == "yes" ? true : (p == "no" ? false : readOnly);
++ }
++};
++
++config.paramifiers.theme = {
++ onconfig: function(v) {
++ story.switchTheme(v);
++ }
++};
++
++config.paramifiers.upgrade = {
++ onstart: function(v) {
++ upgradeFrom(v);
++ }
++};
++
++config.paramifiers.recent= {
++ onstart: function(v) {
++ var titles=[];
++ var i,tiddlers=store.getTiddlers("modified","excludeLists").reverse();
++ for(i=0; i<v && i<tiddlers.length; i++)
++ titles.push(tiddlers[i].title);
++ story.displayTiddlers(null,titles);
++ }
++};
++
++config.paramifiers.filter = {
++ onstart: function(v) {
++ story.displayTiddlers(null,store.filterTiddlers(v),null,false);
++ }
++};
++
++//--
++//-- Formatter helpers
++//--
++
++function Formatter(formatters)
++{
++ var n;
++ this.formatters = [];
++ var pattern = [];
++ for(n=0; n<formatters.length; n++) {
++ pattern.push("(" + formatters[n].match + ")");
++ this.formatters.push(formatters[n]);
++ }
++ this.formatterRegExp = new RegExp(pattern.join("|"),"mg");
++}
++
++config.formatterHelpers = {
++
++ createElementAndWikify: function(w)
++ {
++ w.subWikifyTerm(createTiddlyElement(w.output,this.element),this.termRegExp);
++ },
++
++ inlineCssHelper: function(w)
++ {
++ var styles = [];
++ config.textPrimitives.cssLookaheadRegExp.lastIndex = w.nextMatch;
++ var lookaheadMatch = config.textPrimitives.cssLookaheadRegExp.exec(w.source);
++ while(lookaheadMatch && lookaheadMatch.index == w.nextMatch) {
++ var s,v;
++ if(lookaheadMatch[1]) {
++ s = lookaheadMatch[1].unDash();
++ v = lookaheadMatch[2];
++ } else {
++ s = lookaheadMatch[3].unDash();
++ v = lookaheadMatch[4];
++ }
++ if(s=="bgcolor")
++ s = "backgroundColor";
++ if(s=="float")
++ s = "cssFloat";
++ styles.push({style: s, value: v});
++ w.nextMatch = lookaheadMatch.index + lookaheadMatch[0].length;
++ config.textPrimitives.cssLookaheadRegExp.lastIndex = w.nextMatch;
++ lookaheadMatch = config.textPrimitives.cssLookaheadRegExp.exec(w.source);
++ }
++ return styles;
++ },
++
++ applyCssHelper: function(e,styles)
++ {
++ var t;
++ for(t=0; t< styles.length; t++) {
++ try {
++ e.style[styles[t].style] = styles[t].value;
++ } catch (ex) {
++ }
++ }
++ },
++
++ enclosedTextHelper: function(w)
++ {
++ this.lookaheadRegExp.lastIndex = w.matchStart;
++ var lookaheadMatch = this.lookaheadRegExp.exec(w.source);
++ if(lookaheadMatch && lookaheadMatch.index == w.matchStart) {
++ var text = lookaheadMatch[1];
++ if(config.browser.isIE && (config.browser.ieVersion[1] < 10))
++ text = text.replace(/\n/g,"\r");
++ createTiddlyElement(w.output,this.element,null,null,text);
++ w.nextMatch = lookaheadMatch.index + lookaheadMatch[0].length;
++ }
++ },
++
++ isExternalLink: function(link)
++ {
++ if(store.tiddlerExists(link) || store.isShadowTiddler(link)) {
++ return false;
++ }
++ var urlRegExp = new RegExp(config.textPrimitives.urlPattern,"mg");
++ if(urlRegExp.exec(link)) {
++ return true;
++ }
++ if(link.indexOf(".")!=-1 || link.indexOf("\\")!=-1 || link.indexOf("/")!=-1 || link.indexOf("#")!=-1) {
++ return true;
++ }
++ return false;
++ }
++
++};
++
++//--
++//-- Standard formatters
++//--
++
++config.formatters = [
++{
++ name: "table",
++ match: "^\\|(?:[^\\n]*)\\|(?:[fhck]?)$",
++ lookaheadRegExp: /^\|([^\n]*)\|([fhck]?)$/mg,
++ rowTermRegExp: /(\|(?:[fhck]?)$\n?)/mg,
++ cellRegExp: /(?:\|([^\n\|]*)\|)|(\|[fhck]?$\n?)/mg,
++ cellTermRegExp: /((?:\x20*)\|)/mg,
++ rowTypes: {"c":"caption", "h":"thead", "":"tbody", "f":"tfoot"},
++ handler: function(w)
++ {
++ var table = createTiddlyElement(w.output,"table",null,"twtable");
++ var prevColumns = [];
++ var currRowType = null;
++ var rowContainer;
++ var rowCount = 0;
++ var onmouseover = function() {jQuery(this).addClass("hoverRow");};
++ var onmouseout = function() {jQuery(this).removeClass("hoverRow");};
++ w.nextMatch = w.matchStart;
++ this.lookaheadRegExp.lastIndex = w.nextMatch;
++ var lookaheadMatch = this.lookaheadRegExp.exec(w.source);
++ while(lookaheadMatch && lookaheadMatch.index == w.nextMatch) {
++ var nextRowType = lookaheadMatch[2];
++ if(nextRowType == "k") {
++ table.className = lookaheadMatch[1];
++ w.nextMatch += lookaheadMatch[0].length+1;
++ } else {
++ if(nextRowType != currRowType) {
++ rowContainer = createTiddlyElement(table,this.rowTypes[nextRowType]);
++ currRowType = nextRowType;
++ }
++ if(currRowType == "c") {
++ // Caption
++ w.nextMatch++;
++ if(rowContainer != table.firstChild)
++ table.insertBefore(rowContainer,table.firstChild);
++ rowContainer.setAttribute("align",rowCount == 0?"top":"bottom");
++ w.subWikifyTerm(rowContainer,this.rowTermRegExp);
++ } else {
++ var theRow = createTiddlyElement(rowContainer,"tr",null,rowCount%2?"oddRow":"evenRow");
++ theRow.onmouseover = onmouseover;
++ theRow.onmouseout = onmouseout;
++ this.rowHandler(w,theRow,prevColumns);
++ rowCount++;
++ }
++ }
++ this.lookaheadRegExp.lastIndex = w.nextMatch;
++ lookaheadMatch = this.lookaheadRegExp.exec(w.source);
++ }
++ },
++ rowHandler: function(w,e,prevColumns)
++ {
++ var col = 0;
++ var colSpanCount = 1;
++ var prevCell = null;
++ this.cellRegExp.lastIndex = w.nextMatch;
++ var cellMatch = this.cellRegExp.exec(w.source);
++ while(cellMatch && cellMatch.index == w.nextMatch) {
++ if(cellMatch[1] == "~") {
++ // Rowspan
++ var last = prevColumns[col];
++ if(last) {
++ last.rowSpanCount++;
++ last.element.setAttribute("rowspan",last.rowSpanCount);
++ last.element.setAttribute("rowSpan",last.rowSpanCount); // Needed for IE
++ last.element.valign = "center";
++ if(colSpanCount > 1) {
++ last.element.setAttribute("colspan",colSpanCount);
++ last.element.setAttribute("colSpan",colSpanCount); // Needed for IE
++ colSpanCount = 1;
++ }
++ }
++ w.nextMatch = this.cellRegExp.lastIndex-1;
++ } else if(cellMatch[1] == ">") {
++ // Colspan
++ colSpanCount++;
++ w.nextMatch = this.cellRegExp.lastIndex-1;
++ } else if(cellMatch[2]) {
++ // End of row
++ if(prevCell && colSpanCount > 1) {
++ prevCell.setAttribute("colspan",colSpanCount);
++ prevCell.setAttribute("colSpan",colSpanCount); // Needed for IE
++ }
++ w.nextMatch = this.cellRegExp.lastIndex;
++ break;
++ } else {
++ // Cell
++ w.nextMatch++;
++ var styles = config.formatterHelpers.inlineCssHelper(w);
++ var spaceLeft = false;
++ var chr = w.source.substr(w.nextMatch,1);
++ while(chr == " ") {
++ spaceLeft = true;
++ w.nextMatch++;
++ chr = w.source.substr(w.nextMatch,1);
++ }
++ var cell;
++ if(chr == "!") {
++ cell = createTiddlyElement(e,"th");
++ w.nextMatch++;
++ } else {
++ cell = createTiddlyElement(e,"td");
++ }
++ prevCell = cell;
++ prevColumns[col] = {rowSpanCount:1,element:cell};
++ if(colSpanCount > 1) {
++ cell.setAttribute("colspan",colSpanCount);
++ cell.setAttribute("colSpan",colSpanCount); // Needed for IE
++ colSpanCount = 1;
++ }
++ config.formatterHelpers.applyCssHelper(cell,styles);
++ w.subWikifyTerm(cell,this.cellTermRegExp);
++ if(w.matchText.substr(w.matchText.length-2,1) == " ") // spaceRight
++ cell.align = spaceLeft ? "center" : "left";
++ else if(spaceLeft)
++ cell.align = "right";
++ w.nextMatch--;
++ }
++ col++;
++ this.cellRegExp.lastIndex = w.nextMatch;
++ cellMatch = this.cellRegExp.exec(w.source);
++ }
++ }
++},
++
++{
++ name: "heading",
++ match: "^!{1,6}",
++ termRegExp: /(\n)/mg,
++ handler: function(w)
++ {
++ w.subWikifyTerm(createTiddlyElement(w.output,"h" + w.matchLength),this.termRegExp);
++ }
++},
++
++{
++ name: "list",
++ match: "^(?:[\\*#;:]+)",
++ lookaheadRegExp: /^(?:(?:(\*)|(#)|(;)|(:))+)/mg,
++ termRegExp: /(\n)/mg,
++ handler: function(w)
++ {
++ var stack = [w.output];
++ var currLevel = 0, currType = null;
++ var listLevel, listType, itemType, baseType;
++ w.nextMatch = w.matchStart;
++ this.lookaheadRegExp.lastIndex = w.nextMatch;
++ var lookaheadMatch = this.lookaheadRegExp.exec(w.source);
++ while(lookaheadMatch && lookaheadMatch.index == w.nextMatch) {
++ if(lookaheadMatch[1]) {
++ listType = "ul";
++ itemType = "li";
++ } else if(lookaheadMatch[2]) {
++ listType = "ol";
++ itemType = "li";
++ } else if(lookaheadMatch[3]) {
++ listType = "dl";
++ itemType = "dt";
++ } else if(lookaheadMatch[4]) {
++ listType = "dl";
++ itemType = "dd";
++ }
++ if(!baseType)
++ baseType = listType;
++ listLevel = lookaheadMatch[0].length;
++ w.nextMatch += lookaheadMatch[0].length;
++ var t;
++ if(listLevel > currLevel) {
++ for(t=currLevel; t<listLevel; t++) {
++ var target = (currLevel == 0) ? stack[stack.length-1] : stack[stack.length-1].lastChild;
++ stack.push(createTiddlyElement(target,listType));
++ }
++ } else if(listType!=baseType && listLevel==1) {
++ w.nextMatch -= lookaheadMatch[0].length;
++ return;
++ } else if(listLevel < currLevel) {
++ for(t=currLevel; t>listLevel; t--)
++ stack.pop();
++ } else if(listLevel == currLevel && listType != currType) {
++ stack.pop();
++ stack.push(createTiddlyElement(stack[stack.length-1].lastChild,listType));
++ }
++ currLevel = listLevel;
++ currType = listType;
++ var e = createTiddlyElement(stack[stack.length-1],itemType);
++ w.subWikifyTerm(e,this.termRegExp);
++ this.lookaheadRegExp.lastIndex = w.nextMatch;
++ lookaheadMatch = this.lookaheadRegExp.exec(w.source);
++ }
++ }
++},
++
++{
++ name: "quoteByBlock",
++ match: "^<<<\\n",
++ termRegExp: /(^<<<(\n|$))/mg,
++ element: "blockquote",
++ handler: config.formatterHelpers.createElementAndWikify
++},
++
++{
++ name: "quoteByLine",
++ match: "^>+",
++ lookaheadRegExp: /^>+/mg,
++ termRegExp: /(\n)/mg,
++ element: "blockquote",
++ handler: function(w)
++ {
++ var stack = [w.output];
++ var currLevel = 0;
++ var newLevel = w.matchLength;
++ var t,matched;
++ do {
++ if(newLevel > currLevel) {
++ for(t=currLevel; t<newLevel; t++)
++ stack.push(createTiddlyElement(stack[stack.length-1],this.element));
++ } else if(newLevel < currLevel) {
++ for(t=currLevel; t>newLevel; t--)
++ stack.pop();
++ }
++ currLevel = newLevel;
++ w.subWikifyTerm(stack[stack.length-1],this.termRegExp);
++ createTiddlyElement(stack[stack.length-1],"br");
++ this.lookaheadRegExp.lastIndex = w.nextMatch;
++ var lookaheadMatch = this.lookaheadRegExp.exec(w.source);
++ matched = lookaheadMatch && lookaheadMatch.index == w.nextMatch;
++ if(matched) {
++ newLevel = lookaheadMatch[0].length;
++ w.nextMatch += lookaheadMatch[0].length;
++ }
++ } while(matched);
++ }
++},
++
++{
++ name: "rule",
++ match: "^----+$\\n?|<hr ?/?>\\n?",
++ handler: function(w)
++ {
++ createTiddlyElement(w.output,"hr");
++ }
++},
++
++{
++ name: "monospacedByLine",
++ match: "^(?:/\\*\\{\\{\\{\\*/|\\{\\{\\{|//\\{\\{\\{|<!--\\{\\{\\{-->)\\n",
++ element: "pre",
++ handler: function(w)
++ {
++ switch(w.matchText) {
++ case "/*{{{*/\n": // CSS
++ this.lookaheadRegExp = /\/\*\{\{\{\*\/\n*((?:^[^\n]*\n)+?)(\n*^\f*\/\*\}\}\}\*\/$\n?)/mg;
++ break;
++ case "{{{\n": // monospaced block
++ this.lookaheadRegExp = /^\{\{\{\n((?:^[^\n]*\n)+?)(^\f*\}\}\}$\n?)/mg;
++ break;
++ case "//{{{\n": // plugin
++ this.lookaheadRegExp = /^\/\/\{\{\{\n\n*((?:^[^\n]*\n)+?)(\n*^\f*\/\/\}\}\}$\n?)/mg;
++ break;
++ case "<!--{{{-->\n": //template
++ this.lookaheadRegExp = /<!--\{\{\{-->\n*((?:^[^\n]*\n)+?)(\n*^\f*<!--\}\}\}-->$\n?)/mg;
++ break;
++ default:
++ break;
++ }
++ config.formatterHelpers.enclosedTextHelper.call(this,w);
++ }
++},
++
++{
++ name: "wikifyComment",
++ match: "^(?:/\\*\\*\\*|<!---)\\n",
++ handler: function(w)
++ {
++ var termRegExp = (w.matchText == "/***\n") ? (/(^\*\*\*\/\n)/mg) : (/(^--->\n)/mg);
++ w.subWikifyTerm(w.output,termRegExp);
++ }
++},
++
++{
++ name: "macro",
++ match: "<<",
++ lookaheadRegExp: /<<([^>\s]+)(?:\s*)((?:[^>]|(?:>(?!>)))*)>>/mg,
++ handler: function(w)
++ {
++ this.lookaheadRegExp.lastIndex = w.matchStart;
++ var lookaheadMatch = this.lookaheadRegExp.exec(w.source);
++ if(lookaheadMatch && lookaheadMatch.index == w.matchStart && lookaheadMatch[1]) {
++ w.nextMatch = this.lookaheadRegExp.lastIndex;
++ invokeMacro(w.output,lookaheadMatch[1],lookaheadMatch[2],w,w.tiddler);
++ }
++ }
++},
++
++{
++ name: "prettyLink",
++ match: "\\[\\[",
++ lookaheadRegExp: /\[\[(.*?)(?:\|(~)?(.*?))?\]\]/mg,
++ handler: function(w)
++ {
++ this.lookaheadRegExp.lastIndex = w.matchStart;
++ var lookaheadMatch = this.lookaheadRegExp.exec(w.source);
++ if(lookaheadMatch && lookaheadMatch.index == w.matchStart) {
++ var e;
++ var text = lookaheadMatch[1];
++ if(lookaheadMatch[3]) {
++ // Pretty bracketted link
++ var link = lookaheadMatch[3];
++ e = (!lookaheadMatch[2] && config.formatterHelpers.isExternalLink(link)) ?
++ createExternalLink(w.output,link) : createTiddlyLink(w.output,link,false,null,w.isStatic,w.tiddler);
++ } else {
++ // Simple bracketted link
++ e = createTiddlyLink(w.output,text,false,null,w.isStatic,w.tiddler);
++ }
++ createTiddlyText(e,text);
++ w.nextMatch = this.lookaheadRegExp.lastIndex;
++ }
++ }
++},
++
++{
++ name: "wikiLink",
++ match: config.textPrimitives.unWikiLink+"?"+config.textPrimitives.wikiLink,
++ handler: function(w)
++ {
++ if(w.matchText.substr(0,1) == config.textPrimitives.unWikiLink) {
++ w.outputText(w.output,w.matchStart+1,w.nextMatch);
++ return;
++ }
++ if(w.matchStart > 0) {
++ var preRegExp = new RegExp(config.textPrimitives.anyLetterStrict,"mg");
++ preRegExp.lastIndex = w.matchStart-1;
++ var preMatch = preRegExp.exec(w.source);
++ if(preMatch.index == w.matchStart-1) {
++ w.outputText(w.output,w.matchStart,w.nextMatch);
++ return;
++ }
++ }
++ if(w.autoLinkWikiWords || store.isShadowTiddler(w.matchText)) {
++ var link = createTiddlyLink(w.output,w.matchText,false,null,w.isStatic,w.tiddler);
++ w.outputText(link,w.matchStart,w.nextMatch);
++ } else {
++ w.outputText(w.output,w.matchStart,w.nextMatch);
++ }
++ }
++},
++
++{
++ name: "urlLink",
++ match: config.textPrimitives.urlPattern,
++ handler: function(w)
++ {
++ w.outputText(createExternalLink(w.output,w.matchText),w.matchStart,w.nextMatch);
++ }
++},
++
++{
++ name: "image",
++ match: "\\[[<>]?[Ii][Mm][Gg]\\[",
++ lookaheadRegExp: /\[([<]?)(>?)[Ii][Mm][Gg]\[(?:([^\|\]]+)\|)?([^\[\]\|]+)\](?:\[([^\]]*)\])?\]/mg,
++ handler: function(w)
++ {
++ this.lookaheadRegExp.lastIndex = w.matchStart;
++ var lookaheadMatch = this.lookaheadRegExp.exec(w.source);
++ if(lookaheadMatch && lookaheadMatch.index == w.matchStart) {
++ var e = w.output;
++ if(lookaheadMatch[5]) {
++ var link = lookaheadMatch[5];
++ e = config.formatterHelpers.isExternalLink(link) ? createExternalLink(w.output,link) : createTiddlyLink(w.output,link,false,null,w.isStatic,w.tiddler);
++ jQuery(e).addClass("imageLink");
++ }
++ var img = createTiddlyElement(e,"img");
++ if(lookaheadMatch[1])
++ img.align = "left";
++ else if(lookaheadMatch[2])
++ img.align = "right";
++ if(lookaheadMatch[3]) {
++ img.title = lookaheadMatch[3];
++ img.setAttribute("alt",lookaheadMatch[3]);
++ }
++ img.src = lookaheadMatch[4];
++ w.nextMatch = this.lookaheadRegExp.lastIndex;
++ }
++ }
++},
++
++{
++ name: "html",
++ match: "<[Hh][Tt][Mm][Ll]>",
++ lookaheadRegExp: /<[Hh][Tt][Mm][Ll]>((?:.|\n)*?)<\/[Hh][Tt][Mm][Ll]>/mg,
++ handler: function(w)
++ {
++ this.lookaheadRegExp.lastIndex = w.matchStart;
++ var lookaheadMatch = this.lookaheadRegExp.exec(w.source);
++ if(lookaheadMatch && lookaheadMatch.index == w.matchStart) {
++ createTiddlyElement(w.output,"span").innerHTML = lookaheadMatch[1];
++ w.nextMatch = this.lookaheadRegExp.lastIndex;
++ }
++ }
++},
++
++{
++ name: "commentByBlock",
++ match: "/%",
++ lookaheadRegExp: /\/%((?:.|\n)*?)%\//mg,
++ handler: function(w)
++ {
++ this.lookaheadRegExp.lastIndex = w.matchStart;
++ var lookaheadMatch = this.lookaheadRegExp.exec(w.source);
++ if(lookaheadMatch && lookaheadMatch.index == w.matchStart)
++ w.nextMatch = this.lookaheadRegExp.lastIndex;
++ }
++},
++
++{
++ name: "characterFormat",
++ match: "''|//|__|\\^\\^|~~|--(?!\\s|$)|\\{\\{\\{",
++ handler: function(w)
++ {
++ switch(w.matchText) {
++ case "''":
++ w.subWikifyTerm(w.output.appendChild(document.createElement("strong")),/('')/mg);
++ break;
++ case "//":
++ w.subWikifyTerm(createTiddlyElement(w.output,"em"),/(\/\/)/mg);
++ break;
++ case "__":
++ w.subWikifyTerm(createTiddlyElement(w.output,"u"),/(__)/mg);
++ break;
++ case "^^":
++ w.subWikifyTerm(createTiddlyElement(w.output,"sup"),/(\^\^)/mg);
++ break;
++ case "~~":
++ w.subWikifyTerm(createTiddlyElement(w.output,"sub"),/(~~)/mg);
++ break;
++ case "--":
++ w.subWikifyTerm(createTiddlyElement(w.output,"strike"),/(--)/mg);
++ break;
++ case "{{{":
++ var lookaheadRegExp = /\{\{\{((?:.|\n)*?)\}\}\}/mg;
++ lookaheadRegExp.lastIndex = w.matchStart;
++ var lookaheadMatch = lookaheadRegExp.exec(w.source);
++ if(lookaheadMatch && lookaheadMatch.index == w.matchStart) {
++ createTiddlyElement(w.output,"code",null,null,lookaheadMatch[1]);
++ w.nextMatch = lookaheadRegExp.lastIndex;
++ }
++ break;
++ }
++ }
++},
++
++{
++ name: "customFormat",
++ match: "@@|\\{\\{",
++ handler: function(w)
++ {
++ switch(w.matchText) {
++ case "@@":
++ var e = createTiddlyElement(w.output,"span");
++ var styles = config.formatterHelpers.inlineCssHelper(w);
++ if(styles.length == 0)
++ e.className = "marked";
++ else
++ config.formatterHelpers.applyCssHelper(e,styles);
++ w.subWikifyTerm(e,/(@@)/mg);
++ break;
++ case "{{":
++ var lookaheadRegExp = /\{\{[\s]*([\w]+[\s\w]*)[\s]*\{(\n?)/mg;
++ lookaheadRegExp.lastIndex = w.matchStart;
++ var lookaheadMatch = lookaheadRegExp.exec(w.source);
++ if(lookaheadMatch) {
++ w.nextMatch = lookaheadRegExp.lastIndex;
++ e = createTiddlyElement(w.output,lookaheadMatch[2] == "\n" ? "div" : "span",null,lookaheadMatch[1]);
++ w.subWikifyTerm(e,/(\}\}\})/mg);
++ }
++ break;
++ }
++ }
++},
++
++{
++ name: "mdash",
++ match: "--",
++ handler: function(w)
++ {
++ createTiddlyElement(w.output,"span").innerHTML = "&mdash;";
++ }
++},
++
++{
++ name: "lineBreak",
++ match: "\\n|<br ?/?>",
++ handler: function(w)
++ {
++ createTiddlyElement(w.output,"br");
++ }
++},
++
++{
++ name: "rawText",
++ match: "\"{3}|<nowiki>",
++ lookaheadRegExp: /(?:\"{3}|<nowiki>)((?:.|\n)*?)(?:\"{3}|<\/nowiki>)/mg,
++ handler: function(w)
++ {
++ this.lookaheadRegExp.lastIndex = w.matchStart;
++ var lookaheadMatch = this.lookaheadRegExp.exec(w.source);
++ if(lookaheadMatch && lookaheadMatch.index == w.matchStart) {
++ createTiddlyElement(w.output,"span",null,null,lookaheadMatch[1]);
++ w.nextMatch = this.lookaheadRegExp.lastIndex;
++ }
++ }
++},
++
++{
++ name: "htmlEntitiesEncoding",
++ match: "(?:(?:&#?[a-zA-Z0-9]{2,8};|.)(?:&#?(?:x0*(?:3[0-6][0-9a-fA-F]|1D[c-fC-F][0-9a-fA-F]|20[d-fD-F][0-9a-fA-F]|FE2[0-9a-fA-F])|0*(?:76[89]|7[7-9][0-9]|8[0-7][0-9]|761[6-9]|76[2-7][0-9]|84[0-3][0-9]|844[0-7]|6505[6-9]|6506[0-9]|6507[0-1]));)+|&#?[a-zA-Z0-9]{2,8};)",
++ handler: function(w)
++ {
++ createTiddlyElement(w.output,"span").innerHTML = w.matchText;
++ }
++}
++
++];
++
++//--
++//-- Wikifier
++//--
++
++function getParser(tiddler,format)
++{
++ if(tiddler) {
++ if(!format)
++ format = tiddler.fields["wikiformat"];
++ var i;
++ if(format) {
++ for(i in config.parsers) {
++ if(format == config.parsers[i].format)
++ return config.parsers[i];
++ }
++ } else {
++ for(i in config.parsers) {
++ if(tiddler.isTagged(config.parsers[i].formatTag))
++ return config.parsers[i];
++ }
++ }
++ }
++ return formatter;
++}
++
++function Wikifier(source,formatter,highlightRegExp,tiddler)
++{
++ this.source = source;
++ this.output = null;
++ this.formatter = formatter;
++ this.nextMatch = 0;
++ this.autoLinkWikiWords = tiddler && tiddler.autoLinkWikiWords() == false ? false : true;
++ this.highlightRegExp = highlightRegExp;
++ this.highlightMatch = null;
++ this.isStatic = false;
++ if(highlightRegExp) {
++ highlightRegExp.lastIndex = 0;
++ this.highlightMatch = highlightRegExp.exec(source);
++ }
++ this.tiddler = tiddler;
++}
++
++Wikifier.prototype.wikifyPlain = function()
++{
++ var e = createTiddlyElement(document.body,"div");
++ e.style.display = "none";
++ this.subWikify(e);
++ var text = jQuery(e).text();
++ jQuery(e).remove();
++ return text;
++};
++
++Wikifier.prototype.subWikify = function(output,terminator)
++{
++ try {
++ if(terminator)
++ this.subWikifyTerm(output,new RegExp("(" + terminator + ")","mg"));
++ else
++ this.subWikifyUnterm(output);
++ } catch(ex) {
++ showException(ex);
++ }
++};
++
++Wikifier.prototype.subWikifyUnterm = function(output)
++{
++ var oldOutput = this.output;
++ this.output = output;
++ this.formatter.formatterRegExp.lastIndex = this.nextMatch;
++ var formatterMatch = this.formatter.formatterRegExp.exec(this.source);
++ while(formatterMatch) {
++ // Output any text before the match
++ if(formatterMatch.index > this.nextMatch)
++ this.outputText(this.output,this.nextMatch,formatterMatch.index);
++ // Set the match parameters for the handler
++ this.matchStart = formatterMatch.index;
++ this.matchLength = formatterMatch[0].length;
++ this.matchText = formatterMatch[0];
++ this.nextMatch = this.formatter.formatterRegExp.lastIndex;
++ var t;
++ for(t=1; t<formatterMatch.length; t++) {
++ if(formatterMatch[t]) {
++ this.formatter.formatters[t-1].handler(this);
++ this.formatter.formatterRegExp.lastIndex = this.nextMatch;
++ break;
++ }
++ }
++ formatterMatch = this.formatter.formatterRegExp.exec(this.source);
++ }
++ if(this.nextMatch < this.source.length) {
++ this.outputText(this.output,this.nextMatch,this.source.length);
++ this.nextMatch = this.source.length;
++ }
++ this.output = oldOutput;
++};
++
++Wikifier.prototype.subWikifyTerm = function(output,terminatorRegExp)
++{
++ var oldOutput = this.output;
++ this.output = output;
++ terminatorRegExp.lastIndex = this.nextMatch;
++ var terminatorMatch = terminatorRegExp.exec(this.source);
++ this.formatter.formatterRegExp.lastIndex = this.nextMatch;
++ var formatterMatch = this.formatter.formatterRegExp.exec(terminatorMatch ? this.source.substr(0,terminatorMatch.index) : this.source);
++ while(terminatorMatch || formatterMatch) {
++ if(terminatorMatch && (!formatterMatch || terminatorMatch.index <= formatterMatch.index)) {
++ if(terminatorMatch.index > this.nextMatch)
++ this.outputText(this.output,this.nextMatch,terminatorMatch.index);
++ this.matchText = terminatorMatch[1];
++ this.matchLength = terminatorMatch[1].length;
++ this.matchStart = terminatorMatch.index;
++ this.nextMatch = this.matchStart + this.matchLength;
++ this.output = oldOutput;
++ return;
++ }
++ if(formatterMatch.index > this.nextMatch)
++ this.outputText(this.output,this.nextMatch,formatterMatch.index);
++ this.matchStart = formatterMatch.index;
++ this.matchLength = formatterMatch[0].length;
++ this.matchText = formatterMatch[0];
++ this.nextMatch = this.formatter.formatterRegExp.lastIndex;
++ var t;
++ for(t=1; t<formatterMatch.length; t++) {
++ if(formatterMatch[t]) {
++ this.formatter.formatters[t-1].handler(this);
++ this.formatter.formatterRegExp.lastIndex = this.nextMatch;
++ break;
++ }
++ }
++ terminatorRegExp.lastIndex = this.nextMatch;
++ terminatorMatch = terminatorRegExp.exec(this.source);
++ formatterMatch = this.formatter.formatterRegExp.exec(terminatorMatch ? this.source.substr(0,terminatorMatch.index) : this.source);
++ }
++ if(this.nextMatch < this.source.length) {
++ this.outputText(this.output,this.nextMatch,this.source.length);
++ this.nextMatch = this.source.length;
++ }
++ this.output = oldOutput;
++};
++
++Wikifier.prototype.outputText = function(place,startPos,endPos)
++{
++ while(this.highlightMatch && (this.highlightRegExp.lastIndex > startPos) && (this.highlightMatch.index < endPos) && (startPos < endPos)) {
++ if(this.highlightMatch.index > startPos) {
++ createTiddlyText(place,this.source.substring(startPos,this.highlightMatch.index));
++ startPos = this.highlightMatch.index;
++ }
++ var highlightEnd = Math.min(this.highlightRegExp.lastIndex,endPos);
++ createTiddlyElement(place,"span",null,"highlight",this.source.substring(startPos,highlightEnd));
++ startPos = highlightEnd;
++ if(startPos >= this.highlightRegExp.lastIndex)
++ this.highlightMatch = this.highlightRegExp.exec(this.source);
++ }
++ if(startPos < endPos) {
++ createTiddlyText(place,this.source.substring(startPos,endPos));
++ }
++};
++
++function wikify(source,output,highlightRegExp,tiddler)
++{
++ if(source) {
++ var wikifier = new Wikifier(source,getParser(tiddler),highlightRegExp,tiddler);
++ var t0 = new Date();
++ wikifier.subWikify(output);
++ if(tiddler && config.options.chkDisplayInstrumentation)
++ displayMessage("wikify:" +tiddler.title+ " in " + (new Date()-t0) + " ms");
++ }
++}
++
++function wikifyStatic(source,highlightRegExp,tiddler,format)
++{
++ var e = createTiddlyElement(document.body,"pre");
++ e.style.display = "none";
++ var html = "";
++ if(source && source != "") {
++ if(!tiddler)
++ tiddler = new Tiddler("temp");
++ var wikifier = new Wikifier(source,getParser(tiddler,format),highlightRegExp,tiddler);
++ wikifier.isStatic = true;
++ wikifier.subWikify(e);
++ html = e.innerHTML;
++ jQuery(e).remove();
++ }
++ return html;
++}
++
++function wikifyPlainText(text,limit,tiddler)
++{
++ if(limit > 0)
++ text = text.substr(0,limit);
++ var wikifier = new Wikifier(text,formatter,null,tiddler);
++ return wikifier.wikifyPlain();
++}
++
++function highlightify(source,output,highlightRegExp,tiddler)
++{
++ if(source) {
++ var wikifier = new Wikifier(source,formatter,highlightRegExp,tiddler);
++ wikifier.outputText(output,0,source.length);
++ }
++}
++
++//--
++//-- Macro definitions
++//--
++
++function invokeMacro(place,macro,params,wikifier,tiddler)
++{
++ try {
++ var m = config.macros[macro];
++ if(m && m.handler) {
++ var tiddlerElem = story.findContainingTiddler(place);
++ window.tiddler = tiddlerElem ? store.getTiddler(tiddlerElem.getAttribute("tiddler")) : null;
++ window.place = place;
++ var allowEval = true;
++ if(config.evaluateMacroParameters=="system") {
++ if(!tiddler || tiddler.tags.indexOf("systemAllowEval") == -1) {
++ allowEval = false;
++ }
++ }
++ m.handler(place,macro,m.noPreParse?null:params.readMacroParams(!allowEval),wikifier,params,tiddler);
++ } else {
++ createTiddlyError(place,config.messages.macroError.format([macro]),config.messages.macroErrorDetails.format([macro,config.messages.missingMacro]));
++ }
++ } catch(ex) {
++ createTiddlyError(place,config.messages.macroError.format([macro]),config.messages.macroErrorDetails.format([macro,ex.toString()]));
++ }
++}
++
++config.macros.version.handler = function(place)
++{
++ jQuery("<span/>").text(formatVersion()).appendTo(place);
++};
++
++config.macros.today.handler = function(place,macroName,params)
++{
++ var now = new Date();
++ var text = params[0] ? now.formatString(params[0].trim()) : now.toLocaleString();
++ jQuery("<span/>").text(text).appendTo(place);
++};
++
++config.macros.list.template = "<<view title link>>";
++config.macros.list.handler = function(place,macroName,params,wikifier,paramString)
++{
++ var list = document.createElement("ul");
++ jQuery(list).attr({ refresh: "macro", macroName: macroName }).data("params", paramString);
++ place.appendChild(list);
++ this.refresh(list);
++};
++
++config.macros.list.refresh = function(list) {
++ var paramString = jQuery(list).data("params");
++ var params = paramString.readMacroParams();
++ var args = paramString.parseParams("anon", null, null)[0];
++ var type = args.anon ? args.anon[0] : "all";
++ jQuery(list).empty().addClass("list list-" + type);
++ var template = args.template ? store.getTiddlerText(args.template[0]) : false;
++ if(!template) {
++ template = config.macros.list.template;
++ }
++ if(this[type].prompt)
++ createTiddlyElement(list,"li",null,"listTitle",this[type].prompt);
++ var results;
++ if(this[type].handler)
++ results = this[type].handler(params);
++ var t;
++ for(t = 0; t < results.length; t++) {
++ var li = document.createElement("li");
++ list.appendChild(li);
++ var tiddler = results[t];
++ if(typeof(tiddler) == 'string') { // deal with missing etc..
++ tiddler = store.getTiddler(tiddler) || new Tiddler(tiddler);
++ }
++ wikify(template, li, null, tiddler);
++ }
++ if(results.length === 0 && args.emptyMessage) {
++ jQuery(list).addClass("emptyList");
++ jQuery("<li />").text(args.emptyMessage[0]).appendTo(list);
++ }
++};
++
++config.macros.list.all.handler = function(params)
++{
++ return store.reverseLookup("tags","excludeLists",false,"title");
++};
++
++config.macros.list.missing.handler = function(params)
++{
++ return store.getMissingLinks();
++};
++
++config.macros.list.orphans.handler = function(params)
++{
++ return store.getOrphans();
++};
++
++config.macros.list.shadowed.handler = function(params)
++{
++ return store.getShadowed();
++};
++
++config.macros.list.touched.handler = function(params)
++{
++ return store.getTouched();
++};
++
++config.macros.list.filter.handler = function(params)
++{
++ var filter = params[1];
++ var results = [];
++ if(filter) {
++ var tiddlers = store.filterTiddlers(filter);
++ var t;
++ for(t=0; t<tiddlers.length; t++)
++ results.push(tiddlers[t].title);
++ }
++ return results;
++};
++
++config.macros.allTags.handler = function(place,macroName,params)
++{
++ var tags = store.getTags(params[0]);
++ var ul = createTiddlyElement(place,"ul");
++ if(tags.length == 0)
++ createTiddlyElement(ul,"li",null,"listTitle",this.noTags);
++ var t;
++ for(t=0; t<tags.length; t++) {
++ var title = tags[t][0];
++ var info = getTiddlyLinkInfo(title);
++ var li = createTiddlyElement(ul,"li");
++ var btn = createTiddlyButton(li,title + " (" + tags[t][1] + ")",this.tooltip.format([title]),onClickTag,info.classes);
++ btn.setAttribute("tag",title);
++ btn.setAttribute("refresh","link");
++ btn.setAttribute("tiddlyLink",title);
++ if(params[1]) {
++ btn.setAttribute("sortby",params[1]);
++ }
++ }
++};
++
++var macro = config.macros.timeline;
++merge(macro, {
++ handler: function(place,macroName,params, wikifier, paramString, tiddler) {
++ var container = jQuery("<div />").attr("params", paramString).
++ attr("macroName", macroName).appendTo(place)[0];
++ macro.refresh(container);
++ },
++ refresh: function(container) {
++ jQuery(container).attr("refresh", "macro").empty();
++ var paramString = jQuery(container).attr("params");
++ var args = paramString.parseParams("anon", null, null)[0];
++ var params = args.anon || [];
++
++ var field = params[0] || "modified";
++ var prefix = field.charAt(0);
++ var no_prefix_field = prefix === "-" || prefix === "+" ? field.substr(1, field.length) : field;
++ var dateFormat = params[2] || this.dateFormat;
++ var groupTemplate = macro.groupTemplate.format(no_prefix_field, dateFormat);
++ groupTemplate = args.groupTemplate ? store.getTiddlerText(args.groupTemplate[0]) || groupTemplate :
++ groupTemplate;
++
++ var itemTemplate = macro.itemTemplate;
++ itemTemplate = args.template ? store.getTiddlerText(args.template[0]) || itemTemplate :
++ itemTemplate;
++
++ var tiddlers = args.filter ? store.sortTiddlers(store.filterTiddlers(args.filter[0]), field) :
++ store.reverseLookup("tags", "excludeLists", false, field);
++ var lastGroup = "", ul;
++ var last = params[1] ? tiddlers.length-Math.min(tiddlers.length,parseInt(params[1],10)) : 0;
++ var t;
++ for(t=tiddlers.length-1; t>=last; t--) {
++ var tiddler = tiddlers[t];
++ var theGroup = wikifyPlainText(groupTemplate,0,tiddler);
++ if(typeof(ul) == "undefined" || theGroup != lastGroup) {
++ ul = document.createElement("ul");
++ jQuery(ul).addClass("timeline");
++ container.appendChild(ul);
++ createTiddlyElement(ul,"li",null,"listTitle",theGroup);
++ lastGroup = theGroup;
++ }
++ var item = createTiddlyElement(ul,"li",null,"listLink");
++ wikify(itemTemplate,item,null,tiddler);
++ }
++ },
++ groupTemplate: "<<view %0 date '%1'>>",
++ itemTemplate: "<<view title link>>"
++});
++
++config.macros.tiddler.handler = function(place,macroName,params,wikifier,paramString,tiddler)
++{
++ var allowEval = true;
++ var stack = config.macros.tiddler.tiddlerStack;
++ if(stack.length > 0 && config.evaluateMacroParameters == "system") {
++ // included tiddler and "system" evaluation required, so check tiddler tagged appropriately
++ var title = stack[stack.length-1];
++ var pos = title.indexOf(config.textPrimitives.sectionSeparator);
++ if(pos != -1) {
++ title = title.substr(0,pos); // get the base tiddler title
++ }
++ var t = store.getTiddler(title);
++ if(!t || t.tags.indexOf("systemAllowEval") == -1) {
++ allowEval = false;
++ }
++ }
++ params = paramString.parseParams("name",null,allowEval,false,true);
++ var names = params[0]["name"];
++ var tiddlerName = names[0];
++ var className = names[1] || null;
++ var args = params[0]["with"];
++ var wrapper = createTiddlyElement(place,"span",null,className,null,{
++ refresh: "content", tiddler: tiddlerName
++ });
++ if(args!==undefined)
++ wrapper.setAttribute("args","[["+args.join("]] [[")+"]]");
++ this.transclude(wrapper,tiddlerName,args);
++};
++
++config.macros.tiddler.transclude = function(wrapper,tiddlerName,args)
++{
++ var text = store.getTiddlerText(tiddlerName);
++ if(!text)
++ return;
++ var stack = config.macros.tiddler.tiddlerStack;
++ if(stack.indexOf(tiddlerName) !== -1)
++ return;
++ stack.push(tiddlerName);
++ try {
++ if(typeof args == "string")
++ args = args.readBracketedList();
++ var n = args ? Math.min(args.length,9) : 0;
++ var i;
++ for(i=0; i<n; i++) {
++ var placeholderRE = new RegExp("\\$" + (i + 1),"mg");
++ text = text.replace(placeholderRE,args[i]);
++ }
++ config.macros.tiddler.renderText(wrapper,text,tiddlerName);
++ } finally {
++ stack.pop();
++ }
++};
++
++config.macros.tiddler.renderText = function(place,text,tiddlerName)
++{
++ wikify(text,place,null,store.getTiddler(tiddlerName));
++};
++
++config.macros.tiddler.tiddlerStack = [];
++
++config.macros.tag.handler = function(place,macroName,params)
++{
++ var btn = createTagButton(place,params[0],null,params[1],params[2]);
++ if(params[3]) {
++ btn.setAttribute('sortby',params[3]);
++ }
++};
++
++config.macros.tags.handler = function(place,macroName,params,wikifier,paramString,tiddler)
++{
++ params = paramString.parseParams("anon",null,true,false,false);
++ var ul = createTiddlyElement(place,"ul");
++ var title = getParam(params,"anon","");
++ if(title && store.tiddlerExists(title))
++ tiddler = store.getTiddler(title);
++ var sep = getParam(params,"sep"," ");
++ var lingo = config.views.wikified.tag;
++ var label = null;
++ var t;
++ for(t=0; t<tiddler.tags.length; t++) {
++ var tag = store.getTiddler(tiddler.tags[t]);
++ if(!tag || !tag.tags.contains("excludeLists")) {
++ if(!label)
++ label = createTiddlyElement(ul,"li",null,"listTitle",lingo.labelTags.format([tiddler.title]));
++ createTagButton(createTiddlyElement(ul,"li"),tiddler.tags[t],tiddler.title);
++ if(t<tiddler.tags.length-1)
++ createTiddlyText(ul,sep);
++ }
++ }
++ if(!label)
++ createTiddlyElement(ul,"li",null,"listTitle",lingo.labelNoTags.format([tiddler.title]));
++};
++
++config.macros.tagging.handler = function(place,macroName,params,wikifier,paramString,tiddler)
++{
++ params = paramString.parseParams("anon",null,true,false,false);
++ var ul = createTiddlyElement(place,"ul");
++ var title = getParam(params,"anon","");
++ if(title == "" && tiddler instanceof Tiddler)
++ title = tiddler.title;
++ var sep = getParam(params,"sep"," ");
++ ul.setAttribute("title",this.tooltip.format([title]));
++ var sortby = getParam(params,"sortBy",false);
++ var tagged = store.getTaggedTiddlers(title,sortby);
++ var prompt = tagged.length == 0 ? this.labelNotTag : this.label;
++ createTiddlyElement(ul,"li",null,"listTitle",prompt.format([title,tagged.length]));
++ var t;
++ for(t=0; t<tagged.length; t++) {
++ createTiddlyLink(createTiddlyElement(ul,"li"),tagged[t].title,true);
++ if(t<tagged.length-1)
++ createTiddlyText(ul,sep);
++ }
++};
++
++config.macros.closeAll.handler = function(place)
++{
++ createTiddlyButton(place,this.label,this.prompt,this.onClick);
++};
++
++config.macros.closeAll.onClick = function(e)
++{
++ story.closeAllTiddlers();
++ return false;
++};
++
++config.macros.permaview.handler = function(place)
++{
++ createTiddlyButton(place,this.label,this.prompt,this.onClick);
++};
++
++config.macros.permaview.onClick = function(e)
++{
++ story.permaView();
++ return false;
++};
++
++config.macros.saveChanges.handler = function(place,macroName,params)
++{
++ if(!readOnly)
++ createTiddlyButton(place,params[0] || this.label,params[1] || this.prompt,this.onClick,null,null,this.accessKey);
++};
++
++config.macros.saveChanges.onClick = function(e)
++{
++ saveChanges();
++ return false;
++};
++
++config.macros.slider.onClickSlider = function(ev)
++{
++ var n = this.nextSibling;
++ var cookie = n.getAttribute("cookie");
++ var isOpen = n.style.display != "none";
++ if(config.options.chkAnimate && anim && typeof Slider == "function")
++ anim.startAnimating(new Slider(n,!isOpen,null,"none"));
++ else
++ n.style.display = isOpen ? "none" : "block";
++ config.options[cookie] = !isOpen;
++ saveOption(cookie);
++ return false;
++};
++
++config.macros.slider.createSlider = function(place,cookie,title,tooltip)
++{
++ var c = cookie || "";
++ createTiddlyButton(place,title,tooltip,this.onClickSlider);
++ var panel = createTiddlyElement(null,"div",null,"sliderPanel");
++ panel.setAttribute("cookie",c);
++ panel.style.display = config.options[c] ? "block" : "none";
++ place.appendChild(panel);
++ return panel;
++};
++
++config.macros.slider.handler = function(place,macroName,params)
++{
++ var panel = this.createSlider(place,params[0],params[2],params[3]);
++ var text = store.getTiddlerText(params[1]);
++ panel.setAttribute("refresh","content");
++ panel.setAttribute("tiddler",params[1]);
++ if(text)
++ wikify(text,panel,null,store.getTiddler(params[1]));
++};
++
++// <<gradient [[tiddler name]] vert|horiz rgb rgb rgb rgb... >>
++config.macros.gradient.handler = function(place,macroName,params,wikifier,paramString,tiddler)
++{
++ var panel = wikifier ? createTiddlyElement(place,"div",null,"gradient") : place;
++ panel.style.position = "relative";
++ panel.style.overflow = "hidden";
++ panel.style.zIndex = "0";
++ if(wikifier) {
++ var styles = config.formatterHelpers.inlineCssHelper(wikifier);
++ config.formatterHelpers.applyCssHelper(panel,styles);
++ }
++ params = paramString.parseParams("color");
++ var locolors = [], hicolors = [];
++ var t;
++ for(t=2; t<params.length; t++) {
++ var c = params[t].value;
++ if(params[t].name == "snap") {
++ hicolors[hicolors.length-1] = c;
++ } else {
++ locolors.push(c);
++ hicolors.push(c);
++ }
++ }
++ drawGradient(panel,params[1].value != "vert",locolors,hicolors);
++ if(wikifier)
++ wikifier.subWikify(panel,">>");
++ if(document.all) {
++ panel.style.height = "100%";
++ panel.style.width = "100%";
++ }
++};
++
++config.macros.message.handler = function(place,macroName,params)
++{
++ if(params[0]) {
++ var names = params[0].split(".");
++ var lookupMessage = function(root,nameIndex) {
++ if(root[names[nameIndex]]) {
++ if(nameIndex < names.length-1)
++ return (lookupMessage(root[names[nameIndex]],nameIndex+1));
++ else
++ return root[names[nameIndex]];
++ } else
++ return null;
++ };
++ var m = lookupMessage(config,0);
++ if(m == null)
++ m = lookupMessage(window,0);
++ createTiddlyText(place,m.toString().format(params.splice(1)));
++ }
++};
++
++
++config.macros.view.depth = 0;
++config.macros.view.values = [];
++config.macros.view.views = {
++ text: function(value,place,params,wikifier,paramString,tiddler) {
++ highlightify(value,place,highlightHack,tiddler);
++ },
++ link: function(value,place,params,wikifier,paramString,tiddler) {
++ createTiddlyLink(place,value,true);
++ },
++ wikified: function(value,place,params,wikifier,paramString,tiddler) {
++ if(config.macros.view.depth>50)
++ return;
++ if(config.macros.view.depth>0) {
++ if (value==config.macros.view.values[config.macros.view.depth-1]) {
++ return;
++ }
++ }
++ config.macros.view.values[config.macros.view.depth] = value;
++ config.macros.view.depth++;
++ if(params[2])
++ value=params[2].unescapeLineBreaks().format([value]);
++ wikify(value,place,highlightHack,tiddler);
++ config.macros.view.depth--;
++ config.macros.view.values[config.macros.view.depth] = null;
++ },
++ date: function(value,place,params,wikifier,paramString,tiddler) {
++ value = Date.convertFromYYYYMMDDHHMM(value);
++ createTiddlyText(place,value.formatString(params[2] || config.views.wikified.dateFormat));
++ }
++};
++
++config.macros.view.handler = function(place,macroName,params,wikifier,paramString,tiddler)
++{
++ if((tiddler instanceof Tiddler) && params[0]) {
++ var value = store.getValue(tiddler,params[0]);
++ if(value) {
++ var type = params[1] || config.macros.view.defaultView;
++ var handler = config.macros.view.views[type];
++ if(handler)
++ handler(value,place,params,wikifier,paramString,tiddler);
++ }
++ }
++};
++
++config.macros.edit.handler = function(place,macroName,params,wikifier,paramString,tiddler)
++{
++ var field = params[0];
++ var rows = params[1] || 0;
++ var defVal = params[2] || '';
++ if((tiddler instanceof Tiddler) && field) {
++ story.setDirty(tiddler.title,true);
++ var e,v;
++ if(field != "text" && !rows) {
++ e = createTiddlyElement(null,"input",null,null,null,{
++ type: "text", edit: field, size: "40", autocomplete: "off"
++ });
++ e.value = store.getValue(tiddler,field) || defVal;
++ place.appendChild(e);
++ } else {
++ var wrapper1 = createTiddlyElement(null,"fieldset",null,"fieldsetFix");
++ var wrapper2 = createTiddlyElement(wrapper1,"div");
++ e = createTiddlyElement(wrapper2,"textarea");
++ e.value = v = store.getValue(tiddler,field) || defVal;
++ rows = rows || 10;
++ var lines = v.match(/\n/mg);
++ var maxLines = Math.max(parseInt(config.options.txtMaxEditRows,10),5);
++ if(lines != null && lines.length > rows)
++ rows = lines.length + 5;
++ rows = Math.min(rows,maxLines);
++ e.setAttribute("rows",rows);
++ e.setAttribute("edit",field);
++ place.appendChild(wrapper1);
++ }
++ if(tiddler.isReadOnly()) {
++ e.setAttribute("readOnly","readOnly");
++ jQuery(e).addClass("readOnly");
++ }
++ return e;
++ }
++};
++
++config.macros.tagChooser.onClick = function(ev)
++{
++ var e = ev || window.event;
++ var lingo = config.views.editor.tagChooser;
++ var popup = Popup.create(this);
++ var tags = store.getTags(this.getAttribute("tags"));
++ if(tags.length == 0)
++ jQuery("<li/>").text(lingo.popupNone).appendTo(popup);
++ var t;
++ for(t=0; t<tags.length; t++) {
++ var tag = createTiddlyButton(createTiddlyElement(popup,"li"),tags[t][0],lingo.tagTooltip.format([tags[t][0]]),config.macros.tagChooser.onTagClick);
++ tag.setAttribute("tag",tags[t][0]);
++ tag.setAttribute("tiddler",this.getAttribute("tiddler"));
++ }
++ Popup.show();
++ e.cancelBubble = true;
++ if(e.stopPropagation) e.stopPropagation();
++ return false;
++};
++
++config.macros.tagChooser.onTagClick = function(ev)
++{
++ var e = ev || window.event;
++ if(e.metaKey || e.ctrlKey) stopEvent(e); //# keep popup open on CTRL-click
++ var tag = this.getAttribute("tag");
++ var title = this.getAttribute("tiddler");
++ if(!readOnly)
++ story.setTiddlerTag(title,tag,0);
++ return false;
++};
++
++config.macros.tagChooser.handler = function(place,macroName,params,wikifier,paramString,tiddler)
++{
++ if(tiddler instanceof Tiddler) {
++ var lingo = config.views.editor.tagChooser;
++ var btn = createTiddlyButton(place,lingo.text,lingo.tooltip,this.onClick);
++ btn.setAttribute("tiddler",tiddler.title);
++ btn.setAttribute("tags",params[0]);
++ }
++};
++
++config.macros.refreshDisplay.handler = function(place)
++{
++ createTiddlyButton(place,this.label,this.prompt,this.onClick);
++};
++
++config.macros.refreshDisplay.onClick = function(e)
++{
++ refreshAll();
++ return false;
++};
++
++config.macros.annotations.handler = function(place,macroName,params,wikifier,paramString,tiddler)
++{
++ var title = tiddler ? tiddler.title : null;
++ var a = title ? config.annotations[title] : null;
++ if(!tiddler || !title || !a)
++ return;
++ var text = a.format([title]);
++ wikify(text,createTiddlyElement(place,"div",null,"annotation"),null,tiddler);
++};
++//--
++//-- NewTiddler and NewJournal macros
++//--
++
++config.macros.newTiddler.createNewTiddlerButton = function(place,title,params,label,prompt,accessKey,newFocus,isJournal)
++{
++ var tags = [];
++ var t;
++ for(t=1; t<params.length; t++) {
++ if((params[t].name == "anon" && t != 1) || (params[t].name == "tag"))
++ tags.push(params[t].value);
++ }
++ label = getParam(params,"label",label);
++ prompt = getParam(params,"prompt",prompt);
++ accessKey = getParam(params,"accessKey",accessKey);
++ newFocus = getParam(params,"focus",newFocus);
++ var customFields = getParam(params,"fields","");
++ if(!customFields && !store.isShadowTiddler(title))
++ customFields = String.encodeHashMap(config.defaultCustomFields);
++ var btn = createTiddlyButton(place,label,prompt,this.onClickNewTiddler,null,null,accessKey);
++ btn.setAttribute("newTitle",title);
++ btn.setAttribute("isJournal",isJournal ? "true" : "false");
++ if(tags.length > 0)
++ btn.setAttribute("params",tags.join("|"));
++ btn.setAttribute("newFocus",newFocus);
++ btn.setAttribute("newTemplate",getParam(params,"template",DEFAULT_EDIT_TEMPLATE));
++ if(customFields !== "")
++ btn.setAttribute("customFields",customFields);
++ var text = getParam(params,"text");
++ if(text !== undefined)
++ btn.setAttribute("newText",text);
++ return btn;
++};
++
++config.macros.newTiddler.onClickNewTiddler = function()
++{
++ var title = this.getAttribute("newTitle");
++ if(this.getAttribute("isJournal") == "true") {
++ title = new Date().formatString(title.trim());
++ }
++ var params = this.getAttribute("params");
++ var tags = params ? params.split("|") : [];
++ var focus = this.getAttribute("newFocus");
++ var template = this.getAttribute("newTemplate");
++ var customFields = this.getAttribute("customFields");
++ if(!customFields && !store.isShadowTiddler(title))
++ customFields = String.encodeHashMap(config.defaultCustomFields);
++ story.displayTiddler(null,title,template,false,null,null);
++ var tiddlerElem = story.getTiddler(title);
++ if(customFields)
++ story.addCustomFields(tiddlerElem,customFields);
++ var text = this.getAttribute("newText");
++ if(typeof text == "string" && story.getTiddlerField(title,"text"))
++ story.getTiddlerField(title,"text").value = text.format([title]);
++ var t;
++ for(t=0;t<tags.length;t++)
++ story.setTiddlerTag(title,tags[t],+1);
++ story.focusTiddler(title,focus);
++ return false;
++};
++
++config.macros.newTiddler.handler = function(place,macroName,params,wikifier,paramString)
++{
++ if(!readOnly) {
++ params = paramString.parseParams("anon",null,true,false,false);
++ var title = params[1] && params[1].name == "anon" ? params[1].value : this.title;
++ title = getParam(params,"title",title);
++ this.createNewTiddlerButton(place,title,params,this.label,this.prompt,this.accessKey,"title",false);
++ }
++};
++
++config.macros.newJournal.handler = function(place,macroName,params,wikifier,paramString)
++{
++ if(!readOnly) {
++ params = paramString.parseParams("anon",null,true,false,false);
++ var title = params[1] && params[1].name == "anon" ? params[1].value : config.macros.timeline.dateFormat;
++ title = getParam(params,"title",title);
++ config.macros.newTiddler.createNewTiddlerButton(place,title,params,this.label,this.prompt,this.accessKey,"text",true);
++ }
++};
++
++//--
++//-- Search macro
++//--
++
++config.macros.search.handler = function(place,macroName,params,wikifier,paramString,tiddler)
++{
++ params = paramString.parseParams("anon",null,false,false,false);
++ createTiddlyButton(place,this.label,this.prompt,this.onClick,"searchButton");
++ var txt = createTiddlyElement(null,"input",null,"txtOptionInput searchField");
++ txt.value = getParam(params,"anon","");
++ if(config.browser.isSafari) {
++ txt.setAttribute("type","search");
++ txt.setAttribute("results","5");
++ } else {
++ txt.setAttribute("type","text");
++ }
++ place.appendChild(txt);
++ txt.onkeyup = this.onKeyPress;
++ txt.onfocus = this.onFocus;
++ txt.setAttribute("size",this.sizeTextbox);
++ txt.setAttribute("accessKey",getParam(params,"accesskey",this.accessKey));
++ txt.setAttribute("autocomplete","off");
++ txt.setAttribute("lastSearchText","");
++ txt.setAttribute("placeholder",getParam(params,"placeholder",this.placeholder));
++};
++
++// Global because there's only ever one outstanding incremental search timer
++config.macros.search.timeout = null;
++
++config.macros.search.doSearch = function(txt)
++{
++ if(txt.value.length > 0) {
++ story.search(txt.value,config.options.chkCaseSensitiveSearch,config.options.chkRegExpSearch);
++ txt.setAttribute("lastSearchText",txt.value);
++ }
++};
++
++config.macros.search.onClick = function(e)
++{
++ config.macros.search.doSearch(this.nextSibling);
++ return false;
++};
++
++config.macros.search.onKeyPress = function(ev)
++{
++ var me = config.macros.search;
++ var e = ev || window.event;
++ switch(e.keyCode) {
++ case 9: // Tab
++ return;
++ case 13: // Ctrl-Enter
++ case 10: // Ctrl-Enter on IE PC
++ me.doSearch(this);
++ break;
++ case 27: // Escape
++ this.value = "";
++ clearMessage();
++ break;
++ }
++ if(config.options.chkIncrementalSearch) {
++ if(this.value.length > 2) {
++ if(this.value != this.getAttribute("lastSearchText")) {
++ if(me.timeout) {
++ clearTimeout(me.timeout);
++ }
++ var txt = this;
++ me.timeout = setTimeout(function() {me.doSearch(txt);},500);
++ }
++ } else {
++ if(me.timeout) {
++ clearTimeout(me.timeout);
++ }
++ }
++ }
++};
++
++config.macros.search.onFocus = function(e)
++{
++ this.select();
++};
++
++//--
++//-- Tabs macro
++//--
++
++config.macros.tabs.handler = function(place,macroName,params)
++{
++ var cookie = params[0];
++ var numTabs = (params.length-1)/3;
++ var wrapper = createTiddlyElement(null,"div",null,"tabsetWrapper " + cookie);
++ var tabset = createTiddlyElement(wrapper,"div",null,"tabset");
++ tabset.setAttribute("cookie",cookie);
++ var validTab = false;
++ var t;
++ for(t=0; t<numTabs; t++) {
++ var label = params[t*3+1];
++ var prompt = params[t*3+2];
++ var content = params[t*3+3];
++ var tab = createTiddlyButton(tabset,label,prompt,this.onClickTab,"tab tabUnselected");
++ createTiddlyElement(tab,"span",null,null," ",{style:"font-size:0pt;line-height:0px"});
++ tab.setAttribute("tab",label);
++ tab.setAttribute("content",content);
++ tab.title = prompt;
++ if(config.options[cookie] == label)
++ validTab = true;
++ }
++ if(!validTab)
++ config.options[cookie] = params[1];
++ place.appendChild(wrapper);
++ this.switchTab(tabset,config.options[cookie]);
++};
++
++config.macros.tabs.onClickTab = function(e)
++{
++ config.macros.tabs.switchTab(this.parentNode,this.getAttribute("tab"));
++ return false;
++};
++
++config.macros.tabs.switchTab = function(tabset,tab)
++{
++ var cookie = tabset.getAttribute("cookie");
++ var theTab = null;
++ var nodes = tabset.childNodes;
++ var t;
++ for(t=0; t<nodes.length; t++) {
++ if(nodes[t].getAttribute && nodes[t].getAttribute("tab") == tab) {
++ theTab = nodes[t];
++ theTab.className = "tab tabSelected";
++ } else {
++ nodes[t].className = "tab tabUnselected";
++ }
++ }
++ if(theTab) {
++ if(tabset.nextSibling && tabset.nextSibling.className == "tabContents")
++ jQuery(tabset.nextSibling).remove();
++ var tabContent = createTiddlyElement(null,"div",null,"tabContents");
++ tabset.parentNode.insertBefore(tabContent,tabset.nextSibling);
++ var contentTitle = theTab.getAttribute("content");
++ wikify(store.getTiddlerText(contentTitle),tabContent,null,store.getTiddler(contentTitle));
++ if(cookie) {
++ config.options[cookie] = tab;
++ saveOption(cookie);
++ }
++ }
++};
++
++//--
++//-- Tiddler toolbar
++//--
++
++// Create a toolbar command button
++config.macros.toolbar.createCommand = function(place,commandName,tiddler,className)
++{
++ if(typeof commandName != "string") {
++ var c = null;
++ var t;
++ for(t in config.commands) {
++ if(config.commands[t] == commandName)
++ c = t;
++ }
++ commandName = c;
++ }
++ if((tiddler instanceof Tiddler) && (typeof commandName == "string")) {
++ var command = config.commands[commandName];
++ if(command.isEnabled ? command.isEnabled(tiddler) : this.isCommandEnabled(command,tiddler)) {
++ var text = command.getText ? command.getText(tiddler) : this.getCommandText(command,tiddler);
++ var tooltip = command.getTooltip ? command.getTooltip(tiddler) : this.getCommandTooltip(command,tiddler);
++ var cmd = command.type == "popup" ? this.onClickPopup : this.onClickCommand;
++ var btn = createTiddlyButton(null,text,tooltip,cmd);
++ btn.setAttribute("commandName",commandName);
++ btn.setAttribute("tiddler",tiddler.title);
++ jQuery(btn).addClass("command_" + commandName);
++ if(className)
++ jQuery(btn).addClass(className);
++ place.appendChild(btn);
++ }
++ }
++};
++
++config.macros.toolbar.isCommandEnabled = function(command,tiddler)
++{
++ var title = tiddler.title;
++ var ro = tiddler.isReadOnly();
++ var shadow = store.isShadowTiddler(title) && !store.tiddlerExists(title);
++ return (!ro || (ro && !command.hideReadOnly)) && !(shadow && command.hideShadow);
++};
++
++config.macros.toolbar.getCommandText = function(command,tiddler)
++{
++ return (tiddler.isReadOnly() && command.readOnlyText) || command.text;
++};
++
++config.macros.toolbar.getCommandTooltip = function(command,tiddler)
++{
++ return (tiddler.isReadOnly() && command.readOnlyTooltip) || command.tooltip;
++};
++
++config.macros.toolbar.onClickCommand = function(ev)
++{
++ var e = ev || window.event;
++ e.cancelBubble = true;
++ if(e.stopPropagation) e.stopPropagation();
++ var command = config.commands[this.getAttribute("commandName")];
++ return command.handler(e,this,this.getAttribute("tiddler"));
++};
++
++config.macros.toolbar.onClickPopup = function(ev)
++{
++ var e = ev || window.event;
++ e.cancelBubble = true;
++ if(e.stopPropagation) e.stopPropagation();
++ var popup = Popup.create(this);
++ var command = config.commands[this.getAttribute("commandName")];
++ var title = this.getAttribute("tiddler");
++ popup.setAttribute("tiddler",title);
++ command.handlePopup(popup,title);
++ Popup.show();
++ return false;
++};
++
++// Invoke the first command encountered from a given place that is tagged with a specified class
++config.macros.toolbar.invokeCommand = function(place,className,event)
++{
++ var children = place.getElementsByTagName("a");
++ var t;
++ for(t=0; t<children.length; t++) {
++ var c = children[t];
++ if(jQuery(c).hasClass(className) && c.getAttribute && c.getAttribute("commandName")) {
++ if(c.onclick instanceof Function)
++ c.onclick.call(c,event);
++ break;
++ }
++ }
++};
++
++config.macros.toolbar.onClickMore = function(ev)
++{
++ var e = this.nextSibling;
++ e.style.display = "inline";
++ this.style.display = "none";
++ return false;
++};
++
++config.macros.toolbar.onClickLess = function(ev)
++{
++ var e = this.parentNode;
++ var m = e.previousSibling;
++ e.style.display = "none";
++ m.style.display = "inline";
++ return false;
++};
++
++config.macros.toolbar.handler = function(place,macroName,params,wikifier,paramString,tiddler)
++{
++ var t;
++ for(t=0; t<params.length; t++) {
++ var btn;
++ var c = params[t];
++ switch(c) {
++ case "!":
++ createTiddlyText(place,this.separator);
++ break;
++ case "*":
++ createTiddlyElement(place,"br");
++ break;
++ case "<":
++ btn = createTiddlyButton(place,this.lessLabel,this.lessPrompt,config.macros.toolbar.onClickLess);
++ jQuery(btn).addClass("lessCommand");
++ break;
++ case ">":
++ btn = createTiddlyButton(place,this.moreLabel,this.morePrompt,config.macros.toolbar.onClickMore);
++ jQuery(btn).addClass("moreCommand");
++ var e = createTiddlyElement(place,"span",null,"moreCommand");
++ e.style.display = "none";
++ place = e;
++ break;
++ default:
++ var className = "";
++ switch(c.substr(0,1)) {
++ case "+":
++ className = "defaultCommand";
++ c = c.substr(1);
++ break;
++ case "-":
++ className = "cancelCommand";
++ c = c.substr(1);
++ break;
++ }
++ if(config.commands[c]) {
++ this.createCommand(place,c,tiddler,className);
++ } else {
++ this.customCommand(place,c,wikifier,tiddler);
++ }
++ break;
++ }
++ }
++};
++
++// Overrideable function to extend toolbar handler
++config.macros.toolbar.customCommand = function(place,command,wikifier,tiddler)
++{
++};
++
++//--
++//-- Menu and toolbar commands
++//--
++
++config.commands.closeTiddler.handler = function(event,src,title)
++{
++ if(story.isDirty(title) && !readOnly) {
++ if(!confirm(config.commands.cancelTiddler.warning.format([title])))
++ return false;
++ }
++ story.setDirty(title,false);
++ story.closeTiddler(title,true);
++ return false;
++};
++
++config.commands.closeOthers.handler = function(event,src,title)
++{
++ story.closeAllTiddlers(title);
++ return false;
++};
++
++config.commands.editTiddler.handler = function(event,src,title)
++{
++ clearMessage();
++ var tiddlerElem = story.getTiddler(title);
++ var fields = tiddlerElem.getAttribute("tiddlyFields");
++ story.displayTiddler(null,title,DEFAULT_EDIT_TEMPLATE,false,null,fields);
++ var e = story.getTiddlerField(title,config.options.txtEditorFocus||"text");
++ if(e) {
++ setCaretPosition(e,0);
++ }
++ return false;
++};
++
++config.commands.saveTiddler.handler = function(event,src,title)
++{
++ var newTitle = story.saveTiddler(title,event.shiftKey);
++ if(newTitle)
++ story.displayTiddler(null,newTitle);
++ return false;
++};
++
++config.commands.cancelTiddler.handler = function(event,src,title)
++{
++ if(story.hasChanges(title) && !readOnly) {
++ if(!confirm(this.warning.format([title])))
++ return false;
++ }
++ story.setDirty(title,false);
++ story.displayTiddler(null,title);
++ return false;
++};
++
++config.commands.deleteTiddler.handler = function(event,src,title)
++{
++ var deleteIt = true;
++ if(config.options.chkConfirmDelete)
++ deleteIt = confirm(this.warning.format([title]));
++ if(deleteIt) {
++ store.removeTiddler(title);
++ story.closeTiddler(title,true);
++ autoSaveChanges();
++ }
++ return false;
++};
++
++config.commands.permalink.handler = function(event,src,title)
++{
++ var t = encodeURIComponent(String.encodeTiddlyLink(title));
++ if(window.location.hash != t)
++ window.location.hash = t;
++ return false;
++};
++
++config.commands.references.handlePopup = function(popup,title)
++{
++ var references = store.getReferringTiddlers(title);
++ var c = false;
++ var r;
++ for(r=0; r<references.length; r++) {
++ if(references[r].title != title && !references[r].isTagged("excludeLists")) {
++ createTiddlyLink(createTiddlyElement(popup,"li"),references[r].title,true);
++ c = true;
++ }
++ }
++ if(!c)
++ createTiddlyElement(popup,"li",null,"disabled",this.popupNone);
++};
++
++config.commands.jump.handlePopup = function(popup,title)
++{
++ story.forEachTiddler(function(title,element) {
++ createTiddlyLink(createTiddlyElement(popup,"li"),title,true,null,false,null,true);
++ });
++};
++
++config.commands.fields.handlePopup = function(popup,title)
++{
++ var tiddler = store.fetchTiddler(title);
++ if(!tiddler)
++ return;
++ var items = [];
++ store.forEachField(tiddler,function(tiddler,fieldName,value){items.push({field:fieldName,value:value});},true);
++ items.sort(function(a,b) {return a.field < b.field ? -1 : (a.field == b.field ? 0 : +1);});
++ if(items.length > 0)
++ ListView.create(popup,items,this.listViewTemplate);
++ else
++ createTiddlyElement(popup,"div",null,null,this.emptyText);
++};
++
++//--
++//-- Tiddler() object
++//--
++
++function Tiddler(title)
++{
++ this.title = title;
++ this.text = "";
++ this.creator = null;
++ this.modifier = null;
++ this.created = new Date();
++ this.modified = this.created;
++ this.links = [];
++ this.linksUpdated = false;
++ this.tags = [];
++ this.fields = {};
++ return this;
++}
++
++Tiddler.prototype.getLinks = function()
++{
++ if(this.linksUpdated==false)
++ this.changed();
++ return this.links;
++};
++
++// Returns the fields that are inherited in string field:"value" field2:"value2" format
++Tiddler.prototype.getInheritedFields = function()
++{
++ var f = {};
++ var i;
++ for(i in this.fields) {
++ if(i=="server.host" || i=="server.workspace" || i=="wikiformat"|| i=="server.type") {
++ f[i] = this.fields[i];
++ }
++ }
++ return String.encodeHashMap(f);
++};
++
++// Increment the changeCount of a tiddler
++Tiddler.prototype.incChangeCount = function()
++{
++ var c = this.fields['changecount'];
++ c = c ? parseInt(c,10) : 0;
++ this.fields['changecount'] = String(c+1);
++};
++
++// Clear the changeCount of a tiddler
++Tiddler.prototype.clearChangeCount = function()
++{
++ if(this.fields['changecount']) {
++ delete this.fields['changecount'];
++ }
++};
++
++Tiddler.prototype.doNotSave = function()
++{
++ return this.fields['doNotSave'];
++};
++
++// Returns true if the tiddler has been updated since the tiddler was created or downloaded
++Tiddler.prototype.isTouched = function()
++{
++ var changecount = this.fields.changecount || 0;
++ return changecount > 0;
++};
++
++// Change the text and other attributes of a tiddler
++Tiddler.prototype.set = function(title,text,modifier,modified,tags,created,fields,creator)
++{
++ this.assign(title,text,modifier,modified,tags,created,fields,creator);
++ this.changed();
++ return this;
++};
++
++// Change the text and other attributes of a tiddler without triggered a tiddler.changed() call
++Tiddler.prototype.assign = function(title,text,modifier,modified,tags,created,fields,creator)
++{
++ if(title != undefined)
++ this.title = title;
++ if(text != undefined)
++ this.text = text;
++ if(modifier != undefined)
++ this.modifier = modifier;
++ if(modified != undefined)
++ this.modified = modified;
++ if(creator != undefined)
++ this.creator = creator;
++ if(created != undefined)
++ this.created = created;
++ if(fields != undefined)
++ this.fields = fields;
++ if(tags != undefined)
++ this.tags = (typeof tags == "string") ? tags.readBracketedList() : tags;
++ else if(this.tags == undefined)
++ this.tags = [];
++ return this;
++};
++
++// Get the tags for a tiddler as a string (space delimited, using [[brackets]] for tags containing spaces)
++Tiddler.prototype.getTags = function()
++{
++ return String.encodeTiddlyLinkList(this.tags);
++};
++
++// Test if a tiddler carries a tag
++Tiddler.prototype.isTagged = function(tag)
++{
++ return this.tags.indexOf(tag) != -1;
++};
++
++// Static method to convert "\n" to newlines, "\s" to "\"
++Tiddler.unescapeLineBreaks = function(text)
++{
++ return text ? text.unescapeLineBreaks() : "";
++};
++
++// Convert newlines to "\n", "\" to "\s"
++Tiddler.prototype.escapeLineBreaks = function()
++{
++ return this.text.escapeLineBreaks();
++};
++
++// Updates the secondary information (like links[] array) after a change to a tiddler
++Tiddler.prototype.changed = function()
++{
++ this.links = [];
++ var text = this.text;
++ // remove 'quoted' text before scanning tiddler source
++ text = text.replace(/\/%((?:.|\n)*?)%\//g,"").
++ replace(/\{{3}((?:.|\n)*?)\}{3}/g,"").
++ replace(/"""((?:.|\n)*?)"""/g,"").
++ replace(/<nowiki\>((?:.|\n)*?)<\/nowiki\>/g,"").
++ replace(/<html\>((?:.|\n)*?)<\/html\>/g,"").
++ replace(/<script((?:.|\n)*?)<\/script\>/g,"");
++ var t = this.autoLinkWikiWords() ? 0 : 1;
++ var tiddlerLinkRegExp = t==0 ? config.textPrimitives.tiddlerAnyLinkRegExp : config.textPrimitives.tiddlerForcedLinkRegExp;
++ tiddlerLinkRegExp.lastIndex = 0;
++ var formatMatch = tiddlerLinkRegExp.exec(text);
++ while(formatMatch) {
++ var lastIndex = tiddlerLinkRegExp.lastIndex;
++ if(t==0 && formatMatch[1] && formatMatch[1] != this.title) {
++ // wikiWordLink
++ if(formatMatch.index > 0) {
++ var preRegExp = new RegExp(config.textPrimitives.unWikiLink+"|"+config.textPrimitives.anyLetter,"mg");
++ preRegExp.lastIndex = formatMatch.index-1;
++ var preMatch = preRegExp.exec(text);
++ if(preMatch.index != formatMatch.index-1)
++ this.links.pushUnique(formatMatch[1]);
++ } else {
++ this.links.pushUnique(formatMatch[1]);
++ }
++ }
++ else if(formatMatch[2-t] && !config.formatterHelpers.isExternalLink(formatMatch[3-t])) // titledBrackettedLink
++ this.links.pushUnique(formatMatch[3-t]);
++ else if(formatMatch[4-t] && formatMatch[4-t] != this.title) // brackettedLink
++ this.links.pushUnique(formatMatch[4-t]);
++ tiddlerLinkRegExp.lastIndex = lastIndex;
++ formatMatch = tiddlerLinkRegExp.exec(text);
++ }
++ this.linksUpdated = true;
++};
++
++Tiddler.prototype.getSubtitle = function()
++{
++ var modifier = this.modifier;
++ if(!modifier)
++ modifier = config.messages.subtitleUnknown || "";
++ var modified = this.modified;
++ if(modified)
++ modified = modified.toLocaleString();
++ else
++ modified = config.messages.subtitleUnknown || "";
++ var f = config.messages.tiddlerLinkTooltip || "%0 - %1, %2";
++ return f.format([this.title,modifier,modified]);
++};
++
++Tiddler.prototype.isReadOnly = function()
++{
++ return readOnly;
++};
++
++Tiddler.prototype.autoLinkWikiWords = function()
++{
++ return !(this.isTagged("systemConfig") || this.isTagged("excludeMissing"));
++};
++
++Tiddler.prototype.getServerType = function()
++{
++ var serverType = null;
++ if(this.fields['server.type'])
++ serverType = this.fields['server.type'];
++ if(!serverType)
++ serverType = this.fields['wikiformat'];
++ if(serverType && !config.adaptors[serverType])
++ serverType = null;
++ return serverType;
++};
++
++Tiddler.prototype.getAdaptor = function()
++{
++ var serverType = this.getServerType();
++ return serverType ? new config.adaptors[serverType]() : null;
++};
++
++//--
++//-- TiddlyWiki instance contains TiddlerS
++//--
++
++function TiddlyWiki(params)
++{
++ var tiddlers = {}; // Hashmap by name of tiddlers
++ if(params && params.config) {
++ this.config = config;
++ }
++ this.tiddlersUpdated = false;
++ this.namedNotifications = []; // Array of {name:,notify:} of notification functions
++ this.notificationLevel = 0;
++ this.slices = {}; // map tiddlerName->(map sliceName->sliceValue). Lazy.
++ this.clear = function() {
++ tiddlers = {};
++ this.setDirty(false);
++ };
++ this.fetchTiddler = function(title) {
++ var t = tiddlers[title];
++ return t instanceof Tiddler ? t : null;
++ };
++ this.deleteTiddler = function(title) {
++ delete this.slices[title];
++ delete tiddlers[title];
++ };
++ this.addTiddler = function(tiddler) {
++ delete this.slices[tiddler.title];
++ tiddlers[tiddler.title] = tiddler;
++ };
++ this.forEachTiddler = function(callback) {
++ var t;
++ for(t in tiddlers) {
++ var tiddler = tiddlers[t];
++ if(tiddler instanceof Tiddler)
++ callback.call(this,t,tiddler);
++ }
++ };
++}
++
++TiddlyWiki.prototype.setDirty = function(dirty)
++{
++ this.dirty = dirty;
++};
++
++TiddlyWiki.prototype.isDirty = function()
++{
++ return this.dirty;
++};
++
++TiddlyWiki.prototype.tiddlerExists = function(title)
++{
++ var t = this.fetchTiddler(title);
++ return t != undefined;
++};
++
++TiddlyWiki.prototype.isShadowTiddler = function(title)
++{
++ return config.shadowTiddlers[title] === undefined ? false : true;
++};
++
++TiddlyWiki.prototype.isAvailable = function(title) {
++ if (!title)
++ return false;
++ var s = title ? title.indexOf(config.textPrimitives.sectionSeparator) : -1;
++ if(s!=-1)
++ title = title.substr(0,s);
++ return this.tiddlerExists(title) || this.isShadowTiddler(title);
++};
++
++TiddlyWiki.prototype.createTiddler = function(title)
++{
++ var tiddler = this.fetchTiddler(title);
++ if(!tiddler) {
++ tiddler = new Tiddler(title);
++ this.addTiddler(tiddler);
++ this.setDirty(true);
++ }
++ return tiddler;
++};
++
++TiddlyWiki.prototype.getTiddler = function(title)
++{
++ var t = this.fetchTiddler(title);
++ if(t != undefined)
++ return t;
++ else
++ return null;
++};
++
++TiddlyWiki.prototype.getShadowTiddlerText = function(title)
++{
++ if(typeof config.shadowTiddlers[title] == "string")
++ return config.shadowTiddlers[title];
++ else
++ return "";
++};
++
++// Retrieve tiddler contents
++TiddlyWiki.prototype.getTiddlerText = function(title,defaultText)
++{
++ if(!title)
++ return defaultText;
++ var pos = title.indexOf(config.textPrimitives.sectionSeparator);
++ var section = null;
++ if(pos != -1) {
++ section = title.substr(pos + config.textPrimitives.sectionSeparator.length);
++ title = title.substr(0,pos);
++ }
++ pos = title.indexOf(config.textPrimitives.sliceSeparator);
++ if(pos != -1) {
++ var slice = this.getTiddlerSlice(title.substr(0,pos),title.substr(pos + config.textPrimitives.sliceSeparator.length));
++ if(slice)
++ return slice;
++ }
++ var tiddler = this.fetchTiddler(title);
++ var text = tiddler ? tiddler.text : null;
++ if(!tiddler && this.isShadowTiddler(title)) {
++ text = this.getShadowTiddlerText(title);
++ }
++ if(text) {
++ if(!section)
++ return text;
++ var re = new RegExp("(^!{1,6}[ \t]*" + section.escapeRegExp() + "[ \t]*\n)","mg");
++ re.lastIndex = 0;
++ var match = re.exec(text);
++ if(match) {
++ var t = text.substr(match.index+match[1].length);
++ var re2 = /^!/mg;
++ re2.lastIndex = 0;
++ match = re2.exec(t); //# search for the next heading
++ if(match)
++ t = t.substr(0,match.index-1);//# don't include final \n
++ return t;
++ }
++ return defaultText;
++ }
++ if(defaultText != undefined)
++ return defaultText;
++ return null;
++};
++
++TiddlyWiki.prototype.getRecursiveTiddlerText = function(title,defaultText,depth)
++{
++ var bracketRegExp = new RegExp("(?:\\[\\[([^\\]]+)\\]\\])","mg");
++ var text = this.getTiddlerText(title,null);
++ if(text == null)
++ return defaultText;
++ var textOut = [];
++ var match,lastPos = 0;
++ do {
++ match = bracketRegExp.exec(text);
++ if(match) {
++ textOut.push(text.substr(lastPos,match.index-lastPos));
++ if(match[1]) {
++ if(depth <= 0)
++ textOut.push(match[1]);
++ else
++ textOut.push(this.getRecursiveTiddlerText(match[1],"",depth-1));
++ }
++ lastPos = match.index + match[0].length;
++ } else {
++ textOut.push(text.substr(lastPos));
++ }
++ } while(match);
++ return textOut.join("");
++};
++
++//TiddlyWiki.prototype.slicesRE = /(?:^([\'\/]{0,2})~?([\.\w]+)\:\1[\t\x20]*([^\n]+)[\t\x20]*$)|(?:^\|([\'\/]{0,2})~?([\.\w]+)\:?\4\|[\t\x20]*([^\n]+)[\t\x20]*\|$)/gm;
++TiddlyWiki.prototype.slicesRE = /(?:^([\'\/]{0,2})~?([\.\w]+)\:\1[\t\x20]*([^\n]*)[\t\x20]*$)|(?:^\|([\'\/]{0,2})~?([\.\w]+)\:?\4\|[\t\x20]*([^\|\n]*)[\t\x20]*\|$)/gm;
++// @internal
++TiddlyWiki.prototype.calcAllSlices = function(title)
++{
++ var slices = {};
++ var text = this.getTiddlerText(title,"");
++ this.slicesRE.lastIndex = 0;
++ var m = this.slicesRE.exec(text);
++ while(m) {
++ if(m[2])
++ slices[m[2]] = m[3];
++ else
++ slices[m[5]] = m[6];
++ m = this.slicesRE.exec(text);
++ }
++ return slices;
++};
++
++// Returns the slice of text of the given name
++TiddlyWiki.prototype.getTiddlerSlice = function(title,sliceName)
++{
++ var slices = this.slices[title];
++ if(!slices) {
++ slices = this.calcAllSlices(title);
++ this.slices[title] = slices;
++ }
++ return slices[sliceName];
++};
++
++// Build an hashmap of the specified named slices of a tiddler
++TiddlyWiki.prototype.getTiddlerSlices = function(title,sliceNames)
++{
++ var t,r = {};
++ for(t=0; t<sliceNames.length; t++) {
++ var slice = this.getTiddlerSlice(title,sliceNames[t]);
++ if(slice)
++ r[sliceNames[t]] = slice;
++ }
++ return r;
++};
++
++TiddlyWiki.prototype.suspendNotifications = function()
++{
++ this.notificationLevel--;
++};
++
++TiddlyWiki.prototype.resumeNotifications = function()
++{
++ this.notificationLevel++;
++};
++
++// Invoke the notification handlers for a particular tiddler
++TiddlyWiki.prototype.notify = function(title,doBlanket)
++{
++ if(!this.notificationLevel) {
++ var t;
++ for(t=0; t<this.namedNotifications.length; t++) {
++ var n = this.namedNotifications[t];
++ if((n.name == null && doBlanket) || (n.name == title))
++ n.notify(title);
++ }
++ }
++};
++
++// Invoke the notification handlers for all tiddlers
++TiddlyWiki.prototype.notifyAll = function()
++{
++ if(!this.notificationLevel) {
++ var t;
++ for(t=0; t<this.namedNotifications.length; t++) {
++ var n = this.namedNotifications[t];
++ if(n.name)
++ n.notify(n.name);
++ }
++ }
++};
++
++// Add a notification handler to a tiddler
++TiddlyWiki.prototype.addNotification = function(title,fn)
++{
++ var i;
++ for(i=0; i<this.namedNotifications.length; i++) {
++ if((this.namedNotifications[i].name == title) && (this.namedNotifications[i].notify == fn))
++ return this;
++ }
++ this.namedNotifications.push({name: title, notify: fn});
++ return this;
++};
++
++TiddlyWiki.prototype.removeTiddler = function(title)
++{
++ var tiddler = this.fetchTiddler(title);
++ if(tiddler) {
++ this.deleteTiddler(title);
++ this.notify(title,true);
++ this.setDirty(true);
++ }
++};
++
++// Reset the sync status of a freshly synced tiddler
++TiddlyWiki.prototype.resetTiddler = function(title)
++{
++ var tiddler = this.fetchTiddler(title);
++ if(tiddler) {
++ tiddler.clearChangeCount();
++ this.notify(title,true);
++ this.setDirty(true);
++ }
++};
++
++TiddlyWiki.prototype.setTiddlerTag = function(title,status,tag)
++{
++ var tiddler = this.fetchTiddler(title);
++ if(tiddler) {
++ var t = tiddler.tags.indexOf(tag);
++ if(t != -1)
++ tiddler.tags.splice(t,1);
++ if(status)
++ tiddler.tags.push(tag);
++ tiddler.changed();
++ tiddler.incChangeCount();
++ this.notify(title,true);
++ this.setDirty(true);
++ }
++};
++
++TiddlyWiki.prototype.addTiddlerFields = function(title,fields)
++{
++ var tiddler = this.fetchTiddler(title);
++ if(!tiddler)
++ return;
++ merge(tiddler.fields,fields);
++ tiddler.changed();
++ tiddler.incChangeCount();
++ this.notify(title,true);
++ this.setDirty(true);
++};
++
++// Store tiddler in TiddlyWiki instance
++TiddlyWiki.prototype.saveTiddler = function(title,newTitle,newBody,modifier,modified,tags,fields,clearChangeCount,created,creator)
++{
++ var tiddler;
++ if(title instanceof Tiddler) {
++ tiddler = title;
++ tiddler.fields = merge(merge({},tiddler.fields),config.defaultCustomFields,true);
++ title = tiddler.title;
++ newTitle = title;
++ } else {
++ tiddler = this.fetchTiddler(title);
++ if(tiddler) {
++ created = created || tiddler.created; // Preserve created date
++ creator = creator || tiddler.creator;
++ this.deleteTiddler(title);
++ } else {
++ created = created || modified;
++ tiddler = new Tiddler();
++ }
++ fields = merge(merge({},fields),config.defaultCustomFields,true);
++ tiddler.set(newTitle,newBody,modifier,modified,tags,created,fields,creator);
++ }
++ this.addTiddler(tiddler);
++ if(clearChangeCount)
++ tiddler.clearChangeCount();
++ else
++ tiddler.incChangeCount();
++ if(title != newTitle)
++ this.notify(title,true);
++ this.notify(newTitle,true);
++ this.setDirty(true);
++ return tiddler;
++};
++
++TiddlyWiki.prototype.incChangeCount = function(title)
++{
++ var tiddler = this.fetchTiddler(title);
++ if(tiddler)
++ tiddler.incChangeCount();
++};
++
++TiddlyWiki.prototype.getLoader = function()
++{
++ if(!this.loader)
++ this.loader = new TW21Loader();
++ return this.loader;
++};
++
++TiddlyWiki.prototype.getSaver = function()
++{
++ if(!this.saver)
++ this.saver = new TW21Saver();
++ return this.saver;
++};
++
++// Return all tiddlers formatted as an HTML string
++TiddlyWiki.prototype.allTiddlersAsHtml = function()
++{
++ return this.getSaver().externalize(store);
++};
++
++// Load contents of a TiddlyWiki from an HTML DIV
++TiddlyWiki.prototype.loadFromDiv = function(src,idPrefix,noUpdate)
++{
++ this.idPrefix = idPrefix;
++ var storeElem = (typeof src == "string") ? document.getElementById(src) : src;
++ if(!storeElem)
++ return;
++ var tiddlers = this.getLoader().loadTiddlers(this,storeElem.childNodes);
++ this.setDirty(false);
++ if(!noUpdate) {
++ var i;
++ for(i = 0;i<tiddlers.length; i++)
++ tiddlers[i].changed();
++ }
++ jQuery(document).trigger("loadTiddlers");
++};
++
++// Load contents of a TiddlyWiki from a string
++// Returns null if there's an error
++TiddlyWiki.prototype.importTiddlyWiki = function(text)
++{
++ var posDiv = locateStoreArea(text);
++ if(!posDiv)
++ return null;
++ var content = "<" + "html><" + "body>" + text.substring(posDiv[0],posDiv[1] + endSaveArea.length) + "<" + "/body><" + "/html>";
++ // Create the iframe
++ var iframe = document.createElement("iframe");
++ iframe.style.display = "none";
++ document.body.appendChild(iframe);
++ var doc = iframe.document;
++ if(iframe.contentDocument)
++ doc = iframe.contentDocument; // For NS6
++ else if(iframe.contentWindow)
++ doc = iframe.contentWindow.document; // For IE5.5 and IE6
++ // Put the content in the iframe
++ doc.open();
++ doc.writeln(content);
++ doc.close();
++ // Load the content into a TiddlyWiki() object
++ var storeArea = doc.getElementById("storeArea");
++ this.loadFromDiv(storeArea,"store");
++ // Get rid of the iframe
++ iframe.parentNode.removeChild(iframe);
++ return this;
++};
++
++TiddlyWiki.prototype.updateTiddlers = function()
++{
++ this.tiddlersUpdated = true;
++ this.forEachTiddler(function(title,tiddler) {
++ tiddler.changed();
++ });
++};
++
++// Return an array of tiddlers matching a search regular expression
++TiddlyWiki.prototype.search = function(searchRegExp,sortField,excludeTag,match)
++{
++ var candidates = this.reverseLookup("tags",excludeTag,!!match);
++ var t,results = [];
++ for(t=0; t<candidates.length; t++) {
++ if((candidates[t].title.search(searchRegExp) != -1) || (candidates[t].text.search(searchRegExp) != -1))
++ results.push(candidates[t]);
++ }
++ if(!sortField)
++ sortField = "title";
++ results.sort(function(a,b) {return a[sortField] < b[sortField] ? -1 : (a[sortField] == b[sortField] ? 0 : +1);});
++ return results;
++};
++
++// Returns a list of all tags in use
++// excludeTag - if present, excludes tags that are themselves tagged with excludeTag
++// Returns an array of arrays where [tag][0] is the name of the tag and [tag][1] is the number of occurances
++TiddlyWiki.prototype.getTags = function(excludeTag)
++{
++ var results = [];
++ this.forEachTiddler(function(title,tiddler) {
++ var g,c;
++ for(g=0; g<tiddler.tags.length; g++) {
++ var tag = tiddler.tags[g];
++ var n = true;
++ for(c=0; c<results.length; c++) {
++ if(results[c][0] == tag) {
++ n = false;
++ results[c][1]++;
++ }
++ }
++ if(n && excludeTag) {
++ var t = this.fetchTiddler(tag);
++ if(t && t.isTagged(excludeTag))
++ n = false;
++ }
++ if(n)
++ results.push([tag,1]);
++ }
++ });
++ results.sort(function(a,b) {return a[0].toLowerCase() < b[0].toLowerCase() ? -1 : (a[0].toLowerCase() == b[0].toLowerCase() ? 0 : +1);});
++ return results;
++};
++
++// Return an array of the tiddlers that are tagged with a given tag
++TiddlyWiki.prototype.getTaggedTiddlers = function(tag,sortField)
++{
++ return this.reverseLookup("tags",tag,true,sortField);
++};
++
++TiddlyWiki.prototype.getValueTiddlers = function(field,value,sortField)
++{
++ return this.reverseLookup(field,value,true,sortField);
++};
++
++// Return an array of the tiddlers that link to a given tiddler
++TiddlyWiki.prototype.getReferringTiddlers = function(title,unusedParameter,sortField)
++{
++ if(!this.tiddlersUpdated)
++ this.updateTiddlers();
++ return this.reverseLookup("links",title,true,sortField);
++};
++
++// Return an array of the tiddlers that do or do not have a specified entry in the specified storage array (ie, "links" or "tags")
++// lookupMatch == true to match tiddlers, false to exclude tiddlers
++TiddlyWiki.prototype.reverseLookup = function(lookupField,lookupValue,lookupMatch,sortField)
++{
++ var results = [];
++ this.forEachTiddler(function(title,tiddler) {
++ var f = !lookupMatch;
++ var values;
++ if(["links", "tags"].contains(lookupField)) {
++ values = tiddler[lookupField];
++ } else {
++ var accessor = TiddlyWiki.standardFieldAccess[lookupField];
++ if(accessor) {
++ values = [ accessor.get(tiddler) ];
++ } else {
++ values = tiddler.fields[lookupField] ? [tiddler.fields[lookupField]] : [];
++ }
++ }
++ var lookup;
++ for(lookup=0; lookup<values.length; lookup++) {
++ if(values[lookup] == lookupValue)
++ f = lookupMatch;
++ }
++ if(f)
++ results.push(tiddler);
++ });
++ if(!sortField)
++ sortField = "title";
++ return this.sortTiddlers(results,sortField);
++};
++
++// Return the tiddlers as a sorted array
++TiddlyWiki.prototype.getTiddlers = function(field,excludeTag)
++{
++ var results = [];
++ this.forEachTiddler(function(title,tiddler) {
++ if(excludeTag == undefined || !tiddler.isTagged(excludeTag))
++ results.push(tiddler);
++ });
++ if(field)
++ results.sort(function(a,b) {return a[field] < b[field] ? -1 : (a[field] == b[field] ? 0 : +1);});
++ return results;
++};
++
++// Return array of names of tiddlers that are referred to but not defined
++TiddlyWiki.prototype.getMissingLinks = function()
++{
++ if(!this.tiddlersUpdated)
++ this.updateTiddlers();
++ var results = [];
++ this.forEachTiddler(function (title,tiddler) {
++ if(tiddler.isTagged("excludeMissing") || tiddler.isTagged("systemConfig"))
++ return;
++ var n;
++ for(n=0; n<tiddler.links.length;n++) {
++ var link = tiddler.links[n];
++ if(this.getTiddlerText(link,null) == null && !this.isShadowTiddler(link) && !config.macros[link])
++ results.pushUnique(link);
++ }
++ });
++ results.sort();
++ return results;
++};
++
++// Return an array of names of tiddlers that are defined but not referred to
++TiddlyWiki.prototype.getOrphans = function()
++{
++ var results = [];
++ this.forEachTiddler(function (title,tiddler) {
++ if(this.getReferringTiddlers(title).length == 0 && !tiddler.isTagged("excludeLists"))
++ results.push(title);
++ });
++ results.sort();
++ return results;
++};
++
++// Return an array of names of all the shadow tiddlers
++TiddlyWiki.prototype.getShadowed = function()
++{
++ var t,results = [];
++ for(t in config.shadowTiddlers) {
++ if(this.isShadowTiddler(t))
++ results.push(t);
++ }
++ results.sort();
++ return results;
++};
++
++// Return an array of tiddlers that have been touched since they were downloaded or created
++TiddlyWiki.prototype.getTouched = function()
++{
++ var results = [];
++ this.forEachTiddler(function(title,tiddler) {
++ if(tiddler.isTouched())
++ results.push(tiddler);
++ });
++ results.sort();
++ return results;
++};
++
++// Resolves a Tiddler reference or tiddler title into a Tiddler object, or null if it doesn't exist
++TiddlyWiki.prototype.resolveTiddler = function(tiddler)
++{
++ var t = (typeof tiddler == "string") ? this.getTiddler(tiddler) : tiddler;
++ return t instanceof Tiddler ? t : null;
++};
++
++// Sort a list of tiddlers
++TiddlyWiki.prototype.sortTiddlers = function(tiddlers,field)
++{
++ var asc = +1;
++ switch(field.substr(0,1)) {
++ case "-":
++ asc = -1;
++ field = field.substr(1);
++ break;
++ case "+":
++ field = field.substr(1);
++ break;
++ }
++ if(TiddlyWiki.standardFieldAccess[field]) {
++ if(field=="title") {
++ tiddlers.sort(function(a,b) {return a[field].toLowerCase() < b[field].toLowerCase() ? -asc : (a[field].toLowerCase() == b[field].toLowerCase() ? 0 : asc);});
++ } else {
++ tiddlers.sort(function(a,b) {return a[field] < b[field] ? -asc : (a[field] == b[field] ? 0 : asc);});
++ }
++ } else {
++ tiddlers.sort(function(a,b) {return a.fields[field] < b.fields[field] ? -asc : (a.fields[field] == b.fields[field] ? 0 : +asc);});
++ }
++ return tiddlers;
++};
++
++//--
++//-- Filter a list of tiddlers
++//--
++
++config.filters = {
++ tiddler: function(results,match) {
++ var title = match[1]||match[4];
++ var tiddler = this.fetchTiddler(title);
++ if(tiddler) {
++ results.pushUnique(tiddler);
++ } else if(this.isShadowTiddler(title)) {
++ tiddler = new Tiddler();
++ tiddler.set(title,this.getTiddlerText(title));
++ results.pushUnique(tiddler);
++ } else {
++ results.pushUnique(new Tiddler(title));
++ }
++ return results;
++ },
++ tag: function(results,match) {
++ var m,matched = this.getTaggedTiddlers(match[3]);
++ for(m=0; m<matched.length; m++) {
++ results.pushUnique(matched[m]);
++ }
++ return results;
++ },
++ sort: function(results,match) {
++ return this.sortTiddlers(results,match[3]);
++ },
++ limit: function(results,match) {
++ return results.slice(0,parseInt(match[3],10));
++ },
++ field: function(results,match) {
++ var m,matched = this.getValueTiddlers(match[2],match[3]);
++ for (m = 0; m < matched.length; m++) {
++ results.pushUnique(matched[m]);
++ }
++ return results;
++ }
++};
++
++// Filter a list of tiddlers
++TiddlyWiki.prototype.filterTiddlers = function(filter)
++{
++ var re = /([^\s\[\]]+)|(?:\[([ \w\.\-]+)\[([^\]]+)\]\])|(?:\[\[([^\]]+)\]\])/mg;
++
++ var results = [];
++ if(filter) {
++ var match = re.exec(filter);
++ while(match) {
++ var handler = (match[1]||match[4])?'tiddler':config.filters[match[2]]?match[2]:'field';
++ results = config.filters[handler].call(this,results,match);
++ match = re.exec(filter);
++ }
++ }
++ return results;
++};
++// Returns true if path is a valid field name (path),
++// i.e. a sequence of identifiers, separated by "."
++TiddlyWiki.isValidFieldName = function(name)
++{
++ var match = /[a-zA-Z_]\w*(\.[a-zA-Z_]\w*)*/.exec(name);
++ return match && (match[0] == name);
++};
++
++// Throws an exception when name is not a valid field name.
++TiddlyWiki.checkFieldName = function(name)
++{
++ if(!TiddlyWiki.isValidFieldName(name))
++ throw config.messages.invalidFieldName.format([name]);
++};
++
++function StringFieldAccess(n,readOnly)
++{
++ this.set = readOnly ?
++ function(t,v) {if(v != t[n]) throw config.messages.fieldCannotBeChanged.format([n]);} :
++ function(t,v) {if(v != t[n]) {t[n] = v; return true;}};
++ this.get = function(t) {return t[n];};
++}
++
++function DateFieldAccess(n)
++{
++ this.set = function(t,v) {
++ var d = v instanceof Date ? v : Date.convertFromYYYYMMDDHHMM(v);
++ if(d != t[n]) {
++ t[n] = d; return true;
++ }
++ };
++ this.get = function(t) {return t[n].convertToYYYYMMDDHHMM();};
++}
++
++function LinksFieldAccess(n)
++{
++ this.set = function(t,v) {
++ var s = (typeof v == "string") ? v.readBracketedList() : v;
++ if(s.toString() != t[n].toString()) {
++ t[n] = s; return true;
++ }
++ };
++ this.get = function(t) {return String.encodeTiddlyLinkList(t[n]);};
++}
++
++TiddlyWiki.standardFieldAccess = {
++ // The set functions return true when setting the data has changed the value.
++ "title": new StringFieldAccess("title",true),
++ // Handle the "tiddler" field name as the title
++ "tiddler": new StringFieldAccess("title",true),
++ "text": new StringFieldAccess("text"),
++ "modifier": new StringFieldAccess("modifier"),
++ "modified": new DateFieldAccess("modified"),
++ "creator": new StringFieldAccess("creator"),
++ "created": new DateFieldAccess("created"),
++ "tags": new LinksFieldAccess("tags")
++};
++
++TiddlyWiki.isStandardField = function(name)
++{
++ return TiddlyWiki.standardFieldAccess[name] != undefined;
++};
++
++// Sets the value of the given field of the tiddler to the value.
++// Setting an ExtendedField's value to null or undefined removes the field.
++// Setting a namespace to undefined removes all fields of that namespace.
++// The fieldName is case-insensitive.
++// All values will be converted to a string value.
++TiddlyWiki.prototype.setValue = function(tiddler,fieldName,value)
++{
++ TiddlyWiki.checkFieldName(fieldName);
++ var t = this.resolveTiddler(tiddler);
++ if(!t)
++ return;
++ fieldName = fieldName.toLowerCase();
++ var isRemove = (value === undefined) || (value === null);
++ var accessor = TiddlyWiki.standardFieldAccess[fieldName];
++ if(accessor) {
++ if(isRemove)
++ // don't remove StandardFields
++ return;
++ var h = TiddlyWiki.standardFieldAccess[fieldName];
++ if(!h.set(t,value))
++ return;
++ } else {
++ var oldValue = t.fields[fieldName];
++ if(isRemove) {
++ if(oldValue !== undefined) {
++ // deletes a single field
++ delete t.fields[fieldName];
++ } else {
++ // no concrete value is defined for the fieldName
++ // so we guess this is a namespace path.
++ // delete all fields in a namespace
++ var re = new RegExp("^"+fieldName+"\\.");
++ var dirty = false;
++ var n;
++ for(n in t.fields) {
++ if(n.match(re)) {
++ delete t.fields[n];
++ dirty = true;
++ }
++ }
++ if(!dirty)
++ return;
++ }
++ } else {
++ // the "normal" set case. value is defined (not null/undefined)
++ // For convenience provide a nicer conversion Date->String
++ value = value instanceof Date ? value.convertToYYYYMMDDHHMMSSMMM() : String(value);
++ if(oldValue == value)
++ return;
++ t.fields[fieldName] = value;
++ }
++ }
++ // When we are here the tiddler/store really was changed.
++ this.notify(t.title,true);
++ if(!fieldName.match(/^temp\./))
++ this.setDirty(true);
++};
++
++// Returns the value of the given field of the tiddler.
++// The fieldName is case-insensitive.
++// Will only return String values (or undefined).
++TiddlyWiki.prototype.getValue = function(tiddler,fieldName)
++{
++ var t = this.resolveTiddler(tiddler);
++ if(!t)
++ return undefined;
++ if(fieldName.indexOf(config.textPrimitives.sectionSeparator) === 0 || fieldName.indexOf(config.textPrimitives.sliceSeparator) === 0) {
++ var sliceType = fieldName.substr(0, 2);
++ var sliceName = fieldName.substring(2);
++ return store.getTiddlerText("%0%1%2".format(t.title,sliceType,sliceName));
++ } else {
++ fieldName = fieldName.toLowerCase();
++ var accessor = TiddlyWiki.standardFieldAccess[fieldName];
++ if(accessor) {
++ return accessor.get(t);
++ }
++ }
++ return t.fields[fieldName];
++};
++
++// Calls the callback function for every field in the tiddler.
++// When callback function returns a non-false value the iteration stops
++// and that value is returned.
++// The order of the fields is not defined.
++// @param callback a function(tiddler,fieldName,value).
++TiddlyWiki.prototype.forEachField = function(tiddler,callback,onlyExtendedFields)
++{
++ var t = this.resolveTiddler(tiddler);
++ if(!t)
++ return undefined;
++ var n,result;
++ for(n in t.fields) {
++ result = callback(t,n,t.fields[n]);
++ if(result)
++ return result;
++ }
++ if(onlyExtendedFields)
++ return undefined;
++ for(n in TiddlyWiki.standardFieldAccess) {
++ if(n != "tiddler") {
++ // even though the "title" field can also be referenced through the name "tiddler"
++ // we only visit this field once.
++ result = callback(t,n,TiddlyWiki.standardFieldAccess[n].get(t));
++ if(result)
++ return result;
++ }
++ }
++ return undefined;
++};
++
++//--
++//-- Story functions
++//--
++
++function Story(containerId,idPrefix)
++{
++ this.container = containerId;
++ this.idPrefix = idPrefix;
++ this.highlightRegExp = null;
++ this.tiddlerId = function(title) {
++ title = title.replace(/_/g, "__").replace(/ /g, "_");
++ var id = this.idPrefix + title;
++ return id==this.container ? this.idPrefix + "_" + title : id;
++ };
++ this.containerId = function() {
++ return this.container;
++ };
++}
++
++Story.prototype.getTiddler = function(title)
++{
++ return document.getElementById(this.tiddlerId(title));
++};
++
++Story.prototype.getContainer = function()
++{
++ return document.getElementById(this.containerId());
++};
++
++Story.prototype.forEachTiddler = function(fn)
++{
++ var place = this.getContainer();
++ if(!place)
++ return;
++ var e = place.firstChild;
++ while(e) {
++ var n = e.nextSibling;
++ var title = e.getAttribute("tiddler");
++ if(title) {
++ fn.call(this,title,e);
++ }
++ e = n;
++ }
++};
++
++Story.prototype.displayDefaultTiddlers = function()
++{
++ this.displayTiddlers(null,store.filterTiddlers(store.getTiddlerText("DefaultTiddlers")));
++};
++
++Story.prototype.displayTiddlers = function(srcElement,titles,template,animate,unused,customFields,toggle)
++{
++ var t;
++ for(t = titles.length-1;t>=0;t--)
++ this.displayTiddler(srcElement,titles[t],template,animate,unused,customFields);
++};
++
++Story.prototype.displayTiddler = function(srcElement,tiddler,template,animate,unused,customFields,toggle,animationSrc)
++{
++ var title = (tiddler instanceof Tiddler) ? tiddler.title : tiddler;
++ var tiddlerElem = this.getTiddler(title);
++ if(tiddlerElem) {
++ if(toggle) {
++ if(tiddlerElem.getAttribute("dirty") != "true")
++ this.closeTiddler(title,true);
++ } else {
++ this.refreshTiddler(title,template,false,customFields);
++ }
++ } else {
++ var place = this.getContainer();
++ var before = this.positionTiddler(srcElement);
++ tiddlerElem = this.createTiddler(place,before,title,template,customFields);
++ }
++ if(animationSrc && typeof animationSrc !== "string") {
++ srcElement = animationSrc;
++ }
++ if(srcElement && typeof srcElement !== "string") {
++ if(config.options.chkAnimate && (animate == undefined || animate == true) && anim && typeof Zoomer == "function" && typeof Scroller == "function")
++ anim.startAnimating(new Zoomer(title,srcElement,tiddlerElem),new Scroller(tiddlerElem));
++ else
++ window.scrollTo(0,ensureVisible(tiddlerElem));
++ }
++ return tiddlerElem;
++};
++
++Story.prototype.positionTiddler = function(srcElement)
++{
++ var place = this.getContainer();
++ var before = null;
++ if(typeof srcElement == "string") {
++ switch(srcElement) {
++ case "top":
++ before = place.firstChild;
++ break;
++ case "bottom":
++ before = null;
++ break;
++ }
++ } else {
++ var after = this.findContainingTiddler(srcElement);
++ if(after == null) {
++ before = place.firstChild;
++ } else if(after.nextSibling) {
++ before = after.nextSibling;
++ if(before.nodeType != 1)
++ before = null;
++ }
++ }
++ return before;
++};
++
++Story.prototype.createTiddler = function(place,before,title,template,customFields)
++{
++ var tiddlerElem = createTiddlyElement(null,"div",this.tiddlerId(title),"tiddler");
++ tiddlerElem.setAttribute("refresh","tiddler");
++ if(customFields)
++ tiddlerElem.setAttribute("tiddlyFields",customFields);
++ place.insertBefore(tiddlerElem,before);
++ var defaultText = null;
++ if(!store.tiddlerExists(title) && !store.isShadowTiddler(title))
++ defaultText = this.loadMissingTiddler(title,customFields);
++ this.refreshTiddler(title,template,false,customFields,defaultText);
++ return tiddlerElem;
++};
++
++Story.prototype.loadMissingTiddler = function(title,fields,callback)
++{
++ var getTiddlerCallback = function(context)
++ {
++ if(context.status) {
++ var t = context.tiddler;
++ if(!t.created)
++ t.created = new Date();
++ if(!t.modified)
++ t.modified = t.created;
++ var dirty = store.isDirty();
++ context.tiddler = store.saveTiddler(t.title,t.title,t.text,t.modifier,t.modified,t.tags,t.fields,true,t.created,t.creator);
++ if(!window.allowSave())
++ store.setDirty(dirty);
++ autoSaveChanges();
++ } else {
++ story.refreshTiddler(context.title,null,true);
++ }
++ context.adaptor.close();
++ if(callback) {
++ callback(context);
++ }
++ };
++ var tiddler = new Tiddler(title);
++ tiddler.fields = typeof fields == "string" ? fields.decodeHashMap() : fields||{};
++ var context = {serverType:tiddler.getServerType()};
++ if(!context.serverType)
++ return "";
++ context.host = tiddler.fields['server.host'];
++ context.workspace = tiddler.fields['server.workspace'];
++ var adaptor = new config.adaptors[context.serverType]();
++ adaptor.getTiddler(title,context,null,getTiddlerCallback);
++ return config.messages.loadingMissingTiddler.format([title,context.serverType,context.host,context.workspace]);
++};
++
++Story.prototype.chooseTemplateForTiddler = function(title,template)
++{
++ if(!template)
++ template = DEFAULT_VIEW_TEMPLATE;
++ if(template == DEFAULT_VIEW_TEMPLATE || template == DEFAULT_EDIT_TEMPLATE)
++ template = config.tiddlerTemplates[template];
++ return template;
++};
++
++Story.prototype.getTemplateForTiddler = function(title,template,tiddler)
++{
++ return store.getRecursiveTiddlerText(template,null,10);
++};
++
++Story.prototype.refreshTiddler = function(title,template,force,customFields,defaultText)
++{
++ var tiddlerElem = this.getTiddler(title);
++ if(tiddlerElem) {
++ if(tiddlerElem.getAttribute("dirty") == "true" && !force)
++ return tiddlerElem;
++ template = this.chooseTemplateForTiddler(title,template);
++ var currTemplate = tiddlerElem.getAttribute("template");
++ if((template != currTemplate) || force) {
++ var tiddler = store.getTiddler(title);
++ if(!tiddler) {
++ tiddler = new Tiddler();
++ if(store.isShadowTiddler(title)) {
++ var tags = [];
++ tiddler.set(title,store.getTiddlerText(title),config.views.wikified.shadowModifier,version.date,tags,version.date);
++ } else {
++ var text = template=="EditTemplate" ?
++ config.views.editor.defaultText.format([title]) :
++ config.views.wikified.defaultText.format([title]);
++ text = defaultText || text;
++ var fields = customFields ? customFields.decodeHashMap() : null;
++ tiddler.set(title,text,config.views.wikified.defaultModifier,version.date,[],version.date,fields);
++ }
++ }
++ tiddlerElem.setAttribute("tags",tiddler.tags.join(" "));
++ tiddlerElem.setAttribute("tiddler",title);
++ tiddlerElem.setAttribute("template",template);
++ tiddlerElem.onmouseover = this.onTiddlerMouseOver;
++ tiddlerElem.onmouseout = this.onTiddlerMouseOut;
++ tiddlerElem.ondblclick = this.onTiddlerDblClick;
++ tiddlerElem[window.event?"onkeydown":"onkeypress"] = this.onTiddlerKeyPress;
++ tiddlerElem.innerHTML = this.getTemplateForTiddler(title,template,tiddler);
++ applyHtmlMacros(tiddlerElem,tiddler);
++ if(store.getTaggedTiddlers(title).length > 0)
++ jQuery(tiddlerElem).addClass("isTag");
++ else
++ jQuery(tiddlerElem).removeClass("isTag");
++ if(store.tiddlerExists(title)) {
++ jQuery(tiddlerElem).removeClass("shadow");
++ jQuery(tiddlerElem).removeClass("missing");
++ } else {
++ jQuery(tiddlerElem).addClass(store.isShadowTiddler(title) ? "shadow" : "missing");
++ }
++ if(customFields)
++ this.addCustomFields(tiddlerElem,customFields);
++ }
++ }
++ return tiddlerElem;
++};
++
++Story.prototype.addCustomFields = function(place,customFields)
++{
++ var fields = customFields.decodeHashMap();
++ var w = createTiddlyElement(place,"div",null,"customFields");
++ w.style.display = "none";
++ var t;
++ for(t in fields) {
++ var e = document.createElement("input");
++ e.setAttribute("type","text");
++ e.setAttribute("value",fields[t]);
++ w.appendChild(e);
++ e.setAttribute("edit",t);
++ }
++};
++
++Story.prototype.refreshAllTiddlers = function(force)
++{
++ var e = this.getContainer().firstChild;
++ while(e) {
++ var template = e.getAttribute("template");
++ if(template && e.getAttribute("dirty") != "true") {
++ this.refreshTiddler(e.getAttribute("tiddler"),force ? null : template,true);
++ }
++ e = e.nextSibling;
++ }
++};
++
++Story.prototype.onTiddlerMouseOver = function(e)
++{
++ jQuery(this).addClass("selected");
++};
++
++Story.prototype.onTiddlerMouseOut = function(e)
++{
++ jQuery(this).removeClass("selected");
++};
++
++Story.prototype.onTiddlerDblClick = function(ev)
++{
++ var e = ev || window.event;
++ var target = resolveTarget(e);
++ if(target && target.nodeName.toLowerCase() != "input" && target.nodeName.toLowerCase() != "textarea") {
++ if(document.selection && document.selection.empty)
++ document.selection.empty();
++ config.macros.toolbar.invokeCommand(this,"defaultCommand",e);
++ e.cancelBubble = true;
++ if(e.stopPropagation) e.stopPropagation();
++ return true;
++ }
++ return false;
++};
++
++Story.prototype.onTiddlerKeyPress = function(ev)
++{
++ var e = ev || window.event;
++ clearMessage();
++ var consume = false;
++ var title = this.getAttribute("tiddler");
++ var target = resolveTarget(e);
++ switch(e.keyCode) {
++ case 9: // Tab
++ var ed = story.getTiddlerField(title,"text");
++ if(target.tagName.toLowerCase() == "input" && ed.value==config.views.editor.defaultText.format([title])) {
++ // moving from input field and editor still contains default text, so select it
++ ed.focus();
++ ed.select();
++ consume = true;
++ }
++ if(config.options.chkInsertTabs && target.tagName.toLowerCase() == "textarea") {
++ replaceSelection(target,String.fromCharCode(9));
++ consume = true;
++ }
++ if(config.isOpera) {
++ target.onblur = function() {
++ this.focus();
++ this.onblur = null;
++ };
++ }
++ break;
++ case 13: // Ctrl-Enter
++ case 10: // Ctrl-Enter on IE PC
++ case 77: // Ctrl-Enter is "M" on some platforms
++ if(e.ctrlKey) {
++ blurElement(this);
++ config.macros.toolbar.invokeCommand(this,"defaultCommand",e);
++ consume = true;
++ }
++ break;
++ case 27: // Escape
++ blurElement(this);
++ config.macros.toolbar.invokeCommand(this,"cancelCommand",e);
++ consume = true;
++ break;
++ }
++ e.cancelBubble = consume;
++ if(consume) {
++ if(e.stopPropagation) e.stopPropagation(); // Stop Propagation
++ e.returnValue = true; // Cancel The Event in IE
++ if(e.preventDefault ) e.preventDefault(); // Cancel The Event in Moz
++ }
++ return !consume;
++};
++
++Story.prototype.getTiddlerField = function(title,field)
++{
++ var tiddlerElem = this.getTiddler(title);
++ var e = null;
++ if(tiddlerElem) {
++ var t,children = tiddlerElem.getElementsByTagName("*");
++ for(t=0; t<children.length; t++) {
++ var c = children[t];
++ if(c.tagName.toLowerCase() == "input" || c.tagName.toLowerCase() == "textarea") {
++ if(!e)
++ e = c;
++ if(c.getAttribute("edit") == field)
++ e = c;
++ }
++ }
++ }
++ return e;
++};
++
++Story.prototype.focusTiddler = function(title,field)
++{
++ var e = this.getTiddlerField(title,field);
++ if(e) {
++ e.focus();
++ e.select();
++ }
++};
++
++Story.prototype.blurTiddler = function(title)
++{
++ var tiddlerElem = this.getTiddler(title);
++ if(tiddlerElem && tiddlerElem.focus && tiddlerElem.blur) {
++ tiddlerElem.focus();
++ tiddlerElem.blur();
++ }
++};
++
++Story.prototype.setTiddlerField = function(title,tag,mode,field)
++{
++ var c = this.getTiddlerField(title,field);
++ var tags = c.value.readBracketedList();
++ tags.setItem(tag,mode);
++ c.value = String.encodeTiddlyLinkList(tags);
++};
++
++Story.prototype.setTiddlerTag = function(title,tag,mode)
++{
++ this.setTiddlerField(title,tag,mode,"tags");
++};
++
++Story.prototype.closeTiddler = function(title,animate,unused)
++{
++ var tiddlerElem = this.getTiddler(title);
++ if(tiddlerElem) {
++ clearMessage();
++ this.scrubTiddler(tiddlerElem);
++ if(config.options.chkAnimate && animate && anim && typeof Slider == "function")
++ anim.startAnimating(new Slider(tiddlerElem,false,null,"all"));
++ else {
++ jQuery(tiddlerElem).remove();
++ }
++ }
++};
++
++Story.prototype.scrubTiddler = function(tiddlerElem)
++{
++ tiddlerElem.id = null;
++};
++
++Story.prototype.setDirty = function(title,dirty)
++{
++ var tiddlerElem = this.getTiddler(title);
++ if(tiddlerElem)
++ tiddlerElem.setAttribute("dirty",dirty ? "true" : "false");
++};
++
++Story.prototype.isDirty = function(title)
++{
++ var tiddlerElem = this.getTiddler(title);
++ if(tiddlerElem)
++ return tiddlerElem.getAttribute("dirty") == "true";
++ return null;
++};
++
++Story.prototype.areAnyDirty = function()
++{
++ var r = false;
++ this.forEachTiddler(function(title,element) {
++ if(this.isDirty(title))
++ r = true;
++ });
++ return r;
++};
++
++Story.prototype.closeAllTiddlers = function(exclude)
++{
++ clearMessage();
++ this.forEachTiddler(function(title,element) {
++ if((title != exclude) && element.getAttribute("dirty") != "true")
++ this.closeTiddler(title);
++ });
++ window.scrollTo(0,ensureVisible(this.container));
++};
++
++Story.prototype.isEmpty = function()
++{
++ var place = this.getContainer();
++ return place && place.firstChild == null;
++};
++
++Story.prototype.search = function(text,useCaseSensitive,useRegExp)
++{
++ this.closeAllTiddlers();
++ highlightHack = new RegExp(useRegExp ? text : text.escapeRegExp(),useCaseSensitive ? "mg" : "img");
++ var matches = store.search(highlightHack,"title","excludeSearch");
++ this.displayTiddlers(null,matches);
++ highlightHack = null;
++ var q = useRegExp ? "/" : "'";
++ if(matches.length > 0)
++ displayMessage(config.macros.search.successMsg.format([matches.length.toString(),q + text + q]));
++ else
++ displayMessage(config.macros.search.failureMsg.format([q + text + q]));
++};
++
++Story.prototype.findContainingTiddler = function(e)
++{
++ while(e && !jQuery(e).hasClass("tiddler")) {
++ e = jQuery(e).hasClass("popup") && Popup.stack[0] ? Popup.stack[0].root : e.parentNode;
++ }
++ return e;
++};
++
++Story.prototype.gatherSaveFields = function(e,fields)
++{
++ if(e && e.getAttribute) {
++ var f = e.getAttribute("edit");
++ if(f)
++ fields[f] = e.value.replace(/\r/mg,"");
++ if(e.hasChildNodes()) {
++ var t,c = e.childNodes;
++ for(t=0; t<c.length; t++)
++ this.gatherSaveFields(c[t],fields);
++ }
++ }
++};
++
++Story.prototype.hasChanges = function(title)
++{
++ var e = this.getTiddler(title);
++ if(e) {
++ var fields = {};
++ this.gatherSaveFields(e,fields);
++ if(store.fetchTiddler(title)) {
++ var n;
++ for(n in fields) {
++ if(store.getValue(title,n) != fields[n]) //# tiddler changed
++ return true;
++ }
++ } else {
++ if(store.isShadowTiddler(title) && store.getShadowTiddlerText(title) == fields.text) { //# not checking for title or tags
++ return false;
++ } else { //# changed shadow or new tiddler
++ return true;
++ }
++ }
++ }
++ return false;
++};
++
++Story.prototype.saveTiddler = function(title,minorUpdate)
++{
++ var tiddlerElem = this.getTiddler(title);
++ if(tiddlerElem) {
++ var fields = {};
++ this.gatherSaveFields(tiddlerElem,fields);
++ var newTitle = fields.title || title;
++ if(!store.tiddlerExists(newTitle)) {
++ newTitle = newTitle.trim();
++ var creator = config.options.txtUserName;
++ }
++ if(store.tiddlerExists(newTitle) && newTitle != title) {
++ if(!confirm(config.messages.overwriteWarning.format([newTitle.toString()])))
++ return null;
++ title = newTitle;
++ }
++ if(newTitle != title)
++ this.closeTiddler(newTitle,false);
++ tiddlerElem.id = this.tiddlerId(newTitle);
++ tiddlerElem.setAttribute("tiddler",newTitle);
++ tiddlerElem.setAttribute("template",DEFAULT_VIEW_TEMPLATE);
++ tiddlerElem.setAttribute("dirty","false");
++ if(config.options.chkForceMinorUpdate)
++ minorUpdate = !minorUpdate;
++ if(!store.tiddlerExists(newTitle))
++ minorUpdate = false;
++ var newDate = new Date();
++ if(store.tiddlerExists(title)) {
++ var t = store.fetchTiddler(title);
++ var extendedFields = t.fields;
++ creator = t.creator;
++ } else {
++ extendedFields = merge({},config.defaultCustomFields);
++ }
++ var n;
++ for(n in fields) {
++ if(!TiddlyWiki.isStandardField(n))
++ extendedFields[n] = fields[n];
++ }
++ var tiddler = store.saveTiddler(title,newTitle,fields.text,minorUpdate ? undefined : config.options.txtUserName,minorUpdate ? undefined : newDate,fields.tags,extendedFields,null,null,creator);
++ autoSaveChanges(null,[tiddler]);
++ return newTitle;
++ }
++ return null;
++};
++
++Story.prototype.permaView = function()
++{
++ var links = [];
++ this.forEachTiddler(function(title,element) {
++ links.push(String.encodeTiddlyLink(title));
++ });
++ var t = encodeURIComponent(links.join(" "));
++ if(t == "")
++ t = "#";
++ if(window.location.hash != t)
++ window.location.hash = t;
++};
++
++Story.prototype.switchTheme = function(theme)
++{
++ if(safeMode)
++ return;
++
++ var getSlice = function(theme,slice) {
++ var r;
++ if(readOnly)
++ r = store.getTiddlerSlice(theme,slice+"ReadOnly") || store.getTiddlerSlice(theme,"Web"+slice);
++ r = r || store.getTiddlerSlice(theme,slice);
++ if(r && r.indexOf(config.textPrimitives.sectionSeparator)==0)
++ r = theme + r;
++ return store.isAvailable(r) ? r : slice;
++ };
++
++ var replaceNotification = function(i,name,theme,slice) {
++ var newName = getSlice(theme,slice);
++ if(name!=newName && store.namedNotifications[i].name==name) {
++ store.namedNotifications[i].name = newName;
++ return newName;
++ }
++ return name;
++ };
++
++ var pt = config.refresherData.pageTemplate;
++ var vi = DEFAULT_VIEW_TEMPLATE;
++ var vt = config.tiddlerTemplates[vi];
++ var ei = DEFAULT_EDIT_TEMPLATE;
++ var et = config.tiddlerTemplates[ei];
++
++ var i;
++ for(i=0; i<config.notifyTiddlers.length; i++) {
++ var name = config.notifyTiddlers[i].name;
++ switch(name) {
++ case "PageTemplate":
++ config.refresherData.pageTemplate = replaceNotification(i,config.refresherData.pageTemplate,theme,name);
++ break;
++ case "StyleSheet":
++ removeStyleSheet(config.refresherData.styleSheet);
++ config.refresherData.styleSheet = replaceNotification(i,config.refresherData.styleSheet,theme,name);
++ break;
++ case "ColorPalette":
++ config.refresherData.colorPalette = replaceNotification(i,config.refresherData.colorPalette,theme,name);
++ break;
++ default:
++ break;
++ }
++ }
++ config.tiddlerTemplates[vi] = getSlice(theme,"ViewTemplate");
++ config.tiddlerTemplates[ei] = getSlice(theme,"EditTemplate");
++ if(!startingUp) {
++ if(config.refresherData.pageTemplate!=pt || config.tiddlerTemplates[vi]!=vt || config.tiddlerTemplates[ei]!=et) {
++ refreshAll();
++ this.refreshAllTiddlers(true);
++ } else {
++ setStylesheet(store.getRecursiveTiddlerText(config.refresherData.styleSheet,"",10),config.refreshers.styleSheet);
++ }
++ config.options.txtTheme = theme;
++ saveOption("txtTheme");
++ }
++};
++
++//--
++//-- Backstage
++//--
++// Backstage tasks
++config.tasks.save.action = saveChanges;
++
++var backstage = {
++ area: null,
++ toolbar: null,
++ button: null,
++ showButton: null,
++ hideButton: null,
++ cloak: null,
++ panel: null,
++ panelBody: null,
++ panelFooter: null,
++ currTabName: null,
++ currTabElem: null,
++ content: null,
++
++ init: function() {
++ var cmb = config.messages.backstage;
++ this.area = document.getElementById("backstageArea");
++ this.toolbar = jQuery("#backstageToolbar").empty()[0];
++ this.button = jQuery("#backstageButton").empty()[0];
++ this.button.style.display = "block";
++ var t = cmb.open.text + " " + glyph("bentArrowLeft");
++ this.showButton = createTiddlyButton(this.button,t,cmb.open.tooltip,
++ function(e) {backstage.show(); return false;},null,"backstageShow");
++ t = glyph("bentArrowRight") + " " + cmb.close.text;
++ this.hideButton = createTiddlyButton(this.button,t,cmb.close.tooltip,
++ function(e) {backstage.hide(); return false;},null,"backstageHide");
++ this.cloak = document.getElementById("backstageCloak");
++ this.panel = document.getElementById("backstagePanel");
++ this.panelFooter = createTiddlyElement(this.panel,"div",null,"backstagePanelFooter");
++ this.panelBody = createTiddlyElement(this.panel,"div",null,"backstagePanelBody");
++ this.cloak.onmousedown = function(e) {backstage.switchTab(null);};
++ createTiddlyText(this.toolbar,cmb.prompt);
++ for(t=0; t<config.backstageTasks.length; t++) {
++ var taskName = config.backstageTasks[t];
++ var task = config.tasks[taskName];
++ var handler = task.action ? this.onClickCommand : this.onClickTab;
++ var text = task.text + (task.action ? "" : glyph("downTriangle"));
++ var btn = createTiddlyButton(this.toolbar,text,task.tooltip,handler,"backstageTab");
++ jQuery(btn).addClass(task.action ? "backstageAction" : "backstageTask");
++ btn.setAttribute("task", taskName);
++ }
++ this.content = document.getElementById("contentWrapper");
++ if(config.options.chkBackstage)
++ this.show();
++ else
++ this.hide();
++ },
++
++ isVisible: function() {
++ return this.area ? this.area.style.display == "block" : false;
++ },
++
++ show: function() {
++ this.area.style.display = "block";
++ if(anim && config.options.chkAnimate) {
++ backstage.toolbar.style.left = findWindowWidth() + "px";
++ var p = [{style: "left", start: findWindowWidth(), end: 0, template: "%0px"}];
++ anim.startAnimating(new Morpher(backstage.toolbar,config.animDuration,p));
++ } else {
++ backstage.area.style.left = "0px";
++ }
++ jQuery(this.showButton).hide();
++ jQuery(this.hideButton).show();
++ config.options.chkBackstage = true;
++ saveOption("chkBackstage");
++ jQuery(this.content).addClass("backstageVisible");
++ },
++
++ hide: function() {
++ if(this.currTabElem) {
++ this.switchTab(null);
++ } else {
++ backstage.toolbar.style.left = "0px";
++ if(anim && config.options.chkAnimate) {
++ var p = [{style: "left", start: 0, end: findWindowWidth(), template: "%0px"}];
++ var c = function(element,properties) {backstage.area.style.display = "none";};
++ anim.startAnimating(new Morpher(backstage.toolbar,config.animDuration,p,c));
++ } else {
++ this.area.style.display = "none";
++ }
++ this.showButton.style.display = "block";
++ this.hideButton.style.display = "none";
++ config.options.chkBackstage = false;
++ saveOption("chkBackstage");
++ jQuery(this.content).removeClass("backstageVisible");
++ }
++ },
++
++ onClickCommand: function(e) {
++ var task = config.tasks[this.getAttribute("task")];
++ if(task.action) {
++ backstage.switchTab(null);
++ task.action();
++ }
++ return false;
++ },
++
++ onClickTab: function(e) {
++ backstage.switchTab(this.getAttribute("task"));
++ return false;
++ },
++
++ // Switch to a given tab, or none if null is passed
++ switchTab: function(tabName) {
++ var tabElem = null;
++ var e = this.toolbar.firstChild;
++ while(e) {
++ if(e.getAttribute && e.getAttribute("task") == tabName)
++ tabElem = e;
++ e = e.nextSibling;
++ }
++ if(tabName == backstage.currTabName) {
++ backstage.hidePanel();
++ return;
++ }
++ if(backstage.currTabElem) {
++ jQuery(this.currTabElem).removeClass("backstageSelTab");
++ }
++ if(tabElem && tabName) {
++ backstage.preparePanel();
++ jQuery(tabElem).addClass("backstageSelTab");
++ var task = config.tasks[tabName];
++ wikify(task.content,backstage.panelBody,null,null);
++ backstage.showPanel();
++ } else if(backstage.currTabElem) {
++ backstage.hidePanel();
++ }
++ backstage.currTabName = tabName;
++ backstage.currTabElem = tabElem;
++ },
++
++ isPanelVisible: function() {
++ return backstage.panel ? backstage.panel.style.display == "block" : false;
++ },
++
++ preparePanel: function() {
++ backstage.cloak.style.height = findDocHeight() + "px";
++ backstage.cloak.style.display = "block";
++ jQuery(backstage.panelBody).empty();
++ return backstage.panelBody;
++ },
++
++ showPanel: function() {
++ backstage.panel.style.display = "block";
++ if(anim && config.options.chkAnimate) {
++ backstage.panel.style.top = (-backstage.panel.offsetHeight) + "px";
++ var p = [{style: "top", start: -backstage.panel.offsetHeight, end: 0, template: "%0px"}];
++ anim.startAnimating(new Morpher(backstage.panel,config.animDuration,p),new Scroller(backstage.panel,false));
++ } else {
++ backstage.panel.style.top = "0px";
++ }
++ return backstage.panelBody;
++ },
++
++ hidePanel: function() {
++ if(backstage.currTabElem)
++ jQuery(backstage.currTabElem).removeClass("backstageSelTab");
++ backstage.currTabElem = null;
++ backstage.currTabName = null;
++ if(anim && config.options.chkAnimate) {
++ var p = [
++ {style: "top", start: 0, end: -(backstage.panel.offsetHeight), template: "%0px"},
++ {style: "display", atEnd: "none"}
++ ];
++ var c = function(element,properties) {backstage.cloak.style.display = "none";};
++ anim.startAnimating(new Morpher(backstage.panel,config.animDuration,p,c));
++ } else {
++ jQuery([backstage.panel,backstage.cloak]).hide();
++ }
++ }
++};
++
++config.macros.backstage = {};
++
++config.macros.backstage.handler = function(place,macroName,params)
++{
++ var backstageTask = config.tasks[params[0]];
++ if(backstageTask)
++ createTiddlyButton(place,backstageTask.text,backstageTask.tooltip,function(e) {backstage.switchTab(params[0]); return false;});
++};
++
++//--
++//-- ImportTiddlers macro
++//--
++
++config.macros.importTiddlers.handler = function(place,macroName,params,wikifier,paramString,tiddler)
++{
++ if(readOnly) {
++ createTiddlyElement(place,"div",null,"marked",this.readOnlyWarning);
++ return;
++ }
++ var w = new Wizard();
++ w.createWizard(place,this.wizardTitle);
++ this.restart(w);
++};
++
++config.macros.importTiddlers.onCancel = function(e)
++{
++ var wizard = new Wizard(this);
++ wizard.clear();
++ config.macros.importTiddlers.restart(wizard);
++ return false;
++};
++
++config.macros.importTiddlers.onClose = function(e)
++{
++ backstage.hidePanel();
++ return false;
++};
++
++config.macros.importTiddlers.restart = function(wizard)
++{
++ var me = config.macros.importTiddlers;
++ wizard.addStep(this.step1Title,this.step1Html);
++ var t,s = wizard.getElement("selTypes");
++ for(t in config.adaptors) {
++ var e = createTiddlyElement(s,"option",null,null,config.adaptors[t].serverLabel || t);
++ e.value = t;
++ }
++ if(config.defaultAdaptor)
++ s.value = config.defaultAdaptor;
++ s = wizard.getElement("selFeeds");
++ var feeds = this.getFeeds();
++ for(t in feeds) {
++ e = createTiddlyElement(s,"option",null,null,t);
++ e.value = t;
++ }
++ wizard.setValue("feeds",feeds);
++ s.onchange = me.onFeedChange;
++ var fileInput = wizard.getElement("txtBrowse");
++ fileInput.onchange = me.onBrowseChange;
++ fileInput.onkeyup = me.onBrowseChange;
++ wizard.setButtons([{caption: this.openLabel, tooltip: this.openPrompt, onClick: me.onOpen}]);
++ wizard.formElem.action = "javascript:;";
++ wizard.formElem.onsubmit = function() {
++ if(!this.txtPath || this.txtPath.value.length) //# check for manually entered path in first step
++ this.lastChild.firstChild.onclick();
++ };
++};
++
++config.macros.importTiddlers.getFeeds = function()
++{
++ var feeds = {};
++ var t,tagged = store.getTaggedTiddlers("systemServer","title");
++ for(t=0; t<tagged.length; t++) {
++ var title = tagged[t].title;
++ var serverType = store.getTiddlerSlice(title,"Type");
++ if(!serverType)
++ serverType = "file";
++ feeds[title] = {title: title,
++ url: store.getTiddlerSlice(title,"URL"),
++ workspace: store.getTiddlerSlice(title,"Workspace"),
++ workspaceList: store.getTiddlerSlice(title,"WorkspaceList"),
++ tiddlerFilter: store.getTiddlerSlice(title,"TiddlerFilter"),
++ serverType: serverType,
++ description: store.getTiddlerSlice(title,"Description")};
++ }
++ return feeds;
++};
++
++config.macros.importTiddlers.onFeedChange = function(e)
++{
++ var wizard = new Wizard(this);
++ var selTypes = wizard.getElement("selTypes");
++ var fileInput = wizard.getElement("txtPath");
++ var feeds = wizard.getValue("feeds");
++ var f = feeds[this.value];
++ if(f) {
++ selTypes.value = f.serverType;
++ fileInput.value = f.url;
++ wizard.setValue("feedName",f.serverType);
++ wizard.setValue("feedHost",f.url);
++ wizard.setValue("feedWorkspace",f.workspace);
++ wizard.setValue("feedWorkspaceList",f.workspaceList);
++ wizard.setValue("feedTiddlerFilter",f.tiddlerFilter);
++ }
++ return false;
++};
++
++config.macros.importTiddlers.onBrowseChange = function(e)
++{
++ var wizard = new Wizard(this);
++ var file = this.value;
++ file = file.replace(/^C:\\fakepath\\/i,''); // remove fakepath (chrome/opera/safari)
++ if(this.files && this.files[0]) {
++ try {
++ netscape.security.PrivilegeManager.enablePrivilege("UniversalFileRead");
++ file = this.files[0].fileName; // REQUIRES PRIVILEGES.. NULL otherwise
++ } catch (ex) {
++ // non-priv fallback: combine filename with path to current document
++ var path=getLocalPath(document.location.href);
++ var slashpos=path.lastIndexOf('/'); if (slashpos==-1) slashpos=path.lastIndexOf('\\');
++ if (slashpos!=-1) path=path.substr(0,slashpos+1); // remove filename, leave trailing slash
++ file=path+file;
++ }
++ }
++ var fileInput = wizard.getElement("txtPath");
++ fileInput.value = config.macros.importTiddlers.getURLFromLocalPath(file);
++ var serverType = wizard.getElement("selTypes");
++ serverType.value = "file";
++ return true;
++};
++
++config.macros.importTiddlers.getURLFromLocalPath = function(v)
++{
++ if(!v || !v.length)
++ return v;
++ v = v.replace(/\\/g,"/"); // use "/" for cross-platform consistency
++ var u;
++ var t = v.split(":");
++ var p = t[1] || t[0]; // remove drive letter (if any)
++ if(t[1] && (t[0] == "http" || t[0] == "https" || t[0] == "file")) {
++ u = v;
++ } else if(p.substr(0,1)=="/") {
++ u = document.location.protocol + "//" + document.location.hostname + (t[1] ? "/" : "") + v;
++ } else {
++ var c = document.location.href.replace(/\\/g,"/");
++ var pos = c.lastIndexOf("/");
++ if(pos!=-1)
++ c = c.substr(0,pos); // remove filename
++ u = c + "/" + p;
++ }
++ return u;
++};
++
++config.macros.importTiddlers.onOpen = function(e)
++{
++ var me = config.macros.importTiddlers;
++ var wizard = new Wizard(this);
++ var fileInput = wizard.getElement("txtPath");
++ var url = fileInput.value;
++ var serverType = wizard.getElement("selTypes").value || config.defaultAdaptor;
++ var adaptor = new config.adaptors[serverType]();
++ wizard.setValue("adaptor",adaptor);
++ wizard.setValue("serverType",serverType);
++ wizard.setValue("host",url);
++ adaptor.openHost(url,null,wizard,me.onOpenHost);
++ wizard.setButtons([{caption: me.cancelLabel, tooltip: me.cancelPrompt, onClick: me.onCancel}],me.statusOpenHost);
++ return false;
++};
++
++config.macros.importTiddlers.onOpenHost = function(context,wizard)
++{
++ var me = config.macros.importTiddlers;
++ var adaptor = wizard.getValue("adaptor");
++ if(context.status !== true)
++ displayMessage("Error in importTiddlers.onOpenHost: " + context.statusText);
++ adaptor.getWorkspaceList(context,wizard,me.onGetWorkspaceList);
++ wizard.setButtons([{caption: me.cancelLabel, tooltip: me.cancelPrompt, onClick: me.onCancel}],me.statusGetWorkspaceList);
++};
++
++config.macros.importTiddlers.onGetWorkspaceList = function(context,wizard)
++{
++ var me = config.macros.importTiddlers;
++ if(context.status !== true)
++ displayMessage("Error in importTiddlers.onGetWorkspaceList: " + context.statusText);
++ wizard.setValue("context",context);
++ var workspace = wizard.getValue("feedWorkspace");
++ if(!workspace && context.workspaces.length==1)
++ workspace = context.workspaces[0].title;
++ if(workspace) {
++ context.adaptor.openWorkspace(workspace,context,wizard,me.onOpenWorkspace);
++ wizard.setValue("workspace",workspace);
++ wizard.setButtons([{caption: me.cancelLabel, tooltip: me.cancelPrompt, onClick: me.onCancel}],me.statusOpenWorkspace);
++ return;
++ }
++ wizard.addStep(me.step2Title,me.step2Html);
++ var t,s = wizard.getElement("selWorkspace");
++ s.onchange = me.onWorkspaceChange;
++ for(t=0; t<context.workspaces.length; t++) {
++ var e = createTiddlyElement(s,"option",null,null,context.workspaces[t].title);
++ e.value = context.workspaces[t].title;
++ }
++ var workspaceList = wizard.getValue("feedWorkspaceList");
++ if(workspaceList) {
++ var n,list = workspaceList.parseParams("workspace",null,false,true);
++ for(n=1; n<list.length; n++) {
++ if(context.workspaces.findByField("title",list[n].value) == null) {
++ e = createTiddlyElement(s,"option",null,null,list[n].value);
++ e.value = list[n].value;
++ }
++ }
++ }
++ if(workspace) {
++ t = wizard.getElement("txtWorkspace");
++ t.value = workspace;
++ }
++ wizard.setButtons([{caption: me.openLabel, tooltip: me.openPrompt, onClick: me.onChooseWorkspace}]);
++};
++
++config.macros.importTiddlers.onWorkspaceChange = function(e)
++{
++ var wizard = new Wizard(this);
++ var t = wizard.getElement("txtWorkspace");
++ t.value = this.value;
++ this.selectedIndex = 0;
++ return false;
++};
++
++config.macros.importTiddlers.onChooseWorkspace = function(e)
++{
++ var me = config.macros.importTiddlers;
++ var wizard = new Wizard(this);
++ var adaptor = wizard.getValue("adaptor");
++ var workspace = wizard.getElement("txtWorkspace").value;
++ wizard.setValue("workspace",workspace);
++ var context = wizard.getValue("context");
++ adaptor.openWorkspace(workspace,context,wizard,me.onOpenWorkspace);
++ wizard.setButtons([{caption: me.cancelLabel, tooltip: me.cancelPrompt, onClick: me.onCancel}],me.statusOpenWorkspace);
++ return false;
++};
++
++config.macros.importTiddlers.onOpenWorkspace = function(context,wizard)
++{
++ var me = config.macros.importTiddlers;
++ if(context.status !== true)
++ displayMessage("Error in importTiddlers.onOpenWorkspace: " + context.statusText);
++ var adaptor = wizard.getValue("adaptor");
++ var browse=wizard.getElement("txtBrowse");
++ if (browse.files) context.file=browse.files[0]; // for HTML5 FileReader
++ adaptor.getTiddlerList(context,wizard,me.onGetTiddlerList,wizard.getValue("feedTiddlerFilter"));
++ wizard.setButtons([{caption: me.cancelLabel, tooltip: me.cancelPrompt, onClick: me.onCancel}],me.statusGetTiddlerList);
++};
++
++config.macros.importTiddlers.onGetTiddlerList = function(context,wizard)
++{
++ var me = config.macros.importTiddlers;
++ if(context.status !== true) {
++ var error = context.statusText||me.errorGettingTiddlerList;
++ if(context.host.indexOf("file://") === 0) {
++ error = me.errorGettingTiddlerListFile;
++ } else {
++ error = context.xhr && context.xhr.status == 404 ? me.errorGettingTiddlerListHttp404 :
++ me.errorGettingTiddlerListHttp;
++ }
++ wizard.setButtons([{caption: me.cancelLabel, tooltip: me.cancelPrompt, onClick: me.onCancel}],"");
++ jQuery("span.status", wizard.footerEl).html(error); // so error message can be html
++ return;
++ }
++ // Extract data for the listview
++ var listedTiddlers = [];
++ if(context.tiddlers) {
++ var n;
++ for(n=0; n<context.tiddlers.length; n++) {
++ var tiddler = context.tiddlers[n];
++ listedTiddlers.push({
++ title: tiddler.title,
++ modified: tiddler.modified,
++ modifier: tiddler.modifier,
++ text: tiddler.text ? wikifyPlainText(tiddler.text,100) : "",
++ tags: tiddler.tags,
++ size: tiddler.text ? tiddler.text.length : 0,
++ tiddler: tiddler
++ });
++ }
++ }
++ listedTiddlers.sort(function(a,b) {return a.title < b.title ? -1 : (a.title == b.title ? 0 : +1);});
++ // Display the listview
++ wizard.addStep(me.step3Title,me.step3Html);
++ var markList = wizard.getElement("markList");
++ var listWrapper = document.createElement("div");
++ markList.parentNode.insertBefore(listWrapper,markList);
++ var listView = ListView.create(listWrapper,listedTiddlers,me.listViewTemplate);
++ wizard.setValue("listView",listView);
++ wizard.setValue("context",context);
++ var txtSaveTiddler = wizard.getElement("txtSaveTiddler");
++ txtSaveTiddler.value = me.generateSystemServerName(wizard);
++ wizard.setButtons([
++ {caption: me.cancelLabel, tooltip: me.cancelPrompt, onClick: me.onCancel},
++ {caption: me.importLabel, tooltip: me.importPrompt, onClick: me.doImport}
++ ]);
++};
++
++config.macros.importTiddlers.generateSystemServerName = function(wizard)
++{
++ var serverType = wizard.getValue("serverType");
++ var host = wizard.getValue("host");
++ var workspace = wizard.getValue("workspace");
++ var pattern = config.macros.importTiddlers[workspace ? "systemServerNamePattern" : "systemServerNamePatternNoWorkspace"];
++ return pattern.format([serverType,host,workspace]);
++};
++
++config.macros.importTiddlers.saveServerTiddler = function(wizard)
++{
++ var me = config.macros.importTiddlers;
++ var txtSaveTiddler = wizard.getElement("txtSaveTiddler").value;
++ if(store.tiddlerExists(txtSaveTiddler)) {
++ if(!confirm(me.confirmOverwriteSaveTiddler.format([txtSaveTiddler])))
++ return;
++ store.suspendNotifications();
++ store.removeTiddler(txtSaveTiddler);
++ store.resumeNotifications();
++ }
++ var serverType = wizard.getValue("serverType");
++ var host = wizard.getValue("host");
++ var workspace = wizard.getValue("workspace");
++ var text = me.serverSaveTemplate.format([serverType,host,workspace]);
++ store.saveTiddler(txtSaveTiddler,txtSaveTiddler,text,me.serverSaveModifier,new Date(),["systemServer"]);
++};
++
++config.macros.importTiddlers.doImport = function(e)
++{
++ var me = config.macros.importTiddlers;
++ var wizard = new Wizard(this);
++ if(wizard.getElement("chkSave").checked)
++ me.saveServerTiddler(wizard);
++ var chkSync = wizard.getElement("chkSync").checked;
++ wizard.setValue("sync",chkSync);
++ var listView = wizard.getValue("listView");
++ var rowNames = ListView.getSelectedRows(listView);
++ var adaptor = wizard.getValue("adaptor");
++ var overwrite = [];
++ var t;
++ for(t=0; t<rowNames.length; t++) {
++ if(store.tiddlerExists(rowNames[t]))
++ overwrite.push(rowNames[t]);
++ }
++ if(overwrite.length > 0) {
++ if(!confirm(me.confirmOverwriteText.format([overwrite.join(", ")])))
++ return false;
++ }
++ wizard.addStep(me.step4Title.format([rowNames.length]),me.step4Html);
++ for(t=0; t<rowNames.length; t++) {
++ var link = document.createElement("div");
++ createTiddlyLink(link,rowNames[t],true);
++ var place = wizard.getElement("markReport");
++ place.parentNode.insertBefore(link,place);
++ }
++ wizard.setValue("remainingImports",rowNames.length);
++ wizard.setButtons([
++ {caption: me.cancelLabel, tooltip: me.cancelPrompt, onClick: me.onCancel}
++ ],me.statusDoingImport);
++ var wizardContext = wizard.getValue("context");
++ var tiddlers = wizardContext ? wizardContext.tiddlers : [];
++ for(t=0; t<rowNames.length; t++) {
++ var context = {
++ allowSynchronous:true,
++ tiddler:tiddlers[tiddlers.findByField("title",rowNames[t])]
++ };
++ adaptor.getTiddler(rowNames[t],context,wizard,me.onGetTiddler);
++ }
++ return false;
++};
++
++config.macros.importTiddlers.onGetTiddler = function(context,wizard)
++{
++ var me = config.macros.importTiddlers;
++ if(!context.status)
++ displayMessage("Error in importTiddlers.onGetTiddler: " + context.statusText);
++ var tiddler = context.tiddler;
++ store.suspendNotifications();
++ store.saveTiddler(tiddler.title, tiddler.title, tiddler.text, tiddler.modifier, tiddler.modified, tiddler.tags, tiddler.fields, true, tiddler.created);
++ if(!wizard.getValue("sync")) {
++ store.setValue(tiddler.title,'server',null);
++ }
++ store.resumeNotifications();
++ if(!context.isSynchronous)
++ store.notify(tiddler.title,true);
++ var remainingImports = wizard.getValue("remainingImports")-1;
++ wizard.setValue("remainingImports",remainingImports);
++ if(remainingImports == 0) {
++ if(context.isSynchronous) {
++ store.notifyAll();
++ refreshDisplay();
++ }
++ wizard.setButtons([
++ {caption: me.doneLabel, tooltip: me.donePrompt, onClick: me.onClose}
++ ],me.statusDoneImport);
++ autoSaveChanges();
++ }
++};
++
++//--
++//-- Upgrade macro
++//--
++
++config.macros.upgrade.handler = function(place)
++{
++ var w = new Wizard();
++ w.createWizard(place,this.wizardTitle);
++ w.addStep(this.step1Title,this.step1Html.format([this.source,this.source]));
++ w.setButtons([{caption: this.upgradeLabel, tooltip: this.upgradePrompt, onClick: this.onClickUpgrade}]);
++};
++
++config.macros.upgrade.onClickUpgrade = function(e)
++{
++ var me = config.macros.upgrade;
++ var w = new Wizard(this);
++ if(!window.allowSave()) {
++ alert(me.errorCantUpgrade);
++ return false;
++ }
++ if(story.areAnyDirty() || store.isDirty()) {
++ alert(me.errorNotSaved);
++ return false;
++ }
++ var localPath = getLocalPath(document.location.toString());
++ var backupPath = getBackupPath(localPath,me.backupExtension);
++ w.setValue("backupPath",backupPath);
++ w.setButtons([],me.statusPreparingBackup);
++ var original = loadOriginal(localPath);
++ w.setButtons([],me.statusSavingBackup);
++ var backup = copyFile(backupPath,localPath);
++ if(!backup)
++ backup = saveFile(backupPath,original);
++ if(!backup) {
++ w.setButtons([],me.errorSavingBackup);
++ alert(me.errorSavingBackup);
++ return false;
++ }
++ w.setButtons([],me.statusLoadingCore);
++ var options = {
++ type:"GET",
++ url:me.source,
++ processData:false,
++ success:function(data,textStatus,jqXHR) {
++ me.onLoadCore(true,w,jqXHR.responseText,me.source,jqXHR);
++ },
++ error:function(jqXHR,textStatus,errorThrown) {
++ me.onLoadCore(false,w,null,me.source,jqXHR);
++ }
++ };
++ ajaxReq(options);
++ return false;
++};
++
++config.macros.upgrade.onLoadCore = function(status,params,responseText,url,xhr)
++{
++ var me = config.macros.upgrade;
++ var w = params;
++ var errMsg;
++ if(!status)
++ errMsg = me.errorLoadingCore;
++ var newVer = me.extractVersion(responseText);
++ if(!newVer)
++ errMsg = me.errorCoreFormat;
++ if(errMsg) {
++ w.setButtons([],errMsg);
++ alert(errMsg);
++ return;
++ }
++ var onStartUpgrade = function(e) {
++ w.setButtons([],me.statusSavingCore);
++ var localPath = getLocalPath(document.location.toString());
++ saveFile(localPath,responseText);
++ w.setButtons([],me.statusReloadingCore);
++ var backupPath = w.getValue("backupPath");
++ var newLoc = document.location.toString() + "?time=" + new Date().convertToYYYYMMDDHHMM() + "#upgrade:[[" + encodeURI(backupPath) + "]]";
++ window.setTimeout(function () {window.location = newLoc;},10);
++ };
++ var step2 = [me.step2Html_downgrade,me.step2Html_restore,me.step2Html_upgrade][compareVersions(version,newVer) + 1];
++ w.addStep(me.step2Title,step2.format([formatVersion(newVer),formatVersion(version)]));
++ w.setButtons([{caption: me.startLabel, tooltip: me.startPrompt, onClick: onStartUpgrade},{caption: me.cancelLabel, tooltip: me.cancelPrompt, onClick: me.onCancel}]);
++};
++
++config.macros.upgrade.onCancel = function(e)
++{
++ var me = config.macros.upgrade;
++ var w = new Wizard(this);
++ w.addStep(me.step3Title,me.step3Html);
++ w.setButtons([]);
++ return false;
++};
++
++config.macros.upgrade.extractVersion = function(upgradeFile)
++{
++ var re = /^var version = \{title: "([^"]+)", major: (\d+), minor: (\d+), revision: (\d+)(, beta: (\d+)){0,1}, date: new Date\("([^"]+)"\)/mg;
++ var m = re.exec(upgradeFile);
++ return m ? {title: m[1], major: m[2], minor: m[3], revision: m[4], beta: m[6], date: new Date(m[7])} : null;
++};
++
++function upgradeFrom(path)
++{
++ var importStore = new TiddlyWiki();
++ var tw = loadFile(path);
++ if(window.netscape !== undefined)
++ tw = convertUTF8ToUnicode(tw);
++ importStore.importTiddlyWiki(tw);
++ importStore.forEachTiddler(function(title,tiddler) {
++ if(!store.getTiddler(title)) {
++ store.addTiddler(tiddler);
++ }
++ });
++ refreshDisplay();
++ saveChanges(); //# To create appropriate Markup* sections
++ alert(config.messages.upgradeDone.format([formatVersion()]));
++ window.location = window.location.toString().substr(0,window.location.toString().lastIndexOf("?"));
++}
++
++//--
++//-- Manager UI for groups of tiddlers
++//--
++
++config.macros.plugins.handler = function(place,macroName,params,wikifier,paramString)
++{
++ var wizard = new Wizard();
++ wizard.createWizard(place,this.wizardTitle);
++ wizard.addStep(this.step1Title,this.step1Html);
++ var markList = wizard.getElement("markList");
++ var listWrapper = document.createElement("div");
++ markList.parentNode.insertBefore(listWrapper,markList);
++ listWrapper.setAttribute("refresh","macro");
++ listWrapper.setAttribute("macroName","plugins");
++ listWrapper.setAttribute("params",paramString);
++ this.refresh(listWrapper,paramString);
++};
++
++config.macros.plugins.refresh = function(listWrapper,params)
++{
++ var me = config.macros.plugins;
++ var wizard = new Wizard(listWrapper);
++ var selectedRows = [];
++ ListView.forEachSelector(listWrapper,function(e,rowName) {
++ if(e.checked)
++ selectedRows.push(e.getAttribute("rowName"));
++ });
++ jQuery(listWrapper).empty();
++ params = params.parseParams("anon");
++ var plugins = installedPlugins.slice(0);
++ var t,tiddler,p;
++ var configTiddlers = store.getTaggedTiddlers("systemConfig");
++ for(t=0; t<configTiddlers.length; t++) {
++ tiddler = configTiddlers[t];
++ if(plugins.findByField("title",tiddler.title) == null) {
++ p = getPluginInfo(tiddler);
++ p.executed = false;
++ p.log.splice(0,0,this.skippedText);
++ plugins.push(p);
++ }
++ }
++ for(t=0; t<plugins.length; t++) {
++ p = plugins[t];
++ p.size = p.tiddler.text ? p.tiddler.text.length : 0;
++ p.forced = p.tiddler.isTagged("systemConfigForce");
++ p.disabled = p.tiddler.isTagged("systemConfigDisable");
++ p.Selected = selectedRows.indexOf(plugins[t].title) != -1;
++ }
++ if(plugins.length == 0) {
++ createTiddlyElement(listWrapper,"em",null,null,this.noPluginText);
++ wizard.setButtons([]);
++ } else {
++ var template = readOnly ? this.listViewTemplateReadOnly : this.listViewTemplate;
++ var listView = ListView.create(listWrapper,plugins,template,this.onSelectCommand);
++ wizard.setValue("listView",listView);
++ if(!readOnly) {
++ wizard.setButtons([
++ {caption: me.removeLabel, tooltip: me.removePrompt, onClick: me.doRemoveTag},
++ {caption: me.deleteLabel, tooltip: me.deletePrompt, onClick: me.doDelete}
++ ]);
++ }
++ }
++};
++
++config.macros.plugins.doRemoveTag = function(e)
++{
++ var wizard = new Wizard(this);
++ var listView = wizard.getValue("listView");
++ var rowNames = ListView.getSelectedRows(listView);
++ if(rowNames.length == 0) {
++ alert(config.messages.nothingSelected);
++ } else {
++ var t;
++ for(t=0; t<rowNames.length; t++) {
++ store.setTiddlerTag(rowNames[t],false,"systemConfig");
++ }
++ autoSaveChanges();
++ }
++};
++
++config.macros.plugins.doDelete = function(e)
++{
++ var wizard = new Wizard(this);
++ var listView = wizard.getValue("listView");
++ var rowNames = ListView.getSelectedRows(listView);
++ if(rowNames.length == 0) {
++ alert(config.messages.nothingSelected);
++ } else {
++ if(confirm(config.macros.plugins.confirmDeleteText.format([rowNames.join(", ")]))) {
++ var t;
++ for(t=0; t<rowNames.length; t++) {
++ store.removeTiddler(rowNames[t]);
++ story.closeTiddler(rowNames[t],true);
++ }
++ }
++ autoSaveChanges();
++ }
++};
++
++//--
++//-- Message area
++//--
++
++function getMessageDiv()
++{
++ var msgArea = document.getElementById("messageArea");
++ if(!msgArea)
++ return null;
++ if(!msgArea.hasChildNodes())
++ createTiddlyButton(createTiddlyElement(msgArea,"div",null,"messageToolbar"),
++ config.messages.messageClose.text,
++ config.messages.messageClose.tooltip,
++ clearMessage);
++ msgArea.style.display = "block";
++ return createTiddlyElement(msgArea,"div");
++}
++
++function displayMessage(text,linkText)
++{
++ var e = getMessageDiv();
++ if(!e) {
++ alert(text);
++ return;
++ }
++ if(linkText) {
++ var link = createTiddlyElement(e,"a",null,null,text);
++ link.href = linkText;
++ link.target = "_blank";
++ } else {
++ e.appendChild(document.createTextNode(text));
++ }
++}
++
++function clearMessage()
++{
++ var msgArea = document.getElementById("messageArea");
++ if(msgArea) {
++ jQuery(msgArea).empty();
++ msgArea.style.display = "none";
++ }
++ return false;
++}
++
++//--
++//-- Refresh mechanism
++//--
++
++config.notifyTiddlers = [
++ {name: "SystemSettings", notify: onSystemSettingsChange},
++ {name: "StyleSheetLayout", notify: refreshStyles},
++ {name: "StyleSheetColors", notify: refreshStyles},
++ {name: "StyleSheet", notify: refreshStyles},
++ {name: "StyleSheetPrint", notify: refreshStyles},
++ {name: "PageTemplate", notify: refreshPageTemplate},
++ {name: "SiteTitle", notify: refreshPageTitle},
++ {name: "SiteSubtitle", notify: refreshPageTitle},
++ {name: "WindowTitle", notify: refreshPageTitle},
++ {name: "ColorPalette", notify: refreshColorPalette},
++ {name: null, notify: refreshDisplay}
++];
++
++config.refreshers = {
++ link: function(e,changeList)
++ {
++ var title = e.getAttribute("tiddlyLink");
++ refreshTiddlyLink(e,title);
++ return true;
++ },
++
++ tiddler: function(e,changeList)
++ {
++ var title = e.getAttribute("tiddler");
++ var template = e.getAttribute("template");
++ if(changeList && (changeList.indexOf && changeList.indexOf(title) != -1) && !story.isDirty(title))
++ story.refreshTiddler(title,template,true);
++ else
++ refreshElements(e,changeList);
++ return true;
++ },
++
++ content: function(e,changeList)
++ {
++ var title = e.getAttribute("tiddler");
++ var force = e.getAttribute("force");
++ var args = e.getAttribute("args");
++ if(force != null || changeList == null || (changeList.indexOf && changeList.indexOf(title) != -1)) {
++ jQuery(e).empty();
++ config.macros.tiddler.transclude(e,title,args);
++ return true;
++ } else
++ return false;
++ },
++
++ macro: function(e,changeList)
++ {
++ var macro = e.getAttribute("macroName");
++ var params = e.getAttribute("params");
++ if(macro)
++ macro = config.macros[macro];
++ if(macro && macro.refresh)
++ macro.refresh(e,params);
++ return true;
++ }
++};
++
++config.refresherData = {
++ styleSheet: "StyleSheet",
++ defaultStyleSheet: "StyleSheet",
++ pageTemplate: "PageTemplate",
++ defaultPageTemplate: "PageTemplate",
++ colorPalette: "ColorPalette",
++ defaultColorPalette: "ColorPalette"
++};
++
++function refreshElements(root,changeList)
++{
++ var c,nodes = root.childNodes;
++ for(c=0; c<nodes.length; c++) {
++ var e = nodes[c], type = null;
++ if(e.getAttribute && (e.tagName ? e.tagName != "IFRAME" : true))
++ type = e.getAttribute("refresh");
++ var refresher = config.refreshers[type];
++ var refreshed = false;
++ if(refresher != undefined)
++ refreshed = refresher(e,changeList);
++ if(e.hasChildNodes() && !refreshed)
++ refreshElements(e,changeList);
++ }
++}
++
++function applyHtmlMacros(root,tiddler)
++{
++ var e = root.firstChild;
++ while(e) {
++ var nextChild = e.nextSibling;
++ if(e.getAttribute) {
++ var macro = e.getAttribute("macro");
++ if(macro) {
++ e.removeAttribute("macro");
++ var params = "";
++ var p = macro.indexOf(" ");
++ if(p != -1) {
++ params = macro.substr(p+1);
++ macro = macro.substr(0,p);
++ }
++ invokeMacro(e,macro,params,null,tiddler);
++ }
++ }
++ if(e.hasChildNodes())
++ applyHtmlMacros(e,tiddler);
++ e = nextChild;
++ }
++}
++
++function refreshPageTemplate(title)
++{
++ var stash = jQuery("<div/>").appendTo("body").hide()[0];
++ var display = story.getContainer();
++ var nodes,t;
++ if(display) {
++ nodes = display.childNodes;
++ for(t=nodes.length-1; t>=0; t--)
++ stash.appendChild(nodes[t]);
++ }
++ var wrapper = document.getElementById("contentWrapper");
++
++ if(!title || !store.isAvailable(title))
++ title = config.refresherData.pageTemplate;
++ if(!store.isAvailable(title))
++ title = config.refresherData.defaultPageTemplate; //# this one is always avaialable
++ wrapper.innerHTML = store.getRecursiveTiddlerText(title,null,10);
++ applyHtmlMacros(wrapper);
++ refreshElements(wrapper);
++ display = story.getContainer();
++ jQuery(display).empty();
++ if(!display)
++ display = createTiddlyElement(wrapper,"div",story.containerId());
++ nodes = stash.childNodes;
++ for(t=nodes.length-1; t>=0; t--)
++ display.appendChild(nodes[t]);
++ jQuery(stash).remove();
++}
++
++function refreshDisplay(hint)
++{
++ if(typeof hint == "string")
++ hint = [hint];
++ var e = document.getElementById("contentWrapper");
++ refreshElements(e,hint);
++ if(backstage.isPanelVisible()) {
++ e = document.getElementById("backstage");
++ refreshElements(e,hint);
++ }
++}
++
++function refreshPageTitle()
++{
++ document.title = getPageTitle();
++}
++
++function getPageTitle()
++{
++ return wikifyPlainText(store.getTiddlerText("WindowTitle",""),null,tiddler);
++}
++
++function refreshStyles(title,doc)
++{
++ setStylesheet(title == null ? "" : store.getRecursiveTiddlerText(title,"",10),title,doc || document);
++}
++
++function refreshColorPalette(title)
++{
++ if(!startingUp)
++ refreshAll();
++}
++
++function refreshAll()
++{
++ refreshPageTemplate();
++ refreshDisplay();
++ refreshStyles("StyleSheetLayout");
++ refreshStyles("StyleSheetColors");
++ refreshStyles(config.refresherData.styleSheet);
++ refreshStyles("StyleSheetPrint");
++}
++
++//--
++//-- Option handling
++//--
++
++config.optionHandlers = {
++ 'txt': {
++ get: function(name) {return encodeCookie(config.options[name].toString());},
++ set: function(name,value) {config.options[name] = decodeCookie(value);}
++ },
++ 'chk': {
++ get: function(name) {return config.options[name] ? 'true' : 'false';},
++ set: function(name,value) {config.options[name] = value == 'true';}
++ }
++};
++
++function setOption(name,value)
++{
++ var optType = name.substr(0,3);
++ if(config.optionHandlers[optType] && config.optionHandlers[optType].set)
++ config.optionHandlers[optType].set(name,value);
++}
++
++// Gets the value of an option as a string. Most code should just read from config.options.* directly
++function getOption(name)
++{
++ var optType = name.substr(0,3);
++ return config.optionHandlers[optType] && config.optionHandlers[optType].get ? config.optionHandlers[optType].get(name) : null;
++}
++
++function loadOptions()
++{
++ if(safeMode)
++ return;
++ loadCookies();
++ loadSystemSettings();
++}
++// @Deprecated; retained for backwards compatibility
++var loadOptionsCookie = loadOptions;
++
++function getCookies()
++{
++ var cookieList = document.cookie.split(';');
++ var i,cookies = {};
++ for(i=0; i<cookieList.length; i++) {
++ var p = cookieList[i].indexOf('=');
++ if(p != -1) {
++ var name = cookieList[i].substr(0,p).trim();
++ var value = cookieList[i].substr(p+1).trim();
++ cookies[name] = value;
++ }
++ }
++ return cookies;
++}
++
++function loadCookies()
++{
++ var i,cookies = getCookies();
++ if(cookies['TiddlyWiki']) {
++ cookies = cookies['TiddlyWiki'].decodeHashMap();
++ }
++ for(i in cookies) {
++ if(config.optionsSource[i] != 'setting') {
++ setOption(i,cookies[i]);
++ }
++ }
++}
++
++function loadSystemSettings()
++{
++ var key,settings = store.calcAllSlices('SystemSettings');
++ config.optionsSource = {};
++ for(key in settings) {
++ setOption(key,settings[key]);
++ config.optionsSource[key] = 'setting';
++ }
++}
++
++function onSystemSettingsChange()
++{
++ if(!startingUp) {
++ loadSystemSettings();
++ }
++}
++
++function saveOption(name)
++{
++ if(safeMode)
++ return;
++ if(name.match(/[()\s]/g, '_')) {
++ alert(config.messages.invalidCookie.format([name]));
++ return;
++ }
++ saveCookie(name);
++ if(config.optionsSource[name] == 'setting') {
++ saveSystemSetting(name,true);
++ }
++}
++// @Deprecated; retained for backwards compatibility
++var saveOptionCookie = saveOption;
++
++function removeCookie(name)
++{
++ document.cookie = name + '=; expires=Thu, 01-Jan-1970 00:00:01 UTC; path=/;';
++}
++
++function saveCookie(name)
++{
++ var key,cookies = {};
++ for(key in config.options) {
++ var value = getOption(key);
++ value = value == null ? 'false' : value;
++ cookies[key] = value;
++ }
++ document.cookie = 'TiddlyWiki=' + String.encodeHashMap(cookies) + '; expires=Fri, 1 Jan 2038 12:00:00 UTC; path=/';
++ cookies = getCookies();
++ var c;
++ for(c in cookies) {
++ var optType = c.substr(0,3);
++ if(config.optionHandlers[optType])
++ removeCookie(c);
++ }
++}
++
++var systemSettingSave;
++function commitSystemSettings(storeWasDirty)
++{
++ if(systemSettingSave) {
++ window.clearTimeout(systemSettingSave);
++ }
++ systemSettingSave = window.setTimeout(function() {
++ var tiddler = store.getTiddler('SystemSettings');
++ autoSaveChanges(null,[tiddler]);
++ }, 1000);
++}
++
++function saveSystemSetting(name,saveFile)
++{
++ var title = 'SystemSettings';
++ var slice = store.getTiddlerSlice(title,name);
++ if(readOnly || slice === getOption(name)) {
++ return; //# don't save if read-only or the option hasn't changed
++ }
++ var slices = store.calcAllSlices(title);
++ var key;
++ for(key in config.optionsSource) {
++ var value = getOption(key) || '';
++ if(slices[key] !== value) {
++ slices[key] = value;
++ }
++ }
++ var text = [];
++ for(key in slices) {
++ text.push('%0: %1'.format([key,slices[key]]));
++ }
++ text = text.sort().join('\n');
++ var storeWasDirty = store.isDirty();
++ var tiddler = store.getTiddler(title);
++ if(tiddler) {
++ tiddler.text = text;
++ tiddler = store.saveTiddler(tiddler);
++ } else {
++ tiddler = store.saveTiddler(title,title,text,'System',new Date(),['excludeLists'],config.defaultCustomFields);
++ }
++ if(saveFile) {
++ commitSystemSettings(storeWasDirty);
++ }
++}
++
++function encodeCookie(s)
++{
++ return escape(convertUnicodeToHtmlEntities(s));
++}
++
++function decodeCookie(s)
++{
++ s = unescape(s);
++ var re = /&#[0-9]{1,5};/g;
++ return s.replace(re,function($0) {return String.fromCharCode(eval($0.replace(/[&#;]/g,'')));});
++}
++
++config.macros.option.genericCreate = function(place,type,opt,className,desc)
++{
++ var typeInfo = config.macros.option.types[type];
++ var c = document.createElement(typeInfo.elementType);
++ if(typeInfo.typeValue)
++ c.setAttribute('type',typeInfo.typeValue);
++ c[typeInfo.eventName] = typeInfo.onChange;
++ c.setAttribute('option',opt);
++ c.className = className || typeInfo.className;
++ if(config.optionsDesc[opt])
++ c.setAttribute('title',config.optionsDesc[opt]);
++ place.appendChild(c);
++ if(desc != 'no')
++ createTiddlyText(place,config.optionsDesc[opt] || opt);
++ c[typeInfo.valueField] = config.options[opt];
++ return c;
++};
++
++config.macros.option.genericOnChange = function(e)
++{
++ var opt = this.getAttribute('option');
++ if(opt) {
++ var optType = opt.substr(0,3);
++ var handler = config.macros.option.types[optType];
++ if(handler.elementType && handler.valueField)
++ config.macros.option.propagateOption(opt,handler.valueField,this[handler.valueField],handler.elementType,this);
++ }
++ return true;
++};
++
++config.macros.option.types = {
++ 'txt': {
++ elementType: 'input',
++ valueField: 'value',
++ eventName: 'onchange',
++ className: 'txtOptionInput',
++ create: config.macros.option.genericCreate,
++ onChange: config.macros.option.genericOnChange
++ },
++ 'chk': {
++ elementType: 'input',
++ valueField: 'checked',
++ eventName: 'onclick',
++ className: 'chkOptionInput',
++ typeValue: 'checkbox',
++ create: config.macros.option.genericCreate,
++ onChange: config.macros.option.genericOnChange
++ }
++};
++
++config.macros.option.propagateOption = function(opt,valueField,value,elementType,elem)
++{
++ config.options[opt] = value;
++ saveOption(opt);
++ var t,nodes = document.getElementsByTagName(elementType);
++ for(t=0; t<nodes.length; t++) {
++ var optNode = nodes[t].getAttribute('option');
++ if(opt == optNode && nodes[t]!=elem)
++ nodes[t][valueField] = value;
++ }
++};
++
++config.macros.option.handler = function(place,macroName,params,wikifier,paramString)
++{
++ params = paramString.parseParams('anon',null,true,false,false);
++ var opt = (params[1] && params[1].name == 'anon') ? params[1].value : getParam(params,'name',null);
++ var className = (params[2] && params[2].name == 'anon') ? params[2].value : getParam(params,'class',null);
++ var desc = getParam(params,'desc','no');
++ var type = opt.substr(0,3);
++ var h = config.macros.option.types[type];
++ if(h && h.create)
++ h.create(place,type,opt,className,desc);
++};
++
++config.macros.options.handler = function(place,macroName,params,wikifier,paramString)
++{
++ params = paramString.parseParams('anon',null,true,false,false);
++ var showUnknown = getParam(params,'showUnknown','no');
++ var wizard = new Wizard();
++ wizard.createWizard(place,this.wizardTitle);
++ wizard.addStep(this.step1Title,this.step1Html);
++ var markList = wizard.getElement('markList');
++ var chkUnknown = wizard.getElement('chkUnknown');
++ chkUnknown.checked = showUnknown == 'yes';
++ chkUnknown.onchange = this.onChangeUnknown;
++ var listWrapper = document.createElement('div');
++ markList.parentNode.insertBefore(listWrapper,markList);
++ wizard.setValue('listWrapper',listWrapper);
++ this.refreshOptions(listWrapper,showUnknown == 'yes');
++};
++
++config.macros.options.refreshOptions = function(listWrapper,showUnknown)
++{
++ var n,opts = [];
++ for(n in config.options) {
++ var opt = {};
++ opt.option = '';
++ opt.name = n;
++ opt.lowlight = !config.optionsDesc[n];
++ opt.description = opt.lowlight ? this.unknownDescription : config.optionsDesc[n];
++ if(!opt.lowlight || showUnknown)
++ opts.push(opt);
++ }
++ opts.sort(function(a,b) {return a.name.substr(3) < b.name.substr(3) ? -1 : (a.name.substr(3) == b.name.substr(3) ? 0 : +1);});
++ ListView.create(listWrapper,opts,this.listViewTemplate);
++ for(n=0; n<opts.length; n++) {
++ var type = opts[n].name.substr(0,3);
++ var h = config.macros.option.types[type];
++ if(h && h.create) {
++ h.create(opts[n].colElements['option'],type,opts[n].name,null,'no');
++ }
++ }
++};
++
++config.macros.options.onChangeUnknown = function(e)
++{
++ var wizard = new Wizard(this);
++ var listWrapper = wizard.getValue('listWrapper');
++ jQuery(listWrapper).empty();
++ config.macros.options.refreshOptions(listWrapper,this.checked);
++ return false;
++};
++
++//--
++//-- Saving
++//--
++
++var saveUsingSafari = false;
++
++var startSaveArea = '<div id="' + 'storeArea">'; // Split up into two so that indexOf() of this source doesn't find it
++var startSaveAreaRE = /<((div)|(DIV)) ((id)|(ID))=["']?storeArea['"]?>/; // Used for IE6
++var endSaveArea = '</d' + 'iv>';
++var endSaveAreaCaps = '</D' + 'IV>';
++
++// If there are unsaved changes, force the user to confirm before exitting
++function confirmExit()
++{
++ hadConfirmExit = true;
++ if((store && store.isDirty && store.isDirty()) || (story && story.areAnyDirty && story.areAnyDirty()))
++ return config.messages.confirmExit;
++}
++
++// Give the user a chance to save changes before exitting
++function checkUnsavedChanges()
++{
++ if(store && store.isDirty && store.isDirty() && window.hadConfirmExit === false) {
++ if(confirm(config.messages.unsavedChangesWarning))
++ saveChanges();
++ }
++}
++
++function updateLanguageAttribute(s)
++{
++ if(config.locale) {
++ var mRE = /(<html(?:.*?)?)(?: xml:lang\="([a-z]+)")?(?: lang\="([a-z]+)")?>/;
++ var m = mRE.exec(s);
++ if(m) {
++ var t = m[1];
++ if(m[2])
++ t += ' xml:lang="' + config.locale + '"';
++ if(m[3])
++ t += ' lang="' + config.locale + '"';
++ t += ">";
++ s = s.substr(0,m.index) + t + s.substr(m.index+m[0].length);
++ }
++ }
++ return s;
++}
++
++function updateMarkupBlock(s,blockName,tiddlerName)
++{
++ return s.replaceChunk(
++ "<!--%0-START-->".format([blockName]),
++ "<!--%0-END-->".format([blockName]),
++ "\n" + convertUnicodeToFileFormat(store.getRecursiveTiddlerText(tiddlerName,"")) + "\n");
++}
++
++function updateOriginal(original,posDiv,localPath)
++{
++ if(!posDiv)
++ posDiv = locateStoreArea(original);
++ if(!posDiv) {
++ alert(config.messages.invalidFileError.format([localPath]));
++ return null;
++ }
++ var revised = original.substr(0,posDiv[0] + startSaveArea.length) + "\n" +
++ convertUnicodeToFileFormat(store.allTiddlersAsHtml()) + "\n" +
++ original.substr(posDiv[1]);
++ var newSiteTitle = convertUnicodeToFileFormat(getPageTitle()).htmlEncode();
++ revised = revised.replaceChunk("<title"+">","</title"+">"," " + newSiteTitle + " ");
++ revised = updateLanguageAttribute(revised);
++ revised = updateMarkupBlock(revised,"PRE-HEAD","MarkupPreHead");
++ revised = updateMarkupBlock(revised,"POST-HEAD","MarkupPostHead");
++ revised = updateMarkupBlock(revised,"PRE-BODY","MarkupPreBody");
++ revised = updateMarkupBlock(revised,"POST-SCRIPT","MarkupPostBody");
++ return revised;
++}
++
++function locateStoreArea(original)
++{
++ // Locate the storeArea divs
++ if(!original)
++ return null;
++ var posOpeningDiv = original.search(startSaveAreaRE);
++ var limitClosingDiv = original.indexOf("<"+"!--POST-STOREAREA--"+">");
++ if(limitClosingDiv == -1)
++ limitClosingDiv = original.indexOf("<"+"!--POST-BODY-START--"+">");
++ var start = limitClosingDiv == -1 ? original.length : limitClosingDiv;
++ var posClosingDiv = original.lastIndexOf(endSaveArea,start);
++ if(posClosingDiv == -1)
++ posClosingDiv = original.lastIndexOf(endSaveAreaCaps,start);
++ return (posOpeningDiv != -1 && posClosingDiv != -1) ? [posOpeningDiv,posClosingDiv] : null;
++}
++
++function autoSaveChanges(onlyIfDirty,tiddlers)
++{
++ if(config.options.chkAutoSave)
++ saveChanges(onlyIfDirty,tiddlers);
++}
++
++function loadOriginal(localPath)
++{
++ var content=loadFile(localPath);
++ if (!content) content=window.originalHTML||recreateOriginal();
++ return content;
++}
++
++function recreateOriginal()
++{
++ // construct doctype
++ var content = "<!DOCTYPE ";
++ var t=document.doctype;
++ if (!t)
++ content+="html"
++ else {
++ content+=t.name;
++ if (t.publicId) content+=' PUBLIC "'+t.publicId+'"';
++ else if (t.systemId) content+=' SYSTEM "'+t.systemId+'"';
++ }
++ content+=' "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"';
++ content+='>\n';
++
++ // append current document content
++ content+=document.documentElement.outerHTML;
++
++ content=content.replace(/<div id="saveTest">savetest<\/div>/,'<div id="saveTest"></div>');
++ content=content.replace(/script><applet [^\>]*><\/applet>/g,'script>');
++ content=content.replace(/><head>/,'>\n<head>');
++ content=content.replace(/\n\n<\/body><\/html>$/,'</body>\n</html>\n');
++ content=content.replace(/(<(meta) [^\>]*[^\/])>/g,'$1 />');
++ content=content.replace(/<noscript>[^\<]*<\/noscript>/,
++ function(m){return m.replace(/&lt;/g,'<').replace(/&gt;/g,'>');});
++ content=content.replace(/<div id="copyright">[^\<]*<\/div>/,
++ function(m){return m.replace(/\xA9/g,'&copy;');});
++
++ return content;
++}
++
++// Save this tiddlywiki with the pending changes
++function saveChanges(onlyIfDirty,tiddlers)
++{
++ if(onlyIfDirty && !store.isDirty())
++ return;
++ clearMessage();
++ var t0 = new Date();
++ var msg = config.messages;
++ var originalPath = document.location.toString();
++ if(!window.allowSave()) {
++ alert(msg.notFileUrlError);
++ if(store.tiddlerExists(msg.saveInstructions))
++ story.displayTiddler(null,msg.saveInstructions);
++ return;
++ }
++ var localPath = getLocalPath(originalPath);
++ var original = loadOriginal(localPath);
++ if(original == null) {
++ alert(msg.cantSaveError);
++ if(store.tiddlerExists(msg.saveInstructions))
++ story.displayTiddler(null,msg.saveInstructions);
++ return;
++ }
++ var posDiv = locateStoreArea(original);
++ if(!posDiv) {
++ alert(msg.invalidFileError.format([localPath]));
++ return;
++ }
++ var co=config.options; //# abbreviation
++ config.saveByDownload=false;
++ config.saveByManualDownload=false;
++ saveMain(localPath,original,posDiv);
++ if (!config.saveByDownload && !config.saveByManualDownload) {
++ if(co.chkSaveBackups)
++ saveBackup(localPath,original);
++ if(co.chkSaveEmptyTemplate)
++ saveEmpty(localPath,original,posDiv);
++ if(co.chkGenerateAnRssFeed && saveRss instanceof Function)
++ saveRss(localPath);
++ }
++ if(co.chkDisplayInstrumentation)
++ displayMessage("saveChanges " + (new Date()-t0) + " ms");
++}
++
++
++function saveMain(localPath,original,posDiv)
++{
++ var save;
++ try {
++ var revised = updateOriginal(original,posDiv,localPath);
++ save = saveFile(localPath,revised);
++ } catch (ex) {
++ showException(ex);
++ }
++ if(save) {
++ if (!config.saveByManualDownload) {
++ if (config.saveByDownload) { //# set by HTML5DownloadSaveFile()
++ var link = getDataURI(revised);
++ var msg = config.messages.mainDownload;
++ } else {
++ var link = "file://" + localPath;
++ var msg = config.messages.mainSaved;
++ }
++ displayMessage(msg,link);
++ }
++ store.setDirty(false);
++ } else {
++ alert(config.messages.mainFailed);
++ }
++}
++
++function saveBackup(localPath,original)
++{
++ var backupPath = getBackupPath(localPath);
++ var backup = copyFile(backupPath,localPath);
++ if(!backup)
++ backup = saveFile(backupPath,original);
++ if(backup)
++ displayMessage(config.messages.backupSaved,"file://" + backupPath);
++ else
++ alert(config.messages.backupFailed);
++}
++
++function saveEmpty(localPath,original,posDiv)
++{
++ var emptyPath,p;
++ if((p = localPath.lastIndexOf("/")) != -1)
++ emptyPath = localPath.substr(0,p) + "/";
++ else if((p = localPath.lastIndexOf("\\")) != -1)
++ emptyPath = localPath.substr(0,p) + "\\";
++ else
++ emptyPath = localPath + ".";
++ emptyPath += "empty.html";
++ var empty = original.substr(0,posDiv[0] + startSaveArea.length) + original.substr(posDiv[1]);
++ var emptySave = saveFile(emptyPath,empty);
++ if(emptySave)
++ displayMessage(config.messages.emptySaved,"file://" + emptyPath);
++ else
++ alert(config.messages.emptyFailed);
++}
++
++// Translate URL to local path [Preemption]
++window.getLocalPath = window.getLocalPath || function(origPath)
++{
++ var originalPath = convertUriToUTF8(origPath,config.options.txtFileSystemCharSet);
++ // Remove any location or query part of the URL
++ var argPos = originalPath.indexOf("?");
++ if(argPos != -1)
++ originalPath = originalPath.substr(0,argPos);
++ var hashPos = originalPath.indexOf("#");
++ if(hashPos != -1)
++ originalPath = originalPath.substr(0,hashPos);
++ // Convert file://localhost/ to file:///
++ if(originalPath.indexOf("file://localhost/") == 0)
++ originalPath = "file://" + originalPath.substr(16);
++ // Convert to a native file format
++ var localPath;
++ if(originalPath.charAt(9) == ":") // pc local file
++ localPath = unescape(originalPath.substr(8)).replace(new RegExp("/","g"),"\\");
++ else if(originalPath.indexOf("file://///") == 0) // FireFox pc network file
++ localPath = "\\\\" + unescape(originalPath.substr(10)).replace(new RegExp("/","g"),"\\");
++ else if(originalPath.indexOf("file:///") == 0) // mac/unix local file
++ localPath = unescape(originalPath.substr(7));
++ else if(originalPath.indexOf("file:/") == 0) // mac/unix local file
++ localPath = unescape(originalPath.substr(5));
++ else // pc network file
++ localPath = "\\\\" + unescape(originalPath.substr(7)).replace(new RegExp("/","g"),"\\");
++ return localPath;
++}
++
++function getBackupPath(localPath,title,extension)
++{
++ var slash = "\\";
++ var dirPathPos = localPath.lastIndexOf("\\");
++ if(dirPathPos == -1) {
++ dirPathPos = localPath.lastIndexOf("/");
++ slash = "/";
++ }
++ var backupFolder = config.options.txtBackupFolder;
++ if(!backupFolder || backupFolder == "")
++ backupFolder = ".";
++ var backupPath = localPath.substr(0,dirPathPos) + slash + backupFolder + localPath.substr(dirPathPos);
++ backupPath = backupPath.substr(0,backupPath.lastIndexOf(".")) + ".";
++ if(title)
++ backupPath += title.replace(/[\\\/\*\?\":<> ]/g,"_") + ".";
++ backupPath += (new Date()).convertToYYYYMMDDHHMMSSMMM() + "." + (extension || "html");
++ return backupPath;
++}
++
++//--
++//-- RSS Saving
++//--
++
++function saveRss(localPath)
++{
++ var rssPath = localPath.substr(0,localPath.lastIndexOf(".")) + ".xml";
++ if(saveFile(rssPath,convertUnicodeToFileFormat(generateRss())))
++ displayMessage(config.messages.rssSaved,"file://" + rssPath);
++ else
++ alert(config.messages.rssFailed);
++}
++
++tiddlerToRssItem = function(tiddler,uri)
++{
++ var s = "<title" + ">" + tiddler.title.htmlEncode() + "</title" + ">\n";
++ s += "<description>" + wikifyStatic(tiddler.text,null,tiddler).htmlEncode() + "</description>\n";
++ var i;
++ for(i=0; i<tiddler.tags.length; i++)
++ s += "<category>" + tiddler.tags[i] + "</category>\n";
++ s += "<link>" + uri + "#" + encodeURIComponent(String.encodeTiddlyLink(tiddler.title)) + "</link>\n";
++ s +="<pubDate>" + tiddler.modified.toGMTString() + "</pubDate>\n";
++ return s;
++};
++
++function generateRss()
++{
++ var s = [];
++ var d = new Date();
++ var u = store.getTiddlerText("SiteUrl");
++ // Assemble the header
++ s.push("<" + "?xml version=\"1.0\"?" + ">");
++ s.push("<rss version=\"2.0\">");
++ s.push("<channel>");
++ s.push("<title" + ">" + wikifyPlainText(store.getTiddlerText("SiteTitle",""),null,tiddler).htmlEncode() + "</title" + ">");
++ if(u)
++ s.push("<link>" + u.htmlEncode() + "</link>");
++ s.push("<description>" + wikifyPlainText(store.getTiddlerText("SiteSubtitle",""),null,tiddler).htmlEncode() + "</description>");
++ s.push("<language>" + config.locale + "</language>");
++ s.push("<copyright>Copyright " + d.getFullYear() + " " + config.options.txtUserName.htmlEncode() + "</copyright>");
++ s.push("<pubDate>" + d.toGMTString() + "</pubDate>");
++ s.push("<lastBuildDate>" + d.toGMTString() + "</lastBuildDate>");
++ s.push("<docs>http://blogs.law.harvard.edu/tech/rss</docs>");
++ s.push("<generator>TiddlyWiki " + formatVersion() + "</generator>");
++ // The body
++ var tiddlers = store.getTiddlers("modified","excludeLists");
++ var i,n = config.numRssItems > tiddlers.length ? 0 : tiddlers.length-config.numRssItems;
++ for(i=tiddlers.length-1; i>=n; i--) {
++ s.push("<item>\n" + tiddlerToRssItem(tiddlers[i],u) + "\n</item>");
++ }
++ // And footer
++ s.push("</channel>");
++ s.push("</rss>");
++ // Save it all
++ return s.join("\n");
++}
++
++//--
++//-- Filesystem code
++//--
++
++// Copy a file in filesystem [Preemption]
++window.copyFile = window.copyFile || function(dest,source)
++{
++ return config.browser.isIE ? ieCopyFile(dest,source) : false;
++}
++
++
++// Save a file in filesystem [Preemption]
++window.saveFile = window.saveFile || function(fileUrl,content)
++{
++ var r = mozillaSaveFile(fileUrl,content);
++ if(!r)
++ r = ieSaveFile(fileUrl,content);
++ if(!r)
++ r = javaSaveFile(fileUrl,content);
++ if(!r)
++ r = HTML5DownloadSaveFile(fileUrl,content);
++ if(!r)
++ r = manualSaveFile(fileUrl,content);
++ return r;
++}
++
++// Load a file from filesystem [Preemption]
++window.loadFile = window.loadFile || function(fileUrl)
++{
++ var r = mozillaLoadFile(fileUrl);
++ if((r == null) || (r == false))
++ r = ieLoadFile(fileUrl);
++ if((r == null) || (r == false))
++ r = javaLoadFile(fileUrl);
++ return r;
++}
++
++function ieCreatePath(path)
++{
++ try {
++ var fso = new ActiveXObject("Scripting.FileSystemObject");
++ } catch(ex) {
++ return null;
++ }
++
++ var pos = path.lastIndexOf("\\");
++ if(pos==-1)
++ pos = path.lastIndexOf("/");
++ if(pos!=-1)
++ path = path.substring(0,pos+1);
++
++ var scan = [path];
++ var parent = fso.GetParentFolderName(path);
++ while(parent && !fso.FolderExists(parent)) {
++ scan.push(parent);
++ parent = fso.GetParentFolderName(parent);
++ }
++
++ for(i=scan.length-1;i>=0;i--) {
++ if(!fso.FolderExists(scan[i])) {
++ fso.CreateFolder(scan[i]);
++ }
++ }
++ return true;
++}
++
++// Returns null if it can't do it, false if there's an error, true if it saved OK
++function ieSaveFile(filePath,content)
++{
++ ieCreatePath(filePath);
++ try {
++ var fso = new ActiveXObject("Scripting.FileSystemObject");
++ } catch(ex) {
++ return null;
++ }
++ var file = fso.OpenTextFile(filePath,2,-1,0);
++ file.Write(content);
++ file.Close();
++ return true;
++}
++
++// Returns null if it can't do it, false if there's an error, or a string of the content if successful
++function ieLoadFile(filePath)
++{
++ try {
++ var fso = new ActiveXObject("Scripting.FileSystemObject");
++ var file = fso.OpenTextFile(filePath,1);
++ var content = file.ReadAll();
++ file.Close();
++ } catch(ex) {
++ return null;
++ }
++ return content;
++}
++
++function ieCopyFile(dest,source)
++{
++ ieCreatePath(dest);
++ try {
++ var fso = new ActiveXObject("Scripting.FileSystemObject");
++ fso.GetFile(source).Copy(dest);
++ } catch(ex) {
++ return false;
++ }
++ return true;
++}
++
++// Returns null if it can't do it, false if there's an error, true if it saved OK
++function mozillaSaveFile(filePath,content)
++{
++ if(window.Components) {
++ try {
++ netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
++ var file = Components.classes["@mozilla.org/file/local;1"].createInstance(Components.interfaces.nsILocalFile);
++ file.initWithPath(filePath);
++ if(!file.exists())
++ file.create(0,0x01B4);// 0x01B4 = 0664
++ var out = Components.classes["@mozilla.org/network/file-output-stream;1"].createInstance(Components.interfaces.nsIFileOutputStream);
++ out.init(file,0x22,0x04,null);
++ out.write(content,content.length);
++ out.flush();
++ out.close();
++ return true;
++ } catch(ex) {
++ return false;
++ }
++ }
++ return null;
++}
++
++// Returns null if it can't do it, false if there's an error, or a string of the content if successful
++function mozillaLoadFile(filePath)
++{
++ if(window.Components) {
++ try {
++ netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
++ var file = Components.classes["@mozilla.org/file/local;1"].createInstance(Components.interfaces.nsILocalFile);
++ file.initWithPath(filePath);
++ if(!file.exists())
++ return null;
++ var inputStream = Components.classes["@mozilla.org/network/file-input-stream;1"].createInstance(Components.interfaces.nsIFileInputStream);
++ inputStream.init(file,0x01,0x04,null);
++ var sInputStream = Components.classes["@mozilla.org/scriptableinputstream;1"].createInstance(Components.interfaces.nsIScriptableInputStream);
++ sInputStream.init(inputStream);
++ var contents = sInputStream.read(sInputStream.available());
++ sInputStream.close();
++ inputStream.close();
++ return contents;
++ } catch(ex) {
++ return false;
++ }
++ }
++ return null;
++}
++
++function javaUrlToFilename(url)
++{
++ var f = "//localhost";
++ if(url.indexOf(f) == 0)
++ return url.substring(f.length);
++ var i = url.indexOf(":");
++ return i > 0 ? url.substring(i-1) : url;
++}
++
++/*
++ *
++ * in between when the applet has been started
++ * and the user has given permission to run the applet
++ * we get an applet object, but it doesn't have the methods
++ * we expect yet.
++ *
++ */
++var LOG_TIDDLYSAVER = true;
++function logTiddlySaverException(msg, ex) {
++ var applet = document.applets['TiddlySaver'];
++ console.log(msg + ": " + ex);
++ if (LOG_TIDDLYSAVER && applet) {
++ try {
++ console.log(msg + ": " + applet.getLastErrorMsg());
++ console.log(msg + ": " + applet.getLastErrorStackTrace());
++ } catch (ex) {}
++ }
++}
++
++function javaDebugInformation () {
++ var applet = document.applets['TiddlySaver'];
++ var what = [
++ ["Java Version", applet.getJavaVersion],
++ ["Last Exception", applet.getLastErrorMessage],
++ ["Last Exception Stack Trace", applet.getLastErrorStackTrace],
++ ["System Properties", applet.getSystemProperties] ];
++
++ function formatItem (description, method) {
++ try {
++ result = String(method.call(applet));
++ } catch (ex) {
++ result = String(ex)
++ }
++ return description + ": " + result
++ }
++
++ return jQuery.map(what, function (item) { return formatItem.apply(this, item) })
++ .join('\n\n')
++}
++
++function javaSaveFile(filePath,content)
++{
++ var applet = document.applets['TiddlySaver'];
++ try {
++ if (applet && filePath)
++ return applet.saveFile(javaUrlToFilename(filePath), "UTF-8", content);
++ } catch(ex) {
++ logTiddlySaverException("javaSaveFile", ex);
++ }
++ // is this next block working anywhere ? -- grmble
++ try {
++ var s = new java.io.PrintStream(new java.io.FileOutputStream(javaUrlToFilename(filePath)));
++ s.print(content);
++ s.close();
++ } catch(ex2) {
++ return null;
++ }
++ return true;
++}
++
++function javaLoadFile(filePath)
++{
++ var applet = document.applets['TiddlySaver'];
++ try {
++ if (applet && filePath) {
++ var ret = applet.loadFile(javaUrlToFilename(filePath),"UTF-8");
++ if(!ret)
++ return null;
++ return String(ret);
++ }
++ } catch(ex) {
++ logTiddlySaverException("javaLoadFile", ex);
++ }
++ // is this next block working anywhere ? -- grmble
++ var content = [];
++ try {
++ var r = new java.io.BufferedReader(new java.io.FileReader(javaUrlToFilename(filePath)));
++ var line;
++ while((line = r.readLine()) != null)
++ content.push(String(line));
++ r.close();
++ } catch(ex2) {
++ return null;
++ }
++ return content.join("\n");
++}
++
++function HTML5DownloadSaveFile(filePath,content)
++{
++ if(document.createElement("a").download !== undefined) {
++ config.saveByDownload=true;
++ var slashpos=filePath.lastIndexOf("/");
++ if (slashpos==-1) slashpos=filePath.lastIndexOf("\\");
++ var filename=filePath.substr(slashpos+1);
++ var uri = getDataURI(content);
++ var link = document.createElement("a");
++ link.setAttribute("target","_blank");
++ link.setAttribute("href",uri);
++ link.setAttribute("download",filename);
++ document.body.appendChild(link); link.click(); document.body.removeChild(link);
++ return true;
++ }
++ return null;
++}
++
++// Returns null if it can't do it, false if there's an error, true if it saved OK
++function manualSaveFile(filePath,content)
++{
++ // FALLBACK for showing a link to data: URI
++ config.saveByManualDownload=true;
++ var slashpos=filePath.lastIndexOf("/");
++ if (slashpos==-1) slashpos=filePath.lastIndexOf("\\");
++ var filename=filePath.substr(slashpos+1);
++ var uri = getDataURI(content);
++ displayMessage(config.messages.mainDownloadManual,uri);
++ return true;
++}
++
++// construct data URI (using base64 encoding to preserve multi-byte encodings)
++function getDataURI(data) {
++ if (config.browser.isIE)
++ return "data:text/html,"+encodeURIComponent(data);
++ else
++ return "data:text/html;base64,"+encodeBase64(data);
++}
++
++function encodeBase64(data) {
++ if (!data) return "";
++ var keyStr = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
++ var out = "";
++ var chr1,chr2,chr3="";
++ var enc1,enc2,enc3,enc4="";
++ for (var count=0,i=0; i<data.length; ) {
++ chr1=data.charCodeAt(i++);
++ chr2=data.charCodeAt(i++);
++ chr3=data.charCodeAt(i++);
++ enc1=chr1 >> 2;
++ enc2=((chr1 & 3) << 4) | (chr2 >> 4);
++ enc3=((chr2 & 15) << 2) | (chr3 >> 6);
++ enc4=chr3 & 63;
++ if (isNaN(chr2)) enc3=enc4=64;
++ else if (isNaN(chr3)) enc4=64;
++ out+=keyStr.charAt(enc1)+keyStr.charAt(enc2)+keyStr.charAt(enc3)+keyStr.charAt(enc4);
++ chr1=chr2=chr3=enc1=enc2=enc3=enc4="";
++ }
++ return out;
++}//--
++//-- Filesystem utilities
++//--
++
++function convertUTF8ToUnicode(u)
++{
++ return config.browser.isOpera || !window.netscape ? manualConvertUTF8ToUnicode(u) : mozConvertUTF8ToUnicode(u);
++}
++
++
++function manualConvertUTF8ToUnicode(utf)
++{
++ var uni = utf;
++ var src = 0;
++ var dst = 0;
++ var b1, b2, b3;
++ var c;
++ while(src < utf.length) {
++ b1 = utf.charCodeAt(src++);
++ if(b1 < 0x80) {
++ dst++;
++ } else if(b1 < 0xE0) {
++ b2 = utf.charCodeAt(src++);
++ c = String.fromCharCode(((b1 & 0x1F) << 6) | (b2 & 0x3F));
++ uni = uni.substring(0,dst++).concat(c,utf.substr(src));
++ } else {
++ b2 = utf.charCodeAt(src++);
++ b3 = utf.charCodeAt(src++);
++ c = String.fromCharCode(((b1 & 0xF) << 12) | ((b2 & 0x3F) << 6) | (b3 & 0x3F));
++ uni = uni.substring(0,dst++).concat(c,utf.substr(src));
++ }
++ }
++ return uni;
++}
++
++function mozConvertUTF8ToUnicode(u)
++{
++ try {
++ netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
++ var converter = Components.classes["@mozilla.org/intl/scriptableunicodeconverter"].createInstance(Components.interfaces.nsIScriptableUnicodeConverter);
++ converter.charset = "UTF-8";
++ } catch(ex) {
++ return manualConvertUTF8ToUnicode(u);
++ } // fallback
++ var s = converter.ConvertToUnicode(u);
++ var fin = converter.Finish();
++ return fin.length > 0 ? s+fin : s;
++}
++
++function convertUnicodeToFileFormat(s)
++{
++ return config.browser.isOpera || !window.netscape ? (config.browser.isIE ? convertUnicodeToHtmlEntities(s) : s) : mozConvertUnicodeToUTF8(s);
++}
++
++function convertUnicodeToHtmlEntities(s)
++{
++ var re = /[^\u0000-\u007F]/g;
++ return s.replace(re,function($0) {return "&#" + $0.charCodeAt(0).toString() + ";";});
++}
++
++function convertUnicodeToUTF8(s)
++{
++// return convertUnicodeToFileFormat to allow plugin migration
++ return convertUnicodeToFileFormat(s);
++}
++
++function manualConvertUnicodeToUTF8(s)
++{
++ return unescape(encodeURIComponent(s));
++}
++
++function mozConvertUnicodeToUTF8(s)
++{
++ try {
++ netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
++ var converter = Components.classes["@mozilla.org/intl/scriptableunicodeconverter"].createInstance(Components.interfaces.nsIScriptableUnicodeConverter);
++ converter.charset = "UTF-8";
++ } catch(ex) {
++ return manualConvertUnicodeToUTF8(s);
++ } // fallback
++ var u = converter.ConvertFromUnicode(s);
++ var fin = converter.Finish();
++ return fin.length > 0 ? u + fin : u;
++}
++
++function convertUriToUTF8(uri,charSet)
++{
++ if(window.netscape == undefined || charSet == undefined || charSet == "")
++ return uri;
++ try {
++ netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect");
++ var converter = Components.classes["@mozilla.org/intl/utf8converterservice;1"].getService(Components.interfaces.nsIUTF8ConverterService);
++ } catch(ex) {
++ return uri;
++ }
++ return converter.convertURISpecToUTF8(uri,charSet);
++}
++//--
++//-- Server adaptor base class
++//--
++
++function AdaptorBase()
++{
++ this.host = null;
++ this.store = null;
++ return this;
++}
++
++AdaptorBase.prototype.close = function()
++{
++ return true;
++};
++
++AdaptorBase.prototype.fullHostName = function(host)
++{
++ if(!host)
++ return '';
++ host = host.trim();
++ if(!host.match(/:\/\//))
++ host = 'http://' + host;
++ if(host.substr(host.length-1) == '/')
++ host = host.substr(0,host.length-1);
++ return host;
++};
++
++AdaptorBase.minHostName = function(host)
++{
++ return host;
++};
++
++AdaptorBase.prototype.setContext = function(context,userParams,callback)
++{
++ if(!context) context = {};
++ context.userParams = userParams;
++ if(callback) context.callback = callback;
++ context.adaptor = this;
++ if(!context.host)
++ context.host = this.host;
++ context.host = this.fullHostName(context.host);
++ if(!context.workspace)
++ context.workspace = this.workspace;
++ return context;
++};
++
++// Open the specified host
++AdaptorBase.prototype.openHost = function(host,context,userParams,callback)
++{
++ this.host = host;
++ context = this.setContext(context,userParams,callback);
++ context.status = true;
++ if(callback)
++ window.setTimeout(function() {context.callback(context,userParams);},10);
++ return true;
++};
++
++// Open the specified workspace
++AdaptorBase.prototype.openWorkspace = function(workspace,context,userParams,callback)
++{
++ this.workspace = workspace;
++ context = this.setContext(context,userParams,callback);
++ context.status = true;
++ if(callback)
++ window.setTimeout(function() {callback(context,userParams);},10);
++ return true;
++};
++
++//--
++//-- Server adaptor for talking to static TiddlyWiki files
++//--
++
++function FileAdaptor()
++{
++}
++
++FileAdaptor.prototype = new AdaptorBase();
++
++FileAdaptor.serverType = 'file';
++FileAdaptor.serverLabel = 'TiddlyWiki';
++
++FileAdaptor.loadTiddlyWikiSuccess = function(context,jqXHR)
++{
++ context.status = true;
++ context.adaptor.store = new TiddlyWiki();
++ if(!context.adaptor.store.importTiddlyWiki(jqXHR.responseText)) {
++ context.statusText = config.messages.invalidFileError.format([context.host]);
++ context.status = false;
++ }
++ context.complete(context,context.userParams);
++};
++
++FileAdaptor.loadTiddlyWikiError = function(context,jqXHR)
++{
++ context.status = false;
++ context.statusText = jqXHR.message;
++ context.complete(context,context.userParams);
++};
++
++// Get the list of workspaces on a given server
++FileAdaptor.prototype.getWorkspaceList = function(context,userParams,callback)
++{
++ context = this.setContext(context,userParams,callback);
++ context.workspaces = [{title:"(default)"}];
++ context.status = true;
++ if(callback)
++ window.setTimeout(function() {callback(context,userParams);},10);
++ return true;
++};
++
++// Gets the list of tiddlers within a given workspace
++FileAdaptor.prototype.getTiddlerList = function(context,userParams,callback,filter)
++{
++ context = this.setContext(context,userParams,callback);
++ if(!context.filter)
++ context.filter = filter;
++ context.complete = FileAdaptor.getTiddlerListComplete;
++ if(this.store) {
++ return context.complete(context,context.userParams);
++ }
++ var options = {
++ type:"GET",
++ url:context.host,
++ file:context.file, // for HTML5 FileReader
++ processData:false,
++ success:function(data,textStatus,jqXHR) {
++ FileAdaptor.loadTiddlyWikiSuccess(context,jqXHR);
++ },
++ error:function(jqXHR,textStatus,errorThrown) {
++ context.xhr = jqXHR;
++ FileAdaptor.loadTiddlyWikiError(context,jqXHR);
++ }
++ };
++ return ajaxReq(options);
++};
++
++FileAdaptor.getTiddlerListComplete = function(context,userParams)
++{
++ if(context.status) {
++ if(context.filter) {
++ context.tiddlers = context.adaptor.store.filterTiddlers(context.filter);
++ } else {
++ context.tiddlers = [];
++ context.adaptor.store.forEachTiddler(function(title,tiddler) {context.tiddlers.push(tiddler);});
++ }
++ var i;
++ for(i=0; i<context.tiddlers.length; i++) {
++ context.tiddlers[i].fields['server.type'] = FileAdaptor.serverType;
++ context.tiddlers[i].fields['server.host'] = AdaptorBase.minHostName(context.host);
++ context.tiddlers[i].fields['server.page.revision'] = context.tiddlers[i].modified.convertToYYYYMMDDHHMM();
++ }
++ context.status = true;
++ }
++ if(context.callback) {
++ window.setTimeout(function() {context.callback(context,userParams);},10);
++ }
++ return true;
++};
++
++FileAdaptor.prototype.generateTiddlerInfo = function(tiddler)
++{
++ var info = {};
++ info.uri = tiddler.fields['server.host'] + "#" + tiddler.title;
++ return info;
++};
++
++// Retrieve a tiddler from a given workspace on a given server
++FileAdaptor.prototype.getTiddler = function(title,context,userParams,callback)
++{
++ context = this.setContext(context,userParams,callback);
++ context.title = title;
++ context.complete = FileAdaptor.getTiddlerComplete;
++ if(context.adaptor.store) {
++ return context.complete(context,context.userParams);
++ }
++ var options = {
++ type:"GET",
++ url:context.host,
++ processData:false,
++ success:function(data,textStatus,jqXHR) {
++ FileAdaptor.loadTiddlyWikiSuccess(context,jqXHR);
++ },
++ error:function(jqXHR,textStatus,errorThrown) {
++ FileAdaptor.loadTiddlyWikiError(context,jqXHR);
++ }
++ };
++ return ajaxReq(options);
++};
++
++FileAdaptor.getTiddlerComplete = function(context,userParams)
++{
++ var t = context.adaptor.store.fetchTiddler(context.title);
++ if(t) {
++ t.fields['server.type'] = FileAdaptor.serverType;
++ t.fields['server.host'] = AdaptorBase.minHostName(context.host);
++ t.fields['server.page.revision'] = t.modified.convertToYYYYMMDDHHMM();
++ context.tiddler = t;
++ context.status = true;
++ } else { //# tiddler does not exist in document
++ context.status = false;
++ }
++ if(context.allowSynchronous) {
++ context.isSynchronous = true;
++ context.callback(context,userParams);
++ } else {
++ window.setTimeout(function() {context.callback(context,userParams);},10);
++ }
++ return true;
++};
++
++FileAdaptor.prototype.close = function()
++{
++ this.store = null;
++};
++
++config.adaptors[FileAdaptor.serverType] = FileAdaptor;
++
++config.defaultAdaptor = FileAdaptor.serverType;
++
++//--
++//-- HTTP request code
++//--
++
++function ajaxReq(args)
++{
++ if (args.file || args.url.startsWith("file")) // LOCAL FILE
++ return localAjax(args);
++ return jQuery.ajax(args);
++}
++
++function localAjax(args)
++{
++ var success=function(data)
++ { args.success(data,"success",{ responseText:data }); }
++ var failure=function(who)
++ { args.error({ message:who+": cannot read local file" },"error",0); }
++
++ if (args.file) try { // HTML5 FileReader (Chrome, FF20+, Safari, etc.)
++ var reader=new FileReader();
++ reader.onload=function(e) { success(e.target.result); }
++ reader.onerror=function(e) { failure("FileReader"); }
++ reader.readAsText(args.file);
++ return true;
++ } catch (ex) { ; }
++
++ try { // local file I/O (IE, FF with TiddlyFox, Chrome/Safari with TiddlySaver, etc.)
++ var data=loadFile(getLocalPath(args.url));
++ if (data) success(data);
++ else failure("loadFile");
++ return true;
++ } catch (ex) { ; }
++
++ return true;
++}
++
++function httpReq(type,url,callback,params,headers,data,contentType,username,password,allowCache)
++{
++ var httpSuccess = function(xhr) {
++ try {
++ // IE error sometimes returns 1223 when it should be 204 so treat it as success, see #1450
++ return (!xhr.status && location.protocol === "file:") ||
++ (xhr.status >= 200 && xhr.status < 300) ||
++ xhr.status === 304 || xhr.status === 1223;
++ } catch(e) {}
++ return false;
++ };
++
++ var options = {
++ type:type,
++ url:url,
++ processData:false,
++ data:data,
++ cache:!!allowCache,
++ beforeSend: function(xhr) {
++ var i;
++ for(i in headers)
++ xhr.setRequestHeader(i,headers[i]);
++ }
++ };
++
++ if(callback) {
++ options.complete = function(xhr,textStatus) {
++ if(httpSuccess(xhr))
++ callback(true,params,xhr.responseText,url,xhr);
++ else
++ callback(false,params,null,url,xhr);
++ };
++ }
++ if(contentType)
++ options.contentType = contentType;
++ if(username)
++ options.username = username;
++ if(password)
++ options.password = password;
++ try {
++ if(window.Components && window.netscape && window.netscape.security && document.location.protocol.indexOf("http") == -1)
++ window.netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead");
++ } catch (ex) {
++ }
++ return jQuery.ajax(options);
++}
++//--
++//-- TiddlyWiki-specific utility functions
++//--
++
++// Returns TiddlyWiki version string
++function formatVersion(v)
++{
++ v = v || version;
++ return v.major + "." + v.minor + "." + v.revision +
++ (v.alpha ? " (alpha " + v.alpha + ")" : "") +
++ (v.beta ? " (beta " + v.beta + ")" : "");
++}
++
++function compareVersions(v1,v2)
++{
++ var x1,x2,i,a = ["major","minor","revision"];
++ for(i = 0; i<a.length; i++) {
++ x1 = v1[a[i]] || 0;
++ x2 = v2[a[i]] || 0;
++ if(x1<x2)
++ return 1;
++ if(x1>x2)
++ return -1;
++ }
++ x1 = v1.beta || 9999;
++ x2 = v2.beta || 9999;
++ if(x1<x2)
++ return 1;
++ return x1 > x2 ? -1 : 0;
++}
++
++function merge(dst,src,preserveExisting)
++{
++ var i;
++ for(i in src) {
++ if(!preserveExisting || dst[i] === undefined)
++ dst[i] = src[i];
++ }
++ return dst;
++}
++
++// Resolve the target object of an event
++function resolveTarget(e)
++{
++ var obj;
++ if(e.target)
++ obj = e.target;
++ else if(e.srcElement)
++ obj = e.srcElement;
++ if(obj.nodeType == 3) // defeat Safari bug
++ obj = obj.parentNode;
++ return obj;
++}
++
++// Returns a string containing the description of an exception, optionally prepended by a message
++function exceptionText(e,message)
++{
++ var s = e.description || e.toString();
++ return message ? "%0:\n%1".format([message,s]) : s;
++}
++
++// Displays an alert of an exception description with optional message
++function showException(e,message)
++{
++ alert(exceptionText(e,message));
++}
++
++function alertAndThrow(m)
++{
++ alert(m);
++ throw(m);
++}
++
++function glyph(name)
++{
++ var g = config.glyphs;
++ var b = g.currBrowser;
++ if(b == null) {
++ b = 0;
++ while(b < g.browsers.length-1 && !g.browsers[b]())
++ b++;
++ g.currBrowser = b;
++ }
++ if(!g.codes[name])
++ return "";
++ return g.codes[name][b];
++}
++
++function createTiddlyText(parent,text)
++{
++ return parent.appendChild(document.createTextNode(text));
++}
++
++function createTiddlyCheckbox(parent,caption,checked,onChange)
++{
++ var cb = document.createElement("input");
++ cb.setAttribute("type","checkbox");
++ cb.onclick = onChange;
++ parent.appendChild(cb);
++ cb.checked = checked;
++ cb.className = "chkOptionInput";
++ if(caption)
++ wikify(caption,parent);
++ return cb;
++}
++
++function createTiddlyElement(parent,element,id,className,text,attribs)
++{
++ var n,e = document.createElement(element);
++ if(className != null)
++ e.className = className;
++ if(id != null)
++ e.setAttribute("id",id);
++ if(text != null)
++ e.appendChild(document.createTextNode(text));
++ if(attribs) {
++ for(n in attribs) {
++ e.setAttribute(n,attribs[n]);
++ }
++ }
++ if(parent != null)
++ parent.appendChild(e);
++ return e;
++}
++
++function createTiddlyButton(parent,text,tooltip,action,className,id,accessKey,attribs)
++{
++ var i,btn = document.createElement("a");
++ btn.setAttribute("href","javascript:;");
++ if(action) {
++ btn.onclick = action;
++ }
++ if(tooltip)
++ btn.setAttribute("title",tooltip);
++ if(text)
++ btn.appendChild(document.createTextNode(text));
++ btn.className = className || "button";
++ if(id)
++ btn.id = id;
++ if(attribs) {
++ for(i in attribs) {
++ btn.setAttribute(i,attribs[i]);
++ }
++ }
++ if(parent)
++ parent.appendChild(btn);
++ if(accessKey)
++ btn.setAttribute("accessKey",accessKey);
++ return btn;
++}
++
++function createExternalLink(place,url,label)
++{
++ var link = document.createElement("a");
++ link.className = "externalLink";
++ link.href = url;
++ var f = config.messages.externalLinkTooltip;
++ link.title = f ? f.format([url]) : url;
++ if(config.options.chkOpenInNewWindow)
++ link.target = "_blank";
++ place.appendChild(link);
++ if(label)
++ createTiddlyText(link, label);
++ return link;
++}
++
++function getTiddlyLinkInfo(title,currClasses)
++{
++ var classes = currClasses ? currClasses.split(" ") : [];
++ classes.pushUnique("tiddlyLink");
++ var tiddler = store.fetchTiddler(title);
++ var subTitle;
++ if(tiddler) {
++ subTitle = tiddler.getSubtitle();
++ classes.pushUnique("tiddlyLinkExisting");
++ classes.remove("tiddlyLinkNonExisting");
++ classes.remove("shadow");
++ } else {
++ var f;
++ classes.remove("tiddlyLinkExisting");
++ classes.pushUnique("tiddlyLinkNonExisting");
++ if(store.isShadowTiddler(title)) {
++ f = config.messages.shadowedTiddlerToolTip;
++ classes.pushUnique("shadow");
++ } else {
++ f = config.messages.undefinedTiddlerToolTip;
++ classes.remove("shadow");
++ }
++ subTitle = f ? f.format([title]) : "";
++ }
++ if(typeof config.annotations[title]=="string")
++ subTitle = config.annotations[title];
++ return {classes: classes.join(" "),subTitle: subTitle};
++}
++
++// Event handler for clicking on a tiddly link
++function onClickTiddlerLink(ev)
++{
++ var e = ev || window.event;
++ var target = resolveTarget(e);
++ var link = target;
++ var title = null;
++ var fields = null;
++ var noToggle = null;
++ do {
++ title = link.getAttribute("tiddlyLink");
++ fields = link.getAttribute("tiddlyFields");
++ noToggle = link.getAttribute("noToggle");
++ link = link.parentNode;
++ } while(title == null && link != null);
++ if(!store.isShadowTiddler(title)) {
++ var f = fields ? fields.decodeHashMap() : {};
++ fields = String.encodeHashMap(merge(f,config.defaultCustomFields,true));
++ }
++ if(title) {
++ var toggling = e.metaKey || e.ctrlKey;
++ if(config.options.chkToggleLinks)
++ toggling = !toggling;
++ if(noToggle)
++ toggling = false;
++ if(store.getTiddler(title))
++ fields = null;
++ story.displayTiddler(target,title,null,true,null,fields,toggling);
++ }
++ clearMessage();
++ return false;
++}
++
++function createTiddlyLink(place,title,includeText,className,isStatic,linkedFromTiddler,noToggle)
++{
++ var title = jQuery.trim(title);
++ var text = includeText ? title : null;
++ var i = getTiddlyLinkInfo(title,className);
++ var btn = isStatic ? createExternalLink(place,store.getTiddlerText("SiteUrl",null) + "#" + title) : createTiddlyButton(place,text,i.subTitle,onClickTiddlerLink,i.classes);
++ if(isStatic)
++ btn.className += ' ' + className;
++ btn.setAttribute("refresh","link");
++ btn.setAttribute("tiddlyLink",title);
++ if(noToggle)
++ btn.setAttribute("noToggle","true");
++ if(linkedFromTiddler) {
++ var fields = linkedFromTiddler.getInheritedFields();
++ if(fields)
++ btn.setAttribute("tiddlyFields",fields);
++ }
++ return btn;
++}
++
++function refreshTiddlyLink(e,title)
++{
++ var i = getTiddlyLinkInfo(title,e.className);
++ e.className = i.classes;
++ e.title = i.subTitle;
++}
++
++function createTiddlyDropDown(place,onchange,options,defaultValue)
++{
++ var sel = createTiddlyElement(place,"select");
++ sel.onchange = onchange;
++ var t;
++ for(t=0; t<options.length; t++) {
++ var e = createTiddlyElement(sel,"option",null,null,options[t].caption);
++ e.value = options[t].name;
++ if(options[t].name == defaultValue)
++ e.selected = true;
++ }
++ return sel;
++}
++
++//--
++//-- TiddlyWiki-specific popup utility functions
++//--
++
++// Event handler for 'open all' on a tiddler popup
++function onClickTagOpenAll(ev)
++{
++ var tiddlers = store.getTaggedTiddlers(this.getAttribute("tag"));
++ var sortby = this.getAttribute("sortby");
++ if(sortby&&sortby.length) {
++ store.sortTiddlers(tiddlers,sortby);
++ }
++ story.displayTiddlers(this,tiddlers);
++ return false;
++}
++
++// Event handler for clicking on a tiddler tag
++function onClickTag(ev)
++{
++ var e = ev || window.event;
++ var popup = Popup.create(this);
++ jQuery(popup).addClass("taggedTiddlerList");
++ var tag = this.getAttribute("tag");
++ var title = this.getAttribute("tiddler");
++ if(popup && tag) {
++ var tagged = tag.indexOf("[")==-1 ? store.getTaggedTiddlers(tag) : store.filterTiddlers(tag);
++ var sortby = this.getAttribute("sortby");
++ if(sortby&&sortby.length) {
++ store.sortTiddlers(tagged,sortby);
++ }
++ var titles = [];
++ var r;
++ for(r=0;r<tagged.length;r++) {
++ if(tagged[r].title != title)
++ titles.push(tagged[r].title);
++ }
++ var lingo = config.views.wikified.tag;
++ if(titles.length > 0) {
++ var openAll = createTiddlyButton(createTiddlyElement(popup,"li"),lingo.openAllText.format([tag]),lingo.openAllTooltip,onClickTagOpenAll);
++ openAll.setAttribute("tag",tag);
++ openAll.setAttribute("sortby",sortby);
++ createTiddlyElement(createTiddlyElement(popup,"li",null,"listBreak"),"div");
++ for(r=0; r<titles.length; r++) {
++ createTiddlyLink(createTiddlyElement(popup,"li"),titles[r],true);
++ }
++ } else {
++ createTiddlyElement(popup,"li",null,"disabled",lingo.popupNone.format([tag]));
++ }
++ createTiddlyElement(createTiddlyElement(popup,"li",null,"listBreak"),"div");
++ var h = createTiddlyLink(createTiddlyElement(popup,"li"),tag,false);
++ createTiddlyText(h,lingo.openTag.format([tag]));
++ }
++ Popup.show();
++ e.cancelBubble = true;
++ if(e.stopPropagation) e.stopPropagation();
++ return false;
++}
++
++// Create a button for a tag with a popup listing all the tiddlers that it tags
++function createTagButton(place,tag,excludeTiddler,title,tooltip)
++{
++ var btn = createTiddlyButton(place,title||tag,(tooltip||config.views.wikified.tag.tooltip).format([tag]),onClickTag);
++ btn.setAttribute("tag",tag);
++ if(excludeTiddler)
++ btn.setAttribute("tiddler",excludeTiddler);
++ return btn;
++}
++
++function onClickTiddlyPopup(ev)
++{
++ var e = ev || window.event;
++ var tiddler = this.tiddler;
++ if(tiddler.text) {
++ var popup = Popup.create(this,"div","popupTiddler");
++ wikify(tiddler.text,popup,null,tiddler);
++ Popup.show();
++ }
++ if(e) e.cancelBubble = true;
++ if(e && e.stopPropagation) e.stopPropagation();
++ return false;
++}
++
++function createTiddlyPopup(place,caption,tooltip,tiddler)
++{
++ if(tiddler.text) {
++ createTiddlyLink(place,caption,true);
++ var btn = createTiddlyButton(place,glyph("downArrow"),tooltip,onClickTiddlyPopup,"tiddlerPopupButton");
++ btn.tiddler = tiddler;
++ } else {
++ createTiddlyText(place,caption);
++ }
++}
++
++function onClickError(ev)
++{
++ var e = ev || window.event;
++ var popup = Popup.create(this);
++ var lines = this.getAttribute("errorText").split("\n");
++ var t;
++ for(t=0; t<lines.length; t++)
++ createTiddlyElement(popup,"li",null,null,lines[t]);
++ Popup.show();
++ e.cancelBubble = true;
++ if(e.stopPropagation) e.stopPropagation();
++ return false;
++}
++
++function createTiddlyError(place,title,text)
++{
++ var btn = createTiddlyButton(place,title,null,onClickError,"errorButton");
++ if(text) btn.setAttribute("errorText",text);
++}
++//-
++//- Animation engine
++//-
++
++function Animator()
++{
++ this.running = 0; // Incremented at start of each animation, decremented afterwards. If zero, the interval timer is disabled
++ this.timerID = 0; // ID of the timer used for animating
++ this.animations = []; // List of animations in progress
++ return this;
++}
++
++// Start animation engine
++Animator.prototype.startAnimating = function() //# Variable number of arguments
++{
++ var t;
++ for(t=0; t<arguments.length; t++)
++ this.animations.push(arguments[t]);
++ if(this.running == 0) {
++ var me = this;
++ this.timerID = window.setInterval(function() {me.doAnimate(me);},10);
++ }
++ this.running += arguments.length;
++};
++
++// Perform an animation engine tick, calling each of the known animation modules
++Animator.prototype.doAnimate = function(me)
++{
++ var a = 0;
++ while(a < me.animations.length) {
++ var animation = me.animations[a];
++ if(animation.tick()) {
++ a++;
++ } else {
++ me.animations.splice(a,1);
++ if(--me.running == 0)
++ window.clearInterval(me.timerID);
++ }
++ }
++};
++
++Animator.slowInSlowOut = function(progress)
++{
++ return(1-((Math.cos(progress * Math.PI)+1)/2));
++};
++
++//--
++//-- Morpher animation
++//--
++
++// Animate a set of properties of an element
++function Morpher(element,duration,properties,callback)
++{
++ this.element = element;
++ this.duration = duration;
++ this.properties = properties;
++ this.startTime = new Date();
++ this.endTime = Number(this.startTime) + duration;
++ this.callback = callback;
++ this.tick();
++ return this;
++}
++
++Morpher.prototype.assignStyle = function(element,style,value)
++{
++ switch(style) {
++ case "-tw-vertScroll":
++ window.scrollTo(findScrollX(),value);
++ break;
++ case "-tw-horizScroll":
++ window.scrollTo(value,findScrollY());
++ break;
++ default:
++ element.style[style] = value;
++ break;
++ }
++};
++
++Morpher.prototype.stop = function()
++{
++ var t;
++ for(t=0; t<this.properties.length; t++) {
++ var p = this.properties[t];
++ if(p.atEnd !== undefined) {
++ this.assignStyle(this.element,p.style,p.atEnd);
++ }
++ }
++ if(this.callback)
++ this.callback(this.element,this.properties);
++};
++
++Morpher.prototype.tick = function()
++{
++ var currTime = Number(new Date());
++ var t,progress = Animator.slowInSlowOut(Math.min(1,(currTime-this.startTime)/this.duration));
++ for(t=0; t<this.properties.length; t++) {
++ var p = this.properties[t];
++ if(p.start !== undefined && p.end !== undefined) {
++ var template = p.template || "%0";
++ switch(p.format) {
++ case undefined:
++ case "style":
++ var v = p.start + (p.end-p.start) * progress;
++ this.assignStyle(this.element,p.style,template.format([v]));
++ break;
++ case "color":
++ break;
++ }
++ }
++ }
++ if(currTime >= this.endTime) {
++ this.stop();
++ return false;
++ }
++ return true;
++};
++
++//--
++//-- Zoomer animation
++//--
++
++function Zoomer(text,startElement,targetElement,unused)
++{
++ var e = createTiddlyElement(document.body,"div",null,"zoomer");
++ createTiddlyElement(e,"div",null,null,text);
++ var winWidth = findWindowWidth();
++ var winHeight = findWindowHeight();
++ var p = [
++ {style: 'left', start: findPosX(startElement), end: findPosX(targetElement), template: '%0px'},
++ {style: 'top', start: findPosY(startElement), end: findPosY(targetElement), template: '%0px'},
++ {style: 'width', start: Math.min(startElement.scrollWidth,winWidth), end: Math.min(targetElement.scrollWidth,winWidth), template: '%0px', atEnd: 'auto'},
++ {style: 'height', start: Math.min(startElement.scrollHeight,winHeight), end: Math.min(targetElement.scrollHeight,winHeight), template: '%0px', atEnd: 'auto'},
++ {style: 'fontSize', start: 8, end: 24, template: '%0pt'}
++ ];
++ var c = function(element,properties) {jQuery(element).remove();};
++ return new Morpher(e,config.animDuration,p,c);
++}
++
++//--
++//-- Scroller animation
++//--
++
++function Scroller(targetElement)
++{
++ var p = [{style: '-tw-vertScroll', start: findScrollY(), end: ensureVisible(targetElement)}];
++ return new Morpher(targetElement,config.animDuration,p);
++}
++
++//--
++//-- Slider animation
++//--
++
++// deleteMode - "none", "all" [delete target element and it's children], [only] "children" [but not the target element]
++function Slider(element,opening,unused,deleteMode)
++{
++ element.style.overflow = 'hidden';
++ if(opening)
++ element.style.height = '0px'; // Resolves a Firefox flashing bug
++ element.style.display = 'block';
++ var height = element.scrollHeight;
++ var p = [];
++ var c = null;
++ if(opening) {
++ p.push({style: 'height', start: 0, end: height, template: '%0px', atEnd: 'auto'});
++ p.push({style: 'opacity', start: 0, end: 1, template: '%0'});
++ p.push({style: 'filter', start: 0, end: 100, template: 'alpha(opacity:%0)'});
++ } else {
++ p.push({style: 'height', start: height, end: 0, template: '%0px'});
++ p.push({style: 'display', atEnd: 'none'});
++ p.push({style: 'opacity', start: 1, end: 0, template: '%0'});
++ p.push({style: 'filter', start: 100, end: 0, template: 'alpha(opacity:%0)'});
++ switch(deleteMode) {
++ case "all":
++ c = function(element,properties) {jQuery(element).remove();};
++ break;
++ case "children":
++ c = function(element,properties) {jQuery(element).empty();};
++ break;
++ }
++ }
++ return new Morpher(element,config.animDuration,p,c);
++}
++
++//--
++//-- Popup menu
++//--
++
++var Popup = {
++ stack: [] // Array of objects with members root: and popup:
++ };
++
++Popup.create = function(root,elem,className)
++{
++ var stackPosition = this.find(root,"popup");
++ Popup.remove(stackPosition+1);
++ var popup = createTiddlyElement(document.body,elem || "ol","popup",className || "popup");
++ popup.stackPosition = stackPosition;
++ Popup.stack.push({root: root, popup: popup});
++ return popup;
++};
++
++Popup.onDocumentClick = function(ev)
++{
++ var e = ev || window.event;
++ if(e.eventPhase == undefined)
++ Popup.remove();
++ else if(e.eventPhase == Event.BUBBLING_PHASE || e.eventPhase == Event.AT_TARGET)
++ Popup.remove();
++ return true;
++};
++
++Popup.show = function(valign,halign,offset)
++{
++ var curr = Popup.stack[Popup.stack.length-1];
++ this.place(curr.root,curr.popup,valign,halign,offset);
++ jQuery(curr.root).addClass("highlight");
++ if(config.options.chkAnimate && anim && typeof Scroller == "function")
++ anim.startAnimating(new Scroller(curr.popup));
++ else
++ window.scrollTo(0,ensureVisible(curr.popup));
++};
++
++Popup.place = function(root,popup,valign,halign,offset)
++{
++ if(!offset)
++ offset = {x:0,y:0};
++ if(popup.stackPosition >= 0 && !valign && !halign) {
++ offset.x = offset.x + root.offsetWidth;
++ } else {
++ offset.x = (halign == "right") ? offset.x + root.offsetWidth : offset.x;
++ offset.y = (valign == "top") ? offset.y : offset.y + root.offsetHeight;
++ }
++ var rootLeft = findPosX(root);
++ var rootTop = findPosY(root);
++ var popupLeft = rootLeft + offset.x;
++ var popupTop = rootTop + offset.y;
++ var winWidth = findWindowWidth();
++ if(popup.offsetWidth > winWidth*0.75)
++ popup.style.width = winWidth*0.75 + "px";
++ var popupWidth = popup.offsetWidth;
++ var scrollWidth = winWidth - document.body.offsetWidth;
++ if(popupLeft + popupWidth > winWidth - scrollWidth - 1) {
++ if(halign == "right")
++ popupLeft = popupLeft - root.offsetWidth - popupWidth;
++ else
++ popupLeft = winWidth - popupWidth - scrollWidth - 1;
++ }
++ popup.style.left = popupLeft + "px";
++ popup.style.top = popupTop + "px";
++ popup.style.display = "block";
++};
++
++Popup.find = function(e)
++{
++ var t,pos = -1;
++ for(t=this.stack.length-1; t>=0; t--) {
++ if(isDescendant(e,this.stack[t].popup))
++ pos = t;
++ }
++ return pos;
++};
++
++Popup.remove = function(pos)
++{
++ if(!pos) pos = 0;
++ if(Popup.stack.length > pos) {
++ Popup.removeFrom(pos);
++ }
++};
++
++Popup.removeFrom = function(from)
++{
++ var t;
++ for(t=Popup.stack.length-1; t>=from; t--) {
++ var p = Popup.stack[t];
++ jQuery(p.root).removeClass("highlight");
++ jQuery(p.popup).remove();
++ }
++ Popup.stack = Popup.stack.slice(0,from);
++};
++
++//--
++//-- Wizard support
++//--
++
++function Wizard(elem)
++{
++ if(elem) {
++ this.formElem = findRelated(elem,"wizard","className");
++ this.bodyElem = findRelated(this.formElem.firstChild,"wizardBody","className","nextSibling");
++ this.footElem = findRelated(this.formElem.firstChild,"wizardFooter","className","nextSibling");
++ } else {
++ this.formElem = null;
++ this.bodyElem = null;
++ this.footElem = null;
++ }
++}
++
++Wizard.prototype.setValue = function(name,value)
++{
++ jQuery(this.formElem).data(name, value);
++};
++
++Wizard.prototype.getValue = function(name)
++{
++ return this.formElem ? jQuery(this.formElem).data(name) : null;
++};
++
++Wizard.prototype.createWizard = function(place,title)
++{
++ this.formElem = createTiddlyElement(place,"form",null,"wizard");
++ createTiddlyElement(this.formElem,"h1",null,null,title);
++ this.bodyElem = createTiddlyElement(this.formElem,"div",null,"wizardBody");
++ this.footElem = createTiddlyElement(this.formElem,"div",null,"wizardFooter");
++ return this.formElem;
++};
++
++Wizard.prototype.clear = function()
++{
++ jQuery(this.bodyElem).empty();
++};
++
++Wizard.prototype.setButtons = function(buttonInfo,status)
++{
++ jQuery(this.footElem).empty();
++ var t;
++ for(t=0; t<buttonInfo.length; t++) {
++ createTiddlyButton(this.footElem,buttonInfo[t].caption,buttonInfo[t].tooltip,buttonInfo[t].onClick);
++ insertSpacer(this.footElem);
++ }
++ if(typeof status == "string") {
++ createTiddlyElement(this.footElem,"span",null,"status",status);
++ }
++};
++
++Wizard.prototype.addStep = function(stepTitle,html)
++{
++ jQuery(this.bodyElem).empty();
++ var w = createTiddlyElement(this.bodyElem,"div");
++ createTiddlyElement(w,"h2",null,null,stepTitle);
++ var step = createTiddlyElement(w,"div",null,"wizardStep");
++ step.innerHTML = html;
++ applyHtmlMacros(step,tiddler);
++};
++
++Wizard.prototype.getElement = function(name)
++{
++ return this.formElem.elements[name];
++};
++
++//--
++//-- ListView gadget
++//--
++
++var ListView = {};
++
++// Create a listview
++ListView.create = function(place,listObject,listTemplate,callback,className)
++{
++ var table = createTiddlyElement(place,"table",null,className || "listView twtable");
++ var thead = createTiddlyElement(table,"thead");
++ var t,r = createTiddlyElement(thead,"tr");
++ for(t=0; t<listTemplate.columns.length; t++) {
++ var columnTemplate = listTemplate.columns[t];
++ var c = createTiddlyElement(r,"th");
++ var colType = ListView.columnTypes[columnTemplate.type];
++ if(colType && colType.createHeader) {
++ colType.createHeader(c,columnTemplate,t);
++ if(columnTemplate.className)
++ jQuery(c).addClass(columnTemplate.className);
++ }
++ }
++ var rc,tbody = createTiddlyElement(table,"tbody");
++ for(rc=0; rc<listObject.length; rc++) {
++ var rowObject = listObject[rc];
++ r = createTiddlyElement(tbody,"tr");
++ for(c=0; c<listTemplate.rowClasses.length; c++) {
++ if(rowObject[listTemplate.rowClasses[c].field])
++ jQuery(r).addClass(listTemplate.rowClasses[c].className);
++ }
++ rowObject.rowElement = r;
++ rowObject.colElements = {};
++ var cc;
++ for(cc=0; cc<listTemplate.columns.length; cc++) {
++ c = createTiddlyElement(r,"td");
++ columnTemplate = listTemplate.columns[cc];
++ var field = columnTemplate.field;
++ colType = ListView.columnTypes[columnTemplate.type];
++ if(colType && colType.createItem) {
++ colType.createItem(c,rowObject,field,columnTemplate,cc,rc);
++ if(columnTemplate.className)
++ jQuery(c).addClass(columnTemplate.className);
++ }
++ rowObject.colElements[field] = c;
++ }
++ }
++ if(callback && listTemplate.actions)
++ createTiddlyDropDown(place,ListView.getCommandHandler(callback),listTemplate.actions);
++ if(callback && listTemplate.buttons) {
++ for(t=0; t<listTemplate.buttons.length; t++) {
++ var a = listTemplate.buttons[t];
++ if(a && a.name != "")
++ createTiddlyButton(place,a.caption,null,ListView.getCommandHandler(callback,a.name,a.allowEmptySelection));
++ }
++ }
++ return table;
++};
++
++ListView.getCommandHandler = function(callback,name,allowEmptySelection)
++{
++ return function(e) {
++ var view = findRelated(this,"TABLE",null,"previousSibling");
++ var tiddlers = [];
++ ListView.forEachSelector(view,function(e,rowName) {
++ if(e.checked)
++ tiddlers.push(rowName);
++ });
++ if(tiddlers.length == 0 && !allowEmptySelection) {
++ alert(config.messages.nothingSelected);
++ } else {
++ if(this.nodeName.toLowerCase() == "select") {
++ callback(view,this.value,tiddlers);
++ this.selectedIndex = 0;
++ } else {
++ callback(view,name,tiddlers);
++ }
++ }
++ };
++};
++
++// Invoke a callback for each selector checkbox in the listview
++ListView.forEachSelector = function(view,callback)
++{
++ var checkboxes = view.getElementsByTagName("input");
++ var t,hadOne = false;
++ for(t=0; t<checkboxes.length; t++) {
++ var cb = checkboxes[t];
++ if(cb.getAttribute("type") == "checkbox") {
++ var rn = cb.getAttribute("rowName");
++ if(rn) {
++ callback(cb,rn);
++ hadOne = true;
++ }
++ }
++ }
++ return hadOne;
++};
++
++ListView.getSelectedRows = function(view)
++{
++ var rowNames = [];
++ ListView.forEachSelector(view,function(e,rowName) {
++ if(e.checked)
++ rowNames.push(rowName);
++ });
++ return rowNames;
++};
++
++ListView.columnTypes = {};
++
++ListView.columnTypes.String = {
++ createHeader: function(place,columnTemplate,col)
++ {
++ createTiddlyText(place,columnTemplate.title);
++ },
++ createItem: function(place,listObject,field,columnTemplate,col,row)
++ {
++ var v = listObject[field];
++ if(v != undefined)
++ createTiddlyText(place,v);
++ }
++};
++
++ListView.columnTypes.WikiText = {
++ createHeader: ListView.columnTypes.String.createHeader,
++ createItem: function(place,listObject,field,columnTemplate,col,row)
++ {
++ var v = listObject[field];
++ if(v != undefined)
++ wikify(v,place,null,null);
++ }
++};
++
++ListView.columnTypes.Tiddler = {
++ createHeader: ListView.columnTypes.String.createHeader,
++ createItem: function(place,listObject,field,columnTemplate,col,row)
++ {
++ var v = listObject[field];
++ if(v != undefined && v.title)
++ createTiddlyPopup(place,v.title,config.messages.listView.tiddlerTooltip,v);
++ }
++};
++
++ListView.columnTypes.Size = {
++ createHeader: ListView.columnTypes.String.createHeader,
++ createItem: function(place,listObject,field,columnTemplate,col,row)
++ {
++ var msg = config.messages.sizeTemplates;
++ var v = listObject[field];
++ if(v != undefined) {
++ var t = 0;
++ while(t<msg.length-1 && v<msg[t].unit)
++ t++;
++ createTiddlyText(place,msg[t].template.format([Math.round(v/msg[t].unit)]));
++ }
++ }
++};
++
++ListView.columnTypes.Link = {
++ createHeader: ListView.columnTypes.String.createHeader,
++ createItem: function(place,listObject,field,columnTemplate,col,row)
++ {
++ var v = listObject[field];
++ var c = columnTemplate.text;
++ if(v != undefined)
++ createExternalLink(place,v,c || v);
++ }
++};
++
++ListView.columnTypes.Date = {
++ createHeader: ListView.columnTypes.String.createHeader,
++ createItem: function(place,listObject,field,columnTemplate,col,row)
++ {
++ var v = listObject[field];
++ if(v != undefined)
++ createTiddlyText(place,v.formatString(columnTemplate.dateFormat));
++ }
++};
++
++ListView.columnTypes.StringList = {
++ createHeader: ListView.columnTypes.String.createHeader,
++ createItem: function(place,listObject,field,columnTemplate,col,row)
++ {
++ var v = listObject[field];
++ if(v != undefined) {
++ var t;
++ for(t=0; t<v.length; t++) {
++ createTiddlyText(place,v[t]);
++ createTiddlyElement(place,"br");
++ }
++ }
++ }
++};
++
++ListView.columnTypes.Selector = {
++ createHeader: function(place,columnTemplate,col)
++ {
++ createTiddlyCheckbox(place,null,false,this.onHeaderChange);
++ },
++ createItem: function(place,listObject,field,columnTemplate,col,row)
++ {
++ var e = createTiddlyCheckbox(place,null,listObject[field],null);
++ e.setAttribute("rowName",listObject[columnTemplate.rowName]);
++ },
++ onHeaderChange: function(e)
++ {
++ var state = this.checked;
++ var view = findRelated(this,"TABLE");
++ if(!view)
++ return;
++ ListView.forEachSelector(view,function(e,rowName) {
++ e.checked = state;
++ });
++ }
++};
++
++ListView.columnTypes.Tags = {
++ createHeader: ListView.columnTypes.String.createHeader,
++ createItem: function(place,listObject,field,columnTemplate,col,row)
++ {
++ var tags = listObject[field];
++ createTiddlyText(place,String.encodeTiddlyLinkList(tags));
++ }
++};
++
++ListView.columnTypes.Boolean = {
++ createHeader: ListView.columnTypes.String.createHeader,
++ createItem: function(place,listObject,field,columnTemplate,col,row)
++ {
++ if(listObject[field] == true)
++ createTiddlyText(place,columnTemplate.trueText);
++ if(listObject[field] == false)
++ createTiddlyText(place,columnTemplate.falseText);
++ }
++};
++
++ListView.columnTypes.TagCheckbox = {
++ createHeader: ListView.columnTypes.String.createHeader,
++ createItem: function(place,listObject,field,columnTemplate,col,row)
++ {
++ var e = createTiddlyCheckbox(place,null,listObject[field],this.onChange);
++ e.setAttribute("tiddler",listObject.title);
++ e.setAttribute("tag",columnTemplate.tag);
++ },
++ onChange : function(e)
++ {
++ var tag = this.getAttribute("tag");
++ var tiddler = this.getAttribute("tiddler");
++ store.setTiddlerTag(tiddler,this.checked,tag);
++ }
++};
++
++ListView.columnTypes.TiddlerLink = {
++ createHeader: ListView.columnTypes.String.createHeader,
++ createItem: function(place,listObject,field,columnTemplate,col,row)
++ {
++ var v = listObject[field];
++ if(v != undefined) {
++ var link = createTiddlyLink(place,listObject[columnTemplate.tiddlerLink],false,null);
++ createTiddlyText(link,listObject[field]);
++ }
++ }
++};
++
++//--
++//-- Augmented methods for the JavaScript Array() object
++//--
++
++// Add indexOf function if browser does not support it
++if(!Array.indexOf) {
++Array.prototype.indexOf = function(item,from)
++{
++ if(!from)
++ from = 0;
++ var i;
++ for(i=from; i<this.length; i++) {
++ if(this[i] === item)
++ return i;
++ }
++ return -1;
++};}
++
++// Find an entry in a given field of the members of an array
++Array.prototype.findByField = function(field,value)
++{
++ var t;
++ for(t=0; t<this.length; t++) {
++ if(this[t][field] === value)
++ return t;
++ }
++ return null;
++};
++
++// Return whether an entry exists in an array
++Array.prototype.contains = function(item)
++{
++ return this.indexOf(item) != -1;
++};
++
++// Adds, removes or toggles a particular value within an array
++// value - value to add
++// mode - +1 to add value, -1 to remove value, 0 to toggle it
++Array.prototype.setItem = function(value,mode)
++{
++ var p = this.indexOf(value);
++ if(mode == 0)
++ mode = (p == -1) ? +1 : -1;
++ if(mode == +1) {
++ if(p == -1)
++ this.push(value);
++ } else if(mode == -1) {
++ if(p != -1)
++ this.splice(p,1);
++ }
++};
++
++// Return whether one of a list of values exists in an array
++Array.prototype.containsAny = function(items)
++{
++ var i;
++ for(i=0; i<items.length; i++) {
++ if(this.indexOf(items[i]) != -1)
++ return true;
++ }
++ return false;
++};
++
++// Return whether all of a list of values exists in an array
++Array.prototype.containsAll = function(items)
++{
++ var i;
++ for(i = 0; i<items.length; i++) {
++ if(this.indexOf(items[i]) == -1)
++ return false;
++ }
++ return true;
++};
++
++// Push a new value into an array only if it is not already present in the array. If the optional unique parameter is false, it reverts to a normal push
++Array.prototype.pushUnique = function(item,unique)
++{
++ if(unique === false) {
++ this.push(item);
++ } else {
++ if(this.indexOf(item) == -1)
++ this.push(item);
++ }
++};
++
++Array.prototype.remove = function(item)
++{
++ var p = this.indexOf(item);
++ if(p != -1)
++ this.splice(p,1);
++};
++
++if(!Array.prototype.map) {
++Array.prototype.map = function(fn,thisObj)
++{
++ var scope = thisObj || window;
++ var i,j,a = [];
++ for(i=0, j=this.length; i < j; ++i) {
++ a.push(fn.call(scope,this[i],i,this));
++ }
++ return a;
++};}
++
++//--
++//-- Augmented methods for the JavaScript String() object
++//--
++
++// Get characters from the right end of a string
++String.prototype.right = function(n)
++{
++ return n < this.length ? this.slice(this.length-n) : this;
++};
++
++// Trim whitespace from both ends of a string
++String.prototype.trim = function()
++{
++ return this.replace(/^\s*|\s*$/g,"");
++};
++
++// Convert a string from a CSS style property name to a JavaScript style name ("background-color" -> "backgroundColor")
++String.prototype.unDash = function()
++{
++ var t,s = this.split("-");
++ if(s.length > 1) {
++ for(t=1; t<s.length; t++)
++ s[t] = s[t].substr(0,1).toUpperCase() + s[t].substr(1);
++ }
++ return s.join("");
++};
++
++// Substitute substrings from an array into a format string that includes '%1'-type specifiers
++String.prototype.format = function(s)
++{
++ var substrings = s && s.constructor == Array ? s : arguments;
++ var subRegExp = /(?:%(\d+))/mg;
++ var currPos = 0;
++ var match,r = [];
++ do {
++ match = subRegExp.exec(this);
++ if(match && match[1]) {
++ if(match.index > currPos)
++ r.push(this.substring(currPos,match.index));
++ r.push(substrings[parseInt(match[1],10)]);
++ currPos = subRegExp.lastIndex;
++ }
++ } while(match);
++ if(currPos < this.length)
++ r.push(this.substring(currPos,this.length));
++ return r.join("");
++};
++
++// Escape any special RegExp characters with that character preceded by a backslash
++String.prototype.escapeRegExp = function()
++{
++ var s = "\\^$*+?()=!|,{}[].";
++ var t,c = this;
++ for(t=0; t<s.length; t++)
++ c = c.replace(new RegExp("\\" + s.substr(t,1),"g"),"\\" + s.substr(t,1));
++ return c;
++};
++
++// Convert "\" to "\s", newlines to "\n" (and remove carriage returns)
++String.prototype.escapeLineBreaks = function()
++{
++ return this.replace(/\\/mg,"\\s").replace(/\n/mg,"\\n").replace(/\r/mg,"");
++};
++
++// Convert "\n" to newlines, "\b" to " ", "\s" to "\" (and remove carriage returns)
++String.prototype.unescapeLineBreaks = function()
++{
++ return this.replace(/\\n/mg,"\n").replace(/\\b/mg," ").replace(/\\s/mg,"\\").replace(/\r/mg,"");
++};
++
++// Convert & to "&amp;", < to "&lt;", > to "&gt;" and " to "&quot;"
++String.prototype.htmlEncode = function()
++{
++ return this.replace(/&/mg,"&amp;").replace(/</mg,"&lt;").replace(/>/mg,"&gt;").replace(/\"/mg,"&quot;");
++};
++
++// Convert "&amp;" to &, "&lt;" to <, "&gt;" to > and "&quot;" to "
++String.prototype.htmlDecode = function()
++{
++ return this.replace(/&lt;/mg,"<").replace(/&gt;/mg,">").replace(/&quot;/mg,"\"").replace(/&amp;/mg,"&");
++};
++
++// Parse a space-separated string of name:value parameters
++// The result is an array of objects:
++// result[0] = object with a member for each parameter name, value of that member being an array of values
++// result[1..n] = one object for each parameter, with 'name' and 'value' members
++String.prototype.parseParams = function(defaultName,defaultValue,allowEval,noNames,cascadeDefaults)
++{
++ var parseToken = function(match,p) {
++ var n;
++ if(match[p]) // Double quoted
++ n = match[p];
++ else if(match[p+1]) // Single quoted
++ n = match[p+1];
++ else if(match[p+2]) // Double-square-bracket quoted
++ n = match[p+2];
++ else if(match[p+3]) // Double-brace quoted
++ try {
++ n = match[p+3];
++ if(allowEval && config.evaluateMacroParameters != "none") {
++ if(config.evaluateMacroParameters == "restricted") {
++ if(window.restrictedEval) {
++ n = window.restrictedEval(n);
++ }
++ } else {
++ n = window.eval(n);
++ }
++ }
++ } catch(ex) {
++ throw "Unable to evaluate {{" + match[p+3] + "}}: " + exceptionText(ex);
++ }
++ else if(match[p+4]) // Unquoted
++ n = match[p+4];
++ else if(match[p+5]) // empty quote
++ n = "";
++ return n;
++ };
++ var r = [{}];
++ var dblQuote = "(?:\"((?:(?:\\\\\")|[^\"])+)\")";
++ var sngQuote = "(?:'((?:(?:\\\\\')|[^'])+)')";
++ var dblSquare = "(?:\\[\\[((?:\\s|\\S)*?)\\]\\])";
++ var dblBrace = "(?:\\{\\{((?:\\s|\\S)*?)\\}\\})";
++ var unQuoted = noNames ? "([^\"'\\s]\\S*)" : "([^\"':\\s][^\\s:]*)";
++ var emptyQuote = "((?:\"\")|(?:''))";
++ var skipSpace = "(?:\\s*)";
++ var token = "(?:" + dblQuote + "|" + sngQuote + "|" + dblSquare + "|" + dblBrace + "|" + unQuoted + "|" + emptyQuote + ")";
++ var re = noNames ? new RegExp(token,"mg") : new RegExp(skipSpace + token + skipSpace + "(?:(\\:)" + skipSpace + token + ")?","mg");
++ var match;
++ do {
++ match = re.exec(this);
++ if(match) {
++ var n = parseToken(match,1);
++ if(noNames) {
++ r.push({name:"",value:n});
++ } else {
++ var v = parseToken(match,8);
++ if(v == null && defaultName) {
++ v = n;
++ n = defaultName;
++ } else if(v == null && defaultValue) {
++ v = defaultValue;
++ }
++ r.push({name:n,value:v});
++ if(cascadeDefaults) {
++ defaultName = n;
++ defaultValue = v;
++ }
++ }
++ }
++ } while(match);
++ // Summarise parameters into first element
++ var t;
++ for(t=1; t<r.length; t++) {
++ if(r[0][r[t].name])
++ r[0][r[t].name].push(r[t].value);
++ else
++ r[0][r[t].name] = [r[t].value];
++ }
++ return r;
++};
++
++// Process a string list of macro parameters into an array. Parameters can be quoted with "", '',
++// [[]], {{ }} or left unquoted (and therefore space-separated). Double-braces {{}} results in
++// an *evaluated* parameter: e.g. {{config.options.txtUserName}} results in the current user's name.
++String.prototype.readMacroParams = function(notAllowEval)
++{
++ var p = this.parseParams("list",null,!notAllowEval,true);
++ var t,n = [];
++ for(t=1; t<p.length; t++)
++ n.push(p[t].value);
++ return n;
++};
++
++// Process a string list of unique tiddler names into an array. Tiddler names that have spaces in them must be [[bracketed]]
++String.prototype.readBracketedList = function(unique)
++{
++ var p = this.parseParams("list",null,false,true);
++ var t,n = [];
++ for(t=1; t<p.length; t++) {
++ if(p[t].value)
++ n.pushUnique(p[t].value,unique);
++ }
++ return n;
++};
++
++// Returns array with start and end index of chunk between given start and end marker, or undefined.
++String.prototype.getChunkRange = function(start,end)
++{
++ var s = this.indexOf(start);
++ if(s != -1) {
++ s += start.length;
++ var e = this.indexOf(end,s);
++ if(e != -1)
++ return [s,e];
++ }
++};
++
++// Replace a chunk of a string given start and end markers
++String.prototype.replaceChunk = function(start,end,sub)
++{
++ var r = this.getChunkRange(start,end);
++ return r ? this.substring(0,r[0]) + sub + this.substring(r[1]) : this;
++};
++
++// Returns a chunk of a string between start and end markers, or undefined
++String.prototype.getChunk = function(start,end)
++{
++ var r = this.getChunkRange(start,end);
++ if(r)
++ return this.substring(r[0],r[1]);
++};
++
++
++// Static method to bracket a string with double square brackets if it contains a space
++String.encodeTiddlyLink = function(title)
++{
++ return title.indexOf(" ") == -1 ? title : "[[" + title + "]]";
++};
++
++// Static method to encodeTiddlyLink for every item in an array and join them with spaces
++String.encodeTiddlyLinkList = function(list)
++{
++ if(list) {
++ var t,results = [];
++ for(t=0; t<list.length; t++)
++ results.push(String.encodeTiddlyLink(list[t]));
++ return results.join(" ");
++ } else {
++ return "";
++ }
++};
++
++// Convert a string as a sequence of name:"value" pairs into a hashmap
++String.prototype.decodeHashMap = function()
++{
++ var fields = this.parseParams("anon","",false);
++ var t,r = {};
++ for(t=1; t<fields.length; t++)
++ r[fields[t].name] = fields[t].value;
++ return r;
++};
++
++// Static method to encode a hashmap into a name:"value"... string
++String.encodeHashMap = function(hashmap)
++{
++ var t,r = [];
++ for(t in hashmap)
++ r.push(t + ':"' + hashmap[t] + '"');
++ return r.join(" ");
++};
++
++// Static method to left-pad a string with 0s to a certain width
++String.zeroPad = function(n,d)
++{
++ var s = n.toString();
++ if(s.length < d)
++ s = "000000000000000000000000000".substr(0,d-s.length) + s;
++ return s;
++};
++
++String.prototype.startsWith = function(prefix)
++{
++ return !prefix || this.substring(0,prefix.length) == prefix;
++};
++
++// Returns the first value of the given named parameter.
++function getParam(params,name,defaultValue)
++{
++ if(!params)
++ return defaultValue;
++ var p = params[0][name];
++ return p ? p[0] : defaultValue;
++}
++
++// Returns the first value of the given boolean named parameter.
++function getFlag(params,name,defaultValue)
++{
++ return !!getParam(params,name,defaultValue);
++}
++
++//--
++//-- Augmented methods for the JavaScript Date() object
++//--
++
++// Substitute date components into a string
++Date.prototype.formatString = function(template)
++{
++ var t = template.replace(/0hh12/g,String.zeroPad(this.getHours12(),2));
++ t = t.replace(/hh12/g,this.getHours12());
++ t = t.replace(/0hh/g,String.zeroPad(this.getHours(),2));
++ t = t.replace(/hh/g,this.getHours());
++ t = t.replace(/mmm/g,config.messages.dates.shortMonths[this.getMonth()]);
++ t = t.replace(/0mm/g,String.zeroPad(this.getMinutes(),2));
++ t = t.replace(/mm/g,this.getMinutes());
++ t = t.replace(/0ss/g,String.zeroPad(this.getSeconds(),2));
++ t = t.replace(/ss/g,this.getSeconds());
++ t = t.replace(/[ap]m/g,this.getAmPm().toLowerCase());
++ t = t.replace(/[AP]M/g,this.getAmPm().toUpperCase());
++ t = t.replace(/wYYYY/g,this.getYearForWeekNo());
++ t = t.replace(/wYY/g,String.zeroPad(this.getYearForWeekNo()-2000,2));
++ t = t.replace(/YYYY/g,this.getFullYear());
++ t = t.replace(/YY/g,String.zeroPad(this.getFullYear()-2000,2));
++ t = t.replace(/MMM/g,config.messages.dates.months[this.getMonth()]);
++ t = t.replace(/0MM/g,String.zeroPad(this.getMonth()+1,2));
++ t = t.replace(/MM/g,this.getMonth()+1);
++ t = t.replace(/0WW/g,String.zeroPad(this.getWeek(),2));
++ t = t.replace(/WW/g,this.getWeek());
++ t = t.replace(/DDD/g,config.messages.dates.days[this.getDay()]);
++ t = t.replace(/ddd/g,config.messages.dates.shortDays[this.getDay()]);
++ t = t.replace(/0DD/g,String.zeroPad(this.getDate(),2));
++ t = t.replace(/DDth/g,this.getDate()+this.daySuffix());
++ t = t.replace(/DD/g,this.getDate());
++ var tz = this.getTimezoneOffset();
++ var atz = Math.abs(tz);
++ t = t.replace(/TZD/g,(tz < 0 ? '+' : '-') + String.zeroPad(Math.floor(atz / 60),2) + ':' + String.zeroPad(atz % 60,2));
++ t = t.replace(/\\/g,"");
++ return t;
++};
++
++Date.prototype.getWeek = function()
++{
++ var dt = new Date(this.getTime());
++ var d = dt.getDay();
++ if(d==0) d=7;// JavaScript Sun=0, ISO Sun=7
++ dt.setTime(dt.getTime()+(4-d)*86400000);// shift day to Thurs of same week to calculate weekNo
++ var n = Math.floor((dt.getTime()-new Date(dt.getFullYear(),0,1)+3600000)/86400000);
++ return Math.floor(n/7)+1;
++};
++
++Date.prototype.getYearForWeekNo = function()
++{
++ var dt = new Date(this.getTime());
++ var d = dt.getDay();
++ if(d==0) d=7;// JavaScript Sun=0, ISO Sun=7
++ dt.setTime(dt.getTime()+(4-d)*86400000);// shift day to Thurs of same week
++ return dt.getFullYear();
++};
++
++Date.prototype.getHours12 = function()
++{
++ var h = this.getHours();
++ return h > 12 ? h-12 : ( h > 0 ? h : 12 );
++};
++
++Date.prototype.getAmPm = function()
++{
++ return this.getHours() >= 12 ? config.messages.dates.pm : config.messages.dates.am;
++};
++
++Date.prototype.daySuffix = function()
++{
++ return config.messages.dates.daySuffixes[this.getDate()-1];
++};
++
++// Convert a date to local YYYYMMDDHHMM string format
++Date.prototype.convertToLocalYYYYMMDDHHMM = function()
++{
++ return this.getFullYear() + String.zeroPad(this.getMonth()+1,2) + String.zeroPad(this.getDate(),2) + String.zeroPad(this.getHours(),2) + String.zeroPad(this.getMinutes(),2);
++};
++
++// Convert a date to UTC YYYYMMDDHHMM string format
++Date.prototype.convertToYYYYMMDDHHMM = function()
++{
++ return this.getUTCFullYear() + String.zeroPad(this.getUTCMonth()+1,2) + String.zeroPad(this.getUTCDate(),2) + String.zeroPad(this.getUTCHours(),2) + String.zeroPad(this.getUTCMinutes(),2);
++};
++
++// Convert a date to UTC YYYYMMDD.HHMMSSMMM string format
++Date.prototype.convertToYYYYMMDDHHMMSSMMM = function()
++{
++ return this.getUTCFullYear() + String.zeroPad(this.getUTCMonth()+1,2) + String.zeroPad(this.getUTCDate(),2) + "." + String.zeroPad(this.getUTCHours(),2) + String.zeroPad(this.getUTCMinutes(),2) + String.zeroPad(this.getUTCSeconds(),2) + String.zeroPad(this.getUTCMilliseconds(),3) +"0";
++};
++
++// Static method to create a date from a UTC YYYYMMDDHHMM format string
++Date.convertFromYYYYMMDDHHMM = function(d)
++{
++ d = d?d.replace(/[^0-9]/g, ""):"";
++ return Date.convertFromYYYYMMDDHHMMSSMMM(d.substr(0,12));
++};
++
++// Static method to create a date from a UTC YYYYMMDDHHMMSS format string
++Date.convertFromYYYYMMDDHHMMSS = function(d)
++{
++ d = d?d.replace(/[^0-9]/g, ""):"";
++ return Date.convertFromYYYYMMDDHHMMSSMMM(d.substr(0,14));
++};
++
++// Static method to create a date from a UTC YYYYMMDDHHMMSSMMM format string
++Date.convertFromYYYYMMDDHHMMSSMMM = function(d)
++{
++ d = d ? d.replace(/[^0-9]/g, "") : "";
++ return new Date(Date.UTC(parseInt(d.substr(0,4),10),
++ parseInt(d.substr(4,2),10)-1,
++ parseInt(d.substr(6,2),10),
++ parseInt(d.substr(8,2)||"00",10),
++ parseInt(d.substr(10,2)||"00",10),
++ parseInt(d.substr(12,2)||"00",10),
++ parseInt(d.substr(14,3)||"000",10)));
++};
++
++//--
++//-- RGB colour object
++//--
++
++// Construct an RGB colour object from a '#rrggbb', '#rgb' or 'rgb(n,n,n)' string or from separate r,g,b values
++function RGB(r,g,b)
++{
++ this.r = 0;
++ this.g = 0;
++ this.b = 0;
++ if(typeof r == "string") {
++ if(r.substr(0,1) == "#") {
++ if(r.length == 7) {
++ this.r = parseInt(r.substr(1,2),16)/255;
++ this.g = parseInt(r.substr(3,2),16)/255;
++ this.b = parseInt(r.substr(5,2),16)/255;
++ } else {
++ this.r = parseInt(r.substr(1,1),16)/15;
++ this.g = parseInt(r.substr(2,1),16)/15;
++ this.b = parseInt(r.substr(3,1),16)/15;
++ }
++ } else {
++ var rgbPattern = /rgb\s*\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)/;
++ var c = r.match(rgbPattern);
++ if(c) {
++ this.r = parseInt(c[1],10)/255;
++ this.g = parseInt(c[2],10)/255;
++ this.b = parseInt(c[3],10)/255;
++ }
++ }
++ } else {
++ this.r = r;
++ this.g = g;
++ this.b = b;
++ }
++ return this;
++}
++
++// Mixes this colour with another in a specified proportion
++// c = other colour to mix
++// f = 0..1 where 0 is this colour and 1 is the new colour
++// Returns an RGB object
++RGB.prototype.mix = function(c,f)
++{
++ return new RGB(this.r + (c.r-this.r) * f,this.g + (c.g-this.g) * f,this.b + (c.b-this.b) * f);
++};
++
++// Return an rgb colour as a #rrggbb format hex string
++RGB.prototype.toString = function()
++{
++ var clamp = function(x,min,max) {
++ return x < min ? min : (x > max ? max : x);
++ };
++ return "#" +
++ ("0" + Math.floor(clamp(this.r,0,1) * 255).toString(16)).right(2) +
++ ("0" + Math.floor(clamp(this.g,0,1) * 255).toString(16)).right(2) +
++ ("0" + Math.floor(clamp(this.b,0,1) * 255).toString(16)).right(2);
++};
++
++//--
++//-- DOM utilities - many derived from www.quirksmode.org
++//--
++
++function drawGradient(place,horiz,locolors,hicolors)
++{
++ if(!hicolors)
++ hicolors = locolors;
++ var t;
++ for(t=0; t<= 100; t+=2) {
++ var bar = document.createElement("div");
++ place.appendChild(bar);
++ bar.style.position = "absolute";
++ bar.style.left = horiz ? t + "%" : 0;
++ bar.style.top = horiz ? 0 : t + "%";
++ bar.style.width = horiz ? (101-t) + "%" : "100%";
++ bar.style.height = horiz ? "100%" : (101-t) + "%";
++ bar.style.zIndex = -1;
++ var p = t/100*(locolors.length-1);
++ var hc = hicolors[Math.floor(p)];
++ if(typeof hc == "string")
++ hc = new RGB(hc);
++ var lc = locolors[Math.ceil(p)];
++ if(typeof lc == "string")
++ lc = new RGB(lc);
++ bar.style.backgroundColor = hc.mix(lc,p-Math.floor(p)).toString();
++ }
++}
++
++function addEvent(obj,type,fn)
++{
++ if(obj.attachEvent) {
++ obj["e"+type+fn] = fn;
++ obj[type+fn] = function(){obj["e"+type+fn](window.event);};
++ obj.attachEvent("on"+type,obj[type+fn]);
++ } else {
++ obj.addEventListener(type,fn,false);
++ }
++}
++
++function removeEvent(obj,type,fn)
++{
++ if(obj.detachEvent) {
++ obj.detachEvent("on"+type,obj[type+fn]);
++ obj[type+fn] = null;
++ } else {
++ obj.removeEventListener(type,fn,false);
++ }
++}
++
++// Find the closest relative with a given property value (property defaults to tagName, relative defaults to parentNode)
++function findRelated(e,value,name,relative)
++{
++ name = name || "tagName";
++ relative = relative || "parentNode";
++ if(name == "className") {
++ while(e && !jQuery(e).hasClass(value)) {
++ e = e[relative];
++ }
++ } else {
++ while(e && e[name] != value) {
++ e = e[relative];
++ }
++ }
++ return e;
++}
++
++// Get the scroll position for window.scrollTo necessary to scroll a given element into view
++function ensureVisible(e)
++{
++ var posTop = findPosY(e);
++ var posBot = posTop + e.offsetHeight;
++ var winTop = findScrollY();
++ var winHeight = findWindowHeight();
++ var winBot = winTop + winHeight;
++ if(posTop < winTop) {
++ return posTop;
++ } else if(posBot > winBot) {
++ if(e.offsetHeight < winHeight)
++ return posTop - (winHeight - e.offsetHeight);
++ else
++ return posTop;
++ } else {
++ return winTop;
++ }
++}
++
++// Get the current width of the display window
++function findWindowWidth()
++{
++ return window.innerWidth || document.documentElement.clientWidth;
++}
++
++// Get the current height of the display window
++function findWindowHeight()
++{
++ return window.innerHeight || document.documentElement.clientHeight;
++}
++
++// Get the current height of the document
++function findDocHeight() {
++ var D = document;
++ return Math.max(
++ Math.max(D.body.scrollHeight, D.documentElement.scrollHeight),
++ Math.max(D.body.offsetHeight, D.documentElement.offsetHeight),
++ Math.max(D.body.clientHeight, D.documentElement.clientHeight)
++ );
++}
++
++// Get the current horizontal page scroll position
++function findScrollX()
++{
++ return window.scrollX || document.documentElement.scrollLeft;
++}
++
++// Get the current vertical page scroll position
++function findScrollY()
++{
++ return window.scrollY || document.documentElement.scrollTop;
++}
++
++function findPosX(obj)
++{
++ var curleft = 0;
++ while(obj.offsetParent) {
++ curleft += obj.offsetLeft;
++ obj = obj.offsetParent;
++ }
++ return curleft;
++}
++
++function findPosY(obj)
++{
++ var curtop = 0;
++ while(obj.offsetParent) {
++ curtop += obj.offsetTop;
++ obj = obj.offsetParent;
++ }
++ return curtop;
++}
++
++// Blur a particular element
++function blurElement(e)
++{
++ if(e && e.focus && e.blur) {
++ e.focus();
++ e.blur();
++ }
++}
++
++// Create a non-breaking space
++function insertSpacer(place)
++{
++ var e = document.createTextNode(String.fromCharCode(160));
++ if(place)
++ place.appendChild(e);
++ return e;
++}
++
++// Replace the current selection of a textarea or text input and scroll it into view
++function replaceSelection(e,text)
++{
++ if(e.setSelectionRange) {
++ var oldpos = e.selectionStart;
++ var isRange = e.selectionEnd > e.selectionStart;
++ e.value = e.value.substr(0,e.selectionStart) + text + e.value.substr(e.selectionEnd);
++ e.setSelectionRange(isRange ? oldpos : oldpos + text.length,oldpos + text.length);
++ var linecount = e.value.split("\n").length;
++ var thisline = e.value.substr(0,e.selectionStart).split("\n").length-1;
++ e.scrollTop = Math.floor((thisline - e.rows / 2) * e.scrollHeight / linecount);
++ } else if(document.selection) {
++ var range = document.selection.createRange();
++ if(range.parentElement() == e) {
++ var isCollapsed = range.text == "";
++ range.text = text;
++ if(!isCollapsed) {
++ range.moveStart("character", -text.length);
++ range.select();
++ }
++ }
++ }
++}
++
++// Set the caret position in a text area
++function setCaretPosition(e,pos)
++{
++ if(e.selectionStart || e.selectionStart == '0') {
++ e.selectionStart = pos;
++ e.selectionEnd = pos;
++ e.focus();
++ } else if(document.selection) {
++ // IE support
++ e.focus ();
++ var sel = document.selection.createRange();
++ sel.moveStart('character', -e.value.length);
++ sel.moveStart('character',pos);
++ sel.moveEnd('character',0);
++ sel.select();
++ }
++}
++
++// Returns the text of the given (text) node, possibly merging subsequent text nodes
++function getNodeText(e)
++{
++ var t = "";
++ while(e && e.nodeName == "#text") {
++ t += e.nodeValue;
++ e = e.nextSibling;
++ }
++ return t;
++}
++
++// Returns true if the element e has a given ancestor element
++function isDescendant(e,ancestor)
++{
++ while(e) {
++ if(e === ancestor)
++ return true;
++ e = e.parentNode;
++ }
++ return false;
++}
++
++
++// deprecate the following...
++
++// Prevent an event from bubbling
++function stopEvent(e)
++{
++ var ev = e || window.event;
++ ev.cancelBubble = true;
++ if(ev.stopPropagation) ev.stopPropagation();
++ return false;
++}
++
++// Remove any event handlers or non-primitve custom attributes
++function scrubNode(e)
++{
++ if(!config.browser.isIE)
++ return;
++ var att = e.attributes;
++ if(att) {
++ var t;
++ for(t=0; t<att.length; t++) {
++ var n = att[t].name;
++ if(n !== "style" && (typeof e[n] === "function" || (typeof e[n] === "object" && e[n] != null))) {
++ try {
++ e[n] = null;
++ } catch(ex) {
++ }
++ }
++ }
++ }
++ var c = e.firstChild;
++ while(c) {
++ scrubNode(c);
++ c = c.nextSibling;
++ }
++}
++
++function setStylesheet(s,id,doc)
++{
++ jQuery.twStylesheet(s,{id:id,doc:doc});
++}
++
++function removeStyleSheet(id)
++{
++ jQuery.twStylesheet.remove({id:id});
++}
++
++//--
++//-- LoaderBase and SaverBase
++//--
++
++function LoaderBase() {}
++
++LoaderBase.prototype.loadTiddler = function(store,node,tiddlers)
++{
++ var title = this.getTitle(store,node);
++ if(safeMode && store.isShadowTiddler(title))
++ return;
++ if(title) {
++ var tiddler = store.createTiddler(title);
++ this.internalizeTiddler(store,tiddler,title,node);
++ tiddlers.push(tiddler);
++ }
++};
++
++LoaderBase.prototype.loadTiddlers = function(store,nodes)
++{
++ var t,tiddlers = [];
++ for(t = 0; t < nodes.length; t++) {
++ try {
++ this.loadTiddler(store,nodes[t],tiddlers);
++ } catch(ex) {
++ showException(ex,config.messages.tiddlerLoadError.format([this.getTitle(store,nodes[t])]));
++ }
++ }
++ return tiddlers;
++};
++
++function SaverBase() {}
++
++SaverBase.prototype.externalize = function(store)
++{
++ var results = [];
++ var t,tiddlers = store.getTiddlers("title");
++ for(t = 0; t < tiddlers.length; t++) {
++ if(!tiddlers[t].doNotSave())
++ results.push(this.externalizeTiddler(store, tiddlers[t]));
++ }
++ return results.join("\n");
++};
++
++//--
++//-- TW21Loader (inherits from LoaderBase)
++//--
++
++function TW21Loader() {}
++
++TW21Loader.prototype = new LoaderBase();
++
++TW21Loader.prototype.getTitle = function(store,node)
++{
++ var title = null;
++ if(node.getAttribute) {
++ title = node.getAttribute("title");
++ if(!title)
++ title = node.getAttribute("tiddler");
++ }
++ if(!title && node.id) {
++ var lenPrefix = store.idPrefix.length;
++ if(node.id.substr(0,lenPrefix) == store.idPrefix)
++ title = node.id.substr(lenPrefix);
++ }
++ return title;
++};
++
++TW21Loader.prototype.internalizeTiddler = function(store,tiddler,title,node)
++{
++ var e = node.firstChild;
++ var text = null;
++ if(node.getAttribute("tiddler")) {
++ text = getNodeText(e).unescapeLineBreaks();
++ } else {
++ while(e.nodeName!="PRE" && e.nodeName!="pre") {
++ e = e.nextSibling;
++ }
++ text = e.innerHTML.replace(/\r/mg,"").htmlDecode();
++ }
++ var creator = node.getAttribute("creator");
++ var modifier = node.getAttribute("modifier");
++ var c = node.getAttribute("created");
++ var m = node.getAttribute("modified");
++ var created = c ? Date.convertFromYYYYMMDDHHMMSS(c) : version.date;
++ var modified = m ? Date.convertFromYYYYMMDDHHMMSS(m) : created;
++ var tags = node.getAttribute("tags");
++ var fields = {};
++ var i,attrs = node.attributes;
++ for(i = attrs.length-1; i >= 0; i--) {
++ var name = attrs[i].name;
++ if(attrs[i].specified && !TiddlyWiki.isStandardField(name)) {
++ fields[name] = attrs[i].value.unescapeLineBreaks();
++ }
++ }
++ tiddler.assign(title,text,modifier,modified,tags,created,fields,creator);
++ return tiddler;
++};
++
++//--
++//-- TW21Saver (inherits from SaverBase)
++//--
++
++function TW21Saver() {}
++
++TW21Saver.prototype = new SaverBase();
++
++TW21Saver.prototype.externalizeTiddler = function(store,tiddler)
++{
++ try {
++ var extendedAttributes = "";
++ var usePre = config.options.chkUsePreForStorage;
++ store.forEachField(tiddler,
++ function(tiddler,fieldName,value) {
++ // don't store stuff from the temp namespace
++ if(typeof value != "string")
++ value = "";
++ if(!fieldName.match(/^temp\./))
++ extendedAttributes += ' %0="%1"'.format([fieldName,value.escapeLineBreaks().htmlEncode()]);
++ },true);
++ var created = tiddler.created;
++ var modified = tiddler.modified;
++ var attributes = tiddler.creator ? ' creator="' + tiddler.creator.htmlEncode() + '"' : "";
++ attributes += tiddler.modifier ? ' modifier="' + tiddler.modifier.htmlEncode() + '"' : "";
++ attributes += (usePre && created == version.date) ? "" :' created="' + created.convertToYYYYMMDDHHMM() + '"';
++ attributes += (usePre && modified == created) ? "" : ' modified="' + modified.convertToYYYYMMDDHHMM() +'"';
++ var tags = tiddler.getTags();
++ if(!usePre || tags)
++ attributes += ' tags="' + tags.htmlEncode() + '"';
++ return ('<div %0="%1"%2%3>%4</'+'div>').format([
++ usePre ? "title" : "tiddler",
++ tiddler.title.htmlEncode(),
++ attributes,
++ extendedAttributes,
++ usePre ? "\n<pre>" + tiddler.text.htmlEncode() + "</pre>\n" : tiddler.text.escapeLineBreaks().htmlEncode()
++ ]);
++ } catch (ex) {
++ throw exceptionText(ex,config.messages.tiddlerSaveError.format([tiddler.title]));
++ }
++};
++
++
++
++//]]>
++</script>
++
++<script id="jsdeprecatedArea" type="text/javascript">
++//<![CDATA[
++//--
++//-- Deprecated Crypto functions and associated conversion routines.
++//-- Use the jQuery.encoding functions directly instead.
++//--
++
++// Crypto 'namespace'
++function Crypto() {}
++
++// Convert a string to an array of big-endian 32-bit words
++Crypto.strToBe32s = function(str)
++{
++ return jQuery.encoding.strToBe32s(str);
++};
++
++// Convert an array of big-endian 32-bit words to a string
++Crypto.be32sToStr = function(be)
++{
++ return jQuery.encoding.be32sToStr(be);
++};
++
++// Convert an array of big-endian 32-bit words to a hex string
++Crypto.be32sToHex = function(be)
++{
++ return jQuery.encoding.be32sToHex(be);
++};
++
++// Return, in hex, the SHA-1 hash of a string
++Crypto.hexSha1Str = function(str)
++{
++ return jQuery.encoding.digests.hexSha1Str(str);
++};
++
++// Return the SHA-1 hash of a string
++Crypto.sha1Str = function(str)
++{
++ return jQuery.encoding.digests.sha1Str(str);
++};
++
++// Calculate the SHA-1 hash of an array of blen bytes of big-endian 32-bit words
++Crypto.sha1 = function(x,blen)
++{
++ return jQuery.encoding.digests.sha1(x,blen);
++};
++
++//--
++//-- Deprecated code
++//--
++
++// @Deprecated: Use createElementAndWikify and this.termRegExp instead
++config.formatterHelpers.charFormatHelper = function(w)
++{
++ w.subWikify(createTiddlyElement(w.output,this.element),this.terminator);
++};
++
++// @Deprecated: Use enclosedTextHelper and this.lookaheadRegExp instead
++config.formatterHelpers.monospacedByLineHelper = function(w)
++{
++ var lookaheadRegExp = new RegExp(this.lookahead,"mg");
++ lookaheadRegExp.lastIndex = w.matchStart;
++ var lookaheadMatch = lookaheadRegExp.exec(w.source);
++ if(lookaheadMatch && lookaheadMatch.index == w.matchStart) {
++ var text = lookaheadMatch[1];
++ if(config.browser.isIE)
++ text = text.replace(/\n/g,"\r");
++ createTiddlyElement(w.output,"pre",null,null,text);
++ w.nextMatch = lookaheadRegExp.lastIndex;
++ }
++};
++
++// @Deprecated: Use <br> or <br /> instead of <<br>>
++config.macros.br = {};
++config.macros.br.handler = function(place)
++{
++ createTiddlyElement(place,"br");
++};
++
++// Find an entry in an array. Returns the array index or null
++// @Deprecated: Use indexOf instead
++Array.prototype.find = function(item)
++{
++ var i = this.indexOf(item);
++ return i == -1 ? null : i;
++};
++
++// Load a tiddler from an HTML DIV. The caller should make sure to later call Tiddler.changed()
++// @Deprecated: Use store.getLoader().internalizeTiddler instead
++Tiddler.prototype.loadFromDiv = function(divRef,title)
++{
++ return store.getLoader().internalizeTiddler(store,this,title,divRef);
++};
++
++// Format the text for storage in an HTML DIV
++// @Deprecated Use store.getSaver().externalizeTiddler instead.
++Tiddler.prototype.saveToDiv = function()
++{
++ return store.getSaver().externalizeTiddler(store,this);
++};
++
++// @Deprecated: Use store.allTiddlersAsHtml() instead
++function allTiddlersAsHtml()
++{
++ return store.allTiddlersAsHtml();
++}
++
++// @Deprecated: Use refreshPageTemplate instead
++function applyPageTemplate(title)
++{
++ refreshPageTemplate(title);
++}
++
++// @Deprecated: Use story.displayTiddlers instead
++function displayTiddlers(srcElement,titles,template,unused1,unused2,animate,unused3)
++{
++ story.displayTiddlers(srcElement,titles,template,animate);
++}
++
++// @Deprecated: Use story.displayTiddler instead
++function displayTiddler(srcElement,title,template,unused1,unused2,animate,unused3)
++{
++ story.displayTiddler(srcElement,title,template,animate);
++}
++
++// @Deprecated: Use functions on right hand side directly instead
++var createTiddlerPopup = Popup.create;
++var scrollToTiddlerPopup = Popup.show;
++var hideTiddlerPopup = Popup.remove;
++
++// @Deprecated: Use right hand side directly instead
++var regexpBackSlashEn = new RegExp("\\\\n","mg");
++var regexpBackSlash = new RegExp("\\\\","mg");
++var regexpBackSlashEss = new RegExp("\\\\s","mg");
++var regexpNewLine = new RegExp("\n","mg");
++var regexpCarriageReturn = new RegExp("\r","mg");
++
++//--
++//-- Deprecated FileAdaptor functions
++//--
++
++FileAdaptor.loadTiddlyWikiCallback = function(status,context,responseText,url,xhr)
++{
++ context.status = status;
++ if(!status) {
++ context.statusText = "Error reading file";
++ } else {
++ context.adaptor.store = new TiddlyWiki();
++ if(!context.adaptor.store.importTiddlyWiki(responseText)) {
++ context.statusText = config.messages.invalidFileError.format([url]);
++ context.status = false;
++ }
++ }
++ context.complete(context,context.userParams);
++};
++
++//--
++//-- Deprecated HTTP request code
++//-- Use the jQuery ajax functions directly instead
++//--
++
++function loadRemoteFile(url,callback,params)
++{
++ return httpReq("GET",url,callback,params);
++}
++
++function doHttp(type,url,data,contentType,username,password,callback,params,headers,allowCache)
++{
++ return httpReq(type,url,callback,params,headers,data,contentType,username,password,allowCache);
++}
++
++//--
++//-- Deprecated String functions
++//--
++
++// @Deprecated: no direct replacement, since not used in core code
++String.prototype.toJSONString = function()
++{
++ // Convert a string to it's JSON representation by encoding control characters, double quotes and backslash. See json.org
++ var m = {
++ '\b': '\\b',
++ '\f': '\\f',
++ '\n': '\\n',
++ '\r': '\\r',
++ '\t': '\\t',
++ '"' : '\\"',
++ '\\': '\\\\'
++ };
++ var replaceFn = function(a,b) {
++ var c = m[b];
++ if(c)
++ return c;
++ c = b.charCodeAt();
++ return '\\u00' + Math.floor(c / 16).toString(16) + (c % 16).toString(16);
++ };
++ if(/["\\\x00-\x1f]/.test(this))
++ return '"' + this.replace(/([\x00-\x1f\\"])/g,replaceFn) + '"';
++ return '"' + this + '"';
++};
++
++//--
++//-- Deprecated Tiddler code
++//--
++
++// @Deprecated: Use tiddlerToRssItem(tiddler,uri) instead
++Tiddler.prototype.toRssItem = function(uri)
++{
++ return tiddlerToRssItem(this,uri);
++};
++
++// @Deprecated: Use "<item>\n" + tiddlerToRssItem(tiddler,uri) + "\n</item>" instead
++Tiddler.prototype.saveToRss = function(uri)
++{
++ return "<item>\n" + tiddlerToRssItem(this,uri) + "\n</item>";
++};
++
++// @Deprecated: Use jQuery.encoding.digests.hexSha1Str instead
++Tiddler.prototype.generateFingerprint = function()
++{
++ return "0x" + Crypto.hexSha1Str(this.text);
++};
++
++//--
++//-- Deprecated Number functions
++//--
++
++// @Deprecated: no direct replacement, since not used in core code
++// Clamp a number to a range
++Number.prototype.clamp = function(min,max)
++{
++ var c = this;
++ if(c < min)
++ c = min;
++ if(c > max)
++ c = max;
++ return Number(c);
++};
++
++//--
++//-- Deprecated utility functions
++//-- Use the jQuery functions directly instead
++//--
++
++// Remove all children of a node
++function removeChildren(e)
++{
++ jQuery(e).empty();
++}
++
++// Remove a node and all it's children
++function removeNode(e)
++{
++ jQuery(e).remove();
++}
++
++// Return the content of an element as plain text with no formatting
++function getPlainText(e)
++{
++ return jQuery(e).text();
++}
++
++function addClass(e,className)
++{
++ jQuery(e).addClass(className);
++}
++
++function removeClass(e,className)
++{
++ jQuery(e).removeClass(className);
++}
++
++function hasClass(e,className)
++{
++ return jQuery(e).hasClass(className);
++}
++
++//--
++//-- Deprecated Wikifier code
++//--
++
++function wikifyPlain(title,theStore,limit)
++{
++ if(!theStore)
++ theStore = store;
++ if(theStore.tiddlerExists(title) || theStore.isShadowTiddler(title)) {
++ return wikifyPlainText(theStore.getTiddlerText(title),limit,tiddler);
++ } else {
++ return "";
++ }
++}
++
++
++//]]>
++</script>
++<script id="jslibArea" type="text/javascript">
++//<![CDATA[
++/*! jQuery v1.8.3 jquery.com | jquery.org/license */
++(function(e,t){function _(e){var t=M[e]={};return v.each(e.split(y),function(e,n){t[n]=!0}),t}function H(e,n,r){if(r===t&&e.nodeType===1){var i="data-"+n.replace(P,"-$1").toLowerCase();r=e.getAttribute(i);if(typeof r=="string"){try{r=r==="true"?!0:r==="false"?!1:r==="null"?null:+r+""===r?+r:D.test(r)?v.parseJSON(r):r}catch(s){}v.data(e,n,r)}else r=t}return r}function B(e){var t;for(t in e){if(t==="data"&&v.isEmptyObject(e[t]))continue;if(t!=="toJSON")return!1}return!0}function et(){return!1}function tt(){return!0}function ut(e){return!e||!e.parentNode||e.parentNode.nodeType===11}function at(e,t){do e=e[t];while(e&&e.nodeType!==1);return e}function ft(e,t,n){t=t||0;if(v.isFunction(t))return v.grep(e,function(e,r){var i=!!t.call(e,r,e);return i===n});if(t.nodeType)return v.grep(e,function(e,r){return e===t===n});if(typeof t=="string"){var r=v.grep(e,function(e){return e.nodeType===1});if(it.test(t))return v.filter(t,r,!n);t=v.filter(t,r)}return v.grep(e,function(e,r){return v.inArray(e,t)>=0===n})}function lt(e){var t=ct.split("|"),n=e.createDocumentFragment();if(n.createElement)while(t.length)n.createElement(t.pop());return n}function Lt(e,t){return e.getElementsByTagName(t)[0]||e.appendChild(e.ownerDocument.createElement(t))}function At(e,t){if(t.nodeType!==1||!v.hasData(e))return;var n,r,i,s=v._data(e),o=v._data(t,s),u=s.events;if(u){delete o.handle,o.events={};for(n in u)for(r=0,i=u[n].length;r<i;r++)v.event.add(t,n,u[n][r])}o.data&&(o.data=v.extend({},o.data))}function Ot(e,t){var n;if(t.nodeType!==1)return;t.clearAttributes&&t.clearAttributes(),t.mergeAttributes&&t.mergeAttributes(e),n=t.nodeName.toLowerCase(),n==="object"?(t.parentNode&&(t.outerHTML=e.outerHTML),v.support.html5Clone&&e.innerHTML&&!v.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):n==="input"&&Et.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):n==="option"?t.selected=e.defaultSelected:n==="input"||n==="textarea"?t.defaultValue=e.defaultValue:n==="script"&&t.text!==e.text&&(t.text=e.text),t.removeAttribute(v.expando)}function Mt(e){return typeof e.getElementsByTagName!="undefined"?e.getElementsByTagName("*"):typeof e.querySelectorAll!="undefined"?e.querySelectorAll("*"):[]}function _t(e){Et.test(e.type)&&(e.defaultChecked=e.checked)}function Qt(e,t){if(t in e)return t;var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=Jt.length;while(i--){t=Jt[i]+n;if(t in e)return t}return r}function Gt(e,t){return e=t||e,v.css(e,"display")==="none"||!v.contains(e.ownerDocument,e)}function Yt(e,t){var n,r,i=[],s=0,o=e.length;for(;s<o;s++){n=e[s];if(!n.style)continue;i[s]=v._data(n,"olddisplay"),t?(!i[s]&&n.style.display==="none"&&(n.style.display=""),n.style.display===""&&Gt(n)&&(i[s]=v._data(n,"olddisplay",nn(n.nodeName)))):(r=Dt(n,"display"),!i[s]&&r!=="none"&&v._data(n,"olddisplay",r))}for(s=0;s<o;s++){n=e[s];if(!n.style)continue;if(!t||n.style.display==="none"||n.style.display==="")n.style.display=t?i[s]||"":"none"}return e}function Zt(e,t,n){var r=Rt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function en(e,t,n,r){var i=n===(r?"border":"content")?4:t==="width"?1:0,s=0;for(;i<4;i+=2)n==="margin"&&(s+=v.css(e,n+$t[i],!0)),r?(n==="content"&&(s-=parseFloat(Dt(e,"padding"+$t[i]))||0),n!=="margin"&&(s-=parseFloat(Dt(e,"border"+$t[i]+"Width"))||0)):(s+=parseFloat(Dt(e,"padding"+$t[i]))||0,n!=="padding"&&(s+=parseFloat(Dt(e,"border"+$t[i]+"Width"))||0));return s}function tn(e,t,n){var r=t==="width"?e.offsetWidth:e.offsetHeight,i=!0,s=v.support.boxSizing&&v.css(e,"boxSizing")==="border-box";if(r<=0||r==null){r=Dt(e,t);if(r<0||r==null)r=e.style[t];if(Ut.test(r))return r;i=s&&(v.support.boxSizingReliable||r===e.style[t]),r=parseFloat(r)||0}return r+en(e,t,n||(s?"border":"content"),i)+"px"}function nn(e){if(Wt[e])return Wt[e];var t=v("<"+e+">").appendTo(i.body),n=t.css("display");t.remove();if(n==="none"||n===""){Pt=i.body.appendChild(Pt||v.extend(i.createElement("iframe"),{frameBorder:0,width:0,height:0}));if(!Ht||!Pt.createElement)Ht=(Pt.contentWindow||Pt.contentDocument).document,Ht.write("<!doctype html><html><body>"),Ht.close();t=Ht.body.appendChild(Ht.createElement(e)),n=Dt(t,"display"),i.body.removeChild(Pt)}return Wt[e]=n,n}function fn(e,t,n,r){var i;if(v.isArray(t))v.each(t,function(t,i){n||sn.test(e)?r(e,i):fn(e+"["+(typeof i=="object"?t:"")+"]",i,n,r)});else if(!n&&v.type(t)==="object")for(i in t)fn(e+"["+i+"]",t[i],n,r);else r(e,t)}function Cn(e){return function(t,n){typeof t!="string"&&(n=t,t="*");var r,i,s,o=t.toLowerCase().split(y),u=0,a=o.length;if(v.isFunction(n))for(;u<a;u++)r=o[u],s=/^\+/.test(r),s&&(r=r.substr(1)||"*"),i=e[r]=e[r]||[],i[s?"unshift":"push"](n)}}function kn(e,n,r,i,s,o){s=s||n.dataTypes[0],o=o||{},o[s]=!0;var u,a=e[s],f=0,l=a?a.length:0,c=e===Sn;for(;f<l&&(c||!u);f++)u=a[f](n,r,i),typeof u=="string"&&(!c||o[u]?u=t:(n.dataTypes.unshift(u),u=kn(e,n,r,i,u,o)));return(c||!u)&&!o["*"]&&(u=kn(e,n,r,i,"*",o)),u}function Ln(e,n){var r,i,s=v.ajaxSettings.flatOptions||{};for(r in n)n[r]!==t&&((s[r]?e:i||(i={}))[r]=n[r]);i&&v.extend(!0,e,i)}function An(e,n,r){var i,s,o,u,a=e.contents,f=e.dataTypes,l=e.responseFields;for(s in l)s in r&&(n[l[s]]=r[s]);while(f[0]==="*")f.shift(),i===t&&(i=e.mimeType||n.getResponseHeader("content-type"));if(i)for(s in a)if(a[s]&&a[s].test(i)){f.unshift(s);break}if(f[0]in r)o=f[0];else{for(s in r){if(!f[0]||e.converters[s+" "+f[0]]){o=s;break}u||(u=s)}o=o||u}if(o)return o!==f[0]&&f.unshift(o),r[o]}function On(e,t){var n,r,i,s,o=e.dataTypes.slice(),u=o[0],a={},f=0;e.dataFilter&&(t=e.dataFilter(t,e.dataType));if(o[1])for(n in e.converters)a[n.toLowerCase()]=e.converters[n];for(;i=o[++f];)if(i!=="*"){if(u!=="*"&&u!==i){n=a[u+" "+i]||a["* "+i];if(!n)for(r in a){s=r.split(" ");if(s[1]===i){n=a[u+" "+s[0]]||a["* "+s[0]];if(n){n===!0?n=a[r]:a[r]!==!0&&(i=s[0],o.splice(f--,0,i));break}}}if(n!==!0)if(n&&e["throws"])t=n(t);else try{t=n(t)}catch(l){return{state:"parsererror",error:n?l:"No conversion from "+u+" to "+i}}}u=i}return{state:"success",data:t}}function Fn(){try{return new e.XMLHttpRequest}catch(t){}}function In(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}function $n(){return setTimeout(function(){qn=t},0),qn=v.now()}function Jn(e,t){v.each(t,function(t,n){var r=(Vn[t]||[]).concat(Vn["*"]),i=0,s=r.length;for(;i<s;i++)if(r[i].call(e,t,n))return})}function Kn(e,t,n){var r,i=0,s=0,o=Xn.length,u=v.Deferred().always(function(){delete a.elem}),a=function(){var t=qn||$n(),n=Math.max(0,f.startTime+f.duration-t),r=n/f.duration||0,i=1-r,s=0,o=f.tweens.length;for(;s<o;s++)f.tweens[s].run(i);return u.notifyWith(e,[f,i,n]),i<1&&o?n:(u.resolveWith(e,[f]),!1)},f=u.promise({elem:e,props:v.extend({},t),opts:v.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:qn||$n(),duration:n.duration,tweens:[],createTween:function(t,n,r){var i=v.Tween(e,f.opts,t,n,f.opts.specialEasing[t]||f.opts.easing);return f.tweens.push(i),i},stop:function(t){var n=0,r=t?f.tweens.length:0;for(;n<r;n++)f.tweens[n].run(1);return t?u.resolveWith(e,[f,t]):u.rejectWith(e,[f,t]),this}}),l=f.props;Qn(l,f.opts.specialEasing);for(;i<o;i++){r=Xn[i].call(f,e,l,f.opts);if(r)return r}return Jn(f,l),v.isFunction(f.opts.start)&&f.opts.start.call(e,f),v.fx.timer(v.extend(a,{anim:f,queue:f.opts.queue,elem:e})),f.progress(f.opts.progress).done(f.opts.done,f.opts.complete).fail(f.opts.fail).always(f.opts.always)}function Qn(e,t){var n,r,i,s,o;for(n in e){r=v.camelCase(n),i=t[r],s=e[n],v.isArray(s)&&(i=s[1],s=e[n]=s[0]),n!==r&&(e[r]=s,delete e[n]),o=v.cssHooks[r];if(o&&"expand"in o){s=o.expand(s),delete e[r];for(n in s)n in e||(e[n]=s[n],t[n]=i)}else t[r]=i}}function Gn(e,t,n){var r,i,s,o,u,a,f,l,c,h=this,p=e.style,d={},m=[],g=e.nodeType&&Gt(e);n.queue||(l=v._queueHooks(e,"fx"),l.unqueued==null&&(l.unqueued=0,c=l.empty.fire,l.empty.fire=function(){l.unqueued||c()}),l.unqueued++,h.always(function(){h.always(function(){l.unqueued--,v.queue(e,"fx").length||l.empty.fire()})})),e.nodeType===1&&("height"in t||"width"in t)&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],v.css(e,"display")==="inline"&&v.css(e,"float")==="none"&&(!v.support.inlineBlockNeedsLayout||nn(e.nodeName)==="inline"?p.display="inline-block":p.zoom=1)),n.overflow&&(p.overflow="hidden",v.support.shrinkWrapBlocks||h.done(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}));for(r in t){s=t[r];if(Un.exec(s)){delete t[r],a=a||s==="toggle";if(s===(g?"hide":"show"))continue;m.push(r)}}o=m.length;if(o){u=v._data(e,"fxshow")||v._data(e,"fxshow",{}),"hidden"in u&&(g=u.hidden),a&&(u.hidden=!g),g?v(e).show():h.done(function(){v(e).hide()}),h.done(function(){var t;v.removeData(e,"fxshow",!0);for(t in d)v.style(e,t,d[t])});for(r=0;r<o;r++)i=m[r],f=h.createTween(i,g?u[i]:0),d[i]=u[i]||v.style(e,i),i in u||(u[i]=f.start,g&&(f.end=f.start,f.start=i==="width"||i==="height"?1:0))}}function Yn(e,t,n,r,i){return new Yn.prototype.init(e,t,n,r,i)}function Zn(e,t){var n,r={height:e},i=0;t=t?1:0;for(;i<4;i+=2-t)n=$t[i],r["margin"+n]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function tr(e){return v.isWindow(e)?e:e.nodeType===9?e.defaultView||e.parentWindow:!1}var n,r,i=e.document,s=e.location,o=e.navigator,u=e.jQuery,a=e.$,f=Array.prototype.push,l=Array.prototype.slice,c=Array.prototype.indexOf,h=Object.prototype.toString,p=Object.prototype.hasOwnProperty,d=String.prototype.trim,v=function(e,t){return new v.fn.init(e,t,n)},m=/[\-+]?(?:\d*\.|)\d+(?:[eE][\-+]?\d+|)/.source,g=/\S/,y=/\s+/,b=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,w=/^(?:[^#<]*(<[\w\W]+>)[^>]*$|#([\w\-]*)$)/,E=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,S=/^[\],:{}\s]*$/,x=/(?:^|:|,)(?:\s*\[)+/g,T=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,N=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,C=/^-ms-/,k=/-([\da-z])/gi,L=function(e,t){return(t+"").toUpperCase()},A=function(){i.addEventListener?(i.removeEventListener("DOMContentLoaded",A,!1),v.ready()):i.readyState==="complete"&&(i.detachEvent("onreadystatechange",A),v.ready())},O={};v.fn=v.prototype={constructor:v,init:function(e,n,r){var s,o,u,a;if(!e)return this;if(e.nodeType)return this.context=this[0]=e,this.length=1,this;if(typeof e=="string"){e.charAt(0)==="<"&&e.charAt(e.length-1)===">"&&e.length>=3?s=[null,e,null]:s=w.exec(e);if(s&&(s[1]||!n)){if(s[1])return n=n instanceof v?n[0]:n,a=n&&n.nodeType?n.ownerDocument||n:i,e=v.parseHTML(s[1],a,!0),E.test(s[1])&&v.isPlainObject(n)&&this.attr.call(e,n,!0),v.merge(this,e);o=i.getElementById(s[2]);if(o&&o.parentNode){if(o.id!==s[2])return r.find(e);this.length=1,this[0]=o}return this.context=i,this.selector=e,this}return!n||n.jquery?(n||r).find(e):this.constructor(n).find(e)}return v.isFunction(e)?r.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),v.makeArray(e,this))},selector:"",jquery:"1.8.3",length:0,size:function(){return this.length},toArray:function(){return l.call(this)},get:function(e){return e==null?this.toArray():e<0?this[this.length+e]:this[e]},pushStack:function(e,t,n){var r=v.merge(this.constructor(),e);return r.prevObject=this,r.context=this.context,t==="find"?r.selector=this.selector+(this.selector?" ":"")+n:t&&(r.selector=this.selector+"."+t+"("+n+")"),r},each:function(e,t){return v.each(this,e,t)},ready:function(e){return v.ready.promise().done(e),this},eq:function(e){return e=+e,e===-1?this.slice(e):this.slice(e,e+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(l.apply(this,arguments),"slice",l.call(arguments).join(","))},map:function(e){return this.pushStack(v.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:f,sort:[].sort,splice:[].splice},v.fn.init.prototype=v.fn,v.extend=v.fn.extend=function(){var e,n,r,i,s,o,u=arguments[0]||{},a=1,f=arguments.length,l=!1;typeof u=="boolean"&&(l=u,u=arguments[1]||{},a=2),typeof u!="object"&&!v.isFunction(u)&&(u={}),f===a&&(u=this,--a);for(;a<f;a++)if((e=arguments[a])!=null)for(n in e){r=u[n],i=e[n];if(u===i)continue;l&&i&&(v.isPlainObject(i)||(s=v.isArray(i)))?(s?(s=!1,o=r&&v.isArray(r)?r:[]):o=r&&v.isPlainObject(r)?r:{},u[n]=v.extend(l,o,i)):i!==t&&(u[n]=i)}return u},v.extend({noConflict:function(t){return e.$===v&&(e.$=a),t&&e.jQuery===v&&(e.jQuery=u),v},isReady:!1,readyWait:1,holdReady:function(e){e?v.readyWait++:v.ready(!0)},ready:function(e){if(e===!0?--v.readyWait:v.isReady)return;if(!i.body)return setTimeout(v.ready,1);v.isReady=!0;if(e!==!0&&--v.readyWait>0)return;r.resolveWith(i,[v]),v.fn.trigger&&v(i).trigger("ready").off("ready")},isFunction:function(e){return v.type(e)==="function"},isArray:Array.isArray||function(e){return v.type(e)==="array"},isWindow:function(e){return e!=null&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return e==null?String(e):O[h.call(e)]||"object"},isPlainObject:function(e){if(!e||v.type(e)!=="object"||e.nodeType||v.isWindow(e))return!1;try{if(e.constructor&&!p.call(e,"constructor")&&!p.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}var r;for(r in e);return r===t||p.call(e,r)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw new Error(e)},parseHTML:function(e,t,n){var r;return!e||typeof e!="string"?null:(typeof t=="boolean"&&(n=t,t=0),t=t||i,(r=E.exec(e))?[t.createElement(r[1])]:(r=v.buildFragment([e],t,n?null:[]),v.merge([],(r.cacheable?v.clone(r.fragment):r.fragment).childNodes)))},parseJSON:function(t){if(!t||typeof t!="string")return null;t=v.trim(t);if(e.JSON&&e.JSON.parse)return e.JSON.parse(t);if(S.test(t.replace(T,"@").replace(N,"]").replace(x,"")))return(new Function("return "+t))();v.error("Invalid JSON: "+t)},parseXML:function(n){var r,i;if(!n||typeof n!="string")return null;try{e.DOMParser?(i=new DOMParser,r=i.parseFromString(n,"text/xml")):(r=new ActiveXObject("Microsoft.XMLDOM"),r.async="false",r.loadXML(n))}catch(s){r=t}return(!r||!r.documentElement||r.getElementsByTagName("parsererror").length)&&v.error("Invalid XML: "+n),r},noop:function(){},globalEval:function(t){t&&g.test(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(C,"ms-").replace(k,L)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,n,r){var i,s=0,o=e.length,u=o===t||v.isFunction(e);if(r){if(u){for(i in e)if(n.apply(e[i],r)===!1)break}else for(;s<o;)if(n.apply(e[s++],r)===!1)break}else if(u){for(i in e)if(n.call(e[i],i,e[i])===!1)break}else for(;s<o;)if(n.call(e[s],s,e[s++])===!1)break;return e},trim:d&&!d.call("\ufeff\u00a0")?function(e){return e==null?"":d.call(e)}:function(e){return e==null?"":(e+"").replace(b,"")},makeArray:function(e,t){var n,r=t||[];return e!=null&&(n=v.type(e),e.length==null||n==="string"||n==="function"||n==="regexp"||v.isWindow(e)?f.call(r,e):v.merge(r,e)),r},inArray:function(e,t,n){var r;if(t){if(c)return c.call(t,e,n);r=t.length,n=n?n<0?Math.max(0,r+n):n:0;for(;n<r;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,n){var r=n.length,i=e.length,s=0;if(typeof r=="number")for(;s<r;s++)e[i++]=n[s];else while(n[s]!==t)e[i++]=n[s++];return e.length=i,e},grep:function(e,t,n){var r,i=[],s=0,o=e.length;n=!!n;for(;s<o;s++)r=!!t(e[s],s),n!==r&&i.push(e[s]);return i},map:function(e,n,r){var i,s,o=[],u=0,a=e.length,f=e instanceof v||a!==t&&typeof a=="number"&&(a>0&&e[0]&&e[a-1]||a===0||v.isArray(e));if(f)for(;u<a;u++)i=n(e[u],u,r),i!=null&&(o[o.length]=i);else for(s in e)i=n(e[s],s,r),i!=null&&(o[o.length]=i);return o.concat.apply([],o)},guid:1,proxy:function(e,n){var r,i,s;return typeof n=="string"&&(r=e[n],n=e,e=r),v.isFunction(e)?(i=l.call(arguments,2),s=function(){return e.apply(n,i.concat(l.call(arguments)))},s.guid=e.guid=e.guid||v.guid++,s):t},access:function(e,n,r,i,s,o,u){var a,f=r==null,l=0,c=e.length;if(r&&typeof r=="object"){for(l in r)v.access(e,n,l,r[l],1,o,i);s=1}else if(i!==t){a=u===t&&v.isFunction(i),f&&(a?(a=n,n=function(e,t,n){return a.call(v(e),n)}):(n.call(e,i),n=null));if(n)for(;l<c;l++)n(e[l],r,a?i.call(e[l],l,n(e[l],r)):i,u);s=1}return s?e:f?n.call(e):c?n(e[0],r):o},now:function(){return(new Date).getTime()}}),v.ready.promise=function(t){if(!r){r=v.Deferred();if(i.readyState==="complete")setTimeout(v.ready,1);else if(i.addEventListener)i.addEventListener("DOMContentLoaded",A,!1),e.addEventListener("load",v.ready,!1);else{i.attachEvent("onreadystatechange",A),e.attachEvent("onload",v.ready);var n=!1;try{n=e.frameElement==null&&i.documentElement}catch(s){}n&&n.doScroll&&function o(){if(!v.isReady){try{n.doScroll("left")}catch(e){return setTimeout(o,50)}v.ready()}}()}}return r.promise(t)},v.each("Boolean Number String Function Array Date RegExp Object".split(" "),function(e,t){O["[object "+t+"]"]=t.toLowerCase()}),n=v(i);var M={};v.Callbacks=function(e){e=typeof e=="string"?M[e]||_(e):v.extend({},e);var n,r,i,s,o,u,a=[],f=!e.once&&[],l=function(t){n=e.memory&&t,r=!0,u=s||0,s=0,o=a.length,i=!0;for(;a&&u<o;u++)if(a[u].apply(t[0],t[1])===!1&&e.stopOnFalse){n=!1;break}i=!1,a&&(f?f.length&&l(f.shift()):n?a=[]:c.disable())},c={add:function(){if(a){var t=a.length;(function r(t){v.each(t,function(t,n){var i=v.type(n);i==="function"?(!e.unique||!c.has(n))&&a.push(n):n&&n.length&&i!=="string"&&r(n)})})(arguments),i?o=a.length:n&&(s=t,l(n))}return this},remove:function(){return a&&v.each(arguments,function(e,t){var n;while((n=v.inArray(t,a,n))>-1)a.splice(n,1),i&&(n<=o&&o--,n<=u&&u--)}),this},has:function(e){return v.inArray(e,a)>-1},empty:function(){return a=[],this},disable:function(){return a=f=n=t,this},disabled:function(){return!a},lock:function(){return f=t,n||c.disable(),this},locked:function(){return!f},fireWith:function(e,t){return t=t||[],t=[e,t.slice?t.slice():t],a&&(!r||f)&&(i?f.push(t):l(t)),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},v.extend({Deferred:function(e){var t=[["resolve","done",v.Callbacks("once memory"),"resolved"],["reject","fail",v.Callbacks("once memory"),"rejected"],["notify","progress",v.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return v.Deferred(function(n){v.each(t,function(t,r){var s=r[0],o=e[t];i[r[1]](v.isFunction(o)?function(){var e=o.apply(this,arguments);e&&v.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[s+"With"](this===i?n:this,[e])}:n[s])}),e=null}).promise()},promise:function(e){return e!=null?v.extend(e,r):r}},i={};return r.pipe=r.then,v.each(t,function(e,s){var o=s[2],u=s[3];r[s[1]]=o.add,u&&o.add(function(){n=u},t[e^1][2].disable,t[2][2].lock),i[s[0]]=o.fire,i[s[0]+"With"]=o.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t=0,n=l.call(arguments),r=n.length,i=r!==1||e&&v.isFunction(e.promise)?r:0,s=i===1?e:v.Deferred(),o=function(e,t,n){return function(r){t[e]=this,n[e]=arguments.length>1?l.call(arguments):r,n===u?s.notifyWith(t,n):--i||s.resolveWith(t,n)}},u,a,f;if(r>1){u=new Array(r),a=new Array(r),f=new Array(r);for(;t<r;t++)n[t]&&v.isFunction(n[t].promise)?n[t].promise().done(o(t,f,n)).fail(s.reject).progress(o(t,a,u)):--i}return i||s.resolveWith(f,n),s.promise()}}),v.support=function(){var t,n,r,s,o,u,a,f,l,c,h,p=i.createElement("div");p.setAttribute("className","t"),p.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",n=p.getElementsByTagName("*"),r=p.getElementsByTagName("a")[0];if(!n||!r||!n.length)return{};s=i.createElement("select"),o=s.appendChild(i.createElement("option")),u=p.getElementsByTagName("input")[0],r.style.cssText="top:1px;float:left;opacity:.5",t={leadingWhitespace:p.firstChild.nodeType===3,tbody:!p.getElementsByTagName("tbody").length,htmlSerialize:!!p.getElementsByTagName("link").length,style:/top/.test(r.getAttribute("style")),hrefNormalized:r.getAttribute("href")==="/a",opacity:/^0.5/.test(r.style.opacity),cssFloat:!!r.style.cssFloat,checkOn:u.value==="on",optSelected:o.selected,getSetAttribute:p.className!=="t",enctype:!!i.createElement("form").enctype,html5Clone:i.createElement("nav").cloneNode(!0).outerHTML!=="<:nav></:nav>",boxModel:i.compatMode==="CSS1Compat",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},u.checked=!0,t.noCloneChecked=u.cloneNode(!0).checked,s.disabled=!0,t.optDisabled=!o.disabled;try{delete p.test}catch(d){t.deleteExpando=!1}!p.addEventListener&&p.attachEvent&&p.fireEvent&&(p.attachEvent("onclick",h=function(){t.noCloneEvent=!1}),p.cloneNode(!0).fireEvent("onclick"),p.detachEvent("onclick",h)),u=i.createElement("input"),u.value="t",u.setAttribute("type","radio"),t.radioValue=u.value==="t",u.setAttribute("checked","checked"),u.setAttribute("name","t"),p.appendChild(u),a=i.createDocumentFragment(),a.appendChild(p.lastChild),t.checkClone=a.cloneNode(!0).cloneNode(!0).lastChild.checked,t.appendChecked=u.checked,a.removeChild(u),a.appendChild(p);if(p.attachEvent)for(l in{submit:!0,change:!0,focusin:!0})f="on"+l,c=f in p,c||(p.setAttribute(f,"return;"),c=typeof p[f]=="function"),t[l+"Bubbles"]=c;return v(function(){var n,r,s,o,u="padding:0;margin:0;border:0;display:block;overflow:hidden;",a=i.getElementsByTagName("body")[0];if(!a)return;n=i.createElement("div"),n.style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px",a.insertBefore(n,a.firstChild),r=i.createElement("div"),n.appendChild(r),r.innerHTML="<table><tr><td></td><td>t</td></tr></table>",s=r.getElementsByTagName("td"),s[0].style.cssText="padding:0;margin:0;border:0;display:none",c=s[0].offsetHeight===0,s[0].style.display="",s[1].style.display="none",t.reliableHiddenOffsets=c&&s[0].offsetHeight===0,r.innerHTML="",r.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",t.boxSizing=r.offsetWidth===4,t.doesNotIncludeMarginInBodyOffset=a.offsetTop!==1,e.getComputedStyle&&(t.pixelPosition=(e.getComputedStyle(r,null)||{}).top!=="1%",t.boxSizingReliable=(e.getComputedStyle(r,null)||{width:"4px"}).width==="4px",o=i.createElement("div"),o.style.cssText=r.style.cssText=u,o.style.marginRight=o.style.width="0",r.style.width="1px",r.appendChild(o),t.reliableMarginRight=!parseFloat((e.getComputedStyle(o,null)||{}).marginRight)),typeof r.style.zoom!="undefined"&&(r.innerHTML="",r.style.cssText=u+"width:1px;padding:1px;display:inline;zoom:1",t.inlineBlockNeedsLayout=r.offsetWidth===3,r.style.display="block",r.style.overflow="visible",r.innerHTML="<div></div>",r.firstChild.style.width="5px",t.shrinkWrapBlocks=r.offsetWidth!==3,n.style.zoom=1),a.removeChild(n),n=r=s=o=null}),a.removeChild(p),n=r=s=o=u=a=p=null,t}();var D=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,P=/([A-Z])/g;v.extend({cache:{},deletedIds:[],uuid:0,expando:"jQuery"+(v.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(e){return e=e.nodeType?v.cache[e[v.expando]]:e[v.expando],!!e&&!B(e)},data:function(e,n,r,i){if(!v.acceptData(e))return;var s,o,u=v.expando,a=typeof n=="string",f=e.nodeType,l=f?v.cache:e,c=f?e[u]:e[u]&&u;if((!c||!l[c]||!i&&!l[c].data)&&a&&r===t)return;c||(f?e[u]=c=v.deletedIds.pop()||v.guid++:c=u),l[c]||(l[c]={},f||(l[c].toJSON=v.noop));if(typeof n=="object"||typeof n=="function")i?l[c]=v.extend(l[c],n):l[c].data=v.extend(l[c].data,n);return s=l[c],i||(s.data||(s.data={}),s=s.data),r!==t&&(s[v.camelCase(n)]=r),a?(o=s[n],o==null&&(o=s[v.camelCase(n)])):o=s,o},removeData:function(e,t,n){if(!v.acceptData(e))return;var r,i,s,o=e.nodeType,u=o?v.cache:e,a=o?e[v.expando]:v.expando;if(!u[a])return;if(t){r=n?u[a]:u[a].data;if(r){v.isArray(t)||(t in r?t=[t]:(t=v.camelCase(t),t in r?t=[t]:t=t.split(" ")));for(i=0,s=t.length;i<s;i++)delete r[t[i]];if(!(n?B:v.isEmptyObject)(r))return}}if(!n){delete u[a].data;if(!B(u[a]))return}o?v.cleanData([e],!0):v.support.deleteExpando||u!=u.window?delete u[a]:u[a]=null},_data:function(e,t,n){return v.data(e,t,n,!0)},acceptData:function(e){var t=e.nodeName&&v.noData[e.nodeName.toLowerCase()];return!t||t!==!0&&e.getAttribute("classid")===t}}),v.fn.extend({data:function(e,n){var r,i,s,o,u,a=this[0],f=0,l=null;if(e===t){if(this.length){l=v.data(a);if(a.nodeType===1&&!v._data(a,"parsedAttrs")){s=a.attributes;for(u=s.length;f<u;f++)o=s[f].name,o.indexOf("data-")||(o=v.camelCase(o.substring(5)),H(a,o,l[o]));v._data(a,"parsedAttrs",!0)}}return l}return typeof e=="object"?this.each(function(){v.data(this,e)}):(r=e.split(".",2),r[1]=r[1]?"."+r[1]:"",i=r[1]+"!",v.access(this,function(n){if(n===t)return l=this.triggerHandler("getData"+i,[r[0]]),l===t&&a&&(l=v.data(a,e),l=H(a,e,l)),l===t&&r[1]?this.data(r[0]):l;r[1]=n,this.each(function(){var t=v(this);t.triggerHandler("setData"+i,r),v.data(this,e,n),t.triggerHandler("changeData"+i,r)})},null,n,arguments.length>1,null,!1))},removeData:function(e){return this.each(function(){v.removeData(this,e)})}}),v.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=v._data(e,t),n&&(!r||v.isArray(n)?r=v._data(e,t,v.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=v.queue(e,t),r=n.length,i=n.shift(),s=v._queueHooks(e,t),o=function(){v.dequeue(e,t)};i==="inprogress"&&(i=n.shift(),r--),i&&(t==="fx"&&n.unshift("inprogress"),delete s.stop,i.call(e,o,s)),!r&&s&&s.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return v._data(e,n)||v._data(e,n,{empty:v.Callbacks("once memory").add(function(){v.removeData(e,t+"queue",!0),v.removeData(e,n,!0)})})}}),v.fn.extend({queue:function(e,n){var r=2;return typeof e!="string"&&(n=e,e="fx",r--),arguments.length<r?v.queue(this[0],e):n===t?this:this.each(function(){var t=v.queue(this,e,n);v._queueHooks(this,e),e==="fx"&&t[0]!=="inprogress"&&v.dequeue(this,e)})},dequeue:function(e){return this.each(function(){v.dequeue(this,e)})},delay:function(e,t){return e=v.fx?v.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var r=setTimeout(t,e);n.stop=function(){clearTimeout(r)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,n){var r,i=1,s=v.Deferred(),o=this,u=this.length,a=function(){--i||s.resolveWith(o,[o])};typeof e!="string"&&(n=e,e=t),e=e||"fx";while(u--)r=v._data(o[u],e+"queueHooks"),r&&r.empty&&(i++,r.empty.add(a));return a(),s.promise(n)}});var j,F,I,q=/[\t\r\n]/g,R=/\r/g,U=/^(?:button|input)$/i,z=/^(?:button|input|object|select|textarea)$/i,W=/^a(?:rea|)$/i,X=/^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i,V=v.support.getSetAttribute;v.fn.extend({attr:function(e,t){return v.access(this,v.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){v.removeAttr(this,e)})},prop:function(e,t){return v.access(this,v.prop,e,t,arguments.length>1)},removeProp:function(e){return e=v.propFix[e]||e,this.each(function(){try{this[e]=t,delete this[e]}catch(n){}})},addClass:function(e){var t,n,r,i,s,o,u;if(v.isFunction(e))return this.each(function(t){v(this).addClass(e.call(this,t,this.className))});if(e&&typeof e=="string"){t=e.split(y);for(n=0,r=this.length;n<r;n++){i=this[n];if(i.nodeType===1)if(!i.className&&t.length===1)i.className=e;else{s=" "+i.className+" ";for(o=0,u=t.length;o<u;o++)s.indexOf(" "+t[o]+" ")<0&&(s+=t[o]+" ");i.className=v.trim(s)}}}return this},removeClass:function(e){var n,r,i,s,o,u,a;if(v.isFunction(e))return this.each(function(t){v(this).removeClass(e.call(this,t,this.className))});if(e&&typeof e=="string"||e===t){n=(e||"").split(y);for(u=0,a=this.length;u<a;u++){i=this[u];if(i.nodeType===1&&i.className){r=(" "+i.className+" ").replace(q," ");for(s=0,o=n.length;s<o;s++)while(r.indexOf(" "+n[s]+" ")>=0)r=r.replace(" "+n[s]+" "," ");i.className=e?v.trim(r):""}}}return this},toggleClass:function(e,t){var n=typeof e,r=typeof t=="boolean";return v.isFunction(e)?this.each(function(n){v(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if(n==="string"){var i,s=0,o=v(this),u=t,a=e.split(y);while(i=a[s++])u=r?u:!o.hasClass(i),o[u?"addClass":"removeClass"](i)}else if(n==="undefined"||n==="boolean")this.className&&v._data(this,"__className__",this.className),this.className=this.className||e===!1?"":v._data(this,"__className__")||""})},hasClass:function(e){var t=" "+e+" ",n=0,r=this.length;for(;n<r;n++)if(this[n].nodeType===1&&(" "+this[n].className+" ").replace(q," ").indexOf(t)>=0)return!0;return!1},val:function(e){var n,r,i,s=this[0];if(!arguments.length){if(s)return n=v.valHooks[s.type]||v.valHooks[s.nodeName.toLowerCase()],n&&"get"in n&&(r=n.get(s,"value"))!==t?r:(r=s.value,typeof r=="string"?r.replace(R,""):r==null?"":r);return}return i=v.isFunction(e),this.each(function(r){var s,o=v(this);if(this.nodeType!==1)return;i?s=e.call(this,r,o.val()):s=e,s==null?s="":typeof s=="number"?s+="":v.isArray(s)&&(s=v.map(s,function(e){return e==null?"":e+""})),n=v.valHooks[this.type]||v.valHooks[this.nodeName.toLowerCase()];if(!n||!("set"in n)||n.set(this,s,"value")===t)this.value=s})}}),v.extend({valHooks:{option:{get:function(e){var t=e.attributes.value;return!t||t.specified?e.value:e.text}},select:{get:function(e){var t,n,r=e.options,i=e.selectedIndex,s=e.type==="select-one"||i<0,o=s?null:[],u=s?i+1:r.length,a=i<0?u:s?i:0;for(;a<u;a++){n=r[a];if((n.selected||a===i)&&(v.support.optDisabled?!n.disabled:n.getAttribute("disabled")===null)&&(!n.parentNode.disabled||!v.nodeName(n.parentNode,"optgroup"))){t=v(n).val();if(s)return t;o.push(t)}}return o},set:function(e,t){var n=v.makeArray(t);return v(e).find("option").each(function(){this.selected=v.inArray(v(this).val(),n)>=0}),n.length||(e.selectedIndex=-1),n}}},attrFn:{},attr:function(e,n,r,i){var s,o,u,a=e.nodeType;if(!e||a===3||a===8||a===2)return;if(i&&v.isFunction(v.fn[n]))return v(e)[n](r);if(typeof e.getAttribute=="undefined")return v.prop(e,n,r);u=a!==1||!v.isXMLDoc(e),u&&(n=n.toLowerCase(),o=v.attrHooks[n]||(X.test(n)?F:j));if(r!==t){if(r===null){v.removeAttr(e,n);return}return o&&"set"in o&&u&&(s=o.set(e,r,n))!==t?s:(e.setAttribute(n,r+""),r)}return o&&"get"in o&&u&&(s=o.get(e,n))!==null?s:(s=e.getAttribute(n),s===null?t:s)},removeAttr:function(e,t){var n,r,i,s,o=0;if(t&&e.nodeType===1){r=t.split(y);for(;o<r.length;o++)i=r[o],i&&(n=v.propFix[i]||i,s=X.test(i),s||v.attr(e,i,""),e.removeAttribute(V?i:n),s&&n in e&&(e[n]=!1))}},attrHooks:{type:{set:function(e,t){if(U.test(e.nodeName)&&e.parentNode)v.error("type property can't be changed");else if(!v.support.radioValue&&t==="radio"&&v.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}},value:{get:function(e,t){return j&&v.nodeName(e,"button")?j.get(e,t):t in e?e.value:null},set:function(e,t,n){if(j&&v.nodeName(e,"button"))return j.set(e,t,n);e.value=t}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(e,n,r){var i,s,o,u=e.nodeType;if(!e||u===3||u===8||u===2)return;return o=u!==1||!v.isXMLDoc(e),o&&(n=v.propFix[n]||n,s=v.propHooks[n]),r!==t?s&&"set"in s&&(i=s.set(e,r,n))!==t?i:e[n]=r:s&&"get"in s&&(i=s.get(e,n))!==null?i:e[n]},propHooks:{tabIndex:{get:function(e){var n=e.getAttributeNode("tabindex");return n&&n.specified?parseInt(n.value,10):z.test(e.nodeName)||W.test(e.nodeName)&&e.href?0:t}}}}),F={get:function(e,n){var r,i=v.prop(e,n);return i===!0||typeof i!="boolean"&&(r=e.getAttributeNode(n))&&r.nodeValue!==!1?n.toLowerCase():t},set:function(e,t,n){var r;return t===!1?v.removeAttr(e,n):(r=v.propFix[n]||n,r in e&&(e[r]=!0),e.setAttribute(n,n.toLowerCase())),n}},V||(I={name:!0,id:!0,coords:!0},j=v.valHooks.button={get:function(e,n){var r;return r=e.getAttributeNode(n),r&&(I[n]?r.value!=="":r.specified)?r.value:t},set:function(e,t,n){var r=e.getAttributeNode(n);return r||(r=i.createAttribute(n),e.setAttributeNode(r)),r.value=t+""}},v.each(["width","height"],function(e,t){v.attrHooks[t]=v.extend(v.attrHooks[t],{set:function(e,n){if(n==="")return e.setAttribute(t,"auto"),n}})}),v.attrHooks.contenteditable={get:j.get,set:function(e,t,n){t===""&&(t="false"),j.set(e,t,n)}}),v.support.hrefNormalized||v.each(["href","src","width","height"],function(e,n){v.attrHooks[n]=v.extend(v.attrHooks[n],{get:function(e){var r=e.getAttribute(n,2);return r===null?t:r}})}),v.support.style||(v.attrHooks.style={get:function(e){return e.style.cssText.toLowerCase()||t},set:function(e,t){return e.style.cssText=t+""}}),v.support.optSelected||(v.propHooks.selected=v.extend(v.propHooks.selected,{get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}})),v.support.enctype||(v.propFix.enctype="encoding"),v.support.checkOn||v.each(["radio","checkbox"],function(){v.valHooks[this]={get:function(e){return e.getAttribute("value")===null?"on":e.value}}}),v.each(["radio","checkbox"],function(){v.valHooks[this]=v.extend(v.valHooks[this],{set:function(e,t){if(v.isArray(t))return e.checked=v.inArray(v(e).val(),t)>=0}})});var $=/^(?:textarea|input|select)$/i,J=/^([^\.]*|)(?:\.(.+)|)$/,K=/(?:^|\s)hover(\.\S+|)\b/,Q=/^key/,G=/^(?:mouse|contextmenu)|click/,Y=/^(?:focusinfocus|focusoutblur)$/,Z=function(e){return v.event.special.hover?e:e.replace(K,"mouseenter$1 mouseleave$1")};v.event={add:function(e,n,r,i,s){var o,u,a,f,l,c,h,p,d,m,g;if(e.nodeType===3||e.nodeType===8||!n||!r||!(o=v._data(e)))return;r.handler&&(d=r,r=d.handler,s=d.selector),r.guid||(r.guid=v.guid++),a=o.events,a||(o.events=a={}),u=o.handle,u||(o.handle=u=function(e){return typeof v=="undefined"||!!e&&v.event.triggered===e.type?t:v.event.dispatch.apply(u.elem,arguments)},u.elem=e),n=v.trim(Z(n)).split(" ");for(f=0;f<n.length;f++){l=J.exec(n[f])||[],c=l[1],h=(l[2]||"").split(".").sort(),g=v.event.special[c]||{},c=(s?g.delegateType:g.bindType)||c,g=v.event.special[c]||{},p=v.extend({type:c,origType:l[1],data:i,handler:r,guid:r.guid,selector:s,needsContext:s&&v.expr.match.needsContext.test(s),namespace:h.join(".")},d),m=a[c];if(!m){m=a[c]=[],m.delegateCount=0;if(!g.setup||g.setup.call(e,i,h,u)===!1)e.addEventListener?e.addEventListener(c,u,!1):e.attachEvent&&e.attachEvent("on"+c,u)}g.add&&(g.add.call(e,p),p.handler.guid||(p.handler.guid=r.guid)),s?m.splice(m.delegateCount++,0,p):m.push(p),v.event.global[c]=!0}e=null},global:{},remove:function(e,t,n,r,i){var s,o,u,a,f,l,c,h,p,d,m,g=v.hasData(e)&&v._data(e);if(!g||!(h=g.events))return;t=v.trim(Z(t||"")).split(" ");for(s=0;s<t.length;s++){o=J.exec(t[s])||[],u=a=o[1],f=o[2];if(!u){for(u in h)v.event.remove(e,u+t[s],n,r,!0);continue}p=v.event.special[u]||{},u=(r?p.delegateType:p.bindType)||u,d=h[u]||[],l=d.length,f=f?new RegExp("(^|\\.)"+f.split(".").sort().join("\\.(?:.*\\.|)")+"(\\.|$)"):null;for(c=0;c<d.length;c++)m=d[c],(i||a===m.origType)&&(!n||n.guid===m.guid)&&(!f||f.test(m.namespace))&&(!r||r===m.selector||r==="**"&&m.selector)&&(d.splice(c--,1),m.selector&&d.delegateCount--,p.remove&&p.remove.call(e,m));d.length===0&&l!==d.length&&((!p.teardown||p.teardown.call(e,f,g.handle)===!1)&&v.removeEvent(e,u,g.handle),delete h[u])}v.isEmptyObject(h)&&(delete g.handle,v.removeData(e,"events",!0))},customEvent:{getData:!0,setData:!0,changeData:!0},trigger:function(n,r,s,o){if(!s||s.nodeType!==3&&s.nodeType!==8){var u,a,f,l,c,h,p,d,m,g,y=n.type||n,b=[];if(Y.test(y+v.event.triggered))return;y.indexOf("!")>=0&&(y=y.slice(0,-1),a=!0),y.indexOf(".")>=0&&(b=y.split("."),y=b.shift(),b.sort());if((!s||v.event.customEvent[y])&&!v.event.global[y])return;n=typeof n=="object"?n[v.expando]?n:new v.Event(y,n):new v.Event(y),n.type=y,n.isTrigger=!0,n.exclusive=a,n.namespace=b.join("."),n.namespace_re=n.namespace?new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,h=y.indexOf(":")<0?"on"+y:"";if(!s){u=v.cache;for(f in u)u[f].events&&u[f].events[y]&&v.event.trigger(n,r,u[f].handle.elem,!0);return}n.result=t,n.target||(n.target=s),r=r!=null?v.makeArray(r):[],r.unshift(n),p=v.event.special[y]||{};if(p.trigger&&p.trigger.apply(s,r)===!1)return;m=[[s,p.bindType||y]];if(!o&&!p.noBubble&&!v.isWindow(s)){g=p.delegateType||y,l=Y.test(g+y)?s:s.parentNode;for(c=s;l;l=l.parentNode)m.push([l,g]),c=l;c===(s.ownerDocument||i)&&m.push([c.defaultView||c.parentWindow||e,g])}for(f=0;f<m.length&&!n.isPropagationStopped();f++)l=m[f][0],n.type=m[f][1],d=(v._data(l,"events")||{})[n.type]&&v._data(l,"handle"),d&&d.apply(l,r),d=h&&l[h],d&&v.acceptData(l)&&d.apply&&d.apply(l,r)===!1&&n.preventDefault();return n.type=y,!o&&!n.isDefaultPrevented()&&(!p._default||p._default.apply(s.ownerDocument,r)===!1)&&(y!=="click"||!v.nodeName(s,"a"))&&v.acceptData(s)&&h&&s[y]&&(y!=="focus"&&y!=="blur"||n.target.offsetWidth!==0)&&!v.isWindow(s)&&(c=s[h],c&&(s[h]=null),v.event.triggered=y,s[y](),v.event.triggered=t,c&&(s[h]=c)),n.result}return},dispatch:function(n){n=v.event.fix(n||e.event);var r,i,s,o,u,a,f,c,h,p,d=(v._data(this,"events")||{})[n.type]||[],m=d.delegateCount,g=l.call(arguments),y=!n.exclusive&&!n.namespace,b=v.event.special[n.type]||{},w=[];g[0]=n,n.delegateTarget=this;if(b.preDispatch&&b.preDispatch.call(this,n)===!1)return;if(m&&(!n.button||n.type!=="click"))for(s=n.target;s!=this;s=s.parentNode||this)if(s.disabled!==!0||n.type!=="click"){u={},f=[];for(r=0;r<m;r++)c=d[r],h=c.selector,u[h]===t&&(u[h]=c.needsContext?v(h,this).index(s)>=0:v.find(h,this,null,[s]).length),u[h]&&f.push(c);f.length&&w.push({elem:s,matches:f})}d.length>m&&w.push({elem:this,matches:d.slice(m)});for(r=0;r<w.length&&!n.isPropagationStopped();r++){a=w[r],n.currentTarget=a.elem;for(i=0;i<a.matches.length&&!n.isImmediatePropagationStopped();i++){c=a.matches[i];if(y||!n.namespace&&!c.namespace||n.namespace_re&&n.namespace_re.test(c.namespace))n.data=c.data,n.handleObj=c,o=((v.event.special[c.origType]||{}).handle||c.handler).apply(a.elem,g),o!==t&&(n.result=o,o===!1&&(n.preventDefault(),n.stopPropagation()))}}return b.postDispatch&&b.postDispatch.call(this,n),n.result},props:"attrChange attrName relatedNode srcElement altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return e.which==null&&(e.which=t.charCode!=null?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,n){var r,s,o,u=n.button,a=n.fromElement;return e.pageX==null&&n.clientX!=null&&(r=e.target.ownerDocument||i,s=r.documentElement,o=r.body,e.pageX=n.clientX+(s&&s.scrollLeft||o&&o.scrollLeft||0)-(s&&s.clientLeft||o&&o.clientLeft||0),e.pageY=n.clientY+(s&&s.scrollTop||o&&o.scrollTop||0)-(s&&s.clientTop||o&&o.clientTop||0)),!e.relatedTarget&&a&&(e.relatedTarget=a===e.target?n.toElement:a),!e.which&&u!==t&&(e.which=u&1?1:u&2?3:u&4?2:0),e}},fix:function(e){if(e[v.expando])return e;var t,n,r=e,s=v.event.fixHooks[e.type]||{},o=s.props?this.props.concat(s.props):this.props;e=v.Event(r);for(t=o.length;t;)n=o[--t],e[n]=r[n];return e.target||(e.target=r.srcElement||i),e.target.nodeType===3&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,s.filter?s.filter(e,r):e},special:{load:{noBubble:!0},focus:{delegateType:"focusin"},blur:{delegateType:"focusout"},beforeunload:{setup:function(e,t,n){v.isWindow(this)&&(this.onbeforeunload=n)},teardown:function(e,t){this.onbeforeunload===t&&(this.onbeforeunload=null)}}},simulate:function(e,t,n,r){var i=v.extend(new v.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?v.event.trigger(i,null,t):v.event.dispatch.call(t,i),i.isDefaultPrevented()&&n.preventDefault()}},v.event.handle=v.event.dispatch,v.removeEvent=i.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){var r="on"+t;e.detachEvent&&(typeof e[r]=="undefined"&&(e[r]=null),e.detachEvent(r,n))},v.Event=function(e,t){if(!(this instanceof v.Event))return new v.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.returnValue===!1||e.getPreventDefault&&e.getPreventDefault()?tt:et):this.type=e,t&&v.extend(this,t),this.timeStamp=e&&e.timeStamp||v.now(),this[v.expando]=!0},v.Event.prototype={preventDefault:function(){this.isDefaultPrevented=tt;var e=this.originalEvent;if(!e)return;e.preventDefault?e.preventDefault():e.returnValue=!1},stopPropagation:function(){this.isPropagationStopped=tt;var e=this.originalEvent;if(!e)return;e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=tt,this.stopPropagation()},isDefaultPrevented:et,isPropagationStopped:et,isImmediatePropagationStopped:et},v.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,t){v.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,s=e.handleObj,o=s.selector;if(!i||i!==r&&!v.contains(r,i))e.type=s.origType,n=s.handler.apply(this,arguments),e.type=t;return n}}}),v.support.submitBubbles||(v.event.special.submit={setup:function(){if(v.nodeName(this,"form"))return!1;v.event.add(this,"click._submit keypress._submit",function(e){var n=e.target,r=v.nodeName(n,"input")||v.nodeName(n,"button")?n.form:t;r&&!v._data(r,"_submit_attached")&&(v.event.add(r,"submit._submit",function(e){e._submit_bubble=!0}),v._data(r,"_submit_attached",!0))})},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode&&!e.isTrigger&&v.event.simulate("submit",this.parentNode,e,!0))},teardown:function(){if(v.nodeName(this,"form"))return!1;v.event.remove(this,"._submit")}}),v.support.changeBubbles||(v.event.special.change={setup:function(){if($.test(this.nodeName)){if(this.type==="checkbox"||this.type==="radio")v.event.add(this,"propertychange._change",function(e){e.originalEvent.propertyName==="checked"&&(this._just_changed=!0)}),v.event.add(this,"click._change",function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1),v.event.simulate("change",this,e,!0)});return!1}v.event.add(this,"beforeactivate._change",function(e){var t=e.target;$.test(t.nodeName)&&!v._data(t,"_change_attached")&&(v.event.add(t,"change._change",function(e){this.parentNode&&!e.isSimulated&&!e.isTrigger&&v.event.simulate("change",this.parentNode,e,!0)}),v._data(t,"_change_attached",!0))})},handle:function(e){var t=e.target;if(this!==t||e.isSimulated||e.isTrigger||t.type!=="radio"&&t.type!=="checkbox")return e.handleObj.handler.apply(this,arguments)},teardown:function(){return v.event.remove(this,"._change"),!$.test(this.nodeName)}}),v.support.focusinBubbles||v.each({focus:"focusin",blur:"focusout"},function(e,t){var n=0,r=function(e){v.event.simulate(t,e.target,v.event.fix(e),!0)};v.event.special[t]={setup:function(){n++===0&&i.addEventListener(e,r,!0)},teardown:function(){--n===0&&i.removeEventListener(e,r,!0)}}}),v.fn.extend({on:function(e,n,r,i,s){var o,u;if(typeof e=="object"){typeof n!="string"&&(r=r||n,n=t);for(u in e)this.on(u,n,r,e[u],s);return this}r==null&&i==null?(i=n,r=n=t):i==null&&(typeof n=="string"?(i=r,r=t):(i=r,r=n,n=t));if(i===!1)i=et;else if(!i)return this;return s===1&&(o=i,i=function(e){return v().off(e),o.apply(this,arguments)},i.guid=o.guid||(o.guid=v.guid++)),this.each(function(){v.event.add(this,e,i,r,n)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,n,r){var i,s;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,v(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if(typeof e=="object"){for(s in e)this.off(s,n,e[s]);return this}if(n===!1||typeof n=="function")r=n,n=t;return r===!1&&(r=et),this.each(function(){v.event.remove(this,e,r,n)})},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},live:function(e,t,n){return v(this.context).on(e,this.selector,t,n),this},die:function(e,t){return v(this.context).off(e,this.selector||"**",t),this},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return arguments.length===1?this.off(e,"**"):this.off(t,e||"**",n)},trigger:function(e,t){return this.each(function(){v.event.trigger(e,t,this)})},triggerHandler:function(e,t){if(this[0])return v.event.trigger(e,t,this[0],!0)},toggle:function(e){var t=arguments,n=e.guid||v.guid++,r=0,i=function(n){var i=(v._data(this,"lastToggle"+e.guid)||0)%r;return v._data(this,"lastToggle"+e.guid,i+1),n.preventDefault(),t[i].apply(this,arguments)||!1};i.guid=n;while(r<t.length)t[r++].guid=n;return this.click(i)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),v.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){v.fn[t]=function(e,n){return n==null&&(n=e,e=null),arguments.length>0?this.on(t,null,e,n):this.trigger(t)},Q.test(t)&&(v.event.fixHooks[t]=v.event.keyHooks),G.test(t)&&(v.event.fixHooks[t]=v.event.mouseHooks)}),function(e,t){function nt(e,t,n,r){n=n||[],t=t||g;var i,s,a,f,l=t.nodeType;if(!e||typeof e!="string")return n;if(l!==1&&l!==9)return[];a=o(t);if(!a&&!r)if(i=R.exec(e))if(f=i[1]){if(l===9){s=t.getElementById(f);if(!s||!s.parentNode)return n;if(s.id===f)return n.push(s),n}else if(t.ownerDocument&&(s=t.ownerDocument.getElementById(f))&&u(t,s)&&s.id===f)return n.push(s),n}else{if(i[2])return S.apply(n,x.call(t.getElementsByTagName(e),0)),n;if((f=i[3])&&Z&&t.getElementsByClassName)return S.apply(n,x.call(t.getElementsByClassName(f),0)),n}return vt(e.replace(j,"$1"),t,n,r,a)}function rt(e){return function(t){var n=t.nodeName.toLowerCase();return n==="input"&&t.type===e}}function it(e){return function(t){var n=t.nodeName.toLowerCase();return(n==="input"||n==="button")&&t.type===e}}function st(e){return N(function(t){return t=+t,N(function(n,r){var i,s=e([],n.length,t),o=s.length;while(o--)n[i=s[o]]&&(n[i]=!(r[i]=n[i]))})})}function ot(e,t,n){if(e===t)return n;var r=e.nextSibling;while(r){if(r===t)return-1;r=r.nextSibling}return 1}function ut(e,t){var n,r,s,o,u,a,f,l=L[d][e+" "];if(l)return t?0:l.slice(0);u=e,a=[],f=i.preFilter;while(u){if(!n||(r=F.exec(u)))r&&(u=u.slice(r[0].length)||u),a.push(s=[]);n=!1;if(r=I.exec(u))s.push(n=new m(r.shift())),u=u.slice(n.length),n.type=r[0].replace(j," ");for(o in i.filter)(r=J[o].exec(u))&&(!f[o]||(r=f[o](r)))&&(s.push(n=new m(r.shift())),u=u.slice(n.length),n.type=o,n.matches=r);if(!n)break}return t?u.length:u?nt.error(e):L(e,a).slice(0)}function at(e,t,r){var i=t.dir,s=r&&t.dir==="parentNode",o=w++;return t.first?function(t,n,r){while(t=t[i])if(s||t.nodeType===1)return e(t,n,r)}:function(t,r,u){if(!u){var a,f=b+" "+o+" ",l=f+n;while(t=t[i])if(s||t.nodeType===1){if((a=t[d])===l)return t.sizset;if(typeof a=="string"&&a.indexOf(f)===0){if(t.sizset)return t}else{t[d]=l;if(e(t,r,u))return t.sizset=!0,t;t.sizset=!1}}}else while(t=t[i])if(s||t.nodeType===1)if(e(t,r,u))return t}}function ft(e){return e.length>1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function lt(e,t,n,r,i){var s,o=[],u=0,a=e.length,f=t!=null;for(;u<a;u++)if(s=e[u])if(!n||n(s,r,i))o.push(s),f&&t.push(u);return o}function ct(e,t,n,r,i,s){return r&&!r[d]&&(r=ct(r)),i&&!i[d]&&(i=ct(i,s)),N(function(s,o,u,a){var f,l,c,h=[],p=[],d=o.length,v=s||dt(t||"*",u.nodeType?[u]:u,[]),m=e&&(s||!t)?lt(v,h,e,u,a):v,g=n?i||(s?e:d||r)?[]:o:m;n&&n(m,g,u,a);if(r){f=lt(g,p),r(f,[],u,a),l=f.length;while(l--)if(c=f[l])g[p[l]]=!(m[p[l]]=c)}if(s){if(i||e){if(i){f=[],l=g.length;while(l--)(c=g[l])&&f.push(m[l]=c);i(null,g=[],f,a)}l=g.length;while(l--)(c=g[l])&&(f=i?T.call(s,c):h[l])>-1&&(s[f]=!(o[f]=c))}}else g=lt(g===o?g.splice(d,g.length):g),i?i(null,o,g,a):S.apply(o,g)})}function ht(e){var t,n,r,s=e.length,o=i.relative[e[0].type],u=o||i.relative[" "],a=o?1:0,f=at(function(e){return e===t},u,!0),l=at(function(e){return T.call(t,e)>-1},u,!0),h=[function(e,n,r){return!o&&(r||n!==c)||((t=n).nodeType?f(e,n,r):l(e,n,r))}];for(;a<s;a++)if(n=i.relative[e[a].type])h=[at(ft(h),n)];else{n=i.filter[e[a].type].apply(null,e[a].matches);if(n[d]){r=++a;for(;r<s;r++)if(i.relative[e[r].type])break;return ct(a>1&&ft(h),a>1&&e.slice(0,a-1).join("").replace(j,"$1"),n,a<r&&ht(e.slice(a,r)),r<s&&ht(e=e.slice(r)),r<s&&e.join(""))}h.push(n)}return ft(h)}function pt(e,t){var r=t.length>0,s=e.length>0,o=function(u,a,f,l,h){var p,d,v,m=[],y=0,w="0",x=u&&[],T=h!=null,N=c,C=u||s&&i.find.TAG("*",h&&a.parentNode||a),k=b+=N==null?1:Math.E;T&&(c=a!==g&&a,n=o.el);for(;(p=C[w])!=null;w++){if(s&&p){for(d=0;v=e[d];d++)if(v(p,a,f)){l.push(p);break}T&&(b=k,n=++o.el)}r&&((p=!v&&p)&&y--,u&&x.push(p))}y+=w;if(r&&w!==y){for(d=0;v=t[d];d++)v(x,m,a,f);if(u){if(y>0)while(w--)!x[w]&&!m[w]&&(m[w]=E.call(l));m=lt(m)}S.apply(l,m),T&&!u&&m.length>0&&y+t.length>1&&nt.uniqueSort(l)}return T&&(b=k,c=N),x};return o.el=0,r?N(o):o}function dt(e,t,n){var r=0,i=t.length;for(;r<i;r++)nt(e,t[r],n);return n}function vt(e,t,n,r,s){var o,u,f,l,c,h=ut(e),p=h.length;if(!r&&h.length===1){u=h[0]=h[0].slice(0);if(u.length>2&&(f=u[0]).type==="ID"&&t.nodeType===9&&!s&&i.relative[u[1].type]){t=i.find.ID(f.matches[0].replace($,""),t,s)[0];if(!t)return n;e=e.slice(u.shift().length)}for(o=J.POS.test(e)?-1:u.length-1;o>=0;o--){f=u[o];if(i.relative[l=f.type])break;if(c=i.find[l])if(r=c(f.matches[0].replace($,""),z.test(u[0].type)&&t.parentNode||t,s)){u.splice(o,1),e=r.length&&u.join("");if(!e)return S.apply(n,x.call(r,0)),n;break}}}return a(e,h)(r,t,s,n,z.test(e)),n}function mt(){}var n,r,i,s,o,u,a,f,l,c,h=!0,p="undefined",d=("sizcache"+Math.random()).replace(".",""),m=String,g=e.document,y=g.documentElement,b=0,w=0,E=[].pop,S=[].push,x=[].slice,T=[].indexOf||function(e){var t=0,n=this.length;for(;t<n;t++)if(this[t]===e)return t;return-1},N=function(e,t){return e[d]=t==null||t,e},C=function(){var e={},t=[];return N(function(n,r){return t.push(n)>i.cacheLength&&delete e[t.shift()],e[n+" "]=r},e)},k=C(),L=C(),A=C(),O="[\\x20\\t\\r\\n\\f]",M="(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+",_=M.replace("w","w#"),D="([*^$|!~]?=)",P="\\["+O+"*("+M+")"+O+"*(?:"+D+O+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+_+")|)|)"+O+"*\\]",H=":("+M+")(?:\\((?:(['\"])((?:\\\\.|[^\\\\])*?)\\2|([^()[\\]]*|(?:(?:"+P+")|[^:]|\\\\.)*|.*))\\)|)",B=":(even|odd|eq|gt|lt|nth|first|last)(?:\\("+O+"*((?:-\\d)?\\d*)"+O+"*\\)|)(?=[^-]|$)",j=new RegExp("^"+O+"+|((?:^|[^\\\\])(?:\\\\.)*)"+O+"+$","g"),F=new RegExp("^"+O+"*,"+O+"*"),I=new RegExp("^"+O+"*([\\x20\\t\\r\\n\\f>+~])"+O+"*"),q=new RegExp(H),R=/^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/,U=/^:not/,z=/[\x20\t\r\n\f]*[+~]/,W=/:not\($/,X=/h\d/i,V=/input|select|textarea|button/i,$=/\\(?!\\)/g,J={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),NAME:new RegExp("^\\[name=['\"]?("+M+")['\"]?\\]"),TAG:new RegExp("^("+M.replace("w","w*")+")"),ATTR:new RegExp("^"+P),PSEUDO:new RegExp("^"+H),POS:new RegExp(B,"i"),CHILD:new RegExp("^:(only|nth|first|last)-child(?:\\("+O+"*(even|odd|(([+-]|)(\\d*)n|)"+O+"*(?:([+-]|)"+O+"*(\\d+)|))"+O+"*\\)|)","i"),needsContext:new RegExp("^"+O+"*[>+~]|"+B,"i")},K=function(e){var t=g.createElement("div");try{return e(t)}catch(n){return!1}finally{t=null}},Q=K(function(e){return e.appendChild(g.createComment("")),!e.getElementsByTagName("*").length}),G=K(function(e){return e.innerHTML="<a href='#'></a>",e.firstChild&&typeof e.firstChild.getAttribute!==p&&e.firstChild.getAttribute("href")==="#"}),Y=K(function(e){e.innerHTML="<select></select>";var t=typeof e.lastChild.getAttribute("multiple");return t!=="boolean"&&t!=="string"}),Z=K(function(e){return e.innerHTML="<div class='hidden e'></div><div class='hidden'></div>",!e.getElementsByClassName||!e.getElementsByClassName("e").length?!1:(e.lastChild.className="e",e.getElementsByClassName("e").length===2)}),et=K(function(e){e.id=d+0,e.innerHTML="<a name='"+d+"'></a><div name='"+d+"'></div>",y.insertBefore(e,y.firstChild);var t=g.getElementsByName&&g.getElementsByName(d).length===2+g.getElementsByName(d+0).length;return r=!g.getElementById(d),y.removeChild(e),t});try{x.call(y.childNodes,0)[0].nodeType}catch(tt){x=function(e){var t,n=[];for(;t=this[e];e++)n.push(t);return n}}nt.matches=function(e,t){return nt(e,null,null,t)},nt.matchesSelector=function(e,t){return nt(t,null,null,[e]).length>0},s=nt.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(i===1||i===9||i===11){if(typeof e.textContent=="string")return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=s(e)}else if(i===3||i===4)return e.nodeValue}else for(;t=e[r];r++)n+=s(t);return n},o=nt.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?t.nodeName!=="HTML":!1},u=nt.contains=y.contains?function(e,t){var n=e.nodeType===9?e.documentElement:e,r=t&&t.parentNode;return e===r||!!(r&&r.nodeType===1&&n.contains&&n.contains(r))}:y.compareDocumentPosition?function(e,t){return t&&!!(e.compareDocumentPosition(t)&16)}:function(e,t){while(t=t.parentNode)if(t===e)return!0;return!1},nt.attr=function(e,t){var n,r=o(e);return r||(t=t.toLowerCase()),(n=i.attrHandle[t])?n(e):r||Y?e.getAttribute(t):(n=e.getAttributeNode(t),n?typeof e[t]=="boolean"?e[t]?t:null:n.specified?n.value:null:null)},i=nt.selectors={cacheLength:50,createPseudo:N,match:J,attrHandle:G?{}:{href:function(e){return e.getAttribute("href",2)},type:function(e){return e.getAttribute("type")}},find:{ID:r?function(e,t,n){if(typeof t.getElementById!==p&&!n){var r=t.getElementById(e);return r&&r.parentNode?[r]:[]}}:function(e,n,r){if(typeof n.getElementById!==p&&!r){var i=n.getElementById(e);return i?i.id===e||typeof i.getAttributeNode!==p&&i.getAttributeNode("id").value===e?[i]:t:[]}},TAG:Q?function(e,t){if(typeof t.getElementsByTagName!==p)return t.getElementsByTagName(e)}:function(e,t){var n=t.getElementsByTagName(e);if(e==="*"){var r,i=[],s=0;for(;r=n[s];s++)r.nodeType===1&&i.push(r);return i}return n},NAME:et&&function(e,t){if(typeof t.getElementsByName!==p)return t.getElementsByName(name)},CLASS:Z&&function(e,t,n){if(typeof t.getElementsByClassName!==p&&!n)return t.getElementsByClassName(e)}},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace($,""),e[3]=(e[4]||e[5]||"").replace($,""),e[2]==="~="&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),e[1]==="nth"?(e[2]||nt.error(e[0]),e[3]=+(e[3]?e[4]+(e[5]||1):2*(e[2]==="even"||e[2]==="odd")),e[4]=+(e[6]+e[7]||e[2]==="odd")):e[2]&&nt.error(e[0]),e},PSEUDO:function(e){var t,n;if(J.CHILD.test(e[0]))return null;if(e[3])e[2]=e[3];else if(t=e[4])q.test(t)&&(n=ut(t,!0))&&(n=t.indexOf(")",t.length-n)-t.length)&&(t=t.slice(0,n),e[0]=e[0].slice(0,n)),e[2]=t;return e.slice(0,3)}},filter:{ID:r?function(e){return e=e.replace($,""),function(t){return t.getAttribute("id")===e}}:function(e){return e=e.replace($,""),function(t){var n=typeof t.getAttributeNode!==p&&t.getAttributeNode("id");return n&&n.value===e}},TAG:function(e){return e==="*"?function(){return!0}:(e=e.replace($,"").toLowerCase(),function(t){return t.nodeName&&t.nodeName.toLowerCase()===e})},CLASS:function(e){var t=k[d][e+" "];return t||(t=new RegExp("(^|"+O+")"+e+"("+O+"|$)"))&&k(e,function(e){return t.test(e.className||typeof e.getAttribute!==p&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r,i){var s=nt.attr(r,e);return s==null?t==="!=":t?(s+="",t==="="?s===n:t==="!="?s!==n:t==="^="?n&&s.indexOf(n)===0:t==="*="?n&&s.indexOf(n)>-1:t==="$="?n&&s.substr(s.length-n.length)===n:t==="~="?(" "+s+" ").indexOf(n)>-1:t==="|="?s===n||s.substr(0,n.length+1)===n+"-":!1):!0}},CHILD:function(e,t,n,r){return e==="nth"?function(e){var t,i,s=e.parentNode;if(n===1&&r===0)return!0;if(s){i=0;for(t=s.firstChild;t;t=t.nextSibling)if(t.nodeType===1){i++;if(e===t)break}}return i-=r,i===n||i%n===0&&i/n>=0}:function(t){var n=t;switch(e){case"only":case"first":while(n=n.previousSibling)if(n.nodeType===1)return!1;if(e==="first")return!0;n=t;case"last":while(n=n.nextSibling)if(n.nodeType===1)return!1;return!0}}},PSEUDO:function(e,t){var n,r=i.pseudos[e]||i.setFilters[e.toLowerCase()]||nt.error("unsupported pseudo: "+e);return r[d]?r(t):r.length>1?(n=[e,e,"",t],i.setFilters.hasOwnProperty(e.toLowerCase())?N(function(e,n){var i,s=r(e,t),o=s.length;while(o--)i=T.call(e,s[o]),e[i]=!(n[i]=s[o])}):function(e){return r(e,0,n)}):r}},pseudos:{not:N(function(e){var t=[],n=[],r=a(e.replace(j,"$1"));return r[d]?N(function(e,t,n,i){var s,o=r(e,null,i,[]),u=e.length;while(u--)if(s=o[u])e[u]=!(t[u]=s)}):function(e,i,s){return t[0]=e,r(t,null,s,n),!n.pop()}}),has:N(function(e){return function(t){return nt(e,t).length>0}}),contains:N(function(e){return function(t){return(t.textContent||t.innerText||s(t)).indexOf(e)>-1}}),enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return t==="input"&&!!e.checked||t==="option"&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},parent:function(e){return!i.pseudos.empty(e)},empty:function(e){var t;e=e.firstChild;while(e){if(e.nodeName>"@"||(t=e.nodeType)===3||t===4)return!1;e=e.nextSibling}return!0},header:function(e){return X.test(e.nodeName)},text:function(e){var t,n;return e.nodeName.toLowerCase()==="input"&&(t=e.type)==="text"&&((n=e.getAttribute("type"))==null||n.toLowerCase()===t)},radio:rt("radio"),checkbox:rt("checkbox"),file:rt("file"),password:rt("password"),image:rt("image"),submit:it("submit"),reset:it("reset"),button:function(e){var t=e.nodeName.toLowerCase();return t==="input"&&e.type==="button"||t==="button"},input:function(e){return V.test(e.nodeName)},focus:function(e){var t=e.ownerDocument;return e===t.activeElement&&(!t.hasFocus||t.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},active:function(e){return e===e.ownerDocument.activeElement},first:st(function(){return[0]}),last:st(function(e,t){return[t-1]}),eq:st(function(e,t,n){return[n<0?n+t:n]}),even:st(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:st(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:st(function(e,t,n){for(var r=n<0?n+t:n;--r>=0;)e.push(r);return e}),gt:st(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}},f=y.compareDocumentPosition?function(e,t){return e===t?(l=!0,0):(!e.compareDocumentPosition||!t.compareDocumentPosition?e.compareDocumentPosition:e.compareDocumentPosition(t)&4)?-1:1}:function(e,t){if(e===t)return l=!0,0;if(e.sourceIndex&&t.sourceIndex)return e.sourceIndex-t.sourceIndex;var n,r,i=[],s=[],o=e.parentNode,u=t.parentNode,a=o;if(o===u)return ot(e,t);if(!o)return-1;if(!u)return 1;while(a)i.unshift(a),a=a.parentNode;a=u;while(a)s.unshift(a),a=a.parentNode;n=i.length,r=s.length;for(var f=0;f<n&&f<r;f++)if(i[f]!==s[f])return ot(i[f],s[f]);return f===n?ot(e,s[f],-1):ot(i[f],t,1)},[0,0].sort(f),h=!l,nt.uniqueSort=function(e){var t,n=[],r=1,i=0;l=h,e.sort(f);if(l){for(;t=e[r];r++)t===e[r-1]&&(i=n.push(r));while(i--)e.splice(n[i],1)}return e},nt.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},a=nt.compile=function(e,t){var n,r=[],i=[],s=A[d][e+" "];if(!s){t||(t=ut(e)),n=t.length;while(n--)s=ht(t[n]),s[d]?r.push(s):i.push(s);s=A(e,pt(i,r))}return s},g.querySelectorAll&&function(){var e,t=vt,n=/'|\\/g,r=/\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g,i=[":focus"],s=[":active"],u=y.matchesSelector||y.mozMatchesSelector||y.webkitMatchesSelector||y.oMatchesSelector||y.msMatchesSelector;K(function(e){e.innerHTML="<select><option selected=''></option></select>",e.querySelectorAll("[selected]").length||i.push("\\["+O+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),e.querySelectorAll(":checked").length||i.push(":checked")}),K(function(e){e.innerHTML="<p test=''></p>",e.querySelectorAll("[test^='']").length&&i.push("[*^$]="+O+"*(?:\"\"|'')"),e.innerHTML="<input type='hidden'/>",e.querySelectorAll(":enabled").length||i.push(":enabled",":disabled")}),i=new RegExp(i.join("|")),vt=function(e,r,s,o,u){if(!o&&!u&&!i.test(e)){var a,f,l=!0,c=d,h=r,p=r.nodeType===9&&e;if(r.nodeType===1&&r.nodeName.toLowerCase()!=="object"){a=ut(e),(l=r.getAttribute("id"))?c=l.replace(n,"\\$&"):r.setAttribute("id",c),c="[id='"+c+"'] ",f=a.length;while(f--)a[f]=c+a[f].join("");h=z.test(e)&&r.parentNode||r,p=a.join(",")}if(p)try{return S.apply(s,x.call(h.querySelectorAll(p),0)),s}catch(v){}finally{l||r.removeAttribute("id")}}return t(e,r,s,o,u)},u&&(K(function(t){e=u.call(t,"div");try{u.call(t,"[test!='']:sizzle"),s.push("!=",H)}catch(n){}}),s=new RegExp(s.join("|")),nt.matchesSelector=function(t,n){n=n.replace(r,"='$1']");if(!o(t)&&!s.test(n)&&!i.test(n))try{var a=u.call(t,n);if(a||e||t.document&&t.document.nodeType!==11)return a}catch(f){}return nt(n,null,null,[t]).length>0})}(),i.pseudos.nth=i.pseudos.eq,i.filters=mt.prototype=i.pseudos,i.setFilters=new mt,nt.attr=v.attr,v.find=nt,v.expr=nt.selectors,v.expr[":"]=v.expr.pseudos,v.unique=nt.uniqueSort,v.text=nt.getText,v.isXMLDoc=nt.isXML,v.contains=nt.contains}(e);var nt=/Until$/,rt=/^(?:parents|prev(?:Until|All))/,it=/^.[^:#\[\.,]*$/,st=v.expr.match.needsContext,ot={children:!0,contents:!0,next:!0,prev:!0};v.fn.extend({find:function(e){var t,n,r,i,s,o,u=this;if(typeof e!="string")return v(e).filter(function(){for(t=0,n=u.length;t<n;t++)if(v.contains(u[t],this))return!0});o=this.pushStack("","find",e);for(t=0,n=this.length;t<n;t++){r=o.length,v.find(e,this[t],o);if(t>0)for(i=r;i<o.length;i++)for(s=0;s<r;s++)if(o[s]===o[i]){o.splice(i--,1);break}}return o},has:function(e){var t,n=v(e,this),r=n.length;return this.filter(function(){for(t=0;t<r;t++)if(v.contains(this,n[t]))return!0})},not:function(e){return this.pushStack(ft(this,e,!1),"not",e)},filter:function(e){return this.pushStack(ft(this,e,!0),"filter",e)},is:function(e){return!!e&&(typeof e=="string"?st.test(e)?v(e,this.context).index(this[0])>=0:v.filter(e,this).length>0:this.filter(e).length>0)},closest:function(e,t){var n,r=0,i=this.length,s=[],o=st.test(e)||typeof e!="string"?v(e,t||this.context):0;for(;r<i;r++){n=this[r];while(n&&n.ownerDocument&&n!==t&&n.nodeType!==11){if(o?o.index(n)>-1:v.find.matchesSelector(n,e)){s.push(n);break}n=n.parentNode}}return s=s.length>1?v.unique(s):s,this.pushStack(s,"closest",e)},index:function(e){return e?typeof e=="string"?v.inArray(this[0],v(e)):v.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(e,t){var n=typeof e=="string"?v(e,t):v.makeArray(e&&e.nodeType?[e]:e),r=v.merge(this.get(),n);return this.pushStack(ut(n[0])||ut(r[0])?r:v.unique(r))},addBack:function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}}),v.fn.andSelf=v.fn.addBack,v.each({parent:function(e){var t=e.parentNode;return t&&t.nodeType!==11?t:null},parents:function(e){return v.dir(e,"parentNode")},parentsUntil:function(e,t,n){return v.dir(e,"parentNode",n)},next:function(e){return at(e,"nextSibling")},prev:function(e){return at(e,"previousSibling")},nextAll:function(e){return v.dir(e,"nextSibling")},prevAll:function(e){return v.dir(e,"previousSibling")},nextUntil:function(e,t,n){return v.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return v.dir(e,"previousSibling",n)},siblings:function(e){return v.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return v.sibling(e.firstChild)},contents:function(e){return v.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:v.merge([],e.childNodes)}},function(e,t){v.fn[e]=function(n,r){var i=v.map(this,t,n);return nt.test(e)||(r=n),r&&typeof r=="string"&&(i=v.filter(r,i)),i=this.length>1&&!ot[e]?v.unique(i):i,this.length>1&&rt.test(e)&&(i=i.reverse()),this.pushStack(i,e,l.call(arguments).join(","))}}),v.extend({filter:function(e,t,n){return n&&(e=":not("+e+")"),t.length===1?v.find.matchesSelector(t[0],e)?[t[0]]:[]:v.find.matches(e,t)},dir:function(e,n,r){var i=[],s=e[n];while(s&&s.nodeType!==9&&(r===t||s.nodeType!==1||!v(s).is(r)))s.nodeType===1&&i.push(s),s=s[n];return i},sibling:function(e,t){var n=[];for(;e;e=e.nextSibling)e.nodeType===1&&e!==t&&n.push(e);return n}});var ct="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",ht=/ jQuery\d+="(?:null|\d+)"/g,pt=/^\s+/,dt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,vt=/<([\w:]+)/,mt=/<tbody/i,gt=/<|&#?\w+;/,yt=/<(?:script|style|link)/i,bt=/<(?:script|object|embed|option|style)/i,wt=new RegExp("<(?:"+ct+")[\\s/>]","i"),Et=/^(?:checkbox|radio)$/,St=/checked\s*(?:[^=]|=\s*.checked.)/i,xt=/\/(java|ecma)script/i,Tt=/^\s*<!(?:\[CDATA\[|\-\-)|[\]\-]{2}>\s*$/g,Nt={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],area:[1,"<map>","</map>"],_default:[0,"",""]},Ct=lt(i),kt=Ct.appendChild(i.createElement("div"));Nt.optgroup=Nt.option,Nt.tbody=Nt.tfoot=Nt.colgroup=Nt.caption=Nt.thead,Nt.th=Nt.td,v.support.htmlSerialize||(Nt._default=[1,"X<div>","</div>"]),v.fn.extend({text:function(e){return v.access(this,function(e){return e===t?v.text(this):this.empty().append((this[0]&&this[0].ownerDocument||i).createTextNode(e))},null,e,arguments.length)},wrapAll:function(e){if(v.isFunction(e))return this.each(function(t){v(this).wrapAll(e.call(this,t))});if(this[0]){var t=v(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstChild&&e.firstChild.nodeType===1)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return v.isFunction(e)?this.each(function(t){v(this).wrapInner(e.call(this,t))}):this.each(function(){var t=v(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=v.isFunction(e);return this.each(function(n){v(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){v.nodeName(this,"body")||v(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(e){(this.nodeType===1||this.nodeType===11)&&this.appendChild(e)})},prepend:function(){return this.domManip(arguments,!0,function(e){(this.nodeType===1||this.nodeType===11)&&this.insertBefore(e,this.firstChild)})},before:function(){if(!ut(this[0]))return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this)});if(arguments.length){var e=v.clean(arguments);return this.pushStack(v.merge(e,this),"before",this.selector)}},after:function(){if(!ut(this[0]))return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this.nextSibling)});if(arguments.length){var e=v.clean(arguments);return this.pushStack(v.merge(this,e),"after",this.selector)}},remove:function(e,t){var n,r=0;for(;(n=this[r])!=null;r++)if(!e||v.filter(e,[n]).length)!t&&n.nodeType===1&&(v.cleanData(n.getElementsByTagName("*")),v.cleanData([n])),n.parentNode&&n.parentNode.removeChild(n);return this},empty:function(){var e,t=0;for(;(e=this[t])!=null;t++){e.nodeType===1&&v.cleanData(e.getElementsByTagName("*"));while(e.firstChild)e.removeChild(e.firstChild)}return this},clone:function(e,t){return e=e==null?!1:e,t=t==null?e:t,this.map(function(){return v.clone(this,e,t)})},html:function(e){return v.access(this,function(e){var n=this[0]||{},r=0,i=this.length;if(e===t)return n.nodeType===1?n.innerHTML.replace(ht,""):t;if(typeof e=="string"&&!yt.test(e)&&(v.support.htmlSerialize||!wt.test(e))&&(v.support.leadingWhitespace||!pt.test(e))&&!Nt[(vt.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(dt,"<$1></$2>");try{for(;r<i;r++)n=this[r]||{},n.nodeType===1&&(v.cleanData(n.getElementsByTagName("*")),n.innerHTML=e);n=0}catch(s){}}n&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(e){return ut(this[0])?this.length?this.pushStack(v(v.isFunction(e)?e():e),"replaceWith",e):this:v.isFunction(e)?this.each(function(t){var n=v(this),r=n.html();n.replaceWith(e.call(this,t,r))}):(typeof e!="string"&&(e=v(e).detach()),this.each(function(){var t=this.nextSibling,n=this.parentNode;v(this).remove(),t?v(t).before(e):v(n).append(e)}))},detach:function(e){return this.remove(e,!0)},domManip:function(e,n,r){e=[].concat.apply([],e);var i,s,o,u,a=0,f=e[0],l=[],c=this.length;if(!v.support.checkClone&&c>1&&typeof f=="string"&&St.test(f))return this.each(function(){v(this).domManip(e,n,r)});if(v.isFunction(f))return this.each(function(i){var s=v(this);e[0]=f.call(this,i,n?s.html():t),s.domManip(e,n,r)});if(this[0]){i=v.buildFragment(e,this,l),o=i.fragment,s=o.firstChild,o.childNodes.length===1&&(o=s);if(s){n=n&&v.nodeName(s,"tr");for(u=i.cacheable||c-1;a<c;a++)r.call(n&&v.nodeName(this[a],"table")?Lt(this[a],"tbody"):this[a],a===u?o:v.clone(o,!0,!0))}o=s=null,l.length&&v.each(l,function(e,t){t.src?v.ajax?v.ajax({url:t.src,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0}):v.error("no ajax"):v.globalEval((t.text||t.textContent||t.innerHTML||"").replace(Tt,"")),t.parentNode&&t.parentNode.removeChild(t)})}return this}}),v.buildFragment=function(e,n,r){var s,o,u,a=e[0];return n=n||i,n=!n.nodeType&&n[0]||n,n=n.ownerDocument||n,e.length===1&&typeof a=="string"&&a.length<512&&n===i&&a.charAt(0)==="<"&&!bt.test(a)&&(v.support.checkClone||!St.test(a))&&(v.support.html5Clone||!wt.test(a))&&(o=!0,s=v.fragments[a],u=s!==t),s||(s=n.createDocumentFragment(),v.clean(e,n,s,r),o&&(v.fragments[a]=u&&s)),{fragment:s,cacheable:o}},v.fragments={},v.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){v.fn[e]=function(n){var r,i=0,s=[],o=v(n),u=o.length,a=this.length===1&&this[0].parentNode;if((a==null||a&&a.nodeType===11&&a.childNodes.length===1)&&u===1)return o[t](this[0]),this;for(;i<u;i++)r=(i>0?this.clone(!0):this).get(),v(o[i])[t](r),s=s.concat(r);return this.pushStack(s,e,o.selector)}}),v.extend({clone:function(e,t,n){var r,i,s,o;v.support.html5Clone||v.isXMLDoc(e)||!wt.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(kt.innerHTML=e.outerHTML,kt.removeChild(o=kt.firstChild));if((!v.support.noCloneEvent||!v.support.noCloneChecked)&&(e.nodeType===1||e.nodeType===11)&&!v.isXMLDoc(e)){Ot(e,o),r=Mt(e),i=Mt(o);for(s=0;r[s];++s)i[s]&&Ot(r[s],i[s])}if(t){At(e,o);if(n){r=Mt(e),i=Mt(o);for(s=0;r[s];++s)At(r[s],i[s])}}return r=i=null,o},clean:function(e,t,n,r){var s,o,u,a,f,l,c,h,p,d,m,g,y=t===i&&Ct,b=[];if(!t||typeof t.createDocumentFragment=="undefined")t=i;for(s=0;(u=e[s])!=null;s++){typeof u=="number"&&(u+="");if(!u)continue;if(typeof u=="string")if(!gt.test(u))u=t.createTextNode(u);else{y=y||lt(t),c=t.createElement("div"),y.appendChild(c),u=u.replace(dt,"<$1></$2>"),a=(vt.exec(u)||["",""])[1].toLowerCase(),f=Nt[a]||Nt._default,l=f[0],c.innerHTML=f[1]+u+f[2];while(l--)c=c.lastChild;if(!v.support.tbody){h=mt.test(u),p=a==="table"&&!h?c.firstChild&&c.firstChild.childNodes:f[1]==="<table>"&&!h?c.childNodes:[];for(o=p.length-1;o>=0;--o)v.nodeName(p[o],"tbody")&&!p[o].childNodes.length&&p[o].parentNode.removeChild(p[o])}!v.support.leadingWhitespace&&pt.test(u)&&c.insertBefore(t.createTextNode(pt.exec(u)[0]),c.firstChild),u=c.childNodes,c.parentNode.removeChild(c)}u.nodeType?b.push(u):v.merge(b,u)}c&&(u=c=y=null);if(!v.support.appendChecked)for(s=0;(u=b[s])!=null;s++)v.nodeName(u,"input")?_t(u):typeof u.getElementsByTagName!="undefined"&&v.grep(u.getElementsByTagName("input"),_t);if(n){m=function(e){if(!e.type||xt.test(e.type))return r?r.push(e.parentNode?e.parentNode.removeChild(e):e):n.appendChild(e)};for(s=0;(u=b[s])!=null;s++)if(!v.nodeName(u,"script")||!m(u))n.appendChild(u),typeof u.getElementsByTagName!="undefined"&&(g=v.grep(v.merge([],u.getElementsByTagName("script")),m),b.splice.apply(b,[s+1,0].concat(g)),s+=g.length)}return b},cleanData:function(e,t){var n,r,i,s,o=0,u=v.expando,a=v.cache,f=v.support.deleteExpando,l=v.event.special;for(;(i=e[o])!=null;o++)if(t||v.acceptData(i)){r=i[u],n=r&&a[r];if(n){if(n.events)for(s in n.events)l[s]?v.event.remove(i,s):v.removeEvent(i,s,n.handle);a[r]&&(delete a[r],f?delete i[u]:i.removeAttribute?i.removeAttribute(u):i[u]=null,v.deletedIds.push(r))}}}}),function(){var e,t;v.uaMatch=function(e){e=e.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}},e=v.uaMatch(o.userAgent),t={},e.browser&&(t[e.browser]=!0,t.version=e.version),t.chrome?t.webkit=!0:t.webkit&&(t.safari=!0),v.browser=t,v.sub=function(){function e(t,n){return new e.fn.init(t,n)}v.extend(!0,e,this),e.superclass=this,e.fn=e.prototype=this(),e.fn.constructor=e,e.sub=this.sub,e.fn.init=function(r,i){return i&&i instanceof v&&!(i instanceof e)&&(i=e(i)),v.fn.init.call(this,r,i,t)},e.fn.init.prototype=e.fn;var t=e(i);return e}}();var Dt,Pt,Ht,Bt=/alpha\([^)]*\)/i,jt=/opacity=([^)]*)/,Ft=/^(top|right|bottom|left)$/,It=/^(none|table(?!-c[ea]).+)/,qt=/^margin/,Rt=new RegExp("^("+m+")(.*)$","i"),Ut=new RegExp("^("+m+")(?!px)[a-z%]+$","i"),zt=new RegExp("^([-+])=("+m+")","i"),Wt={BODY:"block"},Xt={position:"absolute",visibility:"hidden",display:"block"},Vt={letterSpacing:0,fontWeight:400},$t=["Top","Right","Bottom","Left"],Jt=["Webkit","O","Moz","ms"],Kt=v.fn.toggle;v.fn.extend({css:function(e,n){return v.access(this,function(e,n,r){return r!==t?v.style(e,n,r):v.css(e,n)},e,n,arguments.length>1)},show:function(){return Yt(this,!0)},hide:function(){return Yt(this)},toggle:function(e,t){var n=typeof e=="boolean";return v.isFunction(e)&&v.isFunction(t)?Kt.apply(this,arguments):this.each(function(){(n?e:Gt(this))?v(this).show():v(this).hide()})}}),v.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Dt(e,"opacity");return n===""?"1":n}}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":v.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,r,i){if(!e||e.nodeType===3||e.nodeType===8||!e.style)return;var s,o,u,a=v.camelCase(n),f=e.style;n=v.cssProps[a]||(v.cssProps[a]=Qt(f,a)),u=v.cssHooks[n]||v.cssHooks[a];if(r===t)return u&&"get"in u&&(s=u.get(e,!1,i))!==t?s:f[n];o=typeof r,o==="string"&&(s=zt.exec(r))&&(r=(s[1]+1)*s[2]+parseFloat(v.css(e,n)),o="number");if(r==null||o==="number"&&isNaN(r))return;o==="number"&&!v.cssNumber[a]&&(r+="px");if(!u||!("set"in u)||(r=u.set(e,r,i))!==t)try{f[n]=r}catch(l){}},css:function(e,n,r,i){var s,o,u,a=v.camelCase(n);return n=v.cssProps[a]||(v.cssProps[a]=Qt(e.style,a)),u=v.cssHooks[n]||v.cssHooks[a],u&&"get"in u&&(s=u.get(e,!0,i)),s===t&&(s=Dt(e,n)),s==="normal"&&n in Vt&&(s=Vt[n]),r||i!==t?(o=parseFloat(s),r||v.isNumeric(o)?o||0:s):s},swap:function(e,t,n){var r,i,s={};for(i in t)s[i]=e.style[i],e.style[i]=t[i];r=n.call(e);for(i in t)e.style[i]=s[i];return r}}),e.getComputedStyle?Dt=function(t,n){var r,i,s,o,u=e.getComputedStyle(t,null),a=t.style;return u&&(r=u.getPropertyValue(n)||u[n],r===""&&!v.contains(t.ownerDocument,t)&&(r=v.style(t,n)),Ut.test(r)&&qt.test(n)&&(i=a.width,s=a.minWidth,o=a.maxWidth,a.minWidth=a.maxWidth=a.width=r,r=u.width,a.width=i,a.minWidth=s,a.maxWidth=o)),r}:i.documentElement.currentStyle&&(Dt=function(e,t){var n,r,i=e.currentStyle&&e.currentStyle[t],s=e.style;return i==null&&s&&s[t]&&(i=s[t]),Ut.test(i)&&!Ft.test(t)&&(n=s.left,r=e.runtimeStyle&&e.runtimeStyle.left,r&&(e.runtimeStyle.left=e.currentStyle.left),s.left=t==="fontSize"?"1em":i,i=s.pixelLeft+"px",s.left=n,r&&(e.runtimeStyle.left=r)),i===""?"auto":i}),v.each(["height","width"],function(e,t){v.cssHooks[t]={get:function(e,n,r){if(n)return e.offsetWidth===0&&It.test(Dt(e,"display"))?v.swap(e,Xt,function(){return tn(e,t,r)}):tn(e,t,r)},set:function(e,n,r){return Zt(e,n,r?en(e,t,r,v.support.boxSizing&&v.css(e,"boxSizing")==="border-box"):0)}}}),v.support.opacity||(v.cssHooks.opacity={get:function(e,t){return jt.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=v.isNumeric(t)?"alpha(opacity="+t*100+")":"",s=r&&r.filter||n.filter||"";n.zoom=1;if(t>=1&&v.trim(s.replace(Bt,""))===""&&n.removeAttribute){n.removeAttribute("filter");if(r&&!r.filter)return}n.filter=Bt.test(s)?s.replace(Bt,i):s+" "+i}}),v(function(){v.support.reliableMarginRight||(v.cssHooks.marginRight={get:function(e,t){return v.swap(e,{display:"inline-block"},function(){if(t)return Dt(e,"marginRight")})}}),!v.support.pixelPosition&&v.fn.position&&v.each(["top","left"],function(e,t){v.cssHooks[t]={get:function(e,n){if(n){var r=Dt(e,t);return Ut.test(r)?v(e).position()[t]+"px":r}}}})}),v.expr&&v.expr.filters&&(v.expr.filters.hidden=function(e){return e.offsetWidth===0&&e.offsetHeight===0||!v.support.reliableHiddenOffsets&&(e.style&&e.style.display||Dt(e,"display"))==="none"},v.expr.filters.visible=function(e){return!v.expr.filters.hidden(e)}),v.each({margin:"",padding:"",border:"Width"},function(e,t){v.cssHooks[e+t]={expand:function(n){var r,i=typeof n=="string"?n.split(" "):[n],s={};for(r=0;r<4;r++)s[e+$t[r]+t]=i[r]||i[r-2]||i[0];return s}},qt.test(e)||(v.cssHooks[e+t].set=Zt)});var rn=/%20/g,sn=/\[\]$/,on=/\r?\n/g,un=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,an=/^(?:select|textarea)/i;v.fn.extend({serialize:function(){return v.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?v.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||an.test(this.nodeName)||un.test(this.type))}).map(function(e,t){var n=v(this).val();return n==null?null:v.isArray(n)?v.map(n,function(e,n){return{name:t.name,value:e.replace(on,"\r\n")}}):{name:t.name,value:n.replace(on,"\r\n")}}).get()}}),v.param=function(e,n){var r,i=[],s=function(e,t){t=v.isFunction(t)?t():t==null?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};n===t&&(n=v.ajaxSettings&&v.ajaxSettings.traditional);if(v.isArray(e)||e.jquery&&!v.isPlainObject(e))v.each(e,function(){s(this.name,this.value)});else for(r in e)fn(r,e[r],n,s);return i.join("&").replace(rn,"+")};var ln,cn,hn=/#.*$/,pn=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,dn=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,vn=/^(?:GET|HEAD)$/,mn=/^\/\//,gn=/\?/,yn=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,bn=/([?&])_=[^&]*/,wn=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,En=v.fn.load,Sn={},xn={},Tn=["*/"]+["*"];try{cn=s.href}catch(Nn){cn=i.createElement("a"),cn.href="",cn=cn.href}ln=wn.exec(cn.toLowerCase())||[],v.fn.load=function(e,n,r){if(typeof e!="string"&&En)return En.apply(this,arguments);if(!this.length)return this;var i,s,o,u=this,a=e.indexOf(" ");return a>=0&&(i=e.slice(a,e.length),e=e.slice(0,a)),v.isFunction(n)?(r=n,n=t):n&&typeof n=="object"&&(s="POST"),v.ajax({url:e,type:s,dataType:"html",data:n,complete:function(e,t){r&&u.each(r,o||[e.responseText,t,e])}}).done(function(e){o=arguments,u.html(i?v("<div>").append(e.replace(yn,"")).find(i):e)}),this},v.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,t){v.fn[t]=function(e){return this.on(t,e)}}),v.each(["get","post"],function(e,n){v[n]=function(e,r,i,s){return v.isFunction(r)&&(s=s||i,i=r,r=t),v.ajax({type:n,url:e,data:r,success:i,dataType:s})}}),v.extend({getScript:function(e,n){return v.get(e,t,n,"script")},getJSON:function(e,t,n){return v.get(e,t,n,"json")},ajaxSetup:function(e,t){return t?Ln(e,v.ajaxSettings):(t=e,e=v.ajaxSettings),Ln(e,t),e},ajaxSettings:{url:cn,isLocal:dn.test(ln[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":Tn},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":e.String,"text html":!0,"text json":v.parseJSON,"text xml":v.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:Cn(Sn),ajaxTransport:Cn(xn),ajax:function(e,n){function T(e,n,s,a){var l,y,b,w,S,T=n;if(E===2)return;E=2,u&&clearTimeout(u),o=t,i=a||"",x.readyState=e>0?4:0,s&&(w=An(c,x,s));if(e>=200&&e<300||e===304)c.ifModified&&(S=x.getResponseHeader("Last-Modified"),S&&(v.lastModified[r]=S),S=x.getResponseHeader("Etag"),S&&(v.etag[r]=S)),e===304?(T="notmodified",l=!0):(l=On(c,w),T=l.state,y=l.data,b=l.error,l=!b);else{b=T;if(!T||e)T="error",e<0&&(e=0)}x.status=e,x.statusText=(n||T)+"",l?d.resolveWith(h,[y,T,x]):d.rejectWith(h,[x,T,b]),x.statusCode(g),g=t,f&&p.trigger("ajax"+(l?"Success":"Error"),[x,c,l?y:b]),m.fireWith(h,[x,T]),f&&(p.trigger("ajaxComplete",[x,c]),--v.active||v.event.trigger("ajaxStop"))}typeof e=="object"&&(n=e,e=t),n=n||{};var r,i,s,o,u,a,f,l,c=v.ajaxSetup({},n),h=c.context||c,p=h!==c&&(h.nodeType||h instanceof v)?v(h):v.event,d=v.Deferred(),m=v.Callbacks("once memory"),g=c.statusCode||{},b={},w={},E=0,S="canceled",x={readyState:0,setRequestHeader:function(e,t){if(!E){var n=e.toLowerCase();e=w[n]=w[n]||e,b[e]=t}return this},getAllResponseHeaders:function(){return E===2?i:null},getResponseHeader:function(e){var n;if(E===2){if(!s){s={};while(n=pn.exec(i))s[n[1].toLowerCase()]=n[2]}n=s[e.toLowerCase()]}return n===t?null:n},overrideMimeType:function(e){return E||(c.mimeType=e),this},abort:function(e){return e=e||S,o&&o.abort(e),T(0,e),this}};d.promise(x),x.success=x.done,x.error=x.fail,x.complete=m.add,x.statusCode=function(e){if(e){var t;if(E<2)for(t in e)g[t]=[g[t],e[t]];else t=e[x.status],x.always(t)}return this},c.url=((e||c.url)+"").replace(hn,"").replace(mn,ln[1]+"//"),c.dataTypes=v.trim(c.dataType||"*").toLowerCase().split(y),c.crossDomain==null&&(a=wn.exec(c.url.toLowerCase()),c.crossDomain=!(!a||a[1]===ln[1]&&a[2]===ln[2]&&(a[3]||(a[1]==="http:"?80:443))==(ln[3]||(ln[1]==="http:"?80:443)))),c.data&&c.processData&&typeof c.data!="string"&&(c.data=v.param(c.data,c.traditional)),kn(Sn,c,n,x);if(E===2)return x;f=c.global,c.type=c.type.toUpperCase(),c.hasContent=!vn.test(c.type),f&&v.active++===0&&v.event.trigger("ajaxStart");if(!c.hasContent){c.data&&(c.url+=(gn.test(c.url)?"&":"?")+c.data,delete c.data),r=c.url;if(c.cache===!1){var N=v.now(),C=c.url.replace(bn,"$1_="+N);c.url=C+(C===c.url?(gn.test(c.url)?"&":"?")+"_="+N:"")}}(c.data&&c.hasContent&&c.contentType!==!1||n.contentType)&&x.setRequestHeader("Content-Type",c.contentType),c.ifModified&&(r=r||c.url,v.lastModified[r]&&x.setRequestHeader("If-Modified-Since",v.lastModified[r]),v.etag[r]&&x.setRequestHeader("If-None-Match",v.etag[r])),x.setRequestHeader("Accept",c.dataTypes[0]&&c.accepts[c.dataTypes[0]]?c.accepts[c.dataTypes[0]]+(c.dataTypes[0]!=="*"?", "+Tn+"; q=0.01":""):c.accepts["*"]);for(l in c.headers)x.setRequestHeader(l,c.headers[l]);if(!c.beforeSend||c.beforeSend.call(h,x,c)!==!1&&E!==2){S="abort";for(l in{success:1,error:1,complete:1})x[l](c[l]);o=kn(xn,c,n,x);if(!o)T(-1,"No Transport");else{x.readyState=1,f&&p.trigger("ajaxSend",[x,c]),c.async&&c.timeout>0&&(u=setTimeout(function(){x.abort("timeout")},c.timeout));try{E=1,o.send(b,T)}catch(k){if(!(E<2))throw k;T(-1,k)}}return x}return x.abort()},active:0,lastModified:{},etag:{}});var Mn=[],_n=/\?/,Dn=/(=)\?(?=&|$)|\?\?/,Pn=v.now();v.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Mn.pop()||v.expando+"_"+Pn++;return this[e]=!0,e}}),v.ajaxPrefilter("json jsonp",function(n,r,i){var s,o,u,a=n.data,f=n.url,l=n.jsonp!==!1,c=l&&Dn.test(f),h=l&&!c&&typeof a=="string"&&!(n.contentType||"").indexOf("application/x-www-form-urlencoded")&&Dn.test(a);if(n.dataTypes[0]==="jsonp"||c||h)return s=n.jsonpCallback=v.isFunction(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,o=e[s],c?n.url=f.replace(Dn,"$1"+s):h?n.data=a.replace(Dn,"$1"+s):l&&(n.url+=(_n.test(f)?"&":"?")+n.jsonp+"="+s),n.converters["script json"]=function(){return u||v.error(s+" was not called"),u[0]},n.dataTypes[0]="json",e[s]=function(){u=arguments},i.always(function(){e[s]=o,n[s]&&(n.jsonpCallback=r.jsonpCallback,Mn.push(s)),u&&v.isFunction(o)&&o(u[0]),u=o=t}),"script"}),v.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(e){return v.globalEval(e),e}}}),v.ajaxPrefilter("script",function(e){e.cache===t&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),v.ajaxTransport("script",function(e){if(e.crossDomain){var n,r=i.head||i.getElementsByTagName("head")[0]||i.documentElement;return{send:function(s,o){n=i.createElement("script"),n.async="async",e.scriptCharset&&(n.charset=e.scriptCharset),n.src=e.url,n.onload=n.onreadystatechange=function(e,i){if(i||!n.readyState||/loaded|complete/.test(n.readyState))n.onload=n.onreadystatechange=null,r&&n.parentNode&&r.removeChild(n),n=t,i||o(200,"success")},r.insertBefore(n,r.firstChild)},abort:function(){n&&n.onload(0,1)}}}});var Hn,Bn=e.ActiveXObject?function(){for(var e in Hn)Hn[e](0,1)}:!1,jn=0;v.ajaxSettings.xhr=e.ActiveXObject?function(){return!this.isLocal&&Fn()||In()}:Fn,function(e){v.extend(v.support,{ajax:!!e,cors:!!e&&"withCredentials"in e})}(v.ajaxSettings.xhr()),v.support.ajax&&v.ajaxTransport(function(n){if(!n.crossDomain||v.support.cors){var r;return{send:function(i,s){var o,u,a=n.xhr();n.username?a.open(n.type,n.url,n.async,n.username,n.password):a.open(n.type,n.url,n.async);if(n.xhrFields)for(u in n.xhrFields)a[u]=n.xhrFields[u];n.mimeType&&a.overrideMimeType&&a.overrideMimeType(n.mimeType),!n.crossDomain&&!i["X-Requested-With"]&&(i["X-Requested-With"]="XMLHttpRequest");try{for(u in i)a.setRequestHeader(u,i[u])}catch(f){}a.send(n.hasContent&&n.data||null),r=function(e,i){var u,f,l,c,h;try{if(r&&(i||a.readyState===4)){r=t,o&&(a.onreadystatechange=v.noop,Bn&&delete Hn[o]);if(i)a.readyState!==4&&a.abort();else{u=a.status,l=a.getAllResponseHeaders(),c={},h=a.responseXML,h&&h.documentElement&&(c.xml=h);try{c.text=a.responseText}catch(p){}try{f=a.statusText}catch(p){f=""}!u&&n.isLocal&&!n.crossDomain?u=c.text?200:404:u===1223&&(u=204)}}}catch(d){i||s(-1,d)}c&&s(u,f,c,l)},n.async?a.readyState===4?setTimeout(r,0):(o=++jn,Bn&&(Hn||(Hn={},v(e).unload(Bn)),Hn[o]=r),a.onreadystatechange=r):r()},abort:function(){r&&r(0,1)}}}});var qn,Rn,Un=/^(?:toggle|show|hide)$/,zn=new RegExp("^(?:([-+])=|)("+m+")([a-z%]*)$","i"),Wn=/queueHooks$/,Xn=[Gn],Vn={"*":[function(e,t){var n,r,i=this.createTween(e,t),s=zn.exec(t),o=i.cur(),u=+o||0,a=1,f=20;if(s){n=+s[2],r=s[3]||(v.cssNumber[e]?"":"px");if(r!=="px"&&u){u=v.css(i.elem,e,!0)||n||1;do a=a||".5",u/=a,v.style(i.elem,e,u+r);while(a!==(a=i.cur()/o)&&a!==1&&--f)}i.unit=r,i.start=u,i.end=s[1]?u+(s[1]+1)*n:n}return i}]};v.Animation=v.extend(Kn,{tweener:function(e,t){v.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");var n,r=0,i=e.length;for(;r<i;r++)n=e[r],Vn[n]=Vn[n]||[],Vn[n].unshift(t)},prefilter:function(e,t){t?Xn.unshift(e):Xn.push(e)}}),v.Tween=Yn,Yn.prototype={constructor:Yn,init:function(e,t,n,r,i,s){this.elem=e,this.prop=n,this.easing=i||"swing",this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=s||(v.cssNumber[n]?"":"px")},cur:function(){var e=Yn.propHooks[this.prop];return e&&e.get?e.get(this):Yn.propHooks._default.get(this)},run:function(e){var t,n=Yn.propHooks[this.prop];return this.options.duration?this.pos=t=v.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):Yn.propHooks._default.set(this),this}},Yn.prototype.init.prototype=Yn.prototype,Yn.propHooks={_default:{get:function(e){var t;return e.elem[e.prop]==null||!!e.elem.style&&e.elem.style[e.prop]!=null?(t=v.css(e.elem,e.prop,!1,""),!t||t==="auto"?0:t):e.elem[e.prop]},set:function(e){v.fx.step[e.prop]?v.fx.step[e.prop](e):e.elem.style&&(e.elem.style[v.cssProps[e.prop]]!=null||v.cssHooks[e.prop])?v.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},Yn.propHooks.scrollTop=Yn.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},v.each(["toggle","show","hide"],function(e,t){var n=v.fn[t];v.fn[t]=function(r,i,s){return r==null||typeof r=="boolean"||!e&&v.isFunction(r)&&v.isFunction(i)?n.apply(this,arguments):this.animate(Zn(t,!0),r,i,s)}}),v.fn.extend({fadeTo:function(e,t,n,r){return this.filter(Gt).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=v.isEmptyObject(e),s=v.speed(t,n,r),o=function(){var t=Kn(this,v.extend({},e),s);i&&t.stop(!0)};return i||s.queue===!1?this.each(o):this.queue(s.queue,o)},stop:function(e,n,r){var i=function(e){var t=e.stop;delete e.stop,t(r)};return typeof e!="string"&&(r=n,n=e,e=t),n&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,n=e!=null&&e+"queueHooks",s=v.timers,o=v._data(this);if(n)o[n]&&o[n].stop&&i(o[n]);else for(n in o)o[n]&&o[n].stop&&Wn.test(n)&&i(o[n]);for(n=s.length;n--;)s[n].elem===this&&(e==null||s[n].queue===e)&&(s[n].anim.stop(r),t=!1,s.splice(n,1));(t||!r)&&v.dequeue(this,e)})}}),v.each({slideDown:Zn("show"),slideUp:Zn("hide"),slideToggle:Zn("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){v.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),v.speed=function(e,t,n){var r=e&&typeof e=="object"?v.extend({},e):{complete:n||!n&&t||v.isFunction(e)&&e,duration:e,easing:n&&t||t&&!v.isFunction(t)&&t};r.duration=v.fx.off?0:typeof r.duration=="number"?r.duration:r.duration in v.fx.speeds?v.fx.speeds[r.duration]:v.fx.speeds._default;if(r.queue==null||r.queue===!0)r.queue="fx";return r.old=r.complete,r.complete=function(){v.isFunction(r.old)&&r.old.call(this),r.queue&&v.dequeue(this,r.queue)},r},v.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},v.timers=[],v.fx=Yn.prototype.init,v.fx.tick=function(){var e,n=v.timers,r=0;qn=v.now();for(;r<n.length;r++)e=n[r],!e()&&n[r]===e&&n.splice(r--,1);n.length||v.fx.stop(),qn=t},v.fx.timer=function(e){e()&&v.timers.push(e)&&!Rn&&(Rn=setInterval(v.fx.tick,v.fx.interval))},v.fx.interval=13,v.fx.stop=function(){clearInterval(Rn),Rn=null},v.fx.speeds={slow:600,fast:200,_default:400},v.fx.step={},v.expr&&v.expr.filters&&(v.expr.filters.animated=function(e){return v.grep(v.timers,function(t){return e===t.elem}).length});var er=/^(?:body|html)$/i;v.fn.offset=function(e){if(arguments.length)return e===t?this:this.each(function(t){v.offset.setOffset(this,e,t)});var n,r,i,s,o,u,a,f={top:0,left:0},l=this[0],c=l&&l.ownerDocument;if(!c)return;return(r=c.body)===l?v.offset.bodyOffset(l):(n=c.documentElement,v.contains(n,l)?(typeof l.getBoundingClientRect!="undefined"&&(f=l.getBoundingClientRect()),i=tr(c),s=n.clientTop||r.clientTop||0,o=n.clientLeft||r.clientLeft||0,u=i.pageYOffset||n.scrollTop,a=i.pageXOffset||n.scrollLeft,{top:f.top+u-s,left:f.left+a-o}):f)},v.offset={bodyOffset:function(e){var t=e.offsetTop,n=e.offsetLeft;return v.support.doesNotIncludeMarginInBodyOffset&&(t+=parseFloat(v.css(e,"marginTop"))||0,n+=parseFloat(v.css(e,"marginLeft"))||0),{top:t,left:n}},setOffset:function(e,t,n){var r=v.css(e,"position");r==="static"&&(e.style.position="relative");var i=v(e),s=i.offset(),o=v.css(e,"top"),u=v.css(e,"left"),a=(r==="absolute"||r==="fixed")&&v.inArray("auto",[o,u])>-1,f={},l={},c,h;a?(l=i.position(),c=l.top,h=l.left):(c=parseFloat(o)||0,h=parseFloat(u)||0),v.isFunction(t)&&(t=t.call(e,n,s)),t.top!=null&&(f.top=t.top-s.top+c),t.left!=null&&(f.left=t.left-s.left+h),"using"in t?t.using.call(e,f):i.css(f)}},v.fn.extend({position:function(){if(!this[0])return;var e=this[0],t=this.offsetParent(),n=this.offset(),r=er.test(t[0].nodeName)?{top:0,left:0}:t.offset();return n.top-=parseFloat(v.css(e,"marginTop"))||0,n.left-=parseFloat(v.css(e,"marginLeft"))||0,r.top+=parseFloat(v.css(t[0],"borderTopWidth"))||0,r.left+=parseFloat(v.css(t[0],"borderLeftWidth"))||0,{top:n.top-r.top,left:n.left-r.left}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||i.body;while(e&&!er.test(e.nodeName)&&v.css(e,"position")==="static")e=e.offsetParent;return e||i.body})}}),v.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var r=/Y/.test(n);v.fn[e]=function(i){return v.access(this,function(e,i,s){var o=tr(e);if(s===t)return o?n in o?o[n]:o.document.documentElement[i]:e[i];o?o.scrollTo(r?v(o).scrollLeft():s,r?s:v(o).scrollTop()):e[i]=s},e,i,arguments.length,null)}}),v.each({Height:"height",Width:"width"},function(e,n){v.each({padding:"inner"+e,content:n,"":"outer"+e},function(r,i){v.fn[i]=function(i,s){var o=arguments.length&&(r||typeof i!="boolean"),u=r||(i===!0||s===!0?"margin":"border");return v.access(this,function(n,r,i){var s;return v.isWindow(n)?n.document.documentElement["client"+e]:n.nodeType===9?(s=n.documentElement,Math.max(n.body["scroll"+e],s["scroll"+e],n.body["offset"+e],s["offset"+e],s["client"+e])):i===t?v.css(n,r,i,u):v.style(n,r,i,u)},n,o?i:t,o,null)}})}),e.jQuery=e.$=v,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return v})})(window);
++//]]>
++</script>
++<script id="jqueryArea" type="text/javascript">
++//<![CDATA[
++/*
++jQuery.encoding.digests.sha1.js
++
++SHA-1 digest and associated utility functions
++
++Copyright (c) UnaMesa Association 2009
++
++Dual licensed under the MIT and GPL licenses:
++ http://www.opensource.org/licenses/mit-license.php
++ http://www.gnu.org/licenses/gpl.html
++*/
++
++(function($) {
++
++if(!$.encoding)
++ $.encoding = {};
++ $.extend($.encoding,{
++ strToBe32s: function(str) {
++ // Convert a string to an array of big-endian 32-bit words
++ var be=[];
++ var len=Math.floor(str.length/4);
++ var i, j;
++ for(i=0, j=0; i<len; i++, j+=4) {
++ be[i]=((str.charCodeAt(j)&0xff) << 24)|((str.charCodeAt(j+1)&0xff) << 16)|((str.charCodeAt(j+2)&0xff) << 8)|(str.charCodeAt(j+3)&0xff);
++ }
++ while(j<str.length) {
++ be[j>>2] |= (str.charCodeAt(j)&0xff)<<(24-(j*8)%32);
++ j++;
++ }
++ return be;
++ },
++ be32sToStr: function(be) {
++ // Convert an array of big-endian 32-bit words to a string
++ var str='';
++ for(var i=0;i<be.length*32;i+=8) {
++ str += String.fromCharCode((be[i>>5]>>>(24-i%32)) & 0xff);
++ }
++ return str;
++ },
++ be32sToHex: function(be) {
++ // Convert an array of big-endian 32-bit words to a hex string
++ var hex='0123456789ABCDEF';
++ var str='';
++ for(var i=0;i<be.length*4;i++) {
++ str += hex.charAt((be[i>>2]>>((3-i%4)*8+4))&0xF) + hex.charAt((be[i>>2]>>((3-i%4)*8))&0xF);
++ }
++ return str;
++ }
++ });
++})(jQuery);
++
++
++(function($) {
++
++if(!$.encoding.digests)
++ $.encoding.digests = {};
++ $.extend($.encoding.digests,{
++ hexSha1Str: function(str) {
++ // Return, in hex, the SHA-1 hash of a string
++ return $.encoding.be32sToHex($.encoding.digests.sha1Str(str));
++ },
++ sha1Str: function(str) {
++ // Return the SHA-1 hash of a string
++ return sha1($.encoding.strToBe32s(str),str.length);
++ },
++ sha1: function(x,blen) {
++ // Calculate the SHA-1 hash of an array of blen bytes of big-endian 32-bit words
++ return sha1($.encoding.strToBe32s(str),str.length);
++ }
++ });
++
++ // Private functions.
++ function sha1(x,blen) {
++ // Calculate the SHA-1 hash of an array of blen bytes of big-endian 32-bit words
++ function add32(a,b) {
++ // Add 32-bit integers, wrapping at 32 bits
++ // Uses 16-bit operations internally to work around bugs in some JavaScript interpreters.
++ var lsw=(a&0xFFFF)+(b&0xFFFF);
++ var msw=(a>>16)+(b>>16)+(lsw>>16);
++ return (msw<<16)|(lsw&0xFFFF);
++ }
++ function AA(a,b,c,d,e) {
++ // Cryptographic round helper function. Add five 32-bit integers, wrapping at 32 bits, second parameter is rotated left 5 bits before the addition
++ // Uses 16-bit operations internally to work around bugs in some JavaScript interpreters.
++ b=(b>>>27)|(b<<5);
++ var lsw=(a&0xFFFF)+(b&0xFFFF)+(c&0xFFFF)+(d&0xFFFF)+(e&0xFFFF);
++ var msw=(a>>16)+(b>>16)+(c>>16)+(d>>16)+(e>>16)+(lsw>>16);
++ return (msw<<16)|(lsw&0xFFFF);
++ }
++ function RR(w,j) {
++ // Cryptographic round helper function.
++ var n=w[j-3]^w[j-8]^w[j-14]^w[j-16];
++ return (n>>>31)|(n<<1);
++ }
++
++ var len=blen*8;
++ x[len>>5] |= 0x80 << (24-len%32);
++ x[((len+64>>9)<<4)+15]=len;
++ var w=new Array(80);
++
++ var k1=0x5A827999;
++ var k2=0x6ED9EBA1;
++ var k3=0x8F1BBCDC;
++ var k4=0xCA62C1D6;
++
++ var h0=0x67452301;
++ var h1=0xEFCDAB89;
++ var h2=0x98BADCFE;
++ var h3=0x10325476;
++ var h4=0xC3D2E1F0;
++
++ for(var i=0;i<x.length;i+=16) {
++ var j=0;
++ var t;
++ var a=h0;
++ var b=h1;
++ var c=h2;
++ var d=h3;
++ var e=h4;
++ while(j<16) {
++ w[j]=x[i+j];
++ t=AA(e,a,d^(b&(c^d)),w[j],k1);
++ e=d; d=c; c=(b>>>2)|(b<<30); b=a; a=t; j++;
++ }
++ while(j<20) {
++ w[j]=RR(w,j);
++ t=AA(e,a,d^(b&(c^d)),w[j],k1);
++ e=d; d=c; c=(b>>>2)|(b<<30); b=a; a=t; j++;
++ }
++ while(j<40) {
++ w[j]=RR(w,j);
++ t=AA(e,a,b^c^d,w[j],k2);
++ e=d; d=c; c=(b>>>2)|(b<<30); b=a; a=t; j++;
++ }
++ while(j<60) {
++ w[j]=RR(w,j);
++ t=AA(e,a,(b&c)|(d&(b|c)),w[j],k3);
++ e=d; d=c; c=(b>>>2)|(b<<30); b=a; a=t; j++;
++ }
++ while(j<80) {
++ w[j]=RR(w,j);
++ t=AA(e,a,b^c^d,w[j],k4);
++ e=d; d=c; c=(b>>>2)|(b<<30); b=a; a=t; j++;
++ }
++ h0=add32(h0,a);
++ h1=add32(h1,b);
++ h2=add32(h2,c);
++ h3=add32(h3,d);
++ h4=add32(h4,e);
++ }
++ return [h0,h1,h2,h3,h4];
++ }
++})(jQuery);
++/*
++jQuery.twStylesheet.js
++
++jQuery plugin to dynamically insert CSS rules into a document
++
++Usage:
++ jQuery.twStylesheet applies style definitions
++ jQuery.twStylesheet.remove neutralizes style definitions
++
++Copyright (c) UnaMesa Association 2009
++
++Triple licensed under the BSD, MIT and GPL licenses:
++ http://www.opensource.org/licenses/bsd-license.php
++ http://www.opensource.org/licenses/mit-license.php
++ http://www.gnu.org/licenses/gpl.html
++*/
++
++(function($) {
++
++var defaultId = "customStyleSheet"; // XXX: rename to dynamicStyleSheet?
++
++// Add or replace a style sheet
++// css argument is a string of CSS rule sets
++// options.id is an optional name identifying the style sheet
++// options.doc is an optional document reference
++// N.B.: Uses DOM methods instead of jQuery to ensure cross-browser comaptibility.
++$.twStylesheet = function(css, options) {
++ options = options || {};
++ var id = options.id || defaultId;
++ var doc = options.doc || document;
++ var el = doc.getElementById(id);
++ if(doc.createStyleSheet) { // IE-specific handling
++ if(el) {
++ el.parentNode.removeChild(el);
++ }
++ doc.getElementsByTagName("head")[0].insertAdjacentHTML("beforeEnd",
++ '&nbsp;<style id="' + id + '" type="text/css">' + css + '</style>'); // fails without &nbsp;
++ } else { // modern browsers
++ if(el) {
++ el.replaceChild(doc.createTextNode(css), el.firstChild);
++ } else {
++ el = doc.createElement("style");
++ el.type = "text/css";
++ el.id = id;
++ el.appendChild(doc.createTextNode(css));
++ doc.getElementsByTagName("head")[0].appendChild(el);
++ }
++ }
++};
++
++// Remove existing style sheet
++// options.id is an optional name identifying the style sheet
++// options.doc is an optional document reference
++$.twStylesheet.remove = function(options) {
++ options = options || {};
++ var id = options.id || defaultId;
++ var doc = options.doc || document;
++ var el = doc.getElementById(id);
++ if(el) {
++ el.parentNode.removeChild(el);
++ }
++};
++
++})(jQuery);
++
++//]]>
++</script>
++<script type="text/javascript">
++//<![CDATA[
++if(useJavaSaver)
++ document.write("<applet style='position:absolute;left:-1px' name='TiddlySaver' code='TiddlySaver.class' archive='TiddlySaver.jar' width='1' height='1'></applet>");
++//]]>
++</script>
++<!--POST-SCRIPT-START-->
++
++<!--POST-SCRIPT-END-->
++</body>
++</html>
diff --git a/debian/patches/apparmor-allow-java.security.diff b/debian/patches/apparmor-allow-java.security.diff
new file mode 100644
index 000000000..e4b8ae6ea
--- /dev/null
+++ b/debian/patches/apparmor-allow-java.security.diff
@@ -0,0 +1,14 @@
+diff --git a/sysui/desktop/apparmor/program.soffice.bin b/sysui/desktop/apparmor/program.soffice.bin
+index 2fc7fd6b5735..3fd82b08431e 100644
+--- a/sysui/desktop/apparmor/program.soffice.bin
++++ b/sysui/desktop/apparmor/program.soffice.bin
+@@ -144,6 +144,9 @@ profile libreoffice-soffice INSTDIR-program/soffice.bin {
+ /usr/lib{,32,64}/jvm/** r,
+ /usr/lib{,32,64}/jvm/**/jre/bin/java mix,
+ /usr/lib{,32,64}/jvm/**/bin/java mix,
++ # should be included in the jvm/** above but there it is
++ # a symlink, so apparmor still doesn't allow it...
++ /etc/java-??-openjdk/security/java.security r,
+ INSTDIR-** rw,
+ INSTDIR-**.so m,
+ INSTDIR-program/soffice.bin mix,
diff --git a/debian/patches/apparmor-cleanups.diff b/debian/patches/apparmor-cleanups.diff
new file mode 100644
index 000000000..c607c2649
--- /dev/null
+++ b/debian/patches/apparmor-cleanups.diff
@@ -0,0 +1,35 @@
+From b3c157faeb945fd689fcc8561a520d9e611a7419 Mon Sep 17 00:00:00 2001
+From: Vincas Dargis <vindrg@gmail.com>
+Date: Sat, 4 Aug 2018 17:40:05 +0300
+Subject: [PATCH] apparmor: use dri-enumerate abstraction
+
+Remove backported rule and use new dri-enumerate abstraction instead.
+dri-enumerate is available in AppArmor 2.13, which recently migrated
+into Debian Buster.
+
+Change-Id: I64919edc1882f7bc1e65cfb94686464c5350f699
+---
+ sysui/desktop/apparmor/program.soffice.bin | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/sysui/desktop/apparmor/program.soffice.bin b/sysui/desktop/apparmor/program.soffice.bin
+index 2fc7fd6b5735..33ad6f933ef6 100644
+--- a/sysui/desktop/apparmor/program.soffice.bin
++++ b/sysui/desktop/apparmor/program.soffice.bin
+@@ -82,6 +82,7 @@ profile libreoffice-soffice INSTDIR-program/soffice.bin {
+ #include <abstractions/dbus>
+ #include <abstractions/dbus-session>
+ #include <abstractions/dbus-accessibility>
++ #include <abstractions/dri-enumerate>
+ #include <abstractions/ibus>
+ #include <abstractions/nameservice>
+ #include <abstractions/gnome>
+@@ -179,7 +179,6 @@ profile libreoffice-soffice INSTDIR-program/soffice.bin {
+ #Likely moving to abstractions in the future
+ owner @{HOME}/.icons/*/cursors/* r,
+ /etc/fstab r, # Solid::DeviceNotifier::instance() TODO: deny?
+- /sys/devices/pci[0-9]*/**/{device,subsystem_device,subsystem_vendor,uevent,vendor} r, # for libdrm
+ /usr/share/*-fonts/conf.avail/*.conf r,
+ /usr/share/fonts-config/conf.avail/*.conf r,
+ /{,var/}run/udev/data/+usb:* r, # Solid::Device::listFromQuery()
+
diff --git a/debian/patches/apparmor-complain.diff b/debian/patches/apparmor-complain.diff
new file mode 100644
index 000000000..99a2189cf
--- /dev/null
+++ b/debian/patches/apparmor-complain.diff
@@ -0,0 +1,26 @@
+diff --git a/sysui/desktop/apparmor/program.oosplash b/sysui/desktop/apparmor/program.oosplash
+index fef54b7ee384..9dde31a63615 100644
+--- a/sysui/desktop/apparmor/program.oosplash
++++ b/sysui/desktop/apparmor/program.oosplash
+@@ -12,7 +12,7 @@
+
+ #include <tunables/global>
+
+-profile libreoffice-oosplash INSTDIR-program/oosplash {
++profile libreoffice-oosplash INSTDIR-program/oosplash flags=(complain) {
+ #include <abstractions/base>
+ #include <abstractions/X>
+
+diff --git a/sysui/desktop/apparmor/program.soffice.bin b/sysui/desktop/apparmor/program.soffice.bin
+index b4baeab8f5ee..7861c9eac9bd 100644
+--- a/sysui/desktop/apparmor/program.soffice.bin
++++ b/sysui/desktop/apparmor/program.soffice.bin
+@@ -60,7 +60,7 @@
+
+ #include <tunables/global>
+
+-profile libreoffice-soffice INSTDIR-program/soffice.bin {
++profile libreoffice-soffice INSTDIR-program/soffice.bin flags=(complain) {
+ #include <abstractions/private-files>
+
+ #include <abstractions/audio>
diff --git a/debian/patches/apparmor-gnupg-tofu.diff b/debian/patches/apparmor-gnupg-tofu.diff
new file mode 100644
index 000000000..a2ee52f40
--- /dev/null
+++ b/debian/patches/apparmor-gnupg-tofu.diff
@@ -0,0 +1,28 @@
+From: Benjamin Barenblat <bbaren@google.com>
+Subject: Support tofu+pgp trust model in GnuPG
+Bug-Debian: https://bugs.debian.org/955271
+Forwarded: no
+
+GnuPG supports a trust-on-first-use layer that sits on top of the
+standard PGP trust model. If this is enabled, 'gpg --list-keys' needs
+write and lock permissions on the TOFU database to return any useful
+data. Allow this access through AppArmor.
+
+--- libreoffice-7.1.2.2/sysui/desktop/apparmor/program.soffice.bin
++++ libreoffice-7.1.2.2/sysui/desktop/apparmor/program.soffice.bin
+@@ -2,6 +2,7 @@
+ #
+ # Copyright (C) 2016 Canonical Ltd.
+ # Copyright (C) 2018 Software in the Public Interest, Inc.
++# Copyright (C) 2021 Google LLC
+ #
+ # This Source Code Form is subject to the terms of the Mozilla Public
+ # License, v. 2.0. If a copy of the MPL was not distributed with this
+@@ -215,6 +216,7 @@ profile gpg {
+
+ owner @{HOME}/.gnupg/* r,
+ owner @{HOME}/.gnupg/random_seed rk,
++ owner @{HOME}/.gnupg/tofu.db rwk,
+ }
+
+ # probably should become a subprofile like gpg above, but then it doesn't
diff --git a/debian/patches/apparmor-mesa.diff b/debian/patches/apparmor-mesa.diff
new file mode 100644
index 000000000..dd6dd20a6
--- /dev/null
+++ b/debian/patches/apparmor-mesa.diff
@@ -0,0 +1,10 @@
+--- a/sysui/desktop/apparmor/program.soffice.bin-old 2018-11-09 23:04:59.858704214 +0100
++++ b/sysui/desktop/apparmor/program.soffice.bin 2018-11-09 23:05:28.050949237 +0100
+@@ -87,6 +87,7 @@
+ #include <abstractions/dbus-session>
+ #include <abstractions/dbus-accessibility>
+ #include <abstractions/dri-enumerate>
++ #include <abstractions/mesa>
+ #include <abstractions/ibus>
+ #include <abstractions/nameservice>
+ #include <abstractions/gnome>
diff --git a/debian/patches/apparmor-opencl.diff b/debian/patches/apparmor-opencl.diff
new file mode 100644
index 000000000..462f376bc
--- /dev/null
+++ b/debian/patches/apparmor-opencl.diff
@@ -0,0 +1,20 @@
+apparmor: Add opencl support
+
+AppArmor in Debian Buster now has OpenCL abstractions.
+
+Include OpenCL abstractions to fix OpenCL usage in Calc.
+Index: libreoffice-6.1.4/sysui/desktop/apparmor/program.soffice.bin
+===================================================================
+--- libreoffice-6.1.4.orig/sysui/desktop/apparmor/program.soffice.bin 2019-01-14 19:29:25.000000000 +0200
++++ libreoffice-6.1.4/sysui/desktop/apparmor/program.soffice.bin 2019-01-16 18:43:17.051781559 +0200
+@@ -98,6 +98,10 @@
+
+ #include <abstractions/user-tmp>
+
++ #include <abstractions/opencl-intel>
++ #include <abstractions/opencl-mesa>
++ #include <abstractions/opencl-nvidia>
++
+ #List directories for file browser
+ / r,
+ /**/ r,
diff --git a/debian/patches/apparmor-updates.diff b/debian/patches/apparmor-updates.diff
new file mode 100644
index 000000000..538f91305
--- /dev/null
+++ b/debian/patches/apparmor-updates.diff
@@ -0,0 +1,13 @@
+diff --git a/sysui/desktop/apparmor/program.soffice.bin b/sysui/desktop/apparmor/program.soffice.bin
+index 42053db2abef..2a60f67c2846 100644
+--- a/sysui/desktop/apparmor/program.soffice.bin
++++ b/sysui/desktop/apparmor/program.soffice.bin
+@@ -101,7 +108,7 @@ profile libreoffice-soffice INSTDIR-program/soffice.bin {
+ owner @{libo_user_dirs}/**/ rw, #allow creating directories that we own
+ owner @{libo_user_dirs}/**~lock.* rw, #lock file support
+ owner @{libo_user_dirs}/**.@{libreoffice_ext} rwk, #Open files rw with the right exts
+- owner @{libo_user_dirs}/{,**/}lu??????????{,?}.tmp rwk, #Temporary file used when saving
++ owner @{libo_user_dirs}/{,**/}lu????????{,?,??,???,????}.tmp rwk, #Temporary file used when saving
+ owner @{libo_user_dirs}/{,**/}.directory r, #Read directory settings on KDE
+
+ # Settings
diff --git a/debian/patches/appstream-ignore-startcenter.diff b/debian/patches/appstream-ignore-startcenter.diff
new file mode 100644
index 000000000..4251d6492
--- /dev/null
+++ b/debian/patches/appstream-ignore-startcenter.diff
@@ -0,0 +1,10 @@
+--- a/sysui/desktop/menus/startcenter.desktop
++++ b/sysui/desktop/menus/startcenter.desktop
+@@ -31,6 +31,7 @@ StartupNotify=true
+ X-GIO-NoFuse=true
+ StartupWMClass=libreoffice-startcenter
+ X-KDE-Protocols=file,http,ftp,webdav,webdavs
++X-AppStream-Ignore=True
+
+ ##Define Actions
+ Actions=Writer;Calc;Impress;Draw;Base;Math;
diff --git a/debian/patches/arm-fp-mode.diff b/debian/patches/arm-fp-mode.diff
new file mode 100644
index 000000000..3047188f5
--- /dev/null
+++ b/debian/patches/arm-fp-mode.diff
@@ -0,0 +1,15 @@
+Description: Explicitly set fpu mode on armhf
+Author: Rico Tzschichholz <ricotz@ubuntu.com>
+
+diff --git a/bridges/source/cpp_uno/gcc3_linux_arm/armhelper.S b/bridges/source/cpp_uno/gcc3_linux_arm/armhelper.S
+index 4eff3ff0a012..7996b9c5b3f0 100644
+--- a/bridges/source/cpp_uno/gcc3_linux_arm/armhelper.S
++++ b/bridges/source/cpp_uno/gcc3_linux_arm/armhelper.S
+@@ -51,6 +51,7 @@ privateSnippetExecutor:
+ mov r0, ip @ r0 points to functionoffset/vtable
+ mov r1, sp @ r1 points to this and params
+ #ifdef __ARM_PCS_VFP
++ .fpu vfpv2
+ vpush {d0-d7} @ floating point parameter on stack
+ #endif
+ UNWIND .pad #PAD @ throw this data away on exception
diff --git a/debian/patches/boost-1.81.diff b/debian/patches/boost-1.81.diff
new file mode 100644
index 000000000..dcf99f6e9
--- /dev/null
+++ b/debian/patches/boost-1.81.diff
@@ -0,0 +1,48 @@
+From 7e61545966c61102aad56bbf10bae2edfbfa9226 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?=
+ <congdanhqx@gmail.com>
+Date: Sun, 27 Nov 2022 18:59:24 +0700
+Subject: i18n: fix build with Boost 1.81.0
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Boost.Locale since 1.81.0 switch to enum classes for facet type [1].
+Switch our resource manager accordingly.
+
+1: https://github.com/boostorg/locale/commit/e5ed439ea39a4de915e9fb939cca95cae7d9d8d1
+
+Change-Id: Ief215363ceb79b2019606b20a7cde55c8df6a042
+Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143343
+Reviewed-by: Heiko Becker <heirecka@exherbo.org>
+Tested-by: Caolán McNamara <caolanm@redhat.com>
+Reviewed-by: Caolán McNamara <caolanm@redhat.com>
+(cherry picked from commit 23dcd4339428e4080029ec5ae658e75f01e79a62)
+Reviewed-on: https://gerrit.libreoffice.org/c/core/+/144310
+Reviewed-by: Danh Doan <congdanhqx@gmail.com>
+Tested-by: Jenkins
+---
+ unotools/source/i18n/resmgr.cxx | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+diff --git a/unotools/source/i18n/resmgr.cxx b/unotools/source/i18n/resmgr.cxx
+index ddedf5b9e8a2..3a7116350062 100644
+--- a/unotools/source/i18n/resmgr.cxx
++++ b/unotools/source/i18n/resmgr.cxx
+@@ -127,8 +127,13 @@ namespace Translate
+ if (aFind != aCache.end())
+ return aFind->second;
+ boost::locale::generator gen;
++#if BOOST_VERSION < 108100
+ gen.characters(boost::locale::char_facet);
+ gen.categories(boost::locale::message_facet | boost::locale::information_facet);
++#else
++ gen.characters(boost::locale::char_facet_t::char_f);
++ gen.categories(boost::locale::category_t::message | boost::locale::category_t::information);
++#endif
+ #if defined(ANDROID)
+ OString sPath(OString(lo_get_app_data_dir()) + "/program/resource");
+ #else
+--
+cgit v1.2.1
+
diff --git a/debian/patches/build-against-shared-lpsolve.diff b/debian/patches/build-against-shared-lpsolve.diff
new file mode 100644
index 000000000..ddd80de1a
--- /dev/null
+++ b/debian/patches/build-against-shared-lpsolve.diff
@@ -0,0 +1,27 @@
+diff --git a/configure.ac b/configure.ac
+index cdae8b5..49f3ba2 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -9468,8 +9468,9 @@ if test "$with_system_lpsolve" = "yes"; then
+ # some systems need this. Like Ubuntu...
+ AC_CHECK_LIB(m, floor)
+ AC_CHECK_LIB(dl, dlopen)
++ AC_CHECK_LIB(colamd, colamd)
+ AC_CHECK_LIB([lpsolve55], [make_lp], [:],
+- [ AC_MSG_ERROR(lpsolve library not found or too old.)], [])
++ [ AC_MSG_ERROR(lpsolve library not found or too old.)], [-L/usr/lib/lp_solve])
+ LIBS=$save_LIBS
+ else
+ AC_MSG_RESULT([internal])
+diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk
+index a4daea7..0dea12d 100644
+--- a/RepositoryExternal.mk
++++ b/RepositoryExternal.mk
+@@ -1961,6 +1961,7 @@ ifeq ($(WITH_LPSOLVER),lpsolve)
+
+ define gb_LinkTarget__use_lpsolve
+ $(call gb_LinkTarget_add_libs,$(1),-llpsolve55)
++$(call gb_LinkTarget_add_ldflags,$(1),-L/usr/lib/lp_solve -Wl$(COMMA)-rpath=/usr/lib/lp_solve)
+ $(call gb_LinkTarget_add_defs,$(1),\
+ -DSYSTEM_LPSOLVE \
+ )
diff --git a/debian/patches/cppunit-optional.diff b/debian/patches/cppunit-optional.diff
new file mode 100644
index 000000000..93465392f
--- /dev/null
+++ b/debian/patches/cppunit-optional.diff
@@ -0,0 +1,212 @@
+diff --git a/configure.ac b/configure.ac
+index c12fe95a561c..66d327ae8fb8 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -2047,6 +2047,11 @@ AC_ARG_WITH(bffvalidator,
+ See https://www.microsoft.com/en-us/download/details.aspx?id=26794]),
+ ,with_bffvalidator=no)
+
++libo_FUZZ_ARG_WITH(cppunit,
++ AS_HELP_STRING([--without-cppunit>],
++ [disable building(!) of cppunit stuff also built during make build]),
++,with_cppunit=yes)
++
+ libo_FUZZ_ARG_WITH(junit,
+ AS_HELP_STRING([--with-junit=<absolute path to JUnit 4 jar>],
+ [Specifies the JUnit 4 jar file to use for JUnit-based tests.
+@@ -7932,8 +7959,12 @@ dnl ===================================================================
+ dnl Check for system cppunit
+ dnl ===================================================================
+ if test "$_os" != "Android" ; then
++ if test "$with_cppunit" != "no"; then
+ libo_CHECK_SYSTEM_MODULE([cppunit],[CPPUNIT],[cppunit >= 1.14.0])
++ ENABLE_CPPUNIT=TRUE
++ fi
+ fi
++AC_SUBST(ENABLE_CPPUNIT)
+
+ dnl ===================================================================
+ dnl Check whether freetype is available
+diff --git a/config_host.mk.in b/config_host.mk.in
+index 8888355642ef..ac8a4b64967e 100644
+--- a/config_host.mk.in
++++ b/config_host.mk.in
+@@ -147,6 +147,7 @@ export ENABLE_COINMP=@ENABLE_COINMP@
+ export SYSTEM_COINMP=@SYSTEM_COINMP@
+ export COINMP_CFLAGS=@COINMP_CFLAGS@
+ export COINMP_LIBS=@COINMP_LIBS@
++export ENABLE_CPPUNIT=@ENABLE_CPPUNIT@
+ export ENABLE_CUPS=@ENABLE_CUPS@
+ export ENABLE_CURL=@ENABLE_CURL@
+ export ENABLE_DBGUTIL=@ENABLE_DBGUTIL@
+diff --git a/sal/Module_sal.mk b/sal/Module_sal.mk
+index fe9523a7a6e2..719edf8c6252 100644
+--- a/sal/Module_sal.mk
++++ b/sal/Module_sal.mk
+@@ -10,7 +10,6 @@
+ $(eval $(call gb_Module_Module,sal))
+
+ $(eval $(call gb_Module_add_targets,sal,\
+- $(if $(CROSS_COMPILING),,$(if $(filter TRUE,$(DISABLE_DYNLOADING)),,Executable_cppunittester)) \
+ $(if $(filter $(OS),ANDROID), \
+ Library_lo-bootstrap) \
+ Library_sal \
+@@ -33,4 +32,10 @@ $(eval $(call gb_Module_add_check_targets,sal,\
+
+ endif
+
++ifeq ($(ENABLE_CPPUNIT),TRUE)
++$(eval $(call gb_Module_add_check_targets,sal,\
++ $(if $(CROSS_COMPILING),,$(if $(filter TRUE,$(DISABLE_DYNLOADING)),,Executable_cppunittester)) \
++))
++endif
++
+ # vim: set noet sw=4 ts=4:
+diff --git a/sdext/Executable_pdf2xml.mk b/sdext/Executable_pdf2xml.mk
+index 373f40da36fd..c0401bef9c7a 100644
+--- a/sdext/Executable_pdf2xml.mk
++++ b/sdext/Executable_pdf2xml.mk
+@@ -13,10 +13,10 @@ $(eval $(call gb_Executable_use_sdk_api,pdf2xml))
+
+ $(eval $(call gb_Executable_use_externals,pdf2xml,\
+ boost_headers \
+- cppunit \
+ zlib \
+ ))
+
++
+ $(eval $(call gb_Executable_set_include,pdf2xml,\
+ -I$(SRCDIR)/sdext/source/pdfimport/inc \
+ $$(INCLUDE) \
+@@ -27,13 +27,21 @@ $(eval $(call gb_Executable_use_libraries,pdf2xml,\
+ comphelper \
+ cppu \
+- unotest \
+ cppuhelper \
+ sal \
+ tl \
+ xo \
+ i18nutil \
+ ))
+
++ifeq ($(ENABLE_CPPUNIT),TRUE)
++$(eval $(call gb_Executable_use_externals,pdf2xml,\
++ cppunit \
++))
++$(eval $(call gb_Executable_use_libraries,pdf2xml,\
++ unotest \
++))
++endif
++
+ $(eval $(call gb_Executable_use_library_objects,pdf2xml,pdfimport))
+
+ $(eval $(call gb_Executable_add_exception_objects,pdf2xml,\
+diff --git a/smoketest/Module_smoketest.mk b/smoketest/Module_smoketest.mk
+index 217dbfa6543a..fa2d0d489bd7 100644
+--- a/smoketest/Module_smoketest.mk
++++ b/smoketest/Module_smoketest.mk
+@@ -13,8 +13,12 @@ $(eval $(call gb_Module_Module,smoketest))
+ ifeq ($(CROSS_COMPILING),)
+
+ ifneq (,$(filter DESKTOP,$(BUILD_TYPE)))
++ifeq ($(ENABLE_CPPUNIT),TRUE)
+ $(eval $(call gb_Module_add_targets,smoketest,\
+ Library_smoketest \
++))
++endif
++$(eval $(call gb_Module_add_targets,smoketest,\
+ Zip_smoketestdoc \
+ ))
+ endif
+@@ -26,6 +30,7 @@ $(eval $(call gb_Module_add_targets,smoketest,\
+ endif
+ endif
+
++ifeq ($(ENABLE_CPPUNIT),TRUE)
+ ifneq (MACOSX/TRUE,$(OS)/$(ENABLE_MACOSX_SANDBOX))
+ ifneq ($(filter EXTENSIONS,$(BUILD_TYPE)),)
+ $(eval $(call gb_Module_add_subsequentcheck_targets,smoketest,\
+@@ -33,6 +38,7 @@ $(eval $(call gb_Module_add_subsequentcheck_targets,smoketest,\
+ ))
+ endif
+ endif
++endif
+
+ endif
+
+diff --git a/test/Module_test.mk b/test/Module_test.mk
+index e1051f16b5a0..d1787cb5789b 100644
+--- a/test/Module_test.mk
++++ b/test/Module_test.mk
+@@ -11,6 +11,7 @@ $(eval $(call gb_Module_Module,test))
+
+ ifneq (,$(filter DESKTOP,$(BUILD_TYPE)))
+
++ifeq ($(ENABLE_CPPUNIT),TRUE)
+ $(eval $(call gb_Module_add_targets,test,\
+ Library_test \
+ Library_test_setupvcl \
+@@ -18,6 +19,7 @@ $(eval $(call gb_Module_add_targets,test,\
+ $(eval $(call gb_Module_add_check_targets,test,\
+ CppunitTest_test_xpath \
+ ))
++endif
+
+ endif
+
+diff --git a/unotest/Module_unotest.mk b/unotest/Module_unotest.mk
+index bdffe8e8ac14..acdd4da6c539 100644
+--- a/unotest/Module_unotest.mk
++++ b/unotest/Module_unotest.mk
+@@ -12,12 +12,14 @@ $(eval $(call gb_Module_Module,unotest))
+
+ ifeq ($(gb_Side),host)
+ ifneq (,$(filter DESKTOP,$(BUILD_TYPE)))
++ifeq ($(ENABLE_CPPUNIT),TRUE)
+ $(eval $(call gb_Module_add_targets,unotest,\
+ Library_unobootstrapprotector \
+ Library_unoexceptionprotector \
+ Library_unotest \
+ ))
+ endif
++endif
+
+ ifneq ($(ENABLE_JAVA),)
+ $(eval $(call gb_Module_add_targets,unotest,\
+diff --git a/testtools/Module_testtools.mk b/testtools/Module_testtools.mk
+index a1b84e175b30..08e4aad24c11 100644
+--- a/testtools/Module_testtools.mk
++++ b/testtools/Module_testtools.mk
+@@ -11,6 +11,8 @@ $(eval $(call gb_Module_Module,testtools))
+
+ ifeq ($(CROSS_COMPILING),)
+
++ifeq ($(ENABLE_CPPUNIT),TRUE)
++
+ $(eval $(call gb_Module_add_targets,testtools,\
+ CustomTarget_bridgetest \
+ InternalUnoApi_bridgetest \
+@@ -41,4 +43,6 @@ $(eval $(call gb_Module_add_check_targets,testtools,\
+
+ endif
+
++endif
++
+ # vim:set noet sw=4 ts=4:
+diff --git a/Repository.mk b/Repository.mk
+index dbb628f2a6b3..4387e665624e 100644
+--- a/Repository.mk
++++ b/Repository.mk
+@@ -799,8 +805,12 @@ endif
+
+ # 'test_unittest' is only package delivering to workdir.
+ # Other packages could be potentially autoinstalled.
++ifeq ($(ENABLE_CPPUNIT),TRUE)
+ $(eval $(call gb_Helper_register_packages, \
+ test_unittest \
++))
++endif
++$(eval $(call gb_Helper_register_packages, \
+ cli_basetypes_copy \
+ extras_wordbook \
+ instsetoo_native_setup \
diff --git a/debian/patches/debian-debug.diff b/debian/patches/debian-debug.diff
new file mode 100644
index 000000000..8a5efddfb
--- /dev/null
+++ b/debian/patches/debian-debug.diff
@@ -0,0 +1,47 @@
+diff --git a/solenv/gbuild/platform/com_GCC_defs.mk b/solenv/gbuild/platform/com_GCC_defs.mk
+index 9de88a2..9161a4e 100644
+--- a/solenv/gbuild/platform/com_GCC_defs.mk
++++ b/solenv/gbuild/platform/com_GCC_defs.mk
+@@ -170,6 +170,8 @@ gb_COMPILERNOOPTFLAGS := -O0 -fstrict-aliasing -fstrict-overflow
+ ifeq ($(OS),ANDROID)
+ gb_DEBUGINFO_FLAGS=-glldb
+ # Clang does not know -ggdb2 or some other options
++else ifeq ($(enable_symbols),SMALL)
++gb_DEBUGINFO_FLAGS=-g1
+ else ifeq ($(HAVE_GCC_GGDB2),TRUE)
+ gb_DEBUGINFO_FLAGS=-ggdb2
+ else
+diff --git a/configure.ac b/configure.ac
+index 2d62af9981a9..b1ad5a970700 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -4056,6 +4056,9 @@ fi
+ if test "$enable_symbols" = yes; then
+ ENABLE_SYMBOLS_FOR=all
+ AC_MSG_RESULT([yes])
++elif test "$enable_symbols" = "SMALL" -o "$enable_symbols" = "small"; then
++ ENABLE_SYMBOLS_FOR=all
++ AC_MSG_RESULT([yes, small ones])
+ elif test "$enable_symbols" = no; then
+ ENABLE_SYMBOLS_FOR=
+ AC_MSG_RESULT([no])
+@@ -4064,6 +4067,7 @@ else
+ ENABLE_SYMBOLS_FOR="$enable_symbols"
+ AC_MSG_RESULT([for "$enable_symbols"])
+ fi
++AC_SUBST(enable_symbols)
+ AC_SUBST(ENABLE_SYMBOLS_FOR)
+
+ if test -n "$with_android_ndk" -a \( -n "$ENABLE_SYMBOLS" -o -n "$ENABLE_DEBUG" -o -n "$ENABLE_DBGUTIL" \) -a "$ENABLE_DEBUGINFO_FOR" = "all"; then
+diff --git a/config_host.mk.in b/config_host.mk.in
+index 7df26713a1dd..174c4e50466c 100644
+--- a/config_host.mk.in
++++ b/config_host.mk.in
+@@ -208,6 +209,7 @@ export ENABLE_SDREMOTE_BLUETOOTH=@ENABLE_SDREMOTE_BLUETOOTH@
+ export ENABLE_SILENT_MSI=@ENABLE_SILENT_MSI@
+ export ENABLE_SKIA=@ENABLE_SKIA@
+ export ENABLE_SKIA_DEBUG=@ENABLE_SKIA_DEBUG@
++export enable_symbols=@enable_symbols@
+ export ENABLE_SYMBOLS_FOR=@ENABLE_SYMBOLS_FOR@
+ export ENABLE_VALGRIND=@ENABLE_VALGRIND@
+ export ENABLE_WASM_EXCEPTIONS=@ENABLE_WASM_EXCEPTIONS@
diff --git a/debian/patches/debian-hardened-buildflags-CPPFLAGS.diff b/debian/patches/debian-hardened-buildflags-CPPFLAGS.diff
new file mode 100644
index 000000000..26061d63f
--- /dev/null
+++ b/debian/patches/debian-hardened-buildflags-CPPFLAGS.diff
@@ -0,0 +1,37 @@
+--- a/configure.ac-old 2012-03-02 21:48:47.000000000 +0000
++++ b/configure.ac 2012-03-02 21:51:29.000000000 +0000
+@@ -10225,6 +10225,11 @@ else
+ AC_SUBST(GSTREAMER_1_0_LIBS)
+ AC_SUBST(ENABLE_GSTREAMER_1_0)
+
++if test -x /usr/bin/dpkg-buildflags; then
++ HARDEN_CPPFLAGS=`dpkg-buildflags --get CPPFLAGS 2>/dev/null`
++fi
++AC_SUBST(HARDEN_CPPFLAGS)
++
+ ENABLE_OPENGL_TRANSITIONS=
+ ENABLE_OPENGL_CANVAS=
+ if test $_os = iOS -o $_os = Android -o "$ENABLE_FUZZERS" = "TRUE"; then
+--- a/config_host.mk.in-old 2012-04-06 14:17:55.164239390 +0200
++++ b/config_host.mk.in 2012-04-06 14:18:55.440239065 +0200
+@@ -76,6 +76,7 @@
+ export CPPUNIT_LIBS=$(gb_SPACE)@CPPUNIT_LIBS@
+ export CPUNAME=@CPUNAME@
+ export CDEFAULTOPT=@CDEFAULTOPT@
++export HARDEN_CPPFLAGS=@HARDEN_CPPFLAGS@
+ export CROSS_COMPILING=@CROSS_COMPILING@
+ export CURL=@CURL@
+ export CURL_CFLAGS=$(gb_SPACE)@CURL_CFLAGS@
+diff --git a/solenv/gbuild/gbuild.mk b/solenv/gbuild/gbuild.mk
+index c71cb40..f826d65 100644
+--- a/solenv/gbuild/gbuild.mk
++++ b/solenv/gbuild/gbuild.mk
+@@ -259,6 +259,8 @@ gb_GLOBALDEFS += \
+ DISABLE_DYNLOADING \
+ )
+
++gb_GLOBALDEFS += $(HARDEN_CPPFLAGS)
++
+ gb_GLOBALDEFS := $(sort $(gb_GLOBALDEFS))
+
+ # Common environment variables passed into all gb_*Test classes:
diff --git a/debian/patches/debian-hardened-buildflags-no-LO-fstack-protector-strong.diff b/debian/patches/debian-hardened-buildflags-no-LO-fstack-protector-strong.diff
new file mode 100644
index 000000000..00ae5c56a
--- /dev/null
+++ b/debian/patches/debian-hardened-buildflags-no-LO-fstack-protector-strong.diff
@@ -0,0 +1,32 @@
+don't hardcode -fstack-protector-strong in configure.ac/gbuild. We get the
+hardening flags from dpkg-buildflags anyway.
+
+diff --git a/solenv/gbuild/platform/com_GCC_defs.mk b/solenv/gbuild/platform/com_GCC_defs.mk
+index 712a61df544f..0d50f538ba7b 100644
+--- a/solenv/gbuild/platform/com_GCC_defs.mk
++++ b/solenv/gbuild/platform/com_GCC_defs.mk
+@@ -67,7 +67,6 @@ gb_CFLAGS_COMMON := \
+ -fmessage-length=0 \
+ -fno-common \
+ -pipe \
+- $(if $(filter EMSCRIPTEN,$(OS)),-fno-stack-protector,-fstack-protector-strong) \
+
+ gb_CXXFLAGS_COMMON := \
+ -Wall \
+@@ -82,7 +81,6 @@ gb_CXXFLAGS_COMMON := \
+ -fmessage-length=0 \
+ -fno-common \
+ -pipe \
+- $(if $(filter EMSCRIPTEN,$(OS)),-fno-stack-protector,-fstack-protector-strong) \
+
+ ifeq ($(HAVE_WDEPRECATED_COPY_DTOR),TRUE)
+ gb_CXXFLAGS_COMMON += -Wdeprecated-copy-dtor
+@@ -136,8 +134,6 @@ endif
+ gb_VISIBILITY_FLAGS_CXX := -fvisibility-inlines-hidden
+ gb_CXXFLAGS_COMMON += $(gb_VISIBILITY_FLAGS_CXX)
+
+-gb_LinkTarget_LDFLAGS += $(if $(filter EMSCRIPTEN,$(OS)),-fno-stack-protector,-fstack-protector-strong)
+-
+ ifneq ($(gb_ENABLE_PCH),)
+ ifeq ($(COM_IS_CLANG),TRUE)
+ # Clang by default includes in the PCH timestamps of the files it was
diff --git a/debian/patches/debian-opt.diff b/debian/patches/debian-opt.diff
new file mode 100644
index 000000000..96784e674
--- /dev/null
+++ b/debian/patches/debian-opt.diff
@@ -0,0 +1,26 @@
+diff --git a/configure.ac b/configure.ac
+index f06ef8e..91ce612 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -12776,6 +12776,9 @@ fi
+ fi
+ fi
+
++CDEFAULTOPT=`echo $CFLAGS 2>/dev/null | grep -E -o "\-O[[0-3]]"`
++AC_SUBST(CDEFAULTOPT)
++
+ dnl ===================================================================
+ dnl Setting up the environment.
+ dnl ===================================================================
+diff --git a/config_host.mk.in b/config_host.mk.in
+index 1ec3268..abb45b1 100644
+--- a/config_host.mk.in
++++ b/config_host.mk.in
+@@ -69,6 +69,7 @@ export CPP_LIBRARY=@CPP_LIBRARY@
+ export CPPUNIT_CFLAGS=$(gb_SPACE)@CPPUNIT_CFLAGS@
+ export CPPUNIT_LIBS=$(gb_SPACE)@CPPUNIT_LIBS@
+ export CPUNAME=@CPUNAME@
++export CDEFAULTOPT=@CDEFAULTOPT@
+ export CROSS_COMPILING=@CROSS_COMPILING@
+ export CURL=@CURL@
+ export CURL_CFLAGS=$(gb_SPACE)@CURL_CFLAGS@
diff --git a/debian/patches/disable-flaky-tests.diff b/debian/patches/disable-flaky-tests.diff
new file mode 100644
index 000000000..6e367e620
--- /dev/null
+++ b/debian/patches/disable-flaky-tests.diff
@@ -0,0 +1,120 @@
+14:13 < mst__> _rene_, the toolkit unoapi tests are known to be flaky (in some
+ system dependent way) e.g. on the Win@6 tinderbox it always
+ crashes
+14:14 < mst__> _rene_, sc.ScAccessible* tests also fail on some systems some of
+ the time
+
+diff --git a/toolkit/Module_toolkit.mk b/toolkit/Module_toolkit.mk
+index 25db0b6..14e507c 100644
+--- a/toolkit/Module_toolkit.mk
++++ b/toolkit/Module_toolkit.mk
+@@ -26,11 +26,11 @@ $(eval $(call gb_Module_add_targets,toolkit,\
+ ifneq ($(OOO_JUNIT_JAR),)
+ $(eval $(call gb_Module_add_subsequentcheck_targets,toolkit,\
+ JunitTest_toolkit_complex \
+- JunitTest_toolkit_unoapi_1 \
+- JunitTest_toolkit_unoapi_2 \
+- JunitTest_toolkit_unoapi_3 \
+- JunitTest_toolkit_unoapi_4 \
+ ))
+ endif
++# JunitTest_toolkit_unoapi_1 \
++# JunitTest_toolkit_unoapi_2 \
++# JunitTest_toolkit_unoapi_3 \
++# JunitTest_toolkit_unoapi_4 \
+
+ # vim: set noet sw=4 ts=4:
+diff --git a/sc/qa/unoapi/sc_1.sce b/sc/qa/unoapi/sc_1.sce
+index fa1684c..cc8e1a5 100644
+--- a/sc/qa/unoapi/sc_1.sce
++++ b/sc/qa/unoapi/sc_1.sce
+@@ -24,10 +24,3 @@
+ # i84554 -o sc.AccessibleEditableTextPara_PreviewNote
+ # i88241 -o sc.AccessibleEditableTextPara_HeaderFooter
+ -o sc.AccessibleEditableTextPara_PreviewCell
+--o sc.ScAccessibleCell
+-# i91044 -o sc.ScAccessibleCsvCell
+-# i91044 -o sc.ScAccessibleCsvGrid
+-# i84641 -o sc.ScAccessibleCsvRuler
+-# i88330 -o sc.ScAccessibleDocument
+-# i91045 -o sc.ScAccessibleDocumentPagePreview
+--o sc.ScAccessiblePageHeader
+diff --git a/sc/qa/unoapi/sc_2.sce b/sc/qa/unoapi/sc_2.sce
+index dbfc3e1..d235c5d 100644
+--- a/sc/qa/unoapi/sc_2.sce
++++ b/sc/qa/unoapi/sc_2.sce
+@@ -15,11 +15,6 @@
+ # except in compliance with the License. You may obtain a copy of
+ # the License at http://www.apache.org/licenses/LICENSE-2.0 .
+ #
+-# fdo#FOO -o sc.ScAccessiblePageHeaderArea
+--o sc.ScAccessiblePreviewCell
+--o sc.ScAccessiblePreviewHeaderCell
+--o sc.ScAccessiblePreviewTable
+-# fdo#45337 -o sc.ScAccessibleSpreadsheet
+ # FIXME_REMOVE_WHEN_RE_BASE_COMPLETE
+ # -o sc.ScAnnotationShapeObj
+ -o sc.ScAutoFormatFieldObj
+
+diff --git a/svx/qa/unoapi/svx.sce b/svx/qa/unoapi/svx.sce
+index 1c3925f..a16f001 100644
+--- a/svx/qa/unoapi/svx.sce
++++ b/svx/qa/unoapi/svx.sce
+@@ -25,7 +25,7 @@
+ #i111216 -o svx.AccessiblePresentationGraphicShape
+ #i111216 -o svx.AccessiblePresentationOLEShape
+ #i85539 -o svx.AccessiblePresentationShape
+--o svx.AccessibleShape
++#-o svx.AccessibleShape
+ #i90294 -o svx.GraphicExporter
+ -o svx.SvxDrawPage
+ #i85501 -o svx.SvxGraphCtrlAccessibleContext
+
+19:26 <@x1sc0> _rene_, since that test is using exact dimensions, it seems it
+ fails on your side probably because the paragraph style is
+ different. 1. I will change the test to avoid the exact
+ dimensions. 2. meantime you can skip that test:
+https://cgit.freedesktop.org/libreoffice/core/commit/?id=e05f16e6bf36efbaab16dd2ed1427a750ce7cafd
+19:26 < IZBot> core - disable UI test that does exact comparison
+19:27 < _rene_> mmh, ok, saw that but that was for a different test, so.. :)
+19:27 -!- jacobo [~jaragunde@fanzine.igalia.com] has quit [Quit: Leaving.]
+19:27 < _rene_> thanks, will do
+
+diff --git a/uitest/writer_tests/tdf79236.py b/uitest/writer_tests/tdf79236.py
+index 8585e48d8c64..704f42c009a1 100644
+--- a/sw/qa/uitest/writer_tests3/tdf79236.py
++++ b/sw/qa/uitest/writer_tests3/tdf79236.py
+@@ -8,8 +8,11 @@ from uitest.framework import UITestCase
+ from uitest.framework import UITestCase
+ from uitest.uihelper.common import type_text
+
++import unittest
++
+ class tdf79236(UITestCase):
+
++ @unittest.skip("Currently broken")
+ def test_paragraph(self):
+
+ with self.ui_test.create_doc_in_start_center("writer") as document:
+
+14:39 < ztamas> _rene_: chart2dump is used to fail because of font size differences, just use a bigger delta or disable it if it
+ fails for you.
+14:40 <@sberg_> noelgrandin, no
+14:40 < noelgrandin> sberg_, sure seems that way both in the debugger and in the resulting SAL_WARN output
+14:42 < ztamas> _rene_: there were some work on making font rendering consistent on different platforms, but it's not finished
+ yet, I guess
+diff --git a/chart2/Module_chart2.mk b/chart2/Module_chart2.mk
+index 37acfdc3730f..7d26342f179f 100644
+--- a/chart2/Module_chart2.mk
++++ b/chart2/Module_chart2.mk
+@@ -33,9 +33,9 @@ $(eval $(call gb_Module_add_slowcheck_targets,chart2,\
+ CppunitTest_chart2_import2 \
+ CppunitTest_chart2_trendcalculators \
+- CppunitTest_chart2_dump \
+ CppunitTest_chart2_pivot_chart_test \
+ CppunitTest_chart2_geometry \
+ ))
++# CppunitTest_chart2_dump \
+
+ ifeq ($(ENABLE_CHART_TESTS),TRUE)
+ ifeq ($(WITH_FONTS), TRUE)
diff --git a/debian/patches/disable-java-in-odk-build-examples-on-zero-vm.diff b/debian/patches/disable-java-in-odk-build-examples-on-zero-vm.diff
new file mode 100644
index 000000000..c1e677eef
--- /dev/null
+++ b/debian/patches/disable-java-in-odk-build-examples-on-zero-vm.diff
@@ -0,0 +1,58 @@
+diff --git a/config_host.mk.in b/config_host.mk.in
+index 6cea6ccf795e..d08fac922239 100644
+--- a/config_host.mk.in
++++ b/config_host.mk.in
+@@ -324,6 +324,7 @@ export JAVAIFLAGS=@JAVAIFLAGS@
+ export JAVAIFLAGS_FOR_BUILD=@JAVAIFLAGS_FOR_BUILD@
+ export JAVA_CLASSPATH_NOT_SET=@JAVA_CLASSPATH_NOT_SET@
+ export JAVAINTERPRETER=@JAVAINTERPRETER@
++export JAVA_HAS_ZERO_VM=@JAVA_HAS_ZERO_VM@
+ export JAVA_HOME=@JAVA_HOME@
+ export JAVA_HOME_FOR_BUILD=@JAVA_HOME_FOR_BUILD@
+ export JAVA_SOURCE_VER=@JAVA_SOURCE_VER@
+diff --git a/configure.ac b/configure.ac
+index 06398bfa99a7..06835ae884c4 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -7826,6 +7826,14 @@ if test "$ENABLE_JAVA" != "" -a "$cross_compiling" != "yes"; then
+ JAVAIFLAGS=-Xmx64M
+ # set to limit VM usage for javac
+ JAVACFLAGS=-J-Xmx128M
++
++ AC_MSG_CHECKING([whether $JAVAINTERPRETER is using the Zero VM])
++ if $JAVAINTERPRETER -version 2>&1 | grep -q Zero; then
++ JAVA_HAS_ZERO_VM=y
++ AC_MSG_RESULT([yes])
++ else
++ AC_MSG_RESULT([no])
++ fi
+ fi
+ else
+ AC_MSG_ERROR([Java not found. You need at least JDK 9])
+@@ -7841,6 +7849,7 @@ else
+ JAVAIFLAGS=$JAVAIFLAGS_FOR_BUILD
+ fi
+ fi
++AC_SUBST(JAVA_HAS_ZERO_VM)
+
+ dnl ===================================================================
+ dnl Checks for javac
+diff --git a/odk/Module_odk.mk b/odk/Module_odk.mk
+index 410f8cf8ef1e..bd05d4bba200 100644
+--- a/odk/Module_odk.mk
++++ b/odk/Module_odk.mk
+@@ -60,10 +62,14 @@ $(eval $(call gb_Module_add_check_targets,odk,\
+ ifneq ($(filter $(OS),LINUX MACOSX),)
+ $(eval $(call gb_Module_add_subsequentcheck_targets,odk, \
+ CustomTarget_build-examples \
++))
++ifneq ($(JAVA_HAS_ZERO_VM),y)
++$(eval $(call gb_Module_add_subsequentcheck_targets,odk, \
+ $(if $(ENABLE_JAVA),\
+ CustomTarget_build-examples_java \
+ ) \
+ ))
+ endif
++endif
+
+ # vim: set noet sw=4 ts=4:
diff --git a/debian/patches/disable-shortcuts_tab_navigation-uitest.diff b/debian/patches/disable-shortcuts_tab_navigation-uitest.diff
new file mode 100644
index 000000000..c4eacc962
--- /dev/null
+++ b/debian/patches/disable-shortcuts_tab_navigation-uitest.diff
@@ -0,0 +1,42 @@
+--- a/cui/qa/uitest/dialogs/shortcuts.py 2021-07-02 21:00:52.565424890 +0200
++++ /dev/null 2021-06-19 15:31:01.435382997 +0200
+@@ -1,39 +0,0 @@
+-# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*-
+-#
+-# This Source Code Form is subject to the terms of the Mozilla Public
+-# License, v. 2.0. If a copy of the MPL was not distributed with this
+-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+-#
+-
+-from uitest.framework import UITestCase
+-from uitest.uihelper.common import select_pos
+-from libreoffice.uno.propertyvalue import mkPropertyValues
+-from uitest.uihelper.common import get_state_as_dict
+-
+-class Test(UITestCase):
+-
+- def test_tab_navigation(self):
+- with self.ui_test.create_doc_in_start_center("writer"):
+- xWriterDoc = self.xUITest.getTopFocusWindow()
+- xWriterEdit = xWriterDoc.getChild("writer_edit")
+-
+- with self.ui_test.execute_dialog_through_command(".uno:EditStyle") as xDialog:
+-
+- xTabs = xDialog.getChild("tabcontrol")
+- select_pos(xTabs, "0")
+-
+- for i in range(16):
+- self.assertEqual(get_state_as_dict(xTabs)["CurrPagePos"], str(i))
+-
+- xTabs.executeAction("TYPE", mkPropertyValues({"KEYCODE":"CTRL+PAGEDOWN"}))
+-
+- self.assertEqual(get_state_as_dict(xTabs)["CurrPagePos"], "0")
+-
+- for i in reversed(range(16)):
+- xTabs.executeAction("TYPE", mkPropertyValues({"KEYCODE":"CTRL+PAGEUP"}))
+-
+- self.assertEqual(get_state_as_dict(xTabs)["CurrPagePos"], str(i))
+-
+-
+-
+-# vim: set shiftwidth=4 softtabstop=4 expandtab:
diff --git a/debian/patches/disable-unused-test-programs.diff b/debian/patches/disable-unused-test-programs.diff
new file mode 100644
index 000000000..c1402c615
--- /dev/null
+++ b/debian/patches/disable-unused-test-programs.diff
@@ -0,0 +1,70 @@
+diff --git a/vcl/Module_vcl.mk b/vcl/Module_vcl.mk
+index a5e4bf5d68d2..3e9e1bf9fe27 100644
+--- a/vcl/Module_vcl.mk
++++ b/vcl/Module_vcl.mk
+@@ -28,28 +28,9 @@ $(eval $(call gb_Module_add_targets,vcl,\
+ StaticLibrary_vclmain \
+ $(if $(ENABLE_MACOSX_SANDBOX),, \
+ $(if $(DISABLE_GUI),, \
+- Executable_ui-previewer)) \
+- $(if $(filter LINUX MACOSX SOLARIS WNT %BSD,$(OS)), \
+- Executable_outdevgrind \
+- $(if $(DISABLE_GUI),, \
+- Executable_vcldemo \
+- Executable_icontest \
+- Executable_visualbackendtest \
+- Executable_mtfdemo ))) \
++ Executable_ui-previewer))) \
+ ))
+
+-ifeq ($(CROSS_COMPILING)$(DISABLE_DYNLOADING),)
+-
+-$(eval $(call gb_Module_add_targets,vcl,\
+- $(if $(filter-out ANDROID iOS WNT,$(OS)), \
+- Executable_svdemo \
+- Executable_fftester \
+- Executable_svptest \
+- Executable_svpclient) \
+-))
+-
+-endif
+-
+ $(eval $(call gb_Module_add_l10n_targets,vcl,\
+ AllLangMoTarget_vcl \
+ ))
+diff --git a/xmlsecurity/Module_xmlsecurity.mk b/xmlsecurity/Module_xmlsecurity.mk
+index d3fafeb7e4ec..87b8c067903e 100644
+--- a/xmlsecurity/Module_xmlsecurity.mk
++++ b/xmlsecurity/Module_xmlsecurity.mk
+@@ -45,14 +45,6 @@ $(eval $(call gb_Module_add_screenshot_targets,xmlsecurity,\
+ CppunitTest_xmlsecurity_dialogs_test \
+ ))
+
+-ifneq (,$(filter DESKTOP,$(BUILD_TYPE)))
+-
+-$(eval $(call gb_Module_add_targets,xmlsecurity,\
+- Executable_pdfverify \
+-))
+-
+-endif
+-
+ endif
+
+ # vim: set noet sw=4 ts=4:
+diff --git a/libreofficekit/Module_libreofficekit.mk b/libreofficekit/Module_libreofficekit.mk
+index 351f89a33e48..defe0b14a681 100644
+--- a/libreofficekit/Module_libreofficekit.mk
++++ b/libreofficekit/Module_libreofficekit.mk
+@@ -23,12 +23,10 @@ $(eval $(call gb_Module_add_check_targets,libreofficekit, \
+ ifneq ($(ENABLE_GTK3),)
+ $(eval $(call gb_Module_add_targets,libreofficekit,\
+ Library_libreofficekitgtk \
+- Executable_gtktiledviewer \
+ ))
+ endif # ($(ENABLE_GTK3),)
+
+ $(eval $(call gb_Module_add_targets,libreofficekit,\
+- Executable_tilebench \
+ Package_selectionhandles \
+ UIConfig_libreofficekit \
+ ))
diff --git a/debian/patches/disableClassPathURLCheck.diff b/debian/patches/disableClassPathURLCheck.diff
new file mode 100644
index 000000000..89ae9a1af
--- /dev/null
+++ b/debian/patches/disableClassPathURLCheck.diff
@@ -0,0 +1,10 @@
+--- a/configure.ac-old 2020-09-13 14:08:41.553174902 +0200
++++ b/configure.ac 2020-09-13 14:08:54.365300591 +0200
+@@ -7833,6 +7833,7 @@
+
+ # set to limit VM usage for JunitTests
+ JAVAIFLAGS=-Xmx64M
++ JAVAIFLAGS="$JAVAIFLAGS -Djdk.net.URLClassPath.disableClassPathURLCheck=true"
+ # set to limit VM usage for javac
+ JAVACFLAGS=-J-Xmx128M
+
diff --git a/debian/patches/do-not-ABORT_ON_NON_APPLICATION_FONT_USE.diff b/debian/patches/do-not-ABORT_ON_NON_APPLICATION_FONT_USE.diff
new file mode 100644
index 000000000..7cca8c2de
--- /dev/null
+++ b/debian/patches/do-not-ABORT_ON_NON_APPLICATION_FONT_USE.diff
@@ -0,0 +1,32 @@
+diff --git a/sw/CppunitTest_sw_core_layout.mk b/sw/CppunitTest_sw_core_layout.mk
+index 80dc1530fdb3..2cae001add53 100644
+--- a/sw/CppunitTest_sw_core_layout.mk
++++ b/sw/CppunitTest_sw_core_layout.mk
+@@ -71,11 +71,6 @@ $(eval $(call gb_CppunitTest_use_uiconfigs,sw_core_layout, \
+ svx \
+ ))
+
+-# assert if font/glyph fallback occurs
+-$(call gb_CppunitTest_get_target,sw_core_layout): \
+- EXTRA_ENV_VARS := \
+- SAL_ABORT_ON_NON_APPLICATION_FONT_USE=1
+-
+ $(eval $(call gb_CppunitTest_use_more_fonts,sw_core_layout))
+
+ # vim: set noet sw=4 ts=4:
+diff --git a/sw/layoutwriter_setup.mk b/sw/layoutwriter_setup.mk
+index 9d10fa9ac2c6..cd0d86b7f98c 100644
+--- a/sw/layoutwriter_setup.mk
++++ b/sw/layoutwriter_setup.mk
+@@ -82,11 +82,6 @@ $(eval $(call gb_CppunitTest_use_uiconfigs,sw_layoutwriter$(1), \
+ $(call gb_CppunitTest_get_target,sw_layoutwriter$(1)): \
+ $(call gb_Library_get_target,textconv_dict)
+
+-# assert if font/glyph fallback occurs
+-$(call gb_CppunitTest_get_target,sw_layoutwriter$(1)): \
+- EXTRA_ENV_VARS := \
+- SAL_ABORT_ON_NON_APPLICATION_FONT_USE=1
+-
+ $(eval $(call gb_CppunitTest_use_more_fonts,sw_layoutwriter$(1)))
+
+ endef
diff --git a/debian/patches/do-not-hide-test-output.diff b/debian/patches/do-not-hide-test-output.diff
new file mode 100644
index 000000000..eada91389
--- /dev/null
+++ b/debian/patches/do-not-hide-test-output.diff
@@ -0,0 +1,99 @@
+diff --git a/odk/build-examples_common.mk b/odk/build-examples_common.mk
+index abcb3a3e2593..35d45ad23413 100644
+--- a/odk/build-examples_common.mk
++++ b/odk/build-examples_common.mk
+@@ -49,12 +49,7 @@ else
+ && printf 'yes\n' | LC_ALL=C make -j1 \
+ CC="$(CXX)" LINK="$(CXX)" LIB="$(CXX)" \
+ $(if $(MACOSX_SHELL_HACK), SHELL="$$$$ODK_BUILD_SHELL", ))) \
+- $(if $(MACOSX_SHELL_HACK),&& rm -f "$$$$ODK_BUILD_SHELL")) \
+- >$(call gb_CustomTarget_get_workdir,$(1))/log 2>&1 \
+- || (RET=$$$$? \
+- $(if $(MACOSX_SHELL_HACK), && rm -f "$$$$ODK_BUILD_SHELL" , ) \
+- && cat $(call gb_CustomTarget_get_workdir,$(1))/log \
+- && exit $$$$RET)
++ 2>&1 )
+ endif
+
+ $(call gb_CustomTarget_get_workdir,$(1))/setsdkenv: \
+diff --git a/solenv/gbuild/CppunitTest.mk b/solenv/gbuild/CppunitTest.mk
+index 45af5c9b25a7..7933fc84c8b2 100644
+--- a/solenv/gbuild/CppunitTest.mk
++++ b/solenv/gbuild/CppunitTest.mk
+@@ -139,12 +139,7 @@ else
+ $(call gb_CppunitTest__make_args) "-env:CPPUNITTESTTARGET=$@" \
+ $(if $(gb_CppunitTest_localized),|| exit $$?; done) \
+ ) \
+- $(if $(gb_CppunitTest__interactive),, \
+- > $@.log 2>&1 \
+- || ($(if $(value gb_CppunitTest_postprocess), \
+- RET=$$?; \
+- $(call gb_CppunitTest_postprocess,$(gb_CppunitTest_CPPTESTCOMMAND),$@.core,$$RET) >> $@.log 2>&1;) \
+- cat $@.log; $(gb_CppunitTest_UNITTESTFAILED) Cppunit $*)))
++ 2>&1)
+ $(call gb_Trace_EndRange,$*,CUT)
+ endif
+
+diff --git a/solenv/gbuild/JunitTest.mk b/solenv/gbuild/JunitTest.mk
+index 36f29b50ef28..3ac4603ff6a0 100644
+--- a/solenv/gbuild/JunitTest.mk
++++ b/solenv/gbuild/JunitTest.mk
+@@ -44,17 +44,7 @@ else
+ -classpath "$(T_CP)" \
+ $(DEFS) \
+ org.junit.runner.JUnitCore \
+- $(CLASSES) > $@.log 2>&1 || \
+- (cat $@.log \
+- && echo "to rerun just this failed test without all others, run:" \
+- && echo && echo " make JunitTest_$*" && echo \
+- && echo "cd into the module dir to run the tests faster" \
+- && echo "Or to do interactive debugging, run two shells with:" \
+- && echo \
+- && echo " make debugrun" \
+- && echo " make gb_JunitTest_DEBUGRUN=T JunitTest_$*" \
+- && echo \
+- && false)))
++ $(CLASSES) 2>&1))
+ $(CLEAN_CMD)
+ $(call gb_Trace_EndRange,$*,JUT)
+ endif
+diff --git a/solenv/gbuild/UITest.mk b/solenv/gbuild/UITest.mk
+index 03d30448ef7b..5628e47866f8 100644
+--- a/solenv/gbuild/UITest.mk
++++ b/solenv/gbuild/UITest.mk
+@@ -77,16 +77,7 @@ else
+ --userdir=$(call gb_Helper_make_url,$(dir $(call gb_UITest_get_target,$*))user) \
+ --dir=$(strip $(MODULES)) \
+ $(gb_UITest_GDBTRACE) \
+- $(if $(gb_UITest__interactive),, \
+- > $@.log 2>&1 \
+- || ($(if $(value gb_CppunitTest_postprocess), \
+- RET=$$?; \
+- $(call gb_CppunitTest_postprocess,$(gb_UITest_EXECUTABLE_GDB),$@.core,$$RET) >> $@.log 2>&1;) \
+- $(if $(filter WNT,$(OS)), \
+- printf '%s: <<<\n' $(dir $(call gb_UITest_get_target,$*))/soffice.out.log; \
+- cat $(dir $(call gb_UITest_get_target,$*))/soffice.out.log; \
+- printf ' >>>\n\n';) \
+- cat $@.log; $(gb_UITest_UNITTESTFAILED) UI $*))))
++ 2>&1))
+ $(call gb_Trace_EndRange,$*,UIT)
+ endif
+
+diff --git a/solenv/gbuild/PythonTest.mk b/solenv/gbuild/PythonTest.mk
+index bc404d4fb817..f605634d3d07 100644
+--- a/solenv/gbuild/PythonTest.mk
++++ b/solenv/gbuild/PythonTest.mk
+@@ -67,12 +67,7 @@ else
+ $(gb_PythonTest_COMMAND) \
+ $(if $(PYTHON_TEST_NAME),$(PYTHON_TEST_NAME),$(MODULES)) \
+ ; } \
+- $(if $(gb_CppunitTest__interactive),, \
+- > $@.log 2>&1 \
+- || ($(if $(value gb_CppunitTest_postprocess), \
+- RET=$$?; \
+- $(call gb_CppunitTest_postprocess,$(gb_PythonTest_EXECUTABLE_GDB),$@.core,$$RET) >> $@.log 2>&1;) \
+- cat $@.log; $(gb_PythonTest_UNITTESTFAILED) Python $*)))
++ 2>&1)
+ $(call gb_Trace_EndRange,$*,PYT)
+ endif
+
diff --git a/debian/patches/dont-touch-urd.diff b/debian/patches/dont-touch-urd.diff
new file mode 100644
index 000000000..f19ef5dc2
--- /dev/null
+++ b/debian/patches/dont-touch-urd.diff
@@ -0,0 +1,80 @@
+18:43 <@_rene_> hmm. /me wonders why after a rm config.status autogen.lastrun
+ and a re-configure (and make clean for odk/scp2/scripting) LO
+ master tries to rebuild offapi/udkapi again?
+18:44 <@_rene_> this a) takes with cpp instead of ucpp and b) causes all kind
+ of stuff "down" to be rebuilt.... :(
+18:44 <@_rene_> which is extremely bad.
+18:44 <@_rene_> if it isn't solvable easily: what to touch to prevent it from
+ doing that? :-)
+18:45 < loirkerbot> LibreOffice (core) mstahl * desktop/source/app/main.c:
+ desktop: tweak xmlCleanupParser hack: disable on return
+ from main
+18:46 < mst__> _rene_, did you switch between --with-system-ucpp and without?
+ that should rebuild IDL file...
+18:47 <@_rene_> nah, first run is just --disable-help, --disable-scripting etc
+18:47 <@_rene_> and the second run does that
+18:47 <@_rene_> (first pass to "just" build what is needed for arch-specific
+ stuff)
+18:48 <@_rene_> (and I am not using ucpp at all, but cpp ;))
+18:51 < mst__> _rene_, hmm don't know why that would happen then... you could
+ try running second make with -d and redirect to a file, but
+ beware that file will be huge... then grep for "Must
+ remake.*urd" or something should give you the problem area
+18:59 -!- reisi007 [~chatzilla@cpe90-146-226-33.liwest.at] has quit [Quit:
+ ChatZilla 0.9.89 [Firefox 14.0.1/20120713134347]]
+19:00 -!- crossmanith_ [~cr@p3E9EAEF6.dip.t-dialin.net] has joined
+ #libreoffice-dev
+19:00 -!- erAck_away is now known as erAck
+19:05 -!- cbosdonnat [~cbosdo@ALyon-651-1-309-127.w90-14.abo.wanadoo.fr] has
+ quit [Quit: Leaving]
+19:07 <@_rene_> mst__: ok, starting a new build, let's see
+[...]
+10:36 <@_rene_> mst__: nothing interesting there instead of the loads of
+ touch'es...
+10:36 <@_rene_> mst__: butI just removed the touch from the UnoApiTarget and
+ let's see now :)
+10:36 -!- erAck [~erathke@f054050047.adsl.alicedsl.de] has joined
+ #libreoffice-dev
+10:36 -!- mode/#libreoffice-dev [+o erAck] by ChanServ
+10:36 <@_rene_> $(call gb_UnoApiPartTarget_get_target,%.urd) :
+10:36 <@_rene_> - touch $@
+10:36 <@_rene_> +
+[...]
+10:38 < mst__> _rene_, there must be something interesting there: preceding the
+ "Must remake.*urd" line there must be some line that says target
+ "foo" is "newer" than the .urd and therefor it will be rebuilt
+[...]
+10:40 <@_rene_> mst__: I didn't see anything there, no ".*urd*muss neu"
+10:41 < mst__> _rene_, there must be a message like that immediately preceding
+ running the touch command
+10:41 -!- pepp [~pierre-er@vaf26-6-78-248-2-61.fbx.proxad.net] has joined
+ #libreoffice-dev
+10:42 <@vmiklos> mst__: makes sense.
+10:42 -!- matus [~ubuntu@adsl-dyn17.78-98-107.t-com.sk] has joined
+ #libreoffice-dev
+10:42 <@_rene_> as said, there was done. I don't think I oversaw it
+10:43 <@_rene_> but can try again later, for now I will just keep removing the
+ touch. according to the comment this shoudln't do harm
+10:43 < mst__> _rene_, removing it will break incremental builds iirc
+10:44 <@_rene_> but only if you change idl stuff inbetween
+10:44 <@_rene_> which won't happen that often in package builds ;)
+10:44 < mst__> _rene_, exactly
+10:44 -!- Fridrich [~fridrich@71-99.199-178.cust.bluewin.ch] has joined
+ #libreoffice-dev
+10:44 -!- mode/#libreoffice-dev [+o Fridrich] by ChanServ
+10:45 <@_rene_> (when I am out of "use git", only when there's a new
+ (pre-)release"
+
+diff --git a/solenv/gbuild/UnoApiTarget.mk b/solenv/gbuild/UnoApiTarget.mk
+index 98734ab..b281a84 100644
+--- a/solenv/gbuild/UnoApiTarget.mk
++++ b/solenv/gbuild/UnoApiTarget.mk
+@@ -46,7 +46,7 @@ $(dir $(call gb_UnoApiPartTarget_get_target,))%/.dir :
+ $(if $(wildcard $(dir $@)),,mkdir -p $(dir $@))
+
+ $(call gb_UnoApiPartTarget_get_target,%.urd) :
+- touch $@
++
+
+ # TODO:
+ # - get idlc switch "-P" (generate .urd into package dir)
diff --git a/debian/patches/dragonbox-1.1.3.diff b/debian/patches/dragonbox-1.1.3.diff
new file mode 100644
index 000000000..1bcbe58d1
--- /dev/null
+++ b/debian/patches/dragonbox-1.1.3.diff
@@ -0,0 +1,13 @@
+diff --git a/configure.ac b/configure.ac
+index f6937648fe2d..6ccf3bcccf24 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -10626,7 +10670,7 @@ if test "$with_system_dragonbox" = "yes"; then
+ AC_LANG_PUSH([C++])
+ save_CPPFLAGS=$CPPFLAGS
+ # This is where upstream installs to, unfortunately no .pc or so...
+- DRAGONBOX_CFLAGS=-I/usr/include/dragonbox-1.0.0
++ DRAGONBOX_CFLAGS=-I/usr/include/dragonbox-1.1.3
+ CPPFLAGS="$CPPFLAGS $DRAGONBOX_CFLAGS"
+ AC_CHECK_HEADER([dragonbox/dragonbox.h], [],
+ [AC_MSG_ERROR([dragonbox/dragonbox.h not found. install dragonbox])], [])
diff --git a/debian/patches/escape-url-passed-to-gstreamer.diff b/debian/patches/escape-url-passed-to-gstreamer.diff
new file mode 100644
index 000000000..e90fadb1c
--- /dev/null
+++ b/debian/patches/escape-url-passed-to-gstreamer.diff
@@ -0,0 +1,50 @@
+From 6167f5815aefa78a70517c8e2acbdd7b9c9be27d Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolan.mcnamara@collabora.com>
+Date: Fri, 3 Nov 2023 14:20:07 +0000
+Subject: escape url passed to gstreamer
+
+Change-Id: I3c93ee34800cc8563370f75ef3ef6f8a9220e6ec
+Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158894
+Tested-by: Jenkins
+Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
+(cherry picked from commit f41dcadf6492a6ffd32696d50f818e44355b9ad9)
+Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159583
+---
+ avmedia/source/gstreamer/gstframegrabber.cxx | 14 +++++++++-----
+ 1 file changed, 9 insertions(+), 5 deletions(-)
+
+diff --git a/avmedia/source/gstreamer/gstframegrabber.cxx b/avmedia/source/gstreamer/gstframegrabber.cxx
+index ece799d87530..25170a296e66 100644
+--- a/avmedia/source/gstreamer/gstframegrabber.cxx
++++ b/avmedia/source/gstreamer/gstframegrabber.cxx
+@@ -50,11 +50,9 @@ void FrameGrabber::disposePipeline()
+
+ FrameGrabber::FrameGrabber( std::u16string_view rURL )
+ {
+- gchar *pPipelineStr;
+- pPipelineStr = g_strdup_printf(
+- "uridecodebin uri=%s ! videoconvert ! videoscale ! appsink "
+- "name=sink caps=\"video/x-raw,format=RGB,pixel-aspect-ratio=1/1\"",
+- OUStringToOString( rURL, RTL_TEXTENCODING_UTF8 ).getStr() );
++ const char pPipelineStr[] =
++ "uridecodebin name=source ! videoconvert ! videoscale ! appsink "
++ "name=sink caps=\"video/x-raw,format=RGB,pixel-aspect-ratio=1/1\"";
+
+ GError *pError = nullptr;
+ mpPipeline = gst_parse_launch( pPipelineStr, &pError );
+@@ -65,6 +63,12 @@ FrameGrabber::FrameGrabber( std::u16string_view rURL )
+ }
+
+ if( mpPipeline ) {
++
++ if (GstElement *pUriDecode = gst_bin_get_by_name(GST_BIN(mpPipeline), "source"))
++ g_object_set(pUriDecode, "uri", OUStringToOString(rURL, RTL_TEXTENCODING_UTF8).getStr(), nullptr);
++ else
++ g_warning("Missing 'source' element in gstreamer pipeline");
++
+ // pre-roll
+ switch( gst_element_set_state( mpPipeline, GST_STATE_PAUSED ) ) {
+ case GST_STATE_CHANGE_FAILURE:
+--
+cgit v1.2.1
+
diff --git a/debian/patches/fix-flaky-bridgetest.diff b/debian/patches/fix-flaky-bridgetest.diff
new file mode 100644
index 000000000..d113f55d9
--- /dev/null
+++ b/debian/patches/fix-flaky-bridgetest.diff
@@ -0,0 +1,38 @@
+Description: Add safer float comparisons to bridgetest equals()
+Author: Marcus Tomlinson <marcus.tomlinson@canonical.com>
+Bug-Ubuntu: https://launchpad.net/bugs/1832360
+
+--- a/testtools/source/bridgetest/bridgetest.cxx
++++ b/testtools/source/bridgetest/bridgetest.cxx
+@@ -124,6 +125,9 @@ public:
+
+ static bool equals( const TestElement & rData1, const TestElement & rData2 )
+ {
++ const float epsilon_f = 0.00001f;
++ const double epsilon_d = 0.000000000001;
++
+ check( rData1.Bool == rData2.Bool, "### bool does not match!" );
+ check( rData1.Char == rData2.Char, "### char does not match!" );
+ check( rData1.Byte == rData2.Byte, "### byte does not match!" );
+@@ -133,8 +137,8 @@ static bool equals( const TestElement & rData1, const TestElement & rData2 )
+ check( rData1.ULong == rData2.ULong, "### unsigned long does not match!" );
+ check( rData1.Hyper == rData2.Hyper, "### hyper does not match!" );
+ check( rData1.UHyper == rData2.UHyper, "### unsigned hyper does not match!" );
+- check( rData1.Float == rData2.Float, "### float does not match!" );
+- check( rData1.Double == rData2.Double, "### double does not match!" );
++ check( fabs( rData1.Float - rData2.Float ) < epsilon_f, "### float does not match!" );
++ check( fabs( rData1.Double - rData2.Double ) < epsilon_d, "### double does not match!" );
+ check( rData1.Enum == rData2.Enum, "### enum does not match!" );
+ check( rData1.String == rData2.String, "### string does not match!" );
+ check( rData1.Byte2 == rData2.Byte2, "### byte2 does not match!" );
+@@ -149,8 +153,8 @@ static bool equals( const TestElement & rData1, const TestElement & rData2 )
+ rData1.ULong == rData2.ULong &&
+ rData1.Hyper == rData2.Hyper &&
+ rData1.UHyper == rData2.UHyper &&
+- rData1.Float == rData2.Float &&
+- rData1.Double == rData2.Double &&
++ fabs( rData1.Float - rData2.Float ) < epsilon_f &&
++ fabs( rData1.Double - rData2.Double ) < epsilon_d &&
+ rData1.Enum == rData2.Enum &&
+ rData1.String == rData2.String &&
+ rData1.Byte2 == rData2.Byte2 &&
diff --git a/debian/patches/fix-internal-hsqldb-build.diff b/debian/patches/fix-internal-hsqldb-build.diff
new file mode 100644
index 000000000..101da5e96
--- /dev/null
+++ b/debian/patches/fix-internal-hsqldb-build.diff
@@ -0,0 +1,45 @@
+diff -urN hsqldb.old/patches/use-system-servlet-api.jar.diff hsqldb/patches/use-system-servlet-api.jar.diff
+--- a/external/hsqldb/patches/use-system-servlet-api.jar.diff 1970-01-01 01:00:00.000000000 +0100
++++ b/external/hsqldb/patches/use-system-servlet-api.jar.diff 2013-03-19 15:09:42.137801521 +0100
+@@ -0,0 +1,29 @@
++--- misc/hsqldb/build/build.xml
+++++ misc/build/hsqldb/build/build.xml
++@@ -356,7 +356,7 @@
++ optimize="${build.optimize}"
++ >
++ <classpath>
++- <pathelement location="lib/servlet.jar"/>
+++ <pathelement location="/usr/share/java/servlet-api-3.1.jar"/>
++ </classpath>
++ <include name="*.java"/>
++ <include name="org/hsqldb/*.java"/>
++@@ -818,7 +818,7 @@
++ ${src}/org/hsqldb/util/RCData.java,
++ ${src}/org/hsqldb/util/SqlTool.java"
++ destdir="${basedir}/doc/src"
++- classpath="${basedir}/lib/servlet.jar;${basedir}/lib/junit.jar"
+++ classpath="/usr/share/java/servlet-api-3.1.jar;${basedir}/lib/junit.jar"
++ author="true"
++ version="false"
++ use="true"
++@@ -839,7 +839,7 @@
++ <javadoc packagenames="org.hsqldb.*,org.hsqldb.jdbc.*,org.hsqldb.lib.*,org.hsqldb.util.*"
++ sourcepath="${src}"
++ destdir="${basedir}/doc/src"
++- classpath="${basedir}/lib/servlet.jar;${basedir}/lib/junit.jar"
+++ classpath="/usr/share/java/servlet-api-3.1.jar;${basedir}/lib/junit.jar"
++ author="true"
++ version="false"
++ use="true"
+diff --git a/external/hsqldb/UnpackedTarball_hsqldb.mk b/external/hsqldb/UnpackedTarball_hsqldb.mk
+index 389572377fa6..d43d1418049d 100644
+--- a/external/hsqldb/UnpackedTarball_hsqldb.mk
++++ b/external/hsqldb/UnpackedTarball_hsqldb.mk
+@@ -27,6 +27,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,hsqldb,\
+ external/hsqldb/patches/jdbc-4.1.patch \
+ external/hsqldb/patches/multipleResultSets.patch \
+ external/hsqldb/patches/disable-dump-script.patch \
++ external/hsqldb/patches/use-system-servlet-api.jar.diff \
+ ))
+
+ # vim: set noet sw=4 ts=4:
diff --git a/debian/patches/fix-system-libfixmath.diff b/debian/patches/fix-system-libfixmath.diff
new file mode 100644
index 000000000..ab771b535
--- /dev/null
+++ b/debian/patches/fix-system-libfixmath.diff
@@ -0,0 +1,29 @@
+diff --git a/config_host.mk.in b/config_host.mk.in
+index 9de974e472f9..1352749754e3 100644
+--- a/config_host.mk.in
++++ b/config_host.mk.in
+@@ -645,6 +645,7 @@ export SYSTEM_LIBATOMIC_OPS=@SYSTEM_LIBATOMIC_OPS@
+ export SYSTEM_LIBEOT=@SYSTEM_LIBEOT@
+ export SYSTEM_LIBEXTTEXTCAT=@SYSTEM_LIBEXTTEXTCAT@
+ export SYSTEM_LIBEXTTEXTCAT_DATA=@SYSTEM_LIBEXTTEXTCAT_DATA@
++export SYSTEM_LIBFIXMATH=@SYSTEM_LIBFIXMATH@
+ export SYSTEM_LIBLANGTAG=@SYSTEM_LIBLANGTAG@
+ export SYSTEM_LIBNUMBERTEXT=@SYSTEM_LIBNUMBERTEXT@
+ export SYSTEM_LIBNUMBERTEXT_DATA=@SYSTEM_LIBNUMBERTEXT_DATA@
+diff --git a/vcl/Library_vcl.mk b/vcl/Library_vcl.mk
+index 1d18d2325ad8..b40cb77cb34f 100644
+--- a/vcl/Library_vcl.mk
++++ b/vcl/Library_vcl.mk
+@@ -569,6 +569,12 @@ vcl_headless_freetype_code=\
+ vcl/unx/generic/printer/jobdata \
+ vcl/unx/generic/printer/ppdparser \
+
++ifeq ($(SYSTEM_LIBFIXMATH),TRUE)
++$(eval $(call gb_Library_add_libs,vcl,\
++ -llibfixmath \
++))
++endif
++
+ ifeq ($(USING_X11),TRUE)
+ $(eval $(call gb_Library_add_exception_objects,vcl,\
+ vcl/unx/generic/window/screensaverinhibitor \
diff --git a/debian/patches/fix-system-lpsolve-build.diff b/debian/patches/fix-system-lpsolve-build.diff
new file mode 100644
index 000000000..fb3cc575a
--- /dev/null
+++ b/debian/patches/fix-system-lpsolve-build.diff
@@ -0,0 +1,31 @@
+diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk
+index 16eb38a..8983376 100644
+--- a/RepositoryExternal.mk
++++ b/RepositoryExternal.mk
+@@ -2392,7 +2392,7 @@ ifneq ($(ENABLE_LPSOLVE),)
+ ifneq ($(SYSTEM_LPSOLVE),)
+
+ define gb_LinkTarget__use_lpsolve
+-$(call gb_LinkTarget_add_libs,$(1),-llpsolve55)
++$(call gb_LinkTarget_add_ldflags,$(1),-llpsolve55_pic)
+ $(call gb_LinkTarget_add_defs,$(1),\
+ -DSYSTEM_LPSOLVE \
+ )
+diff --git a/configure.ac b/configure.ac
+index df7cb4c..9eb5bad 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -9790,10 +9812,11 @@ if test "$ENABLE_LPSOLVE" = TRUE; then
+ # some systems need this. Like Ubuntu....
+ AC_CHECK_LIB(m, floor)
+ AC_CHECK_LIB(dl, dlopen)
+- AC_CHECK_LIB([lpsolve55], [make_lp], [:],
++ AC_CHECK_LIB(colamd, colamd)
++ AC_CHECK_LIB([lpsolve55_pic], [make_lp], [:],
+ [ AC_MSG_ERROR(lpsolve library not found or too old.)], [])
+ LIBS=$save_LIBS
+- libo_MINGW_CHECK_DLL([lpsolve55])
++ libo_MINGW_CHECK_DLL([lpsolve55_pic])
+ else
+ AC_MSG_RESULT([internal])
+ SYSTEM_LPSOLVE=
diff --git a/debian/patches/floating-frame-targets-unneeded-protocols.diff b/debian/patches/floating-frame-targets-unneeded-protocols.diff
new file mode 100644
index 000000000..3da0cd7fd
--- /dev/null
+++ b/debian/patches/floating-frame-targets-unneeded-protocols.diff
@@ -0,0 +1,76 @@
+From 37d73a1ab94b43e03866d5a910cb58331543b8c3 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolan.mcnamara@collabora.com>
+Date: Fri, 3 Nov 2023 17:14:26 +0000
+Subject: add some protocols that don't make sense as floating frame targets
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Change-Id: Id900a5eef248731d1184c1df501a2cf7a2de7eb9
+Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158910
+Tested-by: Jenkins
+Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
+(cherry picked from commit 11ebdfef16501c6d35c3e3d0d62507f706557c71)
+Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158900
+Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
+(cherry picked from commit bab433911bdecb344f7ea94dbd00690241a08c54)
+Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159582
+---
+ include/tools/urlobj.hxx | 5 +++++
+ sfx2/source/doc/iframe.cxx | 5 ++++-
+ tools/source/fsys/urlobj.cxx | 8 ++++++++
+ 3 files changed, 17 insertions(+), 1 deletion(-)
+
+diff --git a/include/tools/urlobj.hxx b/include/tools/urlobj.hxx
+index 9d6820ddf241..dfd658722826 100644
+--- a/include/tools/urlobj.hxx
++++ b/include/tools/urlobj.hxx
+@@ -915,6 +915,11 @@ public:
+
+ void changeScheme(INetProtocol eTargetScheme);
+
++ // INetProtocol::Macro, INetProtocol::Uno, INetProtocol::Slot,
++ // vnd.sun.star.script, etc. All the types of URLs which shouldn't
++ // be accepted from an outside controlled source
++ bool IsExoticProtocol() const;
++
+ private:
+ // General Structure:
+
+diff --git a/sfx2/source/doc/iframe.cxx b/sfx2/source/doc/iframe.cxx
+index 150218b436e9..b81ce82fd32e 100644
+--- a/sfx2/source/doc/iframe.cxx
++++ b/sfx2/source/doc/iframe.cxx
+@@ -168,8 +168,11 @@ sal_Bool SAL_CALL IFrameObject::load(
+ xTrans->parseStrict( aTargetURL );
+
+ INetURLObject aURLObject(aTargetURL.Complete);
+- if (aURLObject.GetProtocol() == INetProtocol::Macro || aURLObject.isSchemeEqualTo(u"vnd.sun.star.script"))
++ if (aURLObject.IsExoticProtocol())
++ {
++ SAL_WARN("sfx", "IFrameObject::load ignoring: " << aTargetURL.Complete);
+ return false;
++ }
+
+ uno::Reference<frame::XFramesSupplier> xParentFrame = xFrame->getCreator();
+ SfxObjectShell* pDoc = SfxMacroLoader::GetObjectShell(xParentFrame);
+diff --git a/tools/source/fsys/urlobj.cxx b/tools/source/fsys/urlobj.cxx
+index 764bb28ef623..2a9f7bc3d7dc 100644
+--- a/tools/source/fsys/urlobj.cxx
++++ b/tools/source/fsys/urlobj.cxx
+@@ -4829,4 +4829,12 @@ OUString INetURLObject::CutExtension()
+ ? aTheExtension : OUString();
+ }
+
++bool INetURLObject::IsExoticProtocol() const
++{
++ return m_eScheme == INetProtocol::Slot ||
++ m_eScheme == INetProtocol::Macro ||
++ m_eScheme == INetProtocol::Uno ||
++ isSchemeEqualTo(u"vnd.sun.star.script");
++}
++
+ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+--
+cgit v1.2.1
+
diff --git a/debian/patches/help-msg-add-package-info.diff b/debian/patches/help-msg-add-package-info.diff
new file mode 100644
index 000000000..dbfb32ae6
--- /dev/null
+++ b/debian/patches/help-msg-add-package-info.diff
@@ -0,0 +1,13 @@
+diff --git a/include/sfx2/strings.hrc b/include/sfx2/strings.hrc
+index 1b0ea6ccb2ff..630f4330552a 100644
+--- a/include/sfx2/strings.hrc
++++ b/include/sfx2/strings.hrc
+@@ -132,7 +132,7 @@
+ #define STR_GID_CONTROLS NC_("STR_GID_CONTROLS", "Controls")
+ #define STR_QUITAPP NC_("STR_QUITAPP", "E~xit %PRODUCTNAME")
+ #define RID_STR_HELP NC_("RID_STR_HELP", "Help")
+-#define RID_STR_HLPFILENOTEXIST NC_("RID_STR_HLPFILENOTEXIST", "The help file for this topic is not installed.")
++#define RID_STR_HLPFILENOTEXIST NC_("RID_STR_HLPFILENOTEXIST", "The help file for this topic is not installed. Please install the libreoffice-help-en-us package or the locale specific help package libreoffice-help-<language-code>.")
+ #define STR_QUICKSTART_EXIT NC_("STR_QUICKSTART_EXIT", "Exit Quickstarter")
+ #define STR_QUICKSTART_TIP NC_("STR_QUICKSTART_TIP", "%PRODUCTNAME %PRODUCTVERSION Quickstarter")
+ #define STR_QUICKSTART_FILEOPEN NC_("STR_QUICKSTART_FILEOPEN", "Open Document...")
diff --git a/debian/patches/hide-math-desktop-file.patch b/debian/patches/hide-math-desktop-file.patch
new file mode 100644
index 000000000..3e7fd4bba
--- /dev/null
+++ b/debian/patches/hide-math-desktop-file.patch
@@ -0,0 +1,15 @@
+Description: Hide startcenter and math from the shell
+Author: Olivier Tilloy <olivier.tilloy@canonical.com>
+Bug-Ubuntu: https://launchpad.net/bugs/1696250
+Forwarded: not-needed
+
+--- a/sysui/desktop/menus/math.desktop
++++ b/sysui/desktop/menus/math.desktop
+@@ -33,6 +33,7 @@ Keywords=Equation;OpenDocument Formula;F
+ InitialPreference=5
+ StartupWMClass=libreoffice-math
+ X-KDE-Protocols=file,http,ftp,webdav,webdavs
++NotShowIn=GNOME;
+
+ Actions=NewDocument;
+ [Desktop Action NewDocument]
diff --git a/debian/patches/hppa-is-32bit.diff b/debian/patches/hppa-is-32bit.diff
new file mode 100644
index 000000000..b3ceb179f
--- /dev/null
+++ b/debian/patches/hppa-is-32bit.diff
@@ -0,0 +1,13 @@
+diff --git a/configure.ac b/configure.ac
+index 42dc3b4..f5a51c9 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -6671,7 +6671,7 @@ if test "$ENABLE_JAVA" != ""; then
+ JAVAINTERPRETER=`win_short_path_for_make "$JAVAINTERPRETER"`
+ elif test "$cross_compiling" != "yes"; then
+ case $CPUNAME in
+- AARCH64|AXP|X86_64|HPPA|IA64|POWERPC64|S390X|SPARC64|GODSON64)
++ AARCH64|AXP|X86_64|IA64|POWERPC64|S390X|SPARC64|GODSON64)
+ if test -f "$JAVAINTERPRETER" -a "`$JAVAINTERPRETER -version 2>&1 | $GREP -i 64-bit`" = "" >/dev/null; then
+ AC_MSG_WARN([You are building 64-bit binaries but the JDK $JAVAINTERPRETER is 32-bit])
+ AC_MSG_ERROR([You should pass the --with-jdk-home option pointing to a 64-bit JDK])
diff --git a/debian/patches/hrk-euro.diff b/debian/patches/hrk-euro.diff
new file mode 100644
index 000000000..3b7aa73b7
--- /dev/null
+++ b/debian/patches/hrk-euro.diff
@@ -0,0 +1,80 @@
+From b1a2f727ca99ecd3402d4b051b99cbfd24266e59 Mon Sep 17 00:00:00 2001
+From: Eike Rathke <erack@redhat.com>
+Date: Fri, 22 Jul 2022 22:17:11 +0200
+Subject: Related: tdf#150011 Add HRK Croatian Kuna to Euro conversion wizard
+
+Maybe just for completeness, it's removed from menu but might be
+callable as macro.
+
+Change-Id: Iade0be845186d3deb2f00f4aaa230c0b344cea72
+Reviewed-on: https://gerrit.libreoffice.org/c/core/+/137372
+Reviewed-by: Eike Rathke <erack@redhat.com>
+Tested-by: Jenkins
+---
+ wizards/source/euro/Init.xba | 16 ++++++++++++++++
+ wizards/source/resources/resources_en_US.properties | 1 +
+ 2 files changed, 17 insertions(+)
+
+diff --git a/wizards/source/euro/Init.xba b/wizards/source/euro/Init.xba
+index 623a0a53be46..9f56c503a347 100644
+--- a/wizards/source/euro/Init.xba
++++ b/wizards/source/euro/Init.xba
+@@ -89,6 +89,7 @@ Public sCurrSLOVAK as String
+ Public sCurrESTONIAN as String
+ Public sCurrLATVIAN as String
+ Public sCurrLITHUANIAN as String
++Public sCurrCROATIAN as String
+
+ Public sPrgsRETRIEVAL as String
+ Public sPrgsCONVERTING as String
+@@ -214,6 +215,7 @@ Dim LocWorkPath as String
+ sCurrESTONIAN = GetResText(&quot;CURRENCIES_16&quot;)
+ sCurrLATVIAN = GetResText(&quot;CURRENCIES_17&quot;)
+ sCurrLITHUANIAN = GetResText(&quot;CURRENCIES_18&quot;)
++ sCurrCROATIAN = GetResText(&quot;CURRENCIES_19&quot;)
+ .cmdCancel.Label = sCANCEL
+ .cmdHelp.Label = sHELP
+ .cmdBack.Label = GetResText(&quot;STEP_ZERO_2&quot;)
+@@ -393,6 +395,11 @@ Sub InitializeLanguages()
+ LangIDValue(18,0,1) = &quot;LT&quot;
+ LangIDValue(18,0,2) = &quot;-427&quot;
+
++&apos; CURRENCIES_CROATIAN
++ LangIDValue(19,0,0) = &quot;hr&quot;
++ LangIDValue(19,0,1) = &quot;HR&quot;
++ LangIDValue(19,0,2) = &quot;-41A&quot;
++
+ End Sub
+
+
+@@ -572,6 +579,15 @@ Dim i as Integer
+ CurrValue(18,4) = &quot;Lt&quot;
+ CurrValue(18,5) = &quot;LTL&quot;
+
++ CurrValue(19,0) = sCurrCROATIAN
++ &apos; real conversion rate
++ CurrValue(19,1) = 7.53450
++ &apos; rounded conversion rate
++ CurrValue(19,2) = 7.5
++ CurrValue(19,3) = &quot;kn&quot;
++ CurrValue(19,4) = &quot;kn&quot;
++ CurrValue(19,5) = &quot;HRK&quot;
++
+ i = -1
+ CurrSymbolList(0) = &quot;&quot;
+ CurrSymbolList(1) = &quot;&quot;
+diff --git a/wizards/source/resources/resources_en_US.properties b/wizards/source/resources/resources_en_US.properties
+index 32f9104e97e0..8649b2500e6a 100644
+--- a/wizards/source/resources/resources_en_US.properties
++++ b/wizards/source/resources/resources_en_US.properties
+@@ -448,6 +448,7 @@ CURRENCIES_15=Slovak Koruna
+ CURRENCIES_16=Estonian Kroon
+ CURRENCIES_17=Latvian Lats
+ CURRENCIES_18=Lithuanian Litas
++CURRENCIES_19=Croatian Kuna
+ STEP_LASTPAGE_0=Progress
+ STEP_LASTPAGE_1=Retrieving the relevant documents...
+ STEP_LASTPAGE_2=Converting the documents...
+--
+cgit v1.2.1
+
diff --git a/debian/patches/ignore-LO-special-purpose-hyperlinks-per-default.diff b/debian/patches/ignore-LO-special-purpose-hyperlinks-per-default.diff
new file mode 100644
index 000000000..2c8a6b9d5
--- /dev/null
+++ b/debian/patches/ignore-LO-special-purpose-hyperlinks-per-default.diff
@@ -0,0 +1,218 @@
+From 4fe74e9be7af280e48a339a7a6408fea314727f0 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolan.mcnamara@collabora.com>
+Date: Fri, 3 Nov 2023 17:26:25 +0000
+Subject: default to ignoring libreoffice special-purpose protocols in calc
+ hyperlink
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Change-Id: Ib9f62be3acc05f24ca234dec0fec21e24579e9de
+Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158911
+Tested-by: Jenkins
+Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
+Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
+(cherry picked from commit b6062623b4d69c79e90e9365ac7c5e7f11986793)
+Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159045
+Reviewed-by: Eike Rathke <erack@redhat.com>
+Signed-off-by: Xisco Fauli <xiscofauli@libreoffice.org>
+Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159882
+Tested-by: Miklos Vajna <vmiklos@collabora.com>
+Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
+---
+ dbaccess/source/core/dataaccess/ModelImpl.cxx | 3 ++-
+ include/sfx2/docmacromode.hxx | 4 +++-
+ include/sfx2/objsh.hxx | 3 +++
+ sc/source/core/data/global.cxx | 33 ++++++++++++++++++++++++++-
+ sfx2/source/doc/docmacromode.cxx | 8 +++++--
+ sfx2/source/doc/objmisc.cxx | 8 ++++++-
+ sfx2/source/doc/objxtor.cxx | 1 +
+ sfx2/source/inc/objshimp.hxx | 3 ++-
+ 8 files changed, 56 insertions(+), 7 deletions(-)
+
+diff --git a/dbaccess/source/core/dataaccess/ModelImpl.cxx b/dbaccess/source/core/dataaccess/ModelImpl.cxx
+index 3e21289dbe9a..e399d5da7067 100644
+--- a/dbaccess/source/core/dataaccess/ModelImpl.cxx
++++ b/dbaccess/source/core/dataaccess/ModelImpl.cxx
+@@ -1125,7 +1125,8 @@ bool ODatabaseModelImpl::checkMacrosOnLoading()
+ {
+ Reference< XInteractionHandler > xInteraction;
+ xInteraction = m_aMediaDescriptor.getOrDefault( "InteractionHandler", xInteraction );
+- return m_aMacroMode.checkMacrosOnLoading( xInteraction );
++ const bool bHasMacros = m_aMacroMode.hasMacros();
++ return m_aMacroMode.checkMacrosOnLoading(xInteraction, false /*HasValidContentSignature*/, bHasMacros);
+ }
+
+ void ODatabaseModelImpl::resetMacroExecutionMode()
+diff --git a/include/sfx2/docmacromode.hxx b/include/sfx2/docmacromode.hxx
+index 7ed42f6a14dd..0acb44cbfbb1 100644
+--- a/include/sfx2/docmacromode.hxx
++++ b/include/sfx2/docmacromode.hxx
+@@ -264,6 +264,8 @@ namespace sfx2
+ */
+ static bool storageHasMacros( const css::uno::Reference< css::embed::XStorage >& _rxStorage );
+
++ bool hasMacros() const;
++
+ static bool containerHasBasicMacros( const css::uno::Reference< css::script::XLibraryContainer >& xContainer );
+ /** checks the macro execution mode while loading the document.
+
+@@ -291,7 +293,7 @@ namespace sfx2
+ bool
+ checkMacrosOnLoading(
+ const css::uno::Reference< css::task::XInteractionHandler >& _rxInteraction,
+- bool bHasValidContentSignature = false
++ bool bHasValidContentSignature, bool bHasMacros
+ );
+
+ private:
+diff --git a/include/sfx2/objsh.hxx b/include/sfx2/objsh.hxx
+index ef1a0a33e1dc..fde0dba3d7c9 100644
+--- a/include/sfx2/objsh.hxx
++++ b/include/sfx2/objsh.hxx
+@@ -427,6 +427,9 @@ public:
+ void SetMacroCallsSeenWhileLoading();
+ bool GetMacroCallsSeenWhileLoading() const;
+
++ // true if the document had macros (or similar) on load to trigger warning user
++ bool GetHadCheckedMacrosOnLoad() const;
++
+ const css::uno::Sequence< css::beans::PropertyValue >& GetModifyPasswordInfo() const;
+ bool SetModifyPasswordInfo( const css::uno::Sequence< css::beans::PropertyValue >& aInfo );
+
+diff --git a/sc/source/core/data/global.cxx b/sc/source/core/data/global.cxx
+index b0a91cb397d8..92caea1ea459 100644
+--- a/sc/source/core/data/global.cxx
++++ b/sc/source/core/data/global.cxx
+@@ -29,7 +29,9 @@
+ #include <sfx2/docfile.hxx>
+ #include <sfx2/dispatch.hxx>
+ #include <sfx2/objsh.hxx>
++#include <sfx2/sfxresid.hxx>
+ #include <sfx2/sfxsids.hrc>
++#include <sfx2/strings.hrc>
+ #include <sfx2/viewfrm.hxx>
+ #include <sfx2/viewsh.hxx>
+ #include <svl/intitem.hxx>
+@@ -820,7 +822,7 @@ void ScGlobal::OpenURL(const OUString& rURL, const OUString& rTarget, bool bIgno
+
+ OUString aUrlName( rURL );
+ SfxViewFrame* pFrame = nullptr;
+- const SfxObjectShell* pObjShell = nullptr;
++ SfxObjectShell* pObjShell = nullptr;
+ OUString aReferName;
+ if ( pScActiveViewShell )
+ {
+@@ -854,6 +856,35 @@ void ScGlobal::OpenURL(const OUString& rURL, const OUString& rTarget, bool bIgno
+ aUrlName = aNewUrlName;
+ }
+
++ if (INetURLObject(aUrlName).IsExoticProtocol())
++ {
++ // Default to ignoring exotic protocols
++ bool bAllow = false;
++ if (pObjShell)
++ {
++ // If the document had macros when loaded then follow the allowed macro-mode
++ if (pObjShell->GetHadCheckedMacrosOnLoad())
++ bAllow = pObjShell->AdjustMacroMode();
++ else // otherwise ask the user, defaulting to cancel
++ {
++ assert(pFrame && "if we have pObjShell we have pFrame");
++ //Reuse URITools::onOpenURI warning string
++ std::unique_ptr<weld::MessageDialog> xQueryBox(Application::CreateMessageDialog(pFrame->GetFrameWeld(),
++ VclMessageType::Warning, VclButtonsType::YesNo,
++ SfxResId(STR_DANGEROUS_TO_OPEN)));
++ xQueryBox->set_primary_text(xQueryBox->get_primary_text().replaceFirst("$(ARG1)",
++ INetURLObject::decode(aUrlName, INetURLObject::DecodeMechanism::Unambiguous)));
++ xQueryBox->set_default_response(RET_NO);
++ bAllow = xQueryBox->run() == RET_YES;
++ }
++ }
++ if (!bAllow)
++ {
++ SAL_WARN("sc", "ScGlobal::OpenURL ignoring: " << aUrlName);
++ return;
++ }
++ }
++
+ SfxStringItem aUrl( SID_FILE_NAME, aUrlName );
+ SfxStringItem aTarget( SID_TARGETNAME, rTarget );
+ if ( nScClickMouseModifier & KEY_SHIFT ) // control-click -> into new window
+diff --git a/sfx2/source/doc/docmacromode.cxx b/sfx2/source/doc/docmacromode.cxx
+index bdae350b22f5..d8757c7a505d 100644
+--- a/sfx2/source/doc/docmacromode.cxx
++++ b/sfx2/source/doc/docmacromode.cxx
+@@ -400,8 +400,12 @@ namespace sfx2
+ return bHasMacros;
+ }
+
++ bool DocumentMacroMode::hasMacros() const
++ {
++ return m_xData->m_rDocumentAccess.documentStorageHasMacros() || hasMacroLibrary() || m_xData->m_rDocumentAccess.macroCallsSeenWhileLoading();
++ }
+
+- bool DocumentMacroMode::checkMacrosOnLoading( const Reference< XInteractionHandler >& rxInteraction, bool bHasValidContentSignature )
++ bool DocumentMacroMode::checkMacrosOnLoading( const Reference< XInteractionHandler >& rxInteraction, bool bHasValidContentSignature, bool bHasMacros )
+ {
+ bool bAllow = false;
+ if ( SvtSecurityOptions::IsMacroDisabled() )
+@@ -411,7 +415,7 @@ namespace sfx2
+ }
+ else
+ {
+- if (m_xData->m_rDocumentAccess.documentStorageHasMacros() || hasMacroLibrary() || m_xData->m_rDocumentAccess.macroCallsSeenWhileLoading())
++ if (bHasMacros)
+ {
+ bAllow = adjustMacroMode( rxInteraction, bHasValidContentSignature );
+ }
+diff --git a/sfx2/source/doc/objmisc.cxx b/sfx2/source/doc/objmisc.cxx
+index 6b86e2163ccb..ddf95eeafe5e 100644
+--- a/sfx2/source/doc/objmisc.cxx
++++ b/sfx2/source/doc/objmisc.cxx
+@@ -952,9 +952,15 @@ void SfxObjectShell::CheckSecurityOnLoading_Impl()
+
+ // check macro security
+ const bool bHasValidContentSignature = HasValidSignatures();
+- pImpl->aMacroMode.checkMacrosOnLoading( xInteraction, bHasValidContentSignature );
++ const bool bHasMacros = pImpl->aMacroMode.hasMacros();
++ pImpl->aMacroMode.checkMacrosOnLoading( xInteraction, bHasValidContentSignature, bHasMacros );
++ pImpl->m_bHadCheckedMacrosOnLoad = bHasMacros;
+ }
+
++bool SfxObjectShell::GetHadCheckedMacrosOnLoad() const
++{
++ return pImpl->m_bHadCheckedMacrosOnLoad;
++}
+
+ void SfxObjectShell::CheckEncryption_Impl( const uno::Reference< task::XInteractionHandler >& xHandler )
+ {
+diff --git a/sfx2/source/doc/objxtor.cxx b/sfx2/source/doc/objxtor.cxx
+index c7f34aeadc31..ae6f713251ea 100644
+--- a/sfx2/source/doc/objxtor.cxx
++++ b/sfx2/source/doc/objxtor.cxx
+@@ -210,6 +210,7 @@ SfxObjectShell_Impl::SfxObjectShell_Impl( SfxObjectShell& _rDocShell )
+ ,m_bAllowShareControlFileClean( true )
+ ,m_bConfigOptionsChecked( false )
+ ,m_bMacroCallsSeenWhileLoading( false )
++ ,m_bHadCheckedMacrosOnLoad( false )
+ ,lErr(ERRCODE_NONE)
+ ,nEventId ( SfxEventHintId::NONE )
+ ,nLoadedFlags ( SfxLoadedFlags::ALL )
+diff --git a/sfx2/source/inc/objshimp.hxx b/sfx2/source/inc/objshimp.hxx
+index 192470e5542d..b011b3737d66 100644
+--- a/sfx2/source/inc/objshimp.hxx
++++ b/sfx2/source/inc/objshimp.hxx
+@@ -90,7 +90,8 @@ struct SfxObjectShell_Impl final : public ::sfx2::IMacroDocumentAccess
+ m_bSharedXMLFlag:1, // whether the document should be edited in shared mode
+ m_bAllowShareControlFileClean:1, // whether the flag should be stored in xml file
+ m_bConfigOptionsChecked:1, // whether or not the user options are checked after the Options dialog is closed.
+- m_bMacroCallsSeenWhileLoading:1; // whether or not the user options are checked after the Options dialog is closed.
++ m_bMacroCallsSeenWhileLoading:1, // whether or not macro calls were seen when loading document.
++ m_bHadCheckedMacrosOnLoad:1; // if document contained macros (or calls) when loaded
+
+ IndexBitSet aBitSet;
+ ErrCode lErr;
+--
+cgit v1.2.1
+
diff --git a/debian/patches/install-fixes.diff b/debian/patches/install-fixes.diff
new file mode 100644
index 000000000..891bb321c
--- /dev/null
+++ b/debian/patches/install-fixes.diff
@@ -0,0 +1,166 @@
+diff --git a/bin/distro-install-file-lists b/bin/distro-install-file-lists
+index eaabf9c..c1b1ec6 100755
+--- libreoffice-3.5.0/bin/distro-install-file-lists
++++ libreoffice-3.5.0/bin/distro-install-file-lists
+@@ -8,6 +8,8 @@
+ exit 1
+ fi
+
++export OOO_VENDOR=Debian
++
+ BUILDDIR=`pwd`
+ FILELISTSDIR="$BUILDDIR/file-lists"
+
+@@ -351,152 +351,6 @@ if test "z$OOO_VENDOR" != "zDebian" ; then
+ remove_duplicity_from_flists common_list.txt lang_bg_list.txt $INSTALLDIR/presets/config/styles.sod
+ # the British fixes can be removed after the issue #54113 is fixed
+ remove_duplicity_from_flists common_list.txt lang_en-GB_list.txt $INSTALLDIR/presets/config/standard.sog
+-
+-else
+-
+- echo "Creating package directories..."
+-
+- test -d pkg && rm -r pkg || :
+-
+- # Create package tree (needed by Debian's dpkg)
+- # create_package_directory <list_file> <directory_name>
+- create_package_directory()
+- {
+- listfile=$1
+- directory="$2"
+- perl -nl \
+- -e " if(/^%dir (.*)/)
+- {system('mkdir', '-p', '-m', '755', \"$directory\".\$1);}
+- else
+- {rename('./'.\$_, \"$directory\".\$_);}
+- " \
+- $listfile
+- }
+-
+- create_package_directory gid_Module_Root_Ure_Hidden pkg/ure
+-
+- create_package_directory gid_Module_Root pkg/libreoffice-common
+- create_package_directory gid_Module_Root_Brand pkg/libreoffice-common
+- create_package_directory gid_Module_Root_Files_Images pkg/libreoffice-common
+- create_package_directory gid_Module_Oo_Linguistic pkg/libreoffice-common
+- create_package_directory gid_Module_Optional_Xsltfiltersamples pkg/libreoffice-common
+- create_package_directory gid_Module_Optional_Grfflt pkg/libreoffice-draw
+- create_package_directory gid_Module_Prg_Calc_Bin pkg/libreoffice-calc
+- create_package_directory gid_Module_Prg_Math_Bin pkg/libreoffice-math
+- create_package_directory gid_Module_Prg_Draw_Bin pkg/libreoffice-draw
+- create_package_directory gid_Module_Prg_Wrt_Bin pkg/libreoffice-writer
+- create_package_directory gid_Module_Prg_Impress_Bin pkg/libreoffice-impress
+- create_package_directory gid_Module_Prg_Base_Bin pkg/libreoffice-base
+- create_package_directory gid_Module_Brand_Prg_Calc pkg/libreoffice-calc
+- create_package_directory gid_Module_Brand_Prg_Math pkg/libreoffice-math
+- create_package_directory gid_Module_Brand_Prg_Draw pkg/libreoffice-draw
+- create_package_directory gid_Module_Brand_Prg_Wrt pkg/libreoffice-writer
+- create_package_directory gid_Module_Brand_Prg_Impress pkg/libreoffice-impress
+- create_package_directory gid_Module_Brand_Prg_Base pkg/libreoffice-base
+- create_package_directory gid_Module_Pyuno pkg/python-uno
+- create_package_directory gid_Module_Optional_Gnome pkg/libreoffice-gnome
+-
+- create_package_directory gid_Module_Root_Files_2 pkg/libreoffice-common
+- create_package_directory gid_Module_Root_Files_3 pkg/libreoffice-common
+- create_package_directory gid_Module_Root_Files_4 pkg/libreoffice-common
+- create_package_directory gid_Module_Root_Files_5 pkg/libreoffice-common
+- create_package_directory gid_Module_Root_Files_6 pkg/libreoffice-common
+- create_package_directory gid_Module_Root_Files_7 pkg/libreoffice-common
+- if [ -e gid_Module_Optional_Pymailmerge ]; then
+- create_package_directory gid_Module_Optional_Pymailmerge pkg/libreoffice-emailmerge
+- else # post m26
+- mkdir -p pkg/libreoffice-emailmerge/$INSTALLDIR/program
+- mv pkg/libreoffice-common/$INSTALLDIR/program/mailmerge.py \
+- pkg/libreoffice-emailmerge/$INSTALLDIR/program/mailmerge.py
+- fi
+- create_package_directory gid_Module_Optional_OGLTrans pkg/libreoffice-ogltrans
+-
+- create_package_directory gid_Module_Root_SDK pkg/libreoffice-dev
+-
+- for l in `echo $WITH_LANG_LIST`; do
+- for p in Impress Draw Math Calc Base Writer; do
+- create_package_directory gid_Module_Langpack_${p}_`echo $l | sed -e s/-/_/g` pkg/libreoffice-l10n-$l
+- done
+- create_package_directory gid_Module_Langpack_Basis_`echo $l | sed -e s/-/_/g` pkg/libreoffice-l10n-$l
+- create_package_directory gid_Module_Langpack_Brand_`echo $l | sed -e s/-/_/g` pkg/libreoffice-l10n-$l
+- create_package_directory gid_Module_Langpack_Resource_`echo $l | sed -e s/-/_/g` pkg/libreoffice-l10n-$l
+- create_package_directory gid_Module_Helppack_Help_`echo $l | sed -e s/-/_/g` pkg/libreoffice-help-$l
+-
+- # some help files are in _Langpack_{Writer,Impress,...}_<lang>
+- # move them from -l10n to -help
+- if [ "$l" = "en-US" ]; then d=en; else d=$l; fi
+- mv pkg/libreoffice-l10n-$l/$INSTALLDIR/help/$d/* \
+- pkg/libreoffice-help-$l/$INSTALLDIR/help/$d && \
+- rmdir pkg/libreoffice-l10n-$l/$INSTALLDIR/help/$d
+- done
+-
+- # move_wrappers <directory_name> <name> [...]
+- move_wrappers()
+- {
+- directory=$1
+- shift
+- mkdir -m755 -p "$directory"/usr/bin
+- while test -n "$1"; do
+- mv usr/*bin/"$1$BINSUFFIX" "$directory"/usr/bin
+- shift
+- done
+- }
+- move_wrappers pkg/libreoffice-common soffice unopkg
+- if test "$COMPAT_OOWRAPPERS" = "YES" ; then
+- move_wrappers pkg/libreoffice-common ooffice oofromtemplate
+- move_wrappers pkg/libreoffice-base oobase
+- move_wrappers pkg/libreoffice-writer oowriter ooweb
+- move_wrappers pkg/libreoffice-calc oocalc
+- move_wrappers pkg/libreoffice-impress ooimpress
+- move_wrappers pkg/libreoffice-math oomath
+- move_wrappers pkg/libreoffice-draw oodraw
+- fi
+- move_wrappers pkg/libreoffice-common libreoffice lofromtemplate
+- move_wrappers pkg/libreoffice-base lobase
+- move_wrappers pkg/libreoffice-writer lowriter loweb
+- move_wrappers pkg/libreoffice-calc localc
+- move_wrappers pkg/libreoffice-impress loimpress
+- move_wrappers pkg/libreoffice-math lomath
+- move_wrappers pkg/libreoffice-draw lodraw
+-
+- # Move all libraries, binaries, *.rdb from -common to -core
+- for d in $INSTALLDIR/program $INSTALLDIR/program; do \
+- if [ ! -d $DESTDIR/pkg/libreoffice-core/$d ]; then \
+- mkdir -p $DESTDIR/pkg/libreoffice-core/$d; \
+- fi &&
+- ( cd pkg/libreoffice-common/$d
+- find -maxdepth 1 \
+- -regex '\./\(.*\.so.*\|.*\.bin\|pagein\|msfontextract\|.*\.rdb\|javaldx\|uri-encode\)' \
+- -exec mv {} $DESTDIR/pkg/libreoffice-core/$d \;
+- ); \
+- done
+-
+- # install additional ooo-build scripts & misc stuff
+- mkdir -p pkg/libreoffice-common/usr/share/man/man1
+- if test "$COMPAT_OOWRAPPERS" = "YES" ; then
+- mv usr/share/man/man1/openoffice$BINSUFFIX.1 \
+- pkg/libreoffice-common/usr/share/man/man1
+- fi
+- mv usr/share/man/man1/libreoffice$BINSUFFIX.1 \
+- pkg/libreoffice-common/usr/share/man/man1
+- mkdir -p pkg/libreoffice-common/etc/bash_completion.d
+- if test "$COMPAT_OOWRAPPERS" = "YES" ; then
+- mv etc/bash_completion.d/ooffice$BINSUFFIX.sh \
+- pkg/libreoffice-common/etc/bash_completion.d
+- fi
+- mv etc/bash_completion.d/libreoffice$BINSUFFIX.sh \
+- pkg/libreoffice-common/etc/bash_completion.d
+- mv .$INSTALLDIR/program/java-set-classpath \
+- pkg/libreoffice-common/$INSTALLDIR/program
+- if echo $WITH_LANG_LIST | grep -q en-US; then
+- for i in forms/resume.ott officorr/project-proposal.ott; do \
+- mkdir -p pkg/libreoffice-common/$INSTALLDIR/share/template/en-US/`dirname $i`; \
+- mv .$INSTALLDIR/share/template/en-US/$i \
+- pkg/libreoffice-common/$INSTALLDIR/share/template/en-US/$i; \
+- done; \
+- fi
+- # Warn for any remaining files
+- find . -path './pkg' -prune -o -not -name 'gid_Module_*' -not -type d -exec echo "File not packaged: {}" \;
+ fi
+
+ # mark the config files
diff --git a/debian/patches/javadoc-optional.diff b/debian/patches/javadoc-optional.diff
new file mode 100644
index 000000000..33deb9388
--- /dev/null
+++ b/debian/patches/javadoc-optional.diff
@@ -0,0 +1,151 @@
+Gemeinsame Unterverzeichnisse: odk-old/config und odk/config.
+Gemeinsame Unterverzeichnisse: odk-old/docs und odk/docs.
+Gemeinsame Unterverzeichnisse: odk-old/examples und odk/examples.
+diff --git a/odk/Module_odk.mk b/odk/Module_odk.mk
+index 693885322115..5fcb39306a0b 100644
+--- a/odk/Module_odk.mk
++++ b/odk/Module_odk.mk
+@@ -42,8 +42,10 @@ endif
+ ifneq ($(ENABLE_JAVA),)
+ $(eval $(call gb_Module_add_targets,odk,\
+ CustomTarget_classes \
+- CustomTarget_javadoc \
+- GeneratedPackage_odk_javadoc \
++ $(if $(JAVADOC),\
++ CustomTarget_javadoc \
++ GeneratedPackage_odk_javadoc \
++ ) \
+ GeneratedPackage_uno_loader_classes \
+ ))
+ endif
+
+Gemeinsame Unterverzeichnisse: odk-old/pack und odk/pack.
+Gemeinsame Unterverzeichnisse: odk-old/qa und odk/qa.
+Gemeinsame Unterverzeichnisse: odk-old/settings und odk/settings.
+Gemeinsame Unterverzeichnisse: odk-old/source und odk/source.
+Gemeinsame Unterverzeichnisse: odk-old/util und odk/util.
+--- a/configure.ac-old 2013-05-27 18:32:42.187305241 +0200
++++ b/configure.ac 2013-05-27 18:44:29.131286710 +0200
+@@ -2057,6 +2057,18 @@ AC_ARG_WITH(doxygen,
+ documentation. Not relevant in the --disable-odk case.]),
+ ,with_doxygen=yes)
+
++AC_ARG_WITH(
++ [javadoc],
++ AS_HELP_STRING(
++ [--with-javadoc],
++ [Specifies the javadoc executable to use when generating ODK Java
++ documentation. --without-javadoc disables generation of ODK Java
++ documentation. Not relevant in the --disable-odk case.])
++ [
++ Usage: --with-javadoc=<absolute path to doxygen executable>
++ ],,
++ [with_javadoc=yes])
++
+ AC_ARG_WITH(visual-studio,
+ AS_HELP_STRING([--with-visual-studio=<2019/2022>],
+ [Specify which Visual Studio version to use in case several are
+@@ -7872,34 +7872,43 @@ fi
+ dnl ===================================================================
+ dnl Checks for javadoc
+ dnl ===================================================================
+-if test "$ENABLE_JAVA" != "" -a "$cross_compiling" != "yes"; then
++if test "$ENABLE_JAVA" != "" -a "$enable_odk" != no -a "$cross_compiling" != "yes"; then
+ if test -z "$with_jdk_home"; then
+ AC_PATH_PROG(JAVADOC, javadoc)
+ else
+- _javadoc_path="$with_jdk_home/bin/javadoc"
+- dnl Check if there is a javadoc at all.
+- if test -x "$_javadoc_path"; then
+- JAVADOC=$_javadoc_path
+- else
+- AC_PATH_PROG(JAVADOC, javadoc)
+- fi
+- fi
+- if test -z "$JAVADOC"; then
+- AC_MSG_ERROR([$_javadoc_path not found set with_jdk_home])
+- fi
+- if test "$build_os" = "cygwin"; then
+- if test x`echo "$JAVADOC" | $GREP -i '\.exe$'` = x; then
+- JAVADOC="${JAVADOC}.exe"
+- fi
+- JAVADOC=`win_short_path_for_make "$JAVADOC"`
+- fi
++ if test "$with_javadoc" = "yes"; then
++ _javadoc_path="$with_jdk_home/bin/javadoc"
++ dnl Check if there is a javadoc at all.
++ if test -x "$_javadoc_path"; then
++ JAVADOC=$_javadoc_path
++ else
++ AC_PATH_PROG(JAVADOC, javadoc)
++ fi
++ if test -z "$JAVADOC"; then
++ AC_MSG_ERROR([$_javadoc_path not found set with_jdk_home])
++ fi
++ if test "$build_os" = "cygwin"; then
++ if test x`echo "$JAVADOC" | $GREP -i '\.exe$'` = x; then
++ JAVADOC="${JAVADOC}.exe"
++ fi
++ JAVADOC=`win_short_path_for_make "$JAVADOC"`
++ fi
+
+- if test `$JAVADOC --version 2>&1 | $GREP -c "gjdoc"` -gt 0; then
+- JAVADOCISGJDOC="yes"
++ if test `$JAVADOC --version 2>&1 | $GREP -c "gjdoc"` -gt 0; then
++ JAVADOCISGJDOC="yes"
++ fi
++ else
++ unset JAVADOC
++ fi
+ fi
++else
++ unset JAVADOC
+ fi
+-AC_SUBST(JAVADOC)
+ AC_SUBST(JAVADOCISGJDOC)
++if test "$JAVADOCISGJDOC" = "yes"; then
++ unset JAVADOC
++fi
++AC_SUBST(JAVADOC)
+
+ if test "$ENABLE_JAVA" != "" -a \( "$cross_compiling" != "yes" -o -n "$with_jdk_home" \); then
+ # check if JAVA_HOME was (maybe incorrectly?) set automatically to /usr
+diff --git a/odk/CustomTarget_check.mk b/odk/CustomTarget_check.mk
+index 74331955be9b..3415b0193cf9 100644
+--- a/odk/CustomTarget_check.mk
++++ b/odk/CustomTarget_check.mk
+@@ -36,7 +36,7 @@ $(call gb_CustomTarget_get_workdir,odk/check)/checkbin : \
+ $(if $(filter WNT,$(OS)),$(call gb_Package_get_target,odk_config_win)) \
+ $(call gb_Package_get_target,odk_docs) \
+ $(call gb_Package_get_target,odk_html) \
+- $(if $(ENABLE_JAVA),$(call gb_GeneratedPackage_get_target,odk_javadoc)) \
++ $(if $(JAVADOC),$(call gb_GeneratedPackage_get_target,odk_javadoc)) \
+ $(call gb_Package_get_target,odk_settings) \
+ $(call gb_Package_get_target,odk_settings_generated)
+ ifneq ($(gb_SUPPRESS_TESTS),)
+diff --git a/odk/util/check.pl b/odk/util/check.pl
+index 899b42c..2c7a780 100644
+--- a/odk/util/check.pl
++++ b/odk/util/check.pl
+@@ -188,7 +188,7 @@ if (-d "$SdkDir") {
+ # improvement required
+ my $solar_java = $ENV{"ENABLE_JAVA"};
+ my $JDK = $ENV{"JDK"};
+- if (defined($solar_java) && $solar_java ne "" && (!defined($JDK) || $JDK ne "gcj")) {
++ if (defined($solar_java) && $solar_java ne "" && $ENV{"JAVADOC"} ne "") {
+ print "check java docu: ";
+ if (check_dir("docs/java/ref")) {
+ if (!check_file("docs/java/ref/index.html")) {
+diff --git a/Repository.mk b/Repository.mk
+index 5f2654b..471210f 100644
+--- a/Repository.mk
++++ b/Repository.mk
+@@ -834,7 +841,7 @@ $(eval $(call gb_Helper_register_packages_for_install,sdk,\
+ offapi_idl \
+ udkapi_idl \
+ $(if $(ENABLE_JAVA), \
+- odk_javadoc \
++ $(if $(JAVADOC),odk_javadoc) \
+ odk_uno_loader_classes \
+ ) \
+ ))
diff --git a/debian/patches/jdbc-driver-classpaths.diff b/debian/patches/jdbc-driver-classpaths.diff
new file mode 100644
index 000000000..8f4a1660e
--- /dev/null
+++ b/debian/patches/jdbc-driver-classpaths.diff
@@ -0,0 +1,35 @@
+diff --git a/officecfg/registry/data/org/openoffice/Office/DataAccess.xcu b/officecfg/registry/data/org/openoffice/Office/DataAccess.xcu
+index 9be30a2..59c87cb 100644
+--- a/officecfg/registry/data/org/openoffice/Office/DataAccess.xcu
++++ b/officecfg/registry/data/org/openoffice/Office/DataAccess.xcu
+@@ -147,6 +147,30 @@
+ </node>
+ </node>
+ </node>
++ <node oor:name="JDBC">
++ <node oor:name="DriverClassPaths">
++ <node oor:name="org.mariadb.jdbc.Driver" oor:op="replace">
++ <prop oor:name="Path">
++ <value>file:///usr/share/java/mariadb-java-client.jar</value>
++ </prop>
++ </node>
++ <node oor:name="com.mysql.jdbc.Driver" oor:op="replace">
++ <prop oor:name="Path">
++ <value>file:///usr/share/java/mysql.jar</value>
++ </prop>
++ </node>
++ <node oor:name="org.postgresql.Driver" oor:op="replace">
++ <prop oor:name="Path">
++ <value>file:///usr/share/java/posgresql.jar</value>
++ </prop>
++ </node>
++ <node oor:name="net.sourceforge.jtds.jdbc.Driver" oor:op="replace">
++ <prop oor:name="Path">
++ <value>file:///usr/share/java/jtds.jar</value>
++ </prop>
++ </node>
++ </node>
++ </node>
+ <node oor:name="RegisteredNames">
+ <node oor:name="EvolutionLocal" oor:op="replace" install:module="evoab2">
+ <prop oor:name="Location" oor:type="xs:string">
diff --git a/debian/patches/jurt-soffice-location.diff b/debian/patches/jurt-soffice-location.diff
new file mode 100644
index 000000000..aa334d8ea
--- /dev/null
+++ b/debian/patches/jurt-soffice-location.diff
@@ -0,0 +1,20 @@
+commit b71107fb12e3c3125e0cb62c5a4f6636a80c6408
+Author: Bjoern Michaelsen <bjoern.michaelsen@canonical.com>
+AuthorDate: Tue Jun 7 11:52:37 2011 +0200
+Commit: Bjoern Michaelsen <bjoern.michaelsen@canonical.com>
+CommitDate: Tue Jun 7 11:52:37 2011 +0200
+
+ on debian-based systems, we know where our soffice binary is
+
+diff --git a/jurt/com/sun/star/lib/util/NativeLibraryLoader.java b/jurt/com/sun/star/lib/util/NativeLibraryLoader.jav
+index da22980..36664ca 100644
+--- libreoffice-3.5.0/ridljar/com/sun/star/lib/util/NativeLibraryLoader.java
++++ libreoffice-3.5.0/ridljar/com/sun/star/lib/util/NativeLibraryLoader.java
+@@ -111,6 +111,8 @@ public final class NativeLibraryLoader {
+ }
+ }
+ }
++ if (name.equals("soffice"))
++ return new File("/usr/lib/libreoffice/program/soffice");
+ return null;
+ }
diff --git a/debian/patches/make-package-modules-not-suck.diff b/debian/patches/make-package-modules-not-suck.diff
new file mode 100644
index 000000000..c262187ce
--- /dev/null
+++ b/debian/patches/make-package-modules-not-suck.diff
@@ -0,0 +1,212 @@
+diff --git a/scp2/InstallModule_draw.mk b/scp2/InstallModule_draw.mk
+index a7c02be..d48edf2 100644
+--- a/scp2/InstallModule_draw.mk
++++ b/scp2/InstallModule_draw.mk
+@@ -10,6 +10,7 @@
+ $(eval $(call gb_InstallModule_InstallModule,scp2/draw))
+
+ $(eval $(call gb_InstallModule_use_auto_install_libs,scp2/draw,\
++ draw \
+ draw_brand \
+ ))
+
+diff --git a/scp2/source/draw/module_draw.scp b/scp2/source/draw/module_draw.scp
+index 8737579..0913c61 100644
+--- a/scp2/source/draw/module_draw.scp
++++ b/scp2/source/draw/module_draw.scp
+@@ -18,6 +18,7 @@
+
+ #include "macros.inc"
+
++#include "AutoInstall/draw"
+ #include "AutoInstall/draw_brand"
+
+ Module gid_Module_Prg_Draw
+@@ -34,7 +35,8 @@ Module gid_Module_Prg_Draw_Bin
+ Sortkey = "100";
+ Default = YES;
+ Styles = (HIDDEN_ROOT);
+- Files = (gid_File_Extra_Urldesktop_Draw,gid_File_Extra_Urlnew_Draw,gid_File_Extra_Urlstart_Draw,gid_File_Extra_Urltasks_Draw,
++ Files = (auto_draw_ALL,
++ gid_File_Extra_Urldesktop_Draw,gid_File_Extra_Urlnew_Draw,gid_File_Extra_Urlstart_Draw,gid_File_Extra_Urltasks_Draw,
+ gid_File_Share_Registry_Draw_Xcd,
+ gid_File_Tmp_Userinstall_Draw_Inf);
+ End
+diff --git a/scp2/AutoInstall.mk b/scp2/AutoInstall.mk
+index 7d2a347..a15ac52 100644
+--- a/scp2/AutoInstall.mk
++++ b/scp2/AutoInstall.mk
+@@ -17,6 +17,7 @@ $(eval $(call gb_AutoInstall_add_module,base_brand,,LIBO_EXECUTABLE,,PACKAGE_FIL
+ $(eval $(call gb_AutoInstall_add_module,brand,,LIBO_EXECUTABLE,,PACKAGE_FILELIST))
+ $(eval $(call gb_AutoInstall_add_module,calc,LIBO_LIB_FILE,,,PACKAGE_FILELIST))
+ $(eval $(call gb_AutoInstall_add_module,calc_brand,,LIBO_EXECUTABLE,,PACKAGE_FILELIST))
++$(eval $(call gb_AutoInstall_add_module,draw,LIBO_LIB_FILE))
+ $(eval $(call gb_AutoInstall_add_module,draw_brand,,LIBO_EXECUTABLE,,PACKAGE_FILELIST))
+ $(eval $(call gb_AutoInstall_add_module,extensions_bsh,,,LIBO_JAR_FILE))
+ $(eval $(call gb_AutoInstall_add_module,extensions_numbertext,,,,PACKAGE_FILELIST))
+diff --git a/Repository.mk b/Repository.mk
+index f386b8aa7c05..7c337f23891b 100644
+--- a/Repository.mk
++++ b/Repository.mk
+@@ -244,13 +244,29 @@ $(eval $(call gb_Helper_register_executables_for_install,UREBIN,ure,\
+
+ $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,base, \
+ abp \
++ calc \
++ dba \
++ dbahsql \
++ $(call gb_Helper_optional,DBCONNECTIVITY, \
++ dbase \
++ dbaxml) \
+ dbp \
+ dbu \
++ $(call gb_Helper_optional,DBCONNECTIVITY,flat) \
++ $(if $(ENABLE_JAVA),jdbc) \
++ $(call gb_Helper_optional,DBCONNECTIVITY,mysql_jdbc) \
++ $(call gb_Helper_optional,MARIADBC,$(call gb_Helper_optional,DBCONNECTIVITY,mysqlc)) \
++ odbc \
++))
++
++$(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,base, \
++ $(call gb_Helper_optional,DBCONNECTIVITY,dbpool2) \
++ $(if $(ENABLE_JAVA),hsqldb) \
++ sdbc2 \
+ ))
+
+ $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,calc, \
+ analysis \
+- $(call gb_Helper_optional,DBCONNECTIVITY,calc) \
+ date \
+ pricing \
+ sc \
+@@ -265,6 +281,13 @@ $(eval $(call gb_Helper_register_plugins_for_install,OOOLIBS,calc, \
+ scui \
+ ))
+
++$(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,draw, \
++ animcore \
++ sd \
++ sdd \
++ sdfilt \
++))
++
+ $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,graphicfilter, \
+ svgfilter \
+ wpftdraw \
+@@ -272,10 +295,10 @@ $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,graphicfilter, \
+ ))
+
+ $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,impress, \
+- animcore \
+ PresenterScreen \
+ PresentationMinimizer \
+ wpftimpress \
++ slideshow \
+ ))
+
+ $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,onlineupdate, \
+@@ -355,11 +378,6 @@ $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
+ $(if $(filter $(OS),WNT),,cmdmail) \
+ configmgr \
+ ctl \
+- dba \
+- dbahsql \
+- $(call gb_Helper_optional,DBCONNECTIVITY, \
+- dbase \
+- dbaxml) \
+ dbtools \
+ deploymentmisc \
+ $(if $(filter-out MACOSX WNT,$(OS)),desktopbe1) \
+@@ -373,7 +391,6 @@ $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
+ evtatt \
+ expwrap \
+ $(call gb_Helper_optional,DBCONNECTIVITY, \
+- flat \
+ file) \
+ filterconfig \
+ fps_office \
+@@ -412,7 +412,6 @@ $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
+ $(call gb_Helper_optionals_or,HELPTOOLS XMLHELP,helplinker) \
+ i18npool \
+ i18nsearch \
+- $(if $(ENABLE_JAVA),jdbc) \
+ $(if $(filter WNT,$(OS)),jumplist) \
+ $(if $(ENABLE_LDAP),ldapbe2) \
+ $(if $(filter WNT,$(OS)),WinUserInfoBe) \
+@@ -403,10 +419,7 @@ $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
+ msfilter \
+ $(call gb_Helper_optional,SCRIPTING,msforms) \
+ mtfrenderer \
+- $(call gb_Helper_optional,DBCONNECTIVITY,mysql_jdbc) \
+- $(call gb_Helper_optional,MARIADBC,$(call gb_Helper_optional,DBCONNECTIVITY,mysqlc)) \
+ numbertext \
+- odbc \
+ odfflatxml \
+ offacc \
+ oox \
+@@ -442,11 +441,7 @@ $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
+ sb \
+ $(call gb_Helper_optional,DBCONNECTIVITY,sdbt) \
+ scn \
+- sd \
+- sdd \
+- sdfilt \
+ sfx \
+- slideshow \
+ sot \
+ $(if $(or $(DISABLE_GUI),$(ENABLE_WASM_STRIP_SPLASH)),,spl) \
+ storagefd \
+@@ -436,7 +445,6 @@ $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,ooo, \
+ svt \
+ svx \
+ svxcore \
+- sw \
+ syssh \
+ textconversiondlgs \
+ textfd \
+@@ -506,12 +501,15 @@ $(eval $(call gb_Helper_register_plugins_for_install,OOOLIBS,ooo, \
+ cui \
+ $(if $(USING_X11),desktop_detector) \
+ icg \
+- sdui \
+ $(if $(ENABLE_GEN),vclplug_gen) \
+ $(if $(filter $(OS),WNT),vclplug_win) \
+ $(if $(filter $(OS),MACOSX),vclplug_osx) \
+ ))
+
++$(eval $(call gb_Helper_register_plugins_for_install,OOOLIBS,draw, \
++ sdui \
++))
++
+ $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,postgresqlsdbc, \
+ $(if $(BUILD_POSTGRESQL_SDBC), \
+ postgresql-sdbc \
+@@ -529,6 +540,7 @@ $(eval $(call gb_Helper_register_libraries_for_install,OOOLIBS,writer, \
+ hwp \
+ $(if $(ENABLE_LWP),lwpft) \
+ msword \
++ sw \
+ swd \
+ t602filter \
+ $(call gb_Helper_optional,SCRIPTING,vbaswobj) \
+@@ -622,12 +634,10 @@ $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,ooo, \
+ ) \
+ cached1 \
+ comphelper \
+- $(call gb_Helper_optional,DBCONNECTIVITY,dbpool2) \
+ $(call gb_Helper_optional,BREAKPAD,crashreport) \
+ deployment \
+ deploymentgui \
+ embobj \
+- $(if $(ENABLE_JAVA),hsqldb) \
+ i18nutil \
+ $(if $(and $(ENABLE_GTK3), $(filter LINUX %BSD SOLARIS,$(OS))), libreofficekitgtk) \
+ $(if $(ENABLE_JAVA), \
+@@ -636,7 +646,6 @@ $(eval $(call gb_Helper_register_libraries_for_install,PLAINLIBS_OOO,ooo, \
+ emboleobj \
+ package2 \
+ $(call gb_Helper_optional,SCRIPTING,scriptframe) \
+- sdbc2 \
+ sofficeapp \
+ srtrs1 \
+ ucb1 \
diff --git a/debian/patches/mediwiki-oor-replace.diff b/debian/patches/mediwiki-oor-replace.diff
new file mode 100644
index 000000000..ed04c917e
--- /dev/null
+++ b/debian/patches/mediwiki-oor-replace.diff
@@ -0,0 +1,51 @@
+diff --git a/swext/mediawiki/src/registry/data/org/openoffice/Office/OptionsDialog.xcu b/swext/mediawiki/src/registry/data/org/openoffice/Office/OptionsDialog.xcu
+index 2b35ced08f31..0c96070dd4f0 100644
+--- a/swext/mediawiki/src/registry/data/org/openoffice/Office/OptionsDialog.xcu
++++ b/swext/mediawiki/src/registry/data/org/openoffice/Office/OptionsDialog.xcu
+@@ -18,9 +18,9 @@
+ -->
+ <oor:component-data oor:name="OptionsDialog" oor:package="org.openoffice.Office" xmlns:oor="http://openoffice.org/2001/registry">
+ <node oor:name="Nodes">
+- <node oor:name="Internet" oor:op="fuse">
++ <node oor:name="Internet" oor:op="replace">
+ <node oor:name="Leaves">
+- <node oor:name="com.sun.star.wiki.options" oor:op="fuse">
++ <node oor:name="com.sun.star.wiki.options" oor:op="replace">
+ <prop oor:name="Id">
+ <value>com.sun.wiki-publisher</value>
+ </prop>
+diff --git a/swext/mediawiki/src/registry/data/org/openoffice/TypeDetection/Filter.xcu b/swext/mediawiki/src/registry/data/org/openoffice/TypeDetection/Filter.xcu
+index 3309b503824c..261e470b253b 100644
+--- a/swext/mediawiki/src/registry/data/org/openoffice/TypeDetection/Filter.xcu
++++ b/swext/mediawiki/src/registry/data/org/openoffice/TypeDetection/Filter.xcu
+@@ -19,7 +19,7 @@
+ <!DOCTYPE oor:component-data SYSTEM "../../../../../../../../officecfg/registry/component-update.dtd">
+ <oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:package="org.openoffice.TypeDetection" oor:name="Filter">
+ <node oor:name="Filters">
+- <node oor:name="MediaWiki" oor:op="fuse">
++ <node oor:name="MediaWiki" oor:op="replace">
+ <prop oor:name="FileFormatVersion"><value>0</value></prop>
+ <prop oor:name="Type"><value>MediaWiki</value></prop>
+ <prop oor:name="DocumentService"><value>com.sun.star.text.TextDocument</value></prop>
+@@ -31,7 +31,7 @@
+ </prop>
+ <prop oor:name="Flags"><value>EXPORT ALIEN 3RDPARTYFILTER</value></prop>
+ </node>
+- <node oor:name="MediaWiki_Web" oor:op="fuse">
++ <node oor:name="MediaWiki_Web" oor:op="replace">
+ <prop oor:name="FileFormatVersion"><value>0</value></prop>
+ <prop oor:name="Type"><value>MediaWiki</value></prop>
+ <prop oor:name="DocumentService"><value>com.sun.star.text.WebDocument</value></prop>
+diff --git a/swext/mediawiki/src/registry/data/org/openoffice/TypeDetection/Types.xcu b/swext/mediawiki/src/registry/data/org/openoffice/TypeDetection/Types.xcu
+index 15e4f850041a..ce7cd0763b79 100644
+--- a/swext/mediawiki/src/registry/data/org/openoffice/TypeDetection/Types.xcu
++++ b/swext/mediawiki/src/registry/data/org/openoffice/TypeDetection/Types.xcu
+@@ -19,7 +19,7 @@
+ <!DOCTYPE oor:component-data SYSTEM "../../../../../../../../officecfg/registry/component-update.dtd">
+ <oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" oor:package="org.openoffice.TypeDetection" oor:name="Types">
+ <node oor:name="Types">
+- <node oor:name="MediaWiki" oor:op="fuse">
++ <node oor:name="MediaWiki" oor:op="replace">
+ <prop oor:name="DetectService"><value>com.sun.star.comp.filters.XMLFilterDetect</value></prop>
+ <prop oor:name="URLPattern"/>
+ <prop oor:name="Extensions"><value>txt</value></prop>
diff --git a/debian/patches/mention-java-common-package.diff b/debian/patches/mention-java-common-package.diff
new file mode 100644
index 000000000..71655a181
--- /dev/null
+++ b/debian/patches/mention-java-common-package.diff
@@ -0,0 +1,35 @@
+diff --git a/jvmfwk/plugins/sunmajor/javaenvsetup/javaldx.cxx b/jvmfwk/plugins/sunmajor/javaenvsetup/javaldx.cxx
+index 718902caba6f..3c8499b5a42c 100644
+--- a/jvmfwk/plugins/sunmajor/javaenvsetup/javaldx.cxx
++++ b/jvmfwk/plugins/sunmajor/javaenvsetup/javaldx.cxx
+@@ -141,6 +141,9 @@ static bool findAndSelect(JavaInfo ** ppInfo)
+ if (errcode == JFW_E_NO_JAVA_FOUND)
+ {
+ fprintf(stderr,"javaldx: Could not find a Java Runtime Environment!\n");
++ fprintf(stderr,"Please ensure that a JVM and the package libreoffice-java-common\n");
++ fprintf(stderr,"is installed.\n");
++ fprintf(stderr,"If it is already installed then try removing ~/.config/libreoffice/4/user/config/javasettings_Linux_*.xml\n");
+ return false;
+ }
+ else if (errcode != JFW_E_NONE && errcode != JFW_E_DIRECT_MODE)
+diff --git a/include/svtools/strings.hrc b/include/svtools/strings.hrc
+index f9dc617f4313..874b0400cbc5 100644
+--- a/include/svtools/strings.hrc
++++ b/include/svtools/strings.hrc
+@@ -281,13 +281,13 @@
+
+ #define STR_SVT_DEFAULT_SERVICE_LABEL NC_("STR_SVT_DEFAULT_SERVICE_LABEL", "$user$'s $service$")
+
+-#define STR_WARNING_JAVANOTFOUND NC_("STR_WARNING_JAVANOTFOUND", "%PRODUCTNAME requires a Java runtime environment (JRE) to perform this task. Please install a JRE and restart %PRODUCTNAME. %FAQLINK")
++#define STR_WARNING_JAVANOTFOUND NC_("STR_WARNING_JAVANOTFOUND", "%PRODUCTNAME requires a Java runtime environment (JRE) to perform this task. Please install a JRE (and libreoffice-java-common) and restart %PRODUCTNAME. %FAQLINK")
+ #define STR_WARNING_JAVANOTFOUND_WIN NC_("STR_WARNING_JAVANOTFOUND_WIN", "%PRODUCTNAME requires a %BITNESS-bit Java runtime environment (JRE) to perform this task. Please install a JRE and restart %PRODUCTNAME. %FAQLINK")
+ #define STR_WARNING_JAVANOTFOUND_MAC NC_("STR_WARNING_JAVANOTFOUND_MAC", "%PRODUCTNAME requires Oracle's Java Development Kit (JDK) on macOS 10.10 or greater to perform this task. Please install them and restart %PRODUCTNAME. %FAQLINK")
+ #define STR_WARNING_INVALIDJAVASETTINGS_MAC NC_("STR_WARNING_INVALIDJAVASETTINGS_MAC", "The %PRODUCTNAME configuration has been changed. Under %PRODUCTNAME - Preferences - %PRODUCTNAME - Advanced, select the Java runtime environment you want to have used by %PRODUCTNAME.")
+-#define STR_WARNING_INVALIDJAVASETTINGS NC_("STR_WARNING_INVALIDJAVASETTINGS", "The %PRODUCTNAME configuration has been changed. Under Tools - Options - %PRODUCTNAME - Advanced, select the Java runtime environment you want to have used by %PRODUCTNAME.")
++#define STR_WARNING_INVALIDJAVASETTINGS NC_("STR_WARNING_INVALIDJAVASETTINGS", "The %PRODUCTNAME configuration has been changed. Under Tools - Options - %PRODUCTNAME - Advanced, select the Java runtime environment you want to have used by %PRODUCTNAME. Maybe you also need to install libreoffice-java-common.")
+ #define STR_ERROR_JVMCREATIONFAILED_MAC NC_("STR_ERROR_JVMCREATIONFAILED_MAC", "%PRODUCTNAME requires a Java runtime environment (JRE) to perform this task. The selected JRE is defective. Please select another version or install a new JRE and select it under %PRODUCTNAME - Preferences - %PRODUCTNAME - Advanced.")
+-#define STR_ERROR_JVMCREATIONFAILED NC_("STR_ERROR_JVMCREATIONFAILED", "%PRODUCTNAME requires a Java runtime environment (JRE) to perform this task. The selected JRE is defective. Please select another version or install a new JRE and select it under Tools - Options - %PRODUCTNAME - Advanced.")
++#define STR_ERROR_JVMCREATIONFAILED NC_("STR_ERROR_JVMCREATIONFAILED", "%PRODUCTNAME requires a Java runtime environment (JRE) to perform this task. The selected JRE is defective. Please select another version or install a new JRE and select it under Tools - Options - %PRODUCTNAME - Advanced or install libreoffice-java-common if not already installed.")
+ #define STR_WARNING_JAVANOTFOUND_TITLE NC_("STR_WARNING_JAVANOTFOUND_TITLE", "JRE Required")
+ #define STR_WARNING_INVALIDJAVASETTINGS_TITLE NC_("STR_WARNING_INVALIDJAVASETTINGS_TITLE", "Select JRE")
+ #define STR_ERROR_JVMCREATIONFAILED_TITLE NC_("STR_ERROR_JVMCREATIONFAILED_TITLE", "JRE is Defective")
diff --git a/debian/patches/moreIconsDialog-accesses-internet.diff b/debian/patches/moreIconsDialog-accesses-internet.diff
new file mode 100644
index 000000000..3a7ee285b
--- /dev/null
+++ b/debian/patches/moreIconsDialog-accesses-internet.diff
@@ -0,0 +1,50 @@
+diff --git a/sw/qa/uitest/options/optionsDialog.py b/sw/qa/uitest/options/optionsDialog.py
+index 086d16726a1a..0ef5458f7192 100644
+--- a/sw/qa/uitest/options/optionsDialog.py
++++ b/sw/qa/uitest/options/optionsDialog.py
+@@ -5,27 +5,32 @@
+ # file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ #
+ from uitest.framework import UITestCase
++import os
+
+ class optionsDialog(UITestCase):
+
++ # does network access (checks extensions.libreoffice.org), so disable it in "standard" make check
++ # but allow it on autopkgtest which has the needs-internet restriction
+ def test_moreIconsDialog(self):
+- with self.ui_test.create_doc_in_start_center("writer"):
+-
+- with self.ui_test.execute_dialog_through_command(".uno:OptionsTreeDialog") as xDialog:
++ if "AUTOPKGTEST_TMP" in os.environ:
++ with self.ui_test.create_doc_in_start_center("writer"):
+
+- xPages = xDialog.getChild("pages")
+- xLOEntry = xPages.getChild('0')
+- xLOEntry.executeAction("EXPAND", tuple())
+- xViewEntry = xLOEntry.getChild('2')
+- xViewEntry.executeAction("SELECT", tuple())
++ with self.ui_test.execute_dialog_through_command(".uno:OptionsTreeDialog") as xDialog:
+
+- xMoreIconsBtn = xDialog.getChild("btnMoreIcons")
++ xPages = xDialog.getChild("pages")
++ xLOEntry = xPages.getChild('0')
++ xLOEntry.executeAction("EXPAND", tuple())
++ xViewEntry = xLOEntry.getChild('2')
++ xViewEntry.executeAction("SELECT", tuple())
+
+- with self.ui_test.execute_blocking_action(xMoreIconsBtn.executeAction, args=('CLICK', ()), close_button="buttonClose") as dialog:
+- # Check it doesn't crash while opening it
+- xCloseBtn = dialog.getChild("buttonClose")
+- self.ui_test.wait_until_property_is_updated(xCloseBtn, "Enabled", "true")
++ xMoreIconsBtn = xDialog.getChild("btnMoreIcons")
+
++ with self.ui_test.execute_blocking_action(xMoreIconsBtn.executeAction, args=('CLICK', ()), close_button="buttonClose") as dialog:
++ # Check it doesn't crash while opening it
++ xCloseBtn = dialog.getChild("buttonClose")
++ self.ui_test.wait_until_property_is_updated(xCloseBtn, "Enabled", "true")
++ else:
++ print("Skipped")
+
+
+ def test_tdf138596(self):
diff --git a/debian/patches/no-check-if-root.diff b/debian/patches/no-check-if-root.diff
new file mode 100644
index 000000000..1fc9b199a
--- /dev/null
+++ b/debian/patches/no-check-if-root.diff
@@ -0,0 +1,30 @@
+--- a/Makefile.in 2017-07-28 06:09:37.072183489 +0000
++++ b/Makefile.in 2017-10-18 12:43:59.215567467 +0000
+@@ -58,18 +58,6 @@ else # MAKE_RESTARTS
+
+ .DEFAULT_GOAL := build
+
+-# Nested test is to check if the systemd-detect-virt command doesn't exist or it reports we're not
+-# in a container:
+-check-if-root:
+- @if test ! `uname` = 'Haiku' -a `id -u` = 0; then \
+- if test ! -x "$$(command -v systemd-detect-virt)" || ! systemd-detect-virt -c -q; then \
+- echo; \
+- echo 'Building LibreOffice as root is a very bad idea, use a regular user.'; \
+- echo; \
+- exit 1; \
+- fi \
+- fi
+-
+ gb_Side ?= host
+
+ include $(BUILDDIR)/config_$(gb_Side).mk
+@@ -252,7 +244,7 @@ endif
+ #
+ # Bootstrap
+ #
+-bootstrap: check-if-root compilerplugins
++bootstrap: compilerplugins
+
+ #
+ # Build
diff --git a/debian/patches/no-opencl-per-default.diff b/debian/patches/no-opencl-per-default.diff
new file mode 100644
index 000000000..5a5b0853c
--- /dev/null
+++ b/debian/patches/no-opencl-per-default.diff
@@ -0,0 +1,26 @@
+From b54cfe9d3d22fdd40f7015bd343df8620c983779 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm@redhat.com>
+Date: Mon, 27 Mar 2017 11:47:01 +0100
+Subject: [PATCH] Resolves: rhbz#1432468 disable opencl by default
+
+Change-Id: Ie037fcabdd219f195425979dd721501fb5527573
+---
+ officecfg/registry/schema/org/openoffice/Office/Common.xcs | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/officecfg/registry/schema/org/openoffice/Office/Common.xcs b/officecfg/registry/schema/org/openoffice/Office/Common.xcs
+index 946bd32..284d694 100644
+--- a/officecfg/registry/schema/org/openoffice/Office/Common.xcs
++++ b/officecfg/registry/schema/org/openoffice/Office/Common.xcs
+@@ -5670,7 +5670,7 @@
+ <desc>Determines whether OpenCL can be used, when available, to speed up
+ some operations.</desc>
+ </info>
+- <value>true</value>
++ <value>false</value>
+ </prop>
+ <prop oor:name="OpenCLDenyList" oor:type="oor:string-list" oor:nillable="false">
+ <!-- UIHints: Tools - Options General OpenCL -->
+--
+2.9.3
+
diff --git a/debian/patches/no-packagekit-per-default.diff b/debian/patches/no-packagekit-per-default.diff
new file mode 100644
index 000000000..a496c7021
--- /dev/null
+++ b/debian/patches/no-packagekit-per-default.diff
@@ -0,0 +1,21 @@
+diff --git a/officecfg/registry/data/org/openoffice/Office/Common.xcu b/officecfg/registry/data/org/openoffice/Office/Common.xcu
+index 3d138551b593..9cb9831f3236 100644
+--- a/officecfg/registry/data/org/openoffice/Office/Common.xcu
++++ b/officecfg/registry/data/org/openoffice/Office/Common.xcu
+@@ -551,13 +551,13 @@
+ </node>
+ <node oor:name="PackageKit">
+ <prop oor:name="EnableFontInstallation" oor:type="xs:boolean">
+- <value install:module="unx">true</value>
++ <value install:module="unx">false</value>
+ </prop>
+ <prop oor:name="EnableLangpackInstallation" oor:type="xs:boolean">
+- <value install:module="unx">true</value>
++ <value install:module="unx">false</value>
+ </prop>
+ <prop oor:name="EnableBaseInstallation" oor:type="xs:boolean">
+- <value install:module="unx">true</value>
++ <value install:module="unx">false</value>
+ </prop>
+ </node>
+ <node oor:name="Classification">
diff --git a/debian/patches/reportdesign-mention-package.diff b/debian/patches/reportdesign-mention-package.diff
new file mode 100644
index 000000000..f85471bf0
--- /dev/null
+++ b/debian/patches/reportdesign-mention-package.diff
@@ -0,0 +1,13 @@
+diff --git a/dbaccess/inc/strings.hrc b/dbaccess/inc/strings.hrc
+index 47068f43d09e..1f8b9a2331b6 100644
+--- a/dbaccess/inc/strings.hrc
++++ b/dbaccess/inc/strings.hrc
+@@ -349,7 +349,7 @@
+ #define STR_WARNINGS_DURING_CONNECT NC_("STR_WARNINGS_DURING_CONNECT", "Warnings were encountered while connecting to the data source. Press \"$buttontext$\" to view them.")
+ #define STR_NAMED_OBJECT_ALREADY_EXISTS NC_("STR_NAMED_OBJECT_ALREADY_EXISTS", "The name '$#$' already exists.\nPlease enter another name." )
+ // #i96130# use hard coded name
+-#define RID_STR_EXTENSION_NOT_PRESENT NC_("RID_STR_EXTENSION_NOT_PRESENT", "The report, \"$file$\", requires the Report Builder feature.")
++#define RID_STR_EXTENSION_NOT_PRESENT NC_("RID_STR_EXTENSION_NOT_PRESENT", "The report, \"$file$\", requires the Report Builder feature. For this, install the package 'libreoffice-report-builder'.")
+
+ #define STR_COULDNOTCREATE_DRIVERMANAGER NC_("STR_COULDNOTCREATE_DRIVERMANAGER", "Cannot connect to the SDBC driver manager (#servicename#).")
+ #define STR_NOREGISTEREDDRIVER NC_("STR_NOREGISTEREDDRIVER", "A driver is not registered for the URL #connurl#.")
diff --git a/debian/patches/reuse-AllowedLinkProtocolFromDocument-1.diff b/debian/patches/reuse-AllowedLinkProtocolFromDocument-1.diff
new file mode 100644
index 000000000..9e85e92ce
--- /dev/null
+++ b/debian/patches/reuse-AllowedLinkProtocolFromDocument-1.diff
@@ -0,0 +1,262 @@
+From 6d29ee15039a567ad5f70a3e51289fea93c1f64e Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolan.mcnamara@collabora.com>
+Date: Wed, 15 Nov 2023 11:39:24 +0000
+Subject: reuse AllowedLinkProtocolFromDocument in writer
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+reorg calc hyperlink check to reuse elsewhere
+
+Change-Id: I20ae3c5df15502c3a0a366fb4a2924c06ffac3d0
+Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159487
+Tested-by: Jenkins
+Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
+(cherry picked from commit e6a7537762e19fde446441edd10d301f9b37ce75)
+
+reuse AllowedLinkProtocolFromDocument in writer
+
+Change-Id: Iacf5e313fc6ca5f7d69ca6986a036f0e1ab1f2a0
+Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159488
+Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
+Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
+(cherry picked from commit 32535dfa82200b54296838b52285c054fbe5e51d)
+
+combine these hyperlink dispatchers into one call
+
+Change-Id: Icb7822e811013de648ccf2fbb23a5f0be9e29bb0
+Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159489
+Tested-by: Caolán McNamara <caolan.mcnamara@collabora.com>
+Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
+(cherry picked from commit 0df175ccc6ea542bc5801f631ff72bed187042eb)
+
+we can have just one LoadURL for writer
+
+Change-Id: Ia0162ee1c275292fcf200bad4662e4c2c6b7b972
+Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159557
+Tested-by: Jenkins
+Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
+(cherry picked from commit 521ca9cf6acbae96cf95d9740859c9682212013d)
+Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159858
+Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com>
+Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
+(cherry picked from commit e32b8601dbd63cf01497889601d6c9c1241106d6)
+Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159883
+---
+ include/sfx2/objsh.hxx | 7 +++++--
+ sc/source/core/data/global.cxx | 32 ++----------------------------
+ sfx2/source/doc/objmisc.cxx | 27 +++++++++++++++++++++++++
+ sw/source/uibase/shells/drwtxtex.cxx | 8 ++------
+ sw/source/uibase/wrtsh/wrtsh2.cxx | 38 +++++++++++++++++++++++-------------
+ 5 files changed, 60 insertions(+), 52 deletions(-)
+
+diff --git a/include/sfx2/objsh.hxx b/include/sfx2/objsh.hxx
+index fde0dba3d7c9..79f22c978dcb 100644
+--- a/include/sfx2/objsh.hxx
++++ b/include/sfx2/objsh.hxx
+@@ -200,6 +200,9 @@ private:
+
+ SAL_DLLPRIVATE bool SaveTo_Impl(SfxMedium &rMedium, const SfxItemSet* pSet );
+
++ // true if the document had macros (or similar) on load to trigger warning user
++ SAL_DLLPRIVATE bool GetHadCheckedMacrosOnLoad() const;
++
+ protected:
+ SfxObjectShell(SfxObjectCreateMode);
+ SfxObjectShell(SfxModelFlags); // see sfxmodelfactory.hxx
+@@ -427,8 +430,8 @@ public:
+ void SetMacroCallsSeenWhileLoading();
+ bool GetMacroCallsSeenWhileLoading() const;
+
+- // true if the document had macros (or similar) on load to trigger warning user
+- bool GetHadCheckedMacrosOnLoad() const;
++ // true if this type of link, from a document, is allowed by the user to be passed to uno:OpenDoc
++ static bool AllowedLinkProtocolFromDocument(const OUString& rUrl, SfxObjectShell* pObjShell, weld::Window* pDialogParent);
+
+ const css::uno::Sequence< css::beans::PropertyValue >& GetModifyPasswordInfo() const;
+ bool SetModifyPasswordInfo( const css::uno::Sequence< css::beans::PropertyValue >& aInfo );
+diff --git a/sc/source/core/data/global.cxx b/sc/source/core/data/global.cxx
+index 92caea1ea459..27c5a51a46c1 100644
+--- a/sc/source/core/data/global.cxx
++++ b/sc/source/core/data/global.cxx
+@@ -29,9 +29,7 @@
+ #include <sfx2/docfile.hxx>
+ #include <sfx2/dispatch.hxx>
+ #include <sfx2/objsh.hxx>
+-#include <sfx2/sfxresid.hxx>
+ #include <sfx2/sfxsids.hrc>
+-#include <sfx2/strings.hrc>
+ #include <sfx2/viewfrm.hxx>
+ #include <sfx2/viewsh.hxx>
+ #include <svl/intitem.hxx>
+@@ -856,34 +854,8 @@ void ScGlobal::OpenURL(const OUString& rURL, const OUString& rTarget, bool bIgno
+ aUrlName = aNewUrlName;
+ }
+
+- if (INetURLObject(aUrlName).IsExoticProtocol())
+- {
+- // Default to ignoring exotic protocols
+- bool bAllow = false;
+- if (pObjShell)
+- {
+- // If the document had macros when loaded then follow the allowed macro-mode
+- if (pObjShell->GetHadCheckedMacrosOnLoad())
+- bAllow = pObjShell->AdjustMacroMode();
+- else // otherwise ask the user, defaulting to cancel
+- {
+- assert(pFrame && "if we have pObjShell we have pFrame");
+- //Reuse URITools::onOpenURI warning string
+- std::unique_ptr<weld::MessageDialog> xQueryBox(Application::CreateMessageDialog(pFrame->GetFrameWeld(),
+- VclMessageType::Warning, VclButtonsType::YesNo,
+- SfxResId(STR_DANGEROUS_TO_OPEN)));
+- xQueryBox->set_primary_text(xQueryBox->get_primary_text().replaceFirst("$(ARG1)",
+- INetURLObject::decode(aUrlName, INetURLObject::DecodeMechanism::Unambiguous)));
+- xQueryBox->set_default_response(RET_NO);
+- bAllow = xQueryBox->run() == RET_YES;
+- }
+- }
+- if (!bAllow)
+- {
+- SAL_WARN("sc", "ScGlobal::OpenURL ignoring: " << aUrlName);
+- return;
+- }
+- }
++ if (!SfxObjectShell::AllowedLinkProtocolFromDocument(aUrlName, pObjShell, pFrame ? pFrame->GetFrameWeld() : nullptr))
++ return;
+
+ SfxStringItem aUrl( SID_FILE_NAME, aUrlName );
+ SfxStringItem aTarget( SID_TARGETNAME, rTarget );
+diff --git a/sfx2/source/doc/objmisc.cxx b/sfx2/source/doc/objmisc.cxx
+index ddf95eeafe5e..8c76c3f0f4d6 100644
+--- a/sfx2/source/doc/objmisc.cxx
++++ b/sfx2/source/doc/objmisc.cxx
+@@ -962,6 +962,33 @@ bool SfxObjectShell::GetHadCheckedMacrosOnLoad() const
+ return pImpl->m_bHadCheckedMacrosOnLoad;
+ }
+
++bool SfxObjectShell::AllowedLinkProtocolFromDocument(const OUString& rUrl, SfxObjectShell* pObjShell, weld::Window* pDialogParent)
++{
++ if (!INetURLObject(rUrl).IsExoticProtocol())
++ return true;
++ // Default to ignoring exotic protocols
++ bool bAllow = false;
++ if (pObjShell)
++ {
++ // If the document had macros when loaded then follow the allowed macro-mode
++ if (pObjShell->GetHadCheckedMacrosOnLoad())
++ bAllow = pObjShell->AdjustMacroMode();
++ else // otherwise ask the user, defaulting to cancel
++ {
++ //Reuse URITools::onOpenURI warning string
++ std::unique_ptr<weld::MessageDialog> xQueryBox(Application::CreateMessageDialog(pDialogParent,
++ VclMessageType::Warning, VclButtonsType::YesNo,
++ SfxResId(STR_DANGEROUS_TO_OPEN)));
++ xQueryBox->set_primary_text(xQueryBox->get_primary_text().replaceFirst("$(ARG1)",
++ INetURLObject::decode(rUrl, INetURLObject::DecodeMechanism::Unambiguous)));
++ xQueryBox->set_default_response(RET_NO);
++ bAllow = xQueryBox->run() == RET_YES;
++ }
++ }
++ SAL_WARN_IF(!bAllow, "sfx.appl", "SfxObjectShell::AllowedLinkProtocolFromDocument ignoring: " << rUrl);
++ return bAllow;
++}
++
+ void SfxObjectShell::CheckEncryption_Impl( const uno::Reference< task::XInteractionHandler >& xHandler )
+ {
+ OUString aVersion;
+diff --git a/sw/source/uibase/shells/drwtxtex.cxx b/sw/source/uibase/shells/drwtxtex.cxx
+index c84ee7bd9af4..c51f501841ad 100644
+--- a/sw/source/uibase/shells/drwtxtex.cxx
++++ b/sw/source/uibase/shells/drwtxtex.cxx
+@@ -533,12 +533,8 @@ void SwDrawTextShell::Execute( SfxRequest &rReq )
+ const SvxFieldData* pField = pOLV->GetFieldAtCursor();
+ if (const SvxURLField* pURLField = dynamic_cast<const SvxURLField*>(pField))
+ {
+- SfxStringItem aUrl(SID_FILE_NAME, pURLField->GetURL());
+- SfxStringItem aTarget(SID_TARGETNAME, pURLField->GetTargetFrame());
+- SfxBoolItem aNewView(SID_OPEN_NEW_VIEW, false);
+- SfxBoolItem aBrowsing(SID_BROWSE, true);
+- GetView().GetViewFrame()->GetDispatcher()->ExecuteList(
+- SID_OPENDOC, SfxCallMode::SYNCHRON, { &aUrl, &aTarget, &aNewView, &aBrowsing });
++ ::LoadURL(GetShell(), pURLField->GetURL(), LoadUrlFlags::NONE,
++ pURLField->GetTargetFrame());
+ }
+ }
+ break;
+diff --git a/sw/source/uibase/wrtsh/wrtsh2.cxx b/sw/source/uibase/wrtsh/wrtsh2.cxx
+index 1995e7133c4a..d781823e82ec 100644
+--- a/sw/source/uibase/wrtsh/wrtsh2.cxx
++++ b/sw/source/uibase/wrtsh/wrtsh2.cxx
+@@ -501,30 +501,24 @@ bool SwWrtShell::ClickToINetGrf( const Point& rDocPt, LoadUrlFlags nFilter )
+ return bRet;
+ }
+
+-void LoadURL( SwViewShell& rVSh, const OUString& rURL, LoadUrlFlags nFilter,
+- const OUString& rTargetFrameName )
++static void LoadURL(SwView& rView, const OUString& rURL, LoadUrlFlags nFilter,
++ const OUString& rTargetFrameName)
+ {
+- OSL_ENSURE( !rURL.isEmpty(), "what should be loaded here?" );
+- if( rURL.isEmpty() )
+- return ;
++ SwDocShell* pDShell = rView.GetDocShell();
++ OSL_ENSURE( pDShell, "No DocShell?!");
++ SfxViewFrame* pViewFrame = rView.GetViewFrame();
+
+- // The shell could be 0 also!!!!!
+- if ( dynamic_cast<const SwCursorShell*>( &rVSh) == nullptr )
++ if (!SfxObjectShell::AllowedLinkProtocolFromDocument(rURL, pDShell, pViewFrame->GetFrameWeld()))
+ return;
+
+ // We are doing tiledRendering, let the client handles the URL loading,
+ // unless we are jumping to a TOC mark.
+ if (comphelper::LibreOfficeKit::isActive() && !rURL.startsWith("#"))
+ {
+- rVSh.GetSfxViewShell()->libreOfficeKitViewCallback(LOK_CALLBACK_HYPERLINK_CLICKED, rURL.toUtf8().getStr());
++ rView.libreOfficeKitViewCallback(LOK_CALLBACK_HYPERLINK_CLICKED, rURL.toUtf8().getStr());
+ return;
+ }
+
+- //A CursorShell is always a WrtShell
+- SwWrtShell &rSh = static_cast<SwWrtShell&>(rVSh);
+-
+- SwDocShell* pDShell = rSh.GetView().GetDocShell();
+- OSL_ENSURE( pDShell, "No DocShell?!");
+ OUString sTargetFrame(rTargetFrameName);
+ if (sTargetFrame.isEmpty() && pDShell)
+ {
+@@ -539,7 +533,6 @@ void LoadURL( SwViewShell& rVSh, const OUString& rURL, LoadUrlFlags nFilter,
+ OUString sReferer;
+ if( pDShell && pDShell->GetMedium() )
+ sReferer = pDShell->GetMedium()->GetName();
+- SfxViewFrame* pViewFrame = rSh.GetView().GetViewFrame();
+ SfxFrameItem aView( SID_DOCFRAME, pViewFrame );
+ SfxStringItem aName( SID_FILE_NAME, rURL );
+ SfxStringItem aTargetFrameName( SID_TARGETNAME, sTargetFrame );
+@@ -565,6 +558,23 @@ void LoadURL( SwViewShell& rVSh, const OUString& rURL, LoadUrlFlags nFilter,
+ SfxCallMode::ASYNCHRON|SfxCallMode::RECORD );
+ }
+
++void LoadURL( SwViewShell& rVSh, const OUString& rURL, LoadUrlFlags nFilter,
++ const OUString& rTargetFrameName )
++{
++ OSL_ENSURE( !rURL.isEmpty(), "what should be loaded here?" );
++ if( rURL.isEmpty() )
++ return ;
++
++ // The shell could be 0 also!!!!!
++ if ( dynamic_cast<const SwCursorShell*>( &rVSh) == nullptr )
++ return;
++
++ //A CursorShell is always a WrtShell
++ SwWrtShell &rSh = static_cast<SwWrtShell&>(rVSh);
++
++ ::LoadURL(rSh.GetView(), rURL, nFilter, rTargetFrameName);
++}
++
+ void SwWrtShell::NavigatorPaste( const NaviContentBookmark& rBkmk,
+ const sal_uInt16 nAction )
+ {
+--
+cgit v1.2.1
+
diff --git a/debian/patches/reuse-AllowedLinkProtocolFromDocument-2.diff b/debian/patches/reuse-AllowedLinkProtocolFromDocument-2.diff
new file mode 100644
index 000000000..bbb080c01
--- /dev/null
+++ b/debian/patches/reuse-AllowedLinkProtocolFromDocument-2.diff
@@ -0,0 +1,81 @@
+From 569fa7f755718a06f23d25b2132bf0400cec7a0f Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolan.mcnamara@collabora.com>
+Date: Wed, 22 Nov 2023 21:14:41 +0000
+Subject: reuse AllowedLinkProtocolFromDocument in impress/draw
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Change-Id: I73ca4f087946a45dbf92d69a0dc1e769de9b5690
+Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159843
+Tested-by: Jenkins
+Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
+(cherry picked from commit f0942eed2eb328b04856f20613f5226d66b66a20)
+Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159759
+Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
+Signed-off-by: Xisco Fauli <xiscofauli@libreoffice.org>
+Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159884
+Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
+---
+ sd/source/ui/app/sdmod1.cxx | 29 ++++++++++++++++++-----------
+ 1 file changed, 18 insertions(+), 11 deletions(-)
+
+diff --git a/sd/source/ui/app/sdmod1.cxx b/sd/source/ui/app/sdmod1.cxx
+index 573ee853069b..b22feb2d1f21 100644
+--- a/sd/source/ui/app/sdmod1.cxx
++++ b/sd/source/ui/app/sdmod1.cxx
+@@ -33,6 +33,7 @@
+ #include <sfx2/docfile.hxx>
+ #include <sfx2/request.hxx>
+ #include <sfx2/templatedlg.hxx>
++#include <svl/stritem.hxx>
+ #include <editeng/eeitem.hxx>
+
+ #include <svx/svxids.hrc>
+@@ -192,26 +193,32 @@ void SdModule::Execute(SfxRequest& rReq)
+ {
+ bool bIntercept = false;
+ ::sd::DrawDocShell* pDocShell = dynamic_cast< ::sd::DrawDocShell *>( SfxObjectShell::Current() );
+- if (pDocShell)
++ ::sd::ViewShell* pViewShell = pDocShell ? pDocShell->GetViewShell() : nullptr;
++ if (pViewShell)
+ {
+- ::sd::ViewShell* pViewShell = pDocShell->GetViewShell();
+- if (pViewShell)
++ if( sd::SlideShow::IsRunning( pViewShell->GetViewShellBase() ) )
+ {
+- if( sd::SlideShow::IsRunning( pViewShell->GetViewShellBase() ) )
++ // Prevent documents from opening while the slide
++ // show is running, except when this request comes
++ // from a shape interaction.
++ if (rReq.GetArgs() == nullptr)
+ {
+- // Prevent documents from opening while the slide
+- // show is running, except when this request comes
+- // from a shape interaction.
+- if (rReq.GetArgs() == nullptr)
+- {
+- bIntercept = true;
+- }
++ bIntercept = true;
+ }
+ }
+ }
+
+ if (!bIntercept)
+ {
++ if (const SfxStringItem* pURLItem = rReq.GetArg<SfxStringItem>(SID_FILE_NAME))
++ {
++ if (!pViewShell || !SfxObjectShell::AllowedLinkProtocolFromDocument(pURLItem->GetValue(),
++ pViewShell->GetObjectShell(),
++ pViewShell->GetFrameWeld()))
++ {
++ return;
++ }
++ }
+ SfxGetpApp()->ExecuteSlot(rReq, SfxGetpApp()->GetInterface());
+ }
+ else
+--
+cgit v1.2.1
+
diff --git a/debian/patches/search-usr-share-for-images.diff b/debian/patches/search-usr-share-for-images.diff
new file mode 100644
index 000000000..6b91fcc12
--- /dev/null
+++ b/debian/patches/search-usr-share-for-images.diff
@@ -0,0 +1,137 @@
+diff --git a/vcl/inc/impimagetree.hxx b/vcl/inc/impimagetree.hxx
+index 41c4f56..93d80f1 100644
+--- a/vcl/inc/impimagetree.hxx
++++ b/vcl/inc/impimagetree.hxx
+@@ -85,6 +85,10 @@ private:
+ typedef boost::unordered_map<
+ rtl::OUString, std::pair< bool, BitmapEx >, rtl::OUStringHash > IconCache;
+
++ // we want to search zip files (icons) also in /usr/share/
++ ::rtl::OUString m_datadir; // /usr/share/
++ ::rtl::OUString m_libdir; // /usr/lib or /usr/lib64
++
+ rtl::OUString m_style;
+ Zips m_zips;
+ CheckStyleCache m_checkStyleCache;
+@@ -92,6 +96,7 @@ private:
+
+ void setStyle(rtl::OUString const & style );
+
++ void addUrlToZips(const rtl::OUString &url);
+ void resetZips();
+
+ bool checkStyleCacheLookup( rtl::OUString const & style, bool &exists );
+diff --git a/vcl/source/gdi/impimagetree.cxx b/vcl/source/gdi/impimagetree.cxx
+index 03442fc..cfe6c45 100644
+--- a/vcl/source/gdi/impimagetree.cxx
++++ b/vcl/source/gdi/impimagetree.cxx
+@@ -121,7 +121,11 @@ void loadFromStream(
+
+ }
+
+-ImplImageTree::ImplImageTree() {}
++ImplImageTree::ImplImageTree()
++{
++ m_datadir = ::rtl::OUString::createFromAscii ( "/usr/share/" );
++ m_libdir = ::rtl::OUString::createFromAscii ( "/usr/lib/" );
++}
+
+ ImplImageTree::~ImplImageTree() {}
+
+@@ -259,6 +263,22 @@ void ImplImageTree::setStyle(rtl::OUString const & style) {
+ }
+ }
+
++void ImplImageTree::addUrlToZips(const rtl::OUString &url) {
++ if ( url.getLength() == 0 )
++ return;
++ m_zips.push_back(
++ std::make_pair(
++ url,
++ css::uno::Reference< css::container::XNameAccess >()));
++ sal_Int32 nLibDirPos = url.indexOf( m_libdir );
++ if ( nLibDirPos >= 0 ) {
++ m_zips.push_back(
++ std::make_pair(
++ url.replaceAt( nLibDirPos, m_libdir.getLength(), m_datadir ),
++ css::uno::Reference< css::container::XNameAccess >()));
++ }
++}
++
+ void ImplImageTree::resetZips() {
+ m_zips.clear();
+ {
+@@ -284,19 +304,14 @@ void ImplImageTree::resetZips() {
+ b.appendAscii(RTL_CONSTASCII_STRINGPARAM("_brand.zip"));
+ bool ok = u.Append(b.makeStringAndClear(), INetURLObject::ENCODE_ALL);
+ OSL_ASSERT(ok); (void) ok;
+- m_zips.push_back(
+- std::make_pair(
+- u.GetMainURL(INetURLObject::NO_DECODE),
+- css::uno::Reference< css::container::XNameAccess >()));
++ addUrlToZips(u.GetMainURL(INetURLObject::NO_DECODE));
+ }
+ {
+ rtl::OUString url(
+ RTL_CONSTASCII_USTRINGPARAM(
+ "$BRAND_BASE_DIR/share/config/images_brand.zip"));
+ rtl::Bootstrap::expandMacros(url);
+- m_zips.push_back(
+- std::make_pair(
+- url, css::uno::Reference< css::container::XNameAccess >()));
++ addUrlToZips(url);
+ }
+ {
+ rtl::OUString url(
+@@ -310,10 +310,7 @@
+ b.appendAscii(RTL_CONSTASCII_STRINGPARAM(".zip"));
+ bool ok = u.Append(b.makeStringAndClear(), INetURLObject::ENCODE_ALL);
+ OSL_ASSERT(ok); (void) ok;
+- m_zips.push_back(
+- std::make_pair(
+- u.GetMainURL(INetURLObject::NO_DECODE),
+- css::uno::Reference< css::container::XNameAccess >()));
++ addUrlToZips(u.GetMainURL(INetURLObject::NO_DECODE));
+ }
+ if ( m_style == "default" )
+ {
+@@ -321,9 +333,7 @@ void ImplImageTree::resetZips() {
+ RTL_CONSTASCII_USTRINGPARAM(
+ "$BRAND_BASE_DIR/share/config/images.zip"));
+ rtl::Bootstrap::expandMacros(url);
+- m_zips.push_back(
+- std::make_pair(
+- url, css::uno::Reference< css::container::XNameAccess >()));
++ addUrlToZips(url);
+ }
+ }
+
+diff --git a/xmlhelp/source/cxxhelp/provider/provider.cxx b/xmlhelp/source/cxxhelp/provider/provider.cxx
+index e55fe5d..848bed7 100644
+--- a/xmlhelp/source/cxxhelp/provider/provider.cxx
++++ b/xmlhelp/source/cxxhelp/provider/provider.cxx
+@@ -335,7 +335,7 @@ void ContentProvider::init()
+ rtl::OUString(RTL_CONSTASCII_USTRINGPARAM( " " )) +
+ setupextension );
+
+- uno::Sequence< rtl::OUString > aImagesZipPaths( 2 );
++ uno::Sequence< rtl::OUString > aImagesZipPaths( 3 );
+ xHierAccess = getHierAccess( sProvider, "org.openoffice.Office.Common" );
+
+ rtl::OUString aPath( getKey( xHierAccess, "Path/Current/UserConfig" ) );
+@@ -344,6 +344,15 @@ void ContentProvider::init()
+
+ aPath = rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("$BRAND_BASE_DIR/share/config"));
+ rtl::Bootstrap::expandMacros(aPath);
++ aImagesZipPaths[ 2 ] = aPath;
++
++ // try also /usr/share and even before /usr/lib
++ ::rtl::OUString aDataDir = ::rtl::OUString::createFromAscii ( "/usr/share/" );
++ ::rtl::OUString aLibDir = ::rtl::OUString::createFromAscii ( "/usr/lib/" );
++ sal_Int32 nLibDirPos = aPath.indexOf( aLibDir );
++
++ if ( nLibDirPos >= 0 )
++ aPath = aPath.replaceAt( nLibDirPos, aLibDir.getLength(), aDataDir );
+ aImagesZipPaths[ 1 ] = aPath;
+
+ uno::Reference< uno::XComponentContext > xContext;
diff --git a/debian/patches/sensible-lomua.diff b/debian/patches/sensible-lomua.diff
new file mode 100644
index 000000000..6b98bbc4d
--- /dev/null
+++ b/debian/patches/sensible-lomua.diff
@@ -0,0 +1,50 @@
+Index: libreoffice-3.6.2~rc1/officecfg/registry/data/org/openoffice/Office/Common.xcu
+===================================================================
+--- libreoffice-3.6.2~rc1.orig/officecfg/registry/data/org/openoffice/Office/Common.xcu 2012-10-07 21:03:17.662850386 -0400
++++ libreoffice-3.6.2~rc1/officecfg/registry/data/org/openoffice/Office/Common.xcu 2012-10-07 21:03:57.174850591 -0400
+@@ -655,7 +655,7 @@
+ </node>
+ <node oor:name="ExternalMailer" install:module="unixdesktop">
+ <prop oor:name="Program">
+- <value oor:external="com.sun.star.configuration.backend.DesktopBackend ExternalMailer"/>
++ <value>sensible-lomua</value>
+ </prop>
+ </node>
+ <node oor:name="Font">
+Index: libreoffice-3.6.2~rc1/shell/source/unix/misc/senddoc.sh
+===================================================================
+--- libreoffice-3.6.2~rc1.orig/shell/source/unix/misc/senddoc.sh 2012-10-07 21:03:17.662850386 -0400
++++ libreoffice-3.6.2~rc1/shell/source/unix/misc/senddoc.sh 2012-10-07 21:29:13.074858447 -0400
+@@ -59,6 +59,32 @@
+ shift
+ fi
+
++case `basename "$MAILER"` in
++ sensible-lomua)
++ if [ -x /usr/bin/xdg-email ] ; then
++ MAILER=/usr/bin/xdg-email
++ elif [ -n "$KDE_FULL_SESSION" -a -x /usr/bin/kde-open ] \
++ || [ -x /usr/bin/gnome-open ] \
++ || [ -x /usr/bin/xdg-open ]; then
++ # use an undefined mailer, to trigger the default handling
++ MAILER=undefined
++ elif [ -n "$GNOME_DESKTOP_SESSION_ID" -a -x /usr/bin/evolution ]; then
++ MAILER=/usr/bin/evolution
++ elif [ -n "$KDE_FULL_SESSION" -a -x /usr/bin/kmail ]; then
++ MAILER=/usr/bin/kmail
++ elif [ -x /usr/bin/evolution ]; then
++ # default
++ MAILER=/usr/bin/evolution
++ elif [ -x /usr/bin/icedove ]; then
++ # fallback
++ MAILER=/usr/bin/icedove
++ elif [ -x /usr/bin/thunderbird ]; then
++ # fallback
++ MAILER=/usr/bin/thunderbird
++ fi
++ ;;
++esac
++
+ # autodetect mail client from executable name
+ case $(basename "$MAILER" | sed 's/-.*$//') in
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 000000000..c77a6efcb
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,60 @@
+no-check-if-root.diff
+debian-opt.diff
+jurt-soffice-location.diff
+split-evoab.diff
+debian-debug.diff
+#fix-system-lpsolve-build.diff
+build-against-shared-lpsolve.diff
+install-fixes.diff
+mention-java-common-package.diff
+help-msg-add-package-info.diff
+sensible-lomua.diff
+reportdesign-mention-package.diff
+jdbc-driver-classpaths.diff
+#search-usr-share-for-images.diff
+make-package-modules-not-suck.diff
+mediwiki-oor-replace.diff
+debian-hardened-buildflags-CPPFLAGS.diff
+debian-hardened-buildflags-no-LO-fstack-protector-strong.diff
+disable-flaky-tests.diff
+#dont-touch-urd.diff
+fix-internal-hsqldb-build.diff
+javadoc-optional.diff
+hppa-is-32bit.diff
+no-packagekit-per-default.diff
+system-officeotron-and-odfvalidator.diff
+cppunit-optional.diff
+#disable-unused-test-programs.diff
+apparmor-complain.diff
+hide-math-desktop-file.patch
+appstream-ignore-startcenter.diff
+disable-java-in-odk-build-examples-on-zero-vm.diff
+do-not-hide-test-output.diff
+apparmor-allow-java.security.diff
+apparmor-cleanups.diff
+apparmor-mesa.diff
+disableClassPathURLCheck.diff
+use-mariadb-java-instead-of-mysql-java.diff
+apparmor-opencl.diff
+fix-flaky-bridgetest.diff
+add-access2base-doc.diff
+disable-shortcuts_tab_navigation-uitest.diff
+no-opencl-per-default.diff
+apparmor-updates.diff
+apparmor-gnupg-tofu.diff
+temporarily-disable-test-metadata-test.diff
+arm-fp-mode.diff
+moreIconsDialog-accesses-internet.diff
+do-not-ABORT_ON_NON_APPLICATION_FONT_USE.diff
+hrk-euro.diff
+dragonbox-1.1.3.diff
+fix-system-libfixmath.diff
+boost-1.81.diff
+0004-Remove-dependency-on-BitArray.h-from-zxing-1.2.0.patch
+escape-url-passed-to-gstreamer.diff
+floating-frame-targets-unneeded-protocols.diff
+warn-about-exotic-protocols-as-well.diff
+ignore-LO-special-purpose-hyperlinks-per-default.diff
+reuse-AllowedLinkProtocolFromDocument-1.diff
+reuse-AllowedLinkProtocolFromDocument-2.diff
+work-around-expired-certificiate-in-test.diff
diff --git a/debian/patches/split-evoab.diff b/debian/patches/split-evoab.diff
new file mode 100644
index 000000000..48b8b3640
--- /dev/null
+++ b/debian/patches/split-evoab.diff
@@ -0,0 +1,59 @@
+diff --git a/scp2/source/gnome/file_gnome.scp b/scp2/source/gnome/file_gnome.scp
+index c7a13c8..a3f59a6 100644
+--- a/scp2/source/gnome/file_gnome.scp
++++ b/scp2/source/gnome/file_gnome.scp
+@@ -25,3 +25,13 @@ File gid_File_Share_Registry_Gnome_Xcd
+ Name = "gnome.xcd";
+ End
+ #endif
++
++#ifdef ENABLE_EVOAB2
++File gid_File_Share_Registry_Evoab_Xcd
++ TXT_FILE_BODY;
++ Styles = (PACKED);
++ Dir = gid_Brand_Dir_Share_Registry;
++ Name = "evoab.xcd";
++End
++#endif
++
+diff --git a/scp2/source/gnome/module_gnome.scp b/scp2/source/gnome/module_gnome.scp
+index 08d9efe..492e274 100644
+--- a/scp2/source/gnome/module_gnome.scp
++++ b/scp2/source/gnome/module_gnome.scp
+@@ -31,6 +31,9 @@ Module gid_Module_Optional_Gnome
+ #if ENABLE_GIO
+ ,gid_File_Share_Registry_Gnome_Xcd
+ #endif
++#ifdef ENABLE_EVOAB2
++ ,gid_File_Share_Registry_Evoab_Xcd
++#endif
+ );
+ End
+
+diff --git a/postprocess/CustomTarget_registry.mk b/postprocess/CustomTarget_registry.mk
+index 37de50bcbe56..1e0f37957ebf 100644
+--- a/postprocess/CustomTarget_registry.mk
++++ b/postprocess/CustomTarget_registry.mk
+@@ -453,7 +453,8 @@ postprocess_FILES_calc += \
+ postprocess_DRIVERS += calc
+
+ ifeq ($(ENABLE_EVOAB2),TRUE)
+-postprocess_FILES_main += \
++postprocess_XCDS += evoab.xcd
++postprocess_FILES_evoab += \
+ $(call gb_XcuModuleTarget_get_target,connectivity/registry/evoab2)/org/openoffice/Office/DataAccess/Drivers-evoab2.xcu \
+ $(postprocess_MOD)/org/openoffice/Office/DataAccess-evoab2.xcu
+ postprocess_DRIVERS += evoab
+diff --git a/scp2/InstallModule_gnome.mk b/scp2/InstallModule_gnome.mk
+index c33f4f52d67b..8f06c0273eff 100644
+--- a/scp2/InstallModule_gnome.mk
++++ b/scp2/InstallModule_gnome.mk
+@@ -19,4 +19,8 @@ $(eval $(call gb_InstallModule_add_localized_scpfiles,scp2/gnome,\
+ scp2/source/gnome/module_gnome \
+ ))
+
++$(eval $(call gb_InstallModule_define_if_set,scp2/gnome,\
++ ENABLE_EVOAB2 \
++))
++
+ # vim: set shiftwidth=4 tabstop=4 noexpandtab:
diff --git a/debian/patches/system-officeotron-and-odfvalidator.diff b/debian/patches/system-officeotron-and-odfvalidator.diff
new file mode 100644
index 000000000..971608ef9
--- /dev/null
+++ b/debian/patches/system-officeotron-and-odfvalidator.diff
@@ -0,0 +1,16 @@
+diff --git a/bin/odfvalidator.sh.in b/bin/odfvalidator.sh.in
+index 56e2f29..9415ef6 100644
+--- a/bin/odfvalidator.sh.in
++++ b/bin/odfvalidator.sh.in
+@@ -1,2 +1,2 @@
+ #!/usr/bin/env bash
+-java -Djavax.xml.validation.SchemaFactory:http://relaxng.org/ns/structure/1.0=org.iso_relax.verifier.jaxp.validation.RELAXNGSchemaFactoryImpl -Dorg.iso_relax.verifier.VerifierFactoryLoader=com.sun.msv.verifier.jarv.FactoryLoaderImpl -jar @TARFILE_LOCATION@/@ODFVALIDATOR_JAR@ "$@"
++java -Djavax.xml.validation.SchemaFactory:http://relaxng.org/ns/structure/1.0=org.iso_relax.verifier.jaxp.validation.RELAXNGSchemaFactoryImpl -Dorg.iso_relax.verifier.VerifierFactoryLoader=com.sun.msv.verifier.jarv.FactoryLoaderImpl -jar /usr/share/java/odfvalidator.jar "$@"
+diff --git a/bin/officeotron.sh.in b/bin/officeotron.sh.in
+index 7281f1b..6eab5b5 100644
+--- a/bin/officeotron.sh.in
++++ b/bin/officeotron.sh.in
+@@ -1,2 +1,2 @@
+ #!/usr/bin/env bash
+-java -jar @TARFILE_LOCATION@/@OFFICEOTRON_JAR@ "$@"
++java -jar /usr/share/java/officeotron.jar "$@"
diff --git a/debian/patches/temporarily-disable-test-metadata-test.diff b/debian/patches/temporarily-disable-test-metadata-test.diff
new file mode 100644
index 000000000..d2ddfac0f
--- /dev/null
+++ b/debian/patches/temporarily-disable-test-metadata-test.diff
@@ -0,0 +1,74 @@
+diff --git a/sw/qa/uitest/styleInspector/styleInspector.py b/sw/qa/uitest/styleInspector/styleInspector.py
+index 49d02fc01c9b..d1e9d30711e9 100644
+--- a/sw/qa/uitest/styleInspector/styleInspector.py
++++ b/sw/qa/uitest/styleInspector/styleInspector.py
+@@ -131,69 +131,6 @@ class styleNavigator(UITestCase):
+
+ self.xUITest.executeCommand(".uno:Sidebar")
+
+- def test_metadata(self):
+- with self.ui_test.load_file(get_url_for_data_file("metadata.odt")):
+- xWriterDoc = self.xUITest.getTopFocusWindow()
+- xWriterEdit = xWriterDoc.getChild("writer_edit")
+-
+- self.xUITest.executeCommand(".uno:Sidebar")
+- xWriterEdit.executeAction("SIDEBAR", mkPropertyValues({"PANEL": "InspectorTextPanel"}))
+-
+- xListBox = xWriterEdit.getChild('listbox_fonts')
+-
+- # The cursor is on text without metadata
+- self.assertEqual(1, len(xListBox.getChild('0').getChildren()))
+- self.assertEqual("Default Paragraph Style\t", get_state_as_dict(xListBox.getChild('0').getChild('0'))['Text'])
+- self.assertEqual(140, len(xListBox.getChild('0').getChild('0').getChildren()))
+- self.assertEqual(0, len(xListBox.getChild('1').getChildren()))
+- self.assertEqual(0, len(xListBox.getChild('2').getChildren()))
+- self.assertEqual(0, len(xListBox.getChild('3').getChildren()))
+-
+- self.xUITest.executeCommand(".uno:GoDown")
+-
+- # The cursor is on text with paragraph metadata showed under direct paragraph formatting
+- self.assertEqual(1, len(xListBox.getChild('0').getChildren()))
+- self.assertEqual("Default Paragraph Style\t", get_state_as_dict(xListBox.getChild('0').getChild('0'))['Text'])
+- self.assertEqual(140, len(xListBox.getChild('0').getChild('0').getChildren()))
+-
+- xParDirFormatting = xListBox.getChild('1')
+- self.assertEqual(1, len(xParDirFormatting.getChildren()))
+- self.assertEqual("Metadata Reference\t", get_state_as_dict(xParDirFormatting.getChild('0'))['Text'])
+-
+- xMetadata = xParDirFormatting.getChild('0')
+- self.assertEqual(4, len(xMetadata.getChildren()))
+- self.assertEqual("xml:id\tpara1", get_state_as_dict(xMetadata.getChild('0'))['Text'])
+- self.assertEqual("http://www.w3.org/1999/02/22-rdf-syntax-ns#type\tParagraph", get_state_as_dict(xMetadata.getChild('1'))['Text'])
+- self.assertEqual("http://www.w3.org/2000/01/rdf-schema#comment\tAbout this paragraph...", get_state_as_dict(xMetadata.getChild('2'))['Text'])
+- self.assertEqual("http://www.w3.org/2000/01/rdf-schema#label\tAnnotated paragraph", get_state_as_dict(xMetadata.getChild('3'))['Text'])
+-
+- self.xUITest.executeCommand(".uno:GoDown")
+- # FIXME jump over the control character (not visible in getString(), but it affects
+- # cursor position and availability of NestedTextContent)
+- self.xUITest.executeCommand(".uno:GoRight")
+-
+- # The cursor is on text with annotated text range
+- xDirFormatting = xListBox.getChild('0')
+- self.assertEqual("Fields\t", get_state_as_dict(xListBox.getChild('0'))['Text'])
+- self.assertEqual(1, len(xDirFormatting.getChildren()))
+- self.assertEqual("Metadata Reference\t", get_state_as_dict(xDirFormatting.getChild('0'))['Text'])
+-
+- xMetadata = xDirFormatting.getChild('0')
+- self.assertEqual(4, len(xMetadata.getChildren()))
+- self.assertEqual("xml:id\tid2758386667", get_state_as_dict(xMetadata.getChild('0'))['Text'])
+- self.assertEqual("http://www.w3.org/1999/02/22-rdf-syntax-ns#type\tText span", get_state_as_dict(xMetadata.getChild('1'))['Text'])
+- self.assertEqual("http://www.w3.org/2000/01/rdf-schema#comment\tComment...", get_state_as_dict(xMetadata.getChild('2'))['Text'])
+- self.assertEqual("http://www.w3.org/2000/01/rdf-schema#label\tAnnotated paragraph portion", get_state_as_dict(xMetadata.getChild('3'))['Text'])
+-
+- xDirFormatting = xListBox.getChild('4')
+- self.assertEqual(1, len(xDirFormatting.getChildren()))
+- self.assertEqual("Nested Text Content\tAnnotated text range", get_state_as_dict(xDirFormatting.getChild('0'))['Text'])
+-
+- self.assertEqual(0, len(xListBox.getChild('2').getChildren()))
+- self.assertEqual(0, len(xListBox.getChild('3').getChildren()))
+-
+- self.xUITest.executeCommand(".uno:Sidebar")
+-
+ def test_bookmark_metadata(self):
+ with self.ui_test.load_file(get_url_for_data_file("bookmark-metadata.odt")):
+ xWriterDoc = self.xUITest.getTopFocusWindow()
diff --git a/debian/patches/use-mariadb-java-instead-of-mysql-java.diff b/debian/patches/use-mariadb-java-instead-of-mysql-java.diff
new file mode 100644
index 000000000..070dfe06f
--- /dev/null
+++ b/debian/patches/use-mariadb-java-instead-of-mysql-java.diff
@@ -0,0 +1,59 @@
+>From 1172166889764ae0e77488e5d173f33961b9859b Mon Sep 17 00:00:00 2001
+From: Markus Koschany <apo@debian.org>
+Date: Fri, 9 Nov 2018 23:06:15 +0100
+Subject: [PATCH] mariadb
+
+---
+ connectivity/qa/complex/connectivity/JdbcLongVarCharTest.java | 4 ++--
+ .../mysql/org/openoffice/Office/DataAccess/Drivers.xcu | 2 +-
+ connectivity/source/drivers/mysql/YDriver.cxx | 4 ++--
+ 3 files changed, 5 insertions(+), 5 deletions(-)
+
+diff --git a/connectivity/qa/complex/connectivity/JdbcLongVarCharTest.java b/connectivity/qa/complex/connectivity/JdbcLongVarCharTest.java
+index 3817add48da6..ace57bd35d98 100644
+--- a/connectivity/qa/complex/connectivity/JdbcLongVarCharTest.java
++++ b/connectivity/qa/complex/connectivity/JdbcLongVarCharTest.java
+@@ -64,7 +64,7 @@ public class JdbcLongVarCharTest extends ComplexTestCase
+ */
+ String url = System.getenv("CONNECTIVITY_TEST_MYSQL_DRIVER_JDBC");
+ com.sun.star.beans.PropertyValue prop[] = new PropertyValue[1];
+- prop[0] = new PropertyValue("JavaDriverClass", 0, "com.mysql.jdbc.Driver", PropertyState.DIRECT_VALUE);
++ prop[0] = new PropertyValue("JavaDriverClass", 0, "org.mariadb.jdbc.Driver", PropertyState.DIRECT_VALUE);
+
+ // get the remote office component context
+ XMultiServiceFactory xServiceManager = param.getMSF();
+diff --git a/connectivity/registry/mysql/org/openoffice/Office/DataAccess/Drivers.xcu b/connectivity/registry/mysql/org/openoffice/Office/DataAccess/Drivers.xcu
+index 77988448f..acd8bfdaf 100644
+--- a/connectivity/registry/mysql_jdbc/org/openoffice/Office/DataAccess/Drivers.xcu
++++ b/connectivity/registry/mysql_jdbc/org/openoffice/Office/DataAccess/Drivers.xcu
+@@ -33,7 +33,7 @@
+ </node>
+ <node oor:name="JavaDriverClass" oor:op="replace">
+ <prop oor:name="Value" oor:type="xs:string">
+- <value>com.mysql.jdbc.Driver</value>
++ <value>org.mariadb.jdbc.Driver</value>
+ </prop>
+ </node>
+ <node oor:name="AddIndexAppendix" oor:op="replace">
+diff --git a/connectivity/source/drivers/mysql/YDriver.cxx b/connectivity/source/drivers/mysql/YDriver.cxx
+index 95094265e..c0ad7802e 100644
+--- a/connectivity/source/drivers/mysql_jdbc/YDriver.cxx
++++ b/connectivity/source/drivers/mysql_jdbc/YDriver.cxx
+@@ -54,7 +54,7 @@ namespace
+ OUString getJavaDriverClass(css::uno::Sequence<css::beans::PropertyValue> const& info)
+ {
+ return comphelper::NamedValueCollection::getOrDefault(info, u"JavaDriverClass",
+- OUString("com.mysql.jdbc.Driver"));
++ OUString("org.mariadb.jdbc.Driver"));
+ }
+ }
+
+@@ -170,7 +170,7 @@ Sequence<PropertyValue> lcl_convertProperties(T_DRIVERTYPE _eType,
+ if (!jdc)
+ {
+ aProps.push_back(PropertyValue("JavaDriverClass", 0,
+- Any(OUString("com.mysql.jdbc.Driver")),
++ Any(OUString("org.mariadb.jdbc.Driver")),
+ PropertyState_DIRECT_VALUE));
+ }
+ }
diff --git a/debian/patches/warn-about-exotic-protocols-as-well.diff b/debian/patches/warn-about-exotic-protocols-as-well.diff
new file mode 100644
index 000000000..d3944e1fa
--- /dev/null
+++ b/debian/patches/warn-about-exotic-protocols-as-well.diff
@@ -0,0 +1,81 @@
+From 9198322d9b4ed87e0e176fbfc712751a5f9b886f Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolan.mcnamara@collabora.com>
+Date: Sat, 4 Nov 2023 19:57:51 +0000
+Subject: warn about exotic protocols as well
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Change-Id: I50dcf4f36cd20d75f5ad3876353143268740a50f
+Reviewed-on: https://gerrit.libreoffice.org/c/core/+/151834
+Tested-by: Jenkins
+Reviewed-by: Caolán McNamara <caolan.mcnamara@collabora.com>
+(cherry picked from commit 1305f70cff8a81a58a5a6d9c96c5bb032005389e)
+Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159034
+Reviewed-by: Eike Rathke <erack@redhat.com>
+Signed-off-by: Xisco Fauli <xiscofauli@libreoffice.org>
+Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159881
+Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
+---
+ sw/source/filter/html/htmlplug.cxx | 2 +-
+ sw/source/filter/xml/xmltexti.cxx | 2 +-
+ tools/source/fsys/urlobj.cxx | 3 ++-
+ xmloff/source/draw/ximpshap.cxx | 2 +-
+ 4 files changed, 5 insertions(+), 4 deletions(-)
+
+diff --git a/sw/source/filter/html/htmlplug.cxx b/sw/source/filter/html/htmlplug.cxx
+index 1aec184d8a6c..1c1f5f49f13e 100644
+--- a/sw/source/filter/html/htmlplug.cxx
++++ b/sw/source/filter/html/htmlplug.cxx
+@@ -1121,7 +1121,7 @@ void SwHTMLParser::InsertFloatingFrame()
+
+ OUString sHRef = aFrameDesc.GetURL().GetMainURL( INetURLObject::DecodeMechanism::NONE );
+
+- if (INetURLObject(sHRef).GetProtocol() == INetProtocol::Macro)
++ if (INetURLObject(sHRef).IsExoticProtocol())
+ NotifyMacroEventRead();
+
+ xSet->setPropertyValue("FrameURL", uno::Any( sHRef ) );
+diff --git a/sw/source/filter/xml/xmltexti.cxx b/sw/source/filter/xml/xmltexti.cxx
+index 7ec4616f76dd..4bbed6bb8ff8 100644
+--- a/sw/source/filter/xml/xmltexti.cxx
++++ b/sw/source/filter/xml/xmltexti.cxx
+@@ -826,7 +826,7 @@ uno::Reference< XPropertySet > SwXMLTextImportHelper::createAndInsertFloatingFra
+ OUString sHRef = URIHelper::SmartRel2Abs(
+ INetURLObject( GetXMLImport().GetBaseURL() ), rHRef );
+
+- if (INetURLObject(sHRef).GetProtocol() == INetProtocol::Macro)
++ if (INetURLObject(sHRef).IsExoticProtocol())
+ GetXMLImport().NotifyMacroEventRead();
+
+ xSet->setPropertyValue("FrameURL",
+diff --git a/tools/source/fsys/urlobj.cxx b/tools/source/fsys/urlobj.cxx
+index 2a9f7bc3d7dc..36a8af31a0fb 100644
+--- a/tools/source/fsys/urlobj.cxx
++++ b/tools/source/fsys/urlobj.cxx
+@@ -4834,7 +4834,8 @@ bool INetURLObject::IsExoticProtocol() const
+ return m_eScheme == INetProtocol::Slot ||
+ m_eScheme == INetProtocol::Macro ||
+ m_eScheme == INetProtocol::Uno ||
+- isSchemeEqualTo(u"vnd.sun.star.script");
++ isSchemeEqualTo(u"vnd.sun.star.script") ||
++ isSchemeEqualTo(u"service");
+ }
+
+ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
+diff --git a/xmloff/source/draw/ximpshap.cxx b/xmloff/source/draw/ximpshap.cxx
+index 113f3a3ffc2a..263b4b937608 100644
+--- a/xmloff/source/draw/ximpshap.cxx
++++ b/xmloff/source/draw/ximpshap.cxx
+@@ -3177,7 +3177,7 @@ void SdXMLFloatingFrameShapeContext::startFastElement (sal_Int32 /*nElement*/,
+
+ if( !maHref.isEmpty() )
+ {
+- if (INetURLObject(maHref).GetProtocol() == INetProtocol::Macro)
++ if (INetURLObject(maHref).IsExoticProtocol())
+ GetImport().NotifyMacroEventRead();
+
+ xProps->setPropertyValue("FrameURL", Any(maHref) );
+--
+cgit v1.2.1
+
diff --git a/debian/patches/work-around-expired-certificiate-in-test.diff b/debian/patches/work-around-expired-certificiate-in-test.diff
new file mode 100644
index 000000000..f4f87dba4
--- /dev/null
+++ b/debian/patches/work-around-expired-certificiate-in-test.diff
@@ -0,0 +1,24 @@
+diff --git a/desktop/qa/desktop_lib/test_desktop_lib.cxx b/desktop/qa/desktop_lib/test_desktop_lib.cxx
+index 1898d3f1377f..be3d9ebd3253 100644
+--- a/desktop/qa/desktop_lib/test_desktop_lib.cxx
++++ b/desktop/qa/desktop_lib/test_desktop_lib.cxx
+@@ -2829,7 +2829,8 @@ void DesktopLOKTest::testInsertCertificate_PEM_ODT()
+ }
+
+ int nState = pDocument->m_pDocumentClass->getSignatureState(pDocument);
+- CPPUNIT_ASSERT_EQUAL(int(1), nState);
++ // OK or NOTVALIDATED (signature is OK, but certificate could not be validated)
++ CPPUNIT_ASSERT(nState == 1 || nState == 4);
+ }
+
+ void DesktopLOKTest::testInsertCertificate_PEM_DOCX()
+@@ -2886,7 +2887,8 @@ void DesktopLOKTest::testInsertCertificate_PEM_DOCX()
+ }
+
+ int nState = pDocument->m_pDocumentClass->getSignatureState(pDocument);
+- CPPUNIT_ASSERT_EQUAL(int(5), nState);
++ // PARTIAL_OK or NOTVALIDATED_PARTIAL_OK
++ CPPUNIT_ASSERT(nState == 5 || nState == 6);
+ }
+
+ void DesktopLOKTest::testSignDocument_PEM_PDF()
diff --git a/debian/python3-access2base.links b/debian/python3-access2base.links
new file mode 100644
index 000000000..f76ba1c90
--- /dev/null
+++ b/debian/python3-access2base.links
@@ -0,0 +1 @@
+usr/share/doc/libreoffice-common/access2base.html usr/share/doc/python3-access2base/access2base.html
diff --git a/debian/python3-uno.NEWS b/debian/python3-uno.NEWS
new file mode 100644
index 000000000..e731bbcb2
--- /dev/null
+++ b/debian/python3-uno.NEWS
@@ -0,0 +1,11 @@
+libreoffice (1:3.5.2-2) unstable; urgency=low
+
+ * The script provider for python (which was in python3-uno before) has been
+ split out into libreoffice-script-provider-python as it's the same in both
+ variants and python3-uno should contain just the module anyway.
+
+ If you relied on python3-uno for the script provider, install the new
+ package in addition.
+
+ -- Rene Engelhard <rene@debian.org> Sat, 07 Apr 2012 14:30:41 +0200
+
diff --git a/debian/python3-uno.lintian-overrides b/debian/python3-uno.lintian-overrides
new file mode 100644
index 000000000..2b53a2627
--- /dev/null
+++ b/debian/python3-uno.lintian-overrides
@@ -0,0 +1,2 @@
+# "aged out" due to debhelpers changelog trimming (see #1021502)
+python3-uno: debian-news-entry-has-unknown-version 1:3.5.2-2 [usr/share/doc/python3-uno/NEWS.Debian.gz:1]
diff --git a/debian/python3-uno.ucf b/debian/python3-uno.ucf
new file mode 100644
index 000000000..8a56cd5b7
--- /dev/null
+++ b/debian/python3-uno.ucf
@@ -0,0 +1 @@
+/usr/lib/libreoffice/share/.registry/pyuno.xcd /etc/libreoffice/registry/pyuno.xcd
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 000000000..bfcbfdf8f
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,4205 @@
+#!/usr/bin/make -f
+################################################################################
+# LibreOffice source package rules file
+#
+# Please see debian/README for detailed documentation about the build system, and
+# how to build LibreOffice.
+################################################################################
+# Authors:
+# Chris Halls <halls@debian.org>
+# Rene Engelhard <rene@debian.org>
+# Copyright 2002-2022 Software in the Public Interest, Inc.
+# Portions Copyright 2010 Canonical Ltd. Author: Matthias Klose
+# Portions Copyright 2011-2013 Canonical Ltd. Author: Bjoern Michaelsen
+# Licensed under the GNU General Public License, version 2. See the file
+# /usr/share/common-licenses/GPL or <http://www.gnu.org/copyleft/gpl.txt>.
+################################################################################
+
+vafilt = $(subst $(2)=,,$(filter $(2)=%,$(1)))
+
+include /usr/share/dpkg/pkg-info.mk
+CURDIR ?= $(realpath $(dir $(firstword $(MAKEFILE_LIST)))/..)
+BASE_VERSION:=$(shell echo $(DEB_VERSION) | cut -d: -f1):$(DEB_VERSION_UPSTREAM)
+BINARY_VERSION=$(DEB_VERSION)
+#HELP_L10N_VIRTUAL_VERSION:=$(shell echo $(DEB_VERSION_UPSTREAM) | cut -d: -f2 | tr [~] [\\-])
+HELP_L10N_VIRTUAL_VERSION:=7.4
+OOVER:=7.4
+NEXT_OOVER:=$(shell echo "$(OOVER) + 0.1" | bc)
+
+ARCH_INDEP_PACKAGES := $(shell dh_listpackages -i)
+ARCH_DEP_PACKAGES := $(shell dh_listpackages -a)
+PACKAGES := $(ARCH_INDEP_PACKAGES) $(ARCH_DEP_PACKAGES)
+
+ifneq (,$(shell pwd | grep autopkgtest))
+AUTOPKGTEST_BUILD=y
+$(warning Build for autopkgtest)
+endif
+AUTOPKGTEST_CPPUNIT_PACKAGES := $(shell dh_listpackages | grep -v help | grep -v l10n | grep -v dev-doc | grep -v "nogui$$")
+
+include /usr/share/dpkg/architecture.mk
+include /usr/share/dpkg/vendor.mk
+SHELL:=/bin/bash
+
+SYSTEM_GCC_VERSION = $(shell gcc --version | sed -n '/^gcc/s/.*\(..\..\)\../\1/p' | cut -d" " -f1)
+SYSTEM_CLANG_VERSION = $(shell clang -v 2>&1 | head -n1 | awk '{ print $$4 }' | cut -d. -f1)
+
+PKGDIR:=debian/libreoffice
+OODIRNAME=libreoffice
+OODIR:=usr/lib/$(OODIRNAME)
+OOSDKDIR:=$(OODIR)/sdk
+
+# Figure out who's building this package.
+ifneq "$(DEB_VENDOR)" "Debian"
+OOO_VENDOR:=The Document Foundation, $(DEB_PARENT_VENDOR) and $(DEB_VENDOR)
+else
+OOO_VENDOR=The Document Foundation/$(DEB_VENDOR)
+endif
+export OOO_VENDOR
+
+# debhelper
+export DH_OPTIONS
+export DH_ALWAYS_EXCLUDE=CVS:.svn:.bzr:.git
+#export DH_VERBOSE=1
+# quilt
+export QUILT_PATCHES=debian/patches
+export QUILT_OPTIONS="-p1 -F0"
+
+SOURCE_TREE=.
+STAMP_DIR=debian/stampdir
+TARFILE_LOCATION=$(CURDIR)/tarballs
+export TARFILE_LOCATION
+USE_SOURCE_TARBALLS=y
+USE_GIT_TARBALLS=n
+ifeq "$(USE_GIT_TARBALLS)" "y"
+GIT_BASEURL:=git://anongit.freedesktop.org/libreoffice
+lo_sources_ver=$(shell grep AC_INIT $(SOURCE_TREE)/configure.ac | grep documentfoundation | cut -d, -f2 | sed -e 's,\[,,' -e 's,\],,')
+# NOT in proper libreoffice-3-6 branch
+# use ./g checkout -b tag-libreoffice-3.6.2.1 libreoffice-3.6.2.1
+GIT_TAG=libreoffice-$(lo_sources_ver)
+GIT_BRANCH=libreoffice-7-4-7
+endif
+ifeq "$(USE_SOURCE_TARBALLS)" "y"
+lo_sources_ver=$(shell cat $(CURDIR)/sources.ver | cut -d= -f2)
+endif
+
+#########
+# Default package configuration
+#
+OOO_ARCHS = alpha amd64 arm64 armel armhf hppa i386 ia64 kfreebsd-amd64 kfreebsd-i386 m68k mips mipsel mips64 mips64el powerpc powerpcspe ppc64 ppc64el s390 s390x sparc sparc64
+PATCHSET=$(DEB_VENDOR)
+BUILD_DEPS=\
+ autoconf,\
+ automake,\
+ bc,\
+ bison,\
+ bzip2,\
+ flex (>= 2.3.35), \
+ fontforge-nox | fontforge, \
+ gperf (>= 3.1),\
+ libc0.1 (>= 2.10.2-7) [kfreebsd-any],\
+ libfontconfig-dev,\
+ pkg-config,\
+ unzip,\
+ xsltproc,\
+ zip,\
+ zlib1g-dev\
+
+BUILD_DEPS_INDEP += rdfind, symlinks
+
+# These are components which can be built from internal copies, or used from the
+# distribution. See configure --help for valid values (--with-system-<value>).
+SYSTEM_STUFF = dicts
+
+ENABLE_GUI=y
+
+ifeq ($(filter nopython,$(DEB_BUILD_PROFILES)),)
+ENABLE_PYTHON=y
+ifeq "$(ENABLE_PYTHON)" "y"
+ CONFIGURE_FLAGS += --enable-python=system
+ ENABLE_SCRIPT_PROVIDER_PYTHON=y
+ PACKAGE_LIBRELOGO=y
+endif
+# THIS IS ONLY FOR TESTING. When building against a specified pythonX.Y
+# this will work inside OOo but *not* from outside OOo unless the user
+# uses pythonX.Y directly (and the dh_pycentral-created dependencies allow
+# also the non-working default python then) - see e.g. #587402. Also
+# note we are NOT working with python < 2.6 anymore!
+PYTHON_VERSION=current
+ifeq "$(PYTHON_VERSION)" "current"
+ PYTHON=python3
+ export PYTHON
+else
+ # somehow configure insists on using python3 "for pyuno". The only way to
+ # override this (afaics) is this...
+ PYTHON=python$(PYTHON_VERSION)
+ PYTHON_CFLAGS=$(shell pkg-config --cflags python-$(PYTHON_VERSION))
+ PYTHON_LIBS=$(shell pkg-config --libs python-$(PYTHON_VERSION))
+ export PYTHON PYTHON_VERSION PYTHON_CFLAGS PYTHON_LIBS
+endif
+endif
+BUILD_ONLY_EN_US=n
+ifeq ($(filter nojava,$(DEB_BUILD_PROFILES)),)
+ ENABLE_JAVA=y
+ ifeq "$(ENABLE_JAVA)" "y"
+ JDK=default
+ include /usr/share/java/java_defaults.mk
+ ifneq "$(JDK)" "default"
+ JAVA_MAINVER=7
+ endif
+ endif
+else
+ ENABLE_JAVA=n
+endif
+JAVAHELPER_MIN_VERSION= (>= 0.37~)
+SYSTEM_STUFF += hunspell
+SYSTEM_STUFF += altlinuxhyph
+SYSTEM_STUFF += boost
+BOOST_VERSION=default
+ifeq "$(BOOST_VERSION)" "default"
+ BOOST_MINVER= (>= 1.71)
+endif
+# libmdds-dev depends on libboost-dev, which will be removed
+# when you install a non-default libboostX.Y-dev
+ifeq "$(BOOST_VERSION)" "default"
+SYSTEM_STUFF += mdds
+endif
+USE_EXTERNAL_CXXLIBS=y
+SYSTEM_STUFF += mythes
+SYSTEM_STUFF += icu
+SYSTEM_STUFF += librevenge
+SYSTEM_STUFF += libwpd libwpg libwps
+SYSTEM_STUFF += libvisio
+SYSTEM_STUFF += libcdr
+SYSTEM_STUFF += libmspub
+SYSTEM_STUFF += libmwaw
+SYSTEM_STUFF += libodfgen
+SYSTEM_STUFF += libepubgen
+SYSTEM_STUFF += libetonyek
+SYSTEM_STUFF += libfreehand
+# this is libe-book, NOT evolutions libebook (which is
+# dlopen()'ed anyway and whose headers we need from the
+# system anyways if enabled
+SYSTEM_STUFF += libebook
+SYSTEM_STUFF += libabw
+SYSTEM_STUFF += libpagemaker
+SYSTEM_STUFF += libzmf
+SYSTEM_STUFF += libstaroffice
+SYSTEM_STUFF += libqxp
+ENABLE_ZXING=y
+SYSTEM_STUFF += zxing
+BUILD_CAIROCANVAS=y
+SYSTEM_STUFF += cairo
+ifeq "$(ENABLE_GUI)" "y"
+BUILD_PLASMA=y
+ENABLE_QT5=n
+QT5_MINVER= (>= 5.6)
+endif
+ifeq "$(BUILD_PLASMA)" "y"
+ ENABLE_KF5=y
+ # KF5 depends on Qt5
+ ifeq "$(ENABLE_KF5)" "y"
+ ENABLE_QT5=y
+ KF5_QT5_DEPENDS := libreoffice-qt5 (= $${binary:Version})
+ endif
+endif
+ENABLE_QT6=n
+# for moc move to /usr/lib/qt6/libxexec
+QT6_MINVER= (>= 6.2.1+dfsg-2)
+# https://www.debian.org/doc/debian-policy/ says this is not defined and must
+# be ignored, but dh_strip mentions (and honours) it, so...
+ifneq (noautodbgsym,$(findstring noautodbgsym,$(DEB_BUILD_OPTIONS)))
+BUILD_DBGSYM_PACKAGES=y
+ifeq "$(DEB_HOST_ARCH)" "amd64"
+USE_DWZ=y
+DWZ_ARGS:=-L 100000000
+endif
+endif
+SYSTEM_STUFF += xmlsec
+
+ifeq ($(filter noinsttest,$(DEB_BUILD_PROFILES)),)
+ # this changes the packages built/contents of packages (-subsequentcheckbase)
+ # This is not exactly allowed in https://wiki.debian.org/BuildProfileSpec#Registered_profile_names
+ # but it doesn't have real practical difference, does it?
+ ifneq (nocheck,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
+ BUILD_TEST_PACKAGES=y
+ endif
+endif
+
+ifneq ($(MAKECMDGOALS),build-indep)
+ENABLE_SYMBOLS=y
+SMALL_SYMBOLS=y
+endif
+ifeq ($(MAKECMDGOALS),build-indep)
+# no need to do a double build...
+BUILD_NOGUI_PACKAGES=n
+# go sure
+ ifeq "$(BUILD_TEST_PACKAGES)" "y"
+ ENABLE_JUNIT4=y
+ endif
+endif
+
+ifeq "$(ENABLE_JAVA)" "y"
+ SYSTEM_STUFF += beanshell
+ SYSTEM_STUFF += hsqldb
+endif
+SYSTEM_STUFF += lpsolve
+USE_SHARED_LPSOLVE=y
+LPSOLVE_MIN_VERSION= (>= 5.5.0.13-5+b1)
+ENABLE_COINMP=y
+SYSTEM_STUFF += coinmp
+USE_DBUS=y
+ifeq "$(USE_DBUS)" "y"
+ ifeq (,$(findstring linux,$(DEB_HOST_ARCH_OS)))
+ ENABLE_BLUETOOTH=n
+ else
+ ENABLE_BLUETOOTH=y
+ SYSTEM_STUFF += bluez
+ endif
+ ENABLE_PACKAGEKIT=n
+endif
+ENABLE_AVAHI=y
+ifeq "$(ENABLE_GUI)" "y"
+USE_GSTREAMER=y
+endif
+ENABLE_CURL=y
+CURL_SECTYPE=gnutls
+ENABLE_WEBDAV=y
+ifeq "$(ENABLE_WEBDAV)" "y"
+ ENABLE_CURL=y
+endif
+ifeq "$(ENABLE_CURL)" "y"
+SYSTEM_STUFF += curl
+endif
+SYSTEM_STUFF += redland
+PACKAGE_SDK=y
+ifneq ($(filter nodoc,$(DEB_BUILD_PROFILES)),)
+PACKAGE_SDK_DOCS=n
+else
+PACKAGE_SDK_DOCS=y
+endif
+PACKAGE_LOKIT=y
+ENABLE_CHART_TESTS=n
+# will not work, uses schema/ stripped in the tarballs
+ifeq "$(USE_SOURCE_TARBALLS)" "y"
+ENABLE_EXPORT_VALIDATION_TESTS=n
+endif
+JUNIT_MIN_VER= (>= 4.8.2-2)
+USE_LIBSUITESPARSE=y
+SUITESPARSE_MIN_VERSION= (>= 1:3.4.0)
+PARALLEL_BUILD=y
+ENABLE_LDAP=y
+SYSTEM_STUFF += openldap
+SYSTEM_STUFF += epoxy
+ifeq "$(ENABLE_JAVA)" "y"
+ ENABLE_REPORTBUILDER=y
+ SYSTEM_STUFF += jfreereport
+ ENABLE_MEDIAWIKI=y
+ ENABLE_SCRIPT_PROVIDER_BSH=y
+ ENABLE_SCRIPT_PROVIDER_JS=y
+ ENABLE_NLPSOLVER=y
+else
+ ENABLE_REPORTBUILDER=n
+ ENABLE_MEDIAWIKI=n
+ ENABLE_SCRIPT_PROVIDER_BSH=n
+ ENABLE_SCRIPT_PROVIDER_JS=n
+ ENABLE_NLPSOLVER=n
+endif
+ENABLE_SDBC_POSTGRESQL=y
+ifeq "$(ENABLE_GUI)" "y"
+BUILD_GTK3=y
+ # introspection needs GTK3
+ ifeq "$(BUILD_GTK3)" "y"
+ ENABLE_INTROSPECTION=y
+ endif
+endif
+# DO NOT ENABLE. WILL NOT WORK.
+# as of 2021-11-29:
+# 14:41 < _rene_> caolanm: just wondering after I did a testbuild lately on (then) master: what is the state of gtk4? enable-able (even
+# though there's no desktop actually using it ttbomk) or better wait?
+#[...]
+#14:45 <@caolanm> _rene_, I wouldn't enable it yet. There's too much basic stuff not working well enough yet, e.g.
+# https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/4124
+BUILD_GTK4=n
+ENABLE_EVO2=y
+ENABLE_GIO=y
+ENABLE_DCONF=y
+ENABLE_RANDR=y
+PACKAGE_BASE=y
+SYSTEM_STUFF += graphite
+SYSTEM_STUFF += harfbuzz
+SYSTEM_STUFF += libexttextcat
+SYSTEM_STUFF += cppunit
+SYSTEM_STUFF += dragonbox
+SYSTEM_STUFF += libfixmath
+DEFAULT_IMAGE=colibre
+IMAGES:=$(DEFAULT_IMAGE) colibre_dark colibre_svg colibre_dark_svg sifr sifr_dark sifr_dark_svg breeze breeze_dark breeze_dark_svg breeze_svg elementary elementary_svg karasa_jaga sukapura sukapura_svg
+# FIXME
+IMAGES_PACKAGES=$(subst _,-,$(filter-out colibre_svg,$(filter-out colibre_svg,$(filter-out colibre_dark_svg,$(filter-out sukapura_svg,$(filter-out sifr_dark_svg,$(filter-out breeze_dark_svg,$(filter-out sifr_dark,$(filter-out breeze_dark,$(filter-out breeze_svg,$(filter-out elementary_svg,$(IMAGES))))))))))))
+CONFIGURE_FLAGS_INDEP += --with-theme="$(IMAGES)"
+ENABLE_MARIADB=y
+ifeq "$(ENABLE_MARIADB)" "y"
+# FIXME: the mysql test doesn't get really tested since it is only ran/built
+# with CONNECTIVITY_TEST_MYSQL_DRIVER set - and doesn't build on 32bit... The
+# test is run in autopkgtest on OOO_CHECK_FATAL_ARCHS (aka 64bit archs!) only for
+# now anyway so let's just hack around here for now and disable the build of it
+# alltogether when not used and just set CONNECTIVITY_TEST_MYSQL_DRIVER on those
+# OOO_CHECK_FATAL_ARCHS
+ ifeq ($(DEB_HOST_ARCH),$(filter $(DEB_HOST_ARCH),$(OOO_CHECK_FATAL_ARCHS)))
+export CONNECTIVITY_TEST_MYSQL_DRIVER=dummy
+ endif
+endif
+ MYSQL_FLAVOUR=mariadb
+# set this also to y for system-mysql..
+SYSTEM_STUFF += mariadb
+SYSTEM_STUFF += postgresql
+DICT_DIR=/usr/share/hunspell
+HYPH_DIR=/usr/share/hyphen
+THES_DIR=/usr/share/mythes
+ENABLE_LIBCMIS=n
+ifeq "$(ENABLE_LIBCMIS)" "y"
+SYSTEM_STUFF += libcmis
+endif
+SYSTEM_STUFF += jpeg
+SYSTEM_STUFF += libxml
+SYSTEM_STUFF += expat
+SYSTEM_STUFF += odbc
+SYSTEM_STUFF += sane
+ENABLE_PDFIMPORT=y
+ENABLE_POPPLER=y
+SYSTEM_STUFF += poppler
+ENABLE_PDFIUM=y
+ifneq (big,$(DEB_HOST_ARCH_ENDIAN))
+ENABLE_SKIA=y
+endif
+# see https://cgit.freedesktop.org/libreoffice/core/commit/?id=a0edcc68f94915a78fcc08e70d2cdd752abd9ebb
+ifeq "$(ENABLE_SKIA)" "y"
+ BUILD_DEPS += , libfreetype-dev (>= 2.8.1)
+else
+ BUILD_DEPS += , libfreetype-dev (>= 2.2.0)
+endif
+SYSTEM_STUFF += libpng
+ENABLE_NSS=y
+ifeq "$(ENABLE_NSS)" "y"
+SYSTEM_STUFF += nss
+endif
+ENABLE_HELP=y
+ifeq "$(ENABLE_HELP)" "y"
+ ENABLE_HTML_HELP=y
+ ENABLE_XMLHELP=y
+ ifeq "$(ENABLE_HTML_HELP)" "y"
+ HELP_DEPENDS := libreoffice-help-common (= $${binary:Version}),
+ HELP_RECOMMENDS := firefox-esr | epiphany-browser | konqueror | chromium | firefox
+ HELP_COMMON_DEPENDS := node-normalize.css
+ BUILD_DEPS_INDEP += , node-normalize.css
+ else
+ HELP_DEPENDS := libreoffice-writer
+ DEBHELPER_OPTIONS += -Nlibreoffice-help-common
+ endif
+ ifeq "$(ENABLE_XMLHELP)" "y"
+ SYSTEM_STUFF += clucene
+ endif
+endif
+SYSTEM_STUFF += lcms2
+SYSTEM_STUFF += liblangtag
+SYSTEM_STUFF += orcus
+USE_UCPP=n
+ifeq "$(USE_UCPP)" "y"
+ SYSTEM_STUFF += ucpp
+else
+ CONFIGURE_FLAGS += --with-idlc-cpp=cpp
+endif
+# kfreebsd runs into SIZE_MAX problems, and the rest might
+# get OOM (mips(el)...) so enable mergelibs only for 64bit
+# archs
+ifeq (,$(filter kfreebsd,$(DEB_HOST_ARCH)))
+ ifeq "$(DEB_HOST_ARCH_BITS)" "64"
+ ENABLE_MERGELIBS=y
+ endif
+endif
+ifeq "$(ENABLE_MERGELIBS)" "y"
+ ENABLE_LTO=y
+else
+ ENABLE_LTO=n
+endif
+USE_OPENCL=y
+ENABLE_FIREBIRD=y
+ifeq "$(ENABLE_FIREBIRD)" "y"
+ SYSTEM_STUFF += firebird
+ ifeq (,$(filter firebird, $(SYSTEM_STUFF)))
+ SYSTEM_STUFF += libatomic-ops
+ SYSTEM_STUFF += libtommath
+ endif
+endif
+ENABLE_EOT=y
+ifeq "$(ENABLE_EOT)" "y"
+SYSTEM_STUFF += libeot
+endif
+SYSTEM_STUFF += glm
+BUILD_PPC64EL=y
+BUILD_ARM64=y
+SYSTEM_STUFF += gpgmepp
+INSTALL_APPARMOR_PROFILES=y
+ENABLE_APPARMOR_PROFILES=y
+ifneq "$(AUTOPKGTEST_BUILD)" "y"
+ CHECK_APPARMOR_PROFILES=true
+endif
+SYSTEM_STUFF += libnumbertext
+SYSTEM_STUFF += box2d
+SYSTEM_STUFF += libwebp
+SYSTEM_STUFF += libtiff
+
+# Default flags to pass to configure
+CONFIGURE_FLAGS+= \
+ --with-vendor='$(OOO_VENDOR)' \
+ --with-extra-buildid='$(DEB_VENDOR) package version: $(BINARY_VERSION)' \
+ --prefix=/usr --mandir=/usr/share/man \
+ --docdir=/usr/share/doc/libreoffice \
+ --libdir=/usr/lib \
+ --bindir=/usr/bin \
+ --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \
+ --disable-online-update \
+ --disable-fetch-external \
+ --without-fonts --enable-build-opensymbol \
+ --without-myspell-dicts \
+ --with-branding=$(CURDIR)/debian/branding
+
+ifeq "$(ENABLE_GUI)" "y"
+BUILD_DEPS += ,\
+ libcups2-dev,\
+ libgl-dev,\
+ libice-dev,\
+ libsm-dev,\
+ libx11-dev,\
+ libx11-xcb-dev, \
+ libxaw7-dev,\
+ libxext-dev,\
+ libxinerama-dev,\
+ libxkbfile-dev,\
+ libxrender-dev,\
+ libxt-dev,\
+ libxtst-dev,\
+ x11proto-render-dev
+endif
+
+ifeq "$(ENABLE_HELP)" "y"
+CONFIGURE_FLAGS_INDEP+= --with-help
+ ifeq "$(ENABLE_HTML_HELP)" "y"
+ CONFIGURE_FLAGS_INDEP+= --with-help=html
+ endif
+ ifneq "$(ENABLE_XMLHELP)" "y"
+ CONFIGURE_FLAGS += --disable-xmlhelp
+ endif
+else
+ CONFIGURE_FLAGS += --without-helppack-integration --without-help
+endif
+
+
+ifeq "$(shell echo $(DEB_VERSION_UPSTREAM) | grep -E '(alpha|beta)'; echo $$?)" "1"
+CONFIGURE_FLAGS += --enable-release-build
+RELEASE_BUILD := y
+endif
+
+ifeq "$(DEB_DISTRIBUTION)" "UNRELEASED"
+BUGS=mailto:debian-openoffice@lists.debian.org
+endif
+
+ifneq (terse,$(findstring terse,$(DEB_BUILD_OPTIONS)))
+export verbose=t
+endif
+
+#############
+# Architecture-specific changes
+
+# helper to generate no_archs macros (pass name of source macro)
+define gen_no_archs
+ _no_arch_macro = $(subst OOO_,OOO_NO_,$1)
+ _no_arch_tmp_$1 = $$(foreach _a,$$(filter-out $$(call $1),$(OOO_ARCHS)),!$$(_a))
+ $$(_no_arch_macro) = $$(if $$(_no_arch_tmp_$1),$$(_empty) [$$(_no_arch_tmp_$1)])
+endef
+
+PLATFORMID := $(shell grep PLATFORMID debian/vars.$(DEB_HOST_ARCH) | cut -d"=" -f2)
+RTL_OS := $(shell grep RTL_OS debian/vars.$(DEB_HOST_ARCH) | cut -d"=" -f2)
+RTL_ARCH := $(shell grep RTL_ARCH debian/vars.$(DEB_HOST_ARCH) | cut -d"=" -f2)
+
+OOO_64BIT_ARCHS = $(filter alpha amd64 arm64 ia64 kfreebsd-amd64 mips64 mips64el ppc64 ppc64el s390x sparc64, $(OOO_ARCHS))
+$(eval $(call gen_no_archs,OOO_64BIT_ARCHS))
+OOO_BE_ARCHS = $(filter hppa m68k mips mips64 powerpc powerpcspe ppc64 s390 s390x sparc sparc64,$(OOO_ARCHS))
+OOO_LE_ARCHS = $(filter-out $(OOO_BE_ARCHS),$(OOO_ARCHS))
+$(eval $(call gen_no_archs,OOO_LE_ARCHS))
+
+OOO_CHECK_ARCHS := $(filter-out kfreebsd-i386 kfreebsd-amd64 mips mipsel mips64el armel s390x,$(OOO_ARCHS))
+$(eval $(call gen_no_archs,OOO_CHECK_ARCHS))
+#OOO_JUNIT_ARCHS := i386 amd64 armhf arm64
+OOO_JUNIT_ARCHS := amd64 arm64
+$(eval $(call gen_no_archs,OOO_JUNIT_ARCHS))
+#OOO_CHECK_FATAL_ARCHS := i386 amd64 armhf arm64
+OOO_CHECK_FATAL_ARCHS := amd64 arm64
+
+BUILD_TESTS=y
+ifeq (nocheck,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
+ BUILD_TESTS=n
+endif
+
+RUN_MAKE_CHECK=n
+ifneq (nocheck,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
+ ifeq ($(DEB_HOST_ARCH),$(filter $(DEB_HOST_ARCH),$(OOO_CHECK_ARCHS)))
+ RUN_MAKE_CHECK=y
+ endif
+ ifeq "$(ENABLE_JAVA)" "y"
+ ifeq ($(DEB_HOST_ARCH),$(filter $(DEB_HOST_ARCH),$(OOO_JUNIT_ARCHS)))
+ ENABLE_JUNIT4=y
+ endif
+ endif
+ IGNORE_MAKE_CHECK_FAILURES=-
+ TEST_TIMEOUT := timeout --foreground --preserve-status -v -k 250m 200m
+ ifeq ($(DEB_HOST_ARCH),$(filter $(DEB_HOST_ARCH),$(OOO_CHECK_FATAL_ARCHS)))
+ IGNORE_MAKE_CHECK_FAILURES:=
+ TEST_TIMEOUT:=
+ endif
+endif
+ifeq "$(RUN_MAKE_CHECK)" "y"
+ BUILD_TESTS=y
+else
+ BUILD_TESTS=n
+endif
+
+# Java...
+# upstream says --source=1.8 / --target=1.8 so 1.8 is fine in runtime
+JAVA_RUNTIME_BASELINE=8
+ifeq "$(JDK)" "default"
+OOO_JAVA_ARCHS = $(filter $(OOO_ARCHS),$(java$(JAVA_RUNTIME_BASELINE)_architectures))
+else
+OOO_JAVA_ARCHS = $(OOO_ARCHS)
+endif
+$(eval $(call gen_no_archs,OOO_JAVA_ARCHS))
+
+OOO_ARCH_DEP_EXTENSIONS_ARCHS := $(OOO_ARCHS)
+OOO_EXTENSIONS_ARCHS := $(OOO_ARCH_DEP_EXTENSIONS_ARCHS)
+
+OOO_BASE_ARCHS := $(OOO_JAVA_ARCHS)
+$(eval $(call gen_no_archs,OOO_BASE_ARCHS))
+OOO_REPORTBUILDER_ARCHS := $(OOO_BASE_ARCHS)
+$(eval $(call gen_no_archs,OOO_REPORTBUILDER_ARCHS))
+OOO_FIREBIRD_ARCHS := $(OOO_BASE_ARCHS)
+$(eval $(call gen_no_archs,OOO_FIREBIRD_ARCHS))
+OOO_NOGUI_ARCHS := $(filter amd64 i386 arm64 armhf s390x ppc64 ppc64el,$(OOO_ARCHS))
+$(eval $(call gen_no_archs,OOO_NOGUI_ARCHS))
+
+ifneq (,$(filter $(DEB_HOST_ARCH),$(OOO_NO_BASE_ARCHS)))
+ ifneq ($(DEB_HOST_ARCH),$(filter $(DEB_HOST_ARCH),$(OOO_BASE_ARCHS)))
+ PACKAGE_BASE=n
+ ENABLE_SDBC_POSTGRESQL=n
+ ENABLE_EVO2=n
+ ENABLE_REPORTBUILDER=n
+ DEBHELPER_OPTIONS += -Nlibreoffice-base libreoffice-base-core -Nlibreoffice-base-drivers
+ DEBHELPER_OPTIONS += -Nlibreoffice-evolution
+ DEBHELPER_OPTIONS += -Nlibreoffice-sdbc-postgresql -Nlibreoffice-sdbc-mysql
+ DEBHELPER_OPTIONS += -Nlibreoffice-sdbc-hsqldb -Nlibreoffice-sdbc-firebird
+ DEBHELPER_OPTIONS += -Nlibreoffice-report-builder-bin -Nlibreoffice-report-builder
+ DEBHELPER_OPTIONS += -Npython3-access2base
+# CONFIGURE_FLAGS += --disable-database-connectivity
+ endif
+endif
+
+ifeq (,$(filter $(DEB_HOST_ARCH),$(OOO_EXTENSIONS_ARCHS)))
+ ENABLE_MEDIAWIKI=n
+ ENABLE_NLPSOLVER=n
+ DEBHELPER_OPTIONS += -Nlibreoffice-wiki-publisher -Nlibreoffice-script-provider-python -Nlibreoffice-nlpsolver
+ CONFIGURE_FLAGS += --disable-extension-integration --disable-extensions
+endif
+
+ifeq (,$(filter $(DEB_HOST_ARCH),$(OOO_JAVA_ARCHS)))
+ ENABLE_JAVA=n
+ ENABLE_REPORTBUILDER=n
+ ENABLE_MEDIAWIKI=n
+ ENABLE_NLPSOLVER=n
+endif
+
+ifneq "$(BUILD_TEST_PACKAGES)" "y"
+ DEBHELPER_OPTIONS += -Nlibreoffice-subsequentcheckbase -Nlibreoffice-smoketest-data
+else
+ BUILD_DEPS_INDEP += , junit4 $(JUNIT_MIN_VER) <!nojava>
+endif
+
+ifeq "$(ENABLE_GUI)" "y"
+ ifeq ($(DEB_HOST_ARCH),$(filter $(DEB_HOST_ARCH),$(OOO_NOGUI_ARCHS)))
+ BUILD_NOGUI_PACKAGES=y
+ endif
+else
+CONFIGURE_FLAGS += --disable-gui
+DEBHELPER_OPTIONS += -Nlibreoffice-core -Nlibreoffice-calc -Nlibreoffice-writer -Nlibreoffice-draw -Nlibreoffice-report-builder-bin -Nlibreoffice-base -Nlibreoffice-impress -Nlibreoffice-math
+endif
+ifneq "$(BUILD_NOGUI_PACKAGES)" "y"
+DEBHELPER_OPTIONS += -Nlibreoffice-core-nogui -Nlibreoffice-calc-nogui -Nlibreoffice-writer-nogui -Nlibreoffice-draw-nogui -Nlibreoffice-report-builder-bin-nogui -Nlibreoffice-base-nogui -Nlibreoffice-impress-nogui -Nlibreoffice-math-nogui
+endif
+
+ifeq "$(AUTOPKGTEST_BUILD)" "y"
+# as above (for build-indep), no need to do two builds here...
+# needs to be here since there is arch-specific rules before
+BUILD_NOGUI_PACKAGES=n
+# go sure
+BUILD_TESTS=y
+BUILD_TEST_PACKAGES=y
+ENABLE_JUNIT4=y
+endif
+
+#############
+# Distro-specific overrides
+
+# Debian Bullseye
+ifeq "$(DEB_DISTRIBUTION)" "bullseye-backports"
+ BUGS=mailto:debian-backports@lists.debian.org
+ SYSTEM_STUFF := $(filter-out zxing mdds orcus libnumbertext dragonbox libfixmath libmwaw,$(SYSTEM_STUFF))
+ BULLSEYE_BACKPORT=y
+ ENABLE_LTO=n
+endif
+
+CONFIGURE_FLAGS += $(foreach i, $(SYSTEM_STUFF),--with-system-$(i))
+
+CC_PREFIX:=$(shell gcc -dumpmachine)-
+
+# generally use clang
+USE_CLANG=n
+# allow clang for skia?
+ALLOW_CLANG=y
+
+CLANG_VERSION=default
+
+ifneq "$(shell echo $(USE_CLANG)$(ALLOW_CLANG) | grep y)" ""
+ # /usr/bin/ld: /usr/lib/llvm-11/bin/../lib/LLVMgold.so: error loading plugin: /usr/lib/llvm-11/bin/../lib/LLVMgold.so: cannot open shared object file: No such file or directory
+ # for mips64el that doesn't exist so disable LTO there...
+ ifeq "$(ENABLE_LTO)" "y"
+ ifeq "$(DEB_HOST_ARCH)" "mips64el"
+ ENABLE_LTO=n
+ endif
+ BUILD_DEPS += , clang (>= 1:12) [ppc64el]
+ # since the llvm-defaults packages pointing to llvm 13(?) it apparently doesn't
+ # automatically pull in llvm-xx-linker-tools anymore which contains the needed LLVMgold.so
+ # (see above).
+ # So build-depend on llvm, too.
+ # We shouldn't depend on llvm-xx-linker-tools since this probably should be
+ # version-agnostic when the default changes (unless explicitely specified of course).
+ ifeq "$(USE_CLANG)" "y"
+ ifeq "$(CLANG_VERSION)" "default"
+ BUILD_DEPS += , llvm
+ else
+ BUILD_DEPS += , llvm-$(CLANG_VERSION)-linker-tools
+ endif
+ else
+ ifeq "$(ALLOW_CLANG)" "y"
+ ifeq "$(CLANG_VERSION)" "default"
+ BUILD_DEPS += , llvm [$(OOO_LE_ARCHS)]
+ else
+ BUILD_DEPS += , llvm-$(CLANG_VERSION)-linker-tools [$(OOO_LE_ARCHS)]
+ endif
+ endif
+ endif
+ endif
+endif
+ifeq "$(USE_DWZ)" "y"
+ # dwz errors out with
+ # dwz: debian/libreoffice-core/usr/lib/libreoffice/program/libskialo.so: Unknown debugging section .debug_addr
+ # since clang 14
+ ifeq "$(USE_CLANG)" "y"
+ USE_DWZ := n
+ endif
+ ifeq "$(ENABLE_SKIA)" "y"
+ ifneq "$(shell echo $(ALLOW_CLANG) | grep y)" ""
+ ifeq "$(shell dpkg --compare-versions $(SYSTEM_CLANG_VERSION) ge 14 && echo true)" "true"
+ DH_DWZ_ARGS += -Xskia
+ endif
+ endif
+ endif
+endif
+
+ifeq "$(USE_CLANG)" "y"
+ ENABLE_COMPILER_PLUGINS=n
+endif
+
+ifneq "$(USE_CLANG)" "y"
+ ifneq "$(GCC_VERSION)" ""
+ ifneq "$(SYSTEM_GCC_VERSION)" "$(GCC_VERSION)"
+ BUILD_DEPS += , gcc-$(GCC_VERSION), g++-$(GCC_VERSION)
+ CONFIGURE_FLAGS+= \
+ CC=$(CC_PREFIX)gcc-$(GCC_VERSION) \
+ CXX=$(CC_PREFIX)g++-$(GCC_VERSION)
+ endif
+ endif
+ BUILD_DEPS += , gcc (>= 4:7), g++ (>= 4:7)
+ # Use -O0 for gcc 10 on armhf to avoid build/test failure with gcc 10
+ # https://bugs.launchpad.net/ubuntu/+bug/1891623
+ # In Debian this never appeared to be an actual build failure but
+ # this also helps for the test timeout on armv8 machines/buildds.
+ # (armv7 "works"). So make it conditional on whether we run checks.
+ # With g++-10 there also appear SIGSEGVs in/with openjdk-11 and it
+ # hangs at RunMacros, which also tries to use Java "Macros".
+ # A --without-java build passes.
+ifeq "$(DEB_HOST_ARCH)" "armhf"
+ ifeq ($(ENABLE_JAVA),y)
+ ifneq (nocheck,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
+ ifneq (noopt,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ DEB_BUILD_OPTIONS += noopt
+ endif
+ endif
+ endif
+endif
+ # and also on s390x since it otherwise gets miscompiled.
+ # Upstream tacked it down to a gcc bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106355
+ # but
+ # 16:37 <@sberg> _rene_, I couldn't reproduce the issue with an -O0 (--enable-dbgutil) build, and can with a -O2 (no --enable-debug etc.) one
+ifeq "$(DEB_HOST_ARCH)" "s390x"
+ ifneq (noopt,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ DEB_BUILD_OPTIONS += noopt
+ endif
+endif
+ # skia build picks up clang if present (for performance reasons,
+ # at least on Windows...). See the thread starting at
+ # https://lists.freedesktop.org/archives/libreoffice/2020-April/084929.html
+ # Make it a explicit build-dependency so we don't have builds
+ # "randomly" using gcc or clang depending on whether clang is installed
+ # or not
+ ifeq "$(ENABLE_SKIA)" "y"
+ ifeq "$(ALLOW_CLANG)" "y"
+ ifeq (ccache,$(findstring ccache,$(DEB_BUILD_OPTIONS)))
+ export CCACHE_CPP2=1
+ endif
+ ifeq "$(CLANG_VERSION)" "default"
+ export LO_CLANG_CC=clang
+ export LO_CLANG_CXX=clang++
+ BUILD_DEPS += , clang (>= 1:8.0.1) [$(filter-out armel ppc64el,$(OOO_LE_ARCHS))]
+ # see #963162, #963167 which apparently don't exist on 11
+ BUILD_DEPS += , clang (>= 1:11) [armel]
+ else
+ export LO_CLANG_CC=clang-$(CLANG_VERSION)
+ export LO_CLANG_CXX=clang++-$(CLANG_VERSION)
+ BUILD_DEPS += , clang-$(CLANG_VERSION) [$(OOO_LE_ARCHS)]
+ endif
+ endif
+ endif
+else
+ ifeq "$(CLANG_VERSION)" "default"
+ BUILD_DEPS += , clang (>= 1:8.0.1)
+ CONFIGURE_FLAGS+= CC=clang CXX=clang++
+ else
+ BUILD_DEPS += , clang-$(CLANG_VERSION)
+ CONFIGURE_FLAGS+= CC=clang-$(CLANG_VERSION) CXX=clang++-$(CLANG_VERSION)
+ endif
+ ifeq "$(ENABLE_COMPILER_PLUGINS)" "y"
+ CONFIGURE_FLAGS += --enable-compiler-plugins
+ CLANGDIR := /usr/lib/llvm-$(shell $(CLANG) --version | head -n 1 | awk '{ print $$3 }' | cut -d. -f1)
+ ifeq "$(CLANG_VERSION)" "default"
+ BUILD_DEPS += , clang (>= 1:12.0.1), libclang-dev (>= 1:12.0.1), llvm-dev (>= 1:12.0.1)
+ else
+ BUILD_DEPS += , libclang-$(CLANG_VERSION)-dev, llvm-$(CLANG_VERSION)-dev
+ endif
+ endif
+endif
+USE_GOLD=n
+ALLOW_GOLD=n
+# leaves cruft around after building because it runs update_pch.sh..
+ENABLE_PCH=n
+
+ifeq "$(USE_DWZ)" "y"
+ BUILD_DEPS += , debhelper (>= 10.10.4)
+ # dwz 0.12-3 claims to have DW_OP_GNU support but still
+ # dwz: debian/libreoffice-core/usr/lib/libreoffice/program/libmergedlo.so: Couldn't find DIE referenced by DW_OP_GNU_parameter_ref
+ # happens
+ BUILD_DEPS += , dwz (>> 0.12-3)
+endif
+
+ifeq "$(PACKAGE_SDK)" "y"
+ CONFIGURE_FLAGS += --enable-odk
+ ifeq "$(PACKAGE_SDK_DOCS)" "y"
+ BUILD_DEPS_INDEP += , doxygen (>= 1.8.4) <!nodoc>, graphviz <!nodoc>
+ else
+ CONFIGURE_FLAGS += --without-doxygen --without-javadoc
+ endif
+endif
+
+ifeq "$(ENABLE_PDFIMPORT)" "y"
+ ifeq "$(ENABLE_POPPLER)" "y"
+ BUILD_DEPS += , libpoppler-dev (>= 0.14.0), libpoppler-private-dev, libpoppler-cpp-dev
+ BUILD_DEPS_ARCH += , poppler-data$(OOO_NO_CHECK_ARCHS) <!nocheck>
+ else
+ CONFIGURE_FLAGS += --disable-poppler
+ endif
+ ifeq "$(ENABLE_PDFIUM)" "n"
+ CONFIGURE_FLAGS += --disable-pdfium
+ else
+ SYSTEM_STUFF += abseil
+ SYSTEM_STUFF += openjpeg
+ ifneq (,$(filter openjpeg, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libopenjp2-7-dev
+ endif
+ ifneq (,$(filter abseil, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libabsl-dev
+ endif
+ endif
+endif
+
+ifneq (,$(filter graphite, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libgraphite2-dev (>= 0.9.3)
+endif
+
+ifneq (,$(filter harfbuzz, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libharfbuzz-dev (>= 2.1.0)
+endif
+
+ifneq (,$(filter libexttextcat, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libexttextcat-dev (>= 3.4.1)
+ TEXTCAT_DATA_RECOMMENDS := libexttextcat-data
+endif
+
+ifneq "$(ENABLE_LDAP)" "y"
+ CONFIGURE_FLAGS += --disable-ldap
+endif
+
+ifneq (,$(filter libnumbertext, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libnumbertext-dev (>= 1.0.6)
+ # https://cgit.freedesktop.org/libreoffice/core/commit/?h=libreoffice-7-3&id=09dfe214a30f58ddcd7a857db8f5eee68d4cef2a
+ BUILD_DEPS_ARCH += , libnumbertext-data (>= 1.0.11) <!nocheck>
+ NUMBERTEXT_DATA_RECOMMENDS := libnumbertext-data
+endif
+
+ifneq (,$(filter jpeg, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libjpeg-dev
+endif
+ifneq (,$(filter libxml, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libxml2-dev (>= 2.8), libxml2-utils
+ BUILD_DEPS += , libxslt1-dev
+else
+ CONFIGURE_FLAGS += --without-system-libxml
+endif
+ifneq (,$(filter xmlsec, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libxmlsec1-dev (>= 1.2.28)
+endif
+ifneq (,$(filter expat, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libexpat1-dev
+endif
+ifneq (,$(filter odbc, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , unixodbc-dev (>= 2.2.11)
+endif
+ifneq (,$(filter sane, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libsane-dev
+endif
+ifneq (,$(filter libpng, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libpng-dev (>= 1.6)
+endif
+
+ifeq "$(ENABLE_CURL)" "y"
+ ifneq (,$(filter curl, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libcurl4-$(CURL_SECTYPE)-dev (>= 7.68)
+ endif
+else
+ CONFIGURE_FLAGS += --disable-curl
+endif
+
+ifneq (,$(filter box2d, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libbox2d-dev
+endif
+
+ifneq (,$(filter libwebp, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libwebp-dev
+endif
+
+ifneq (,$(filter libtiff, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libtiff-dev
+endif
+
+COINMP_MINVER=(>= 1.7.6+dfsg1-2)
+ COINUTILS_MINVER=(>= 2.10.14+repack1-1~)
+ # go sure given #873362
+ COINMP_MINVER=(>= 1.8.3-3)
+ifneq ($(ENABLE_COINMP),y)
+ CONFIGURE_FLAGS += --disable-coinmp
+else
+ ifneq (,$(filter coinmp, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , coinor-libcoinmp-dev $(COINMP_MINVER), coinor-libcoinutils-dev $(COINUTILS_MINVER)
+ endif
+endif
+
+ifneq (,$(filter amd64,$(DEB_HOST_ARCH)))
+ ifneq "$(AUTOPKGTEST_BUILD)" "y"
+ SMALL_SYMBOLS = n
+ endif
+endif
+
+# silence long-obsolete warnings. Should probably be in
+# upstreams makefiles but I failed to get it actually appear...
+ifeq "$(DEB_HOST_ARCH)" "armel"
+ DEB_CXXFLAGS_MAINT_APPEND = -Wno-psabi
+endif
+ifeq "$(DEB_HOST_ARCH)" "armhf"
+ DEB_CXXFLAGS_MAINT_APPEND = -Wno-psabi
+endif
+
+ifeq "$(ENABLE_SYMBOLS)" "y"
+ # Small symbols?
+ ifeq "$(SMALL_SYMBOLS)" "y"
+ CONFIGURE_FLAGS += --enable-symbols=SMALL
+ DEB_CFLAGS_MAINT_STRIP += -g
+ DEB_CXXFLAGS_MAINT_STRIP += -g
+ DEB_CFLAGS_MAINT_PREPEND += -g1
+ DEB_CXXFLAGS_MAINT_PREPEND += -g1
+export DEB_CFLAGS_MAINT_STRIP DEB_CXXFLAGS_MAINT_STRIP
+export DEB_CFLAGS_MAINT_PREPEND DEB_CXXFLAGS_MAINT_PREPEND
+ else
+ CONFIGURE_FLAGS += --enable-symbols
+ endif
+else
+ DEB_CFLAGS_MAINT_STRIP := -g
+ DEB_CXXFLAGS_MAINT_STRIP := -g
+export DEB_CFLAGS_MAINT_STRIP DEB_CXXFLAGS_MAINT_STRIP
+endif
+export DPKG_EXPORT_BUILDFLAGS=y
+include /usr/share/dpkg/buildflags.mk
+ifeq (debug,$(findstring debug,$(DEB_BUILD_OPTIONS)))
+ CONFIGURE_FLAGS += --enable-debug
+endif
+ifeq (noopt,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CONFIGURE_FLAGS += --disable-optimized
+endif
+
+ifeq "$(ENABLE_PYTHON)" "y"
+PYMAJOR:=$(shell $(PYTHON) -c "import sys; print (sys.version_info[0])")
+PYMINOR:=$(shell $(PYTHON) -c "import sys; print (sys.version_info[1])")
+PYMINORPLUS1:=$(shell $(PYTHON) -c "import sys; print (sys.version_info[1]+1)")
+PYTHON_SITE:=debian/python3-uno/$(shell $(PYTHON) -c 'from distutils import sysconfig; print(sysconfig.get_python_lib())')
+endif
+
+ BUILD_DEPS += , $(PYTHON)
+ifeq "$(ENABLE_PYTHON)" "y"
+ BUILD_DEPS += , $(PYTHON)-dev (>= 3.3) <!nopython>
+ BUILD_DEPS += , $(PYTHON)-distutils <!nopython>
+ BUILD_DEPS += , dh-python <!nopython>
+ ifeq "$(RUN_MAKE_CHECK)" "y"
+ ifneq (nocheck,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
+ BUILD_DEPS_ARCH += , $(PYTHON)-lxml$(OOO_NO_CHECK_ARCHS) <!nocheck !nopython>
+ else
+ CONFIGURE_FLAGS += --without-lxml
+ endif
+ endif
+endif
+
+ BUILD_DEPS += , debhelper-compat (= 12)
+ BUILD_DEPS += , dpkg-dev (>= 1.20.1)
+
+ ifeq "$(RUN_MAKE_CHECK)" "y"
+ BUILD_DEPS_ARCH += , locales$(OOO_NO_CHECK_ARCHS) <!nocheck>
+ BUILD_DEPS_ARCH += , gdb$(OOO_NO_CHECK_ARCHS) <!nocheck>
+ BUILD_DEPS_ARCH += , fontconfig$(OOO_NO_CHECK_ARCHS) <!nocheck>
+ BUILD_DEPS_ARCH += , fonts-liberation2$(OOO_NO_CHECK_ARCHS) <!nocheck>
+ BUILD_DEPS_ARCH += , fonts-crosextra-carlito$(OOO_NO_CHECK_ARCHS) <!nocheck>
+ # https://lists.freedesktop.org/archives/libreoffice/2017-May/077764.html
+ BUILD_DEPS_ARCH += , fonts-dejavu$(OOO_NO_CHECK_ARCHS) <!nocheck>
+ # used in vcl/qa/cppunit/text.cxx:void VclTextTest::testImplLayoutArgs_PrepareFallback_precalculatedglyphs()
+ BUILD_DEPS_ARCH += , fonts-kacst$(OOO_NO_CHECK_ARCHS) <!nocheck>
+ # sdext/source/pdfimport/test/tests.cxx (the test PDF uses NaskhArabic) and the result of the import is
+ # checked which fails without the font.
+ BUILD_DEPS_ARCH += , fonts-noto-core$(OOO_NO_CHECK_ARCHS) <!nocheck>
+ # FIXME: Linux Libertine G (does fonts-linuxlibertine even contain it?, I don't see the _G files?)
+ # now is used in test documents.
+ # now we get a abort if fonts is not found and replaced in layout tests (even though
+ # https://cgit.freedesktop.org/libreoffice/core/commit/?id=172270a8f04388a8f8062f672f9c3f3144a01a1f suggests that
+ # it isn't the case in --without-fonts) but... And while we disable that abort via patch having this
+ # to be sure there is no other failure mode makes sense (as with the other fonts above)
+ BUILD_DEPS_ARCH += , fonts-linuxlibertine$(OOO_NO_CHECK_ARCHS) <!nocheck>
+ ifneq (,$(filter cppunit, $(SYSTEM_STUFF)))
+ BUILD_DEPS_ARCH += , libcppunit-dev (>= 1.14)$(OOO_NO_CHECK_ARCHS) <!nocheck>
+ # without the deterministic order patch the xmlsecurity_signing test fails. See
+ # https://cgit.freedesktop.org/libreoffice/core/commit/external/cppunit/order.patch.0?id=2f2246d22e2a8ccbc1dc3e6f5243734a61edf270
+ ifeq "$(ENABLE_LTO)" "y"
+ BUILD_DEPS_ARCH += , libcppunit-dev (>= 1.15.1-4) [$(filter $(OOO_CHECK_ARCHS),$(OOO_64BIT_ARCHS))] <!nocheck>
+ endif
+ endif
+ # 17:35 <@sberg_> vmiklos, oh, what kind of poor test is that? "warn:sal.osl:3785:2:sal/osl/unx/process.cxx:344: ChildStatusProc : starting 'pstoedit' failed" etc. is what I see in workdir/CppunitTest/filter_eps_test.test.log...
+ BUILD_DEPS_ARCH += , pstoedit$(OOO_NO_CHECK_ARCHS) <!nocheck>
+ BUILD_DEPS_ARCH += , imagemagick$(OOO_NO_CHECK_ARCHS) <!nocheck>
+ BUILD_DEPS_ARCH += , ghostscript$(OOO_NO_CHECK_ARCHS) <!nocheck>
+ BUILD_DEPS_ARCH += , hunspell-en-us$(OOO_NO_CHECK_ARCHS) <!nocheck>
+ BUILD_DEPS_ARCH += , hyphen-en-us$(OOO_NO_CHECK_ARCHS) <!nocheck>
+ # we don't run any cppunit check in all builds
+ ifneq "$(AUTOPKGTEST_BUILD)" "y"
+ ifeq ($(MAKECMDGOALS),build-indep)
+ CONFIGURE_FLAGS_INDEP += --without-cppunit
+ endif
+ endif
+ else
+ CONFIGURE_FLAGS += --without-cppunit
+ endif
+ ifeq "$(ENABLE_JUNIT4)" "y"
+ BUILD_DEPS += , junit4 $(JUNIT_MIN_VER) [$(OOO_JUNIT_ARCHS)] <!nocheck !nojava>
+ else
+ CONFIGURE_FLAGS += --without-junit
+ endif
+ ifeq "$(ENABLE_CHART_TESTS)" "y"
+ CONFIGURE_FLAGS += --enable-chart-tests
+ endif
+ ifeq "$(ENABLE_EXPORT_VALIDATION_TESTS)" "y"
+ BUILD_DEPS += , libofficeotron-java$(OOO_NO_CHECK_ARCHS) <!nocheck !nojava>, libodfvalidator-java$(OOO_NO_CHECK_ARCHS) <!nocheck !nojava>
+ else
+ CONFIGURE_FLAGS += --without-export-validation
+ endif
+ifneq "$(BUILD_ONLY_EN_US)" "y"
+ ifeq (lang=,$(findstring lang=,$(DEB_BUILD_OPTIONS)))
+ ISOS=$(shell echo "$(DEB_BUILD_OPTIONS) " | sed -n 's/^.*lang=\([^\s].*\)\s.*/\1/p' | awk '{ print $$1 }' | sed -e 's/,/ /g')
+ ifeq "$(ENABLE_HELP)" "n"
+ HELPISOS=
+ else
+ HELPISOS=$(shell echo "$(DEB_BUILD_OPTIONS) " | sed -n 's/^.*lang=\([^\s].*\)\s.*/\1/p' | awk '{ print $$1 }' | sed -e 's/,/ /g')
+ endif
+ LANGPACKISOS=$(shell echo "$(DEB_BUILD_OPTIONS) " | sed -n 's/^.*lang=\([^\s].*\)\s.*/\1/p' | awk '{ print $$1 }' | sed -e 's/,/ /g')
+ else
+ # Note that the first one here *has to be* en-US. the first one gets
+ # gid_Module_Root as filelist later and the rest gid_Module_Root.$iso
+ # but we can't/shouldn't do dynamic switching, so let en-US be the first
+ # one to that gid_Module_Root always is english and the other langpacks
+ # have gid_Module_Root.$iso
+ #ISOS=$(shell $(SOURCE_TREE)/bin/lo-xlate-lang -i all')
+ ISOS:=en-US af am ar as ast be bg bn br bs ca ca-valencia cs cy da de dz el \
+ en-GB en-ZA eo es et eu fa fi fr ga gd gl gu gug he hi hr hu id is it ja \
+ ka kk km kmr-Latn kn ko lt lv mk mn ml mr nb ne nl nn nr nso oc om or \
+ pa-IN pl pt pt-BR ro ru rw si sk sl sr sr-Latn ss st sv szl \
+ ta te tg th tn tr ts ug uk uz ve vi xh zh-CN zh-TW zu
+ ifeq "$(ENABLE_HELP)" "n"
+ HELPISOS:=
+ else
+ #HELPISOS:=$(shell $(SOURCE_TREE)/bin/lo-xlate-lang -i all')
+ HELPISOS:=en-US ca ca-valencia cs da de dz el en-GB es et eu fi fr gl hi hu id it \
+ ja km ko nl om pl pt pt-BR ru sk sl sv tr vi zh-CN zh-TW
+ endif
+ #LANGPACKISOS:=$(shell $(SOURCE_TREE)/bin/lo-xlate-lang -i all')
+ LANGPACKISOS:=en-US af am ar as ast be bg bn br bs ca ca-valencia cs cy da de dz el \
+ en-GB en-ZA eo es et eu fa fi fr ga gd gl gu gug he hi hr hu id is it ja \
+ ka kk km kmr-Latn kn ko lt lv mk mn ml mr nb ne nl nn nr nso oc om or \
+ pa-IN pl pt pt-BR ro ru rw si sk sl sr sr-Latn ss st sv szl \
+ ta te tg th tn tr ts ug uk uz ve vi xh zh-CN zh-TW zu
+ endif
+else
+ ISOS=en-US
+ ifeq "$(ENABLE_HELP)" "n"
+ HELPISOS=
+ else
+ HELPISOS=en-US
+ endif
+ LANGPACKISOS=en-US
+endif
+BUILD_ISOS = $(ISOS)
+
+ifneq "$(BUILD_ONLY_EN_US)" "y"
+ ifneq "$(BUILD_ISOS)" "en-US"
+ CONFIGURE_FLAGS_LANG += --with-lang="$(BUILD_ISOS)"
+ CONFIGURE_FLAGS_INDEP += $(CONFIGURE_FLAGS_LANG)
+ BUILD_DEPS_INDEP += , gettext
+ endif
+endif
+
+
+ifeq "$(ENABLE_HELP)" "y"
+ifeq "$(ENABLE_HTML_HELP)" "y"
+ ifneq "$(BULLSEYE_BACKPORT)" "y"
+ HELP_COMMON_DEPENDS += , node-prismjs
+ BUILD_DEPS_INDEP += , node-prismjs
+ endif
+ endif
+endif
+
+ifeq "$(ENABLE_JAVA)" "y"
+ BUILD_DEPS += , maven-repo-helper
+ ifeq "$(JDK)" "default"
+ JAVA_HOME=/usr/lib/jvm/default-java
+ BUILD_DEPS += , java-common (>= 0.61) <!nojava>
+ DEFAULT_JDK := $(call java_dependency, default-jdk)
+ # build-depend on 1.9 (upstream needs it anyway for module-info support)
+ BUILD_DEPS += , $(shell echo $(DEFAULT_JDK) | sed -e 's/default-jdk/default-jdk (>= 2:1.9)/') <!nojava>
+ endif
+ ifeq "$(JDK)" "openjdk"
+ BUILD_DEPS += , openjdk-$(JAVA_MAINVER)-jdk <!nojava>
+ JAVA_HOME=/usr/lib/jvm/java-$(JAVA_MAINVER)-openjdk-$(DEB_HOST_ARCH)
+ endif
+ TEST_JAVA_HOME=$(JAVA_HOME)
+ ifeq "$(ENABLE_MEDIAWIKI)" "y"
+ BUILD_DEPS_INDEP += , ant (>= 1.7.0)$(OOO_NO_JAVA_ARCHS) <!nojava>, ant-optional (>= 1.7.0)$(OOO_NO_JAVA_ARCHS) <!nojava>
+ else
+ # report-builder is done in build-arch already
+ ifneq (,$(filter jfreereport, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , ant (>= 1.6.5)$(OOO_NO_JAVA_ARCHS) <!nojava>
+ else
+ BUILD_DEPS_INDEP += , ant (>= 1.6.5)$(OOO_NO_JAVA_ARCHS) <!nojava>
+ endif
+ endif
+ JAVA_RUNTIME_DEPENDS = default-jre (>= 2:1.$(JAVA_RUNTIME_BASELINE))
+ JAVA_RUNTIME_DEPENDS += | java-runtime (>= $(JAVA_RUNTIME_BASELINE)) | java$(JAVA_RUNTIME_BASELINE)-runtime
+ # Suns Java "packages"
+ JAVA_RUNTIME_DEPENDS += | jre
+export JAVA_HOME
+ CONFIGURE_FLAGS += --with-jdk-home=$(JAVA_HOME)
+ JAVA_COMMON_DEPENDS= , libreoffice-java-common
+ JAVA_COMMON_DEPENDS_VERSION:= (>= $(BASE_VERSION)~)
+ ifeq "$(ENABLE_MEDIAWIKI)" "y"
+ CONFIGURE_FLAGS_INDEP += --enable-ext-wiki-publisher
+ endif
+ ifeq "$(ENABLE_REPORTBUILDER)" "y"
+ # report-builder
+ ifneq (,$(filter jfreereport, $(SYSTEM_STUFF)))
+ REPORT_BUILDER_BUILD_DEPS += , libbase-java$(OOO_NO_REPORTBUILDER_ARCHS) <!nojava>, libsac-java$(OOO_NO_REPORTBUILDER_ARCHS) <!nojava>, libxml-java (>= 1.1.6)$(OOO_NO_REPORTBUILDER_ARCHS) <!nojava>, libflute-java (>= 1.1.6)$(OOO_NO_REPORTBUILDER_ARCHS) <!nojava>, libpentaho-reporting-flow-engine-java (>= 0.9.4)$(OOO_NO_REPORTBUILDER_ARCHS) <!nojava>, liblayout-java (>= 0.2.10)$(OOO_NO_REPORTBUILDER_ARCHS) <!nojava>, libloader-java (>= 1.1.6)$(OOO_NO_REPORTBUILDER_ARCHS) <!nojava>, libformula-java (>= 1.1.7)$(OOO_NO_REPORTBUILDER_ARCHS) <!nojava>, librepository-java (>= 1.1.6)$(OOO_NO_REPORTBUILDER_ARCHS) <!nojava>, libfonts-java (>= 1.1.6)$(OOO_NO_REPORTBUILDER_ARCHS) <!nojava>, libserializer-java (>= 1.1.6)$(OOO_NO_REPORTBUILDER_ARCHS) <!nojava>
+ REPORT_BUILDER_JAR_DEPENDS := , libbase-java, libsac-java, libxml-java (>= 1.1.6), libflute-java (>= 1.1.6), libpentaho-reporting-flow-engine-java (>= 0.9.4), liblayout-java (>= 0.2.10), libloader-java (>= 1.1.6), libformula-java (>= 1.1.7), librepository-java (>= 1.1.6), libfonts-java (>= 1.1.6), libserializer-java (>= 1.1.6)
+ CONFIGURE_FLAGS += --with-libbase-jar=/usr/share/java/libbase.jar --with-libxml-jar=/usr/share/java/libxml.jar --with-flute-jar=/usr/share/java/flute.jar --with-jfreereport-jar=/usr/share/java/flow-engine.jar --with-liblayout-jar=/usr/share/java/liblayout.jar --with-libloader-jar=/usr/share/java/libloader.jar --with-libformula-jar=/usr/share/java/libformula.jar --with-librepository-jar=/usr/share/java/librepository.jar --with-libfonts-jar=/usr/share/java/libfonts.jar --with-libserializer-jar=/usr/share/java/libserializer.jar
+ endif
+ BUILD_DEPS += $(REPORT_BUILDER_BUILD_DEPS)
+ else
+ CONFIGURE_FLAGS += --disable-report-builder
+ endif
+ ifeq "$(ENABLE_NLPSOLVER)" "y"
+ CONFIGURE_FLAGS_INDEP += --enable-ext-nlpsolver
+ endif
+ OOO_OFFICEBEAN_DEP = libofficebean-java
+ BUILD_DEPS += , javahelper $(JAVAHELPER_MIN_VERSION) <!nojava>
+else
+ CONFIGURE_FLAGS += --without-java
+ DEBHELPER_OPTIONS += -Nlibreoffice-officebean -Nlibofficebean-java -Nlibreoffice-java-common -Nlibreoffice-script-provider-bsh -Nlibreoffice-script-provider-js -Nlibreoffice-subsequentcheckbase -Nlibofficebean-java -Nlibunoloader-java -Nliblibreoffice-java -Nlibreoffice-sdbc-hsqldb
+endif
+
+ifeq "$(ENABLE_JAVA)" "y"
+ ifeq "$(shell $(JAVA_HOME)/bin/java -version 2>&1 | grep -q Zero && echo true)" "true"
+ #RUN_MAKE_CHECK:=n
+ ENABLE_JUNIT4=n
+ endif
+endif
+
+ifeq "$(ENABLE_NSS)" "y"
+ ifneq (,$(filter nss, $(SYSTEM_STUFF)))
+ BUILD_DEPS+= , libnss3-dev (>= 3.12.3)
+ BUILD_DEPS+= , libnspr4-dev
+ else
+ CONFIGURE_FLAGS += --without-system-nss
+ endif
+else
+ CONFIGURE_FLAGS += --disable-nss
+endif
+
+ifeq "$(USE_UCPP)" "y"
+ ifneq (,$(filter ucpp, $(SYSTEM_STUFF)))
+ IDLC_CPP_DEPENDS := ucpp
+ endif
+else
+ IDLC_CPP_DEPENDS := cpp
+ CONFIGURE_FLAGS += --with-idlc-cpp=cpp
+endif
+ BUILD_DEPS += , $(IDLC_CPP_DEPENDS)
+
+ifneq (,$(filter hunspell, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libhunspell-dev (>= 1.1.5-2)
+endif
+ CONFIGURE_FLAGS += --with-external-dict-dir=$(DICT_DIR)
+
+ifneq (,$(filter altlinuxhyph, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libhyphen-dev (>= 2.4)
+endif
+ CONFIGURE_FLAGS += --with-external-hyph-dir=$(HYPH_DIR)
+
+ifneq (,$(filter boost, $(SYSTEM_STUFF)))
+ ifneq "$(BOOST_VERSION)" "default"
+ BUILD_DEPS += , libboost$(BOOST_VERSION)-dev $(BOOST_MINVER), libboost-date-time$(BOOST_VERSION)-dev $(BOOST_MINVER), libboost-iostreams$(BOOST_VERSION)-dev, libboost-filesystem$(BOOST_VERSION)-dev, libboost-locale$(BOOST_VERSION)-dev
+ #BUILD_DEPS += , libboost-thread$(BOOST_VERSION)-dev, libboost-program-options$(BOOST_VERSION)-dev
+ ifeq (,$(filter orcus, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libboost-system$(BOOST_VERSION)-dev $(BOOST_MINVER), libboost-iostreams$(BOOST_VERSION)-dev $(BOOST_MINVER), libboost-program-options$(BOOST_VERSION)-dev $(BOOST_MINVER), libboost-filesystem$(BOOST_VERSION)-dev $(BOOST_MINVER)
+ endif
+ else
+ BUILD_DEPS += , libboost-dev $(BOOST_MINVER), libboost-date-time-dev $(BOOST_MINVER), libboost-iostreams-dev $(BOOST_MINVER), libboost-filesystem-dev $(BOOST_MINVER), libboost-locale-dev $(BOOST_MINVER)
+ #BUILD_DEPS += , libboost-thread-dev, libboost-program-options-dev
+ ifeq (,$(filter orcus, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libboost-system-dev $(BOOST_MINVER), libboost-iostreams-dev $(BOOST_MINVER), libboost-program-options-dev $(BOOST_MINVER), libboost-filesystem-dev $(BOOST_MINVER)
+ endif
+ endif
+ ifeq "$(shell if [ -e /usr/lib/$(DEB_HOST_MULTIARCH)/libboost_date_time.so ]; then echo true; fi)" "true"
+ CONFIGURE_FLAGS += --with-boost-libdir=/usr/lib/$(DEB_HOST_MULTIARCH)
+ endif
+ ifneq (,$(filter dragonbox, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libdragonbox-dev (>= 1.1.3)
+ endif
+ ifneq (,$(filter libfixmath, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libfixmath-dev
+ endif
+endif
+
+ifneq "$(ENABLE_SKIA)" "y"
+ CONFIGURE_FLAGS += --disable-skia
+endif
+
+ifneq (,$(filter mdds, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libmdds-dev (>= 2.0), libmdds-dev (<< 2.1~)
+endif
+
+ifneq (,$(filter orcus, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , liborcus-dev (>= 0.17.2), liborcus-dev (<< 0.18~)
+endif
+
+ifeq "$(ENABLE_XMLHELP)" "y"
+ ifneq (,$(filter clucene, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libclucene-dev (>= 2.3.3.4-4.1)
+ endif
+endif
+
+ifeq "$(USE_EXTERNAL_CXXLIBS)" "y"
+ ifneq (,$(filter librevenge, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , librevenge-dev, librevenge-dev (<< 0.1~)
+ endif
+ ifneq (,$(filter libwpd, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libwpd-dev (>= 0.10), libwpd-dev (<< 0.11~)
+ endif
+ ifneq (,$(filter mythes, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libmythes-dev (>= 2:1.2)
+ endif
+ ifneq (,$(filter libwps, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libwps-dev (>= 0.4), libwps-dev (<< 0.5~)
+ ifeq "$(RUN_MAKE_CHECK)" "y"
+ BUILD_DEPS_ARCH += , libwps-dev (>= 0.4.12)$(OOO_NO_CHECK_ARCHS) <!nocheck>
+ endif
+ endif
+ ifneq (,$(filter libwpg, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libwpg-dev (>= 0.3), libwpg-dev (<< 0.4~)
+ endif
+ ifneq (,$(filter libvisio, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libvisio-dev (>= 0.1), libvisio-dev (<< 0.2~)
+ endif
+ ifneq (,$(filter libcdr, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libcdr-dev (>= 0.1), libcdr-dev (<< 0.2~)
+ endif
+ ifneq (,$(filter libmspub, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libmspub-dev (>= 0.1), libmspub-dev (<< 0.2~)
+ endif
+ ifneq (,$(filter libmwaw, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libmwaw-dev (>= 0.3.1), libmwaw-dev (<< 0.4~)
+# ifeq "$(RUN_MAKE_CHECK)" "y"
+# BUILD_DEPS_ARCH += , libmwaw-dev (>= 0.3.21)$(OOO_NO_CHECK_ARCHS) <!nocheck>
+ BUILD_DEPS_ARCH += , libmwaw-dev (>= 0.3.21)
+# endif
+ endif
+ ifneq (,$(filter libodfgen, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libodfgen-dev (>= 0.1), libodfgen-dev (<< 0.2~)
+ endif
+ ifneq (,$(filter libepubgen, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libepubgen-dev (>= 0.1.0), libepubgen-dev (<< 0.2~)
+ endif
+ ifneq (,$(filter libetonyek, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libetonyek-dev, libetonyek-dev (<< 0.2~)
+ ifeq "$(RUN_MAKE_CHECK)" "y"
+ BUILD_DEPS_ARCH += , libetonyek-dev (>= 0.1.8)$(OOO_NO_CHECK_ARCHS) <!nocheck>
+ endif
+ endif
+ ifneq (,$(filter libfreehand, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libfreehand-dev (>= 0.1), libfreehand-dev (<< 0.2~)
+ endif
+ ifneq (,$(filter libabw, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libabw-dev (>= 0.1), libabw-dev (<< 0.2~)
+ endif
+ ifneq (,$(filter libpagemaker, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libpagemaker-dev, libpagemaker-dev (<< 0.1~)
+ endif
+ ifneq (,$(filter libzmf, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libzmf-dev, libzmf-dev (<< 0.1~)
+ endif
+ ifneq (,$(filter libstaroffice, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libstaroffice-dev, libstaroffice-dev (<< 0.1~)
+ ifeq "$(RUN_MAKE_CHECK)" "y"
+ BUILD_DEPS_ARCH += , libstaroffice-dev (>= 0.0.3)$(OOO_NO_CHECK_ARCHS) <!nocheck>
+ endif
+ endif
+ ifneq (,$(filter libqxp, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libqxp-dev, libqxp-dev (<< 0.1~)
+ endif
+ ifneq (,$(filter libebook, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libe-book-dev (>= 0.1), libe-book-dev (<< 0.2~)
+ ifeq "$(RUN_MAKE_CHECK)" "y"
+ BUILD_DEPS_ARCH += , libe-book-dev (>= 0.1.2)$(OOO_NO_CHECK_ARCHS) <!nocheck>
+ endif
+ endif
+ ifeq "$(ENABLE_LIBCMIS)" "y"
+ ifneq (,$(filter libcmis, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libcmis-dev (>= 0.5.2~), libcmis-dev (<< 0.6~)
+ endif
+ else
+ CONFIGURE_FLAGS += --disable-libcmis
+ endif
+ ifeq "$(ENABLE_ZXING)" "y"
+ ifneq (,$(filter zxing, $(SYSTEM_STUFF)))
+ # https://cgit.freedesktop.org/libreoffice/core/commit/?id=d53340b2253537104abe6f95c8c63cc74487c3ec
+ BUILD_DEPS += , libzxingcore-dev (>= 1.2.0)
+ endif
+ else
+ CONFIGURE_FLAGS += --disable-zxing
+ endif
+endif
+ CONFIGURE_FLAGS += --with-external-thes-dir=$(THES_DIR)
+
+ifeq "$(INSTALL_APPARMOR_PROFILES)" "y"
+ BUILD_DEPS_INDEP += , dh-apparmor
+ ifeq "$(CHECK_APPARMOR_PROFILES)" "true"
+ BUILD_DEPS_INDEP += , apparmor <!nocheck>
+ endif
+endif
+
+ifeq "$(ENABLE_EOT)" "y"
+ CONFIGURE_FLAGS += --enable-eot
+ ifneq (,$(filter libeot, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libeot-dev
+ endif
+endif
+
+ifneq (,$(filter lcms2, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , liblcms2-dev
+endif
+
+ifneq (,$(filter openldap, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libldap2-dev
+endif
+
+ifneq (,$(filter liblangtag, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , liblangtag-dev (>= 0.4)
+endif
+
+ifneq (,$(filter icu, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libicu-dev (>= 52)
+endif
+
+
+ifeq "$(BUILD_CAIROCANVAS)" "y"
+ ifneq (,$(filter cairo, $(SYSTEM_STUFF)))
+ BUILD_DEPS+= , libcairo2-dev
+ endif
+else
+ CONFIGURE_FLAGS+= --disable-cairo
+endif
+
+ifeq "$(ENABLE_KF5)" "y"
+ CONFIGURE_FLAGS += --enable-kf5
+ BUILD_DEPS += , libkf5coreaddons-dev, libkf5i18n-dev, libkf5config-dev, libkf5windowsystem-dev, libkf5kio-dev
+endif
+ PLASMA_ICONSET_DEP=libreoffice-style-breeze
+ifeq "$(ENABLE_QT5)" "y"
+ CONFIGURE_FLAGS += --enable-qt5
+ BUILD_DEPS += , qtbase5-dev $(QT5_MINVER), qt5-qmake $(QT5_MINVER), qtbase5-dev-tools $(QT5_MINVER)
+ BUILD_DEPS += , libqt5x11extras5-dev $(QT5_MINVER)
+ BUILD_DEPS += , libglib2.0-dev (>= 2.4)
+ BUILD_DEPS += , libxcb1-dev
+ BUILD_DEPS += , libxcb-icccm4-dev
+endif
+ifeq "$(ENABLE_QT6)" "y"
+ CONFIGURE_FLAGS += --enable-qt6
+ BUILD_DEPS += , qt6-base-dev $(QT6_MINVER), qmake6 $(QT6_MINVER), qt6-base-dev-tools $(QT6_MINVER)
+ BUILD_DEPS += , libxcb1-dev
+endif
+
+ifeq "$(ENABLE_MARIADB)" "y"
+ ifeq "$(MYSQL_FLAVOUR)" "default"
+ BUILD_DEPS += , default-libmysqlclient-dev
+ else
+ ifeq "$(MYSQL_FLAVOUR)" "mysql"
+ ifneq (,$(filter mariadb, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libmysqlclient-dev
+ endif
+ MARIADBCONFIG=/usr/bin/mysql_config
+ endif
+ ifeq "$(MYSQL_FLAVOUR)" "mariadb"
+ ifneq (,$(filter mariadb, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libmariadb-dev
+ endif
+ MARIADBCONFIG=/usr/bin/mariadb_config
+ endif
+ endif
+else
+ CONFIGURE_FLAGS += --disable-mariadb-sdbc
+ DEBHELPER_OPTIONS += -Nlibreoffice-sdbc-mysql
+endif
+
+ifeq "$(ENABLE_FIREBIRD)" "y"
+ BASE_FIREBIRD_RECOMMENDS = libreoffice-sdbc-firebird [$(OOO_FIREBIRD_ARCHS)]
+ ifneq (,$(filter libatomic-ops, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libatomic-ops-dev (>= 7.3~alpha1+git20110913-1)$(OOO_NO_FIREBIRD_ARCHS)
+ endif
+ ifneq (,$(filter libtommath, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libtommath-dev$(OOO_NO_FIREBIRD_ARCHS)
+ endif
+ ifneq (,$(filter firebird, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , firebird-dev (>= 3.0.0.32483.ds4-4)$(OOO_NO_FIREBIRD_ARCHS)
+ # we need libEngine12.so
+ ifeq "$(RUN_MAKE_CHECK)" "y"
+ BUILD_DEPS_ARCH += , firebird3.0-server-core $(OOO_NO_FIREBIRD_ARCHS) <!nocheck>
+ endif
+ FIREBIRD_ENGINE_DEPENDS += firebird3.0-server-core
+ endif
+else
+ CONFIGURE_FLAGS += --disable-firebird-sdbc
+ DEBHELPER_OPTIONS += -Nlibreoffice-sdbc-firebird
+endif
+
+ifeq "$(BUILD_GTK3)" "y"
+ BUILD_DEPS += , libgtk-3-dev (>= 3.20.0), libglib2.0-dev (>= 2.38.0)
+ ifneq (cairo,$(findstring cairo,$(SYSTEM_STUFF)))
+ $(error GTK3 build fails without system-cairo!!)
+ endif
+ ifeq (,$(filter epoxy, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libegl1-mesa-dev
+ endif
+ GNOME_GTK_RECOMMENDS += libreoffice-gtk3
+ ifeq "$(ENABLE_INTROSPECTION)" "y"
+ BUILD_DEPS += , gobject-introspection (>= 1.32.0), libgirepository1.0-dev (>= 1.32)
+ CONFIGURE_FLAGS += --enable-introspection
+ else
+ DEBHELPER_OPTIONS+= -Ngir1.2-lokdocview-0.1
+ endif
+endif
+
+ifeq "$(BUILD_GTK4)" "y"
+ BUILD_DEPS += , libgtk-4-dev, libglib2.0-dev (>= 2.38.0), libcairo2-dev, libatk1.0-dev
+ CONFIGURE_FLAGS += --enable-gtk4
+endif
+
+ifeq "$(ENABLE_EVO2)" "n"
+ CONFIGURE_FLAGS += --disable-evolution2
+ DEBHELPER_OPTIONS += -Nlibreoffice-evolution
+else
+ CONFIGURE_FLAGS += --enable-evolution2
+ BUILD_DEPS += , libebook1.2-dev
+ LIBEBOOK_DEP = $(shell debian/scripts/get_libebook_dep.sh)
+endif
+
+ifeq "$(ENABLE_SDBC_POSTGRESQL)" "y"
+ ifneq (,$(filter postgresql, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libpq-dev (>= 9.0~)
+ else
+ BUILD_DEPS += , libkrb5-dev
+ endif
+else
+ CONFIGURE_FLAGS += --disable-postgresql-sdbc
+ DEBHELPER_OPTIONS += -Nlibreoffice-sdbc-postgresql
+endif
+
+ifeq "$(ENABLE_RANDR)" "y"
+ BUILD_DEPS += , libxrandr-dev
+else
+ CONFIGURE_FLAGS += --disable-randr
+endif
+
+ifneq "$(ENABLE_PYTHON)" "y"
+ DEBHELPER_OPTIONS+= -Npython3-uno -Nlibreoffice-script-provider-python -Npython3-access2base
+ CONFIGURE_FLAGS += --disable-python
+else
+ PYUNO_DEPENDS = python3-uno (>= 4.4.0~beta2)
+ CONFIGURE_FLAGS += --enable-python=system
+endif
+
+ifneq "$(PACKAGE_LIBRELOGO)" "y"
+ DEBHELPER_OPTIONS+= -Nlibreoffice-librelogo
+ CONFIGURE_FLAGS += --disable-librelogo
+endif
+
+ifeq "$(ENABLE_JAVA)" "y"
+ ifneq (,$(filter hsqldb, $(SYSTEM_STUFF)))
+ HSQLDB_MINVER= (>> 1.8.0.10)
+ HSQLDB_JAR=/usr/share/java/hsqldb1.8.0.jar
+ BUILD_DEPS += , libhsqldb1.8.0-java $(HSQLDB_MINVER)$(OOO_NO_JAVA_ARCHS) <!nojava>, libarchive-zip-perl$(OOO_NO_JAVA_ARCHS) <!nojava>
+ BASE_HSQLDB_DEPENDS = libhsqldb1.8.0-java $(HSQLDB_MINVER)
+ CONFIGURE_FLAGS += --with-hsqldb-jar=$(HSQLDB_JAR)
+ else
+ BUILD_DEPS += , libservlet3.1-java <!nojava>
+ endif
+ ifeq "$(ENABLE_SCRIPT_PROVIDER_BSH)" "y"
+ ifneq (,$(filter beanshell, $(SYSTEM_STUFF)))
+ BUILD_DEPS_INDEP += , libbsh-java <!nojava>
+ endif
+ CONFIGURE_FLAGS += --enable-scripting-beanshell
+ else
+ CONFIGURE_FLAGS += --disble-scripting-beanshell
+ DEBHELPER_OPTIONS += -Nlibreoffice-script-provider-bsh
+ endif
+ ifeq "$(ENABLE_SCRIPT_PROVIDER_JS)" "y"
+ CONFIGURE_FLAGS += --enable-scripting-javascript
+ else
+ CONFIGURE_FLAGS += --disable-scripting-javascript
+ DEBHELPER_OPTIONS += -Nlibreoffice-script-provider-js
+ endif
+endif
+
+ifneq (,$(filter lpsolve, $(SYSTEM_STUFF)))
+ ifeq "$(USE_SHARED_LPSOLVE)" "y"
+ BUILD_DEPS += , liblpsolve55-dev $(LPSOLVE_MIN_VERSION), lp-solve $(LPSOLVE_MIN_VERSION)
+ LPSOLVE_DEP = lp-solve $(LPSOLVE_MIN_VERSION)
+ else
+ BUILD_DEPS += , liblpsolve55-dev $(LPSOLVE_MIN_VERSION)
+ endif
+ ifeq "$(USE_LIBSUITESPARSE)" "y"
+ BUILD_DEPS += , libsuitesparse-dev $(SUITESPARSE_MIN_VERSION)
+ else
+ BUILD_DEPS += , libufsparse-dev
+ endif
+endif
+
+ifeq "$(USE_DBUS)" "y"
+ BUILD_DEPS += , libdbus-1-dev (>= 0.60)
+ CONFIGURE_FLAGS += --enable-dbus
+ ifeq "$(ENABLE_BLUETOOTH)" "y"
+ BUILD_DEPS += , libglib2.0-dev (>= 2.4)
+ ifneq (,$(filter bluez, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libbluetooth-dev [linux-any]
+ endif
+ else
+ CONFIGURE_FLAGS += --disable-sdremote-bluetooth
+ endif
+ ifeq "$(ENABLE_PACKAGEKIT)" "y"
+ CONFIGURE_FLAGS += --enable-packagekit
+ endif
+endif
+
+ifeq "$(ENABLE_AVAHI)" "y"
+ BUILD_DEPS += , libavahi-client-dev
+ CONFIGURE_FLAGS += --enable-avahi
+endif
+
+ifeq "$(USE_GSTREAMER)" "y"
+ BUILD_DEPS += , libgstreamer1.0-dev
+ CONFIGURE_FLAGS += --enable-gstreamer-1-0
+ BUILD_DEPS += , libgstreamer-plugins-base1.0-dev
+ GSTREAMER_PLUGINS_SUGGESTS += , gstreamer1.0-plugins-base, gstreamer1.0-plugins-good, gstreamer1.0-plugins-ugly, gstreamer1.0-plugins-bad, gstreamer1.0-libav
+else
+ CONFIGURE_FLAGS += --disable-gstreamer-1-0
+endif
+
+ifeq "$(ENABLE_WEBDAV)" "y"
+ ifneq (,$(filter curl, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libcurl4-$(CURL_SECTYPE)-dev (>= 7.68)
+ endif
+ ENABLE_CURL=y
+else
+ CONFIGURE_FLAGS += --with-webdav=no
+endif
+
+ENABLE_SAL_OPENSSL_BACKEND=n
+ifneq "$(ENABLE_SAL_OPENSSL_BACKEND)" "y"
+ ifneq (,$(filter mariadb, $(SYSTEM_STUFF)))
+ ifneq (,$(filter postgresql, $(SYSTEM_STUFF)))
+ CONFIGURE_FLAGS += --disable-openssl
+ endif
+ endif
+else
+ CONFIGURE_FLAGS += --enable-cipher-openssl-backend
+ SYSTEM_STUFF += openssl
+ BUILD_DEPS += , libssl-dev
+endif
+
+SYSTEM_STUFF += lockfile
+ifneq (,$(filter lockfile, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , liblockfile-bin
+endif
+
+ifneq (,$(filter redland, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , librdf0-dev (>= 1.0.16-2)
+endif
+
+ifeq "$(ENABLE_GUI)" "y"
+ ifneq (,$(filter epoxy, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libepoxy-dev (>= 1.2)
+ else
+ BUILD_DEPS += , libegl1-mesa-dev
+ endif
+endif
+ifneq (,$(filter glm, $(SYSTEM_STUFF)))
+ BUILD_DEPS += , libglm-dev (>= 0.9.9~a2)
+endif
+
+ifneq (,$(filter gpgmepp, $(SYSTEM_STUFF)))
+ BUILD_DEPS+= , libgpgmepp-dev (>= 1.14), libgpgme-dev, libgpg-error-dev
+endif
+ifeq "$(RUN_MAKE_CHECK)" "y"
+ BUILD_DEPS_ARCH += , gpg$(OOO_NO_CHECK_ARCHS) <!nocheck>
+ BUILD_DEPS_ARCH += , gpgconf$(OOO_NO_CHECK_ARCHS) <!nocheck>
+ BUILD_DEPS_ARCH += , gpg-agent$(OOO_NO_CHECK_ARCHS) <!nocheck>
+endif
+
+ifeq "$(ENABLE_GIO)" "y"
+ ifneq "$(BUILD_GTK3)" "y"
+ BUILD_DEPS += , libglib2.0-dev (>= 2.26.0)
+ endif
+else
+ CONFIGURE_FLAGS += --disable-gio
+endif
+
+ifeq "$(ENABLE_DCONF)" "y"
+ BUILD_DEPS += , libdconf-dev (>= 0.15.2)
+else
+ CONFIGURE_FLAGS += --disable-dconf
+endif
+
+ifeq ($(ENABLE_MERGELIBS),y)
+ CONFIGURE_FLAGS += --enable-mergelibs
+endif
+
+ifeq ($(ENABLE_LTO),y)
+ CONFIGURE_FLAGS += --enable-lto
+ # see https://lists.debian.org/debian-devel-changes/2021/11/msg02548.html
+ BUILD_DEPS += , binutils (>= 2.37-9) [ppc64]
+endif
+# go sure. if we explicitely disable LTO when it is enabled we don't want it to sneak in
+# (and vice-versa). See https://lists.debian.org/debian-devel/2022/06/msg00092.html
+ifeq ($(ENABLE_LTO),y)
+export DEB_BUILD_MAINT_OPTIONS=optimize=+lto
+# honour parallel=X. We can just remove the auto here (coming from dpkg-buildflags)
+# since upstream already adds -flto=jobserver (honouring PARALLEL already).
+# Replacing -flto=auto doesn't work since clang doesn't understand -flto=X (except thin)
+DEB_CFLAGS_MAINT_STRIP += -flto=auto
+DEB_CXXFLAGS_MAINT_STRIP += -flto=auto
+DEB_LDFLAGS_MAINT_STRIP += -flto=auto
+# save space
+ifeq "$(SMALL_SYMBOLS)" "y"
+DEB_CFLAGS_MAINT_STRIP += -ffat-lto-objects
+DEB_CXXFLAGS_MAINT_STRIP += -ffat-lto-objects
+DEB_LDFLAGS_MAINT_STRIP += -ffat-lto-objects
+endif
+export DEB_CFLAGS_MAINT_STRIP DEB_CXXFLAGS_MAINT_STRIP DEB_LDFLAGS_MAINT_STRIP
+export DEB_CFLAGS_MAINT_APPEND DEB_CXXFLAGS_MAINT_APPEND DEB_LDFLAGS_MAINT_APPEND
+else
+export DEB_BUILD_MAINT_OPTIONS=optimize=-lto
+endif
+
+ifeq ($(USE_GOLD),y)
+ CONFIGURE_FLAGS += --enable-ld=gold
+else
+ # --enable-ld=gold is default for debug builds if found
+ # FIXME: Should we allow gold here nevertheless? configure
+ # prints the following with --disable-ld:
+ # * WARNING : Linker is not capable of creating gdb index, debugger startup will be slow
+ ifeq (debug,$(findstring debug,$(DEB_BUILD_OPTIONS)))
+ ifneq "$(ALLOW_GOLD)" "y"
+ CONFIGURE_FLAGS += --disable-ld
+ endif
+ endif
+endif
+ifneq (,$(findstring mips,$(DEB_HOST_ARCH)))
+#10:46 < _rene_> can anyone shed a light on /<<PKGBUILDDIR>>/workdir/LinkTarget/Executable/bestreversemap: error while loading shared libraries:
+# /<<PKGBUILDDIR>>/instdir/program/libuno_sal.so.3: ELF file ABI version invalid? both were built in the same LO build
+#10:47 < _rene_> mips64el, apparently since gcc9 or new(er) binutils?
+#10:47 < _rene_> on an other binary:
+#10:47 < _rene_> file /home/rene/libreoffice-6.3.1~rc2/instdir/program/libunoidllo.so
+# /home/rene/libreoffice-6.3.1~rc2/instdir/program/libunoidllo.so: ELF 64-bit LSB shared object, MIPS, MIPS64 rel2 version 1 (SYSV),
+# dynamically linked, BuildID[sha1]=82f15433db9000b9dfee24ed07e2082ffb439dfd, with debug_info, not stripped
+#10:47 < _rene_> (eller, mips64el chroot)
+#[...]
+#13:49 < aurel32> _rene_: the problem is the ABI version, ie those library have Version ABI: 5 instead of 0 for normal binaries
+#13:50 < aurel32> the ABI version 5 will be used for gnu hash support in mips
+#13:51 < aurel32> support has been added to binutils trunk recently, although the default is still sysv hash style
+#13:51 < aurel32> and glibc support is still being reviewed, it might land in 2.31
+#13:51 < aurel32> previous version of libreoffice used -Wl,--hash-style=sysv
+#13:52 < aurel32> now it seems it autodetect that binutils has gnu hash support and it passes -Wl,--hash-style=gnu
+#13:52 < aurel32> but there is no support for the full toolchain yet
+#13:54 < _rene_> so I need to force -Wl,--hash-style=sysv?
+#13:54 < aurel32> --with-linker-hash-style
+#13:54 < aurel32> Use linker with --hash-style=<style> when linking
+#13:54 < aurel32> shared objects. Possible values: "sysv", "gnu",
+#13:54 < aurel32> "both". The default value is "gnu" if supported on
+#13:55 < aurel32> the build system, and "sysv" otherwise.
+#13:55 < aurel32> it looks like that the hash style detection is not perfect
+#13:55 < aurel32> _rene_: that should work indeed
+#13:55 < _rene_> ok, thanks
+#[...]
+#14:01 < _rene_> aurel32: only mips64el affected or also mipsel?
+#14:01 < _rene_> (mipsel is still building, though, so I assume it isn't)
+#14:02 < aurel32> afaiu both should be affected
+#14:03 < _rene_> ok, so I will make it $(findstring mips
+#14:04 < aurel32> on mipsel: checking for --hash-style gcc linker support... sysv
+#14:04 < aurel32> maybe the detection works better, anyway forcing it on both looks safer
+ CONFIGURE_FLAGS += --with-linker-hash-style=sysv
+endif
+
+ifeq "$(ENABLE_PCH)" "y"
+ CONFIGURE_FLAGS += --enable-pch
+endif
+
+# Use compiler cache? Include ccache in DEB_BUILD_OPTIONS for much faster rebuild times
+# A complete build uses about 9G of compiler cache.
+ifneq (ccache,$(findstring ccache,$(DEB_BUILD_OPTIONS)))
+ CONFIGURE_FLAGS += --disable-ccache
+else
+ CONFIGURE_FLAGS += --enable-ccache=nodepend
+endif
+
+## Build n projects in parallel?
+## DEB_BUILD_OPTIONS=parallel=<n>
+## if not specified LibreOffices configure tries to find it out itself
+include /usr/share/dpkg/buildopts.mk
+NUM_CPUS=$(DEB_BUILD_OPTION_PARALLEL)
+AVAIL_CPUS := $(shell getconf _NPROCESSORS_ONLN 2>/dev/null || echo 1)
+ifeq "$(PARALLEL_BUILD)" "y"
+ # we need to specify it only if it differs, otherwise configure autodetects
+ # it.
+ ifneq "$(NUM_CPUS)" "$(AVAIL_CPUS)"
+ CONFIGURE_FLAGS += --with-parallelism=$(NUM_CPUS)
+ endif
+else
+ CONFIGURE_FLAGS += --without-parallelism
+endif
+
+ifeq ($(GCC_VERSION),snapshot)
+ BUILD_PATH = /usr/lib/gcc-snapshot/bin:$$PATH
+ BUILD_LD_LIBRARY_PATH = /usr/lib/gcc-snapshot/lib:$$LD_LIBRARY_PATH
+ BUILD_DEPS += , gcc-snapshot
+else
+ BUILD_PATH = $(CURDIR)/debian/usr/bin:$$PATH
+endif
+BUILD_PATH := $(CURDIR)/debian/usr/bin:$(BUILD_PATH)
+
+# Because of the stampdir magic, when you actually want to run a rule
+# over, you would have to remove the stamp manually. Now, just do
+# 'debian/rules <target> <target> ... FORCE=1', and the stamp files
+# that match the given targets will be removed automagically.
+stampdir_targets+=prepare
+stampdir_targets+=build build-arch build-indep maintscripts
+stampdir_targets+=install-common install-arch install-indep langpacks
+stampdir_targets+=binary-arch binary-indep
+ifdef FORCE
+ DUMMY:=$(shell rm -f $(patsubst %,$(STAMP_DIR)/%,$(filter $(stampdir_targets),$(MAKECMDGOALS))))
+endif
+
+# If this is defined, then none of the 'long' commands will be run. Useful
+# for testing.
+# test_rules=1
+
+# Since the final stages use up a large amount of diskspace, provide targets to
+# remove them without needing a full rebuild
+
+# Clean up the package directories (about 830M)
+clean-debdir:
+ dh_testdir
+ # remove generated symlinks / java wrappers
+ rm -rf debian/usr
+
+ find debian -name "*.links" ! -name "libreoffice-dev-doc.links" \
+ ! -name "libreoffice-java-common.links" \
+ ! -name "liblibreofficekitgtk.links" \
+ ! -name "libreoffice-help-common.links" \
+ ! -name "python3-access2base.links" -exec rm {} \;
+ rm -f debian/libreoffice-l10n-*.ucf
+ if [ -d "$(STAMP_DIR)" ]; then rm -rf "$(STAMP_DIR)"; fi
+ rm -f debian/*.bug-script
+
+ rm -f debian/shlibs.local
+
+ rm -f debian/libreoffice-help-*.lintian-overrides
+ rm -f debian/*.install debian/*.dirs debian/*.changelog
+ rm -f debian/*.postinst debian/*.postrm debian/*.preinst debian/*.prerm debian/*.triggers
+ rm -f debian/pom*.xml
+
+ rm -rf $(CURDIR)/debian/locales
+
+ifeq "$(ENABLE_JAVA)" "y"
+ mh_clean
+endif
+ dh_clean
+
+clean:
+ dh_testroot
+ dh_testdir
+
+ if [ -f config.status ]; then \
+ $(MAKE) distclean; \
+ rm -f config.status; \
+ fi
+ rm -rf instdir-nogui
+ find $(SOURCE_TREE) -name "*.pyc" -exec rm {} \;
+ rm -rf */*.pro.obsolete
+
+ rm -rf $(SOURCE_TREE)/file-lists
+ rm -rf $(SOURCE_TREE)/pyuno-for*
+ rm -f autogen.lastrun
+ rm -f build_error.log
+ rm -f config/config_version.h
+
+ifeq "$(HELPISOS)" ""
+ rm -rf images*
+endif
+
+ rm -f download.list
+
+ rm -f extras/source/truetype/symbol/opens___.ttf
+
+ # obsolete lock file not cleaned up....
+ rm -f dbaccess/qa/extras/testdocuments/fdo84315.odb.lck
+
+ cd $(SOURCE_TREE)/helpcontent2/help3xsl && \
+ rm -f normalize.css
+ifneq "$(BULLSEYE_BACKPORT)" "y"
+ cd $(SOURCE_TREE)/helpcontent2/help3xsl && \
+ rm -f prism.js && \
+ rm -f prism.css
+endif
+
+ # Files created in debian directory
+ $(MAKE) -f debian/rules clean-debdir
+
+ $(MAKE) -f debian/rules control
+
+
+# Generate control files, because we have so many different languages
+# and need to run autopkgtests based on Architectures
+control: debian/control debian/tests/control
+
+# Based on script by Martin Quinson <Martin.Quinson@tuxfamily.org>
+debian/control: $(wildcard debian/control*in) $(SOURCE_TREE)/bin/lo-xlate-lang debian/rules
+ chmod 755 $(SOURCE_TREE)/bin/lo-xlate-lang
+ sed -e "s#%$(DEB_VENDOR)=\([^%]*\)%#, \1#g#" \
+ -e "s#%[A-Za-z]*=[^%]*%##g#" \
+ -e "s#%BUILD_DEPS_ARCH%#$(strip $(BUILD_DEPS_ARCH))#g" \
+ -e "s#%BUILD_DEPS_INDEP%#$(strip $(BUILD_DEPS_INDEP))#g" \
+ -e "s#@BUGS@#$(BUGS)#g" \
+ < debian/control.in > debian/control
+
+ for LNUM in $(filter-out en-US,$(LANGPACKISOS)) ; do \
+ LNAME=`$(SOURCE_TREE)/bin/lo-xlate-lang -l $$LNUM | perl -e 'print ucfirst(<STDIN>);'`; \
+ LCODE=`$(SOURCE_TREE)/bin/lo-xlate-lang -i $$LNUM | tr A-Z a-z`; \
+ [ "$$LNUM" = ca-valencia ] && continue; \
+ [ "$$LNUM" = sr-Latn ] && continue; \
+ [ "$$LCODE" = kmr-latn ] && LCODE=kmr; \
+ CCODE=`echo $$LCODE | sed 's/-.*//'`; \
+ case "$$LCODE" in \
+ bn) \
+ FONT_RECOMMENDS=", fonts-beng"; \
+ ;; \
+ gu) \
+ FONT_RECOMMENDS=", fonts-gujr"; \
+ ;; \
+ pa-in) \
+ FONT_RECOMMENDS=", fonts-guru"; \
+ ;; \
+ ml) \
+ FONT_RECOMMENDS=", fonts-mlym"; \
+ ;; \
+ or) \
+ FONT_RECOMMENDS=", fonts-orya"; \
+ ;; \
+ te) \
+ FONT_RECOMMENDS=", fonts-telu"; \
+ ;; \
+ ta) \
+ FONT_RECOMMENDS=", fonts-taml"; \
+ ;; \
+ hi-in|ne|mr) \
+ FONT_RECOMMENDS=", fonts-deva"; \
+ ;; \
+ he) \
+ FONT_RECOMMENDS=", culmus"; \
+ ;; \
+ km) \
+ FONT_RECOMMENDS=", fonts-khmeros"; \
+ ;; \
+ ar) \
+ FONT_RECOMMENDS=", fonts-kacst, fonts-hosny-amiri, fonts-sil-scheherazade, fonts-hosny-thabit"; \
+ ;; \
+ fa) \
+ FONT_RECOMMENDS=", fonts-farsiweb"; \
+ ;; \
+ dz) \
+ FONT_RECOMMENDS=", fonts-dzongkha"; \
+ ;; \
+ th) \
+ FONT_RECOMMENDS=", fonts-thai-tlwg"; \
+ ;; \
+ *) \
+ FONT_RECOMMENDS= ;; \
+ esac; \
+ case "$$LCODE" in \
+ rw) \
+ LOCALES_DEPENDS="locales (>= 2.3.6) | locales-all (>= 2.3.6)" \
+ ;; \
+ ss|ts|km|ns|tn) \
+ LOCALES_DEPENDS="locales (>= 2.3.5-12) | locales-all" \
+ ;; \
+ sr) \
+ LOCALES_DEPENDS="locales (>= 2.3.6.ds1-5) | locales-all" \
+ ;; \
+ as|or|nr) \
+ LOCALES_DEPENDS="locales (>= 2.3.6.ds1-1) | locales-all (>= 2.3.6.ds1-1)" \
+ ;; \
+ sw) \
+ LOCALES_DEPENDS="locales (>= 2.13-5) | locales-all (>= 2.13-5)" \
+ ;; \
+ *) \
+ LOCALES_DEPENDS="locales | locales-all" \
+ ;; \
+ esac; \
+ sed -e "s|@LNAME@|$$LNAME|g" -e "s|@LCODE@|$$LCODE|g" \
+ -e "s|@CCODE@|$$CCODE|g" \
+ -e "s|@FONT_RECOMMENDS@|$$FONT_RECOMMENDS|g" \
+ -e "s:@LOCALES_DEPENDS@:$$LOCALES_DEPENDS:g" \
+ -e "s|@LDAP_LIB@|$(LDAP_LIB)|g" \
+ >> debian/control < debian/control.lang.in; \
+ done
+
+ifneq "$(ENABLE_HELP)" "n"
+ for LNUM in $(HELPISOS) ; do \
+ LNAME=`$(SOURCE_TREE)/bin/lo-xlate-lang -l $$LNUM | perl -e 'print ucfirst(<STDIN>);'`; \
+ LCODE=`$(SOURCE_TREE)/bin/lo-xlate-lang -i $$LNUM | tr A-Z a-z`; \
+ [ "$$LNUM" = ca-valencia ] && continue; \
+ CCODE=`echo $$LCODE | sed 's/-.*//'`; \
+ sed -e "s|@LNAME@|$$LNAME|g" -e "s|@LCODE@|$$LCODE|g" \
+ -e "s|@CCODE@|$$CCODE|g" \
+ >> debian/control < debian/control.help.in; \
+ done
+ # en_US is in -common
+ perl -pi -e 's|(Depends: libreoffice-writer \| language-support-translations-en), libreoffice-l10n-en-us|\1|' \
+ debian/control
+ perl -pi -e 's|(Depends: libreoffice-writer, libreoffice-l10n-en-us)|\1, fonts-deva|' \
+ debian/control
+endif
+ cat debian/control.ure.in >> debian/control
+ifeq "$(ENABLE_JAVA)" "y"
+ ifeq "$(ENABLE_MEDIAWIKI)" "y"
+ cat debian/control.mediawiki.in >> debian/control
+ endif
+ ifeq "$(ENABLE_REPORTBUILDER)" "y"
+ cat debian/control.reportbuilder.in >> debian/control
+ endif
+ ifeq "$(ENABLE_NLPSOLVER)" "y"
+ cat debian/control.nlpsolver.in >> debian/control
+ endif
+endif
+ cat debian/control.fonts.in >> debian/control
+ifeq "$(PACKAGE_SDK)" "y"
+ cat debian/control.sdk.in >> debian/control
+endif
+ifeq "$(PACKAGE_LOKIT)" "y"
+ cat debian/control.lokit.in >> debian/control
+endif
+ifeq "$(BUILD_GTK3)" "y"
+ cat debian/control.gtk3.in >> debian/control
+endif
+ifeq "$(BUILD_GTK4)" "y"
+ cat debian/control.gtk4.in >> debian/control
+endif
+ifeq "$(ENABLE_KF5)" "y"
+ cat debian/control.kf5.in >> debian/control
+endif
+ifeq "$(ENABLE_QT5)" "y"
+ cat debian/control.qt5.in >> debian/control
+endif
+ifeq "$(ENABLE_QT6)" "y"
+ cat debian/control.qt6.in >> debian/control
+endif
+ifeq "$(BUILD_PLASMA)" "y"
+ cat debian/control.plasma.in >> debian/control
+endif
+ cat debian/control.postgresql.in >> debian/control
+ifeq "$(ENABLE_EVO2)" "y"
+ cat debian/control.evolution.in >> debian/control
+endif
+ cat debian/control.test-packages.in >> debian/control
+ifeq "$(PACKAGE_LIBRELOGO)" "y"
+ cat debian/control.librelogo.in >> debian/control
+endif
+ cat debian/control.firebird.in >> debian/control
+
+ perl -pi -e "s,%OOO_ARCHS%,$(OOO_ARCHS),g" debian/control
+ perl -pi -e "s,%OOO_NOGUI_ARCHS%,$(OOO_NOGUI_ARCHS),g" debian/control
+ perl -pi -e "s,%OOO_64BIT_ARCHS%,$(OOO_64BIT_ARCHS),g" debian/control
+ perl -pi -e "s,%OOO_BE_ARCHS%,$(OOO_BE_ARCHS),g" debian/control
+ perl -pi -e "s,%OOO_LE_ARCHS%,$(OOO_LE_ARCHS),g" debian/control
+ perl -pi -e "s,%OOO_BASE_ARCHS%,$(OOO_BASE_ARCHS),g" debian/control
+ perl -pi -e "s,%OOO_NO_BASE_ARCHS%,$(OOO_NO_BASE_ARCHS),"g debian/control
+ perl -pi -e "s,%OOO_JAVA_ARCHS%,$(OOO_JAVA_ARCHS),g" debian/control
+ perl -pi -e "s,%OOO_ARCH_DEP_EXTENSIONS_ARCHS%,$(OOO_ARCH_DEP_EXTENSIONS_ARCHS),g" debian/control
+ perl -pi -e "s,%OOO_REPORTBUILDER_ARCHS%,$(OOO_REPORTBUILDER_ARCHS),g" debian/control
+ perl -pi -e "s,%OOO_NO_REPORTBUILDER_ARCHS%,$(OOO_NO_REPORTBUILDER_ARCHS),g" debian/control
+ perl -pi -e "s,%OOO_FIREBIRD_ARCHS%,$(OOO_FIREBIRD_ARCHS),g" debian/control
+ perl -pi -e "s,%OOO_NO_FIREBIRD_ARCHS%,$(OOO_NO_FIREBIRD_ARCHS),g" debian/control
+ perl -pi -e "s#%BUILD_DEPS%#$(strip $(BUILD_DEPS))#g" debian/control
+ perl -pi -e "s#%JUNIT_MIN_VER%#$(JUNIT_MIN_VER)#g" debian/control
+ifeq "$(BUILD_PLASMA)" "y"
+ perl -pi -e 's/%LO-DESKTOP-INTEGRATION%/libreoffice-gnome | libreoffice-plasma/' debian/control
+else
+ perl -pi -e 's/%LO-DESKTOP-INTEGRATION%/libreoffice-gnome/' debian/control
+endif
+
+ifeq (sk,$(findstring sk,$(HELPISOS)))
+ perl -pi -e 's/(Depends:.*)libreoffice-l10n-sk(.*)$$/\1libreoffice-l10n-sk, libreoffice-help-cs\2/' debian/control
+endif
+ifeq (pt-BR,$(findstring pt-BR,$(LANGPACKISOS)))
+ perl -pi -e 's/libreoffice2-l10n-pt-br$$/libreoffice2-l10n-pt-br, broffice/' debian/control
+ perl -pi -e 's/libreoffice2-l10n-pt-br$$/libreoffice2-l10n-pt-br, broffice/' debian/control
+ perl -pi -e 's/libreoffice2-l10n-pt-br$$/libreoffice2-l10n-pt-br, broffice/' debian/control
+endif
+
+ifeq "$(MYSQL_FLAVOUR)" "mysql"
+ perl -pi -e "s/(Build-Conflicts: .*)/\1,libmariadbclient-dev,/" debian/control
+endif
+ifneq (nocheck,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
+ # be sure to use our rebuilt font
+ perl -pi -e "s/(Build-Conflicts: .*)/\1,fonts-opensymbol <!nocheck>,/" debian/control
+endif
+
+ifneq "$(ALLOW_CLANG)" "y"
+ perl -pi -e "s/(Build-Conflicts: .*)/\1,clang,/" debian/control
+endif
+ $(PYTHON) debian/scripts/joinctrl.py < debian/control > debian/control.tmp
+ mv debian/control.tmp debian/control
+
+ # make -l10n-fi suggest libreoffice-spellcheck-fi to
+ # match myspell-fi and libreoffice-soikko/-voikko
+ perl -pi -e 's/myspell-dictionary-fi/myspell-dictionary-fi | libreoffice-spellcheck-fi/' debian/control
+ perl -pi -e 's/hyphen-fi/hyphen-fi | libreoffice-hyphenation-fi/' debian/control
+
+ifeq "$(USE_DBUS)" "y"
+ ifeq "$(ENABLE_BLUETOOTH)" "y"
+ perl -pi -e 's/paperconf$$/paperconf\n * bluez: Bluetooth support for Impress (slideshow remote control)/' debian/control
+ endif
+ perl -pi -e 's/Description: office productivity suite -- presentation/Suggests: bluez\nDescription: office productivity suite -- presentation/' debian/control
+endif
+
+ifneq "$(DICT_DIR)" "/usr/share/hunspell"
+ perl -pi -e 's/^Breaks:.*myspell.*\n//' debian/control
+endif
+
+ifeq "$(ENABLE_APPARMOR_PROFILES)" "y"
+ perl -pi -e 's/ttf-mscorefonts-installer/ttf-mscorefonts-installer, apparmor (>= 2.13.1~)/' debian/control
+ perl -pi -e 's/openoffice-unbundled/openoffice-unbundled, apparmor (<< 2.13.1~)/' debian/control
+
+endif
+
+.DELETE_ON_ERROR: debian/control
+
+debian/tests/control: debian/tests/control.in debian/rules
+ sed -e "s|%OOO_JAVA_ARCHS%|$(OOO_JAVA_ARCHS)|g" \
+ -e "s|%OOO_JUNIT_ARCHS%|$(OOO_JUNIT_ARCHS)|g" \
+ -e "s|%OOO_NOGUI_ARCHS%|$(OOO_NOGUI_ARCHS)|g" \
+ -e "s|%OOO_CHECK_FATAL_ARCHS%|$(OOO_CHECK_FATAL_ARCHS)|g" \
+ -e "s|%AUTOPKGTEST_CPPUNIT_PACKAGES%|$(shell echo $(AUTOPKGTEST_CPPUNIT_PACKAGES) | sed -e "s/\ /,/g")|g" \
+ > debian/tests/control < debian/tests/control.in
+
+.DELETE_ON_ERROR: debian/tests/control
+
+# All 'important' targets have 2 lines. The one that is run by
+# dpkg-buildpackage or the user, and the one that does the actual work. This
+# indirection is needed so that the 'stamp' files that signify when a rule is
+# done can be located in a separate 'stampdir'. Recall that make has no way to
+# know when a goal has been met for a phony target (like "build" or "install").
+#
+# At the end of each stampdir target, be sure to run the command 'touch $@'
+# so that the target will not be run again. Removing the file will make
+# make run the target over.
+
+prepare: $(STAMP_DIR)/prepare
+$(STAMP_DIR)/prepare:
+ dh_testdir
+
+ # Make sure needed scripts are executable
+ set -e;\
+ for FILE in debian/scripts/move-if-change \
+ debian/scripts/get_libebook_dep.sh \
+ debian/scripts/locale-gen \
+ autogen.sh; \
+ do \
+ chmod 755 $$FILE ;\
+ done
+
+ mkdir -p $(STAMP_DIR)
+
+ # Make sure we have /proc mounted - otherwise idlc will fail later.
+ test -r /proc/version
+
+ifneq (nocheck,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
+ifeq (terse,$(findstring terse,$(DEB_BUILD_OPTIONS)))
+ if [ -d .pc/do-not-hide-test-output.diff ]; then \
+ patch -p1 -R < debian/patches/do-not-hide-test-output.diff; \
+ TMP=`mktemp -q`; grep -v do-not-hide-test-output .pc/applied-patches \
+ > $$TMP && mv $$TMP .pc/applied-patches; \
+ rm -rf .pc/do-not-hide-test-output.diff; \
+ fi
+endif
+endif
+
+ifeq "$(ENABLE_PCH)" "y"
+ # regen PCHs to go sure...
+ bin/update_pch.sh
+endif
+
+ cd $(SOURCE_TREE)/helpcontent2/help3xsl && \
+ ln -sf /usr/share/javascript/normalize.css/normalize.css
+ifneq "$(BULLSEYE_BACKPORT)" "y"
+ cd $(SOURCE_TREE)/helpcontent2/help3xsl && \
+ ln -sf /usr/share/nodejs/prismjs/prism.js && \
+ ln -sf /usr/share/nodejs/prismjs/themes/prism-coy.css prism.css
+endif
+
+ touch $@
+
+.PHONY: config_host.mk
+config_host.mk:
+ rm -f config.status autogen.lastrun
+ PATH=$(BUILD_PATH) LD_LIBRARY_PATH=$(BUILD_LD_LIBRARY_PATH) \
+ CLANGDIR=$(CLANGDIR) \
+ MARIADBCONFIG=$(MARIADBCONFIG) \
+ FIREBIRD_CFLAGS=$(FIREBIRD_CFLAGS) FIREBIRD_LIBS=$(FIREBIRD_LIBS) \
+ ./autogen.sh $(CONFIGURE_FLAGS)
+
+build:
+ $(CURDIR)/debian/rules build-arch
+ $(CURDIR)/debian/rules build-indep
+ touch $(STAMP_DIR)/$@
+
+build-arch: $(STAMP_DIR)/prepare $(STAMP_DIR)/build-arch
+$(STAMP_DIR)/build-arch:
+#build-arch: ENABLE_HELP = n PACKAGE_SDK_DOCS = n ENABLE_MEDIAWIKI = n ENABLE_SCRIPT_PROVIDER_BSH = n ENABLE_SCRIPT_PROVIDER_JS = n
+ dh_testdir
+
+ifeq "$(BUILD_NOGUI_PACKAGES)" "y"
+ # build with --disable-gui first
+ PATH=$(BUILD_PATH) LD_LIBRARY_PATH=$(BUILD_LD_LIBRARY_PATH) \
+ CLANGDIR=$(CLANGDIR) \
+ MARIADBCONFIG=$(MARIADBCONFIG) \
+ FIREBIRD_CFLAGS=$(FIREBIRD_CFLAGS) FIREBIRD_LIBS=$(FIREBIRD_LIBS) \
+ ./autogen.sh $(CONFIGURE_FLAGS) \
+ --without-junit --without-cppunit \
+ --disable-ext-wiki-publisher \
+ --disable-scripting-javascript --disable-scripting-beanshell \
+ --without-doxygen --without-javadoc \
+ --with-galleries=no --with-theme="$(DEFAULT_IMAGE)" \
+ --disable-gui --disable-introspection --disable-qt5 --disable-kf5
+
+ PATH=$(BUILD_PATH) LD_LIBRARY_PATH=$(BUILD_LD_LIBRARY_PATH) ARCH_FLAGS=$(ARCH_FLAGS) TMP=`mktemp -q -d` $(MAKE) build-non-l10n-only
+
+ rm -rf instdir-nogui
+ cp -r instdir instdir-nogui
+
+ # clean. cleaning up only potentially affected ones was not really
+ # maintainable and broke running the uitests since something apparently was not rebuilt
+ # for "use UI" as it should.
+ # Better safe than sorry, even though that increases build time for a magnitude...
+ $(MAKE) clean
+endif
+
+ PATH=$(BUILD_PATH) LD_LIBRARY_PATH=$(BUILD_LD_LIBRARY_PATH) \
+ CLANGDIR=$(CLANGDIR) \
+ MARIADBCONFIG=$(MARIADBCONFIG) \
+ FIREBIRD_CFLAGS=$(FIREBIRD_CFLAGS) FIREBIRD_LIBS=$(FIREBIRD_LIBS) \
+ QT5DIR=/usr/lib/$(DEB_HOST_MULTIARCH)/qt5 QT6DIR=/usr/lib/qt6 \
+ ./autogen.sh $(CONFIGURE_FLAGS) \
+ --without-junit --without-cppunit \
+ --disable-ext-wiki-publisher \
+ --disable-scripting-javascript --disable-scripting-beanshell \
+ --without-doxygen --without-javadoc \
+ --with-galleries=no --with-theme="$(DEFAULT_IMAGE)"
+
+ PATH=$(BUILD_PATH) LD_LIBRARY_PATH=$(BUILD_LD_LIBRARY_PATH) ARCH_FLAGS=$(ARCH_FLAGS) TMP=`mktemp -q -d` $(MAKE) build-non-l10n-only
+
+ifneq (nocheck,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
+ $(CURDIR)/debian/rules check
+endif
+
+ifneq "$(BUILD_ISOS)" "en-US"
+ # build sysui again with all languages; as it contains language-specific help and/or descriptions...
+ $(MAKE) sysui.clean
+ make cmd cmd="cd sysui; export WITH_LANG='$(LANGPACKISOS)'; export WITH_LANG_LIST='$(LANGPACKISOS)'; $(MAKE)"
+endif
+
+ touch $@
+
+build-indep: $(STAMP_DIR)/prepare $(STAMP_DIR)/build-indep
+$(STAMP_DIR)/build-indep:
+ dh_testdir
+
+ifeq "$(PACKAGE_SDK)" "y"
+ if [ -f Makefile ]; then $(MAKE) odk.clean; fi
+endif
+ if [ -f Makefile ]; then $(MAKE) scp2.clean; fi
+
+ rm -f config.status autogen.lastrun
+
+ifeq "$(ENABLE_HELP)" "y"
+ ifeq (pt,$(findstring pt,$(HELPISOS)))
+ # this somehow is missing. let's assume pt-BR is sufficiently ok for "original" pt
+ if [ ! -f helpcontent2/source/media/screenshots/modules/simpress/ui/prntopts/pt/prntopts.png ]; then \
+ mkdir -p helpcontent2/source/media/screenshots/modules/simpress/ui/prntopts/pt; \
+ cp helpcontent2/source/media/screenshots/modules/simpress/ui/prntopts/pt-BR/prntopts.png \
+ helpcontent2/source/media/screenshots/modules/simpress/ui/prntopts/pt; \
+ fi
+ endif
+endif
+
+ # now build with the indep stuff (javadoc, languages, ....)
+ PATH=$(BUILD_PATH) LD_LIBRARY_PATH=$(BUILD_LD_LIBRARY_PATH) \
+ MARIADBCONFIG=$(MARIADBCONFIG) \
+ FIREBIRD_CFLAGS=$(FIREBIRD_CFLAGS) FIREBIRD_LIBS=$(FIREBIRD_LIBS) \
+ QT5DIR=/usr/lib/$(DEB_HOST_MULTIARCH)/qt5 QT6DIR=/usr/lib/qt6 \
+ ./autogen.sh $(CONFIGURE_FLAGS) $(CONFIGURE_FLAGS_INDEP)
+
+ PATH=$(BUILD_PATH) LD_LIBRARY_PATH=$(BUILD_LD_LIBRARY_PATH) ARCH_FLAGS=$(ARCH_FLAGS) TMP=`mktemp -q -d` $(MAKE) build
+ifeq "$(BUILD_TEST_PACKAGES)" "y"
+ ifeq "$(ENABLE_JUNIT4)" "y"
+ PATH=$(BUILD_PATH) LD_LIBRARY_PATH=$(BUILD_LD_LIBRARY_PATH) ARCH_FLAGS=$(ARCH_FLAGS) TMP=`mktemp -q -d` $(MAKE) Jar_{OOoRunner,test,ConnectivityTools}
+ endif
+endif
+
+ifeq "$(BUILD_TEST_PACKAGES)" "y"
+ # doesn't necessarily exist unless you also ran check...
+ if [ -d workdir/Zip ]; then \
+ find workdir/Zip -name "smoketestdoc*" | xargs rm; \
+ patch -p0 < $(CURDIR)/debian/tests/patches/smoketest-disable-extension-tests.diff; \
+ cd smoketest && $(MAKE) Zip_smoketestdoc; cd ..; \
+ patch -p0 -R < $(CURDIR)/debian/tests/patches/smoketest-disable-extension-tests.diff; \
+ cp workdir/Zip/smoketestdoc.zip workdir/Zip/smoketestdoc.sxw; \
+ fi
+endif
+
+ifneq "$(AUTOPKGTEST_BUILD)" "y"
+ ifneq (nocheck,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
+ $(CURDIR)/debian/rules check-indep
+ endif
+endif
+
+ touch $@
+
+check:
+ifeq "$(BUILD_TESTS)" "y"
+ ifneq (,$(filter $(DEB_HOST_ARCH),$(OOO_NO_BASE_ARCHS)))
+ patch -p1 < $(CURDIR)/debian/tests/patches/disable-db-tests.diff
+ endif
+ ifeq (,$(filter $(DEB_HOST_ARCH),$(OOO_EXTENSIONS_ARCHS)))
+ cd $(SOURCE_TREE)/smoketest && \
+ patch -p1 < $(CURDIR)/debian/tests/patches/smoketest-disable-extension-tests.diff
+ endif
+ # enable cppunit etc.
+ PATH=$(BUILD_PATH) LD_LIBRARY_PATH=$(BUILD_LD_LIBRARY_PATH) \
+ CLANGDIR=$(CLANGDIR) \
+ MARIADBCONFIG=$(MARIADBCONFIG) \
+ FIREBIRD_CFLAGS=$(FIREBIRD_CFLAGS) FIREBIRD_LIBS=$(FIREBIRD_LIBS) \
+ QT5DIR=/usr/lib/$(DEB_HOST_MULTIARCH)/qt5 QT6DIR=/usr/lib/qt6 \
+ ./autogen.sh $(CONFIGURE_FLAGS) \
+ --disable-ext-wiki-publisher \
+ --disable-scripting-javascript --disable-scripting-beanshell \
+ --without-doxygen --without-javadoc \
+ --with-galleries=no --with-theme="$(DEFAULT_IMAGE)"
+
+ # build the tests (first)
+ export gb_SUPPRESS_TESTS=true; \
+ $(MAKE) check
+endif
+
+ifneq "$(AUTOPKGTEST_BUILD)" "y"
+ifeq "$(RUN_MAKE_CHECK)" "y"
+ # generate the needed en_US.UTF-8 locale
+ mkdir -p $(CURDIR)/debian/locales
+ USE_CPUS=$(NUM_CPUS) debian/scripts/locale-gen
+
+ # and now run them
+ $(IGNORE_MAKE_CHECK_FAILURES)t=`mktemp -q -d`; \
+ cd $(SOURCE_TREE) && \
+ export PATH=$(BUILD_PATH); \
+ export TMPDIR=$$t; \
+ export HOME=$$t; \
+ export LOCPATH=$(CURDIR)/debian/locales; \
+ export LANG=en_US.UTF-8; \
+ export TZ=UTC; \
+ unset DISPLAY; \
+ unset CONNECTIVITY_TEST_MYSQL_DRIVER; \
+ export PARALLELISM=1; \
+ if [ -x /usr/bin/gdb ]; then ulimit -c unlimited || true; fi && \
+ $(TEST_TIMEOUT) $(MAKE) -k check || $(TEST_TIMEOUT) $(MAKE) check && \
+ rm -rf $$t
+endif
+endif
+
+ifeq "$(BUILD_TESTS)" "y"
+ ifneq (,$(filter $(DEB_HOST_ARCH),$(OOO_NO_BASE_ARCHS)))
+ patch -p1 -R < $(CURDIR)/debian/tests/patches/disable-db-tests.diff
+ endif
+ ifeq (,$(filter $(DEB_HOST_ARCH),$(OOO_EXTENSIONS_ARCHS)))
+ cd $(SOURCE_TREE)/smoketest && \
+ patch -p1 -R < $(CURDIR)/debian/tests/patches/smoketest-disable-extension-tests.diff
+ endif
+endif
+
+check-indep:
+ifneq (nocheck,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
+ ifeq "$(ENABLE_JAVA)" "y"
+ # since the gb_SUPPRESS_CHECK stuff in build this isn't checked.
+ # probably should, so do it here manually.
+ $(IGNORE_MAKE_CHECK_FAILURES)cd odk && \
+ $(MAKE) CustomTarget_odk/check
+ ifneq (,$(findstring -indep,$(MAKECMDGOALS)))
+ # was already checked in check
+ $(IGNORE_MAKE_CHECK_FAILURES)if [ ! -e $(STAMP_DIR)/build-arch ]; then \
+ cd odk && $(MAKE) CustomTarget_odk/build-examples && \
+ $(MAKE) CustomTarget_odk/build-examples_java; \
+ fi
+ endif
+ endif
+endif
+
+install: $(STAMP_DIR)/install-common $(STAMP_DIR)/install-arch $(STAMP_DIR)/install-indep
+
+install-common: $(STAMP_DIR)/install-common
+$(STAMP_DIR)/install-common:
+ dh_testdir
+ dh_testroot
+
+ dh_prep
+ rm -f debian/*.install debian/*.dirs
+
+ # remove those for safety in case the languages might change on
+ # testbuilds. then the /*/ in dh_installdocs in binary-* won't work
+ # anymore (different dirs)
+ rm -rf $(SOURCE_TREE)/instsetoo_native/util/LibreOffice
+
+ rm -rf $(SOURCE_TREE)/file-lists
+
+ # install LibreOffice.
+ cd $(SOURCE_TREE)/; \
+ PATH=$(BUILD_PATH) \
+ DESTDIR=$(CURDIR)/debian/tmp \
+ $(MAKE) distro-pack-install
+ export DESTDIR=$(CURDIR)/debian/tmp ;\
+ export VERSION=$(OOVER); \
+ export OOINSTBASE=$(OODIR); \
+ export OOO_LANGS_LIST="$(ISOS)"; \
+ $(CURDIR)/debian/scripts/gid2pkgdirs.sh
+ifeq "$(BUILD_DBGSYM_PACKAGES)" "y"
+ make cmd cmd="export DESTDIR=$(CURDIR)/debian/tmp; $(CURDIR)/solenv/bin/install-gdb-printers -a /usr/share/gdb/auto-load/$(OODIR) -c -i /$(OODIR) -p /usr/share/libreoffice/gdb"
+endif
+
+ # FIXME
+ cd $(CURDIR)/debian/tmp/pkg && rm -rf \*
+
+ifeq "$(ENABLE_QT5)" "y"
+ # we need to do it here. If -kf5 isn't built
+ # there's no -kf5.install generated, so dh_missing complains later
+ mkdir -p debian/tmp/pkg/libreoffice-qt5/$(OODIR)/program
+ mv debian/tmp/pkg/libreoffice-kde/$(OODIR)/program/libvclplug_qt5lo.so\
+ debian/tmp/pkg/libreoffice-qt5/$(OODIR)/program
+endif
+ifeq "$(ENABLE_QT6)" "y"
+ mkdir -p debian/tmp/pkg/libreoffice-qt6/$(OODIR)/program
+ mv debian/tmp/pkg/libreoffice-kde/$(OODIR)/program/libvclplug_qt6lo.so\
+ debian/tmp/pkg/libreoffice-qt6/$(OODIR)/program
+endif
+ifeq "$(ENABLE_KF5)" "y"
+ mv debian/tmp/pkg/libreoffice-kde \
+ debian/tmp/pkg/libreoffice-kf5
+ifeq "$(BUILD_PLASMA)" "y"
+ mkdir -p debian/tmp/pkg/libreoffice-plasma/$(OODIR)/program
+ mv debian/tmp/pkg/libreoffice-kf5/$(OODIR)/program/libkf5be1lo.so \
+ debian/tmp/pkg/libreoffice-plasma/$(OODIR)/program
+else
+ rm -f debian/tmp/pkg/libreoffice-kf5/$(OODIR)/libkf5be1lo.so
+endif
+endif
+
+ifeq "$(ENABLE_HELP)" "y"
+ifeq "$(ENABLE_HTML_HELP)" "y"
+ mkdir -p debian/tmp/pkg/libreoffice-help-common/$(OODIR); \
+ mv debian/tmp/pkg/libreoffice-common/$(OODIR)/help \
+ debian/tmp/pkg/libreoffice-help-common/$(OODIR)
+endif
+endif
+
+ # prepare install/dir files for dh
+ for i in `cd $(CURDIR)/debian/tmp/pkg; ls -1 | xargs`; do \
+ echo "$${i}/usr/* usr" > debian/$$i.install; \
+ (cd debian/tmp/pkg/$$i; find . -type d | sed -e "s,\./,,") \
+ > debian/$$i.dirs; \
+ done
+ echo "/etc/libreoffice/registry/res" >> debian/libreoffice-common.dirs
+
+ # the english resources should be in -common
+ cat debian/libreoffice-l10n-en-US.dirs >> debian/libreoffice-common.dirs
+ cat debian/libreoffice-l10n-en-US.install >> debian/libreoffice-common.install
+ rm -f debian/libreoffice-l10n-en-US.dirs debian/libreoffice-l10n-en-US.install
+
+ # and ca-valencia in -ca...
+ifeq (ca-valencia,$(findstring ca-valencia,$(LANGPACKISOS)))
+ if [ -f debian/libreoffice-l10n-ca-valencia.dirs -a -f debian/libreoffice-l10n-ca-valencia.install ]; then \
+ cat debian/libreoffice-l10n-ca-valencia.dirs >> debian/libreoffice-l10n-ca.dirs; \
+ cat debian/libreoffice-l10n-ca-valencia.install >> debian/libreoffice-l10n-ca.install; \
+ rm -f debian/libreoffice-l10n-ca-valencia.dirs debian/libreoffice-l10n-ca-valencia.install; \
+ fi
+endif
+ifeq "$(ENABLE_HELP)" "y"
+ifeq (ca-valencia,$(findstring ca-valencia,$(HELPISOS)))
+ if [ -f debian/libreoffice-help-ca-valencia.dirs -a -f debian/libreoffice-help-ca-valencia.install ]; then \
+ cat debian/libreoffice-help-ca-valencia.dirs >> debian/libreoffice-help-ca.dirs; \
+ cat debian/libreoffice-help-ca-valencia.install >> debian/libreoffice-help-ca.install; \
+ rm -f debian/libreoffice-help-ca-valencia.dirs debian/libreoffice-help-ca-valencia.install; \
+ fi
+endif
+endif
+ # and sr-Latn should be in -sr
+ifeq (sr-Latn,$(findstring sr-Latn,$(LANGPACKISOS)))
+ if [ -f debian/libreoffice-l10n-sr-Latn.dirs -a -f debian/libreoffice-l10n-sr-Latn.install ]; then \
+ cat debian/libreoffice-l10n-sr-Latn.dirs >> debian/libreoffice-l10n-sr.dirs; \
+ cat debian/libreoffice-l10n-sr-Latn.install >> debian/libreoffice-l10n-sr.install; \
+ rm -f debian/libreoffice-l10n-sr-Latn.dirs debian/libreoffice-l10n-sr-Latn.install; \
+ fi
+endif
+
+ # This should be in -kmr... This is different like the above where
+ # we move different "variants" into the "base" but there's only kmr-Latn
+ # for Kurmanji, but I don't really want to have that -latn suffix in
+ # the packages
+ifeq (kmr-Latn,$(findstring kmr-Latn,$(LANGPACKISOS)))
+ if [ -f debian/libreoffice-l10n-kmr-Latn.dirs -a -f debian/libreoffice-l10n-kmr-Latn.install ]; then \
+ cat debian/libreoffice-l10n-kmr-Latn.dirs >> debian/libreoffice-l10n-kmr.dirs; \
+ cat debian/libreoffice-l10n-kmr-Latn.install >> debian/libreoffice-l10n-kmr.install; \
+ rm -f debian/libreoffice-l10n-kmr-Latn.dirs debian/libreoffice-l10n-kmr-Latn.install; \
+ fi
+endif
+
+ # fixup case (-l10n-pt-BR -> l10n-pt-br etc.)
+ for iso in $(ISOS); do \
+ pkgiso=`echo $$iso | tr A-Z a-z`; \
+ if [ "$$iso" != "$$pkgiso" ]; then \
+ if [ "$$iso" != "en-US" -a \
+ -e debian/libreoffice-l10n-$$iso.dirs -a \
+ -e debian/libreoffice-l10n-$$iso.install ]; then \
+ mv debian/libreoffice-l10n-$$iso.dirs \
+ debian/libreoffice-l10n-$$pkgiso.dirs; \
+ mv debian/libreoffice-l10n-$$iso.install \
+ debian/libreoffice-l10n-$$pkgiso.install; \
+ fi; \
+ if [ -e debian/libreoffice-help-$$iso.dirs -a \
+ -e debian/libreoffice-help-$$iso.install ]; then \
+ mv debian/libreoffice-help-$$iso.dirs \
+ debian/libreoffice-help-$$pkgiso.dirs; \
+ mv debian/libreoffice-help-$$iso.install \
+ debian/libreoffice-help-$$pkgiso.install; \
+ fi; \
+ fi; \
+ done
+
+ # fix up still sneaking in ./. They break dh_install (it installs
+ # but wrongly complains about it as not-installed files)
+ perl -pi -e 's,\./,,' debian/libreoffice-common.install
+ perl -pi -e 's,\./,,' debian/ure.install
+
+ifneq "$(ENABLE_HELP)" "n"
+ # remove non-packaged localized help. This a) saves space
+ # and b) we need this for the following dh_install as there will be
+ # no .install files created and dh_install will warn/fail due
+ # to non-installed files.
+ for iso in $(filter-out en-US,$(LANGPACKISOS)); do \
+ if ! `echo $(HELPISOS) | grep -q $$iso` || [ "$$iso" = "sk" ] ; then \
+ pkgiso=`echo $$iso | tr A-Z a-z`; \
+ rm -rf debian/tmp/pkg/libreoffice-help-$$iso; \
+ rm -f debian/libreoffice-help-$$pkgiso.dirs; \
+ rm -f debian/libreoffice-help-$$pkgiso.install; \
+ fi; \
+ done
+endif
+
+ifneq "$(PACKAGE_LIBRELOGO)" "y"
+ rm -rf debian/tmp/pkg/libreoffice-librelogo
+endif
+
+ # FIXME; hack: somehow there only the dirs are there (dh_installdirs). they *are* in the install phase and gid2pkgdirs also
+ # is supposed to install it to the dir but apparently doesn't. They are in instdir though, so let's use it from
+ # there..
+ifeq "$(ENABLE_NLPSOLVER)" "y"
+ if [ -d instdir/share/extensions/nlpsolver ]; then \
+ rm -rf debian/tmp/pkg/libreoffice-nlpsolver; \
+ mkdir -p debian/tmp/pkg/libreoffice-nlpsolver/$(OODIR)/share/extensions; \
+ cp -ra instdir/share/extensions/nlpsolver \
+ debian/tmp/pkg/libreoffice-nlpsolver/$(OODIR)/share/extensions; \
+ fi
+endif
+ifeq "$(ENABLE_MEDIAWIKI)" "y"
+ if [ -d instdir/share/extensions/wiki-publisher ]; then \
+ rm -rf debian/tmp/pkg/libreoffice-wiki-publisher; \
+ mkdir -p debian/tmp/pkg/libreoffice-wiki-publisher/$(OODIR)/share/extensions; \
+ cp -ra instdir/share/extensions/wiki-publisher \
+ debian/tmp/pkg/libreoffice-wiki-publisher/$(OODIR)/share/extensions; \
+ fi
+endif
+
+ for i in calc impress draw base writer; do \
+ echo "../usr/share/metainfo/libreoffice-$$i.appdata.xml /usr/share/metainfo/" >> $(PKGDIR)-$$i.install; \
+ done
+
+ifeq "$(BUILD_PLASMA)" "y"
+ echo "../usr/share/metainfo/org.libreoffice.kde.metainfo.xml /usr/share/metainfo/" >> $(PKGDIR)-plasma.install
+endif
+
+ifeq "$(PACKAGE_LOKIT)" "y"
+ echo "../../../include/LibreOfficeKit usr/include" > debian/libreofficekit-dev.install
+endif
+ifeq "$(ENABLE_INTROSPECTION)" "y"
+ echo "../../../workdir/CustomTarget/sysui/share/libreoffice/LOKDocView-0.1.gir /usr/share/gir-1.0/" >> debian/libreofficekit-dev.install
+ echo "../../../workdir/CustomTarget/sysui/share/libreoffice/LOKDocView-0.1.typelib /usr/lib/$(DEB_HOST_MULTIARCH)/girepository-1.0" >> debian/gir1.2-lokdocview-0.1.install
+endif
+
+ifneq "$(ENABLE_GUI)" "y"
+ rm -rf debian/tmp/pkg/libreofficekit-data
+endif
+
+ dh_installdirs -A
+ dh_install -A --sourcedir=debian/tmp/pkg && dh_missing -A --sourcedir=debian/tmp/pkg --fail-missing
+
+ # somehow this isn't installed anymore on -B builds...
+ if [ ! -f debian/libreoffice-report-builder/$(OODIR)/program/librptlo.so ]; then \
+ mkdir -p debian/libreoffice-report-builder/$(OODIR)/program/; \
+ for i in librptlo.so librptuilo.so librptxmllo.so; do \
+ cp $(CURDIR)/instdir/program/$$i \
+ debian/libreoffice-report-builder/$(OODIR)/program/; \
+ done; \
+ fi
+
+ rm -rf debian/tmp/pkg
+
+ # fix the desktop files....
+ cd $(PKGDIR)-common/$(OODIR)/share/xdg/ && \
+ for i in *.desktop; do \
+ sed -i -e "s/$(OOVER)//" $$i; \
+ done
+ifneq "$(RELEASE_BUILD)" "y"
+ cd $(PKGDIR)-common/$(OODIR)/share/xdg/ && \
+ for i in *.desktop; do \
+ sed -i -e "s/libreofficedev/libreoffice/" $$i; \
+ sed -i -e "s/LibreOfficeDev/LibreOffice/" $$i; \
+ done
+endif
+
+ # move desktop files to their correct packages (and correct dir)
+ # looks like it's pretty nonstandard to have symlinks; this breaks
+ # e.g. the generation from the appdata files. So get rid of those
+ # and move them to the libreoffice-* names after all.
+ for i in base calc draw impress math writer; do \
+ mkdir -p $(PKGDIR)-$$i/usr/share/applications; \
+ rm -f $(PKGDIR)-$$i/usr/share/applications/libreoffice-$$i.desktop; \
+ mv $(PKGDIR)-common/$(OODIR)/share/xdg/$$i.desktop \
+ $(PKGDIR)-$$i/usr/share/applications/libreoffice-$$i.desktop; \
+ done
+
+ # move pagein files
+ for i in calc draw impress writer; do \
+ mv $(PKGDIR)-core/$(OODIR)/program/pagein-$$i \
+ $(PKGDIR)-$$i/$(OODIR)/program; \
+ done
+
+ifeq "$(ENABLE_HELP)" "y"
+ # move help to /usr/share
+ ifeq "$(ENABLE_HTML_HELP)" "y"
+ mv $(PKGDIR)-help-common/usr/lib \
+ $(PKGDIR)-help-common/usr/share
+ endif
+ for iso in $(HELPISOS); do \
+ pkgiso=`echo $$iso | tr A-Z a-z`; \
+ if [ -e $(PKGDIR)-help-$$pkgiso/usr ]; then \
+ mv $(PKGDIR)-help-$$pkgiso/usr/lib \
+ $(PKGDIR)-help-$$pkgiso/usr/share; \
+ fi; \
+ done
+
+ifeq (sk,$(findstring sk,$(HELPISOS)))
+ # add fake sk help
+ mkdir -p $(PKGDIR)-help-sk/$(shell echo $(OODIR) | sed -e s/lib/share/)/help
+ ln -s cs \
+ $(PKGDIR)-help-sk/$(shell echo $(OODIR) | sed -e s/lib/share/)/help/sk
+endif
+endif
+
+ifeq "$(ENABLE_JAVA)" "y"
+ ifeq "$(PACKAGE_BASE)" "y"
+ # move sdbc_hsqldb.jar into -base (do the move
+ # to /usr/share/java here directly, we do it for the "rest"
+ # later
+ mkdir -p $(PKGDIR)-base/$(shell echo $(OODIR) | sed -e s/lib/share/)/program/classes; \
+ mkdir -p $(PKGDIR)-base/$(OODIR)/program/classes; \
+ mv $(PKGDIR)-common/$(OODIR)/program/classes/sdbc_hsqldb.jar \
+ $(PKGDIR)-base/$(shell echo $(OODIR) | sed -e s/lib/share/)/program/classes; \
+ ln -s $(shell echo /$(OODIR) | sed -e s/lib/share/)/program/classes/sdbc_hsqldb.jar \
+ $(PKGDIR)-base/$(OODIR)/program/classes/sdbc_hsqldb.jar
+ ifneq (,$(filter hsqldb, $(SYSTEM_STUFF)))
+ # fix the classpath (file:// breaks javahelper)
+ jh_classpath --classpath="$(HSQLDB_JAR) .." \
+ $(PKGDIR)-base/$(shell echo /$(OODIR) | sed -e s/lib/share/)/program/classes/sdbc_hsqldb.jar
+ endif
+ ifeq (,$(filter hsqldb, $(SYSTEM_STUFF)))
+ # we need this in -base. Otherwise we get unwanted package differences
+ # in the unstable version and backports which might use internal hsqldb
+ mkdir -p $(PKGDIR)-base/$(OODIR)/program/classes
+ mv $(PKGDIR)-common/$(OODIR)/program/classes/hsqldb.jar \
+ $(PKGDIR)-base/$(OODIR)/program/classes
+ endif
+ else
+ # remove sdbc_hsqldb.jar. otherwise ends up in -java-common
+ rm -f $(PKGDIR)-common/$(OODIR)/program/classes/sdbc_hsqldb.jar
+ endif
+endif
+
+ifeq "$(PACKAGE_SDK)" "y"
+ # move arch-indep stuff into a libreoffice-dev-common
+ mkdir -p $(PKGDIR)-dev-common/usr/include
+ mv $(PKGDIR)-dev/usr/include/libreoffice \
+ $(PKGDIR)-dev-common/usr/include
+ # except include/sal/typesizes.h
+ mkdir -p $(PKGDIR)-dev/usr/include/$(DEB_HOST_MULTIARCH)/libreoffice/sal
+ mkdir -p $(PKGDIR)-dev/usr/include/libreoffice/sal
+ mv $(PKGDIR)-dev-common/usr/include/libreoffice/sal/typesizes.h \
+ $(PKGDIR)-dev/usr/include/$(DEB_HOST_MULTIARCH)/libreoffice/sal
+ cd $(PKGDIR)-dev/usr/include/libreoffice/sal/ && \
+ ln -s /usr/include/$(DEB_HOST_MULTIARCH)/libreoffice/sal/typesizes.h
+ mkdir -p $(PKGDIR)-dev-common/usr/share/idl
+ mv $(PKGDIR)-dev/usr/share/idl/libreoffice \
+ $(PKGDIR)-dev-common/usr/share/idl
+ mkdir -p $(PKGDIR)-dev-common/$(OOSDKDIR)
+ mv $(PKGDIR)-dev/$(OOSDKDIR)/classes \
+ $(PKGDIR)-dev-common/$(OOSDKDIR)
+ mv $(PKGDIR)-dev/$(OOSDKDIR)/set* \
+ $(PKGDIR)-dev-common/$(OOSDKDIR)
+ # settings/dk.mk is not arch-indep
+ mkdir -p $(PKGDIR)-dev/$(OOSDKDIR)/settings
+ mv $(PKGDIR)-dev-common/$(OOSDKDIR)/settings/dk.mk \
+ $(PKGDIR)-dev/$(OOSDKDIR)/settings
+ mv $(PKGDIR)-dev/$(OOSDKDIR)/config* \
+ $(PKGDIR)-dev-common/$(OOSDKDIR)
+ mv $(PKGDIR)-dev/$(OOSDKDIR)/index.html* \
+ $(PKGDIR)-dev-common/$(OOSDKDIR)
+ ifeq "$(ENABLE_JAVA)" "y"
+ mkdir -p $(PKGDIR)-dev-common/usr/share/libreoffice/sdk
+ mv $(PKGDIR)-dev/usr/share/libreoffice/sdk/classes \
+ $(PKGDIR)-dev-common/usr/share/libreoffice/sdk
+ endif
+ mkdir -p $(PKGDIR)-dev-common/$(OODIR)/share/glade
+ mv $(PKGDIR)-common/$(OODIR)/share/glade/libreoffice-catalog.xml \
+ $(PKGDIR)-dev-common/$(OODIR)/share/glade
+else
+ rm -rf $(PKGDIR)-common/$(OODIR)/share/glade
+endif
+
+ ifeq "$(PACKAGE_SDK_DOCS)" "y"
+ # move SDK documentation into own package
+ rm -rf $(PKGDIR)-dev-doc
+ mkdir -p $(PKGDIR)-dev-doc/usr/share/doc/libreoffice
+ mv $(PKGDIR)-dev/usr/share/doc/libreoffice/sdk \
+ $(PKGDIR)-dev-doc/usr/share/doc/libreoffice
+ mkdir -p $(PKGDIR)-dev-doc/$(OOSDKDIR)
+ ln -sf /usr/share/doc/libreoffice/sdk/docs \
+ $(PKGDIR)-dev-doc/$(OOSDKDIR)/docs
+ mv $(PKGDIR)-dev/$(OOSDKDIR)/examples \
+ $(PKGDIR)-dev-doc/$(OOSDKDIR)
+ rm -f $(PKGDIR)-dev-doc/usr/share/doc/libreoffice/sdk/readme/LICENSE*
+ # and fix the symlink now dangling due to the move above
+ cd $(PKGDIR)-dev-common/$(OOSDKDIR) && \
+ ln -sf /usr/share/doc/libreoffice/sdk/index.html
+ endif
+
+ifeq "$(PACKAGE_SDK)" "y"
+ ifeq "$(ENABLE_JAVA)" "y"
+ # compat/safety symlink for SDK Java stuff moved to /usr/share
+ rm -f $(PKGDIR)-dev-common/$(OOSDKDIR)/classes
+ mkdir -p $(PKGDIR)-dev-common/$(OOSDKDIR)/classes/com/sun/star/lib/loader
+ cd $(PKGDIR)-dev-common/$(OOSDKDIR)/classes/com/sun/star/lib/loader && \
+ for i in $(CURDIR)/$(PKGDIR)-dev-common/$(shell echo $(OOSDKDIR) | sed -e s/lib/share/)/classes/com/sun/star/lib/loader/*.class; do \
+ ln -s `echo $$i | sed -e 's,$(CURDIR)/$(PKGDIR)-dev-common,,'` `basename $$i`; \
+ done
+ endif
+ chmod 644 $(PKGDIR)-dev-common/$(OOSDKDIR)/configure.pl
+ chmod 755 $(PKGDIR)-dev-common/$(OOSDKDIR)/setsdkenv_unix
+
+ # fix permissions
+ find $(PKGDIR)-dev-common/usr/share/idl/$(OODIRNAME) -type f -exec chmod 644 {} \;
+endif
+
+ifeq "$(ENABLE_EVO2)" "y"
+ mkdir -p $(PKGDIR)-evolution/$(OODIR)/presets/database
+ mkdir -p $(PKGDIR)-evolution/$(OODIR)/share/registry
+ mv $(PKGDIR)-common/$(OODIR)/presets/database/evolocal.odb \
+ $(PKGDIR)-evolution/$(OODIR)/presets/database
+endif
+
+ifeq "$(PACKAGE_BASE)" "y"
+ mkdir -p debian/python3-access2base/$(shell $(PYTHON) -c 'from distutils import sysconfig; print(sysconfig.get_python_lib())')
+ mv $(PKGDIR)-common/$(OODIR)/program/access2base.py \
+ debian/python3-access2base/$(shell $(PYTHON) -c 'from distutils import sysconfig; print(sysconfig.get_python_lib())')
+else
+ rm -rf $(PKGDIR)-common/$(OODIR)/share/basic/Access2Base
+ t=`mktemp -q`; grep -v Access2Base $(PKGDIR)-common/$(OODIR)/share/basic/dialog.xlc > \
+ $$t && mv $$t $(PKGDIR)-common/$(OODIR)/share/basic/dialog.xlc && rm -f $$t
+ t=`mktemp -q`; grep -v Access2Base $(PKGDIR)-common/$(OODIR)/share/basic/script.xlc > \
+ $$t && mv $$t $(PKGDIR)-common/$(OODIR)/share/basic/script.xlc && rm -f $$t
+ rm -f $(PKGDIR)-common/$(OODIR)/program/access2base.py
+endif
+
+ifeq "$(PACKAGE_SDK)" "y"
+ # move gengal stuff into -dev-gui
+ mkdir -p $(PKGDIR)-dev-gui/$(OODIR)/program
+ mv $(PKGDIR)-core/$(OODIR)/program/gengal.bin \
+ $(PKGDIR)-dev-gui/$(OODIR)/program
+ mv $(PKGDIR)-common/$(OODIR)/program/gengal \
+ $(PKGDIR)-dev-gui/$(OODIR)/program
+else
+ rm -f $(PKGDIR)-core/$(OODIR)/program/gengal.bin
+ rm -f $(PKGDIR)-common/$(OODIR)/program/gengal
+endif
+
+ifneq "$(ENABLE_REPORTBUILDER)" "y"
+ # unneeded. a no-Java arch, so the report-builder can't work anyway.
+ # (and we need to remove it here anyway as it otherwise would end up
+ # in -base/-core)
+ rm -rf $(PKGDIR)-report-builder
+ rm -f $(PKGDIR)-core/$(OODIR)/program/librpt*
+else
+ ifeq "$(PACKAGE_BASE)" "y"
+ # move rpt stuff into -report-builder-bin
+ rm -rf $(PKGDIR)-report-builder-bin
+ mkdir -p $(PKGDIR)-report-builder-bin/$(OODIR)/program
+ # it seems that --enable/--disable-reportbuiler affects the install
+ # location. sigh.
+ if [ -e $(PKGDIR)-core/$(OODIR)/program/librptlo.so ]; then \
+ i=core; else i=report-builder; fi; \
+ mv $(PKGDIR)-$$i/$(OODIR)/program/librpt* \
+ $(PKGDIR)-report-builder-bin/$(OODIR)/program
+ endif
+endif
+
+ # move uno_packages/cache to /var and create symlink for for
+ # documentation referencing it...
+ rm -rf $(PKGDIR)-common/$(OODIR)/share/uno_packages
+ mkdir -p $(PKGDIR)-core/var/spool/$(OODIRNAME)/uno_packages/cache
+ mkdir -p $(PKGDIR)-core/$(OODIR)/share/uno_packages
+ ln -s /var/spool/$(OODIRNAME)/uno_packages/cache \
+ $(PKGDIR)-core/$(OODIR)/share/uno_packages/cache
+ perl -pi -e \
+ 's,\$$UNO_SHARED_PACKAGES/cache,file:///var/spool/$(OODIRNAME)/uno_packages/cache,g' \
+ $(PKGDIR)-common/$(OODIR)/program/unorc
+ # What is this? unorc per default only mentiones
+ # share/uno_packages/cache...
+ rm -rf $(PKGDIR)-common/$(OODIR)/presets/uno_packages
+
+ifeq "$(ENABLE_FIREBIRD)" "y"
+ ifeq (,$(filter firebird, $(SYSTEM_STUFF)))
+ mkdir -p $(PKGDIR)-sdbc-firebird/$(OODIR)/share
+ mv $(PKGDIR)-common/$(OODIR)/share/firebird \
+ $(PKGDIR)-sdbc-firebird/$(OODIR)/share
+ endif
+endif
+
+ # move soffice.cfg files into the "correct" packages
+ for i in base calc draw impress math writer; do \
+ mkdir -p $(PKGDIR)-$$i/$(OODIR)/share/config/soffice.cfg/modules; \
+ mv $(PKGDIR)-common/$(OODIR)/share/config/soffice.cfg/modules/s$$i \
+ $(PKGDIR)-$$i/$(OODIR)/share/config/soffice.cfg/modules; \
+ if [ $$i = writer ]; then \
+ for i in sweb swform swreport swxform; do \
+ mv $(PKGDIR)-common/$(OODIR)/share/config/soffice.cfg/modules/$$i \
+ $(PKGDIR)-writer/$(OODIR)/share/config/soffice.cfg/modules; \
+ done; \
+ fi; \
+ if [ $$i = base ]; then \
+ for i in dbapp dbbrowser dbquery dbrelation dbtable dbtdata \
+ sabpilot sbibliography; do \
+ mv $(PKGDIR)-common/$(OODIR)/share/config/soffice.cfg/modules/$$i \
+ $(PKGDIR)-base/$(OODIR)/share/config/soffice.cfg/modules; \
+ done; \
+ fi; \
+ done
+ mv $(PKGDIR)-common/$(OODIR)/share/config/soffice.cfg/dbaccess \
+ $(PKGDIR)-base/$(OODIR)/share/config/soffice.cfg
+ mv $(PKGDIR)-common/$(OODIR)/share/config/soffice.cfg/writerperfect \
+ $(PKGDIR)-writer/$(OODIR)/share/config/soffice.cfg
+ mkdir -p $(PKGDIR)-report-builder/$(OODIR)/share/config/soffice.cfg/modules
+ mv $(PKGDIR)-common/$(OODIR)/share/config/soffice.cfg/modules/dbreport \
+ $(PKGDIR)-report-builder/$(OODIR)/share/config/soffice.cfg/modules
+
+ find debian/tmp ! -perm -200 | xargs -r chmod u+w
+
+ touch $@
+
+#
+# Generate maintainer scripts
+maintscripts: $(STAMP_DIR)/maintscripts
+$(STAMP_DIR)/maintscripts: $(wildcard debian/shell-lib*.sh) $(wildcard debian/*.preinst.in) $(wildcard debian/*.postinst.in) $(wildcard debian/*.prerm.in) $(wildcard debian/*.postrm.in) debian/control
+ dh_testdir
+
+ rm -f debian/*.{pre,post}{inst,rm}
+
+ # generate maintainer scripts from *.in
+ for PKG in $(PACKAGES); do \
+ for FILE in postinst postrm preinst prerm triggers; do \
+ MAINTSCRIPT=debian/$$PKG.$$FILE ; \
+ if [ -e $$MAINTSCRIPT.in ]; then \
+ sed -n '1,/^#INCLUDE_SHELL_LIB#$$/p' < $$MAINTSCRIPT.in | sed -e '/^#INCLUDE_SHELL_LIB#$$/d' > $$MAINTSCRIPT; \
+ if grep -q "lool" $$MAINTSCRIPT.in; then \
+ cat debian/shell-lib-lool.sh >> $$MAINTSCRIPT; \
+ fi; \
+ if grep -E -q "(validate_extension|sync_extension)" $$MAINTSCRIPT.in; then \
+ cat debian/shell-lib-extensions.sh >> $$MAINTSCRIPT; \
+ fi; \
+ sed -n '/^#INCLUDE_SHELL_LIB#$$/,$$p' < $$MAINTSCRIPT.in | sed -e '/^#INCLUDE_SHELL_LIB#$$/d' >> $$MAINTSCRIPT; \
+ perl -pi -e "s/\@LANGPACKISOS\@/$(LANGPACKISOS)/" $$MAINTSCRIPT; \
+ perl -pi -e "s,\@OODIR\@,$(OODIR),g" $$MAINTSCRIPT; \
+ fi; \
+ done; \
+ done
+ # create .ucf files for libreoffice-l10n-*. First generic ones
+ # libreoffice-l10n.ucf.in, but there also are CJK/CTL specific
+ # files, too...
+ for iso in $(filter-out en-US,$(LANGPACKISOS)); do \
+ pkgiso=`echo $$iso | tr \[:upper:\] \[:lower:\]`; \
+ cat debian/libreoffice-l10n.ucf.in \
+ | sed -e "s/\@ISO\@/$$iso/g" \
+ > debian/libreoffice-l10n-$$pkgiso.ucf; \
+ if [ -f instdir/share/registry/ctl_$$iso.xcd ]; then \
+ echo "/usr/lib/libreoffice/share/.registry/ctl_$$iso.xcd /etc/libreoffice/registry/ctl_$$iso.xcd" \
+ >> debian/libreoffice-l10n-$$pkgiso.ucf; \
+ fi; \
+ if [ -f instdir/share/registry/ctlseqcheck_$$iso.xcd ]; then \
+ echo "/usr/lib/libreoffice/share/.registry/ctlseqcheck_$$iso.xcd /etc/libreoffice/registry/ctlseqcheck_$$iso.xcd" \
+ >> debian/libreoffice-l10n-$$pkgiso.ucf; \
+ fi; \
+ if [ -f instdir/share/registry/cjk_$$iso.xcd ]; then \
+ echo "/usr/lib/libreoffice/share/.registry/cjk_$$iso.xcd /etc/libreoffice/registry/cjk_$$iso.xcd" \
+ >> debian/libreoffice-l10n-$$pkgiso.ucf; \
+ fi; \
+ done
+
+ touch $@
+
+# Install files generated by setup into package directories
+langpacks: $(STAMP_DIR)/langpacks
+$(STAMP_DIR)/langpacks: $(STAMP_DIR)/build-indep $(STAMP_DIR)/install-indep $(SOURCE_TREE)/bin/lo-xlate-lang
+
+ # remove empty uno_packages dirs somehow in the langpacks(?)
+ for iso in `echo $(LANGPACKISOS) | tr A-Z a-z`; do \
+ rm -rf $(PKGDIR)-l10n-$$iso/$(OODIR)/share/uno_packages; \
+ done
+
+ # remove ooo dirs somehow in the langpacks(?)
+ for iso in `echo $(LANGPACKISOS) | tr A-Z a-z`; do \
+ rm -rf $(PKGDIR)-l10n-$$iso/$(OODIR)/share/dict/ooo; \
+ done
+
+ # remove extra license files
+ for iso in `echo $(LANGPACKISOS) | tr A-Z a-z`; do \
+ rm -rf $(PKGDIR)-l10n-$$iso/$(OODIR)/licenses; \
+ rm -f $(PKGDIR)-l10n-$$iso/$(OODIR)/share/readme/LICENSE*; \
+ done
+
+ # remove extra readme files
+ for iso in `echo $(LANGPACKISOS) | tr A-Z a-z`; do \
+ rm -rf $(PKGDIR)-l10n-$$iso/$(OODIR)/readmes; \
+ rm -f $(PKGDIR)-l10n-$$iso/$(OODIR)/share/readme/README*; \
+ done
+
+ # remove empty help directories
+ for iso in `echo $(LANGPACKISOS) | tr A-Z a-z`; do \
+ rm -rf $(PKGDIR)-l10n-$$iso/$(shell echo $(OODIR) | sed -e s/lib/share/)/help; \
+ rm -rf $(PKGDIR)-l10n-$$iso/$(OODIR)/help; \
+ done
+
+ # install technical.dic
+ for iso in $(LANGPACKISOS); do \
+ if [ "$$iso" = "en-US" ]; then pkg=common; \
+ elif [ "$$iso" = "ca-valencia" ]; then pkg=l10n-ca; \
+ elif [ "$$iso" = "sr-Latn" ]; then pkg=l10n-sr; \
+ elif [ "$$iso" = "kmr-Latn" ]; then pkg=l10n-kmr; \
+ else pkg=l10n-`echo $$iso | tr A-Z a-z`; \
+ fi; \
+ mkdir -p $(PKGDIR)-$$pkg/$(OODIR)/share/wordbook/$$iso; \
+ install -m644 $(SOURCE_TREE)/extras/source/wordbook/technical.dic \
+ $(PKGDIR)-$$pkg/$(OODIR)/share/wordbook/$$iso/technical.dic; \
+ done
+
+ifeq "$(DEB_VENDOR)" "Debian"
+ # install Debian presentation template
+ otps=`cd debian/templates; echo *.otp`; \
+ for iso in $(LANGPACKISOS); do \
+ [ "$$iso" = "en-US" ] && continue; \
+ pkgiso=`echo $$iso | tr \[:upper:\] \[:lower:\]`; \
+ [ "$$pkgiso" = "ca-valencia" ] && pkgiso=ca; \
+ [ "$$pkgiso" = "sr-latn" ] && pkgiso=sr; \
+ [ "$$pkgiso" = "kmr-latn" ] && pkgiso=kmr; \
+ mkdir -p $(PKGDIR)-l10n-$$pkgiso/$(OODIR)/share/template/$$iso/presnt; \
+ for otp in $$otps; do \
+ ln -sf ../../en-US/presnt/$$otp \
+ $(PKGDIR)-l10n-$$pkgiso/$(OODIR)/share/template/$$iso/presnt/$$odt; \
+ done; \
+ done
+endif
+
+ifeq (he,$(findstring he,$(LANGPACKISOS)))
+ perl -pi -e 's#<prop oor:name="CTLSequenceChecking"><value>true</value></prop>#<prop oor:name="CTLSequenceChecking"><value>false</value></prop>#' $(PKGDIR)-l10n-he/$(OODIR)/share/registry/ctl_he.xcd
+endif
+
+ touch $@
+
+# Install files generated by setup into arch-dependent package directories
+install-arch: $(STAMP_DIR)/install-arch
+$(STAMP_DIR)/install-arch: $(STAMP_DIR)/build-arch $(STAMP_DIR)/install-common
+ dh_testdir
+ dh_testroot
+ umask 022
+
+ifeq "$(ENABLE_JAVA)" "y"
+ mkdir -p debian/ure-java/usr/share/java
+ mkdir -p debian/ure-java/$(OODIR)/program/classes
+ mv debian/ure/$(OODIR)/program/classes/java_uno.jar \
+ debian/ure-java/usr/share/java
+ cd debian/ure-java/$(OODIR)/program/classes && \
+ ln -sf /usr/share/java/java_uno.jar java_uno.jar
+ # remove libraries split out to extra packages
+ # will be installed using mh_* or jh_* in install-indep
+ for i in juh jurt ridl unoloader libreoffice; do \
+ rm debian/ure/$(OODIR)/program/classes/$$i.jar; \
+ done
+ for i in libjuh.so javaldx libjpipe.so libjuhx.so \
+ javavendors.xml JREProperties.class \
+ jvmfwk3rc libjava_uno.so; do \
+ mv debian/ure/$(OODIR)/program/$$i \
+ debian/ure-java/$(OODIR)/program; \
+ done
+endif
+ # and the public libs to their respective packages
+ for i in sal cppu; do \
+ mkdir -p debian/libuno-$${i}3/$(OODIR)/program; \
+ mkdir -p debian/libuno-$${i}3/usr/lib/$(DEB_HOST_MULTIARCH); \
+ mv debian/ure/$(OODIR)/program/libuno_$${i}.so.3 \
+ debian/libuno-$${i}3/$(OODIR)/program; \
+ ln -sf /$(OODIR)/program/`basename libuno_$$i.so.3` debian/libuno-$${i}3/usr/lib/$(DEB_HOST_MULTIARCH)/`basename libuno_$$i.so.3`; \
+ done
+ for i in salhelpergcc3 cppuhelpergcc3 purpenvhelpergcc3; do \
+ mkdir -p debian/libuno-$${i}-3/$(OODIR)/program; \
+ mkdir -p debian/libuno-$${i}-3/usr/lib/$(DEB_HOST_MULTIARCH); \
+ mv debian/ure/$(OODIR)/program/libuno_$${i}.so.3 \
+ debian/libuno-$${i}-3/$(OODIR)/program; \
+ ln -sf /$(OODIR)/program/`basename libuno_$$i.so.3` debian/libuno-$${i}-3/usr/lib/$(DEB_HOST_MULTIARCH)/`basename libuno_$$i.so.3`; \
+ done
+ # we also need libxmlreaderlo.so, libreglo.so and libunoidllo.so (libuno_cppuhelpergcc3.so.3
+ # needs it) and libstorelo.so (libreglo.so needs it)
+ mkdir -p debian/uno-libs-private/$(OODIR)/program
+ for i in libxmlreaderlo.so libreglo.so libstorelo.so libunoidllo.so; do \
+ mv debian/ure/$(OODIR)/program/$$i \
+ debian/uno-libs-private/$(OODIR)/program; \
+ done
+
+
+ifeq "$(BUILD_PLASMA)" "y"
+ # install files for "create new" ...
+ mkdir -p $(PKGDIR)-plasma/usr/share/templates/.source
+ for i in $(SOURCE_TREE)/extras/source/shellnew/*; do \
+ cp $$i $(PKGDIR)-plasma/usr/share/templates/.source/`basename $$i`; \
+ done
+ cat debian/templates/soffice-template.desktop.in \
+ | sed -e "s/@APP@/Writer/" \
+ | sed -e "s/@EXT@/odt/" \
+ | sed -e "s/@TYPE@/text/" \
+ > $(PKGDIR)-plasma/usr/share/templates/soffice.odt.desktop
+ cat debian/templates/soffice-template.desktop.in \
+ | sed -e "s/@APP@/Calc/" \
+ | sed -e "s/@EXT@/ods/" \
+ | sed -e "s/@TYPE@/spreadsheet/" \
+ > $(PKGDIR)-plasma/usr/share/templates/soffice.ods.desktop
+ cat debian/templates/soffice-template.desktop.in \
+ | sed -e "s/@APP@/Impress/" \
+ | sed -e "s/@EXT@/odp/" \
+ | sed -e "s/@TYPE@/presentation/" \
+ > $(PKGDIR)-plasma/usr/share/templates/soffice.odp.desktop
+ cat debian/templates/soffice-template.desktop.in \
+ | sed -e "s/@APP@/Draw/" \
+ | sed -e "s/@EXT@/odg/" \
+ | sed -e "s/@TYPE@/drawing/" \
+ > $(PKGDIR)-plasma/usr/share/templates/soffice.odg.desktop
+endif
+
+ifeq "$(ENABLE_EVO2)" "y"
+ mkdir -p -m755 $(PKGDIR)-evolution/$(OODIR)/program
+ mv $(PKGDIR)-gnome/$(OODIR)/program/libevoab*.so $(PKGDIR)-evolution/$(OODIR)/program
+ mv $(PKGDIR)-gnome/$(OODIR)/share/registry/evoab.xcd \
+ $(PKGDIR)-evolution/$(OODIR)/share/registry
+endif
+
+ifeq "$(ENABLE_GUI)" "y"
+ ifeq "$(BUILD_GTK3)" "y"
+ # split out gtk stuff
+ mkdir -p $(PKGDIR)-gtk3/$(OODIR)/program/
+ mkdir -p debian/liblibreofficekitgtk/$(OODIR)/program
+ mv $(PKGDIR)-gnome/$(OODIR)/program/*gtk3* $(PKGDIR)-gtk3/$(OODIR)/program/
+ ifeq "$(ENABLE_PACKAGEKIT)" "y"
+ # FIXME: ended up in -gtk3 due to a bug. should it stay there or be in -gnome?
+ mv $(PKGDIR)-gnome/$(OODIR)/program/liblosessioninstalllo.so \
+ $(PKGDIR)-gtk3/$(OODIR)/program/
+ endif
+ mv $(PKGDIR)-core/$(OODIR)/program/liblibreofficekitgtk.so \
+ debian/liblibreofficekitgtk/$(OODIR)/program
+ endif
+ ifeq "$(BUILD_GTK4)" "y"
+ mkdir -p $(PKGDIR)-gtk4/$(OODIR)/program/
+ mv $(PKGDIR)-gnome/$(OODIR)/program/*gtk4* $(PKGDIR)-gtk4/$(OODIR)/program
+ endif
+endif
+
+ifeq "$(PACKAGE_BASE)" "y"
+ mkdir -p $(PKGDIR)-base-core/$(OODIR)/program
+ mv $(PKGDIR)-base/$(OODIR)/program/libdbalo.so \
+ $(PKGDIR)-base-core/$(OODIR)/program
+ mv $(PKGDIR)-base/$(OODIR)/program/libdbahsqllo.so \
+ $(PKGDIR)-base-core/$(OODIR)/program
+endif
+
+ifeq "$(ENABLE_JAVA)" "y"
+ ifneq (,$(filter hsqldb, $(SYSTEM_STUFF)))
+ # link to system hsqldb
+ mkdir -p $(PKGDIR)-base/$(OODIR)/program/classes
+ ln -sf $(HSQLDB_JAR) \
+ $(PKGDIR)-base/$(OODIR)/program/classes/hsqldb.jar
+ endif
+endif
+
+ifeq "$(ENABLE_JAVA)" "y"
+ # move the officebean so into libreoffice-officebean
+ # the jar will be installed (into libofficebean-java)
+ # using mh_ in install-indep
+ rm -rf debian/libofficebean-java
+ mkdir -p -m755 debian/libofficebean-java/usr/lib/jni
+ mkdir -p -m755 debian/libofficebean-java/$(OODIR)/program
+ mv $(PKGDIR)-core/$(OODIR)/program/libofficebean.so \
+ debian/libofficebean-java/usr/lib/jni
+ cd debian/libofficebean-java/$(OODIR)/program && \
+ ln -s /usr/lib/jni/libofficebean.so libofficebean.so
+ sed -e s/@version@/$(shell echo $(DEB_VERSION_UPSTREAM) | cut -d~ -f1)/ \
+ < $(SOURCE_TREE)/bean/pom.officebean.xml > debian/pom.officebean.xml
+ mh_installpoms -plibofficebean-java
+ mh_installjar -plibofficebean-java -l debian/pom.officebean.xml instdir/program/classes/officebean.jar
+ # create symlink where LO expects it
+ mkdir -p $(CURDIR)/debian/libofficebean-java/$(OODIR)/program/classes
+ cd $(CURDIR)/debian/libofficebean-java/$(OODIR)/program/classes && \
+ ln -s /usr/share/java/officebean.jar officebean.jar
+ # fix up Class-Path
+ jh_classpath --classpath="libreoffice.jar" \
+ debian/libofficebean-java/usr/share/java/officebean.jar
+endif
+
+ mkdir -p -m755 $(PKGDIR)-base/usr/share/applications \
+ $(PKGDIR)-core/usr/share/applications
+
+ sed -i -e 's/Education;Science;//' $(PKGDIR)-math/usr/share/applications/libreoffice-math.desktop
+ # invalid, according to lintian. make it shut up.
+ for i in writer calc impress draw math base; do \
+ perl -pi -e 's/Application;//; s/X-Red-Hat-Base;//; s/X-SuSE-Core-Office;//; s/X-MandrivaLinux-.*;//;' $(PKGDIR)-$$i/usr/share/applications/libreoffice-$$i.desktop; \
+ done
+
+ifeq "$(ENABLE_PYTHON)" "y"
+ # PyUNO packaging
+ install -d $(PYTHON_SITE)
+ # prepend stuff so that it works when the module is not in LOs
+ # directories but in $(PYTHON_SITE). Can't be a patch (anymore)
+ # as otherwise the python-based unittests fail miserably.
+ echo "import sys, os" > $(PYTHON_SITE)/uno.py
+ echo "sys.path.append('/$(OODIR)/program')" >> $(PYTHON_SITE)/uno.py
+ echo "os.putenv('URE_BOOTSTRAP', 'vnd.sun.star.pathname:/$(OODIR)/program/fundamentalrc')" >> $(PYTHON_SITE)/uno.py
+ cat debian/python3-uno/$(OODIR)/program/uno.py >> $(PYTHON_SITE)/uno.py
+ rm -f debian/python3-uno/$(OODIR)/program/uno.py
+ mv debian/python3-uno/$(OODIR)/program/unohelper.py $(PYTHON_SITE)
+ touch debian/python3-uno/$(OODIR)/program/pythonloader.unorc
+ chmod u+w debian/python3-uno/$(OODIR)/program/pythonloader.unorc
+ ( echo 'PYTHONHOME=file:///usr/lib/python$(PYMAJOR).$(PYMINOR)' ;\
+ echo 'PYTHONPATH=$$PYTHONHOME $$PYTHONHOME/site-packages $$PYTHONHOME/lib-dynload $$PYTHONHOME/lib-tk $$ORIGIN' \
+ ) >> debian/python3-uno/$(OODIR)/program/pythonloader.unorc
+ chmod u-w debian/python3-uno/$(OODIR)/program/pythonloader.unorc
+ ifeq "$(ENABLE_SCRIPT_PROVIDER_PYTHON)" "y"
+ rm -f debian/libreoffice-script-provider-python/$(OODIR)/share/extensions/script-provider-for-python/registration/LICENSE
+ endif
+
+ mkdir -p debian/python3-uno/usr/share/doc/python3-uno
+ cp -r $(SOURCE_TREE)/pyuno/demo \
+ debian/python3-uno/usr/share/doc/python3-uno; \
+ for i in $(SOURCE_TREE)/pyuno/doc/*; do \
+ cp $$i debian/python3-uno/usr/share/doc/python3-uno; \
+ done
+ cd debian/python3-uno/usr/share/doc/python3-uno && \
+ find . -type d -name "CVS" | xargs -r rm -rf
+endif
+
+ # should be empty now, remove if there
+ rm -rf $(PKGDIR)-core/$(OODIR)/ure
+
+ifeq "$(PACKAGE_SDK)" "y"
+ # create wrapper scripts
+ cd $(PKGDIR)-dev/$(OOSDKDIR)/bin && \
+ for i in *; do \
+ mv $$i $$i.bin && \
+ ( \
+ echo "#!/bin/sh"; \
+ echo "# wrapper script for OOos SDK programs"; \
+ echo ""; \
+ echo 'LD_LIBRARY_PATH=/$(OODIR)/program /$(OOSDKDIR)/bin/`basename $$0`.bin "$$@"'; \
+ ) > $$i; \
+ chmod 755 $$i; \
+ done
+ # remove symlink, it should be in -dev-doc
+ cd $(PKGDIR)-dev/$(OOSDKDIR) && \
+ rm docs
+
+ rm -f $(PKGDIR)-dev/usr/share/doc/libreoffice/sdk/readme/LICENSE.gz
+endif
+
+ # remove empty resource directories
+ for i in draw base writer impress calc math; do \
+ rm -rf $(PKGDIR)-$$i/$(OODIR)/program/resource; \
+ done
+
+ifeq "$(ENABLE_JAVA)" "y"
+ mkdir -p $(PKGDIR)-sdbc-hsqldb/$(OODIR)/program
+ mkdir -p $(PKGDIR)-sdbc-hsqldb/usr/lib/libreoffice/program/classes
+ mkdir -p $(PKGDIR)-sdbc-hsqldb/usr/share/libreoffice/program/classes
+ mv $(PKGDIR)-base/$(OODIR)/program/libhsqldb.so \
+ $(PKGDIR)-sdbc-hsqldb/$(OODIR)/program
+ ifneq (,$(filter hsqldb, $(SYSTEM_STUFF)))
+ mv $(PKGDIR)-base/usr/lib/libreoffice/program/classes/hsqldb.jar \
+ $(PKGDIR)-sdbc-hsqldb/usr/lib/libreoffice/program/classes
+ endif
+ for i in lib share; do \
+ mv $(PKGDIR)-base/usr/$$i/libreoffice/program/classes/sdbc_hsqldb.jar \
+ $(PKGDIR)-sdbc-hsqldb/usr/$$i/libreoffice/program/classes; \
+ done
+endif
+ifeq "$(ENABLE_FIREBIRD)" "y"
+ mkdir -p $(PKGDIR)-sdbc-firebird/$(OODIR)/program
+ mv $(PKGDIR)-core/$(OODIR)/program/libfirebird_sdbclo.so \
+ $(PKGDIR)-sdbc-firebird/$(OODIR)/program
+ ifeq (,$(filter firebird, $(SYSTEM_STUFF)))
+ for i in libEngine12.so libfbclient.so.2; do \
+ mv $(PKGDIR)-core/$(OODIR)/program/$$i \
+ $(PKGDIR)-sdbc-firebird/$(OODIR)/program; \
+ done
+ endif
+endif
+ mkdir -p $(PKGDIR)-sdbc-mysql/$(OODIR)/program
+ mv $(PKGDIR)-base/$(OODIR)/program/libmysqlclo.so \
+ $(PKGDIR)-sdbc-mysql/$(OODIR)/program
+
+ mkdir -p $(PKGDIR)-base-drivers/$(OODIR)/program
+ for i in `find $(PKGDIR)-base/$(OODIR)/program/ -name "*.so" \
+ -a \! -name "libdbulo*" -a \! -name "libdbaxml*" -a \! -name "libdbp*" -a \! -name "libabplo.so"`; do \
+ mv $$i \
+ $(PKGDIR)-base-drivers/$(OODIR)/program; \
+ done
+
+ifeq "$(BUILD_NOGUI_PACKAGES)" "y"
+ # create no-GUI packages
+ for p in $(shell dh_listpackages -a | grep nogui | grep -v libreoffice-nogui | cut -d- -f2- | sed -e s/-nogui// | xargs); do \
+ rm -rf $(PKGDIR)-$$p-nogui; \
+ cp -ra $(PKGDIR)-$$p $(PKGDIR)-$$p-nogui; \
+ for i in $(PKGDIR)-$$p-nogui/$(OODIR)/program/*; do \
+ if [ -e instdir-nogui/program/`basename $$i` ]; then \
+ cp -v instdir-nogui/program/`basename $$i` \
+ $(PKGDIR)-$$p-nogui/$(OODIR)/program; \
+ else \
+ rm -fv $(PKGDIR)-$$p-nogui/$(OODIR)/program/`basename $$i`; \
+ fi; \
+ done; \
+ done
+ # remove lib*uilo.so in -nogui
+ find debian/libreoffice-*-nogui/$(OODIR)/program -name "lib*uilo.so" -a ! -name "libuuilo.so" \
+ -exec rm {} \;
+ rm -f debian/libreoffice-base-nogui/$(OODIR)/program/libdbulo.so
+ # and (no UI, so not needed) not needed .desktop and .ui files
+ # tabviewbar.ui is needed to make --convert-to work in impress... (#1028290)
+ find debian/libreoffice-*-nogui/usr/share/applications/*.desktop -exec rm {} \;
+ find debian/libreoffice-*-nogui/$(OODIR)/share/config/soffice.cfg -name "*.ui" -a ! -name "tabviewbar.ui" -exec rm {} \;
+ # unneeded launchers
+ find debian/libreoffice-*-nogui/usr/bin/lo* -exec rm {} \;
+ # otherwise we get errors since the launchers are missing
+ find debian/libreoffice-*-nogui/usr/share/metainfo/libreoffice-*.appdata.xml -exec rm {} \;
+
+ # OGLTrans.so is not in -impress-nogui so we don't need this either
+ rm -f debian/libreoffice-impress-nogui/$(OODIR)/share/registry/ogltrans.xcd
+ rm -f debian/libreoffice-impress-nogui/$(OODIR)/share/config/soffice.cfg/simpress/transitions-ogl.xml
+ rm -rf debian/libreoffice-impress-nogui/$(OODIR)/opengl
+endif
+
+ rm -f *.bug-script
+ for i in $(ARCH_DEP_PACKAGES); do \
+ if [ -e debian/$$i.bug-script.in ]; then \
+ cat debian/$$i.bug-script.in \
+ | sed -e "s/@PLATFORMID@/$(PLATFORMID)/" \
+ | sed -e "s/@RTL_OS@/$(RTL_OS)/" \
+ | sed -e "s/@RTL_ARCH@/$(RTL_ARCH)/" \
+ | sed -e "s/@OOVER@/$(OOVER)/" \
+ > debian/$$i.bug-script; \
+ fi ;\
+ if [ -e debian/$$i.ucf ]; then \
+ if [ ! -e debian/$$i.bug-script.in ]; then \
+ printf "#!/bin/sh\n\n" > debian/$$i.bug-script; \
+ fi ;\
+ echo "ucfq $$i >&3" >> debian/$$i.bug-script; \
+ fi ;\
+ done
+ for i in $(ARCH_DEP_PACKAGES); do \
+ if [ -e debian/$$i.bug-control ]; then \
+ if grep -q "^report-with:" debian/$$i.bug-control; then \
+ extra_packages=`grep "^report-with:" debian/$$i.bug-control | sed -e "s/^report-with: //"`; \
+ for p in $$extra_packages; do \
+ if [ $$i != $$p ] && [ -f debian/$$p.bug-script ] && ! echo $$added_packages | grep -q $$p && \
+ ! grep -q bug\/$$p\/script debian/$$i.bug-script; then \
+ printf "#!/bin/sh\n" >> debian/$$i.bug-script; \
+ printf "if [ -x /usr/share/bug/$$p/script ]; then /usr/share/bug/$$p/script; fi\n" >> debian/$$i.bug-script; \
+ added_packages="$$added_packages $$p"; \
+ fi; \
+ done; \
+ added_packages=; \
+ fi; \
+ fi; \
+ done
+ # generate .links files from *.in
+ for PKG in $(ARCH_DEP_PACKAGES); do \
+ LINKS=debian/$$PKG.links ; \
+ if [ -e $$LINKS.in ]; then \
+ sed -e "s#\@OODIR\@#$(OODIR)#g" \
+ < $$LINKS.in > $$LINKS ; \
+ fi; \
+ done
+
+ # make config xml "pretty" to make ucf --three-way work.
+ for p in $(ARCH_DEP_PACKAGES); do \
+ for i in `find debian/$$p/$(OODIR)/share/registry -name "*.xcd"`; do \
+ t=`mktemp -q`; \
+ xmllint --pretty 1 $$i > $$t; \
+ mv $$t $$i; \
+ done; \
+ done
+ # and "hide" the ucf source registry; makes it less confusing for
+ # people who do know /usr/lib/libreoffice/share/registry.
+ for p in $(ARCH_DEP_PACKAGES); do \
+ for i in `find debian/$$p -type d -wholename "*$(OODIR)/share/registry"`; do \
+ mv $$i `echo $$i | sed -e s/registry/.registry/`; \
+ done; \
+ done
+
+ touch $@
+
+# Install files generated by setup into arch-independent package directories
+install-indep: $(STAMP_DIR)/install-indep
+#$(STAMP_DIR)/install-indep: debian/libreoffice.install
+#$(STAMP_DIR)/install-indep: debian/libreoffice.dirs
+$(STAMP_DIR)/install-indep: $(STAMP_DIR)/build-indep $(STAMP_DIR)/install-common
+ dh_testdir
+ dh_testroot
+
+ifneq "$(shell echo $(USE_GSTREAMER) | grep -q y && echo 0)" "0"
+ # sound doesn't work anyway, remove the .wav files to save space
+ rm -rf $(PKGDIR)-common/$(OODIR)/share/gallery/sounds
+ rm -f $(PKGDIR)-common/$(OODIR)/share/gallery/sg9.*
+endif
+
+ rm -f $(PKGDIR)-common/$(OODIR)/program/oo_product.bmp
+
+ # install openoffice-xlate-lang
+ install -d -m755 $(PKGDIR)-common/usr/share/$(OODIRNAME)/bin
+ install -m755 $(SOURCE_TREE)/bin/lo-xlate-lang \
+ $(PKGDIR)-common/usr/share/$(OODIRNAME)/bin
+
+ifeq "$(ENABLE_HELP)" "n"
+ # when we don't build helpcontent2 here we are missing helpxsl.zip so
+ # this file doesn't get installed either. Do it manually..
+ mkdir -p -m755 $(PKGDIR)-common/$(shell echo $(OODIR) | sed -e s/lib/share/)/help && \
+ cp $(SOURCE_TREE)/xmlhelp/util/main_transform.xsl \
+ $(PKGDIR)-common/$(shell echo $(OODIR) | sed -e s/lib/share/)/help
+ cp $(SOURCE_TREE)/xmlhelp/util/idxcaption.xsl \
+ $(PKGDIR)-common/$(shell echo $(OODIR) | sed -e s/lib/share/)/help
+ cp $(SOURCE_TREE)/xmlhelp/util/idxcontent.xsl \
+ $(PKGDIR)-common/$(shell echo $(OODIR) | sed -e s/lib/share/)/help
+endif
+
+ifeq "$(PACKAGE_SDK)" "y"
+ ifeq "$(PACKAGE_SDK_DOCS)" "y"
+ rm -f $(PKGDIR)-dev-doc/usr/share/doc/libreoffice-dev-doc/LICENSE
+ perl -pi -e 's,license.html,http://www.gnu.org/licenses/lgpl.html,' \
+ $(PKGDIR)-dev-doc/$(OOSDKDIR)/index.html
+ find $(PKGDIR)-dev-doc/$(OODIR)/sdk/examples -type f -exec chmod 644 {} \;
+ endif
+endif
+
+ifeq "$(ENABLE_JAVA)" "y"
+ # move common Java stuff to -java-common
+ rm -rf $(PKGDIR)-java-common
+ mkdir -p $(PKGDIR)-java-common/$(OODIR)/program/classes
+ mkdir -p $(PKGDIR)-java-common/$(OODIR)/share/Scripts
+ mkdir -p $(PKGDIR)-java-common/$(shell echo $(OODIR) | sed -e s/lib/share/)/program/classes
+ mv $(PKGDIR)-common/$(OODIR)/share/Scripts/java \
+ $(PKGDIR)-java-common/$(OODIR)/share/Scripts
+ # remove unoil and officebean; installed later/in install-arch by mh_* and in extra packages anyway
+ rm -f $(PKGDIR)-common/$(OODIR)/program/classes/unoil.jar
+ rm -f $(PKGDIR)-common/$(OODIR)/program/classes/officebean.jar
+ # and move the rest
+ mv $(PKGDIR)-common/$(OODIR)/program/classes/* \
+ $(PKGDIR)-java-common/$(shell echo $(OODIR) | sed -e s/lib/share/)/program/classes
+ cd $(PKGDIR)-java-common/$(OODIR)/program/classes && \
+ for i in $(CURDIR)/$(PKGDIR)-java-common/$(shell echo $(OODIR) | sed -e s/lib/share/)/program/classes/*; do \
+ case "`basename $$i`" in aportisdoc.jar|pexcel.jar|pocketword.jar) continue ;; \
+ *) ln -s `echo $$i | sed -e 's,$(CURDIR)/$(PKGDIR)-java-common,,'` `basename $$i` ;; esac; \
+ done
+
+ifeq "$(BUILD_TEST_PACKAGES)" "y"
+ ifeq "$(ENABLE_JUNIT4)" "y"
+ rm -rf $(PKGDIR)-subsequentcheckbase
+ mkdir -p $(PKGDIR)-subsequentcheckbase/$(OODIR)/program/classes/
+ for jar in OOoRunner test test-tools ConnectivityTools; do \
+ cp workdir/Jar/$$jar.jar $(PKGDIR)-subsequentcheckbase/$(OODIR)/program/classes/; \
+ done
+ # fix Class-Path: to not include build path
+ jh_classpath --classpath="libreoffice.jar OOoRunner.jar file:///usr/share/java/junit4.jar "\
+ $(PKGDIR)-subsequentcheckbase/$(OODIR)/program/classes/test.jar
+ endif
+
+ rm -rf $(PKGDIR)-smoketest-data
+ mkdir -p $(PKGDIR)-smoketest-data/$(shell echo $(OODIR) | sed -e s/lib/share/)/program/classes
+ mkdir -p $(PKGDIR)-smoketest-data/$(OODIR)/program/classes
+ mv $(PKGDIR)-java-common/$(shell echo $(OODIR) | sed -e s/lib/share/)/program/classes/smoketest.jar \
+ $(PKGDIR)-smoketest-data/$(shell echo $(OODIR) | sed -e s/lib/share/)/program/classes
+ mv $(PKGDIR)-java-common/$(OODIR)/program/classes/smoketest.jar \
+ $(PKGDIR)-smoketest-data/$(OODIR)/program/classes
+ rm -f $(PKGDIR)-java-common/$(OODIR)/program/classes/smoketest.jar
+
+ mkdir -p $(PKGDIR)-smoketest-data/usr/share/libreoffice
+ cp workdir/Extension/TestExtension.oxt \
+ $(PKGDIR)-smoketest-data/usr/share/libreoffice
+ cp workdir/Zip/smoketestdoc.sxw \
+ $(PKGDIR)-smoketest-data/usr/share/libreoffice
+endif
+endif
+
+ # fix permissions
+ for i in editpic poll savepic show webcast; do \
+ chmod 755 $(PKGDIR)-common/$(OODIR)/share/config/webcast/$$i.pl; \
+ done
+ chmod 644 $(PKGDIR)-common/$(OODIR)/CREDITS.fodt
+ # Do we really need this (ALV2 mandating it) or can this go?
+ chmod 644 $(PKGDIR)-common/$(OODIR)/NOTICE
+
+ # set PYTHONPATH in unopkg
+ perl -pi -e 's,unset XENVIRONMENT,unset XENVIRONMENT\n\nexport PYTHONPATH=\"/$(OODIR)/program\"\n\n,' \
+ $(PKGDIR)-common/$(OODIR)/program/unopkg
+
+ mkdir -p debian/fonts-opensymbol/usr/share/fonts/truetype/libreoffice
+ mv $(PKGDIR)-common/$(OODIR)/share/fonts/truetype/opens___.ttf \
+ debian/fonts-opensymbol/usr/share/fonts/truetype/libreoffice
+ # this is double-installed since https://cgit.freedesktop.org/libreoffice/core/commit/?id=25f4cc12fb59284392914c93a0ae6ad199ecc069
+ rm -f $(PKGDIR)-common/$(OODIR)/program/resource/common/fonts/opens___.ttf
+ mkdir -p debian/fonts-opensymbol/etc/fonts/conf.d
+ mkdir -p debian/fonts-opensymbol/usr/share/fontconfig/conf.avail
+ # this only works with --without-fonts. Otherwise we get all stuff here,
+ # not only the Symbol->OpenSymbol part... But we don't support --with-fonts
+ # build here right now anyway.
+ mv $(PKGDIR)-common/$(OODIR)/share/fonts/truetype/fc_local.conf \
+ debian/fonts-opensymbol/usr/share/fontconfig/conf.avail/30-opensymbol.conf
+ cd debian/fonts-opensymbol/etc/fonts/conf.d/ && \
+ ln -s /usr/share/fontconfig/conf.avail/30-opensymbol.conf
+
+ # remove extra license files
+ rm -rf $(PKGDIR)-common/$(OODIR)/licenses
+ rm -f $(PKGDIR)-common/$(OODIR)/share/readme/LICENSE*
+ rm -f $(PKGDIR)-common/$(OODIR)/THIRDPARTYLICENSEREADME.html
+ rm -f $(PKGDIR)-common/$(OODIR)/LICENSE
+
+ # remove extra readme files
+ rm -rf $(PKGDIR)-common/$(OODIR)/readmes
+ rm -f $(PKGDIR)-common/$(OODIR)/share/readme/README*
+ rm -f $(PKGDIR)-common/$(OODIR)/README.html
+ rm -f $(PKGDIR)-common/$(OODIR)/README
+
+ # URE got moved to /usr/lib, so this is obsolete
+ for i in ure/lib ure; do \
+ if [ -e $(PKGDIR)-common/$(OODIR)/$$i ]; then \
+ rmdir $(PKGDIR)-common/$(OODIR)/$$i; \
+ fi; \
+ done
+
+ # move psprint.conf into /etc. for non-GUI it somehow is not installed
+ # do do it manually. FIXME: is psprint.conf still a thing?
+ifeq "$(ENABLE_GUI)" "y"
+ mkdir -p $(PKGDIR)-common/etc/$(OODIRNAME)
+ mv $(PKGDIR)-common/$(OODIR)/share/psprint/psprint.conf \
+ $(PKGDIR)-common/etc/$(OODIRNAME)
+else
+ mkdir -p $(PKGDIR)-common/etc/$(OODIRNAME)
+ mkdir -p $(PKGDIR)-common/$(OODIR)/share/psprint
+ install -m644 vcl/unx/generic/printer/configuration/psprint.conf \
+ $(PKGDIR)-common/etc/$(OODIRNAME)
+endif
+ ln -s /etc/$(OODIRNAME)/psprint.conf \
+ $(PKGDIR)-common/$(OODIR)/share/psprint/psprint.conf
+
+ # prepare a fake sofficerc in the place where OOo expects it
+ # which does nothing except reference the "normal" one
+ # which we put into /etc
+ mkdir -p $(PKGDIR)-common/etc/$(OODIRNAME)
+ mv $(PKGDIR)-common/$(OODIR)/program/sofficerc \
+ $(PKGDIR)-common/etc/$(OODIRNAME)/sofficerc
+ ( \
+ echo "# *DO NOT* CHANGE THIS FILE. IT ONLY TAKES THE SETTINGS FROM"; \
+ echo "# /etc/$(OODIRNAME)/sofficerc. CHANGE THAT FILE IF YOU"; \
+ echo "# REALLY WANT TO CHANGE SOMETHING."; \
+ echo "FHS_CONFIG_FILE=file:///etc/$(OODIRNAME)/sofficerc"; \
+ echo "" >> $(PKGDIR)-common/$(OODIR)/program/sofficerc; \
+ ) > $(PKGDIR)-common/$(OODIR)/program/sofficerc
+ cat $(PKGDIR)-common/etc/$(OODIRNAME)/sofficerc \
+ | perl -p -e 's/(.*)=(.*)/$$1=\$${\$$FHS_CONFIG_FILE:Bootstrap:$$1}/' \
+ >> $(PKGDIR)-common/$(OODIR)/program/sofficerc
+ # except for URE_BOOTSTRAP...
+ TMP=`mktemp -q`; \
+ grep -v URE_BOOTSTRAP $(PKGDIR)-common/$(OODIR)/program/sofficerc > $$TMP && mv $$TMP $(PKGDIR)-common/$(OODIR)/program/sofficerc && \
+ grep URE_BOOTSTRAP $(PKGDIR)-common/etc/$(OODIRNAME)/sofficerc >> $(PKGDIR)-common/$(OODIR)/program/sofficerc && \
+ grep -v URE_BOOTSTRAP $(PKGDIR)-common/etc/$(OODIRNAME)/sofficerc > $$TMP && mv $$TMP $(PKGDIR)-common/etc/$(OODIRNAME)/sofficerc
+
+ install -m 644 debian/soffice.sh \
+ $(PKGDIR)-common/etc/$(OODIRNAME)/soffice.sh
+
+ set -e; \
+ for i in $(IMAGES); do \
+ z=images_$$i.zip; p=$$i; \
+ if [ "$$i" = "colibre_dark" ]; then p=colibre; fi; \
+ if [ "$$i" = "colibre_dark_svg" ]; then p=colibre; fi; \
+ if [ "$$i" = "colibre_svg" ]; then p=colibre; fi; \
+ if [ "$$i" = "breeze_dark" ]; then p=breeze; fi; \
+ if [ "$$i" = "breeze_dark_svg" ]; then p=breeze; fi; \
+ if [ "$$i" = "breeze_svg" ]; then p=breeze; fi; \
+ if [ "$$i" = "elementary_svg" ]; then p=elementary; fi; \
+ if [ "$$i" = "sifr_dark" ]; then p=sifr; fi; \
+ if [ "$$i" = "sifr_dark_svg" ]; then p=sifr; fi; \
+ if [ "$$i" = "karasa_jaga" ]; then p=karasa-jaga; fi; \
+ if [ "$$i" = "sukapura_svg" ]; then p=sukapura; fi; \
+ mkdir -p $(PKGDIR)-style-$$p/$(shell echo $(OODIR) | sed -e s/lib/share/)/share/config; \
+ mv $(PKGDIR)-common/$(OODIR)/share/config/$$z \
+ $(PKGDIR)-style-$$p/$(shell echo $(OODIR) | sed -e s/lib/share/)/share/config/; \
+ mkdir -p $(PKGDIR)-style-$$p/$(OODIR)/share/config; \
+ ln -s /$(shell echo $(OODIR) | sed -e s/lib/share/)/share/config/$$z \
+ $(PKGDIR)-style-$$p/$(OODIR)/share/config/$$z; \
+ done
+ mkdir -p $(PKGDIR)-common/$(shell echo $(OODIR) | sed -e s/lib/share/)/share/config; \
+ mv $(PKGDIR)-common/$(OODIR)/share/config/images_helpimg.zip \
+ $(PKGDIR)-common/$(shell echo $(OODIR) | sed -e s/lib/share/)/share/config/; \
+ mkdir -p $(PKGDIR)-common/$(OODIR)/share/config; \
+ ln -s /$(shell echo $(OODIR) | sed -e s/lib/share/)/share/config/images_helpimg.zip \
+ $(PKGDIR)-common/$(OODIR)/share/config/images_helpimg.zip; \
+
+ifeq "$(DEB_VENDOR)" "Debian"
+ # install Debian presentation template
+ mkdir -p $(PKGDIR)-common/$(OODIR)/share/template/en-US/presnt
+ install -m644 debian/templates/*.otp $(PKGDIR)-common/$(OODIR)/share/template/en-US/presnt/
+endif
+
+ifeq "$(PACKAGE_SDK_DOCS)" "y"
+ # add symlinks for docs and examples
+ cd $(PKGDIR)-dev-doc/$(OOSDKDIR) && \
+ rm -rf docs && \
+ ln -sf /usr/share/doc/libreoffice/sdk/docs docs
+endif
+
+ifeq "$(ENABLE_JAVA)" "y"
+ ifeq "$(ENABLE_SCRIPT_PROVIDER_BSH)" "y"
+ mkdir -p $(PKGDIR)-script-provider-bsh/$(OODIR)/share/Scripts
+ mv $(PKGDIR)-common/$(OODIR)/share/Scripts/beanshell \
+ $(PKGDIR)-script-provider-bsh/$(OODIR)/share/Scripts
+ endif
+
+ ifeq "$(ENABLE_SCRIPT_PROVIDER_JS)" "y"
+ mkdir -p $(PKGDIR)-script-provider-js/$(OODIR)/share/Scripts
+ mv $(PKGDIR)-common/$(OODIR)/share/Scripts/javascript \
+ $(PKGDIR)-script-provider-js/$(OODIR)/share/Scripts
+ endif
+
+ ifeq "$(ENABLE_MEDIAWIKI)" "y"
+ rm -f $(PKGDIR)-wiki-publisher/$(OODIR)/share/extensions/wiki-publisher/registration/LICENSE
+ rm -f $(PKGDIR)-wiki-publisher/$(OODIR)/share/extensions/wiki-publisher/license/THIRDPARTYLICENSEREADME.html
+ endif
+
+ ifeq "$(ENABLE_NLPSOLVER)" "y"
+ rm -f $(PKGDIR)-nlpsolver/$(OODIR)/share/extensions/nlpsolver/registration/LICENSE
+ endif
+endif
+
+ # unopkg creates stuff in there.
+ mkdir -p $(PKGDIR)-common/$(OODIR)/share/prereg
+ mkdir -p $(PKGDIR)-common/$(shell echo $(OODIR) | sed -e s/usr/var/)/share/prereg/bundled
+ ln -s /$(shell echo $(OODIR) | sed -e s/usr/var/)/share/prereg/bundled \
+ $(PKGDIR)-common/$(OODIR)/share/prereg/bundled
+
+ # dedup
+ cd $(PKGDIR)-common/usr/share/icons && \
+ rdfind -outputname /dev/null -makesymlinks true hicolor gnome
+ # should happen on dh_link, apparently didn't fix the /home/... symlinks
+ # so do this...
+ symlinks -r -s -c $(PKGDIR)-common
+
+ # looks like it's pretty nonstandard to have symlinks; this breaks
+ # e.g. thegeneration from the appdata files. So get rid of those
+ # and move them to the libreoffice-* names after all.
+ mkdir -p $(PKGDIR)-common/usr/share/applications
+ for i in startcenter xsltfilter; do \
+ rm -f $(PKGDIR)-common/usr/share/applications/libreoffice-$$i.desktop; \
+ mv $(PKGDIR)-common/$(OODIR)/share/xdg/$$i.desktop \
+ $(PKGDIR)-common/usr/share/applications/libreoffice-$$i.desktop; \
+ done
+
+ # fix the shebangs to make lintian happy
+ sed -i "s,/usr/bin/env perl,/usr/bin/perl,g" \
+ $(PKGDIR)-common/usr/share/$(OODIRNAME)/bin/lo-xlate-lang
+ for i in $(PKGDIR)-common/$(OODIR)/share/config/webcast/*.pl; do \
+ sed -i "s,/usr/bin/env perl,/usr/bin/perl,g" $$i; \
+ done
+
+ for i in $(ARCH_INDEP_PACKAGES); do \
+ if [ -e debian/$$i.bug-script.in ]; then \
+ cat debian/$$i.bug-script.in \
+ | sed -e "s/@PLATFORMID@/$(PLATFORMID)/" \
+ > debian/$$i.bug-script; \
+ fi ;\
+ if [ -e debian/$$i.ucf ]; then \
+ if [ ! -e debian/$$i.bug-script.in ]; then \
+ printf "#!/bin/sh\n\n" > debian/$$i.bug-script; \
+ fi ;\
+ echo "ucfq $$i >&3" >> debian/$$i.bug-script; \
+ fi ;\
+ done
+ for i in $(ARCH_INDEP_PACKAGES); do \
+ if [ -e debian/$$i.bug-control ]; then \
+ if grep -q "^report-with:" debian/$$i.bug-control; then \
+ extra_packages=`grep "^report-with:" debian/$$i.bug-control | sed -e "s/^report-with: //"`; \
+ for p in $$extra_packages; do \
+ if [ $$i != $$p ] && [ -f debian/$$p.bug-script ] && ! echo $$added_packages | grep -q $$p && \
+ ! grep -q bug\/$$p\/script debian/$$i.bug-script; then \
+ printf "#!/bin/sh\n" >> debian/$$i.bug-script; \
+ printf "if [ -x /usr/share/bug/$$p/script ]; then /usr/share/bug/$$p/script; fi\n" >> debian/$$i.bug-script; \
+ added_packages="$$added_packages $$p"; \
+ fi; \
+ done; \
+ added_packages=; \
+ fi; \
+ fi; \
+ done
+ # generate .links files from *.in
+ for PKG in $(ARCH_INDEP_PACKAGES); do \
+ LINKS=debian/$$PKG.links ; \
+ if [ -e $$LINKS.in ]; then \
+ sed -e "s#\@OODIR\@#$(OODIR)#g" \
+ < $$LINKS.in > $$LINKS ; \
+ fi; \
+ done
+
+ # install extension shell lib for use by extensions not from here
+ install -D -m644 debian/shell-lib-extensions.sh \
+ $(PKGDIR)-common/usr/share/$(OODIRNAME)/shell-lib-extensions.sh
+
+ifneq "$(ENABLE_HELP)" "n"
+ ifneq "$(ENABLE_HTML_HELP)" "y"
+ # those are needed in /usr/share, too
+ mkdir -p $(PKGDIR)-common/$(shell echo $(OODIR) | sed -e s/lib/share/)
+ mv $(PKGDIR)-common/$(OODIR)/help \
+ $(PKGDIR)-common/$(shell echo $(OODIR) | sed -e s/lib/share/)
+ endif
+endif
+ # help is in /usr/share
+ sed -i 's,$$(instpath)/help,/$(shell echo $(OODIR) | sed -e s/lib/share/)/help,' \
+ $(PKGDIR)-common/$(OODIR)/share/registry/main.xcd
+
+ # compat dirs, the split icons thing need it
+ mkdir -p $(PKGDIR)-common/$(shell echo $(OODIR) | sed -e s/lib/share/)/program
+ mkdir -p $(PKGDIR)-common/$(shell echo $(OODIR) | sed -e s/lib/share/)/program
+
+ # enable session handling and recovery
+ perl -pi -e 's,<prop oor:name="DocumentStoreUIEnabled" oor:type="xs:boolean"><value>false</value></prop>,<prop oor:name="DocumentStoreUIEnabled" oor:type="xs:boolean"><value>true</value></prop>,' $(PKGDIR)-common/$(OODIR)/share/registry/main.xcd
+
+ # examples. move where they belong
+ mkdir -p $(PKGDIR)-common/usr/share/doc/libreoffice-common/examples
+ for i in oo-ldap.xcd.sample oo-ad-ldap.xcd.sample; do \
+ mv $(PKGDIR)-common/$(OODIR)/share/registry/$$i \
+ $(PKGDIR)-common/usr/share/doc/libreoffice-common/examples; \
+ ln -s /usr/share/doc/libreoffice-common/examples/$$i $(PKGDIR)-common/etc/libreoffice/registry/$$i; \
+ done
+
+ # register technical.dic
+ perl -pi -e 's/standard.dic;/standard.dic;technical.dic;/' $(PKGDIR)-common/$(OODIR)/share/registry/main.xcd
+
+#ifeq "$(PACKAGE_SDK)" "y"
+# # install gengal stuff into -dev-gui
+# mkdir -p $(PKGDIR)-dev-gui/$(OODIR)/program
+# install -m644 $(SOURCE_TREE)/svx/$(shell . $(SOURCE_TREE)/bin/get_config_variables OUTPATH PROEXT; echo $$OUTPATH$$PROEXT)/bin/gengalrc \
+# $(PKGDIR)-dev-gui/$(OODIR)/program/gengalrc
+#endif
+
+ # package the Java public libraries...
+ifeq "$(ENABLE_JAVA)" "y"
+ # somehow --has-package-version doesn't overwrite version and without <version>...</version>
+ # we get a NullPointerException when calling mh_installjar
+ for i in ridl unoloader libreoffice; do \
+ sed -e s/@version@/$(shell echo $(DEB_VERSION_UPSTREAM) | cut -d~ -f1)/ \
+ < $(SOURCE_TREE)/ridljar/pom.$$i.xml > debian/pom.$$i.xml; \
+ done
+ sed -e s/@version@/$(shell echo $(DEB_VERSION_UPSTREAM) | cut -d~ -f1)/ \
+ < $(SOURCE_TREE)/jurt/pom.jurt.xml > debian/pom.jurt.xml
+ sed -e s/@version@/$(shell echo $(DEB_VERSION_UPSTREAM) | cut -d~ -f1)/ \
+ < $(SOURCE_TREE)/javaunohelper/pom.juh.xml > debian/pom.juh.xml
+ sed -e s/@version@/$(shell echo $(DEB_VERSION_UPSTREAM) | cut -d~ -f1)/ \
+ < $(SOURCE_TREE)/unoil/pom.unoil.xml > debian/pom.unoil.xml
+ for i in juh jurt unoil ridl libreoffice; do \
+ mh_installpoms -pliblibreoffice-java; \
+ mh_installjar -pliblibreoffice-java -l debian/pom.$$i.xml instdir/program/classes/$$i.jar; \
+ done
+ mh_installpoms -plibunoloader-java
+ mh_installjar -plibunoloader-java -l debian/pom.unoloader.xml instdir/program/classes/unoloader.jar
+
+ # create symlinks where LO expects them
+ for i in juh jurt unoil ridl libreoffice; do \
+ mkdir -p $(CURDIR)/debian/liblibreoffice-java/$(OODIR)/program/classes; \
+ cd $(CURDIR)/debian/liblibreoffice-java/$(OODIR)/program/classes; \
+ ln -s /usr/share/java/$$i.jar $$i.jar; \
+ done
+ mkdir -p $(CURDIR)/debian/libunoloader-java/$(OODIR)/program/classes; \
+ cd $(CURDIR)/debian/libunoloader-java/$(OODIR)/program/classes; \
+ ln -s /usr/share/java/unoloader.jar unoloader.jar
+
+ # fix up Class-Path
+ # make libreoffice.jar to be able to find libjpipe.so.
+ # See http://markmail.org/message/yacqa7oowugxwmn2 (for juh.jar back then...)
+ # also: javaunohelper/com/sun/star/comp/helper/Bootstrap.java: NativeLibraryLoader.loadLibrary( Bootstrap.class.getClassLoader(), "juh" );
+ # seems to work nevertheless (if called from program/classes?) but fix it
+ # nevertheless
+ jh_classpath --classpath="unoloader.jar ../ /$(OODIR)/program" \
+ $(CURDIR)/debian/liblibreoffice-java/usr/share/java/libreoffice.jar
+endif
+
+ifeq "$(INSTALL_APPARMOR_PROFILES)" "y"
+ mkdir -p $(PKGDIR)-common/etc/apparmor.d
+ ./sysui/desktop/share/apparmor.sh /$(OODIR)/ sysui/desktop/apparmor/ \
+ $(PKGDIR)-common/etc/apparmor.d/ false $(CHECK_APPARMOR_PROFILES)
+ ifneq "$(ENABLE_APPARMOR_PROFILES)" "y"
+ # disable the apparmor files per default
+ mkdir -p $(PKGDIR)-common/etc/apparmor.d/disable
+ cd $(PKGDIR)-common/etc/apparmor.d/disable && \
+ for i in oosplash senddoc soffice.bin xpdfimport; do \
+ ln -sf /etc/apparmor.d/usr.lib.libreoffice.program.$$i \
+ usr.lib.libreoffice.program.$$i; \
+ done
+ endif
+endif
+
+ # fix fundamentalrc to not cause
+ # /usr/lib/libreoffice/program/../program/xpdfimport calls
+ # we know the path and the apparmor profiles disallow this...
+ sed -i "s,^BRAND_BASE_DIR=.*,BRAND_BASE_DIR=file:///$(OODIR)," \
+ $(PKGDIR)-common/$(OODIR)/program/fundamentalrc
+
+ # make LO look for its "registry" in /etc (ucf-managed)
+ sed -i "s,^CONFIGURATION_LAYERS=.*\(dconf.*\)$$,CONFIGURATION_LAYERS=xcsxcu:file:///etc/libreoffice/registry res:file:///etc/libreoffice/registry \1," \
+ $(PKGDIR)-common/$(OODIR)/program/fundamentalrc
+
+ # make config xml "pretty" to make ucf --three-way work
+ for p in $(ARCH_INDEP_PACKAGES); do \
+ for i in `find debian/$$p/$(OODIR)/share/registry -name "*.xcd"`; do \
+ t=`mktemp -q`; \
+ xmllint --pretty 1 $$i > $$t; \
+ mv $$t $$i; \
+ done; \
+ done
+ # and "hide" the ucf source registry; makes it less confusing for
+ # people who do know /usr/lib/libreoffice/share/registry. Said path
+ # is a symlink set by libreoffice-common.links
+ for p in $(ARCH_INDEP_PACKAGES); do \
+ for i in `find debian/$$p -type d -wholename "*$(OODIR)/share/registry"`; do \
+ mv $$i `echo $$i | sed -e s/registry/.registry/`; \
+ done; \
+ done
+
+ # make sure we have a share/extensions dir owned by -common
+ mkdir -p $(PKGDIR)-common/$(OODIR)/share/extensions
+
+ touch $@
+
+binary-arch: $(STAMP_DIR)/binary-arch
+$(STAMP_DIR)/binary-arch: $(STAMP_DIR)/install-arch debian/control $(STAMP_DIR)/maintscripts
+ dh_testdir
+ dh_testroot
+
+ for pkg in $(ARCH_DEP_PACKAGES) ; do \
+ rm -f debian/$$pkg.*.debhelper;\
+ rm -rf debian/$$pkg/DEBIAN;\
+ done
+
+ dh_installdocs -a -A
+ cp workdir/CustomTarget/readlicense_oo/readme/README_en-US \
+ $(PKGDIR)-core/usr/share/doc/libreoffice-core/README
+ifeq "$(BUILD_NOGUI_PACKAGES)" "y"
+ cp workdir/CustomTarget/readlicense_oo/readme/README_en-US \
+ $(PKGDIR)-core-nogui/usr/share/doc/libreoffice-core-nogui/README
+endif
+ dh_ucf -a
+ for i in $(ARCH_DEP_PACKAGES); do \
+ if [ -e debian/$$i.postinst.debhelper ] && grep -q ucf debian/$$i.postinst.debhelper; then \
+ sed -i "s/ucf\ /ucf --three-way /" debian/$$i.postinst.debhelper; \
+ sed -i "s/ucfr\ /ucfr --force /" debian/$$i.postinst.debhelper; \
+ sed -i "s/ucf/ucf (>= 0.8)/" debian/$$i.substvars; \
+ fi ; \
+ if [ -e debian/$$i.postrm.debhelper ] && grep -q ucf debian/$$i.postrm.debhelper; then \
+ sed -i "s/ucfr\ /ucfr --force /" debian/$$i.postrm.debhelper; \
+ fi ; \
+ done
+ dh_installdebconf -a
+ dh_installman -a
+ for i in writer calc draw base math impress; do \
+ for i in `find $(PKGDIR)-$$i -type l -name "lo*.1"`; do \
+ mv $$i $$i.gz; \
+ if [ "`readlink $$i`" != "libreoffice.1.gz" ]; then \
+ ln -sf libreoffice.1.gz $$i.gz; \
+ fi; \
+ done; \
+ done
+ dh_installchangelogs -a -XChangeLog -k
+ dh_installmime -a
+ifeq "$(ENABLE_PYTHON)" "y"
+ dh_python3 -ppython3-uno --no-ext-rename --no-guessing-deps
+ dh_python3 -ppython3-uno --no-ext-rename --no-guessing-deps $(OODIR)/program
+endif
+ dh_lintian -a
+ dh_bugfiles -a -A
+ dh_link -a
+ifeq "$(BUILD_DBGSYM_PACKAGES)" "y"
+ for i in libuno-cppu3 libuno-sal3 libreoffice-core libreoffice-writer; do \
+ rm -rf debian/.debhelper/$$i/dbgsym-root; \
+ done
+ ifeq "$(BUILD_NOGUI_PACKAGES)" "y"
+ for i in libreoffice-core-nogui libreoffice-writer-nogui; do \
+ rm -rf debian/.debhelper/$$i/dbgsym-root; \
+ done
+ endif
+ ifeq "$(USE_DWZ)" "y"
+ dh_dwz -a $(DH_DWZ_ARGS) -- $(DWZ_ARGS)
+ endif
+ dh_strip -a
+ # dh_strip --dbg-package= is not idempotent, force copying of the binaries
+ # again...
+ rm -f $(STAMP_DIR)/install-common
+
+ # install gdb helpers
+ mkdir -p debian/.debhelper/libreoffice-core/dbgsym-root/usr/share/gdb/auto-load/$(OODIR)
+ mv $(CURDIR)/debian/tmp/usr/share/gdb/auto-load/$(OODIR)/program \
+ debian/.debhelper/libreoffice-core/dbgsym-root/usr/share/gdb/auto-load/$(OODIR)
+ mkdir -p debian/.debhelper/libreoffice-core/dbgsym-root/usr/share/libreoffice/gdb
+ mv $(CURDIR)/debian/tmp/usr/share/libreoffice/gdb/libreoffice \
+ debian/.debhelper/libreoffice-core/dbgsym-root/usr/share/libreoffice/gdb
+
+ # move sal and cppu gdb helpers into their respective packages
+ for i in sal cppu; do \
+ mkdir -p debian/.debhelper/libuno-$${i}3/dbgsym-root/usr/share/gdb/auto-load/$(OODIR)/program; \
+ mkdir -p debian/.debhelper/libuno-$${i}3/dbgsym-root/usr/share/libreoffice/gdb/libreoffice; \
+ mv debian/.debhelper/libreoffice-core/dbgsym-root/usr/share/gdb/auto-load/$(OODIR)/program/libuno_$$i.so.3-gdb.py \
+ debian/.debhelper/libuno-$${i}3/dbgsym-root/usr/share/gdb/auto-load/$(OODIR)/program; \
+ mv debian/.debhelper/libreoffice-core/dbgsym-root/usr/share/libreoffice/gdb/libreoffice/$$i.py \
+ debian/.debhelper/libuno-$${i}3/dbgsym-root/usr/share/libreoffice/gdb/libreoffice; \
+ done
+
+ # move sw and writerfilter gdb helpers to writer-dbgsym
+ mkdir -p debian/.debhelper/libreoffice-writer/dbgsym-root/usr/share/gdb/auto-load/$(OODIR)/program
+ mkdir -p debian/.debhelper/libreoffice-writer/dbgsym-root/usr/share/libreoffice/gdb/libreoffice/
+ for i in sw writerfilter; do \
+ if [ -f debian/.debhelper/libreoffice-core/dbgsym-root/usr/share/gdb/auto-load/$(OODIR)/program/lib$${i}lo.so-gdb.py ]; then \
+ mv debian/.debhelper/libreoffice-core/dbgsym-root/usr/share/gdb/auto-load/$(OODIR)/program/lib$${i}lo.so-gdb.py \
+ debian/.debhelper/libreoffice-writer/dbgsym-root/usr/share/gdb/auto-load/$(OODIR)/program/; \
+ fi; \
+ mv debian/.debhelper/libreoffice-core/dbgsym-root/usr/share/libreoffice/gdb/libreoffice/$$i.py \
+ debian/.debhelper/libreoffice-writer/dbgsym-root/usr/share/libreoffice/gdb/libreoffice; \
+ done
+
+ # populate -nogui-dbgsym from the gui counterparts
+ifeq "$(BUILD_NOGUI_PACKAGES)" "y"
+ mkdir -p debian/.debhelper/libreoffice-core-nogui/dbgsym-root/usr/share/gdb/auto-load/
+ mkdir -p debian/.debhelper/libreoffice-core-nogui/dbgsym-root/usr/share/libreoffice/
+ cp -ra debian/.debhelper/libreoffice-core/dbgsym-root/usr/share/gdb/auto-load/$(OODIR) \
+ debian/.debhelper/libreoffice-core-nogui/dbgsym-root/usr/share/gdb/auto-load/
+ cp -ra debian/.debhelper/libreoffice-core/dbgsym-root/usr/share/libreoffice/gdb \
+ debian/.debhelper/libreoffice-core-nogui/dbgsym-root/usr/share/libreoffice
+ mkdir -p debian/.debhelper/libreoffice-writer-nogui/dbgsym-root/usr/share/gdb
+ mkdir -p debian/.debhelper/libreoffice-writer-nogui/dbgsym-root/usr/share/libreoffice/
+ cp -ra debian/.debhelper/libreoffice-writer/dbgsym-root/usr/share/gdb/auto-load/ \
+ debian/.debhelper/libreoffice-writer-nogui/dbgsym-root/usr/share/gdb
+ cp -ra debian/.debhelper/libreoffice-writer/dbgsym-root/usr/share/libreoffice/gdb \
+ debian/.debhelper/libreoffice-writer-nogui/dbgsym-root/usr/share/libreoffice
+endif
+else
+ dh_strip -a --no-automatic-dbgsym
+endif
+ dh_fixperms -a
+ifeq "$(BUILD_DBGSYM_PACKAGES)" "y"
+ # dh_fixperms is not run on -dbgsym. And we get 0775 directories. Fix it
+ # manually
+ #16:29 < nthykier> _rene_: I would recommend a "find debian/.debhelper/libreoffice-core/dbgsym-root
+ # debian/$(UNO_LIBS_DBG_ROOT) debian/.debhelper/libreoffice-writer/dbgsym-root -exec
+ # chmod go=rX,u+rw,a-s {} +"
+ #16:29 < nthykier> Should be faster and is the same expression as used by
+ # dh_fixperms
+ find debian/.debhelper/libreoffice-core/dbgsym-root debian/.debhelper/libuno*/dbgsym-root debian/.debhelper/libreoffice-writer/dbgsym-root ! -type l -exec chmod go=rX,u+rw,a-s {} +
+endif
+ dh_icons -a
+ dh_compress -a -X.py -X.mk -X.sxd
+ifeq "$(ENABLE_INTROSPECTION)" "y"
+ dh_girepository -a debian/liblibreofficekitgtk/$(OODIR)/program
+endif
+ dh_strip_nondeterminism -a
+ for i in sal3 cppu3 salhelpergcc3-3 cppuhelpergcc3-3 purpenvhelpergcc3-3; do \
+ dh_makeshlibs -plibuno-$$i -V"libuno-$$i (>= 1:$(shell grep UREPACKAGEVERSION $(SOURCE_TREE)/instsetoo_native/util/openoffice.lst | awk '{ print $$2 }' | cut -d. -f1-3)~)" -- -c2 -V -v$(BINARY_VERSION); \
+ done
+ dh_makeshlibs -n -pure -V"ure (>= 1:$(shell grep UREPACKAGEVERSION $(SOURCE_TREE)/instsetoo_native/util/openoffice.lst | awk '{ print $$2 }' | cut -d. -f1-3)~)" -- -d -V -v$(BINARY_VERSION)
+ dh_installdeb -a
+ rm -f debian/shlibs.local
+ifeq "$(BUILD_KFREEBSD)" "y"
+ cat debian/shlibs.override.libc >> debian/shlibs.local
+endif
+ # no shlibs dependencies on internal libs (which are dynamic)
+ifeq (,$(filter icu, $(SYSTEM_STUFF)))
+ cat debian/shlibs.override.icu >> debian/shlibs.local
+endif
+ifeq (,$(filter libvisio, $(SYSTEM_STUFF)))
+ cat debian/shlibs.override.libvisio >> debian/shlibs.local
+endif
+ifeq (,$(filter libwpd, $(SYSTEM_STUFF)))
+ cat debian/shlibs.override.libwpd >> debian/shlibs.local
+endif
+ifeq (,$(filter libwpg, $(SYSTEM_STUFF)))
+ cat debian/shlibs.override.libwpg >> debian/shlibs.local
+endif
+ifeq (,$(filter libwps, $(SYSTEM_STUFF)))
+ cat debian/shlibs.override.libwps >> debian/shlibs.local
+endif
+ifeq (,$(filter libodfgen, $(SYSTEM_STUFF)))
+ cat debian/shlibs.override.libodfgen >> debian/shlibs.local
+endif
+ifeq (,$(filter libmwaw, $(SYSTEM_STUFF)))
+ cat debian/shlibs.override.libmwaw >> debian/shlibs.local
+endif
+ifeq (,$(filter librevenge, $(SYSTEM_STUFF)))
+ cat debian/shlibs.override.librevenge >> debian/shlibs.local
+endif
+ifeq (,$(filter libetonyek, $(SYSTEM_STUFF)))
+ cat debian/shlibs.override.libetonyek >> debian/shlibs.local
+endif
+ifeq (,$(filter libstaroffice, $(SYSTEM_STUFF)))
+ cat debian/shlibs.override.libstaroffice >> debian/shlibs.local
+endif
+ifeq (,$(filter orcus, $(SYSTEM_STUFF)))
+ cat debian/shlibs.override.orcus >> debian/shlibs.local
+endif
+ifeq (,$(filter liblangtag, $(SYSTEM_STUFF)))
+ cat debian/shlibs.override.liblangtag >> debian/shlibs.local
+endif
+ # the other way as the above, depend on a newer libcmis to that the
+ # advertised google 2-factor-auth fixes are present
+ifneq (,$(filter libcmis, $(SYSTEM_STUFF)))
+ cat debian/shlibs.override.libcmis >> debian/shlibs.local
+endif
+ifeq "$(ENABLE_FIREBIRD)" "y"
+ifneq (,$(filter firebird, $(SYSTEM_STUFF)))
+ # force the values of .shlibs which gives us a (wanted) (>= 3.0.0~)
+ # instead of .symbols which gives os only a (>= 2.5.0.25784~ReleaseCandidate1.ds2)...
+ cat /var/lib/dpkg/info/libfbclient2*.shlibs >> debian/shlibs.local
+
+endif
+endif
+
+ dh_shlibdeps -a -Nlibreoffice-core-nogui -Nure \
+ -Lure -Llibuno-sal3 -Llibpuno-cppu3 -Llibuno-salhelpergcc3-3 -Llibcppuhelpergcc3-3 -Llibuno-purpenvhelpergcc3-3 \
+ -l$(CURDIR)/debian/libuno-sal3/$(OODIR)/program:$(CURDIR)/debian/libuno-cppu3/$(OODIR)/program:$(CURDIR)/debian/libuno-salhelpergcc3-3/$(OODIR)/program:$(CURDIR)/debian/libuno-cppuhelpergcc3-3/$(OODIR)/program:$(CURDIR)/debian/libuno-purpenvhelpergcc3-3/$(OODIR)/program:$(CURDIR)/debian/ure/$(OODIR)/program:$(CURDIR)/$(PKGDIR)-core/$(OODIR)/program:$(CURDIR)/$(PKGDIR)-base-core/$(OODIR)/program:$(CURDIR)/$(PKGDIR)-base/$(OODIR)/program:$(CURDIR)/$(PKGDIR)-writer/$(OODIR)/program \
+ $(SHLIBS_OVERRIDE)
+ dh_shlibdeps -pure \
+ -Llibuno-sal3 -Llibpuno-cppu3 -Llibuno-salhelpergcc3-3 -Llibcppuhelpergcc3-3 -Llibuno-purpenvhelpergcc3-3 \
+ -l$(CURDIR)/debian/libuno-sal3/$(OODIR)/program:$(CURDIR)/debian/libuno-cppu3/$(OODIR)/program:$(CURDIR)/debian/libuno-salhelpergcc3-3/$(OODIR)/program:$(CURDIR)/debian/libuno-cppuhelpergcc3-3/$(OODIR)/program:$(CURDIR)/debian/libuno-purpenvhelpergcc3-3/$(OODIR)/program:$(CURDIR)/debian/ure/$(OODIR)/program \
+ -- -xure
+ifeq "$(BUILD_NOGUI_PACKAGES)" "y"
+ dh_shlibdeps -plibreoffice-core-nogui \
+ -Lure -Llibuno-sal3 -Llibpuno-cppu3 -Llibuno-salhelpergcc3-3 -Llibcppuhelpergcc3-3 -Llibuno-purpenvhelpergcc3-3 \
+ -l$(CURDIR)/debian/libuno-sal3/$(OODIR)/program:$(CURDIR)/debian/libuno-cppu3/$(OODIR)/program:$(CURDIR)/debian/libuno-salhelpergcc3-3/$(OODIR)/program:$(CURDIR)/debian/libuno-cppuhelpergcc3-3/$(OODIR)/program:$(CURDIR)/debian/libuno-purpenvhelpergcc3-3/$(OODIR)/program:$(CURDIR)/debian/ure/$(OODIR)/program:$(CURDIR)/$(PKGDIR)-core-nogui/$(OODIR)/program:$(CURDIR)/$(PKGDIR)-base-core/$(OODIR)/program:$(CURDIR)/$(PKGDIR)-base/$(OODIR)/program:$(CURDIR)/$(PKGDIR)-writer/$(OODIR)/program \
+ $(SHLIBS_OVERRIDE)
+endif
+ ifneq (,$(filter coinmp, $(SYSTEM_STUFF)))
+ perl -pi -e "s/coinor-libcoinutils3v5/coinor-libcoinutils3v5 $(COINUTILS_MINVER)/" \
+ debian/libreoffice-calc.substvars
+ perl -pi -e "s/coinor-libcoinmp1v5/coinor-libcoinmp1v5 $(COINMP_MINVER)/" \
+ debian/libreoffice-calc.substvars
+ endif
+ # FIXME. Otherwise the unoEditGlossary openDialog test crashes and hangs. go sure to make sure it doesn't
+ # happen on runtime. No idea whether alpha1 would suffice but it doesn't really matter in practice anyway :)
+ perl -pi -e "s/, libuno-sal3 \(>= 1:7.3.0~beta1\),/, libuno-sal3 \(>= 1:7.4.0~beta1\),/" \
+ debian/libreoffice-core.substvars
+ifeq "$(ENABLE_JAVA)" "y"
+ for p in $(ARCH_DEP_PACKAGES); do \
+ jh_depends -p$$p -Xure -Xbase-files; \
+ done
+ # jh_depends adds ure (${source:Version}) entries. They are overly strict
+ # and do not fit anyway given ure has a different versioning scheme. Excluded
+ # above, readd here unversioned
+ perl -pi -e 's/^(java:Depends.*$$)/\1, ure/' \
+ debian/libofficebean-java.substvars
+endif
+# This switch to dh_shlibdeps reduces the 'libXXX not found' warnings but
+# causes ldd crashes sometimes when used with fakeroot:
+# -l $(PKGDIR)-core/$(OPENOFFICEDIR)/program
+ dh_gencontrol -a $(DEBHELPER_OPTIONS) \
+ -- \
+ -V'base-version=$(BASE_VERSION)' \
+ -V'oover=$(OOVER)' \
+ -V'next-oover=$(NEXT_OOVER)' \
+ -V'help-l10n-virtual-version=$(HELP_L10N_VIRTUAL_VERSION)' \
+ -V'base-hsqldb-depends=$(BASE_HSQLDB_DEPENDS)' \
+ -V'base-firebird-recommends=$(BASE_FIREBIRD_RECOMMENDS)' \
+ -V'java-common-depends=$(JAVA_COMMON_DEPENDS) $(JAVA_COMMON_DEPENDS_VERSION)' \
+ -V'java-runtime-depends=$(JAVA_RUNTIME_DEPENDS)' \
+ -V'Binary-Version=$(BINARY_VERSION)' \
+ -V'ooo-officebean-dep=$(OOO_OFFICEBEAN_DEP)' \
+ -V'plasma-iconset-dep=$(PLASMA_ICONSET_DEP)' \
+ -V'kf5-qt5-depends=$(KF5_QT5_DEPENDS)' \
+ -V'lpsolve-dep=$(LPSOLVE_DEP)' \
+ -V'gstreamer-plugins-suggests=$(GSTREAMER_PLUGINS_SUGGESTS)' \
+ -V'libebook-dep=$(LIBEBOOK_DEP)' \
+ -V'idlc-cpp-depends=$(IDLC_CPP_DEPENDS)' \
+ -V'pyuno-depends=$(PYUNO_DEPENDS)' \
+ -V'gnome-gtk-recommends=$(GNOME_GTK_RECOMMENDS)' \
+ -V'firebird-engine-depends=$(FIREBIRD_ENGINE_DEPENDS)' \
+ -V'libsane-suggests=$(shell dpkg -S /usr/lib/$(DEB_HOST_MULTIARCH)/libsane.so.1 | cut -d: -f1)' \
+ -v$(BINARY_VERSION)
+ifeq "$(BUILD_DBGSYM_PACKAGES)" "y"
+ for i in libuno-sal3 libuno-cppu3 libuno-salhelpergcc3-3 libuno-cppuhelpergcc3-3 libuno-purpenvhelpergcc3-3 \
+ libreoffice-core libreoffice-writer; do \
+ perl -pi -e 's/^(Depends:.*)/\1\nRecommends: gdb, python3-six/' \
+ debian/.debhelper/$$i/dbgsym-root/DEBIAN/control; \
+ done
+ perl -pi -e 's/Recommends: /Recommends: libreoffice-core-dbgsym, /' \
+ debian/.debhelper/libreoffice-writer/dbgsym-root/DEBIAN/control
+ ifeq "$(BUILD_NOGUI_PACKAGES)" "y"
+ for i in libreoffice-core libreoffice-writer; do \
+ perl -pi -e 's/^(Depends:.*)/\1\nRecommends: gdb, python3-six/' \
+ debian/.debhelper/$$i-nogui/dbgsym-root/DEBIAN/control; \
+ done
+ perl -pi -e 's/Recommends: /Recommends: libreoffice-core-nogui-dbgsym, /' \
+ debian/.debhelper/libreoffice-writer-nogui/dbgsym-root/DEBIAN/control
+ perl -pi -e 's/^(Recommends:.*)/Replaces: libreoffice-core-nogui-dbgsym (<< 1:6.4.3~rc1-3)\n\1/' \
+ debian/.debhelper/libreoffice-writer-nogui/dbgsym-root/DEBIAN/control
+ perl -pi -e 's/^(Replaces:.*)/Breaks: libreoffice-core-nogui-dbgsym (<< 1:6.4.3~rc1-3)\n\1/' \
+ debian/.debhelper/libreoffice-writer-nogui/dbgsym-root/DEBIAN/control
+ endif
+endif
+
+ dh_md5sums -a
+ dh_builddeb -a $(DEBHELPER_OPTIONS)
+
+ touch $@
+
+binary-indep: $(GSI_EXPORT_STAMP) $(STAMP_DIR)/binary-indep
+$(STAMP_DIR)/binary-indep: $(STAMP_DIR)/install-indep debian/control $(STAMP_DIR)/maintscripts $(STAMP_DIR)/langpacks
+ifneq ($(DEB_HOST_ARCH),$(filter $(DEB_HOST_ARCH),$(OOO_JAVA_ARCHS)))
+ echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
+ echo "For uploads with binary-all packages, please use arches where Java is enabled"
+ echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
+endif
+ dh_testdir
+ifneq ($(PACKAGE_SDK_DOCS),y)
+ echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
+ echo "For uploads with binary-all packages, please use arches where the SDK docs are enabled!!!!"
+ echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
+endif
+ dh_testdir
+ dh_testroot
+
+ for pkg in $(ARCH_INDEP_PACKAGES) ; do \
+ rm -f debian/$$pkg.*.debhelper;\
+ rm -rf debian/$$pkg/DEBIAN;\
+ done
+
+ dh_installdocs -i -A
+ cp workdir/CustomTarget/readlicense_oo/readme/README_en-US \
+ $(PKGDIR)-common/usr/share/doc/libreoffice-common/README
+ dh_ucf -i
+ for i in $(ARCH_INDEP_PACKAGES); do \
+ if [ -e debian/$$i.postinst.debhelper ] && grep -q ucf debian/$$i.postinst.debhelper; then \
+ sed -i "s/ucf\ /ucf --three-way /" debian/$$i.postinst.debhelper; \
+ sed -i "s/ucfr\ /ucfr --force /" debian/$$i.postinst.debhelper; \
+ sed -i "s/ucf/ucf (>= 0.8)/" debian/$$i.substvars; \
+ fi ; \
+ if [ -e debian/$$i.postrm.debhelper ] && grep -q ucf debian/$$i.postrm.debhelper; then \
+ sed -i "s/ucfr\ /ucfr --force /" debian/$$i.postrm.debhelper; \
+ fi ; \
+ done
+ dh_installman -i
+ for i in `find $(PKGDIR)-common -type l -name "lo*.1"`; do \
+ mv $$i $$i.gz; \
+ if [ "`readlink $$i`" != "libreoffice.1.gz" ]; then \
+ ln -sf libreoffice.1.gz $$i.gz; \
+ fi; \
+ done
+ dh_installchangelogs -i -XChangeLog -Nlibreoffice-librelogo -k
+ifeq "$(PACKAGE_LIBRELOGO)" "y"
+ dh_installchangelogs -plibreoffice-librelogo -k librelogo/source/ChangeLog
+endif
+ifeq "$(PACKAGE_SDK_DOCS)" "y"
+ dh_doxygen -plibreoffice-dev-doc
+endif
+ dh_installmime -i
+ dh_python3 -ppython3-access2base
+ dh_python3 -plibreoffice-script-provider-python
+ifeq "$(ENABLE_HELP)" "y"
+ ifeq "$(ENABLE_HTML_HELP)" "y"
+ for iso in $(shell echo $(HELPISOS) | tr A-Z a-z); do \
+ sed -e s/@LCODE@/$$iso/ < debian/libreoffice-help.lintian-overrides.in \
+ > debian/libreoffice-help-$$iso.lintian-overrides; \
+ done
+ endif
+endif
+ dh_lintian -i
+ dh_bugfiles -i -A
+ifeq "$(BULLSEYE_BACKPORT)" "y"
+ dh_link -i -Xprism
+else
+ dh_link -i
+endif
+ dh_fixperms -i
+ dh_icons -i
+ifeq "$(INSTALL_APPARMOR_PROFILES)" "y"
+ for i in oosplash senddoc soffice.bin xpdfimport; do \
+ dh_apparmor -plibreoffice-common --profile-name=usr.lib.libreoffice.program.$$i; \
+ done
+endif
+ dh_compress -i -X.py -X.mk -X.sxd -X.xcd.sample
+ dh_strip_nondeterminism -i
+ dh_installdeb -i
+ifeq "$(ENABLE_JAVA)" "y"
+ for p in $(ARCH_INDEP_PACKAGES); do \
+ if echo "$$p" | grep -q help; then continue; fi; \
+ jh_depends -p$$p \
+ -Xlibreoffice-report-builder -Xbase-files; \
+ done
+endif
+ # jh_depends adds a librhino-java Depends where we still use internal rhino
+ perl -pi -e "s/librhino-java//" \
+ debian/libreoffice-script-provider-js.substvars
+ifeq "$(BUILD_TEST_PACKAGES)" "y"
+ perl -pi -e 's/junit4/junit4 $(JUNIT_MIN_VER)/' \
+ debian/libreoffice-subsequentcheckbase.substvars
+endif
+ dh_gencontrol -i $(DEBHELPER_OPTIONS) \
+ -Nfonts-opensymbol -- \
+ -V'base-version=$(BASE_VERSION)' \
+ -V'oover=$(OOVER)' \
+ -V'next-oover=$(NEXT_OOVER)' \
+ -V'help-l10n-virtual-version=$(HELP_L10N_VIRTUAL_VERSION)' \
+ -V'java-common-depends=$(JAVA_COMMON_DEPENDS)' \
+ -V'java-runtime-depends=$(JAVA_RUNTIME_DEPENDS)' \
+ -V'textcat-data-recommends=$(TEXTCAT_DATA_RECOMMENDS)' \
+ -V'numbertext-data-recommends=$(NUMBERTEXT_DATA_RECOMMENDS)' \
+ -V'pyuno-depends=$(PYUNO_DEPENDS)' \
+ -V'help-depends=$(HELP_DEPENDS)' \
+ -V'help-recommends=$(HELP_RECOMMENDS)' \
+ -V'help-common-depends=$(HELP_COMMON_DEPENDS)' \
+ -V'report-builder-jar-depends=$(REPORT_BUILDER_JAR_DEPENDS)' \
+ -V'Binary-Version=$(BINARY_VERSION)' \
+ -v$(BINARY_VERSION)
+ dh_gencontrol -pfonts-opensymbol -- \
+ -v`echo $(BINARY_VERSION) | cut -d: -f1`:$(shell fontforge -lang=ff -c 'Open($$1); Print ($$fontversion); Quit(0);' debian/fonts-opensymbol/usr/share/fonts/truetype/libreoffice/opens___.ttf)+LibO`echo $(BINARY_VERSION) | cut -d: -f2`
+ifeq "$(ENABLE_MEDIAWIKI)" "y"
+ dh_gencontrol -plibreoffice-wiki-publisher -- \
+ -V'java-common-depends=$(JAVA_COMMON_DEPENDS)' \
+ -V'java-runtime-depends=$(JAVA_RUNTIME_DEPENDS)' \
+ -v`echo $(BINARY_VERSION) | cut -d: -f1`:$(shell grep "<version" $(SOURCE_TREE)/swext/mediawiki/src/description.xml | perl -pi -e 's,<version value=\"(.*)\"/>,\1,; s/^\s+//')+LibO`echo $(BINARY_VERSION) | cut -d: -f2`
+endif
+ifeq "$(ENABLE_NLPSOLVER)" "y"
+ dh_gencontrol -plibreoffice-nlpsolver -- \
+ -V'java-common-depends=$(JAVA_COMMON_DEPENDS)' \
+ -V'java-runtime-depends=$(JAVA_RUNTIME_DEPENDS)' \
+ -v`echo $(BINARY_VERSION) | cut -d: -f1`:$(shell grep "<version" $(SOURCE_TREE)/nlpsolver/src/com/sun/star/comp/Calc/NLPSolver/description.xml | perl -pi -e 's,<version value=\"(.*)\"/>,\1,; s/^\s+//')+LibO`echo $(BINARY_VERSION) | cut -d: -f2`
+endif
+ dh_md5sums -i
+ dh_builddeb -i $(DEBHELPER_OPTIONS)
+
+ touch $@
+
+binary: binary-arch binary-indep
+
+ifeq "$(USE_GIT_TARBALLS)" "y"
+# $(1) is the upstream name of the repo
+# $(2) is the name of the tarball
+# $(3) is the path to archive (empty for everything)
+#
+# according to policy get-orig-source has to download to the current dir, thus
+# should not require a dh_testdir. However, like this we can have clean deps
+# from build and download the source, configure, build, pack in on piece. As
+# get-orig-source is an optional target anyway, we stick to support only this
+# case and not random dirs. see also: debian bug 494141
+# also, we need to run configure to create the external tarball anyway
+
+GIT_INSTALLED:=$(shell which git >/dev/null 2>/dev/null && echo "y")
+
+get_orig_tarball=$(CURDIR)/../libreoffice_$(DEB_VERSION_UPSTREAM).orig$(1).tar.xz
+
+define pack_gittarball
+$(if $(GIT_INSTALLED),,$(error You need git.))
+dh_testdir
+TMPD=`mktemp -d $(if $(TMP),-p $(TMP))` && \
+mkdir $${TMPD}/archive && \
+git clone --bare $(GIT_BASEURL)/$(1) $${TMPD}/repo -b $(GIT_BRANCH) && \
+git archive --remote $${TMPD}/repo --format=tar --prefix libreoffice-$(DEB_VERSION_UPSTREAM)/ $(GIT_TAG) |tar x -C $${TMPD}/archive && \
+tar cvJf $(2) -C $${TMPD}/archive/$(3) --transform 's,./,,' . && \
+rm -rf $${TMPD}
+endef
+
+define unpack_gittarball
+dh_testdir
+mkdir -p $(CURDIR)/$(1)
+test -f $(CURDIR)/$(1)/.gitignore || tar xvJf $(2) -C $(CURDIR)/$(1) $(3)
+endef
+
+ifneq ($(filter get-orig-source unpack,$(MAKECMDGOALS)),)
+$(call get_orig_tarball):
+ $(call pack_gittarball,core,$@,)
+
+$(call get_orig_tarball,-helpcontent2):
+ $(call pack_gittarball,help,$@,libreoffice-$(DEB_VERSION_UPSTREAM)/)
+
+$(call get_orig_tarball,-%):
+ $(call pack_gittarball,$*,$@,libreoffice-$(DEB_VERSION_UPSTREAM)/)
+
+# Get upstream external sources
+$(call get_orig_tarball,-tarballs): helpcontent2/makefile.pmk translations/makefile.mk .gitignore
+ dh_testdir
+ rm -rf tarballs
+ mkdir -p tarballs
+ quilt push -a
+ ./autogen.sh $(filter-out --disable-fetch-external,$(CONFIGURE_FLAGS)) --with-all-tarballs
+ $(MAKE) download gb_LO_VER=$(DEB_VERSION_UPSTREAM)
+ tar cvJf $@ -C tarballs --transform 's,./,,' .
+
+# using flag files for unpacking
+.gitignore: $(call get_orig_tarball)
+ $(call unpack_gittarball,,$<,--strip-components=1)
+
+translations/makefile.mk: $(call get_orig_tarball,-translations)
+ $(call unpack_gittarball,translations,$<,)
+
+helpcontent2/makefile.pmk: $(call get_orig_tarball,-helpcontent2)
+ $(call unpack_gittarball,helpcontent2,$<,)
+
+tarballs/fetch.log: $(call get_orig_tarball,-tarballs) patched
+ $(call unpack_gittarball,tarballs,$<,)
+
+get-orig-source: $(call get_orig_tarball,-tarballs) tarballs/fetch.log
+ dh_testdir
+
+unpack: tarballs/fetch.log
+ dh_testdir
+endif
+endif
+
+ifeq "$(USE_SOURCE_TARBALLS)" "y"
+get-orig-source:
+ PATH=$(CURDIR)/debian/scripts:$$PATH uscan --watchfile=$(CURDIR)/debian/watch --verbose --force
+ debian/scripts/fix_component_tarballs.sh
+endif
+
+.PHONY: control
+.PHONY: clean-debdir clean-instsetoo clean-objectdirs clean default
+.PHONY: prepare build build-indep build-arch install-arch install-indep
+.PHONY: get-orig-source unpack patched
+.PHONY: $(stampdir_targets)
+
+# vim:set noet ai sts=8 sw=8 tw=0:
diff --git a/debian/scripts/fix_component_tarballs.sh b/debian/scripts/fix_component_tarballs.sh
new file mode 100755
index 000000000..be149f297
--- /dev/null
+++ b/debian/scripts/fix_component_tarballs.sh
@@ -0,0 +1,36 @@
+#!/bin/sh
+
+set -x
+set -e
+
+pwd=`pwd`
+tmp=`mktemp -q -d`
+
+debianver=`uscan --report --verbose | grep newversion | cut -d= -f2 | awk '{ print $1 }' | head -n 1`
+
+# the main tarball
+t=`uscan --report --verbose | grep newfile | cut -d= -f2 | head -n 1`
+sourcever=`echo $t | cut -d- -f2 | sed -e "s/\.tar\.xz$//"`
+
+files=`uscan --report --verbose | grep newfile | cut -d= -f2 | tail -n +2`
+
+for f in $files; do
+ if echo $f | grep -q help; then
+ c=helpcontent2;
+ else
+ c=`echo $f | cut -d- -f2`;
+ fi
+
+ cd ${tmp}
+ echo "Extracting original $f..."
+ tar --strip-components 1 --extract --verbose --xz --file ${pwd}/../$f
+ echo "Deleting obsolete libreoffice_${debianver}.orig-${c}.tar.xz and it's signatiure...."
+ rm -f ${pwd}/../libreoffice_${debianver}.orig-${c}.tar.xz
+ rm -f ${pwd}/../libreoffice_${debianver}.orig-${c}.tar.xz.asc
+ echo "Creating new libreoffice_${debianver}.orig-${c}.tar.xz..."
+ tar --create --verbose --xz --file ${pwd}/../libreoffice_${debianver}.orig-${c}.tar.xz ${c}
+ rm -rf ${c}
+ cd ${pwd}
+done
+
+rm -rf ${tmp}
diff --git a/debian/scripts/get_libebook_dep.sh b/debian/scripts/get_libebook_dep.sh
new file mode 100755
index 000000000..8eb2ef20e
--- /dev/null
+++ b/debian/scripts/get_libebook_dep.sh
@@ -0,0 +1,33 @@
+#!/bin/sh
+
+libs=`grep libebook.*\.so connectivity/source/drivers/evoab2/EApi.cxx | perl -pe 's/\s+\"(.*)\".*/$1/'`
+
+for l in $libs; do
+ if [ -e "/usr/lib/`dpkg-architecture -qDEB_HOST_MULTIARCH`/$l" ]; then
+ p=/usr/lib/`dpkg-architecture -qDEB_HOST_MULTIARCH`
+ else
+ if [ -e /usr/lib/$l ]; then
+ p=/usr/lib
+ else
+ continue
+ fi
+ fi
+ # sanity check: do the libs match with what we would get
+ # for our libebook version if we followed the .so symlink?
+ l1=`readlink $p/$l`
+ l2_tmp=`echo $l | perl -pe 's/(.*)\.\d+$/$1/'`
+ l2=`readlink $p/$l2_tmp`
+ l3=`readlink $p/$l2`
+ if [ "$l1" = "$l2" -o "$l1" = "$l3" ]; then
+ dep=`dpkg -S $p/$l | cut -d: -f1`
+ fi
+done
+
+if [ -n "$dep" ]; then
+ echo $dep
+else
+ echo "Cannot find libebook dependency. None of the following libs found:"
+ echo $libs
+ exit 1
+fi
+
diff --git a/debian/scripts/gid2pkgdirs.sh b/debian/scripts/gid2pkgdirs.sh
new file mode 100755
index 000000000..6b630d2e6
--- /dev/null
+++ b/debian/scripts/gid2pkgdirs.sh
@@ -0,0 +1,177 @@
+#!/bin/sh
+
+## create split package dirs out of LibreOffices gid_* files
+## copied from former ooo-build/libreoffice-build package-ooo
+## (c) 2005 Chris Halls <halls@debian.org>
+## (c) 2005-2011 Rene Engelhard <rene@debian.org>
+
+export OODESTDIR=$DESTDIR
+
+cd $DESTDIR
+
+echo "Copying gid files...."
+rm gid_*
+cp $DESTDIR/../../file-lists/orig/gid_* .
+
+echo "Creating package directories..."
+
+test -d pkg && rm -r pkg || :
+
+# Create package tree (needed by Debian's dpkg)
+# create_package_directory <list_file> <directory_name>
+create_package_directory()
+{
+listfile=$1
+directory="$2"
+perl -nl \
+ -e " if(/^%dir (.*)/)
+ {system('mkdir', '-p', '-m', '755', \"$directory\".\$1);}
+ else
+ {rename('./'.\$_, \"$directory\".\$_);}
+ " \
+ $listfile
+}
+
+# move_wrappers <directory_name> <name> [...]
+move_wrappers()
+{
+directory=$1
+shift
+mkdir -m755 -p "$directory"/usr/bin
+while test -n "$1"; do
+ mv usr/*bin/"$1$BINSUFFIX" "$directory"/usr/bin
+ shift
+done
+}
+
+create_package_directory gid_Module_Root_Ure_Hidden pkg/ure
+create_package_directory gid_Module_Root pkg/libreoffice-common
+create_package_directory gid_Module_Root_Brand pkg/libreoffice-common
+# done by dh_installman
+#mkdir -p pkg/libreoffice-common/usr/share/man/man1
+#mv usr/share/man/man1/libreoffice$BINSUFFIX.1.gz \
+# pkg/libreoffice-common/usr/share/man/man1
+#for i in ./usr/share/man/man1/*; do \
+# if [ "$i" = "unopkg.1.gz" -o "$i" = "lofromtemplate.1.gz" \
+# -o "$i" = "loffice.1.gz" ]; then p=common; \
+# else p=`basename $i .1.gz | sed -e s/^lo//`; \
+# fi
+# mkdir -p pkg/libreoffice-$p/usr/share/man/man1
+# mv $i \
+# pkg/libreoffice-$p/usr/share/man/man1
+#done
+for i in ./usr/share/applications/*.desktop; do \
+ if [ "`basename $i`" = "libreoffice-startcenter.desktop" ]; then p=libreoffice-common; \
+ elif [ "`basename $i`" = "libreoffice-xsltfilter.desktop" ]; then p=libreoffice-common; \
+ else p=`basename $i .desktop`; fi
+ mkdir -p pkg/$p/usr/share/applications
+ mv $i \
+ pkg/$p/usr/share/applications
+done
+mkdir -p pkg/libreoffice-common/usr/share
+mv ./usr/share/icons \
+ pkg/libreoffice-common/usr/share
+mv ./usr/share/application-registry \
+ pkg/libreoffice-common/usr/share
+mv ./usr/share/mime* \
+ pkg/libreoffice-common/usr/share
+
+create_package_directory gid_Module_Root_Files_Images pkg/libreoffice-common
+create_package_directory gid_Module_Oo_Linguistic pkg/libreoffice-common
+create_package_directory gid_Module_Optional_Xsltfiltersamples pkg/libreoffice-common
+create_package_directory gid_Module_Filter pkg/libreoffice-common
+create_package_directory gid_Module_Optional_Grfflt pkg/libreoffice-draw
+create_package_directory gid_Module_Prg_Calc_Bin pkg/libreoffice-calc
+create_package_directory gid_Module_Prg_Math_Bin pkg/libreoffice-math
+create_package_directory gid_Module_Prg_Draw_Bin pkg/libreoffice-draw
+create_package_directory gid_Module_Prg_Wrt_Bin pkg/libreoffice-writer
+create_package_directory gid_Module_Prg_Impress_Bin pkg/libreoffice-impress
+create_package_directory gid_Module_Prg_Base_Bin pkg/libreoffice-base
+create_package_directory gid_Module_Brand_Prg_Calc pkg/libreoffice-calc
+create_package_directory gid_Module_Brand_Prg_Math pkg/libreoffice-math
+create_package_directory gid_Module_Brand_Prg_Draw pkg/libreoffice-draw
+create_package_directory gid_Module_Brand_Prg_Wrt pkg/libreoffice-writer
+create_package_directory gid_Module_Brand_Prg_Impress pkg/libreoffice-impress
+create_package_directory gid_Module_Brand_Prg_Base pkg/libreoffice-base
+create_package_directory gid_Module_Pyuno pkg/python3-uno
+create_package_directory gid_Module_Optional_Pyuno_LibreLogo pkg/libreoffice-librelogo
+create_package_directory gid_Module_Script_Provider_For_Python pkg/libreoffice-script-provider-python
+create_package_directory gid_Module_Optional_Gnome pkg/libreoffice-gnome
+create_package_directory gid_Module_Optional_Kde pkg/libreoffice-kde
+create_package_directory gid_Module_Optional_OGLTrans pkg/libreoffice-impress
+create_package_directory gid_Module_Root_SDK pkg/libreoffice-dev
+# WTF? Why is this suddently not installed itself?
+mv usr/lib/libreoffice/sdk/lib \
+ pkg/libreoffice-dev/usr/lib/libreoffice/sdk
+create_package_directory gid_Module_Optional_Extensions_Script_Provider_For_BS pkg/libreoffice-script-provider-bsh
+create_package_directory gid_Module_Optional_Extensions_Script_Provider_For_JS pkg/libreoffice-script-provider-js
+create_package_directory gid_Module_Optional_Extensions_MEDIAWIKI pkg/libreoffice-wiki-publisher
+create_package_directory gid_Module_Optional_Extensions_NLPSolver pkg/libreoffice-nlpsolver
+create_package_directory gid_Module_Pdfimport pkg/libreoffice-common
+create_package_directory gid_Module_Reportbuilder pkg/libreoffice-report-builder
+create_package_directory gid_Module_Optional_PostgresqlSdbc pkg/libreoffice-sdbc-postgresql
+create_package_directory gid_Module_Libreofficekit pkg/libreofficekit-data
+move_wrappers pkg/libreoffice-common soffice unopkg
+move_wrappers pkg/libreoffice-common libreoffice loffice lofromtemplate
+move_wrappers pkg/libreoffice-base lobase
+move_wrappers pkg/libreoffice-writer lowriter loweb
+move_wrappers pkg/libreoffice-calc localc
+move_wrappers pkg/libreoffice-impress loimpress
+move_wrappers pkg/libreoffice-math lomath
+move_wrappers pkg/libreoffice-draw lodraw
+
+for l in `echo $OOO_LANGS_LIST`; do
+ for p in Impress Draw Math Calc Base Writer; do
+ create_package_directory gid_Module_Langpack_${p}_`echo $l | sed -e s/-/_/g` pkg/libreoffice-l10n-$l
+ done
+ create_package_directory gid_Module_Langpack_Basis_`echo $l | sed -e s/-/_/g` pkg/libreoffice-l10n-$l
+ create_package_directory gid_Module_Langpack_Brand_`echo $l | sed -e s/-/_/g` pkg/libreoffice-l10n-$l
+ create_package_directory gid_Module_Langpack_Resource_`echo $l | sed -e s/-/_/g` pkg/libreoffice-l10n-$l
+ if [ -f gid_Module_Helppack_Help_`echo $l | sed -e s/-/_/g` ]; then
+ create_package_directory gid_Module_Helppack_Help_`echo $l | sed -e s/-/_/g` pkg/libreoffice-help-$l
+ fi
+ # some help files are in _Langpack_{Writer,Impress,...}_<lang>
+ # move them from -l10n to -help
+ if [ "$l" = "en-US" ]; then d=en; else d=$l; fi
+ mv pkg/libreoffice-l10n-$l/$OOINSTBASE/help/$d/* \
+ pkg/libreoffice-help-$l/$OOINSTBASE/help/$d && \
+ rmdir pkg/libreoffice-l10n-$l/$OOINSTBASE/help/$d
+done
+
+# Move all libraries and binaries from -common to -core
+if [ ! -d $OODESTDIR/pkg/libreoffice-core/$OOINSTBASE/program ]; then \
+mkdir -p $OODESTDIR/pkg/libreoffice-core/$OOINSTBASE/program; \
+fi &&
+( cd pkg/libreoffice-common/$OOINSTBASE/program
+ find -maxdepth 1 \
+ -regex '\./\(.*\.so.*\|.*\.bin\|pagein.*\|kdefilepicker\|msfontextract\|.*\.rdb\|javaldx\|oosplash\|uri-encode\|xpdfimport\|ui-previewer\|opencltest\)' \
+ -exec mv {} $OODESTDIR/pkg/libreoffice-core/$OOINSTBASE/program \;
+);
+for i in types services; do \
+ if [ ! -d $OODESTDIR/pkg/libreoffice-core/$OOINSTBASE/program/$i ]; then \
+ mkdir -p $OODESTDIR/pkg/libreoffice-core/$OOINSTBASE/program/$i; \
+ fi &&
+ ( cd pkg/libreoffice-common/$OOINSTBASE/program/$i
+ find -maxdepth 1 \
+ -regex '\./\(.*\.rdb\)' \
+ -exec mv {} $OODESTDIR/pkg/libreoffice-core/$OOINSTBASE/program/$i \;
+ ); \
+done
+
+mkdir -p pkg/libreoffice-common/usr/share/bash-completion/completions
+mv usr/share/bash-completion/completions/libreoffice$BINSUFFIX.sh \
+ pkg/libreoffice-common/usr/share/bash-completion/completions/libreoffice$BINSUFFIX
+
+mv .$OOINSTBASE/program/java-set-classpath \
+ pkg/libreoffice-common/$OOINSTBASE/program
+if echo $OOO_LANGS_LIST | grep -q en-US; then
+ for i in forms/resume.ott officorr/project-proposal.ott; do \
+ mkdir -p pkg/libreoffice-common/$OOINSTBASE/share/template/en-US/`dirname $i`; \
+ mv .$OOINSTBASE/share/template/en-US/$i \
+ pkg/libreoffice-common/$OOINSTBASE/share/template/en-US/$i; \
+ done; \
+fi
+
+# Warn for any remaining files
+find . -path './pkg' -prune -o -not -name 'gid_Module_*' -not -type d -exec echo "File not packaged: {}" \;
+
diff --git a/debian/scripts/joinctrl.py b/debian/scripts/joinctrl.py
new file mode 100755
index 000000000..ce12f09b9
--- /dev/null
+++ b/debian/scripts/joinctrl.py
@@ -0,0 +1,66 @@
+#! /usr/bin/python3
+
+import re, sys, fileinput
+
+def splitlines():
+ fields = ('Build-Depends', 'Build-Conflicts', 'Build-Depends-Indep', 'Build-Depends-Arch',
+ 'Depends', 'Replaces', 'Provides', 'Conflicts', 'Recommends', 'Suggests', 'Breaks')
+ for line in fileinput.input():
+ line = line[:-1]
+ field = None
+ for f in fields:
+ if line.startswith(f+':'):
+ field = f
+ break
+ if not field:
+ print(line)
+ continue
+ values = [f.strip() for f in line.split(':',1)[1].strip().split(',')]
+ if len(values) > 2:
+ print('%s: %s' % (field, ',\n '.join(values)))
+ else:
+ print('%s: %s' % (field, ', '.join(values)))
+
+def sort_list(unsorted_list):
+ packages = [x for x in unsorted_list if re.match("[a-z0-9]", x)]
+ special = [x for x in unsorted_list if not re.match("[a-z0-9]", x)]
+ return sorted(packages) + sorted(special)
+
+def joinlines():
+ fields = ('Build-Depends', 'Build-Conflicts', 'Build-Depends-Indep', 'Build-Depends-Arch',
+ 'Depends', 'Replaces', 'Provides', 'Conflicts', 'Recommends', 'Suggests', 'Breaks')
+ buffer = None
+ for line in fileinput.input():
+ line = line[:-1]
+ if buffer:
+ if line.startswith(' '):
+ buffer = buffer + ' ' + line.strip()
+ continue
+ else:
+ packages = sort_list(set([x.strip() for x in buffer[len(field)+1:].split(",")]))
+ if "" in packages:
+ packages.remove("")
+ length = len(field) + sum([2 + len(package) for package in packages])
+ if length > 80:
+ indentation = " " * (len(field) + 2)
+ packages_with_indention = [indentation + x for x in packages]
+ packages_with_indention = ",\n".join(packages_with_indention)
+ print(field + ": " + packages_with_indention.strip())
+ else:
+ print(field + ": " + ", ".join(packages).strip())
+ buffer = None
+ field = None
+ for f in fields:
+ if line.startswith(f+':'):
+ field = f
+ break
+ if field:
+ buffer = line.strip()
+ continue
+ print(line)
+
+def main():
+ #splitlines()
+ joinlines()
+
+main()
diff --git a/debian/scripts/locale-gen b/debian/scripts/locale-gen
new file mode 100755
index 000000000..c7334fdb7
--- /dev/null
+++ b/debian/scripts/locale-gen
@@ -0,0 +1,32 @@
+#!/bin/sh
+
+# generate locales that uicheck depend on
+# "stolen" from gcc
+
+LOCPATH=`pwd`/debian/locales
+export LOCPATH
+
+[ -d $LOCPATH ] || mkdir -p $LOCPATH
+
+[ -n "$USE_CPUS" ] || USE_CPUS=1
+
+umask 022
+
+echo "Generating locales..."
+xargs -L 1 -P $USE_CPUS -I{} \
+ sh -c '
+ set {}; locale=$1; charset=$2
+ case $locale in \#*) exit;; esac
+ [ -n "$locale" -a -n "$charset" ] || exit
+ echo " `echo $locale | sed \"s/\([^.\@]*\).*/\1/\"`.$charset`echo $locale | sed \"s/\([^\@]*\)\(\@.*\)*/\2/\"`..."
+ if [ -f $LOCPATH/$locale ]; then
+ input=$locale
+ else
+ input=`echo $locale | sed "s/\([^.]*\)[^@]*\(.*\)/\1\2/"`
+ fi
+ localedef -i $input -c -f $charset $LOCPATH/$locale #-A /etc/locale.alias
+ ' <<EOF
+en_US.UTF-8 UTF-8
+EOF
+
+echo "Generation complete."
diff --git a/debian/scripts/move-if-change b/debian/scripts/move-if-change
new file mode 100755
index 000000000..d267e7212
--- /dev/null
+++ b/debian/scripts/move-if-change
@@ -0,0 +1,32 @@
+#!/bin/sh
+
+# Copyright (C) 1996 Free Software Foundation, Inc.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+
+if
+test -r $2
+then
+if
+cmp $1 $2 > /dev/null
+then
+echo $2 is unchanged
+rm -f $1
+else
+mv -f $1 $2
+fi
+else
+mv -f $1 $2
+fi
diff --git a/debian/scripts/stat_pos.sh b/debian/scripts/stat_pos.sh
new file mode 100755
index 000000000..c0469ad9a
--- /dev/null
+++ b/debian/scripts/stat_pos.sh
@@ -0,0 +1,32 @@
+#!/bin/sh
+
+set -e
+
+# Quick and dirty script to stat the LO translations/ pos wrt % translated
+# FIXME: maybe use pocount from translate-toolkit
+
+# Author: Rene Engelhard <rene@debian.org>
+# (C) 2017 Software in the Public Interest, Inc.
+
+cd translations/source
+
+for l in `ls -1`; do
+ # 23:36 <@cloph> no - but you can do a brute-force method of just counting msgid and comparing that with »msgstr ""« matches.
+ # 23:37 <@cloph> While that ignores multiline strings, there aren't too many and should work as a rough estimate
+ msgid_count=$(grep msgid `find $l -name "*.po"` | wc -l)
+ msgstr_count=$(grep msgstr `find $l -name "*.po"` | wc -l)
+ empty_msgstr_count=$(grep msgstr\ \"\" `find $l -name "*.po"` | wc -l)
+ p=$((100*$empty_msgstr_count/$msgid_count))
+ echo "$l: $msgid_count strings, $(($msgid_count-$empty_msgstr_count))/$msgid_count translated; $empty_msgstr_count/$msgid_count untranslated"
+ if test $msgid_count -lt 50000; then
+ echo "$l: no help translations"
+ fi
+ echo "$l: $((100-$p))% translated, $p% untranslated"
+
+ if test $p -lt 20; then
+ langs="$langs $l"
+ fi
+done
+
+echo "languages over 80% translated:"
+echo $langs
diff --git a/debian/shell-lib-extensions.sh b/debian/shell-lib-extensions.sh
new file mode 100644
index 000000000..b7acf0be4
--- /dev/null
+++ b/debian/shell-lib-extensions.sh
@@ -0,0 +1,12 @@
+validate_extensions() {
+ INSTDIR=`mktemp -d`
+ if HOME=$INSTDIR /usr/lib/libreoffice/program/unopkg list --bundled >/dev/null 2>/dev/null; then
+ HOME=$INSTDIR /usr/lib/libreoffice/program/unopkg validate -v --bundled
+ fi
+}
+
+make_lo_sync_extensions() {
+ if [ -d /usr/lib/libreoffice/share/extensions ]; then
+ touch /usr/lib/libreoffice/share/extensions
+ fi
+}
diff --git a/debian/shell-lib-lool.sh b/debian/shell-lib-lool.sh
new file mode 100644
index 000000000..b0afb7763
--- /dev/null
+++ b/debian/shell-lib-lool.sh
@@ -0,0 +1,5 @@
+update_lool_systemplate() {
+ echo -n "Updating LibreOffice Online systemplate... "
+ su lool --shell=/bin/sh -c 'loolwsd-systemplate-setup /var/lib/lool/systemplate /usr/lib/libreoffice >/dev/null 2>&1'
+ echo "done."
+}
diff --git a/debian/shlibs.override.icu b/debian/shlibs.override.icu
new file mode 100644
index 000000000..6db96d608
--- /dev/null
+++ b/debian/shlibs.override.icu
@@ -0,0 +1,5 @@
+libicudata 67
+libicui18n 67
+libicule 67
+libicuuc 67
+libicutu 67
diff --git a/debian/shlibs.override.libc b/debian/shlibs.override.libc
new file mode 100644
index 000000000..0f0411631
--- /dev/null
+++ b/debian/shlibs.override.libc
@@ -0,0 +1 @@
+libc 0.1 libc0.1 (>= 2.10.2-7)
diff --git a/debian/shlibs.override.libcmis b/debian/shlibs.override.libcmis
new file mode 100644
index 000000000..fd769fe19
--- /dev/null
+++ b/debian/shlibs.override.libcmis
@@ -0,0 +1,2 @@
+libcmis-0.5 5 libcmis-0.5-5v5 (>= 0.5.1+git20160603)
+libcmis-c-0.5 5 libcmis-0.5-5v5 (>= 0.5.1+git20160603)
diff --git a/debian/shlibs.override.libetonyek b/debian/shlibs.override.libetonyek
new file mode 100644
index 000000000..eb8ef1c44
--- /dev/null
+++ b/debian/shlibs.override.libetonyek
@@ -0,0 +1 @@
+libetonyek-0.1-lo 1
diff --git a/debian/shlibs.override.liblangtag b/debian/shlibs.override.liblangtag
new file mode 100644
index 000000000..e42607039
--- /dev/null
+++ b/debian/shlibs.override.liblangtag
@@ -0,0 +1 @@
+liblangtag-lo 1
diff --git a/debian/shlibs.override.libmwaw b/debian/shlibs.override.libmwaw
new file mode 100644
index 000000000..b646a88c1
--- /dev/null
+++ b/debian/shlibs.override.libmwaw
@@ -0,0 +1 @@
+libmwaw-0.3-lo 3
diff --git a/debian/shlibs.override.libodfgen b/debian/shlibs.override.libodfgen
new file mode 100644
index 000000000..73489e3ff
--- /dev/null
+++ b/debian/shlibs.override.libodfgen
@@ -0,0 +1 @@
+libodfgen-0.1-lo 1
diff --git a/debian/shlibs.override.librevenge b/debian/shlibs.override.librevenge
new file mode 100644
index 000000000..f6c3fd1ad
--- /dev/null
+++ b/debian/shlibs.override.librevenge
@@ -0,0 +1 @@
+librevenge-0.0-lo 0
diff --git a/debian/shlibs.override.libstaroffice b/debian/shlibs.override.libstaroffice
new file mode 100644
index 000000000..5ad3eaf3b
--- /dev/null
+++ b/debian/shlibs.override.libstaroffice
@@ -0,0 +1 @@
+libstaroffice-0.0-lo 0
diff --git a/debian/shlibs.override.libvisio b/debian/shlibs.override.libvisio
new file mode 100644
index 000000000..cba8b6766
--- /dev/null
+++ b/debian/shlibs.override.libvisio
@@ -0,0 +1 @@
+libvisio-0.1 1
diff --git a/debian/shlibs.override.libwpd b/debian/shlibs.override.libwpd
new file mode 100644
index 000000000..8b6680e23
--- /dev/null
+++ b/debian/shlibs.override.libwpd
@@ -0,0 +1 @@
+libwpd-0.10-lo 10
diff --git a/debian/shlibs.override.libwpg b/debian/shlibs.override.libwpg
new file mode 100644
index 000000000..207ef90f1
--- /dev/null
+++ b/debian/shlibs.override.libwpg
@@ -0,0 +1 @@
+libwpg-0.3-lo 3
diff --git a/debian/shlibs.override.libwps b/debian/shlibs.override.libwps
new file mode 100644
index 000000000..e6b1d7c4a
--- /dev/null
+++ b/debian/shlibs.override.libwps
@@ -0,0 +1 @@
+libwps-0.4-lo 4
diff --git a/debian/shlibs.override.orcus b/debian/shlibs.override.orcus
new file mode 100644
index 000000000..b6efc28a2
--- /dev/null
+++ b/debian/shlibs.override.orcus
@@ -0,0 +1,2 @@
+liborcus-0.17 0
+liborcus-parser-0.17 0
diff --git a/debian/soffice.sh b/debian/soffice.sh
new file mode 100644
index 000000000..bd14b9a60
--- /dev/null
+++ b/debian/soffice.sh
@@ -0,0 +1,21 @@
+# configuration file to set up some environment variables for LibreOffice
+
+# File locking; possible values are:
+# - yes: enable file locking unconditionally
+# - no: disable file locking
+# - auto: enable file locking, when the document is found on a nfs share
+# If the environment variable SAL_ENABLE_FILE_LOCKING is set,
+# the setting if ENABLE_FILE_LOCKING has no effect.
+
+FILE_LOCKING=auto
+
+# OpenGL support; may cause trouble with the restricted nvidia and fglrx
+# drivers; possible values are:
+# - yes: enable OpenGL support unconditionally
+# - no: disable OpenGL support.
+# - auto: only enable OpenGL support, if not running with the restricted
+# nvidia and fglrx drivers.
+# If the environment variable SAL_NOOPENGL is set,
+# the setting if OPENGL_SUPPORT has no effect.
+
+OPENGL_SUPPORT=no
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 000000000..163aaf8d8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/source/include-binaries b/debian/source/include-binaries
new file mode 100644
index 000000000..218fcca49
--- /dev/null
+++ b/debian/source/include-binaries
@@ -0,0 +1,10 @@
+debian/templates/debian-presentation.otp
+debian/templates/debian-presentation-background.xcf
+desktop/test/deployment/update/platform/linux_sparc64.oxt
+helpcontent2/source/media/screenshots/modules/simpress/ui/prntopts/pt/prntopts.png
+tarballs/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip
+tarballs/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip
+tarballs/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip
+tarballs/pdfium-5058.tar.bz2
+tarballs/skia-m103-b301ff025004c9cd82816c86c547588e6c24b466.tar.xz
+tarballs/dtoa-20180411.tgz
diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides
new file mode 100644
index 000000000..87d017cd0
--- /dev/null
+++ b/debian/source/lintian-overrides
@@ -0,0 +1,43 @@
+# This *is* the code. lintian, don't assume every HTML file with long lines is generated, thanks, bye!
+libreoffice source: source-is-missing [odk/index.html]
+libreoffice source: source-is-missing [odk/docs/tools.html]
+libreoffice source: source-is-missing [odk/examples/DevelopersGuide/examples.html]
+libreoffice source: source-is-missing [odk/examples/examples.html]
+libreoffice source: source-is-missing [odk/index_online.html]
+# sw/qa/extras/htmlimport/data/PageAndParagraphFilled.html: <meta name="generator" content="LibreOfficeDev 5.1.0.0.alpha1 (Windows)"/>
+# sw/qa/extras/htmlimport/data/inlined_image.html: <meta name="generator" content="LibreOfficeDev 4.4.0.0.alpha0 (Linux)"/>
+# long lines due to inline base64 image
+libreoffice source: source-is-missing [sw/qa/extras/htmlimport/data/PageAndParagraphFilled.html]
+libreoffice source: source-is-missing [sw/qa/extras/htmlimport/data/inlined_image.html]
+# as above, but without generator meta tag
+libreoffice source: source-is-missing [sw/qa/extras/htmlexport/data/clearing-break.html]
+libreoffice source: source-is-missing [sw/qa/extras/htmlimport/data/image-lazy-read.html]
+libreoffice source: source-is-missing [sw/qa/extras/htmlimport/data/tdf142781.html]
+# <META NAME="GENERATOR" CONTENT="OpenOffice.org 2.3 (Linux)">
+libreoffice source: source-is-missing [sw/qa/extras/layout/data/forcepoint94.html]
+# similar, this is NOT minified.
+libreoffice source: source-is-missing [helpcontent2/help3xsl/prism.js]
+# no, it isn't. the one is always, the other is for tests (<!nocheck>)!
+libreoffice source: redundant-build-prerequisites libmwaw-dev (>= 0.3.1), libmwaw-dev (>= 0.3.21)
+# hrmpf. of course they are there
+# $ ls tarballs/*
+# tarballs/35c94d2df8893241173de1d16b6034c0-swingExSrc.zip tarballs/dtoa-20180411.tgz
+# tarballs/798b2ffdc8bcfe7bca2cf92b62caf685-rhino1_5R5.zip tarballs/pdfium-5058.tar.bz2
+# tarballs/a7983f859eafb2677d7ff386a023bc40-xsltml_2.1.2.zip tarballs/skia-m103-b301ff025004c9cd82816c86c547588e6c24b466.tar.xz
+libreoffice source: superfluous-file-pattern tarballs/*rhino* [debian/copyright:135]
+libreoffice source: superfluous-file-pattern tarballs/*swingEx* [debian/copyright:167]
+libreoffice source: superfluous-file-pattern tarballs/*xsltml* [debian/copyright:140]
+libreoffice source: superfluous-file-pattern tarballs/dtoa* [debian/copyright:126]
+libreoffice source: superfluous-file-pattern tarballs/pdfium* [debian/copyright:173]
+libreoffice source: superfluous-file-pattern tarballs/skia* [debian/copyright:131]
+# patched in by us
+libreoffice source: superfluous-file-pattern wizards/source/access2base/access2base.html [debian/copyright:203]
+libreoffice source: source-is-missing [wizards/source/access2base/access2base.html]
+# this is 盖闻天地之数,有十二万九千六百岁为一元。(UTF-8) in GB18030 as verifiable by
+# recode GB18030..UTF-8 sw/qa/extras/txtimport/data/GB18030.txt. Thus this *is* the source
+# and not a windows binary at all.
+# Needs to be GB18030 for sw/qa/extras/txtimport/txtimport.cxx - testTdf92161_gb18030
+libreoffice source: source-contains-prebuilt-windows-binary [sw/qa/extras/txtimport/data/GB18030.txt]
+# two licenses..
+libreoffice source: duplicate-globbing-patterns helpcontent2/help3xsl/polyfills.js (lines 232 236) [debian/copyright]
+
diff --git a/debian/templates/debian-presentation-background.xcf b/debian/templates/debian-presentation-background.xcf
new file mode 100644
index 000000000..5f0523225
--- /dev/null
+++ b/debian/templates/debian-presentation-background.xcf
Binary files differ
diff --git a/debian/templates/debian-presentation.otp b/debian/templates/debian-presentation.otp
new file mode 100644
index 000000000..17fe503c4
--- /dev/null
+++ b/debian/templates/debian-presentation.otp
Binary files differ
diff --git a/debian/templates/soffice-template.desktop.in b/debian/templates/soffice-template.desktop.in
new file mode 100644
index 000000000..0f031f9e6
--- /dev/null
+++ b/debian/templates/soffice-template.desktop.in
@@ -0,0 +1,8 @@
+[Desktop Entry]
+Name=LibreOffice @APP@ ...
+Comment=Enter LibreOffice @APP@ filename:
+Comment[de]=Name der LibreOffice @APP@-Datei eingeben:
+Type=Link
+URL=.source/soffice.@EXT@
+Icon=libreoffice-oasis-@TYPE@
+
diff --git a/debian/tests/access2base-import b/debian/tests/access2base-import
new file mode 100755
index 000000000..4065aefaf
--- /dev/null
+++ b/debian/tests/access2base-import
@@ -0,0 +1,4 @@
+#!/usr/bin/python3
+
+import access2base
+print(access2base)
diff --git a/debian/tests/control b/debian/tests/control
new file mode 100644
index 000000000..ed46ce182
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,127 @@
+Tests: testtools-bridgetest
+Depends: @builddeps@, ure
+Restrictions: allow-stderr, rw-build-tree, superficial
+
+Tests: pyuno-import, uno-import
+Depends: python3, python3-uno
+Restrictions: superficial
+
+Tests: access2base-import
+Depends: python3, python3-access2base
+Restrictions: superficial
+
+## Is there a need for this small test given we run the UI tests etc.?
+#Tests: smoketest
+#Architecture: amd64 arm64
+#Depends: @builddeps@, libreoffice-smoketest-data, libreoffice-dev, libreoffice-core, libreoffice-writer, libreoffice-calc, libreoffice-impress, libreoffice-math, libreoffice-base, libreoffice-sdbc-hsqldb, libreoffice-sdbc-firebird
+#Restrictions: allow-stderr, build-needed, rw-build-tree, superficial
+
+# this is already done by smoketest upstream, but fails when doing it against
+# the installed LO. works standalone, though, so it's patched out of the
+# smoketest. Do it here separately.
+Tests: test-extension
+Architecture: amd64 arm64 armhf i386 ppc64 ppc64el s390x
+Depends: libreoffice-core-nogui, libreoffice-common, libreoffice-java-common, libreoffice-smoketest-data, default-jdk
+Restrictions: allow-stderr, superficial, skippable
+
+Tests: test-extension-shared
+Architecture: amd64 arm64 armhf i386 ppc64 ppc64el s390x
+Depends: libreoffice-core-nogui, libreoffice-common, libreoffice-java-common, libreoffice-smoketest-data, default-jdk
+Restrictions: allow-stderr, needs-root, superficial
+
+# in the following some tests need RTL and CJK language packs installed to pass.
+# he is the example for RTL, zh-tw for CJK (and zh-tw was choosen to also test xx-YY locales)
+
+# Maybe all those tests should be merged into one (especially for the "small" ones like writerperfect or
+# "tiny" ones like sfx2,svx,cui.
+# But it already takes ~1.5 h (though including copy..) for all them to run on amd64 and the overall autopkgtest
+# test timeout is 166 min (a bit over 2.5 hrs.). What are we doing on slow archs?
+# And secondly. one might miss breakage if Java or another package is not installed but is
+# required because everything needed would be in Depends: then for one test...
+# Try to optimize a bit though by not sorting alphabetically but where the new packages are a superset so
+# we can reuse the testbed
+
+Tests: uicheck-sfx2
+Depends: @builddeps@, libreoffice-core, libreoffice-impress, python3-uno
+Restrictions: allow-stderr
+
+Tests: uicheck-svx
+Depends: @builddeps@, libreoffice-core, libreoffice-impress, python3-uno
+Restrictions: allow-stderr
+
+Tests: uicheck-cui
+Depends: @builddeps@, libreoffice-core, libreoffice-impress, libreoffice-writer, python3-uno
+Restrictions: allow-stderr
+
+Tests: uicheck-sd
+Depends: @builddeps@, libreoffice-core, libreoffice-draw, libreoffice-impress, libreoffice-calc, python3-uno
+Restrictions: allow-stderr
+
+Tests: uicheck-writerperfect
+Depends: @builddeps@, libreoffice-core, libreoffice-writer, python3-uno
+Restrictions: allow-stderr
+
+Tests: uicheck-sc
+Architecture: alpha amd64 arm64 armel armhf i386 ia64 m68k mipsel mips64el powerpc ppc64 ppc64el s390x sparc64 mips
+Depends: @builddeps@, libreoffice-core, libreoffice-calc, libreoffice-draw, python3-uno, libreoffice-l10n-he, libreoffice-l10n-zh-tw, libreoffice-java-common, libreoffice-writer
+Restrictions: allow-stderr
+
+Tests: uicheck-sw
+Architecture: alpha amd64 arm64 armel armhf i386 ia64 m68k mipsel mips64el powerpc ppc64 ppc64el s390x sparc64 mips
+Depends: @builddeps@, libreoffice-core, libreoffice-writer, libreoffice-draw, libreoffice-calc, libreoffice-base, python3-uno, libreoffice-l10n-he, libreoffice-l10n-zh-tw, libreoffice-librelogo, libreoffice-java-common
+Restrictions: allow-stderr, needs-internet
+
+Tests: uicheck-uitest
+Depends: @builddeps@, libreoffice-core, libreoffice-writer, libreoffice-calc, libreoffice-impress, libreoffice-math, libreoffice-base, python3-uno, libreoffice-l10n-he, libreoffice-l10n-zh-tw
+Restrictions: allow-stderr
+
+Tests: junit-subsequentcheck
+Architecture: amd64 arm64
+Depends: @builddeps@, libreoffice-core, libreoffice-writer, libreoffice-calc, libreoffice-impress, libreoffice-math, libreoffice-base, libreoffice-subsequentcheckbase, libreoffice-sdbc-hsqldb, libreoffice-sdbc-firebird
+Restrictions: allow-stderr, skippable
+
+Test-Command: export SYSTEM_UCPP=TRUE; export DOXYGEN=`command -v doxygen`; export ENABLE_JAVA=TRUE; export JDK=sun; export JAVADOC=/usr/lib/jvm/default-java/bin/javadoc; perl odk/util/check.pl /usr/lib/libreoffice/sdk
+Features: test-name=sdk-complete
+Depends: libreoffice-dev, libreoffice-dev-doc
+Restrictions: superficial
+
+Tests: odk-build-examples
+Architecture: amd64 arm64 armhf i386 ppc64 ppc64el s390x
+Depends: @builddeps@, libreoffice-core-nogui, libreoffice-dev, libreoffice-dev-doc, python3-uno
+Restrictions: allow-stderr, skippable
+
+Tests: odk-build-examples-java
+Architecture: amd64 arm64 armhf i386 ppc64 ppc64el s390x
+Depends: @builddeps@, libreoffice-core-nogui, libreoffice-dev, libreoffice-dev-doc, libreoffice-java-common, libofficebean-java
+Restrictions: allow-stderr, skippable
+
+#Tests: cppunit-subsequentcheck
+#Architecture: amd64 arm64
+#Depends: @builddeps@, libreoffice,libreoffice-core,libreoffice-common,libreoffice-java-common,libreoffice-writer,libreoffice-calc,libreoffice-impress,libreoffice-draw,libreoffice-math,libreoffice-base-core,libreoffice-base,libreoffice-style-breeze,libreoffice-style-colibre,libreoffice-style-sifr,libreoffice-style-elementary,libreoffice-style-karasa-jaga,libreoffice-style-sukapura,libreoffice-gnome,python3-uno,libreoffice-script-provider-python,libreoffice-script-provider-bsh,libreoffice-script-provider-js,libreoffice-sdbc-hsqldb,libreoffice-sdbc-mysql,libreoffice-base-drivers,python3-access2base,libofficebean-java,uno-libs-private,libuno-sal3,libuno-cppu3,ure,ure-java,libunoloader-java,liblibreoffice-java,libreoffice-wiki-publisher,libreoffice-report-builder,libreoffice-report-builder-bin,libreoffice-nlpsolver,fonts-opensymbol,libreoffice-dev,libreoffice-dev-gui,libreoffice-dev-common,libreofficekit-dev,libreoffice-gtk3,gir1.2-lokdocview-0.1,liblibreofficekitgtk,libreofficekit-data,libreoffice-kf5,libreoffice-qt5,libreoffice-plasma,libreoffice-sdbc-postgresql,libreoffice-evolution,libreoffice-subsequentcheckbase,libreoffice-smoketest-data,libreoffice-librelogo,libreoffice-sdbc-firebird
+#Restrictions: build-needed, rw-build-tree, allow-stderr
+#
+## Those tests even work when there is no /usr/lib/libreoffice there in any way. @builddeps@ is enough.
+## That strictly violates the autopkgtest stuff thus mark them as superficial. But if a library
+## or whatever update broke it we should know
+#Tests: slowcheck
+#Architecture: amd64 arm64
+##Depends: @builddeps@, libreoffice,libreoffice-core,libreoffice-common,libreoffice-java-common,libreoffice-writer,libreoffice-calc,libreoffice-impress,libreoffice-draw,libreoffice-math,libreoffice-base-core,libreoffice-base,libreoffice-style-breeze,libreoffice-style-colibre,libreoffice-style-sifr,libreoffice-style-elementary,libreoffice-style-karasa-jaga,libreoffice-style-sukapura,libreoffice-gnome,python3-uno,libreoffice-script-provider-python,libreoffice-script-provider-bsh,libreoffice-script-provider-js,libreoffice-sdbc-hsqldb,libreoffice-sdbc-mysql,libreoffice-base-drivers,python3-access2base,libofficebean-java,uno-libs-private,libuno-sal3,libuno-cppu3,ure,ure-java,libunoloader-java,liblibreoffice-java,libreoffice-wiki-publisher,libreoffice-report-builder,libreoffice-report-builder-bin,libreoffice-nlpsolver,fonts-opensymbol,libreoffice-dev,libreoffice-dev-gui,libreoffice-dev-common,libreofficekit-dev,libreoffice-gtk3,gir1.2-lokdocview-0.1,liblibreofficekitgtk,libreofficekit-data,libreoffice-kf5,libreoffice-qt5,libreoffice-plasma,libreoffice-sdbc-postgresql,libreoffice-evolution,libreoffice-subsequentcheckbase,libreoffice-smoketest-data,libreoffice-librelogo,libreoffice-sdbc-firebird
+#Restrictions: build-needed, rw-build-tree, allow-stderr, superficial
+#
+#Tests: unitcheck
+#Architecture: amd64 arm64
+#Depends: @builddeps@, libreoffice,libreoffice-core,libreoffice-common,libreoffice-java-common,libreoffice-writer,libreoffice-calc,libreoffice-impress,libreoffice-draw,libreoffice-math,libreoffice-base-core,libreoffice-base,libreoffice-style-breeze,libreoffice-style-colibre,libreoffice-style-sifr,libreoffice-style-elementary,libreoffice-style-karasa-jaga,libreoffice-style-sukapura,libreoffice-gnome,python3-uno,libreoffice-script-provider-python,libreoffice-script-provider-bsh,libreoffice-script-provider-js,libreoffice-sdbc-hsqldb,libreoffice-sdbc-mysql,libreoffice-base-drivers,python3-access2base,libofficebean-java,uno-libs-private,libuno-sal3,libuno-cppu3,ure,ure-java,libunoloader-java,liblibreoffice-java,libreoffice-wiki-publisher,libreoffice-report-builder,libreoffice-report-builder-bin,libreoffice-nlpsolver,fonts-opensymbol,libreoffice-dev,libreoffice-dev-gui,libreoffice-dev-common,libreofficekit-dev,libreoffice-gtk3,gir1.2-lokdocview-0.1,liblibreofficekitgtk,libreofficekit-data,libreoffice-kf5,libreoffice-qt5,libreoffice-plasma,libreoffice-sdbc-postgresql,libreoffice-evolution,libreoffice-subsequentcheckbase,libreoffice-smoketest-data,libreoffice-librelogo,libreoffice-sdbc-firebird
+#Restrictions: build-needed, rw-build-tree, allow-stderr, superficial, skippable
+
+Test-Command: for i in /etc/apparmor.d/usr.lib.libreoffice.program.*; do /sbin/apparmor_parser --add --skip-cache --skip-kernel-load $i; done
+Features: test-name=apparmor-profiles-syntax-check
+Depends: libreoffice-common, apparmor
+Restrictions: allow-stderr, superficial
+
+## This one tests real connection to a MySQL and works by symlinking that one
+## specific library to the one in libreoffice-sdbc-mysql
+## Should probably always be last due to breaks-testbed?
+#Tests: cppunit-connectivity-mysql
+#Architecture: amd64 arm64
+#Depends: @builddeps@, pwgen, libreoffice-sdbc-mysql, libreoffice-core, default-mysql-server, default-mysql-client
+#Restrictions: build-needed, allow-stderr, needs-root, isolation-container, breaks-testbed, superficial
diff --git a/debian/tests/control.in b/debian/tests/control.in
new file mode 100644
index 000000000..18e191bd0
--- /dev/null
+++ b/debian/tests/control.in
@@ -0,0 +1,127 @@
+Tests: testtools-bridgetest
+Depends: @builddeps@, ure
+Restrictions: allow-stderr, rw-build-tree, superficial
+
+Tests: pyuno-import, uno-import
+Depends: python3, python3-uno
+Restrictions: superficial
+
+Tests: access2base-import
+Depends: python3, python3-access2base
+Restrictions: superficial
+
+## Is there a need for this small test given we run the UI tests etc.?
+#Tests: smoketest
+#Architecture: %OOO_CHECK_FATAL_ARCHS%
+#Depends: @builddeps@, libreoffice-smoketest-data, libreoffice-dev, libreoffice-core, libreoffice-writer, libreoffice-calc, libreoffice-impress, libreoffice-math, libreoffice-base, libreoffice-sdbc-hsqldb, libreoffice-sdbc-firebird
+#Restrictions: allow-stderr, build-needed, rw-build-tree, superficial
+
+# this is already done by smoketest upstream, but fails when doing it against
+# the installed LO. works standalone, though, so it's patched out of the
+# smoketest. Do it here separately.
+Tests: test-extension
+Architecture: %OOO_NOGUI_ARCHS%
+Depends: libreoffice-core-nogui, libreoffice-common, libreoffice-java-common, libreoffice-smoketest-data, default-jdk
+Restrictions: allow-stderr, superficial, skippable
+
+Tests: test-extension-shared
+Architecture: %OOO_NOGUI_ARCHS%
+Depends: libreoffice-core-nogui, libreoffice-common, libreoffice-java-common, libreoffice-smoketest-data, default-jdk
+Restrictions: allow-stderr, needs-root, superficial
+
+# in the following some tests need RTL and CJK language packs installed to pass.
+# he is the example for RTL, zh-tw for CJK (and zh-tw was choosen to also test xx-YY locales)
+
+# Maybe all those tests should be merged into one (especially for the "small" ones like writerperfect or
+# "tiny" ones like sfx2,svx,cui.
+# But it already takes ~1.5 h (though including copy..) for all them to run on amd64 and the overall autopkgtest
+# test timeout is 166 min (a bit over 2.5 hrs.). What are we doing on slow archs?
+# And secondly. one might miss breakage if Java or another package is not installed but is
+# required because everything needed would be in Depends: then for one test...
+# Try to optimize a bit though by not sorting alphabetically but where the new packages are a superset so
+# we can reuse the testbed
+
+Tests: uicheck-sfx2
+Depends: @builddeps@, libreoffice-core, libreoffice-impress, python3-uno
+Restrictions: allow-stderr
+
+Tests: uicheck-svx
+Depends: @builddeps@, libreoffice-core, libreoffice-impress, python3-uno
+Restrictions: allow-stderr
+
+Tests: uicheck-cui
+Depends: @builddeps@, libreoffice-core, libreoffice-impress, libreoffice-writer, python3-uno
+Restrictions: allow-stderr
+
+Tests: uicheck-sd
+Depends: @builddeps@, libreoffice-core, libreoffice-draw, libreoffice-impress, libreoffice-calc, python3-uno
+Restrictions: allow-stderr
+
+Tests: uicheck-writerperfect
+Depends: @builddeps@, libreoffice-core, libreoffice-writer, python3-uno
+Restrictions: allow-stderr
+
+Tests: uicheck-sc
+Architecture: %OOO_JAVA_ARCHS%
+Depends: @builddeps@, libreoffice-core, libreoffice-calc, libreoffice-draw, python3-uno, libreoffice-l10n-he, libreoffice-l10n-zh-tw, libreoffice-java-common, libreoffice-writer
+Restrictions: allow-stderr
+
+Tests: uicheck-sw
+Architecture: %OOO_JAVA_ARCHS%
+Depends: @builddeps@, libreoffice-core, libreoffice-writer, libreoffice-draw, libreoffice-calc, libreoffice-base, python3-uno, libreoffice-l10n-he, libreoffice-l10n-zh-tw, libreoffice-librelogo, libreoffice-java-common
+Restrictions: allow-stderr, needs-internet
+
+Tests: uicheck-uitest
+Depends: @builddeps@, libreoffice-core, libreoffice-writer, libreoffice-calc, libreoffice-impress, libreoffice-math, libreoffice-base, python3-uno, libreoffice-l10n-he, libreoffice-l10n-zh-tw
+Restrictions: allow-stderr
+
+Tests: junit-subsequentcheck
+Architecture: %OOO_JUNIT_ARCHS%
+Depends: @builddeps@, libreoffice-core, libreoffice-writer, libreoffice-calc, libreoffice-impress, libreoffice-math, libreoffice-base, libreoffice-subsequentcheckbase, libreoffice-sdbc-hsqldb, libreoffice-sdbc-firebird
+Restrictions: allow-stderr, skippable
+
+Test-Command: export SYSTEM_UCPP=TRUE; export DOXYGEN=`command -v doxygen`; export ENABLE_JAVA=TRUE; export JDK=sun; export JAVADOC=/usr/lib/jvm/default-java/bin/javadoc; perl odk/util/check.pl /usr/lib/libreoffice/sdk
+Features: test-name=sdk-complete
+Depends: libreoffice-dev, libreoffice-dev-doc
+Restrictions: superficial
+
+Tests: odk-build-examples
+Architecture: %OOO_NOGUI_ARCHS%
+Depends: @builddeps@, libreoffice-core-nogui, libreoffice-dev, libreoffice-dev-doc, python3-uno
+Restrictions: allow-stderr, skippable
+
+Tests: odk-build-examples-java
+Architecture: %OOO_NOGUI_ARCHS%
+Depends: @builddeps@, libreoffice-core-nogui, libreoffice-dev, libreoffice-dev-doc, libreoffice-java-common, libofficebean-java
+Restrictions: allow-stderr, skippable
+
+#Tests: cppunit-subsequentcheck
+#Architecture: %OOO_CHECK_FATAL_ARCHS%
+#Depends: @builddeps@, %AUTOPKGTEST_CPPUNIT_PACKAGES%
+#Restrictions: build-needed, rw-build-tree, allow-stderr
+#
+## Those tests even work when there is no /usr/lib/libreoffice there in any way. @builddeps@ is enough.
+## That strictly violates the autopkgtest stuff thus mark them as superficial. But if a library
+## or whatever update broke it we should know
+#Tests: slowcheck
+#Architecture: %OOO_CHECK_FATAL_ARCHS%
+##Depends: @builddeps@, %AUTOPKGTEST_CPPUNIT_PACKAGES%
+#Restrictions: build-needed, rw-build-tree, allow-stderr, superficial
+#
+#Tests: unitcheck
+#Architecture: %OOO_CHECK_FATAL_ARCHS%
+#Depends: @builddeps@, %AUTOPKGTEST_CPPUNIT_PACKAGES%
+#Restrictions: build-needed, rw-build-tree, allow-stderr, superficial, skippable
+
+Test-Command: for i in /etc/apparmor.d/usr.lib.libreoffice.program.*; do /sbin/apparmor_parser --add --skip-cache --skip-kernel-load $i; done
+Features: test-name=apparmor-profiles-syntax-check
+Depends: libreoffice-common, apparmor
+Restrictions: allow-stderr, superficial
+
+## This one tests real connection to a MySQL and works by symlinking that one
+## specific library to the one in libreoffice-sdbc-mysql
+## Should probably always be last due to breaks-testbed?
+#Tests: cppunit-connectivity-mysql
+#Architecture: %OOO_CHECK_FATAL_ARCHS%
+#Depends: @builddeps@, pwgen, libreoffice-sdbc-mysql, libreoffice-core, default-mysql-server, default-mysql-client
+#Restrictions: build-needed, allow-stderr, needs-root, isolation-container, breaks-testbed, superficial
diff --git a/debian/tests/cppunit-connectivity-mysql b/debian/tests/cppunit-connectivity-mysql
new file mode 100755
index 000000000..ba77d8879
--- /dev/null
+++ b/debian/tests/cppunit-connectivity-mysql
@@ -0,0 +1,121 @@
+#!/bin/bash
+
+# autopkgtest check: Run the connectivity "mysql" test
+# and prepare the db needed beforehand
+# (c) 2021 Software in the Public Interest, Inc.
+# Authors: Rene Engelhard <rene@debian.org>
+
+SRCDIR=`pwd`
+CHECK_PARALLELISM=1
+if [ -n "$AUTOPKGTEST_TMP" ]; then
+ WORKDIR=`mktemp -q -d -p $AUTOPKGTEST_TMP`
+else
+ WORKDIR=`mktemp -q -d`
+fi
+
+if [ -x /usr/bin/mariadbd-safe ]; then
+ db=mariadb
+ db_safe_command=mariadbd-safe
+ db_rundir=/run/mysqld
+else
+ db=mysql
+ db_safe_command=mysqld_safe
+ db_rundir=/var/run/mysqld
+fi
+db_user=root
+db_pw=`pwgen -1`
+db_name=test
+db_host=localhost
+db_port=3306
+db_conn_string="$db_user/$db_pw@sdbc:mysql:mysqlc:$db_host:$db_port/$db_name"
+
+trap "cleanup" ERR
+
+function cleanup() {
+ stop_db
+}
+
+function stop_db() {
+ service $db stop || true
+ # in case we are trying in a chroot without running autopkgtest for "quick" testing
+ if ischroot && test -f $db_rundir/mysqld.pid; then
+ kill `cat $db_rundir/mysqld.pid`
+ fi
+}
+
+echo
+echo "====== Enabling core dumps ======"
+# yes, we want core dumps and stack traces
+ulimit -c unlimited || true
+
+echo "====== Resetting $db_user password ======"
+$db_safe_command --skip-grant-tables &
+sleep 5 # wait for startup
+if test "$db" = "mariadb"; then
+ echo "FLUSH PRIVILEGES; SET PASSWORD FOR '$db_user'@'localhost' = PASSWORD('$db_pw');" | \
+ $db -v -u $db_user mysql
+else
+ echo "SET PASSWORD FOR '$db_user'@'localhost' = '$db_pw'; FLUSH PRIVILEGES;" | \
+ $db -v -u $db_user mysql
+fi
+
+stop_db
+
+service $db start
+
+set -e
+
+echo
+echo "====== Creating database "test" ======"
+echo "DROP DATABASE IF EXISTS $db_name; CREATE DATABASE $db_name;" | \
+ $db -v -u $db_user mysql
+
+# ensure we use the version from the package
+echo
+echo "====== Symlinking libraries... ======"
+#rene@frodo:~/LibreOffice/git/master$ objdump -p instdir/program/libmysqlclo.so | grep NEED
+# NEEDED libmariadb.so.3
+# NEEDED libuno_cppu.so.3
+# NEEDED libdbtoolslo.so
+# NEEDED libuno_sal.so.3
+# NEEDED libuno_salhelpergcc3.so.3
+# NEEDED libcomphelper.so
+# NEEDED libuno_cppuhelpergcc3.so.3
+# NEEDED libstdc++.so.6
+# NEEDED libm.so.6
+# NEEDED libgcc_s.so.1
+# NEEDED libpthread.so.0
+# NEEDED libc.so.6
+# VERNEED 0x0000000000004b28
+# VERNEEDNUM 0x0000000000000007
+cd $SRCDIR/instdir/program
+LIBS="libuno_cppu.so.3 libuno_sal.so.3 libuno_salhelpergcc3.so.3 libuno_cppuhelpergcc3.so.3 libmysqlclo.so"
+# FIXME: libdbtoolslo.so and libcomphelper.so are in libmerged.so with enable-mergelibs, thus do not
+# exist on 64bit...
+# Maybe until then this test shall only be run on 32bit?
+if [ "`dpkg-architecture -qDEB_HOST_ARCH_BITS`" = "32" ]; then
+ LIBS="$LIBS libdbtoolslo.so libcomphelper.so"
+ # done below
+else
+ LIBS="$LIBS libmergedlo.so"
+ ln -svf /usr/lib/libreoffice/program/libmergedlo.so libdbtoolslo.so
+ # DOESN'T WORK, CAUSES LINK ERROR
+ #ln -svf /usr/lib/libreoffice/program/libmergedlo.so libcomphelper.so
+fi
+for i in $LIBS; do \
+ ln -svf /usr/lib/libreoffice/program/$i; \
+done
+
+echo
+echo "====== Starting MySQL Test with ${CHECK_PARALLELISM} job ======"
+cd $SRCDIR/connectivity && \
+make -rj$CHECK_PARALLELISM CppunitTest_connectivity_mysql_test \
+ CONNECTIVITY_TEST_MYSQL_DRIVER="$db_conn_string" \
+ verbose=t || exit 1
+
+echo
+echo "====== Dropping database "test" ======"
+echo "DROP DATABASE test;" | \
+ $db -v -u $db_user mysql
+
+cleanup
diff --git a/debian/tests/cppunit-subsequentcheck b/debian/tests/cppunit-subsequentcheck
new file mode 100755
index 000000000..d0cc94aa7
--- /dev/null
+++ b/debian/tests/cppunit-subsequentcheck
@@ -0,0 +1,183 @@
+#!/bin/bash
+# autopkgtest check: Run junit base tests against an installed version of LibreOffice
+# (c) 2021 Software in the Public Interest, Inc.
+# Authors: Rene Engelhard <rene@debian.org>
+
+set -e
+set -E
+
+SRCDIR=`pwd`
+CHECK_PARALLELISM=1
+if [ -n "$AUTOPKGTEST_TMP" ]; then
+ WORKDIR=`mktemp -q -d -p $AUTOPKGTEST_TMP`
+else
+ WORKDIR=`mktemp -q -d`
+fi
+
+function unapply() {
+ cd $SRCDIR
+ echo
+ echo "====== Unapplying the patches ======"
+ patch -p1 -R < ./debian/tests/patches/cppunit-standalone.diff
+}
+
+trap "unapply" ERR
+
+echo
+echo "====== Patching the tree to only build the unittests against an existing installation ======"
+patch -p1 < ./debian/tests/patches/cppunit-standalone.diff
+
+echo
+echo "====== Enabling core dumps ======"
+# yes, we want core dumps and stack traces
+ulimit -c unlimited || true
+
+echo
+echo "====== Starting subsequentcheck with ${CHECK_PARALLELISM} job ======"
+
+# hack, otherwise it fails
+mkdir -p $SRCDIR/instdir/program/.dir
+mkdir -p $SRCDIR/instdir/program/services/.dir
+
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/simpress/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/simpress/popupmenu/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/simpress/statusbar/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/simpress/toolbar/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/simpress/ui/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/simpress/menubar/.dir
+
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/schart/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/schart/popupmenu/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/schart/statusbar/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/schart/toolbar/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/schart/ui/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/schart/menubar/.dir
+
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/dbaccess/ui/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/dbapp/popupmenu/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/dbapp/statusbar/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/dbapp/toolbar/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/dbapp/menubar/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/dbbrowser/popupmenu/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/dbbrowser/toolbar/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/dbbrowser/menubar/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/dbquery/toolbar/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/dbquery/menubar/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/dbrelation/toolbar/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/dbrelation/menubar/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/dbtable/toolbar/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/dbtable/menubar/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/dbtdata/popupmenu/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/dbtdata/toolbar/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/dbtdata/menubar/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/sabpilot/ui/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/sbibliography/ui/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/sbibliography/menubar/.dir
+
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/scanner/ui/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/spropctrlr/ui/.dir
+
+mkdir -p $SRCDIR/instdir/share/dtd/officedocument/1_0/.dir
+
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/StartModule/menubar/.dir
+
+mkdir -p $SRCDIR/instdir/program/opencl/.dir
+
+mkdir -p $SRCDIR/instdir/share/calc/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/scalc/popupmenu/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/scalc/statusbar/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/scalc/toolbar/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/scalc/ui/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/scalc/menubar/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/simpress/.dir
+
+mkdir -p $SRCDIR/instdir/share/config/webcast/.dir
+mkdir -p $SRCDIR/instdir/share/config/wizard/web/buttons/.dir
+
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/sdraw/popupmenu/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/sdraw/statusbar/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/sdraw/toolbar/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/sdraw/ui/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/sdraw/menubar/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/simpress/popupmenu/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/simpress/statusbar/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/simpress/toolbar/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/simpress/ui/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/simpress/menubar/.dir
+
+mkdir -p $SRCDIR/instdir/share/classification/.dir
+
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/sfx/ui/.dir
+
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/smath/popupmenu/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/smath/statusbar/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/smath/toolbar/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/smath/ui/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/smath/menubar/.dir
+
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/svt/ui/.dir
+
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/svx/ui/.dir
+
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/sglobal/popupmenu/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/sglobal/statusbar/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/sglobal/toolbar/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/sglobal/menubar/.dir
+
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/sweb/popupmenu/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/sweb/statusbar/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/sweb/toolbar/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/sweb/menubar/.dir
+
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/swform/popupmenu/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/swform/statusbar/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/swform/toolbar/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/swform/menubar/.dir
+
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/swreport/popupmenu/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/swreport/statusbar/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/swreport/toolbar/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/swreport/menubar/.dir
+
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/swriter/popupmenu/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/swriter/statusbar/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/swriter/toolbar/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/swriter/ui/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/swriter/menubar/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/swxform/popupmenu/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/swxform/statusbar/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/swxform/toolbar/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/swxform/menubar/.dir
+
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/xmlsec/ui/.dir
+
+mkdir -p $SRCDIR/instdir/share/registry/.dir
+mkdir -p $SRCDIR/instdir/share/registry/res/.dir
+
+mkdir -p $SRCDIR/instdir/share/emojiconfig/.dir
+
+cd $SRCDIR/instdir/program/resource && \
+ for i in `ls -1 | grep -v common`; do touch $i/LC_MESSAGES/.dir; done
+
+cd $SRCDIR
+
+# all modules containing subsequent(test|check).
+# Filter out:
+# - odk: already tested by odk-build-examples and odk/util/check.pl
+# - the junit tests - which are ran in an own test - by setting OOO_JUNIT_JAR to nothing (as --without-junit would do)
+# - solenv: no need to test gbuild2json...
+# - smoketest: done in the smoketest test
+export PARALLELISM=$CHECK_PARALLELISM
+for i in `grep subsequent */*.mk | cut -d"/" -f1 | grep -E -v '(odk|smoketest|solenv)' | sort | uniq | xargs`; do
+ echo
+ echo "====== Running subsequentcheck in module $i ======"; \
+ cd $i && \
+ make -rk subsequentcheck \
+ OOO_JUNIT_JAR= \
+ INSTDIR=/usr/lib/libreoffice \
+ verbose=t; \
+ cd ..;\
+done
+
+unapply
+
diff --git a/debian/tests/junit-subsequentcheck b/debian/tests/junit-subsequentcheck
new file mode 100755
index 000000000..2829f3c0c
--- /dev/null
+++ b/debian/tests/junit-subsequentcheck
@@ -0,0 +1,64 @@
+#!/bin/bash
+# autopkgtest check: Run junit base tests against an installed version of LibreOffice
+# (C) 2013 Canonical Ltd.
+# (c) 2015-2017 Software in the Public Interest, Inc.
+# Authors: Bjoern Michaelsen <bjoern.michaelsen@canonical.com>
+# Rene Engelhard <rene@debian.org>
+
+set -e
+set -E
+
+# skip on Zero using architectures
+if java -version 2>&1 | grep -q Zero; then
+ echo "Zero-using architecture. Skipping."
+ exit 77
+fi
+
+SRCDIR=`pwd`
+CHECK_PARALLELISM=1
+if [ -n "$AUTOPKGTEST_TMP" ]; then
+ WORKDIR=`mktemp -q -d -p $AUTOPKGTEST_TMP`
+else
+ WORKDIR=`mktemp -q -d`
+fi
+
+function unapply() {
+ echo
+ echo "====== Unapplying the patch ======"
+ patch -p1 -R < ./debian/tests/patches/junit-subsequentcheck-standalone.diff
+}
+
+trap "unapply" ERR
+
+echo
+echo "====== Patching the tree to only build Java-based unittests against an existing installation ======"
+patch -p1 < ./debian/tests/patches/junit-subsequentcheck-standalone.diff
+
+if [ ! -f config_host.mk ]; then
+ echo
+ echo "====== Generating configuration ======="
+ rm -f config_host.mk
+ ./debian/rules config_host.mk enable_report_builder=no
+ sed -i 's/export OOO_JUNIT_JAR=.*/export OOO_JUNIT_JAR=\/usr\/share\/java\/junit4.jar/' config_host.mk
+fi
+
+echo
+echo "====== Enabling core dumps ======"
+# yes, we want core dumps and stack traces
+ulimit -c unlimited || true
+
+OOO_TEST_SOFFICE="${1:-path:/usr/lib/libreoffice/program/soffice}"
+
+echo
+echo "====== Starting subsequentcheck with ${CHECK_PARALLELISM} job against ${OOO_TEST_SOFFICE} ======"
+
+eval `grep PLATFORMID config_host.mk`
+
+export PARALLELISM=$CHECK_PARALLELISM
+make -rk \
+ OOO_TEST_SOFFICE=${OOO_TEST_SOFFICE} \
+ bridges_SELECTED_BRIDGE=gcc3_$PLATFORMID \
+ subsequentcheck verbose=t
+
+unapply
+
diff --git a/debian/tests/odk-build-examples b/debian/tests/odk-build-examples
new file mode 100755
index 000000000..6a8e52296
--- /dev/null
+++ b/debian/tests/odk-build-examples
@@ -0,0 +1,50 @@
+#!/bin/bash
+# autopkgtest check: Run the odk/build-examples check against an installed
+# version of the LibreOffice SDK
+# (c) 2017 Software in the Public Interest, Inc.
+# Authors: Rene Engelhard <rene@debian.org>
+
+set -e
+set -E
+
+SRCDIR=`pwd`
+CHECK_PARALLELISM=1
+
+function unapply() {
+ cd $SRCDIR
+ echo
+ echo "====== Unapplying the patch ======"
+ patch -p1 -R < ./debian/tests/patches/odk-build-examples-standalone.diff
+}
+
+trap "unapply" ERR
+
+# skip if building as root:
+# unopkg errors out with "ERROR: Cannot run unopkg as root without --shared or --bundled option."
+# if ran as root
+if [ `id -u` = "0" ]; then
+ exit 77
+fi
+
+echo
+echo "====== Patching the tree to build the odk build-examples test against an existing installation ======"
+patch -p1 < ./debian/tests/patches/odk-build-examples-standalone.diff
+
+if [ ! -f config_host.mk ]; then
+ echo
+ echo "====== Generating configuration ======="
+ rm -f config_host.mk
+ ./debian/rules config_host.mk
+fi
+
+echo
+echo "====== Starting build with ${CHECK_PARALLELISM} job against /usr/lib/libreoffice/sdk ======"
+
+cd $SRCDIR/odk
+
+export PARALLELISM=$CHECK_PARALLELISM
+make -rk \
+ CustomTarget_odk/build-examples verbose=t
+
+unapply
+
diff --git a/debian/tests/odk-build-examples-java b/debian/tests/odk-build-examples-java
new file mode 100755
index 000000000..95d00d571
--- /dev/null
+++ b/debian/tests/odk-build-examples-java
@@ -0,0 +1,56 @@
+#!/bin/bash
+# autopkgtest check: Run the odk/build-examples check against an installed
+# version of the LibreOffice SDK
+# (c) 2017 Software in the Public Interest, Inc.
+# Authors: Rene Engelhard <rene@debian.org>
+
+set -e
+set -E
+
+# skip on Zero using architectures
+if java -version 2>&1 | grep -q Zero; then
+ echo "Zero-using architecture. Skipping."
+ exit 77
+fi
+
+SRCDIR=`pwd`
+CHECK_PARALLELISM=1
+
+function unapply() {
+ cd $SRCDIR
+ echo
+ echo "====== Unapplying the patch ======"
+ patch -p1 -R < ./debian/tests/patches/odk-build-examples-standalone.diff
+}
+
+trap "unapply" ERR
+
+# skip if building as root:
+# unopkg errors out with "ERROR: Cannot run unopkg as root without --shared or --bundled option."
+# if ran as root
+if [ `id -u` = "0" ]; then
+ exit 77
+fi
+
+echo
+echo "====== Patching the tree to build the odk build-examples test against an existing installation ======"
+patch -p1 < ./debian/tests/patches/odk-build-examples-standalone.diff
+
+if [ ! -f config_host.mk ]; then
+ echo
+ echo "====== Generating configuration ======="
+ rm -f config_host.mk
+ ./debian/rules config_host.mk
+fi
+
+echo
+echo "====== Starting build with ${CHECK_PARALLELISM} job against /usr/lib/libreoffice/sdk ======"
+
+cd $SRCDIR/odk
+
+export PARALLELISM=$CHECK_PARALLELISM
+make -rk \
+ CustomTarget_odk/build-examples_java verbose=t
+
+unapply
+
diff --git a/debian/tests/patches/cppunit-standalone.diff b/debian/tests/patches/cppunit-standalone.diff
new file mode 100644
index 000000000..267b10423
--- /dev/null
+++ b/debian/tests/patches/cppunit-standalone.diff
@@ -0,0 +1,15 @@
+diff --git a/solenv/gbuild/Module.mk b/solenv/gbuild/Module.mk
+index 0d87ccc55379..41c6564d3d7e 100644
+--- a/solenv/gbuild/Module.mk
++++ b/solenv/gbuild/Module.mk
+@@ -338,10 +338,6 @@ define gb_Module_add_subsequentcheck_target
+ $(call gb_Module__read_targetfile,$(1),$(2),subsequentcheck target)
+
+ $(call gb_Module_get_subsequentcheck_target,$(1)) : $$(gb_Module_CURRENTTARGET)
+-$$(gb_Module_CURRENTTARGET) :| \
+- $(call gb_Postprocess_get_target,AllModulesButInstsetNative) \
+- $(call gb_Package_get_target,instsetoo_native_setup) \
+- $(call gb_Package_get_target,instsetoo_native_setup_ure)
+ $(call gb_Module_get_clean_target,$(1)) : $$(gb_Module_CURRENTCLEANTARGET)
+
+ endef
diff --git a/debian/tests/patches/disable-db-tests.diff b/debian/tests/patches/disable-db-tests.diff
new file mode 100644
index 000000000..7d148b9f1
--- /dev/null
+++ b/debian/tests/patches/disable-db-tests.diff
@@ -0,0 +1,130 @@
+diff -urN smoketest-old/data/Test_DB.xml smoketest/data/Test_DB.xml
+--- a/smoketest-old/data/Basic/Standard/Test_DB.xml 2011-12-20 16:05:52.000000000 +0000
++++ b/smoketest/data/Basic/Standard/Test_DB.xml 2011-12-29 23:09:08.000000000 +0000
+@@ -30,9 +30,6 @@
+
+ const cMessageDatabaseService = &quot;Database Service&quot;
+ const cMessageDatabaseOpen = &quot;Open Database&quot;
+-const cMessageDatabaseInsert = &quot;Insert record into Database&quot;
+-const cMessageDatabaseDelete = &quot;Delete record from Database&quot;
+-const cMessageDatabaseSeek = &quot;Read other record from Database&quot;
+ const cMessageDatabaseClose = &quot;Close Database&quot;
+
+ Sub TestDB
+@@ -81,48 +78,6 @@
+ LogTestResult( &quot;Database &quot;+ cMessageDatabaseService, TRUE )
+ End If
+
+- gCurrentTestCase = cDBInsert
+- sCurrentMessage = cMessageDatabaseInsert
+-
+- oRowSet.ActiveConnection = oDBConnection
+-
+- oRowSet.CommandType = com.sun.star.sdb.CommandType.COMMAND
+- oRowSet.Command = &quot;SELECT * FROM &quot; + sTable
+- oRowSet.execute()
+-
+- oRowSet.moveToInsertRow
+- oRowSet.updateString(5, sTestString)
+-
+- oRowSet.insertRow()
+- nRowCount=oRowSet.RowCount
+-
+- oRowSet.moveToCurrentRow()
+-
+- bResult = (oRowSet.getString(5) = sTestString)
+- LogTestResult( &quot;Database &quot;+ cMessageDatabaseInsert, bResult )
+-
+- &apos;delete only if insert passed
+-
+- if (bResult) Then
+- gCurrentTestCase = cDBDelete
+- sCurrentMessage = cMessageDatabaseDelete
+- oRowSet.deleteRow()
+- bResult = (nRowCount - oRowSet.RowCount = 0)
+- if ( bResult ) Then
+- oRowSet.next()
+- bResult = (nRowCount - oRowSet.RowCount = 1)
+- End If
+- LogTestResult( &quot;Database &quot;+ cMessageDatabaseDelete, bResult )
+- End If
+-
+- &apos; read other record
+-
+- gCurrentTestCase = cDBSeek
+- sCurrentMessage = cMessageDatabaseSeek
+- oRowSet.first()
+- bResult = not (oRowSet.getString(5) = sTestString)
+- LogTestResult( &quot;Database &quot;+ cMessageDatabaseSeek, bResult )
+-
+ gCurrentTestCase = cDBClose
+ sCurrentMessage = cMessageDatabaseClose
+ oDBConnection.Dispose()
+diff --git a/dbaccess/Module_dbaccess.mk b/dbaccess/Module_dbaccess.mk
+index 204854748ec1..992ae1ed17c2 100644
+--- a/dbaccess/Module_dbaccess.mk
++++ b/dbaccess/Module_dbaccess.mk
+@@ -32,63 +32,11 @@ $(eval $(call gb_Module_add_l10n_targets,dbaccess,\
+ AllLangMoTarget_dba \
+ ))
+
+-ifneq ($(OS),iOS)
+-ifeq ($(ENABLE_FIREBIRD_SDBC),TRUE)
+-# remove if we have a be file for this
+-ifeq ($(ENDIANNESS),little)
+-$(eval $(call gb_Module_add_check_targets,dbaccess,\
+- CppunitTest_dbaccess_firebird_regression_test \
+-))
+-endif
+-$(eval $(call gb_Module_add_check_targets,dbaccess,\
+- CppunitTest_dbaccess_firebird_test \
+-))
+-endif
+-
+-$(eval $(call gb_Module_add_check_targets,dbaccess,\
+- CppunitTest_dbaccess_dialog_save \
+- CppunitTest_dbaccess_empty_stdlib_save \
+- CppunitTest_dbaccess_nolib_save \
+- CppunitTest_dbaccess_macros_test \
+- CppunitTest_dbaccess_hsqlschema_import \
+-))
+-
+-ifeq ($(ENABLE_JAVA),TRUE)
+-$(eval $(call gb_Module_add_check_targets,dbaccess,\
+- CppunitTest_dbaccess_hsqldb_test \
+- CppunitTest_dbaccess_RowSetClones \
+-))
+-endif
+-
+-# This runs a suite of performance tests on embedded firebird and HSQLDB.
+-# Instructions on running the test can be found in qa/unit/embeddedb_performancetest
+-ifeq ($(ENABLE_FIREBIRD_SDBC),TRUE)
+-ifeq ($(ENABLE_JAVA),TRUE)
+-$(eval $(call gb_Module_add_check_targets,dbaccess,\
+- CppunitTest_dbaccess_embeddeddb_performancetest \
+-))
+-endif
+-endif
+-
+-$(eval $(call gb_Module_add_subsequentcheck_targets,dbaccess,\
+- JunitTest_dbaccess_complex \
+- JunitTest_dbaccess_unoapi \
+-))
+-
+-ifneq ($(DISABLE_PYTHON),TRUE)
+-ifneq ($(ENABLE_JAVA),)
+-$(eval $(call gb_Module_add_subsequentcheck_targets,dbaccess,\
+- PythonTest_dbaccess_python \
+-))
+-endif
+-endif
+-
+ # screenshots
+ $(eval $(call gb_Module_add_screenshot_targets,dbaccess,\
+ CppunitTest_dbaccess_dialogs_test \
+ ))
+
+-endif
+ endif
+
+ # vim: set noet sw=4 ts=4:
diff --git a/debian/tests/patches/junit-subsequentcheck-standalone.diff b/debian/tests/patches/junit-subsequentcheck-standalone.diff
new file mode 100644
index 000000000..ec38c96b9
--- /dev/null
+++ b/debian/tests/patches/junit-subsequentcheck-standalone.diff
@@ -0,0 +1,139 @@
+From fef2f669c1e861c685d22c18319514cec9f9f8c3 Mon Sep 17 00:00:00 2001
+From: Bjoern Michaelsen <bjoern.michaelsen@canonical.com>
+Date: Wed, 28 Jan 2015 12:11:16 +0100
+Subject: [PATCH] run subsequentcheck standalone against installed version as
+ integration test
+Last-Update: 2017-05-17
+
+Forwarded: partially, where there is generic use for it
+---
+ jurt/Module_jurt.mk | 2 +-
+ postprocess/Module_postprocess.mk | 4 ++--
+ solenv/gbuild/JavaClassSet.mk | 2 +-
+ solenv/gbuild/JunitTest.mk | 2 +-
+ solenv/gbuild/Module.mk | 3 +++
+ solenv/gbuild/extensions/post_SkipBuild.mk | 18 ++++++++++++++++++
+ solenv/gbuild/platform/unxgcc.mk | 1 +
+ 7 files changed, 27 insertions(+), 5 deletions(-)
+ create mode 100644 solenv/gbuild/extensions/post_SkipBuild.mk
+
+diff --git a/ridljar/Module_ridljar.mk b/ridljar/Module_ridljar.mk
+index daa0f1835be7..c4186e900a87 100644
+--- a/ridljar/Module_ridljar.mk
++++ b/ridljar/Module_ridljar.mk
+@@ -16,7 +16,7 @@ $(eval $(call gb_Module_add_targets,ridljar,\
+ Jar_unoloader \
+ ))
+
+-$(eval $(call gb_Module_add_check_targets,ridljar,\
++#$(eval $(call gb_Module_add_check_targets,ridljar,\
+ CustomTarget_test_urp \
+ InternalUnoApi_test_urp \
+ JunitTest_bridgefactory \
+diff --git a/postprocess/Module_postprocess.mk b/postprocess/Module_postprocess.mk
+index 0fbede6a9f2b..4c3abc52747c 100644
+--- a/postprocess/Module_postprocess.mk
++++ b/postprocess/Module_postprocess.mk
+@@ -12,19 +12,19 @@ $(eval $(call gb_Module_Module,postprocess))
+ # UGLY: postprocess_XCDS variable from CustomTarget_registry
+ # is reused in Package_registry!
+
+-$(eval $(call gb_Module_add_targets,postprocess,\
++#$(eval $(call gb_Module_add_targets,postprocess,\
+ $(if $(ENABLE_CUSTOMTARGET_COMPONENTS),CustomTarget_components) \
+ CustomTarget_registry \
+ Rdb_services \
+-))
+-ifeq ($(gb_Side),host)
+-$(eval $(call gb_Module_add_targets,postprocess,\
++#))
++#ifeq ($(gb_Side),host)
++#$(eval $(call gb_Module_add_targets,postprocess,\
+ CustomTarget_images \
+ Package_images \
+-))
+-endif
++#))
++#endif
+
+-$(eval $(call gb_Module_add_l10n_targets,postprocess,\
++#$(eval $(call gb_Module_add_l10n_targets,postprocess,\
+ Package_registry \
+ ))
+
+diff --git a/solenv/gbuild/JavaClassSet.mk b/solenv/gbuild/JavaClassSet.mk
+index cff4299bf06e..76765351abdd 100644
+--- a/solenv/gbuild/JavaClassSet.mk
++++ b/solenv/gbuild/JavaClassSet.mk
+@@ -46,7 +46,7 @@ $(call gb_Helper_abbreviate_dirs,\
+ $(filter-out $(JARDEPS) $(T_JAVA9FILES),$(4))) && \
+ $(if $(3),$(call gb_JavaClassSet_JAVACCOMMAND,$(JAVA_TARGET_VER)) \
+ $(gb_JavaClassSet_JAVACDEBUG) \
+- -classpath "$(T_CP)$(gb_CLASSPATHSEP)$(call gb_JavaClassSet_get_classdir,$(2))" \
++ -classpath "$(T_CP)$(gb_CLASSPATHSEP)$(call gb_JavaClassSet_get_classdir,$(2))$(gb_CLASSPATHSEP)$(shell echo $(wildcard /usr/lib/libreoffice/program/classes/*.jar) | sed -e s/\ /:/g)" \
+ -d $(call gb_JavaClassSet_get_classdir,$(2)) \
+ @$$RESPONSEFILE &&) \
+ rm -f $$RESPONSEFILE &&) \
+@@ -55,7 +55,7 @@ $(call gb_Helper_abbreviate_dirs,\
+ $(T_JAVA9FILES)) && \
+ $(if $(3),$(call gb_JavaClassSet_JAVACCOMMAND,9) \
+ $(gb_JavaClassSet_JAVACDEBUG) \
+- -classpath "$(T_CP)$(gb_CLASSPATHSEP)$(call gb_JavaClassSet_get_classdir,$(2))" \
++ -classpath "$(T_CP)$(gb_CLASSPATHSEP)$(call gb_JavaClassSet_get_classdir,$(2))$(gb_CLASSPATHSEP)$(shell echo $(wildcard /usr/lib/libreoffice/program/classes/*.jar) | sed -e s/\ /:/g)" \
+ --module-path "$(T_CP)$(gb_CLASSPATHSEP)$(call gb_JavaClassSet_get_classdir,$(2))" \
+ $(if $(T_MODULENAME),--patch-module $(T_MODULENAME)="$(subst $(WHITESPACE),$(gb_CLASSPATHSEP),$(strip $(dir $(PACKAGEDIRS))))") \
+ -d $(call gb_JavaClassSet_get_classdir,$(2)) \
+--- a/solenv/gbuild/JunitTest.mk
++++ b/solenv/gbuild/JunitTest.mk
+@@ -55,7 +55,7 @@ $(call gb_JunitTest_get_target,%) :
+ endif
+
+ define gb_JunitTest_JunitTest
+-$(call gb_JunitTest_get_target,$(1)) : T_CP := $(call gb_JavaClassSet_get_classdir,$(call gb_JunitTest_get_classsetname,$(1)))$$(gb_CLASSPATHSEP)$(OOO_JUNIT_JAR)$(if $(HAMCREST_JAR),$$(gb_CLASSPATHSEP)$(HAMCREST_JAR))$$(gb_CLASSPATHSEP)$(INSTROOT)/$(LIBO_URE_LIB_FOLDER)
++$(call gb_JunitTest_get_target,$(1)) : T_CP := $(call gb_JavaClassSet_get_classdir,$(call gb_JunitTest_get_classsetname,$(1)))$$(gb_CLASSPATHSEP)$(OOO_JUNIT_JAR)$(if $(HAMCREST_JAR),$$(gb_CLASSPATHSEP)$(HAMCREST_JAR))$$(gb_CLASSPATHSEP)$(INSTROOT)/$(LIBO_URE_LIB_FOLDER)$(gb_CLASSPATHSEP)$(shell echo $(wildcard /usr/lib/libreoffice/program/classes/*.jar) | sed -e s/\ /:/g)
+ $(call gb_JunitTest_get_target,$(1)) : CLASSES :=
+ $(eval $(call gb_JunitTest_JunitTest_platform,$(1)))
+
+--- a/solenv/gbuild/Module.mk
++++ b/solenv/gbuild/Module.mk
+@@ -336,15 +336,16 @@ endef
+ # has order dependency on AllModulesButInstsetNative to be able to run
+ # subsequentcheck in the same make process on "make check"
+ define gb_Module_add_subsequentcheck_target
++ifeq (,$(filter-out JavaClassSet% JunitTest%,$(2)))
+ $(call gb_Module__read_targetfile,$(1),$(2),subsequentcheck target)
+
+ $(call gb_Module_get_subsequentcheck_target,$(1)) : $$(gb_Module_CURRENTTARGET)
+ $$(gb_Module_CURRENTTARGET) :| \
+- $(call gb_Postprocess_get_target,AllModulesButInstsetNative) \
+- $(call gb_Package_get_target,instsetoo_native_setup) \
+- $(call gb_Package_get_target,instsetoo_native_setup_ure)
++ $(call gb_Postprocess_get_target,AllModulesButInstsetNative)
+ $(call gb_Module_get_clean_target,$(1)) : $$(gb_Module_CURRENTCLEANTARGET)
+
++endif
++
+ endef
+
+ define gb_Module_add_stagingcheck_target
+--- /dev/null
++++ b/solenv/gbuild/extensions/post_SkipBuild.mk
+@@ -0,0 +1,18 @@
++# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
++#
++# This file is part of the LibreOffice project.
++#
++# This Source Code Form is subject to the terms of the Mozilla Public
++# License, v. 2.0. If a copy of the MPL was not distributed with this
++# file, You can obtain one at http://mozilla.org/MPL/2.0/.
++#
++
++# we dont want to bother with these for integration tests
++gb_Module_add_target =
++gb_Module_add_l10n_target =
++gb_Module_add_check_target =
++gb_Module_add_slowcheck_target =
++gb_JavaClassSet_use_jar =
++gb_JunitTest_use_jar =
++
++# vim: set noet sw=4 ts=4:
diff --git a/debian/tests/patches/odk-build-examples-standalone.diff b/debian/tests/patches/odk-build-examples-standalone.diff
new file mode 100644
index 000000000..7cb231b2c
--- /dev/null
+++ b/debian/tests/patches/odk-build-examples-standalone.diff
@@ -0,0 +1,50 @@
+diff --git a/odk/build-examples_common.mk b/odk/build-examples_common.mk
+index 931d6eea856e..2749b6930079 100644
+--- a/odk/build-examples_common.mk
++++ b/odk/build-examples_common.mk
+@@ -45,7 +45,7 @@ else
+ && export \
+ UserInstallation=$(call gb_Helper_make_url,$(call gb_CustomTarget_get_workdir,$(1))/user) \
+ $(foreach my_dir,$(2), \
+- && (cd $(INSTDIR)/$(SDKDIRNAME)/examples/$(my_dir) \
++ && (cd /usr/lib/libreoffice/sdk/examples/$(my_dir) \
+ && printf 'yes\n' | LC_ALL=C make -j1 \
+ CC="$(CXX)" LINK="$(CXX)" LIB="$(CXX)" \
+ $(if $(MACOSX_SHELL_HACK), SHELL="$$$$ODK_BUILD_SHELL", ))) \
+@@ -43,17 +43,17 @@ endif
+ endif
+
+ $(call gb_CustomTarget_get_workdir,$(1))/setsdkenv: \
+- $(SRCDIR)/odk/config/setsdkenv_unix.sh.in \
++ /usr/lib/libreoffice/sdk//setsdkenv_unix.sh.in \
+ $(BUILDDIR)/config_$(gb_Side).mk | \
+ $(call gb_CustomTarget_get_workdir,$(1))/.dir
+ $$(call gb_Output_announce,$(subst $(WORKDIR)/,,$(1)),$(true),SED,1)
+ sed -e 's!@OO_SDK_NAME@!sdk!' \
+- -e 's!@OO_SDK_HOME@!$(INSTDIR)/$(SDKDIRNAME)!' \
+- -e 's!@OFFICE_HOME@!$(INSTROOTBASE)!' -e 's!@OO_SDK_MAKE_HOME@!!' \
++ -e 's!@OO_SDK_HOME@!/usr/lib/libreoffice/sdk!' \
++ -e 's!@OFFICE_HOME@!/usr/lib/libreoffice!' -e 's!@OO_SDK_MAKE_HOME@!!' \
+ -e 's!@OO_SDK_ZIP_HOME@!!' -e 's!@OO_SDK_CAT_HOME@!!' \
+ -e 's!@OO_SDK_SED_HOME@!!' -e 's!@OO_SDK_CPP_HOME@!!' \
+ -e 's!@OO_SDK_JAVA_HOME@!$(JAVA_HOME)!' \
+- -e 's!@OO_SDK_OUTPUT_DIR@!$(call gb_CustomTarget_get_workdir,$(1))/out!' \
++ -e 's!@OO_SDK_OUTPUT_DIR@!$(shell mktemp -q -d)/out!' \
+ -e 's!@SDK_AUTO_DEPLOYMENT@!YES!' $$< > $$@
+
+ .PHONY: $(call gb_CustomTarget_get_target,$(1))
+diff --git a/solenv/gbuild/Module.mk b/solenv/gbuild/Module.mk
+index 4073dcfd9bf5..68c17ce0d1ed 100644
+--- a/solenv/gbuild/Module.mk
++++ b/solenv/gbuild/Module.mk
+@@ -339,10 +339,6 @@ define gb_Module_add_subsequentcheck_target
+ $(call gb_Module__read_targetfile,$(1),$(2),subsequentcheck target)
+
+ $(call gb_Module_get_subsequentcheck_target,$(1)) : $$(gb_Module_CURRENTTARGET)
+-$$(gb_Module_CURRENTTARGET) :| \
+- $(call gb_Postprocess_get_target,AllModulesButInstsetNative) \
+- $(call gb_Package_get_target,instsetoo_native_setup) \
+- $(call gb_Package_get_target,instsetoo_native_setup_ure)
+ $(call gb_Module_get_clean_target,$(1)) : $$(gb_Module_CURRENTCLEANTARGET)
+
+ endef
diff --git a/debian/tests/patches/smoketest-disable-extension-tests.diff b/debian/tests/patches/smoketest-disable-extension-tests.diff
new file mode 100644
index 000000000..0b5ee3b3a
--- /dev/null
+++ b/debian/tests/patches/smoketest-disable-extension-tests.diff
@@ -0,0 +1,98 @@
+--- smoketest/data/Basic/Standard/Test_Ext.xml 2012-02-01 13:56:49.000000000 +0100
++++ smoketest/data/Basic/Standard/Test_Ext.xml 2012-02-20 20:15:23.000000000 +0100
+@@ -28,10 +28,6 @@
+ <!DOCTYPE script:module PUBLIC "-//OpenOffice.org//DTD OfficeDocument 1.0//EN" "module.dtd">
+ <script:module xmlns:script="http://openoffice.org/2000/script" script:name="Test_Ext" script:language="StarBasic">REM ***** BASIC *****
+
+-const cMessageExtensionService = &quot;Extension Service&quot;
+-const cMessageExtensionInstall = &quot;Install Extension&quot;
+-const cMessageExtensionUninstall = &quot;Uninstall Extension&quot;
+-
+ Sub TestExtensions
+ Dim oTestExtension as Object, obj_null as Object
+ Dim sCurrentMessage as String
+@@ -37,9 +37,6 @@
+ Dim sCurrentMessage as String
+ Dim bResult as Boolean
+ Dim sImplementationNameString as String
+- sImplementationNameString = cUnoSmoketestTestExtension + &quot;$_TestExtension&quot;
+-
+- On Local Error GoTo EXTERROR
+
+ gCurrentTestCase = cLogfileFailed
+ LocalTestLog% = OpenLogDat (GetLogFileName(gCurrentDocTest))
+@@ -35,74 +35,5 @@
+ gCurrentTestCase = cLogfileFailed
+ LocalTestLog% = OpenLogDat (GetLogFileName(gCurrentDocTest))
+
+- sCurrentMessage = &quot;SmokeTestCommandEnvironment (implemented in Java)&quot;
+- gCurrentTestCase = cEXTService
+-
+- &apos;Create an implementation of com.sun.star.ucb.XCommandEnvironment which is needed for
+- &apos;adding the extension. The implementation is in
+- &apos;smoketest/org/libreoffice/smoketest/SmoketestCommandEnvironment.java and the code is in smoketest.jar
+- cmdEnv = createUnoService(cUnoSmoketestCommandEnvironment)
+-
+- &apos;Create the component context and then get the singleton ExtensionManager
+- &apos;A singleton cannot be created with createUnoService
+- sCurrentMessage = cMessageExtensionService
+- ctx = getDefaultContext
+- ext_mgr = ctx.getValueByName(&quot;/singletons/&quot; + cExtensionManager)
+-
+- LogTestResult( &quot;Extension &quot;+ cMessageExtensionService, not IsNull (ext_mgr) )
+- if (IsNull(ext_mgr)) then
+- Close #LocalTestLog%
+- LocalTestLog = 0
+- Exit Sub
+- End If
+-
+- sCurrentMessage = cMessageExtensionInstall
+- gCurrentTestCase = cEXTInstall
+-
+- &apos;Add the extension. We must provide a file URL here.
+- &apos;By passing &quot;user&quot; we determine that the actions we perform on
+- &apos;XExtensionManager only affect the user installation. To modify the share installation one would pass &quot;share&quot;.
+-
+- Dim props() as Object
+- ext_mgr.addExtension(sExtensionURL, props, &quot;user&quot;, obj_null, cmdEnv)
+-
+- &apos;Check if the extension has been added by creating a service which is contained in the extension.
+- oTestExtension = createUnoService(cUnoSmoketestTestExtension)
+- bResult = (oTestExtension.getImplementationName = sImplementationNameString)
+- LogTestResult( &quot;Extension &quot;+ cMessageExtensionInstall, bResult )
+- if (not bResult) then
+- Close #LocalTestLog%
+- LocalTestLog = 0
+- Exit Sub
+- End If
+-
+- sCurrentMessage = cMessageExtensionUninstall
+- gCurrentTestCase = cEXTUninstall
+-
+- &apos;Remove the package
+- ext_mgr.removeExtension(&quot;org.libreoffice.smoketest.TestExtension&quot;, cExtensionFileName, &quot;user&quot;,obj_null, cmdEnv)
+-
+- &apos;Try to create the service which is contained in the now removed extension.
+- oTestExtension = createUnoService(cUnoSmoketestTestExtension)
+-
+- &apos;The service must not be available anymore. Therefore isNull must return true.
+- LogTestResult( &quot;Extension &quot;+ cMessageExtensionUninstall, IsNull (oTestExtension) )
+-
+- Print #LocalTestLog, &quot;---&quot;
+- Close #LocalTestLog%
+- LocalTestLog = 0
+- Exit Sub &apos; Without error
+-
+- EXTERROR:
+- If ( gCurrentTestCase = cLogfileFailed ) then
+- LogTestResult( &quot; &quot;, False )
+- Exit Sub
+- else
+- LogTestResult( &quot;Extension &quot;+ sCurrentMessage, False )
+- Close #LocalTestLog%
+- LocalTestLog = 0
+- End If
+- Exit Sub &apos; With error
+-
+ End Sub
+ </script:module>
diff --git a/debian/tests/patches/smoketest-standalone.diff b/debian/tests/patches/smoketest-standalone.diff
new file mode 100644
index 000000000..e236b94cb
--- /dev/null
+++ b/debian/tests/patches/smoketest-standalone.diff
@@ -0,0 +1,17 @@
+diff --git a/smoketest/CppunitTest_smoketest.mk b/smoketest/CppunitTest_smoketest.mk
+index f7d64cae562f..9d47776ffb4b 100644
+--- a/smoketest/CppunitTest_smoketest.mk
++++ b/smoketest/CppunitTest_smoketest.mk
+@@ -34,10 +34,10 @@ userinstallation=$(WORKDIR)/CustomTarget/smoketest
+ endif
+
+ $(eval $(call gb_CppunitTest_add_arguments,smoketest,\
+- -env:arg-soffice=$(gb_JunitTest_SOFFICEARG) \
++ -env:arg-soffice=$(OOO_TEST_SOFFICE) \
+ -env:arg-user=$(userinstallation) \
+ -env:arg-env=$(gb_Helper_LIBRARY_PATH_VAR)"$$$${$(gb_Helper_LIBRARY_PATH_VAR)+=$$$$$(gb_Helper_LIBRARY_PATH_VAR)}" \
+- -env:arg-testarg.smoketest.doc=$(WORKDIR)/Zip/smoketestdoc.sxw \
++ -env:arg-testarg.smoketest.doc=/usr/share/libreoffice/smoketestdoc.sxw \
+ ))
+
+ $(call gb_CppunitTest_get_target,smoketest): \
diff --git a/debian/tests/patches/testtools-standalone.diff b/debian/tests/patches/testtools-standalone.diff
new file mode 100644
index 000000000..a6fd5dd20
--- /dev/null
+++ b/debian/tests/patches/testtools-standalone.diff
@@ -0,0 +1,227 @@
+diff --git a/testtools/CustomTarget_bridgetest.mk b/testtools/CustomTarget_bridgetest.mk
+index d090146ec411..1cb4d30dcc2a 100644
+--- a/testtools/CustomTarget_bridgetest.mk
++++ b/testtools/CustomTarget_bridgetest.mk
+@@ -28,7 +28,7 @@ $(testtools_BRIDGEDIR)/bridgetest_server$(testtools_BATCHSUFFIX) :| $(testtools_
+ $(call gb_Trace_StartRange,$(subst $(WORKDIR)/,,$@),ECH)
+ $(call gb_Helper_abbreviate_dirs,\
+ echo \
+- "$(call gb_Executable_get_target_for_build,uno)" \
++ "/usr/lib/libreoffice/program/uno" \
+ "-s com.sun.star.test.bridge.CppTestObject" \
+ "-u 'uno:socket$(COMMA)host=127.0.0.1$(COMMA)port=2002;urp;test'" \
+ "--singleaccept" \
+@@ -59,7 +59,7 @@ $(testtools_BRIDGEDIR)/bridgetest_inprocess_java$(testtools_BATCHSUFFIX) :| $(te
+ $(call gb_Trace_StartRange,$(subst $(WORKDIR)/,,$@),ECH)
+ $(call gb_Helper_abbreviate_dirs,\
+ echo "JAVA_HOME=$(JAVA_HOME)" \
+- "$(call gb_Executable_get_target_for_build,uno)" \
++ "/usr/lib/libreoffice/program/uno" \
+ "-s com.sun.star.test.bridge.BridgeTest" \
+ "-env:LO_BUILD_LIB_DIR=$(call gb_Helper_make_url,$(gb_Library_WORKDIR_FOR_BUILD))" \
+ "-env:URE_MORE_SERVICES=$(call gb_Helper_make_url,$(call gb_Rdb_get_target,uno_services))" \
+@@ -72,7 +72,7 @@ $(testtools_BRIDGEDIR)/bridgetest_client$(testtools_BATCHSUFFIX) :| $(testtools_
+ $(call gb_Trace_StartRange,$(subst $(WORKDIR)/,,$@),ECH)
+ $(call gb_Helper_abbreviate_dirs,\
+ echo \
+- "$(call gb_Executable_get_target_for_build,uno)" \
++ "/usr/lib/libreoffice/program/uno" \
+ "-s com.sun.star.test.bridge.BridgeTest --" \
+ "-u 'uno:socket$(COMMA)host=127.0.0.1$(COMMA)port=2002;urp;test'" \
+ "-env:LO_BUILD_LIB_DIR=$(call gb_Helper_make_url,$(gb_Library_WORKDIR_FOR_BUILD))" \
+diff --git a/testtools/CustomTarget_uno_test.mk b/testtools/CustomTarget_uno_test.mk
+index 4850e5ca66b2..610a0b170e90 100644
+--- a/testtools/CustomTarget_uno_test.mk
++++ b/testtools/CustomTarget_uno_test.mk
+@@ -12,18 +12,12 @@ $(eval $(call gb_CustomTarget_CustomTarget,testtools/uno_test))
+ # this target is phony to run it every time
+ .PHONY : $(call gb_CustomTarget_get_target,testtools/uno_test)
+
+-$(call gb_CustomTarget_get_target,testtools/uno_test) : \
+- $(call gb_Executable_get_runtime_dependencies,uno) \
+- $(call gb_InternalUnoApi_get_target,bridgetest) \
+- $(call gb_Package_get_target,instsetoo_native_setup_ure) \
+- $(call gb_Rdb_get_target,uno_services) \
+- $(call gb_Rdb_get_target,ure/services) \
+- $(call gb_UnoApi_get_target,udkapi)
++$(call gb_CustomTarget_get_target,testtools/uno_test) :
+ ifneq ($(gb_SUPPRESS_TESTS),)
+ @true
+ else
+ $(call gb_Helper_abbreviate_dirs,\
+- $(call gb_Executable_get_command,uno) \
++ /usr/lib/libreoffice/program/uno \
+ -s com.sun.star.test.bridge.BridgeTest \
+ -- com.sun.star.test.bridge.CppTestObject \
+ -env:LO_BUILD_LIB_DIR=$(call gb_Helper_make_url,$(gb_Library_WORKDIR_FOR_BUILD)) \
+#diff --git a/testtools/Library_bridgetest-common.mk b/testtools/Library_bridgetest-common.mk
+#index 1ca38bca6b49..cbc793c36d39 100644
+#--- a/testtools/Library_bridgetest-common.mk
+#+++ b/testtools/Library_bridgetest-common.mk
+#@@ -20,16 +20,6 @@ $(eval $(call gb_Library_use_internal_api,testtools_bridgetest-common,\
+# bridgetest \
+# ))
+#
+#-$(eval $(call gb_Library_use_libraries,testtools_bridgetest-common, \
+#- cppu \
+#- cppuhelper \
+#- sal \
+#-))
+#-
+#-$(eval $(call gb_Library_use_api,testtools_bridgetest-common,\
+#- udkapi \
+#-))
+#-
+# $(eval $(call gb_Library_add_exception_objects,testtools_bridgetest-common,\
+# testtools/source/bridgetest/currentcontextchecker \
+# testtools/source/bridgetest/multi \
+#diff --git a/testtools/Library_bridgetest.mk b/testtools/Library_bridgetest.mk
+#index 52f335761fdf..f0bafca0998f 100644
+#--- a/testtools/Library_bridgetest.mk
+#+++ b/testtools/Library_bridgetest.mk
+#@@ -15,16 +15,9 @@ $(eval $(call gb_Library_use_internal_api,testtools_bridgetest,\
+# bridgetest \
+# ))
+#
+#-$(eval $(call gb_Library_use_api,testtools_bridgetest,\
+#- udkapi \
+#-))
+#-
+# $(eval $(call gb_Library_use_external,testtools_bridgetest,boost_headers))
+#
+# $(eval $(call gb_Library_use_libraries,testtools_bridgetest,\
+#- cppu \
+#- cppuhelper \
+#- sal \
+# testtools_bridgetest-common \
+# ))
+#
+#diff --git a/testtools/Library_constructors.mk b/testtools/Library_constructors.mk
+#index 516c05d62db8..3a2a4b8bca24 100644
+#--- a/testtools/Library_constructors.mk
+#+++ b/testtools/Library_constructors.mk
+#@@ -22,16 +22,6 @@ $(eval $(call gb_Library_use_internal_api,testtools_constructors,\
+# bridgetest \
+# ))
+#
+#-$(eval $(call gb_Library_use_api,testtools_constructors,\
+#- udkapi \
+#-))
+#-
+#-$(eval $(call gb_Library_use_libraries,testtools_constructors,\
+#- cppu \
+#- cppuhelper \
+#- sal \
+#-))
+#-
+# $(eval $(call gb_Library_add_exception_objects,testtools_constructors,\
+# testtools/source/bridgetest/constructors \
+# ))
+#diff --git a/testtools/Library_cppobj.mk b/testtools/Library_cppobj.mk
+#index 086b1fa0b6f5..9348254b6da8 100644
+#--- a/testtools/Library_cppobj.mk
+#+++ b/testtools/Library_cppobj.mk
+#@@ -20,16 +20,9 @@ $(eval $(call gb_Library_use_internal_api,testtools_cppobj,\
+# bridgetest \
+# ))
+#
+#-$(eval $(call gb_Library_use_api,testtools_cppobj,\
+#- udkapi \
+#-))
+#-
+# $(eval $(call gb_Library_use_external,testtools_cppobj,boost_headers))
+#
+# $(eval $(call gb_Library_use_libraries,testtools_cppobj,\
+#- cppu \
+#- cppuhelper \
+#- sal \
+# testtools_bridgetest-common \
+# ))
+#
+#diff --git a/unoidl/Executable_unoidl-check.mk b/unoidl/Executable_unoidl-check.mk
+#index 36dfc44de635..a1bb6ed14d80 100644
+#--- a/unoidl/Executable_unoidl-check.mk
+#+++ b/unoidl/Executable_unoidl-check.mk
+#@@ -15,10 +15,13 @@ $(eval $(call gb_Executable_add_exception_objects,unoidl-check, \
+#
+# $(eval $(call gb_Executable_use_libraries,unoidl-check, \
+# unoidl \
+#- $(if $(filter TRUE,$(DISABLE_DYNLOADING)),reg) \
+#- $(if $(filter TRUE,$(DISABLE_DYNLOADING)),store) \
+#- salhelper \
+#- sal \
+#+))
+#+
+#+$(eval $(call gb_Executable_add_ldflags,unoidl-check, \
+#+ $(if $(filter TRUE,$(DISABLE_DYNLOADING)),-L/usr/lib/libreoffice/program/ -lreglo) \
+#+ $(if $(filter TRUE,$(DISABLE_DYNLOADING)),-L/usr/lib/libreoffice/program/ -lstorelo) \
+#+ -L/usr/lib/libreoffice/sdk/lib/ -luno_sal \
+#+ -L/usr/lib/libreoffice/sdk/lib/ -luno_salhelpergcc3 \
+# ))
+#
+# # vim: set noet sw=4 ts=4:
+#diff --git a/unoidl/Executable_unoidl-read.mk b/unoidl/Executable_unoidl-read.mk
+#index b134c30b1a72..2bfd0ea3057f 100644
+#--- a/unoidl/Executable_unoidl-read.mk
+#+++ b/unoidl/Executable_unoidl-read.mk
+#@@ -15,10 +15,13 @@ $(eval $(call gb_Executable_add_exception_objects,unoidl-read, \
+#
+# $(eval $(call gb_Executable_use_libraries,unoidl-read, \
+# unoidl \
+#- $(if $(filter TRUE,$(DISABLE_DYNLOADING)),reg) \
+#- $(if $(filter TRUE,$(DISABLE_DYNLOADING)),store) \
+#- salhelper \
+#- sal \
+#+))
+#+
+#+$(eval $(call gb_Executable_add_ldflags,unoidl-read, \
+#+ $(if $(filter TRUE,$(DISABLE_DYNLOADING)),-L/usr/lib/libreoffice/program/ -lreglo) \
+#+ $(if $(filter TRUE,$(DISABLE_DYNLOADING)),-L/usr/lib/libreoffice/program/ -lstorelo) \
+#+ -L/usr/lib/libreoffice/sdk/lib/ -luno_sal \
+#+ -L/usr/lib/libreoffice/sdk/lib/ -luno_salhelpergcc3 \
+# ))
+#
+# # vim: set noet sw=4 ts=4:
+#diff --git a/unoidl/Executable_unoidl-write.mk b/unoidl/Executable_unoidl-write.mk
+#index 9accb31ac14d..f69d78a09c32 100644
+#--- a/unoidl/Executable_unoidl-write.mk
+#+++ b/unoidl/Executable_unoidl-write.mk
+#@@ -15,10 +15,15 @@ $(eval $(call gb_Executable_add_exception_objects,unoidl-write, \
+#
+# $(eval $(call gb_Executable_use_libraries,unoidl-write, \
+# unoidl \
+#- $(if $(filter TRUE,$(DISABLE_DYNLOADING)),reg) \
+#- $(if $(filter TRUE,$(DISABLE_DYNLOADING)),store) \
+#- salhelper \
+#- sal \
+# ))
+#
+#+$(eval $(call gb_Executable_add_ldflags,unoidl-write, \
+#+ $(if $(filter TRUE,$(DISABLE_DYNLOADING)),-L/usr/lib/libreoffice/program/ -lreglo) \
+#+ $(if $(filter TRUE,$(DISABLE_DYNLOADING)),-L/usr/lib/libreoffice/program/ -lstorelo) \
+#+ -L/usr/lib/libreoffice/sdk/lib/ -luno_sal \
+#+ -L/usr/lib/libreoffice/sdk/lib/ -luno_salhelpergcc3 \
+#+))
+#+
+#+
+#+
+# # vim: set noet sw=4 ts=4:
+#diff --git a/unoidl/Library_unoidl.mk b/unoidl/Library_unoidl.mk
+#index c98fc69f4945..bdc8285fe234 100644
+#--- a/unoidl/Library_unoidl.mk
+#+++ b/unoidl/Library_unoidl.mk
+#@@ -32,10 +32,10 @@ $(eval $(call gb_Library_set_include,unoidl, \
+# -I$(SRCDIR)/unoidl/source \
+# ))
+#
+#-$(eval $(call gb_Library_use_libraries,unoidl, \
+#- reg \
+#- sal \
+#- salhelper \
+#+$(eval $(call gb_Library_add_libs,unoidl, \
+#+ -L/usr/lib/libreoffice/program/ -lreglo \
+#+ -L/usr/lib/libreoffice/sdk/lib/ -luno_sal \
+#+ -L/usr/lib/libreoffice/sdk/lib/ -luno_salhelpergcc3 \
+# ))
+#
+# # vim: set noet sw=4 ts=4:
diff --git a/debian/tests/patches/uicheck-standalone.diff b/debian/tests/patches/uicheck-standalone.diff
new file mode 100644
index 000000000..f33556ecd
--- /dev/null
+++ b/debian/tests/patches/uicheck-standalone.diff
@@ -0,0 +1,69 @@
+diff --git a/solenv/gbuild/UITest.mk b/solenv/gbuild/UITest.mk
+index cebb030a12cd..88ec5499dcbd 100644
+--- a/solenv/gbuild/UITest.mk
++++ b/solenv/gbuild/UITest.mk
+@@ -34,7 +34,7 @@ ifneq ($(gb_UITest_DEBUGRUN),)
+ gb_UITest_SOFFICEARG:=connect:pipe,name=$(USER)
+ gb_UITest__interactive := $(true)
+ else
+-gb_UITest_SOFFICEARG:=path:$(INSTROOT)/$(LIBO_BIN_FOLDER)/soffice
++gb_UITest_SOFFICEARG:=$(OOO_TEST_SOFFICE)
+ endif
+
+ gb_UITest_COMMAND := LIBO_LANG=en_US.UTF-8 $(gb_UITest_EXECUTABLE) $(SRCDIR)/uitest/test_main.py
+@@ -65,8 +65,8 @@ else
+ $(DEFS) \
+ SAL_LOG_FILE="$(dir $(call gb_UITest_get_target,$*))/soffice.out.log" \
+ TEST_LIB=$(call gb_Library_get_target,test) \
+- URE_BOOTSTRAP=vnd.sun.star.pathname:$(call gb_Helper_get_rcfile,$(INSTROOT)/$(LIBO_ETC_FOLDER)/fundamental) \
+- PYTHONPATH="$(PYPATH)" \
++ URE_BOOTSTRAP=vnd.sun.star.pathname:/usr/lib/libreoffice/program/fundamentalrc \
++ PYTHONPATH="$(filter-out $I/program,$(PYPATH):/usr/lib/libreoffice/program)" \
+ TestUserDir="$(call gb_Helper_make_url,$(dir $(call gb_UITest_get_target,$*)))" \
+ PYTHONDONTWRITEBYTECODE=0 \
+ $(if $(ENABLE_WERROR),PYTHONWARNINGS=error) \
+@@ -95,7 +95,6 @@ define gb_UITest_UITest
+ $(call gb_UITest_get_target,$(1)) : PYPATH := $(SRCDIR)/uitest$$(gb_CLASSPATHSEP)$(SRCDIR)/unotest/source/python$$(gb_CLASSPATHSEP)$(INSTROOT)/$(LIBO_LIB_PYUNO_FOLDER)$(if $(filter-out $(LIBO_LIB_PYUNO_FOLDER),$(LIBO_LIB_FOLDER)),$(gb_CLASSPATHSEP)$(INSTROOT)/$(LIBO_LIB_FOLDER))
+ $(call gb_UITest_get_target,$(1)) : MODULES :=
+
+-$(eval $(call gb_TestHelpers_use_more_fonts,$(call gb_UITest_get_target,$(1))))
+ $(eval $(call gb_Module_register_target,$(call gb_UITest_get_target,$(1)),$(call gb_UITest_get_clean_target,$(1))))
+ $(call gb_Helper_make_userfriendly_targets,$(1),UITest)
+
+--
+2.20.1
+
+diff --git a/solenv/gbuild/Module.mk b/solenv/gbuild/Module.mk
+index 4073dcfd9bf5..856f5efee988 100644
+--- a/solenv/gbuild/Module.mk
++++ b/solenv/gbuild/Module.mk
+@@ -201,7 +201,7 @@ perfcheck :
+ $(call gb_Output_announce_title,all perftests checked.)
+ $(call gb_Output_announce_bell)
+
+-uicheck : build
++uicheck :
+ $(if $(gb_VERBOSE),$(call gb_Output_announce,loaded modules: $(sort $(gb_Module_ALLMODULES)),$(true),UIT,6))
+ $(call gb_Output_announce_title,all uicheck checked.)
+ $(call gb_Output_announce_bell)
+@@ -372,11 +372,6 @@ define gb_Module_add_uicheck_target
+ $(call gb_Module__read_targetfile,$(1),$(2),uicheck target)
+
+ $(call gb_Module_get_uicheck_target,$(1)) : $$(gb_Module_CURRENTTARGET)
+-$$(gb_Module_CURRENTTARGET) :| \
+- $(call gb_Postprocess_get_target,AllModulesButInstsetNative) \
+- $(call gb_Package_get_target,instsetoo_native_setup) \
+- $(call gb_Package_get_target,instsetoo_native_setup_ure)
+-$(call gb_Module_get_uicheck_target,$(1)) : $$(gb_Module_CURRENTTARGET)
+ $(call gb_Module_get_clean_target,$(1)) : $$(gb_Module_CURRENTCLEANTARGET)
+
+ endef
+@@ -479,7 +474,7 @@ endif
+ subsequentcheck : $$(firstword $$(gb_Module_SUBSEQUENTCHECKTARGETSTACK))
+ stagingcheck : $$(firstword $$(gb_Module_STAGINGCHECKTARGETSTACK))
+ perfcheck : $$(firstword $$(gb_Module_PERFCHECKTARGETSTACK))
+-uicheck : build $$(firstword $$(gb_Module_UICHECKTARGETSTACK))
++uicheck : $$(firstword $$(gb_Module_UICHECKTARGETSTACK))
+ clean : $$(firstword $$(gb_Module_CLEANTARGETSTACK))
+
+ ifneq ($$(words $$(gb_Module_TARGETSTACK)),1)
diff --git a/debian/tests/pyuno-import b/debian/tests/pyuno-import
new file mode 100755
index 000000000..9820a90e6
--- /dev/null
+++ b/debian/tests/pyuno-import
@@ -0,0 +1,8 @@
+#!/usr/bin/python3
+
+import sys, os
+sys.path.append('/usr/lib/libreoffice/program')
+os.putenv('URE_BOOTSTRAP', 'vnd.sun.star.pathname:/usr/lib/libreoffice/program/fundamentalrc')
+
+import pyuno
+print(pyuno)
diff --git a/debian/tests/slowcheck b/debian/tests/slowcheck
new file mode 100755
index 000000000..04e8573ef
--- /dev/null
+++ b/debian/tests/slowcheck
@@ -0,0 +1,60 @@
+#!/bin/bash
+# autopkgtest check: Run junit base tests against an installed version of LibreOffice
+# (c) 2021 Software in the Public Interest, Inc.
+# Authors: Rene Engelhard <rene@debian.org>
+
+set -e
+set -E
+
+SRCDIR=`pwd`
+CHECK_PARALLELISM=1
+if [ -n "$AUTOPKGTEST_TMP" ]; then
+ WORKDIR=`mktemp -q -d -p $AUTOPKGTEST_TMP`
+else
+ WORKDIR=`mktemp -q -d`
+fi
+
+function unapply() {
+ cd $SRCDIR
+ echo
+ echo "====== Unapplying the patches ======"
+ patch -p1 -R < ./debian/tests/patches/cppunit-standalone.diff
+}
+
+trap "unapply" ERR
+
+echo
+echo "====== Patching the tree to only build the unittests against an existing installation ======"
+patch -p1 < ./debian/tests/patches/cppunit-standalone.diff
+
+echo
+echo "====== Enabling core dumps ======"
+# yes, we want core dumps and stack traces
+ulimit -c unlimited || true
+
+echo
+echo "====== Starting slowcheck with ${CHECK_PARALLELISM} job ======"
+
+# hack, otherwise it fails
+mkdir -p $SRCDIR/instdir/program/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/simpress/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/simpress/popupmenu/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/simpress/statusbar/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/simpress/toolbar/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/simpress/ui/.dir
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/modules/simpress/menubar/.dir
+
+# all modules containing slowcheck
+export PARALLELISM=$CHECK_PARALLELISM
+for i in `grep slowcheck */*.mk | cut -d"/" -f1 | sort | uniq | xargs`; do
+ echo
+ echo "====== Running slowcheck in module $i ======"; \
+ cd $i && \
+ make -rk slowcheck \
+ INSTDIR=/usr/lib/libreoffice \
+ verbose=t; \
+ cd ..;\
+done
+
+unapply
+
diff --git a/debian/tests/smoketest b/debian/tests/smoketest
new file mode 100755
index 000000000..8661c0469
--- /dev/null
+++ b/debian/tests/smoketest
@@ -0,0 +1,56 @@
+#!/bin/bash
+# autopkgtest check: Run smoketest against an installed version of LibreOffice
+# (c) 2018 Software in the Public Interest, Inc.
+# Authors: Rene Engelhard <rene@debian.org>
+
+set -e
+set -E
+
+SRCDIR=`pwd`
+CHECK_PARALLELISM=1
+if [ -n "$AUTOPKGTEST_TMP" ]; then
+ TMP=`mktemp -q -p $AUTOPKGTEST_TMP`
+ WORKDIR=`mktemp -q -d -p $AUTOPKGTEST_TMP`
+else
+ TMP=`mktemp -q`
+ WORKDIR=`mktemp -q -d`
+fi
+
+function unapply() {
+ cd $SRCDIR
+ echo
+ echo "====== Unapplying the patches ======"
+ patch -p1 -R < ./debian/tests/patches/cppunit-standalone.diff
+ patch -p1 -R < ./debian/tests/patches/smoketest-standalone.diff
+ patch -p0 -R < ./debian/tests/patches/smoketest-disable-extension-tests.diff
+}
+
+trap "unapply" ERR
+
+echo
+echo "====== Patching the tree to only build the smoketest unittest against an existing installation ======"
+patch -p1 < ./debian/tests/patches/cppunit-standalone.diff
+patch -p1 < ./debian/tests/patches/smoketest-standalone.diff
+patch -p0 < ./debian/tests/patches/smoketest-disable-extension-tests.diff
+
+echo
+echo "====== Enabling core dumps ======"
+# yes, we want core dumps and stack traces
+ulimit -c unlimited || true
+
+OOO_TEST_SOFFICE="${1:-path:/usr/lib/libreoffice/program/soffice}"
+
+echo
+echo "====== Starting smoketest with ${CHECK_PARALLELISM} job against ${OOO_TEST_SOFFICE} ======"
+
+export PARALLELISM=$CHECK_PARALLELISM
+
+export LD_LIBRARY_PATH=/usr/lib/libreoffice/program:$LD_LIBRARY_PATH
+cd smoketest && make -rk \
+ OOO_TEST_SOFFICE=${OOO_TEST_SOFFICE} \
+ CppunitTest_smoketest INSTDIR=/usr/lib/libreoffice verbose=t
+
+cd $SRCDIR
+
+unapply
+
diff --git a/debian/tests/test-extension b/debian/tests/test-extension
new file mode 100755
index 000000000..460ed0fb7
--- /dev/null
+++ b/debian/tests/test-extension
@@ -0,0 +1,40 @@
+#!/bin/bash
+# autopkgtest check: Install a test extension (as smoketest would do)
+# (c) 2017 Software in the Public Interest, Inc.
+# Authors: Rene Engelhard <rene@debian.org>
+
+set -e
+set -E
+
+if [ -n "$AUTOPKGTEST_TMP" ]; then
+ TMP=`mktemp -q -p $AUTOPKGTEST_TMP`
+else
+ TMP=`mktemp -q`
+fi
+
+# skip if building as root:
+# unopkg errors out with "ERROR: Cannot run unopkg as root without --shared or --bundled option."
+# if ran as root
+if [ `id -u` = "0" ]; then
+ exit 77
+fi
+
+echo
+echo "====== Add the extension ======"
+# does it install fine?
+unopkg add -v /usr/share/libreoffice/TestExtension.oxt
+
+echo
+echo "====== Show extension status ======"
+# does it list? For whatever reason unopkg leaves a stale .lock behind when
+# doing this grep directly on the output so do it on a tmpfile
+unopkg list | tee $TMP
+grep -q org.libreoffice.smoketest.TestExtension $TMP || exit 1
+rm $TMP
+
+echo
+echo "====== Remove the extension ======"
+# does it remove?
+unopkg remove -v org.libreoffice.smoketest.TestExtension
+
+
diff --git a/debian/tests/test-extension-shared b/debian/tests/test-extension-shared
new file mode 100755
index 000000000..f9d794163
--- /dev/null
+++ b/debian/tests/test-extension-shared
@@ -0,0 +1,34 @@
+#!/bin/bash
+# autopkgtest check: Install a test extension shared
+# (c) 2017 Software in the Public Interest, Inc.
+# Authors: Rene Engelhard <rene@debian.org>
+
+set -e
+set -E
+
+if [ -n "$AUTOPKGTEST_TMP" ]; then
+ TMP=`mktemp -q -p $AUTOPKGTEST_TMP`
+else
+ TMP=`mktemp -q`
+fi
+
+
+echo
+echo "====== Add the extension ======"
+# does it install fine?
+unopkg add --shared -v /usr/share/libreoffice/TestExtension.oxt
+
+echo
+echo "====== Show extension status ======"
+# does it list? For whatever reason unopkg leaves a stale .lock behind when
+# doing this grep directly on the output so do it on a tmpfile
+unopkg list --shared | tee $TMP
+grep -q org.libreoffice.smoketest.TestExtension $TMP || exit 1
+rm $TMP
+
+echo
+echo "====== Remove the extension ======"
+# does it remove?
+unopkg remove --shared -v org.libreoffice.smoketest.TestExtension
+
+
diff --git a/debian/tests/testtools-bridgetest b/debian/tests/testtools-bridgetest
new file mode 100755
index 000000000..18c498a34
--- /dev/null
+++ b/debian/tests/testtools-bridgetest
@@ -0,0 +1,57 @@
+#!/bin/bash
+# autopkgtest check: Run UNO tests against an installed version of the URE
+# (c) 2018 Software in the Public Interest, Inc.
+# Authors: Rene Engelhard <rene@debian.org>
+
+set -e
+set -E
+
+SRCDIR=`pwd`
+CHECK_PARALLELISM=1
+if [ -n "$AUTOPKGTEST_TMP" ]; then
+ TMP=`mktemp -q -p $AUTOPKGTEST_TMP`
+ WORKDIR=`mktemp -q -d -p $AUTOPKGTEST_TMP`
+else
+ TMP=`mktemp -q`
+ WORKDIR=`mktemp -q -d`
+fi
+
+function unapply() {
+ cd $SRCDIR
+ echo
+ echo "====== Unapplying the patches ======"
+ patch -p1 -R < ./debian/tests/patches/testtools-standalone.diff
+}
+
+trap "unapply" ERR
+
+echo
+echo "====== Patching the tree to only build the testtools unittest against an existing installation ======"
+patch -p1 < ./debian/tests/patches/testtools-standalone.diff
+
+echo
+echo "====== Enabling core dumps ======"
+# yes, we want core dumps and stack traces
+ulimit -c unlimited || true
+
+if [ ! -f config_host.mk ]; then
+ # this normally shouldn't be needed but otherwise it wants a automatic
+ # re-autogen.
+ echo
+ echo "====== Generating configuration ======="
+ rm -f config_host.mk
+ ./debian/rules config_host.mk ENABLE_PDFIUM=n ENABLE_MERGELIBS=n BUILD_GTK=n BUILD_GTK3=n BUILD_KDE=n
+fi
+
+echo
+echo "====== Starting uno test with ${CHECK_PARALLELISM} job against /usr/lib/libreoffice/program/uno ======"
+
+export PARALLELISM=$CHECK_PARALLELISM
+
+export LD_LIBRARY_PATH=/usr/lib/libreoffice/program:$LD_LIBRARY_PATH
+make testtools.allcheck verbose=t
+
+cd $SRCDIR
+
+unapply
+
diff --git a/debian/tests/uicheck-cui b/debian/tests/uicheck-cui
new file mode 100755
index 000000000..529501482
--- /dev/null
+++ b/debian/tests/uicheck-cui
@@ -0,0 +1,63 @@
+#!/bin/bash
+# autopkgtest check: Run uicheck against an installed version of LibreOffice
+# (c) 2017 Software in the Public Interest, Inc.
+# Authors: Rene Engelhard <rene@debian.org>
+
+set -e
+set -E
+
+SRCDIR=`pwd`
+CHECK_PARALLELISM=1
+if [ -n "$AUTOPKGTEST_TMP" ]; then
+ WORKDIR=`mktemp -q -d -p $AUTOPKGTEST_TMP`
+else
+ WORKDIR=`mktemp -q -d`
+fi
+
+function unapply() {
+ echo
+ echo "====== Unapplying the patch ======"
+ patch -p1 -R < ./debian/tests/patches/uicheck-standalone.diff
+}
+
+trap "unapply" ERR
+
+echo
+echo "====== Patching the tree to build uicheck against an existing installation ======"
+patch -p1 < ./debian/tests/patches/uicheck-standalone.diff
+
+if [ ! -f config_host.mk ]; then
+ # this normally shouldn't be needed but otherwise it wants a automatic
+ # re-autogen.
+ echo
+ echo "====== Generating configuration ======="
+ rm -f config_host.mk
+ ./debian/rules config_host.mk
+fi
+
+echo
+echo "====== Enabling core dumps ======"
+# yes, we want core dumps and stack traces
+ulimit -c unlimited || true
+
+echo
+echo "====== Generating en_US.UTF-8 locale ======"
+cd $WORKDIR
+$SRCDIR/debian/scripts/locale-gen
+
+OOO_TEST_SOFFICE="${1:-path:/usr/lib/libreoffice/program/soffice}"
+
+echo
+echo "====== Starting uicheck with ${CHECK_PARALLELISM} job against ${OOO_TEST_SOFFICE} ======"
+
+cd $SRCDIR
+export PARALLELISM=$CHECK_PARALLELISM
+export LOCPATH=$WORKDIR/debian/locales
+export LANG=en_US.UTF-8
+export LC_ALL=en_US.UTF-8
+make -rk \
+ OOO_TEST_SOFFICE=${OOO_TEST_SOFFICE} \
+ cui.uicheck verbose=t
+
+unapply
+
diff --git a/debian/tests/uicheck-sc b/debian/tests/uicheck-sc
new file mode 100755
index 000000000..c89435e86
--- /dev/null
+++ b/debian/tests/uicheck-sc
@@ -0,0 +1,63 @@
+#!/bin/bash
+# autopkgtest check: Run uicheck against an installed version of LibreOffice
+# (c) 2017 Software in the Public Interest, Inc.
+# Authors: Rene Engelhard <rene@debian.org>
+
+set -e
+set -E
+
+SRCDIR=`pwd`
+CHECK_PARALLELISM=1
+if [ -n "$AUTOPKGTEST_TMP" ]; then
+ WORKDIR=`mktemp -q -d -p $AUTOPKGTEST_TMP`
+else
+ WORKDIR=`mktemp -q -d`
+fi
+
+function unapply() {
+ echo
+ echo "====== Unapplying the patch ======"
+ patch -p1 -R < ./debian/tests/patches/uicheck-standalone.diff
+}
+
+trap "unapply" ERR
+
+echo
+echo "====== Patching the tree to build uicheck against an existing installation ======"
+patch -p1 < ./debian/tests/patches/uicheck-standalone.diff
+
+if [ ! -f config_host.mk ]; then
+ # this normally shouldn't be needed but otherwise it wants a automatic
+ # re-autogen.
+ echo
+ echo "====== Generating configuration ======="
+ rm -f config_host.mk
+ ./debian/rules config_host.mk
+fi
+
+echo
+echo "====== Enabling core dumps ======"
+# yes, we want core dumps and stack traces
+ulimit -c unlimited || true
+
+echo
+echo "====== Generating en_US.UTF-8 locale ======"
+cd $WORKDIR
+$SRCDIR/debian/scripts/locale-gen
+
+OOO_TEST_SOFFICE="${1:-path:/usr/lib/libreoffice/program/soffice}"
+
+echo
+echo "====== Starting uicheck with ${CHECK_PARALLELISM} job against ${OOO_TEST_SOFFICE} ======"
+
+cd $SRCDIR
+export PARALLELISM=$CHECK_PARALLELISM
+export LOCPATH=$WORKDIR/debian/locales
+export LANG=en_US.UTF-8
+export LC_ALL=en_US.UTF-8
+make -rk \
+ OOO_TEST_SOFFICE=${OOO_TEST_SOFFICE} \
+ sc.uicheck verbose=t
+
+unapply
+
diff --git a/debian/tests/uicheck-sd b/debian/tests/uicheck-sd
new file mode 100755
index 000000000..42e433fec
--- /dev/null
+++ b/debian/tests/uicheck-sd
@@ -0,0 +1,63 @@
+#!/bin/bash
+# autopkgtest check: Run uicheck against an installed version of LibreOffice
+# (c) 2017 Software in the Public Interest, Inc.
+# Authors: Rene Engelhard <rene@debian.org>
+
+set -e
+set -E
+
+SRCDIR=`pwd`
+CHECK_PARALLELISM=1
+if [ -n "$AUTOPKGTEST_TMP" ]; then
+ WORKDIR=`mktemp -q -d -p $AUTOPKGTEST_TMP`
+else
+ WORKDIR=`mktemp -q -d`
+fi
+
+function unapply() {
+ echo
+ echo "====== Unapplying the patch ======"
+ patch -p1 -R < ./debian/tests/patches/uicheck-standalone.diff
+}
+
+trap "unapply" ERR
+
+echo
+echo "====== Patching the tree to build uicheck against an existing installation ======"
+patch -p1 < ./debian/tests/patches/uicheck-standalone.diff
+
+if [ ! -f config_host.mk ]; then
+ # this normally shouldn't be needed but otherwise it wants a automatic
+ # re-autogen.
+ echo
+ echo "====== Generating configuration ======="
+ rm -f config_host.mk
+ ./debian/rules config_host.mk
+fi
+
+echo
+echo "====== Enabling core dumps ======"
+# yes, we want core dumps and stack traces
+ulimit -c unlimited || true
+
+echo
+echo "====== Generating en_US.UTF-8 locale ======"
+cd $WORKDIR
+$SRCDIR/debian/scripts/locale-gen
+
+OOO_TEST_SOFFICE="${1:-path:/usr/lib/libreoffice/program/soffice}"
+
+echo
+echo "====== Starting uicheck with ${CHECK_PARALLELISM} job against ${OOO_TEST_SOFFICE} ======"
+
+cd $SRCDIR
+export PARALLELISM=$CHECK_PARALLELISM
+export LOCPATH=$WORKDIR/debian/locales
+export LANG=en_US.UTF-8
+export LC_ALL=en_US.UTF-8
+make -rk \
+ OOO_TEST_SOFFICE=${OOO_TEST_SOFFICE} \
+ sd.uicheck verbose=t
+
+unapply
+
diff --git a/debian/tests/uicheck-sfx2 b/debian/tests/uicheck-sfx2
new file mode 100755
index 000000000..2796707a3
--- /dev/null
+++ b/debian/tests/uicheck-sfx2
@@ -0,0 +1,63 @@
+#!/bin/bash
+# autopkgtest check: Run uicheck against an installed version of LibreOffice
+# (c) 2017 Software in the Public Interest, Inc.
+# Authors: Rene Engelhard <rene@debian.org>
+
+set -e
+set -E
+
+SRCDIR=`pwd`
+CHECK_PARALLELISM=1
+if [ -n "$AUTOPKGTEST_TMP" ]; then
+ WORKDIR=`mktemp -q -d -p $AUTOPKGTEST_TMP`
+else
+ WORKDIR=`mktemp -q -d`
+fi
+
+function unapply() {
+ echo
+ echo "====== Unapplying the patch ======"
+ patch -p1 -R < ./debian/tests/patches/uicheck-standalone.diff
+}
+
+trap "unapply" ERR
+
+echo
+echo "====== Patching the tree to build uicheck against an existing installation ======"
+patch -p1 < ./debian/tests/patches/uicheck-standalone.diff
+
+if [ ! -f config_host.mk ]; then
+ # this normally shouldn't be needed but otherwise it wants a automatic
+ # re-autogen.
+ echo
+ echo "====== Generating configuration ======="
+ rm -f config_host.mk
+ ./debian/rules config_host.mk
+fi
+
+echo
+echo "====== Enabling core dumps ======"
+# yes, we want core dumps and stack traces
+ulimit -c unlimited || true
+
+echo
+echo "====== Generating en_US.UTF-8 locale ======"
+cd $WORKDIR
+$SRCDIR/debian/scripts/locale-gen
+
+OOO_TEST_SOFFICE="${1:-path:/usr/lib/libreoffice/program/soffice}"
+
+echo
+echo "====== Starting uicheck with ${CHECK_PARALLELISM} job against ${OOO_TEST_SOFFICE} ======"
+
+cd $SRCDIR
+export PARALLELISM=$CHECK_PARALLELISM
+export LOCPATH=$WORKDIR/debian/locales
+export LANG=en_US.UTF-8
+export LC_ALL=en_US.UTF-8
+make -rk \
+ OOO_TEST_SOFFICE=${OOO_TEST_SOFFICE} \
+ sfx2.uicheck verbose=t
+
+unapply
+
diff --git a/debian/tests/uicheck-svx b/debian/tests/uicheck-svx
new file mode 100755
index 000000000..d6cc7b529
--- /dev/null
+++ b/debian/tests/uicheck-svx
@@ -0,0 +1,63 @@
+#!/bin/bash
+# autopkgtest check: Run uicheck against an installed version of LibreOffice
+# (c) 2017 Software in the Public Interest, Inc.
+# Authors: Rene Engelhard <rene@debian.org>
+
+set -e
+set -E
+
+SRCDIR=`pwd`
+CHECK_PARALLELISM=1
+if [ -n "$AUTOPKGTEST_TMP" ]; then
+ WORKDIR=`mktemp -q -d -p $AUTOPKGTEST_TMP`
+else
+ WORKDIR=`mktemp -q -d`
+fi
+
+function unapply() {
+ echo
+ echo "====== Unapplying the patch ======"
+ patch -p1 -R < ./debian/tests/patches/uicheck-standalone.diff
+}
+
+trap "unapply" ERR
+
+echo
+echo "====== Patching the tree to build uicheck against an existing installation ======"
+patch -p1 < ./debian/tests/patches/uicheck-standalone.diff
+
+if [ ! -f config_host.mk ]; then
+ # this normally shouldn't be needed but otherwise it wants a automatic
+ # re-autogen.
+ echo
+ echo "====== Generating configuration ======="
+ rm -f config_host.mk
+ ./debian/rules config_host.mk
+fi
+
+echo
+echo "====== Enabling core dumps ======"
+# yes, we want core dumps and stack traces
+ulimit -c unlimited || true
+
+echo
+echo "====== Generating en_US.UTF-8 locale ======"
+cd $WORKDIR
+$SRCDIR/debian/scripts/locale-gen
+
+OOO_TEST_SOFFICE="${1:-path:/usr/lib/libreoffice/program/soffice}"
+
+echo
+echo "====== Starting uicheck with ${CHECK_PARALLELISM} job against ${OOO_TEST_SOFFICE} ======"
+
+cd $SRCDIR
+export PARALLELISM=$CHECK_PARALLELISM
+export LOCPATH=$WORKDIR/debian/locales
+export LANG=en_US.UTF-8
+export LC_ALL=en_US.UTF-8
+make -rk \
+ OOO_TEST_SOFFICE=${OOO_TEST_SOFFICE} \
+ svx.uicheck verbose=t
+
+unapply
+
diff --git a/debian/tests/uicheck-sw b/debian/tests/uicheck-sw
new file mode 100755
index 000000000..c054bd9fe
--- /dev/null
+++ b/debian/tests/uicheck-sw
@@ -0,0 +1,63 @@
+#!/bin/bash
+# autopkgtest check: Run uicheck against an installed version of LibreOffice
+# (c) 2017 Software in the Public Interest, Inc.
+# Authors: Rene Engelhard <rene@debian.org>
+
+set -e
+set -E
+
+SRCDIR=`pwd`
+CHECK_PARALLELISM=1
+if [ -n "$AUTOPKGTEST_TMP" ]; then
+ WORKDIR=`mktemp -q -d -p $AUTOPKGTEST_TMP`
+else
+ WORKDIR=`mktemp -q -d`
+fi
+
+function unapply() {
+ echo
+ echo "====== Unapplying the patch ======"
+ patch -p1 -R < ./debian/tests/patches/uicheck-standalone.diff
+}
+
+trap "unapply" ERR
+
+echo
+echo "====== Patching the tree to build uicheck against an existing installation ======"
+patch -p1 < ./debian/tests/patches/uicheck-standalone.diff
+
+if [ ! -f config_host.mk ]; then
+ # this normally shouldn't be needed but otherwise it wants a automatic
+ # re-autogen.
+ echo
+ echo "====== Generating configuration ======="
+ rm -f config_host.mk
+ ./debian/rules config_host.mk
+fi
+
+echo
+echo "====== Enabling core dumps ======"
+# yes, we want core dumps and stack traces
+ulimit -c unlimited || true
+
+echo
+echo "====== Generating en_US.UTF-8 locale ======"
+cd $WORKDIR
+$SRCDIR/debian/scripts/locale-gen
+
+OOO_TEST_SOFFICE="${1:-path:/usr/lib/libreoffice/program/soffice}"
+
+echo
+echo "====== Starting uicheck with ${CHECK_PARALLELISM} job against ${OOO_TEST_SOFFICE} ======"
+
+cd $SRCDIR
+export PARALLELISM=$CHECK_PARALLELISM
+export LOCPATH=$WORKDIR/debian/locales
+export LANG=en_US.UTF-8
+export LC_ALL=en_US.UTF-8
+make -rk \
+ OOO_TEST_SOFFICE=${OOO_TEST_SOFFICE} \
+ sw.uicheck verbose=t
+
+unapply
+
diff --git a/debian/tests/uicheck-uitest b/debian/tests/uicheck-uitest
new file mode 100755
index 000000000..8128b949a
--- /dev/null
+++ b/debian/tests/uicheck-uitest
@@ -0,0 +1,63 @@
+#!/bin/bash
+# autopkgtest check: Run uicheck against an installed version of LibreOffice
+# (c) 2017 Software in the Public Interest, Inc.
+# Authors: Rene Engelhard <rene@debian.org>
+
+set -e
+set -E
+
+SRCDIR=`pwd`
+CHECK_PARALLELISM=1
+if [ -n "$AUTOPKGTEST_TMP" ]; then
+ WORKDIR=`mktemp -q -d -p $AUTOPKGTEST_TMP`
+else
+ WORKDIR=`mktemp -q -d`
+fi
+
+function unapply() {
+ echo
+ echo "====== Unapplying the patch ======"
+ patch -p1 -R < ./debian/tests/patches/uicheck-standalone.diff
+}
+
+trap "unapply" ERR
+
+echo
+echo "====== Patching the tree to build uicheck against an existing installation ======"
+patch -p1 < ./debian/tests/patches/uicheck-standalone.diff
+
+if [ ! -f config_host.mk ]; then
+ # this normally shouldn't be needed but otherwise it wants a automatic
+ # re-autogen.
+ echo
+ echo "====== Generating configuration ======="
+ rm -f config_host.mk
+ ./debian/rules config_host.mk
+fi
+
+echo
+echo "====== Enabling core dumps ======"
+# yes, we want core dumps and stack traces
+ulimit -c unlimited || true
+
+echo
+echo "====== Generating en_US.UTF-8 locale ======"
+cd $WORKDIR
+$SRCDIR/debian/scripts/locale-gen
+
+OOO_TEST_SOFFICE="${1:-path:/usr/lib/libreoffice/program/soffice}"
+
+echo
+echo "====== Starting uicheck with ${CHECK_PARALLELISM} job against ${OOO_TEST_SOFFICE} ======"
+
+cd $SRCDIR
+export PARALLELISM=$CHECK_PARALLELISM
+export LOCPATH=$WORKDIR/debian/locales
+export LANG=en_US.UTF-8
+export LC_ALL=en_US.UTF-8
+make -rk \
+ OOO_TEST_SOFFICE=${OOO_TEST_SOFFICE} \
+ uitest.uicheck verbose=t
+
+unapply
+
diff --git a/debian/tests/uicheck-writerperfect b/debian/tests/uicheck-writerperfect
new file mode 100755
index 000000000..14fb40909
--- /dev/null
+++ b/debian/tests/uicheck-writerperfect
@@ -0,0 +1,63 @@
+#!/bin/bash
+# autopkgtest check: Run uicheck against an installed version of LibreOffice
+# (c) 2017 Software in the Public Interest, Inc.
+# Authors: Rene Engelhard <rene@debian.org>
+
+set -e
+set -E
+
+SRCDIR=`pwd`
+CHECK_PARALLELISM=1
+if [ -n "$AUTOPKGTEST_TMP" ]; then
+ WORKDIR=`mktemp -q -d -p $AUTOPKGTEST_TMP`
+else
+ WORKDIR=`mktemp -q -d`
+fi
+
+function unapply() {
+ echo
+ echo "====== Unapplying the patch ======"
+ patch -p1 -R < ./debian/tests/patches/uicheck-standalone.diff
+}
+
+trap "unapply" ERR
+
+echo
+echo "====== Patching the tree to build uicheck against an existing installation ======"
+patch -p1 < ./debian/tests/patches/uicheck-standalone.diff
+
+if [ ! -f config_host.mk ]; then
+ # this normally shouldn't be needed but otherwise it wants a automatic
+ # re-autogen.
+ echo
+ echo "====== Generating configuration ======="
+ rm -f config_host.mk
+ ./debian/rules config_host.mk
+fi
+
+echo
+echo "====== Enabling core dumps ======"
+# yes, we want core dumps and stack traces
+ulimit -c unlimited || true
+
+echo
+echo "====== Generating en_US.UTF-8 locale ======"
+cd $WORKDIR
+$SRCDIR/debian/scripts/locale-gen
+
+OOO_TEST_SOFFICE="${1:-path:/usr/lib/libreoffice/program/soffice}"
+
+echo
+echo "====== Starting uicheck with ${CHECK_PARALLELISM} job against ${OOO_TEST_SOFFICE} ======"
+
+cd $SRCDIR
+export PARALLELISM=$CHECK_PARALLELISM
+export LOCPATH=$WORKDIR/debian/locales
+export LANG=en_US.UTF-8
+export LC_ALL=en_US.UTF-8
+make -rk \
+ OOO_TEST_SOFFICE=${OOO_TEST_SOFFICE} \
+ writerperfect.uicheck verbose=t
+
+unapply
+
diff --git a/debian/tests/unitcheck b/debian/tests/unitcheck
new file mode 100755
index 000000000..a363ec157
--- /dev/null
+++ b/debian/tests/unitcheck
@@ -0,0 +1,72 @@
+#!/bin/bash
+# autopkgtest check: Run junit base tests against an installed version of LibreOffice
+# (c) 2021 Software in the Public Interest, Inc.
+# Authors: Rene Engelhard <rene@debian.org>
+
+set -e
+set -E
+
+SRCDIR=`pwd`
+CHECK_PARALLELISM=1
+if [ -n "$AUTOPKGTEST_TMP" ]; then
+ WORKDIR=`mktemp -q -d -p $AUTOPKGTEST_TMP`
+else
+ WORKDIR=`mktemp -q -d`
+fi
+
+function unapply() {
+ cd $SRCDIR
+ echo
+ echo "====== Unapplying the patches ======"
+ patch -p1 -R < ./debian/tests/patches/cppunit-standalone.diff
+}
+
+trap "unapply" ERR
+
+# skip if building as root:
+# fails with permission errors (seems to assume it runs as user)
+if [ `id -u` = "0" ]; then
+ exit 77
+fi
+
+echo
+echo "====== Patching the tree to only build the unittests against an existing installation ======"
+patch -p1 < ./debian/tests/patches/cppunit-standalone.diff
+
+echo
+echo "====== Enabling core dumps ======"
+# yes, we want core dumps and stack traces
+ulimit -c unlimited || true
+
+echo
+echo "====== Starting unitcheck with ${CHECK_PARALLELISM} job ======"
+
+# hack, otherwise it fails
+mkdir -p $SRCDIR/instdir/program/.dir
+mkdir -p $SRCDIR/instdir/share/registry/.dir
+mkdir -p $SRCDIR/instdir/share/registry/res/.dir
+
+mkdir -p $SRCDIR/instdir/share/filter/.dir
+
+mkdir -p $SRCDIR/instdir/share/config/soffice.cfg/vcl/ui/.dir
+
+# all modules containing unitcheck
+export PARALLELISM=$CHECK_PARALLELISM
+# helpcontent2
+# idlc - tries to *write* /usr/lib/libreoffice/sdk/bin/idlc...
+# unoidl - tries to *write* /usr/lib/libreoffice/sdk/bin/unoidl-check (and more?)...
+# odk - tries to *write* to the SDK dirs and we do test _using_ the ODK
+# in odk-build-examples anyway
+# testtools - already tested in the "uno" test
+for i in `grep check */*.mk | grep -v helpcontent2 | grep -E -v '(idlc|unoidl)' | grep -v odk | grep -v testtools | cut -d"/" -f1 | sort | uniq | xargs`; do
+ echo
+ echo "====== Running unitcheck in module $i ======"; \
+ cd $i && \
+ make -rk unitcheck \
+ INSTDIR=/usr/lib/libreoffice \
+ verbose=t; \
+ cd ..;\
+done
+
+unapply
+
diff --git a/debian/tests/uno-import b/debian/tests/uno-import
new file mode 100755
index 000000000..e36ab16f9
--- /dev/null
+++ b/debian/tests/uno-import
@@ -0,0 +1,4 @@
+#!/usr/bin/python3
+
+import uno
+print(uno)
diff --git a/debian/upstream/metadata b/debian/upstream/metadata
new file mode 100644
index 000000000..08864a92e
--- /dev/null
+++ b/debian/upstream/metadata
@@ -0,0 +1,7 @@
+Bug-Database: https://bugs.documentfoundation.org/
+Bug-Submit: https://bugs.documentfoundation.org/enter_bug.cgi
+Donation: https://www.libreoffice.org/donate/
+FAQ: https://www.libreoffice.org/get-help/frequently-asked-questions/
+Repository: git://anongit.freedesktop.org/libreoffice/core
+Repository-Browse: https://cgit.freedesktop.org/libreoffice/core
+Security-Contact: officesecurity@lists.freedesktop.org
diff --git a/debian/upstream/signing-key.asc b/debian/upstream/signing-key.asc
new file mode 100644
index 000000000..e9169c3b6
--- /dev/null
+++ b/debian/upstream/signing-key.asc
@@ -0,0 +1,66 @@
+-----BEGIN PGP PUBLIC KEY BLOCK-----
+Version: GnuPG v1.4.12 (GNU/Linux)
+
+mQINBEyzEr0BEADT441wUITsTwDA2nM3kmUhGrzTdxZB5xv/E1ZJCw63qWdmdTdW
+NZDfNDuLs4r2VjlEoA3xGK6jgnQvyAoNj0yiEbW/JedHHgOiVdXDlkgkY58myafT
+FXqDLzTXVrsNnay0GS8XrNjptZJPhEPBvNUdkqpA9B7RTkfaXj779Pf/AeFMZVLl
+UAci5RA0NNF910GHwoXT6SEv2PGoawsphnfmMVdKh9wz7asbtKXEmotCwX3k045x
+LsIVK5ANOi+BI9C3LkrrFJWw2XHqDW2ulwCJ0L5QNSjOuY/v8REODwIXamvvdZOz
+XBKSIzDOalJqFCHls3YlGyFw1knr6BAOmVOm32YtNTCLbVA/iK55fZWnUCjD3a4G
+xz4qpQYWfpxhOmlHpk5JkraSNHzCc7SB43DwcHF5ecXHttMhO8MoN/bAZBgCuLGF
+EwNvwFbDwIWo07mlv7wD8i1rtUCvLywJc5YL2PbjCLfB1Q4YzDX1EWnjKdnAsxxK
+ftrx1DFlxzUF+TaHbLTPttUcsWQaL8wITznoWIwdIWlo2woPgWIpUXMOYwYV31Oo
+fgmroHa3V4NOvkke09uhaZawg5yZCoRFohhfKPqT1ZrJ9SnRbW/WR3VTVY76ht5k
+RuV3eb2VWBmPU9zn56Tbe6dvFkBuzHH1JdECAqy1BzFcmQQFBebFzf1XAQARAQAB
+tEhMaWJyZU9mZmljZSBCdWlsZCBUZWFtIChDT0RFIFNJR05JTkcgS0VZKSA8YnVp
+bGRAZG9jdW1lbnRmb3VuZGF0aW9uLm9yZz6IRgQQEQIABgUCTUFIwgAKCRCL2C5v
+MLlLXHQPAJ9Ssl2o0KRKBZ0JdO3vTyDjWgawogCeOE2WUF7Iu6fdSGWNmJSM/do/
+eu6IRgQQEQIABgUCUMOrVAAKCRB7zW0CA5FQlhpDAJ9sqx4+NcrdGbeBTT1UvAb+
+11qqZgCfetdJ0jqSS2yNSNUDy5ZjItVSv/KIRgQQEQoABgUCTLMWIgAKCRD3Yrgl
+77aU6iOrAJ9qpSADLFuQXVf8hNJTB6QDTVux0gCdEhZq2X77lPA//M80glRMXeiU
+hg+IRgQSEQIABgUCTLMdZwAKCRDRq2cH1AjaHztJAJwO1YQx8Rn4WABrG1UaLmsd
+ggsRbQCgz6AhXw/V+BbmgkwoqpbaBKjA8BqIRgQTEQIABgUCTL7JDQAKCRDZI2G9
+jJphVXoIAJ4urW1aBH7aALefUCM4Kpur+OFdpwCfSMFBph6oo2C+tapy7u3Bdh6u
+mU+JARwEEAECAAYFAlI7JikACgkQWqSgLjzaew6Z8ggAx4pZJf5Rjn/OSHp5JRnz
+TuVAKxCBVdKZzxJ3+dq2I4kcZnxBq/fazO1n4kY4dDIAN0eaDw3c1T8eAzM9ZvHK
+jARwWFM3ges2wRWTFJCSN7kK1w0dNfOUbXamQshwRdip2ESmjHrzY3S0Ipo9ZPRn
+qL678aQzxtghI/xow2vzeDcxBPJyggqE46f/5mDsWEwjpS9Cl8YI6k7YQXwlGfRF
+ohJfvEsegol/eITKUVmTcOOsqEnM6S66eWFVN/Z/s+nWqmkxsWOZGADcocGR4uEK
+uX6mdsX4pdX9nCs58/CqdOtfEssmbwfCSqF6D4ip/TxJMHV6msbO/XtzvKxussw7
+2okCNwQTAQoAIQUCTLMSvQIbAwULCQgHAwUVCgkICwUWAgMBAAIeAQIXgAAKCRD0
+NKHvr+6uo5zjD/9f7vhCXJFqVy4s3DegkoHX7XPrHGGGnCDWTDlwwysa7TDRig+8
+sMpqJLTYN2QhpcMQJxBM6gSHv9thtmro60TVbLGodhg48rnK6XkVHBnmTkdnukMV
+woJDvZSBaHP5DOdGGBnSPARaXkufevAmlLKci9NceZCiAh3TGZys1A/JyTPO6AbH
+ipkWKdI6YMbBOAbXg1Te9q3aJ6Tfs+EEuHlXyiGUShxzDA96O0oRZC52DRDwru4G
+6otSGcmhmh0TK2qk6+3Ky4+0bEZeeYPuhe0FUQXdfp4VFcMinzVzHaKwcrgqt/jP
+hP0pSKY0seNZFr5lC2nalksdCVuV+ycJR/pNhnRiL3T0SFwz+HECAFld6WU4JD/x
+TZwmxNTI3kOnXBt/pfS4ri5p53X/TfsQYsA7o8/pZDPqNZ3X+GGxDmgCZ2OTOUwU
+R8o14ggO4ow6NdxO8zz8pFeG5/AgK9IUGVIi94d8MVYK85WCrRWMBjs0UwUpFSdE
+cHnyoFqa3KE7KxxEi9PlAfwdh9QD9g2X0WC5zNhQhCLe34fWGgcjLB22ZG6FjHla
+UhR7wU71APlEw9sGNVuQJiB0d3GCckMoKhEaygqUsHtRlzgCT2PqmVlti0VGiebY
+yNTjPFuUIU24SpVDRX/Lr84gakFgX1hoQC1OAQl306aYMIzd3w7TNkdiZrkCDQRM
+sxK9ARAAwOnQfFINZ37Y539om60IwV7y1/Dv6c/2B8c4JSp6xvzxC9EwmBVjrPVo
+10yWXFMqWzFSK4Dq41ytQCTMOn+pFZHnytYg7rjY8uJ+eDe6snVwNtIoL4rhEelA
+L6FeWUwouqrx3A3LUs7h8+j1J21QXgF6/p6cqajjIKI4a/a2/O0+H2AwZigOdxo6
+xLS3ZQ+vYwxAhVSaYjN8kGR07FtmJY52h41taxgkdBo74CFqXpKM8crOF2N5eFnM
+eXW+p4ORXgxcemus7Bc1fA+ISmRl7Y51zvJoyRBzSTxZGt8ocClufAPHoyLwdhp/
+4u9Grs/R4w72iwPWrjjBBC9XOTX33OkwwdLn+QC/tEE2YM5IlAhnjNPiXNEM4OMx
+/TUuOfTbOifXYZ8mjRZtumYu6W1ru6MeAytRTnhvLxY8UZbR+WNeINfQSmQeHFSx
+Sx9o18GwWcT6xHFCM0X+WO+h+TICkjbU6O0Rr2SvC+AOppewv5rbTvo6ygWk5GVN
+nfRERvR5FLqsS3wz7uzjFNoDsYXGVj835udozyb4i3KB8UcdbgfTAttuBqMN6ihJ
+OBqF5U0XlX0dLQSQ3gw1W+0kfsnp2t2JHVBWFfzufv4m1DNO0I7J94qNoH6RxsCb
+/ZU4U54d2KDn4HKCle3ciLFWrvbGYbOHSOFjnrkyNeuqDk7em8sAEQEAAYkCHwQY
+AQoACQUCTLMSvQIbDAAKCRD0NKHvr+6uo9p6D/9q8jb9r3heVJi1JlvaFV1bepr0
+ATKlC6uq1Wsol8QoVX5lAE9ds9HLwzPkswQfWx8PoHhJUYgYnyilLKJ4mRwoiR74
+Yx6RNa9KoOkU6BjavDt4c2f/fdkmzc7NA7JbPyyYT8Agz/mXKJUa5KVTtGNidx/V
+X1sgFz3Wr0R2qTghhSj/tb7Jp8LRVb/ygdQViMc1q6OI6wSguJeyH1jRH/onGzp+
+8ThdsIA1X95w3lRf70EGs1k03/0Zs2voJgZnnszZ/U+DLDL9e86cQ+cnxpZdTIYu
+qrfgq8w8U9I54CYVuQUSwHiZ0MwVoPCvPOKJkT/NLz+cqIfhfYmCYuAWxp0SKF19
+jF4NwZuFEQr+oDV/dsaevWPTlXTvKSjYUVl2I6vg6CJPnKaDBVRdDYCLP4n8LxRG
+N+lw/F62a4NBP0Bh+CYwo81Vc8Va41B3M3kZlsj4TX9xvn64s2Se+OeDDYbg9H/i
+48dfUcJJ+2U1rAGpbPK6fWT4Hv+7c54V5tZdx2pKZm4tDuXQ+S7P82Wnozpwqlx4
+v73MKBqJHn6/2H3hW+1cp3+bD1ksAJxVw4A2LAK2wk/eW3uNFIe2S5R7q9Sbm0tL
+nzZF9fGgjUGU+M20b3EBDckoEchdtqVPXykAU7e3vhzGDeHSIjUbnUXegvQPAgs/
+YwEGZqt1USnkIycH8w==
+=CCIg
+-----END PGP PUBLIC KEY BLOCK-----
diff --git a/debian/ure-java.bug-script.in b/debian/ure-java.bug-script.in
new file mode 100644
index 000000000..9c958858d
--- /dev/null
+++ b/debian/ure-java.bug-script.in
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+echo "" >&3
+echo "Java (javaldx):" >&3
+/usr/lib/libreoffice/program/javaldx >&3
+
+echo "" >&3
+echo "Java:" >&3
+#_lo_profile_ver=`echo @OOVER@ | cut -d. -f1`
+_lo_profile_ver=4
+RTL_OS=@RTL_OS@
+RTL_ARCH=@RTL_ARCH@
+if [ -d "$HOME/.config/libreoffice/$_lo_profile_ver" ]; then
+ grep -ri java $HOME/.config/libreoffice/$_lo_profile_ver/user/config/javasettings_${RTL_OS}_${RTL_ARCH}.xml >&3
+fi
+
diff --git a/debian/ure-java.lintian-overrides b/debian/ure-java.lintian-overrides
new file mode 100644
index 000000000..fb97b815b
--- /dev/null
+++ b/debian/ure-java.lintian-overrides
@@ -0,0 +1 @@
+ure-java: classpath-contains-relative-path ../ [usr/share/java/java_uno.jar]
diff --git a/debian/vars.alpha b/debian/vars.alpha
new file mode 100644
index 000000000..5f5c7fac7
--- /dev/null
+++ b/debian/vars.alpha
@@ -0,0 +1,3 @@
+PLATFORMID=linux_alpha
+RTL_ARCH=ALPHA
+RTL_OS=Linux
diff --git a/debian/vars.amd64 b/debian/vars.amd64
new file mode 100644
index 000000000..dca6cc02e
--- /dev/null
+++ b/debian/vars.amd64
@@ -0,0 +1,3 @@
+PLATFORMID=linux_x86_64
+RTL_ARCH=X86_64
+RTL_OS=Linux
diff --git a/debian/vars.arm b/debian/vars.arm
new file mode 100644
index 000000000..4e53e844a
--- /dev/null
+++ b/debian/vars.arm
@@ -0,0 +1,3 @@
+PLATFORMID=linux_arm_oabi
+RTL_ARCH=ARM_OABI
+RTL_OS=Linux
diff --git a/debian/vars.arm64 b/debian/vars.arm64
new file mode 100644
index 000000000..7c88f3820
--- /dev/null
+++ b/debian/vars.arm64
@@ -0,0 +1,3 @@
+PLATFORMID=linux_aarch64
+RTL_ARCH=AARCH64
+RTL_OS=Linux
diff --git a/debian/vars.armel b/debian/vars.armel
new file mode 100644
index 000000000..e4311a979
--- /dev/null
+++ b/debian/vars.armel
@@ -0,0 +1,3 @@
+PLATFORMID=linux_arm_eabi
+RTL_ARCH=ARM_EABI
+RTL_OS=Linux
diff --git a/debian/vars.armhf b/debian/vars.armhf
new file mode 100644
index 000000000..e4311a979
--- /dev/null
+++ b/debian/vars.armhf
@@ -0,0 +1,3 @@
+PLATFORMID=linux_arm_eabi
+RTL_ARCH=ARM_EABI
+RTL_OS=Linux
diff --git a/debian/vars.hppa b/debian/vars.hppa
new file mode 100644
index 000000000..b58289edd
--- /dev/null
+++ b/debian/vars.hppa
@@ -0,0 +1,3 @@
+PLATFORMID=linux_hppa
+RTL_ARCH=HPPA
+RTL_OS=Linux
diff --git a/debian/vars.i386 b/debian/vars.i386
new file mode 100644
index 000000000..956646c21
--- /dev/null
+++ b/debian/vars.i386
@@ -0,0 +1,3 @@
+PLATFORMID=linux_x86
+RTL_ARCH=x86
+RTL_OS=Linux
diff --git a/debian/vars.ia64 b/debian/vars.ia64
new file mode 100644
index 000000000..dd3d3b9df
--- /dev/null
+++ b/debian/vars.ia64
@@ -0,0 +1,3 @@
+PLATFORMID=linux_ia64
+RTL_ARCH=IA64
+RTL_OS=Linux
diff --git a/debian/vars.kfreebsd-amd64 b/debian/vars.kfreebsd-amd64
new file mode 100644
index 000000000..7b1c0468d
--- /dev/null
+++ b/debian/vars.kfreebsd-amd64
@@ -0,0 +1,3 @@
+PLATFORMID=kfreebsd_x86_64
+RTL_ARCH=X86_64
+RTL_OS=FreeBSD
diff --git a/debian/vars.kfreebsd-i386 b/debian/vars.kfreebsd-i386
new file mode 100644
index 000000000..5d1f45331
--- /dev/null
+++ b/debian/vars.kfreebsd-i386
@@ -0,0 +1,3 @@
+PLATFORMID=kfreebsd_x86
+RTL_ARCH=x86
+RTL_OS=FreeBSD
diff --git a/debian/vars.m68k b/debian/vars.m68k
new file mode 100644
index 000000000..fddb3f3df
--- /dev/null
+++ b/debian/vars.m68k
@@ -0,0 +1,3 @@
+PLATFORMID=linux_m68k
+RTL_ARCH=M68K
+RTL_OS=Linux
diff --git a/debian/vars.mips b/debian/vars.mips
new file mode 100644
index 000000000..fc2b0c0cd
--- /dev/null
+++ b/debian/vars.mips
@@ -0,0 +1,3 @@
+PLATFORMID=linux_mips_eb
+RTL_ARCH=MIPS_EB
+RTL_OS=Linux
diff --git a/debian/vars.mips64 b/debian/vars.mips64
new file mode 100644
index 000000000..a22a4ba78
--- /dev/null
+++ b/debian/vars.mips64
@@ -0,0 +1,3 @@
+PLATFORMID=linux_mips64_eb
+RTL_ARCH=MIPS64_EB
+RTL_OS=Linux
diff --git a/debian/vars.mips64el b/debian/vars.mips64el
new file mode 100644
index 000000000..bba65a5ed
--- /dev/null
+++ b/debian/vars.mips64el
@@ -0,0 +1,3 @@
+PLATFORMID=linux_mips64_el
+RTL_ARCH=MIPS64_EL
+RTL_OS=Linux
diff --git a/debian/vars.mipsel b/debian/vars.mipsel
new file mode 100644
index 000000000..874d5a1a8
--- /dev/null
+++ b/debian/vars.mipsel
@@ -0,0 +1,3 @@
+PLATFORMID=linux_mips_el
+RTL_ARCH=MIPS_EL
+RTL_OS=Linux
diff --git a/debian/vars.powerpc b/debian/vars.powerpc
new file mode 100644
index 000000000..4afdc2111
--- /dev/null
+++ b/debian/vars.powerpc
@@ -0,0 +1,3 @@
+PLATFORMID=linux_powerpc
+RTL_ARCH=PowerPC
+RTL_OS=Linux
diff --git a/debian/vars.powerpcspe b/debian/vars.powerpcspe
new file mode 100644
index 000000000..4afdc2111
--- /dev/null
+++ b/debian/vars.powerpcspe
@@ -0,0 +1,3 @@
+PLATFORMID=linux_powerpc
+RTL_ARCH=PowerPC
+RTL_OS=Linux
diff --git a/debian/vars.ppc64 b/debian/vars.ppc64
new file mode 100644
index 000000000..265c516d8
--- /dev/null
+++ b/debian/vars.ppc64
@@ -0,0 +1,3 @@
+PLATFORMID=linux_powerpc64
+RTL_ARCH=PowerPC_64
+RTL_OS=Linux
diff --git a/debian/vars.ppc64el b/debian/vars.ppc64el
new file mode 100644
index 000000000..27498f571
--- /dev/null
+++ b/debian/vars.ppc64el
@@ -0,0 +1,3 @@
+PLATFORMID=linux_powerpc64_le
+RTL_ARCH=PowerPC_64_LE
+RTL_OS=Linux
diff --git a/debian/vars.s390 b/debian/vars.s390
new file mode 100644
index 000000000..d89a2b778
--- /dev/null
+++ b/debian/vars.s390
@@ -0,0 +1,3 @@
+PLATFORMID=linux_s390
+RTL_ARCH=S390
+RTL_OS=Linux
diff --git a/debian/vars.s390x b/debian/vars.s390x
new file mode 100644
index 000000000..1908ff537
--- /dev/null
+++ b/debian/vars.s390x
@@ -0,0 +1,3 @@
+PLATFORMID=linux_s390x
+RTL_ARCH=S390x
+RTL_OS=Linux
diff --git a/debian/vars.solaris-i386 b/debian/vars.solaris-i386
new file mode 100644
index 000000000..3b684bc52
--- /dev/null
+++ b/debian/vars.solaris-i386
@@ -0,0 +1,3 @@
+PLATFORMID=solaris_x86
+RTL_ARCH=x86
+RTL_OS=Solaris
diff --git a/debian/vars.sparc b/debian/vars.sparc
new file mode 100644
index 000000000..8a9557aef
--- /dev/null
+++ b/debian/vars.sparc
@@ -0,0 +1,3 @@
+PLATFORMID=linux_sparc
+RTL_ARCH=SPARC
+RTL_OS=Linux
diff --git a/debian/vars.sparc64 b/debian/vars.sparc64
new file mode 100644
index 000000000..876b65ec0
--- /dev/null
+++ b/debian/vars.sparc64
@@ -0,0 +1,3 @@
+PLATFORMID=linux_sparc64
+RTL_ARCH=SPARC64
+RTL_OS=Linux
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 000000000..207383f3f
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,40 @@
+version=4
+
+# only releases (and the final rc before the release. The last rc simply get renamed
+# so e.g. 6.4.3 final is 6.4.3 rc2 which is 6.4.3.2)
+# FIXME:
+# Unfortunately it seems that download.documentfoundation.org/libreoffice/src gets the rcs too. But
+# download.documentfoundation.org/stable((\d.\d.\d) doesn't work since we then get no tarball information
+# as that doesn't ship the source... And I fail getting parsing of www.libreoffice.org/download to work
+#opts="compression=xz,pgpsigurlmangle=s/$/.asc/,uversionmangle=s/(\d.\d.\d).(\d)/$1/" \
+# http://download.documentfoundation.org/@PACKAGE@/src/(\d.\d.\d)/@PACKAGE@-(\d.\d.\d).(\d).tar.xz debian
+#
+#opts="pgpsigurlmangle=s/$/.asc/,component=helpcontent2,uversionmangle=s/(\d.\d.\d).(\d)/$1/" \
+# http://download.documentfoundation.org/@PACKAGE@/src/(\d.\d.\d)/@PACKAGE@-help-(\d.\d.\d).(\d).tar.xz same
+#
+#opts="pgpsigurlmangle=s/$/.asc/,component=translations,uversionmangle=s/(\d.\d.\d).(\d)/$1/" \
+# http://download.documentfoundation.org/@PACKAGE@/src/(\d.\d.\d)/@PACKAGE@-translations-(\d.\d.\d).(\d).tar.xz same
+
+# FIXME: Combine those to one part?
+# Problem: 6.4.3.2 -> 6.4.3~rc2 (rc added manually)
+# 7.0.0.0.alpha1 -> 7.0.0~alpha1 (.0. stripped and following value taken as-is)
+
+# rcs (and the last rc which will become final, see above)
+opts="compression=xz,pgpsigurlmangle=s/$/.asc/,versionmangle=s/(\d.\d.\d).(\d)/$1~rc$2/" \
+ https://dev-builds.libreoffice.org/pre-releases/src/@PACKAGE@-(\d.\d.\d).(\d).tar.xz debian
+
+opts="pgpsigurlmangle=s/$/.asc/,component=helpcontent2,versionmangle=s/(\d.\d.\d).(\d)/$1~rc$2/" \
+ https://dev-builds.libreoffice.org/pre-releases/src/@PACKAGE@-help-(\d.\d.\d).(\d).tar.xz same
+
+opts="pgpsigurlmangle=s/$/.asc/,component=translations,versionmangle=s/(\d.\d.\d).(\d)/$1~rc$2/" \
+ https://dev-builds.libreoffice.org/pre-releases/src/@PACKAGE@-translations-(\d.\d.\d).(\d).tar.xz same
+
+# alpha, beta
+#opts="compression=xz,pgpsigurlmangle=s/$/.asc/,versionmangle=s/(\d.\d.\d).(alpha|beta).(\d)/$1~$2$3/" \
+# https://dev-builds.libreoffice.org/pre-releases/src/@PACKAGE@-(\d.\d.\d).0.(alpha|beta)(\d).tar.xz debian
+#
+#opts="pgpsigurlmangle=s/$/.asc/,versionmangle=s/(\d.\d.\d).(alpha|beta).(\d)/$1~$2$3/" \
+# https://dev-builds.libreoffice.org/pre-releases/src/@PACKAGE@-help-(\d.\d.\d).0.(alpha|beta)(\d).tar.xz same
+#
+#opts="pgpsigurlmangle=s/$/.asc/,versionmangle=s/(\d.\d.\d).(alpha|beta).(\d)/$1~$2$3/" \
+# https://dev-builds.libreoffice.org/pre-releases/src/@PACKAGE@-translations-(\d.\d.\d).0.(alpha|beta)(\d).tar.xz same
diff --git a/debian/xmerge-javadoc.in b/debian/xmerge-javadoc.in
new file mode 100644
index 000000000..50a29b8e0
--- /dev/null
+++ b/debian/xmerge-javadoc.in
@@ -0,0 +1,7 @@
+Document: xmerge-javadoc
+Title: LibreOffice XMerge API Javadoc
+Author: Oracle
+Section: Apps/Programming
+
+Format: HTML
+Index: /usr/share/doc/libreoffice-dev/docs/xmerge/index.html