summaryrefslogtreecommitdiff
path: root/extensions/README.md
blob: cc32c1f825cb81489a1f12454272acff652c0914 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# Miscellaneous Modules

This module contains a grab-bag of unrelated miscellaneous libraries, *none* of
which is an extension.

## Application Online Update Checking

When we start LO, first `InitUpdateCheckJobThread` is created, via
`UpdateCheckJob::execute()` (from `extensions/source/update/check/updatecheckjob.cxx`),
as a reaction to a `onFirstVisibleTask` event. It waits 25 seconds (so that it
does not interfere with the startup itself), and then calls
`UpdateCheck::initialize()` (from `extensions/source/update/check/updatecheck.cxx`).

This creates one more thread, `UpdateCheckThread`, that regularly checks whether
we have reached the time when we should ask for the update.  If yes, asks for
that, and shows the download button in the menu (if the new update is
available).

The update server will decide if there is an update available based on the user-agent
string created by UpdateInformationProvider::getUserAgent, the data used there is
extracted from instdir/program/versionrc and the update server takes the buildid into
account, so to experiment with the updates from a dev version getUserAgent needs
to return a recognized id.

## OLE Automation Bridge

A bridge between "OLE automation" and UNO, so you can use UNO services
from JScript, VBScript, etc.

<https://www.openoffice.org/udk/common/man/spec/ole_bridge.html>

See `udkapi/com/sun/star/bridge/oleautomation/ApplicationRegistration.idl`

This is initialized in `Desktop::Main()` in `Desktop::OpenClients_Impl()`
by creating the service `com.sun.star.bridge.OleApplicationRegistration`,
which is implemented by `OleServer_Impl`.

See `extensions/source/ole/`

## ActiveX Control

This allows embedding LO into a Win32 application as an ActiveX control.

See `extensions/source/activex/`

## Spotlight Provider

On macOS, this allows indexing ODF documents with Spotlight.

See `extensions/source/macosx/spotlight/`

## Scanner Support

You can scan from LibreOffice, using platform specific backends like TWAIN/SANE.

See `extensions/source/scanner/`

ght'> Revert "osl::Mutex->std::mutex in SwAccessibleMap" This reverts commit 2442fc19400e0e82b0375d3772a2e0b34a511600. We have a recursive call stack that does not look easy to fix #7 0x00007fffc2214c18 in std::unique_lock<std::mutex>::unique_lock(std::mutex&) (this=0x7fffffff1c28, __m=...) at /usr/lib/gcc/x86_64-linux-gnu/12/../../../../include/c++/12/bits/unique_lock.h:69 #8 0x00007fffc22b6c06 in SwAccessibleMap::AppendEvent(SwAccessibleEvent_Impl const&) (this=0x55555b7e3aa0, rEvent=...) at sw/source/core/access/accmap.cxx:980 #9 0x00007fffc22b7f8c in SwAccessibleMap::InvalidateCursorPosition(com::sun::star::uno::Reference<com::sun::star::accessibility::XAccessible> const&) (this=0x55555b7e3aa0, rAcc=uno::Reference to (SwAccessibleParagraph *) 0x55555b7cff00) at sw/source/core/access/accmap.cxx:1117 #10 0x00007fffc22bd595 in SwAccessibleMap::GetContext(SwFrame const*, bool) (this=0x55555b7e3aa0, pFrame=0x55555b6e68a0, bCreate=true) at sw/source/core/access/accmap.cxx:1924 #11 0x00007fffc22bd83f in SwAccessibleMap::GetContextImpl(SwFrame const*, bool) (this=0x55555b7e3aa0, pFrame=0x55555b6e68a0, bCreate=true) at sw/source/core/access/accmap.cxx:1935 #12 0x00007fffc228c8e8 in SwAccessibleContext::InvalidateChildPosOrSize(sw::access::SwAccessibleChild const&, SwRect const&) (this=0x55555b7e0630, rChildFrameOrObj=..., rOldFrame=SwRect = {...}) at sw/source/core/access/acccontext.cxx:1227 #13 0x00007fffc22b5540 in SwAccessibleMap::FireEvent(SwAccessibleEvent_Impl const&) (this=0x55555b7e3aa0, rEvent=...) at sw/source/core/access/accmap.cxx:936 #14 0x00007fffc22b8216 in SwAccessibleMap::FireEvents() (this=0x55555b7e3aa0) at sw/source/core/access/accmap.cxx:3019 Change-Id: If058cecf7bc7503d0767526c07c0ca2840b3638a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147314 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> 2023-02-17osl::Mutex->std::mutex in SwAccessibleMapNoel Grandin Change-Id: If7499b3fb165c904d32c9404161a7cdb2e29e5d3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147187 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> 2022-02-18sw a11y: Make these SwAccessibleMap members privateMichael Weghorn And drop the 'SET_PARA' typedef which was no longer referring to a set by now anyway. Change-Id: I303b335cd3276562ed02e668a912895f78dc506c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130140 Tested-by: Jenkins Reviewed-by: Michael Weghorn <m.weghorn@posteo.de> 2021-12-21Typo: "seleted" instead of "selected"Julien Nabet Except "getSeletedPositionStart" and "getSeletedPositionEnd" defined in offapi/com/sun/star/accessibility/XAccessibleTextSelection.idl since e5618f1707626a8c096ea2ca8da3cbe2c5f3db16 author Steve Yin <steve_y@apache.org> 2013-11-16 23:58:19 +0100 committer Michael Meeks <michael.meeks@collabora.com> 2013-11-19 10:02:25 +0000 commit e5618f1707626a8c096ea2ca8da3cbe2c5f3db16 (patch) tree de014d37b3de5a7ab505a86a6e6ce46ade4bdc1f parent 1263b20f56d896706c982ad1b91d2936abf5d617 (diff) Integrate branch of IAccessible2 Change-Id: I814923003bb247c4ef66f296ac4033bae9073988 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/127227 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr> 2021-05-26CoreToPixel should take a SwRect argumentNoel Grandin Change-Id: Idbed2a8fc6b4bc289c3bb0e761931f0b3d672620 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116121 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> 2021-01-02SwFrame: Modify no moreBjoern Michaelsen Change-Id: I8e2c89f2c897535013d64720b6c2c5bbac602b14 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108551 Tested-by: Jenkins Reviewed-by: Bjoern Michaelsen <bjoern.michaelsen@libreoffice.org> 2020-10-20use tools::Long in swNoel Change-Id: I44be72b3a9b14823ec37a3c799cffb4fb4d6e1de Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104527 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> 2020-05-09compact namespace in swNoel Grandin Change-Id: Ie2c3e3f95a687b12b89bcfc5cad44fb7a1d4568f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/93862 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> 2020-03-13Revert "loplugin:constfields in sw"Noel Grandin This reverts commit 4969f4c0d3e2581aaa8a5b5a5769840fa6b6f8ea. Change-Id: I527e9366b05e8a20633720e334395b285991c524 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/90473 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> 2020-02-02std::set->o3tl::sorted_vector in SwAccessibleMapNoel Grandin Change-Id: Ic05a160e91a435a540c95c23c9759f667376d61a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/87822 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> 2019-11-20loplugin:unusedmethodsNoel Grandin Remove a filtering step in the python script that was hiding some results Change-Id: Id94268f150902405ab197c077f18aaedf98845fc Reviewed-on: https://gerrit.libreoffice.org/83256 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> 2019-11-04loplugin:finalclasses in sw/incNoel Grandin Change-Id: I084502d8c5607f103ef987b54252ef95341f0bef Reviewed-on: https://gerrit.libreoffice.org/81981 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>