Commit Graph

12510 Commits

Author SHA1 Message Date
Noel Grandin
980c859480 tdf#108642 load accessibility children faster
Reduces the cost of repeatedly iterating over the page objects, by
adding a new XAccessibleContext3 interface to return accesibility
children in one call.

This takes the load time from 5.6s to 3.2s.

Change-Id: Ifcc20fa7e7ab8ad50417073882c8c3a2405d1eaa
Reviewed-on: https://gerrit.libreoffice.org/83850
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2019-11-27 10:28:52 +01:00
Xisco Fauli
a96fd458a4 tdf#97926: Update @since tags
Since it was backported to libreoffice-6-4

Change-Id: I832c252678b132c743f868688abbe702eb1293b2
Reviewed-on: https://gerrit.libreoffice.org/83512
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
Tested-by: Jenkins
2019-11-23 08:50:41 +01:00
Miklos Vajna
6fafae4d10 editeng: add UNO API for semi-transparent text
Keep the type internally as sal_uInt8, to be used as an alpha channel.
Keep the type externally as sal_Int16, so it's consistent with the fill
area transparency.

Change-Id: I5138a6b73526f20a40f93df4cff4951e2b11bd6d
Reviewed-on: https://gerrit.libreoffice.org/83179
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2019-11-19 13:16:48 +01:00
Samuel Mehrbrodt
08f2b7b167 Deprecate KeyListener and XMouseListener
Change-Id: Icb7e363265aa2045d0d2a7fec8ef7cc2b6571416
Reviewed-on: https://gerrit.libreoffice.org/82432
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2019-11-19 10:19:42 +01:00
Samuel Mehrbrodt
9e3ba7c303 tdf#97926 Add UNO API for Infobar
This allows creating, updating and removing infobars from macros/extensions.

It also extends the infobar with a primary and a secondary text, so there can
be a bold summary at the beginning at the infobar with a longer text following
in normal letters.

Macro sample:
------------------------------------------------------------
Sub AddInfobar
	dim buttons(1) as new com.sun.star.beans.StringPair
	buttons(0).first = "Close doc"
	buttons(0).second = ".uno:CloseDoc"
	buttons(1).first = "Paste into doc"
	buttons(1).second = ".uno:Paste"
	ThisComponent.getCurrentController().appendInfobar("my", "Hello world", "Things happened. What now?", com.sun.star.frame.InfobarType.INFO, buttons, true)
End Sub

Sub UpdateInfobar
	ThisComponent.getCurrentController().updateInfobar("my", "WARNING","Do not read this message.", com.sun.star.frame.InfobarType.WARNING)
End Sub

Sub RemoveInfobar
	ThisComponent.getCurrentController().removeInfobar("my")
End Sub
------------------------------------------------------------

Change-Id: I5d0a223525845d23ffab17acdaa431e0eb783fec
Reviewed-on: https://gerrit.libreoffice.org/29816
Reviewed-by: Serge Krot (CIB) <Serge.Krot@cib.de>
Tested-by: Serge Krot (CIB) <Serge.Krot@cib.de>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2019-11-19 08:51:43 +01:00
Noel Grandin
efab55fee2 convert AccessibilityFlowTo to scoped enum
and drop the unused FORSPELLCHECKFLOWTO

Change-Id: I128e84d386c10d001aa63f93b4b6dcb7238a1242
Reviewed-on: https://gerrit.libreoffice.org/83060
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2019-11-18 11:15:48 +01:00
Tomaž Vajngerl
c1fb36e477 revert action button changes to UNO XStyleSetting
As there is no need for this UNO changes instead set the values
with other appropriate button settings so the previous behaviour
is retained.

Change-Id: I5952a9ce9f2f72faeb12a7a945c53ed048719b27
Reviewed-on: https://gerrit.libreoffice.org/82620
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2019-11-13 21:39:25 +01:00
Serge Krot
a474e2267c Add document level option to lock down edit doc command
Change-Id: I431fa4cd0daa52c885030dbadcc4052b5a890d34
Reviewed-on: https://gerrit.libreoffice.org/82553
Reviewed-by: Serge Krot (CIB) <Serge.Krot@cib.de>
Tested-by: Serge Krot (CIB) <Serge.Krot@cib.de>
Reviewed-on: https://gerrit.libreoffice.org/82576
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2019-11-13 12:45:39 +01:00
Julien Nabet
0aa3e4f7cc Fix @param in XShapes3.idl
Change-Id: I45467cc3edb6adcd3684baf0862407b5096ed6cd
Reviewed-on: https://gerrit.libreoffice.org/82391
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2019-11-10 16:46:11 +01:00
Ashod Nakashian
8a425fbd9c custom widgets: support custom action button text colors
Change-Id: I314183a1d6434c043183a600740c786e22a67503
Reviewed-on: https://gerrit.libreoffice.org/82276
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2019-11-09 17:35:21 +01:00
Samuel Mehrbrodt
8f877e3374 Add link to FilterName list
Change-Id: Ied60127d12556ca49859bb93fcb067081450bb2f
Reviewed-on: https://gerrit.libreoffice.org/81741
Reviewed-by: Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2019-10-30 15:17:35 +01:00
Katarina Behrens
a8b1699ca9 speed-up shape import if shapes need z-order rearranging
setting z-order individually on each shape and broadcasting is
O(n^2) (remaining shapes also need reordering) and this is bad
bad bad for performance

Change-Id: Ic9c9137a097f6ff524192693910f221885f77cc4
Reviewed-on: https://gerrit.libreoffice.org/75055
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
2019-10-25 16:27:04 +02:00
Samuel Mehrbrodt
e37b70442e Add document-level option to lock down save
Change-Id: I40b5e8c780894645e467e3891062c499707d69c7
Reviewed-on: https://gerrit.libreoffice.org/81359
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2019-10-23 15:22:16 +02:00
Samuel Mehrbrodt
d5d96e04ad Add document-level option to lock down printing
Change-Id: I85694021d74be79293079d04d5ba1d9b48cfa557
Reviewed-on: https://gerrit.libreoffice.org/81340
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2019-10-23 15:21:24 +02:00
Samuel Mehrbrodt
ec0a3db0cb Add document-level option to lock down file export
Setting this option will disable any export command
(File->Export*, File->Send*, graphic/chart export context menu,
save as, mailmerge wizard, ...)

Change-Id: I07a2a3b9179b494ac839e7d1e407194600679aa1
Reviewed-on: https://gerrit.libreoffice.org/81316
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2019-10-23 12:17:00 +02:00
Caolán McNamara
5cb4f1e757 document contemporary uselessness of getTargetColorDepth
Change-Id: I60ab61df29445681a8ddc3a1b2005e7c43f70d3c
Reviewed-on: https://gerrit.libreoffice.org/81322
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2019-10-22 17:11:52 +02:00
Samuel Mehrbrodt
075f20a4b6 Add document-level option to lock down content extraction
Setting this option will prevent copying/dragging any content from LO
to another program or even another LO window.

Change-Id: Ifbc032a4fa69ac1a17d4b500f5a30f5399d84ed7
Reviewed-on: https://gerrit.libreoffice.org/80586
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2019-10-14 08:15:31 +02:00
Tomoyuki Kubota
bd776896c2 doxygen warns on missing annotations for the parameters
Change-Id: I3008c622179a417b9ab2076b2284be5ff296448e
Reviewed-on: https://gerrit.libreoffice.org/79467
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2019-09-24 21:45:26 +02:00
Miklos Vajna
ab825c665c Related: tdf#124600 sw anchored object allow overlap: add UNO API
And fix the pool item's operator==() that forgot to take allow-overlap
into account.

Change-Id: I34ec29eed95d821cfccebbb15675e0f576b6454d
Reviewed-on: https://gerrit.libreoffice.org/79115
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2019-09-19 13:41:50 +02:00
Andrea Gelmini
4cf9bb1094 Fix missing verb
Change-Id: I41084a1858e9ea1d22f51a5ca640efa6ec963e42
Reviewed-on: https://gerrit.libreoffice.org/78835
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2019-09-15 08:57:21 +02:00
Ilhan Yesil
260caebf8a tdf#45789 [API CHANGE] Automatic row height in reports
The controls have now an AutoGrow flag which is saved as
style:min-row-height instead of style:row-height on
style:table-row-properties in content.xml.
In this case the table row height will be allowed to grow to accommodate
the content.

Note: in the conceptual model of reportdesigner this is a per-control
property but in the current implementation, it is a per-row property in
the ODF file. Thus, as soon as one control in the row has the AutoGrow
property set, they all do.

Change-Id: I95c25599e06af0f2f12e72a7cfc0881206f02039
Reviewed-on: https://gerrit.libreoffice.org/53977
Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu>
Tested-by: Jenkins
2019-09-13 10:45:01 +02:00
Andrea Gelmini
157420e496 Typos
Mainly fixing '..' and '....'

Change-Id: Ied226ed148c571d278ae65b3f468bd329f557fa9
Reviewed-on: https://gerrit.libreoffice.org/78669
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2019-09-11 23:43:34 +02:00
Andrea Gelmini
f0413ff4ea Fix typos
Change-Id: I49ac790b4f1b09f5041ec95b8cdf0d6323d036d9
Reviewed-on: https://gerrit.libreoffice.org/78796
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
2019-09-10 15:04:49 +02:00
Andrea Gelmini
2e1e0852ee Fix typos
Change-Id: I86f744d5b0d5d8d56c40db2ff17fefbfa3cb4907
Reviewed-on: https://gerrit.libreoffice.org/78800
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2019-09-10 14:18:59 +02:00
Caolán McNamara
f27ce3b2f6 fix documentation
Change-Id: Ie9ca255d98202387bc7781f90570cf6220af2a50
2019-09-09 17:28:11 +01:00
Michael Stahl
e04b6f3c0c offapi: add 2 undocumented ParagraphProperties from CWS sw301bf04
These exist since OOo 3.0.1 but were never documented; at least the
ListLabelString looks generally useful.

Append them instead of inserting them before OutlineLevel because the
compare tool complains about the changed order.

Change-Id: Ie70272913de3cc6df34295e68235651f0fa0f7e4
Reviewed-on: https://gerrit.libreoffice.org/78555
Tested-by: Jenkins
Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
2019-09-03 17:00:10 +02:00
Andrea Gelmini
eced5a20b5 Fix typos
Change-Id: I7eacff7dd5bf1e8ae70d2bca0bc852b8a45eeeec
Reviewed-on: https://gerrit.libreoffice.org/78428
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2019-09-03 10:29:41 +02:00
Tim Bartlett
0fbcac4caa tdf#55436 - Add SYMBOL_CHICAGO numbering scheme (for footnotes)
Includes adding SYMBOL_CHICAGO translations to .docx import/export filters

Change-Id: I5212739d7d04ab400a3d2aa549cb7cfd8531a4b8
Reviewed-on: https://gerrit.libreoffice.org/78114
Tested-by: Jenkins
Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
2019-09-02 12:56:05 +02:00
Andrea Gelmini
ee8f0a1066 Fix '..'
To complete this:
https://gerrit.libreoffice.org/#/c/78312/

This is a massive replace for
".." instead of "..." between words.

It passed "make check" on Linux.

Change-Id: I144d8061fca9f545c762941551e59dffdd3650e8
Reviewed-on: https://gerrit.libreoffice.org/78357
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
2019-09-01 12:29:39 +02:00
Andrea Gelmini
0940229305 Fix '..'
To complete this:
https://gerrit.libreoffice.org/#/c/78312/

This is a massive replace for lines ending with
".." instead of "..."

It passed "make check" on Linux.

Change-Id: I07fa7b2e30ba9ea17a1f9a5e21c57216ba958efe
Reviewed-on: https://gerrit.libreoffice.org/78356
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
2019-09-01 11:15:11 +02:00
Caolán McNamara
0e944350e9 [API CHANGE] remove MacroMigrationWizard
https://wiki.openoffice.org/wiki/Macros_in_Database_Documents

Prior to OpenOffice 3 (2008) base didn't support macros, but
subdocuments might have had macros. since OOo3 base supported macros
and subdocuments not, and a migration wizard is available to update
pre OOo3 documents to the new scheme.

Here I presume whatever is going to get migrated has been migrated
at this point and drop the migration wizard

This undoes the addition of the idl for
sdb::application::MacroMigrationWizard of

commit 5b982b6936
Date:   Mon Mar 11 17:51:56 2013 +0200

so flag as an api change, though not to anything published

Change-Id: I37271752234dda4e7e8f033e0136825fd356439b
Reviewed-on: https://gerrit.libreoffice.org/78326
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2019-08-31 15:07:47 +02:00
Stephan Bergmann
f8dea0b01f fix link
Change-Id: I42ff874b5fc68e7fb750b47be3b7b8a9d76e59fc
Reviewed-on: https://gerrit.libreoffice.org/78016
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2019-08-23 17:30:44 +02:00
Noel Grandin
ec940941e0 tdf#119388 add new UNO listener/broadcaster
so that we only need to fire each event to the exact shape that wants
it, instead of spamming all the shapes.
Takes deleting a column from 20s to 10s for me.

Note that none of the broadcasters are calling disposing(EventObject),
so I did not make XShapeEventListener extend lang::XEventListener.
If a memory leak regression points at this commit, possibly I
missed something.

Change-Id: I2b8db08247d3e0203d41faf77491368168994e4d
Reviewed-on: https://gerrit.libreoffice.org/77857
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2019-08-23 15:11:27 +02:00
Samuel Mehrbrodt
f0d757bfc7 Add missing "See also"
Change-Id: If226fcb97cd67ad2239f55f4138703d712b70a08
Reviewed-on: https://gerrit.libreoffice.org/77991
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2019-08-23 11:15:57 +02:00
Stephan Bergmann
20c6d7f6e6 Update the reference rdbs to libreoffice-6.3.0.4
LD_LIBRARY_PATH=.../master/instdir/program \
 .../master/workdir/LinkTarget/Executable/unoidl-read --published \
 .../libreoffice-6.3.0.4/instdir/program/types.rdb \
 >.../master/udkapi/type_reference/udkapi.idl

* no changes

LD_LIBRARY_PATH=.../master/instdir/program \
 .../master/workdir/LinkTarget/Executable/unoidl-read --published \
 .../libreoffice-6.3.0.4/instdir/program/types.rdb \
 .../libreoffice-6.3.0.4/instdir/program/types/offapi.rdb \
 >.../master/offapi/type_reference/offapi.idl

Change-Id: Ifb44c536c87c711e46c5881fe0918a0c4c6e472b
Reviewed-on: https://gerrit.libreoffice.org/77784
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2019-08-20 11:59:48 +02:00
Andrea Gelmini
b6fd78a9fa Fix typos
Change-Id: Ic987eeb9d99f64611a981282ec5691e4d1cb023d
Reviewed-on: https://gerrit.libreoffice.org/77759
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2019-08-20 09:10:12 +02:00
Andrea Gelmini
c31fa068ad Fix typos
Change-Id: I2bee2a13b639bfb1c69b773f832a1374619670a9
Reviewed-on: https://gerrit.libreoffice.org/77630
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2019-08-19 18:43:59 +02:00
Andrea Gelmini
6da1333421 Fix grammar
Change-Id: I4962f5c4ed211a38da3e3958e8b9bb68666bcf6f
Reviewed-on: https://gerrit.libreoffice.org/77629
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2019-08-19 18:42:32 +02:00
Andrea Gelmini
5c35913309 Fix typos
Change-Id: I0b5182a3cec87ee44b7467d6e8e3d1c21ce93ac2
Reviewed-on: https://gerrit.libreoffice.org/77680
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2019-08-19 09:43:14 +02:00
Andrea Gelmini
46b720b1d8 Fix typos
Change-Id: Ida64346bc11053bf43fd1208914407b3b2f1338e
Reviewed-on: https://gerrit.libreoffice.org/77681
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2019-08-19 09:39:47 +02:00
Andrea Gelmini
3681229b12 Fix typos
Change-Id: I5d0776d5f90f44ebbeeb5916cbbf6e87406adcad
Reviewed-on: https://gerrit.libreoffice.org/77609
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2019-08-16 22:21:07 +02:00
Andrea Gelmini
0650ffefe0 Fix typos
Change-Id: Ia8335622cb2e2b44f2b1ee36f7370b126d1ae642
Reviewed-on: https://gerrit.libreoffice.org/77610
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2019-08-16 22:19:01 +02:00
Samuel Mehrbrodt
61a60e545e Fix typos and formatting
Change-Id: I24f2b7138ef1efb9c981e24804819ad2779b1b4b
Reviewed-on: https://gerrit.libreoffice.org/77567
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2019-08-16 12:51:52 +02:00
Shubham Goyal
65913c1f00 Fix Typo
Change-Id: If856486627808834856d69d50244692dc8ac5879
Reviewed-on: https://gerrit.libreoffice.org/77182
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2019-08-14 09:39:47 +02:00
Andrea Gelmini
f101853c7d Fix typos
Change-Id: I25b9cd7a929372a9805b5b539ae4471db62b6434
Reviewed-on: https://gerrit.libreoffice.org/77313
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2019-08-13 09:01:33 +02:00
Andrea Gelmini
f2fef52bb9 Fix typos
Change-Id: I7ffc5420ffdfa33d267b7463c8d66c53903b9425
Reviewed-on: https://gerrit.libreoffice.org/77311
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2019-08-12 16:21:48 +02:00
Andrea Gelmini
d9b54924fb Fix typos
Change-Id: I30132e6fa24daebd6726b6bd72be57cb5b69af21
Reviewed-on: https://gerrit.libreoffice.org/77308
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2019-08-12 16:13:21 +02:00
Andrea Gelmini
a684613daf Fix typos
Change-Id: I4c0a804e5672bc1c02988d6a07a1da18fde88779
Reviewed-on: https://gerrit.libreoffice.org/77315
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2019-08-12 15:12:30 +02:00
Andrea Gelmini
ba17fe467d Fix typos
Change-Id: I62b669b85e2380df2a6efa05764f21405e7eb2ae
Reviewed-on: https://gerrit.libreoffice.org/77318
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2019-08-12 15:06:09 +02:00
Andrea Gelmini
22ad284969 Fix typos
Change-Id: Ic981076f76c92fb3112932bb7b5d97d6ec3d3c67
Reviewed-on: https://gerrit.libreoffice.org/77307
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2019-08-12 11:52:48 +02:00