Commit Graph
12605 Commits
Author SHA1 Message Date
dante 78552cb9b1 Preparations for customized xml entities on export
Change-Id: I8ad4af7e27ae5f8908f4c932242cb96abbf3de90
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108354
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-12-27 08:29:27 +01:00
dante 9f6dfd50cb Improve handle of custom XML entities
Since 7.1 hasn't been released yet there's still time to change it before having to be scared about backguards compatibility.
This way:
 - It is more efficient than passing two arguments
 - On definition it is simpler since both are declarated on same point.
   So it is simpler to not loose sync between lists.
 - Code is less long.
 - Thanks to an idea proposed by Stephan Bergmann on other commit.

Change-Id: I16305a304c98eb8d4e11507c7938002da546778b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108028
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-12-26 08:21:58 +01:00
Jim Raykowski c405bae468 tdf#138136 tdf#38093 add option to treat sub outline levels as content
Also included in this patch:

- Modifications to make all outline content visible during move
operations.

- Removal of code intended to redraw buttons when layout is changed that
seems not to work as intended.

- Function IsOutlineContentFolded changed to IsOutlineContentVisible

- Change of delay before button is shown to half of what it was.

Change-Id: I0dde555ccd0693ca382c1f15326edfdc2fc44a93
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107815
Tested-by: Jenkins
Reviewed-by: Jim Raykowski <raykowj@gmail.com>
2020-12-24 07:12:59 +01:00
Samuel Mehrbrodt 16976c4082 Move dot into its place
Appeared on a separate paragraph before.

Change-Id: I738f4874074996c96218bf60162bfa76c8c6cf8d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107465
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-12-09 14:38:45 +01:00
Stephan Bergmann 264b9ee8f2 Fix placement of @since tag
...following up on e3f8e1260a "Corrections on
xfasatparser IDL file."

Change-Id: I9f8ca5d38cc085256fe264ad6aedb5e15a80a213
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107052
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-12-02 13:01:37 +01:00
Mike Kaganski 70a7ed7fe8 We should mention product name here together with version, too
Change-Id: Ia0da1511c242bb4638c7853e043f96895a65fcbe
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107019
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Tested-by: Jenkins
2020-12-02 07:48:20 +01:00
dante e3f8e1260a Corrections on xfasatparser IDL file.
- Removed uneeded include
- Added @since tag

Change-Id: I8afd7b59afe6af3dc8cc0bd482c0017611671424
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/107035
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-12-02 06:39:50 +01:00
dante f28c8085d1 Preparing for mathml support of custom entity references.
This should be enough for the starmath mathml project.
It can be reused from other modules for doing custom stuff.
It keeps to minimum changes on generic modules.
My current abilities don't allow me to go much beyond this approach.

Change-Id: If7f157f8a71d6c3bff50fdbcd80bed23c92f40bb
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106804
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-11-29 19:53:20 +01:00
Samuel Mehrbrodt 2e2c162b7a Add 'SinglePrintJobs' to PrintOptions
So that this option can be set via UNO API

Change-Id: I0b69162661a4327d59aaed82d5eff98cb50d852c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106593
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-11-26 08:51:57 +01:00
Michael Stahl 7ab349296d sw: fix copying and deleting of section content via API
The problem happens if a section starts or ends with a table:

SwXTextSection::getAnchor() may return a SwXTextRange with one position
in a table cell and another position in a different table cell, or
outside the table, neither of which is valid to set the cursor via
SwXTextViewCurosor::gotoRange().

Introduce a new special mode for SwXTextRange, RANGE_IS_SECTION,
analogous to RANGE_IS_TABLE but actually working.

Only SwXTextView can be used to create XTransferables, and it requires
selecting first via either the SwXTextViewCursor or select().

It's currently not possible to select the content of a section in the
ViewShell in these problematic cases, and would be some effort to add.

So add a new interface XTransferableTextSupplier that can be used to
create XTransferable from the SwXTextRange with RANGE_IS_SECTION.

The core CopyRange() and DeleteRange() functions can deal with SwPaMs
that start or end in non-text-nodes, so pass the whole section content to
these in SwXTextRange::setString() and in
SwXTextView::getTransferableFromTextRange().

Change-Id: If7e3210e8a26f5618317c294f2b2f3ed5c217f1c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/106293
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@cib.de>
2020-11-24 12:09:23 +01:00
Andrea Gelmini cf3dc707fe Fix typos
Change-Id: I6ee795694959f1750a3c84421e632d00ad805b3c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104611
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-11-23 07:50:15 +01:00
Balazs Varga 4930749294 tdf#138204 Chart OOXML Import: doesn't show placeholder
for CELLRANGE data label field type. Add CELLRANGE to enum
com::sun::star::chart2::DataPointCustomLabelFieldType, like
we do at CELLREF, while both of them are not implemented, see
commit 790f9abeb1
(tdf#114821 import complex data labels in bar chart).

Regression from commit: 0d23409984
(tdf#136061 Chart ODF/OOXML: fix missing custom labels)

Change-Id: I8e0f4ca9db6e613a190cbda31504a7542fc13a86
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105934
Tested-by: László Németh <nemeth@numbertext.org>
Reviewed-by: László Németh <nemeth@numbertext.org>
2020-11-17 11:10:09 +01:00
Thorsten Behrens 941b5a0bb5 Permit scrollable AWT tab pages a la scrolled Dialog
UNO dialogs since LibreOffice 4.0 permitted setting HScroll /
VScroll properties to enable scrolling for too large a content.
Conceptually clone this code over to TabPage as well, and register
necessary UNO properties in the toolkit UNO wrappers.

Add missing API documentation also to UnoControlDialogModel,
plus the new properties to the UnoControlTabPageModel

Layout code really doesn't like any extra controls it didn't create
itself - so create scrollbars only on demand.

Change-Id: I67894597ac104320e67ad7989ebf9a7955d99103
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105573
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2020-11-12 08:41:22 +01:00
Noel 2b946d245e XmlFilterAdaptor: use the fastparser API when possible
part of the process of making SvXMLImport fastparser-only

Which uncovered several bugs because I end up stacking fast and
slow parsers, not once, but twice.

Specifically, we have a problem here with default namespaces e.g.

    <math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
    <semantics><mrow><mstyle mathsize="12pt">

where going from slow- to fast- parser loses this information,
because there is no way to represent this in the fastparser world,
so we end up with nastiness when we transition back to slow-parser,
and then back-again to fast-parser.

So I fixed a couple of places XMLEmbeddedObjectImportContext
and in SvXMLLegacyToFastDocHandler, and then worked around some of
it by introducing an new XImporter2 interface so I could strip out
out one of the slowparser -> fastparser transitions.

Change-Id: I491487b99271898da50dc999d3b9b9c39cbd97fd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104514
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-10-22 09:12:24 +02:00
Andrea Gelmini 269b8a086e Fix typos
Change-Id: Ia66e31a0ad71dde1a6c1caa911d6083e1fb9eb61
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104538
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
2020-10-21 20:37:07 +02:00
Noel Grandin 0fb58a1ff1 new tools::Degree10 strong typedef
partly to flush some use of "long" out the codebase,
but also to make it obvious which units are being used
for angle values.

Change-Id: I1dc22494ca42c4677a63f685d5903f2b89886dc2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104548
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-10-21 08:13:05 +02:00
Szabolcs TothandBalázs Regényi 1c593e1916 tdf#133045 sw: add shape alignment to the top page border
Allow relative alignment to the top page border (the area
over PAGE_PRINT_AREA) by adding constant PAGE_PRINT_AREA_TOP
to com::sun::star::text::RelOrientation.

Fix DOCX shape import of <wp:positionV relativeFrom="topMargin">.

Follow-up of commit 6788133b3b
(tdf#135720 sw: fix PAGE_PRINT_AREA_BOTTOM alignment with footer)
and commit 79107d3f8d
(sw from-bottom relative orientation: add UNO API).

Co-authored-by: Balázs Regényi

Change-Id: I3a3f7324c0ef8d448526982d3e2f09b67f5fd4d4
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104113
Tested-by: László Németh <nemeth@numbertext.org>
Reviewed-by: László Németh <nemeth@numbertext.org>
2020-10-20 09:17:32 +02:00
László Németh 1e383097aa tdf#34355 sw,offapi,officecfg: show track changes in margin
In ShowTrackedChanges mode, hide tracked deletions
in text optionally and show their shortened text
in margin next to the vertical "Changed line" mark
(showing only the first deletion of the line).

Add "Tracked deletions in margin" checkbox to Writer->View page.

Add "Display tracked changes" and "Outline View" sections to View, too.

Add property ShowChangesInMargin to com::sun::star::text::ViewSettings.

Add config setting:
    org/openoffice/Office/Writer/Content/Display/ShowChangesInMargin

Show more information in Manage Changes dialog window
about the tracked deletions with restricted visibility
in ShowChangesInMargin mode: show shortened text content
of a deletion in its (otherwise empty) Comment field.

Change-Id: I1d19a4bf8225f536a635c6dd5062344c51e03b79
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104350
Tested-by: László Németh <nemeth@numbertext.org>
Reviewed-by: László Németh <nemeth@numbertext.org>
2020-10-15 15:11:12 +02:00
Caolán McNamara 06e9c32d8b Revert "Permit scrollable AWT tab pages a la scrolled Dialog"
UITest_sort failing

https://gerrit.libreoffice.org/c/core/+/103942

Jenkins Verified-1 Patch Set 7: Verified-1
where UITest_sort failed
Jenkins Verified+1 Patch Set 7: Verified+1
but that's just an android build which doesn't run any tests

This reverts commit b3f2530aa2.

Change-Id: I9414e5d7cc5873848f95dab65f03836ccb2ff0c6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/104194
Tested-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-10-11 22:38:42 +02:00
Thorsten Behrens b3f2530aa2 Permit scrollable AWT tab pages a la scrolled Dialog
UNO dialogs since LibreOffice 4.0 permitted setting HScroll /
VScroll properties to enable scrolling for too large a content.
Conceptually clone this code over to TabPage as well, and register
necessary UNO properties in the toolkit UNO wrappers.

Add missing API documentation also to UnoControlDialogModel,
plus the new properties to the UnoControlTabPageModel

Change-Id: Iff90f60d0152ca21e4fe61c31315b9e1feab0dea
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103942
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2020-10-11 03:07:31 +02:00
Andrea Gelmini 5f2403148e Fix typo
Change-Id: I2c5ea93645161eb4acb7bbfba21fdf30462c2635
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103465
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Jenkins
2020-09-26 12:44:13 +02:00
Tomaž Vajngerl d0efd878dc fix Graphic duplication in import and add GraphicMapper
When importing writerfilter, we change to oox when
importing images. This transition doesn't store any
previous contexts and all instances are reset. The
problem occurs when we have identical images because
the transition erases all caches we have to determine
if an image has already been imported or not, which
causes that we import the same image multiple times
which create unnecessary copies.

This introduces the XGraphicMapper, which can be used
to store the XGraphic for a key and can be transferred
between writerfilter to oox. With this we can remember
which images were already imported and don't create
unnecessary internal copies which decreases memory.

This also includes a test which checks that the import
and export doesn't produce unnecessary copies of
identical images. The test checks that for OOXML, ODF
and MS Binary formats.

Change-Id: I33dc19218c565937fab77e132b3a996c51358b6e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103283
Tested-by: Jenkins
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-09-25 12:01:07 +02:00
Miklos Vajna 622cf1dcbe offapi: add missing @since tag for setSizeHint()
See
<https://gerrit.libreoffice.org/c/core/+/102996/4#message-618e5bb042a0214caa4492971f0a3cfc8441cfa1>
for motivation.

Change-Id: Id3074642064454b15dd56a504cf7e312b8ec7522
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103082
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2020-09-21 09:04:23 +02:00
Miklos Vajna 01024ee24c [API CHANGE] tdf#136836 emfio: set size hint on inner PDF if used as shape fill
The bugdoc has a shape, its bitmap fill is an EMF, which is actually a
PDF. The PDF is has a height of 5cm, but the shape has a height of 14
cm.

Inform vcl::RenderPDFBitmaps() about the size of the shape, so the
result won't be blurry. This approach makes sure that we don't
unconditionally render at higher resolution, i.e. the "load a PDF of 100
pages into Online" use-case won't use more memory than before.

API CHANGE, because the EMF reader is only available via UNO, though
it's likely that no actual external code would ever invoke it directly.

Change-Id: If1d8def0136d408a31a0cc54777a7f26430a0ff3
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102996
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
2020-09-18 21:24:38 +02:00
Julien Nabet e738683f98 Add "Persistent", deprecate "Persistant" in RenderingCapabilities
Change-Id: Ib86b715dcf3514d038519d0f495e3d98b9f01190
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102511
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Jenkins
2020-09-17 15:20:27 +02:00
Balazs Varga 0d23409984 tdf#136061 Chart ODF/OOXML: fix missing custom labels
by UNO extensions ShowCustomLabel in DataPointLabel.idl and
CUSTOM in ChartDataCaption.idl, fixing OOXML/ODF import/export.

We should display custom data label even if DataPointLabel is
disabled (e.g. category name and/or value fields are not displayed).

Note: import of the embedded chart of the DOCX unit test
document uses also ODF format in the background, testing
also the extension of the native file format.

Change-Id: I73e21f1e69fddec9f3b4163c46b6582cd1c74b5d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101640
Tested-by: Jenkins
Tested-by: László Németh <nemeth@numbertext.org>
Reviewed-by: László Németh <nemeth@numbertext.org>
2020-09-02 09:41:32 +02:00
Julien Nabet 6b08eaa0c4 Fix end "ul" tag in LayoutManager.idl (offapi)
Change-Id: Ice50c048b62fe35d1a9f5b11435cb75f3fa45042
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101701
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2020-08-31 15:27:31 +02:00
Andrea Gelmini e58ec8cecc Fix typo in code
It passed "make check" on Linux

Change-Id: I28c727895fdaf3660d3aceb03ddd50b36c80801e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101605
Tested-by: Jenkins
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2020-08-29 11:24:02 +02:00
Andrea Gelmini 081d3a1b67 Fix typos
Change-Id: I9385704bea54ff504457f7ac1ec39ed98cfdaf97
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101276
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2020-08-24 16:53:10 +02:00
Andrea Gelmini 93b36370da Fix typo
Change-Id: Iae8064759c5f3c705dc12bf93b4398cf0f98fef9
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101222
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2020-08-23 12:36:14 +02:00
Sarper Akdemir 394f74e6f1 add bounciness velocity and density options to physics animations
Adding new xml options to specify the starting velocity, bounciness,
and density of the rigid body that physics animation control.

Change-Id: Ifaba785e82c8ee17be00711a3e7a75257e7704ae
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101141
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2020-08-22 11:24:16 +02:00
Andrea Gelmini a33a8f2216 Fix typos
Change-Id: I8dc0cdcfe6bd90efc596df28e6c6d968b92618b5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/101098
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Jenkins
2020-08-21 18:18:36 +02:00
Sarper Akdemir e33486189d make physics based animation effects importable-exportable
Makes physics based animation effects importable and exportable
on content.xml. Uses one new xml token animatePhysics.

Also adds a new animation preset called Physics Basic that is
available under Emphasis animation effect category.

Change-Id: I38b0511f973668655cff78becebe3f1e628d9083
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100247
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2020-08-20 15:21:07 +02:00
Balazs Varga 5d67d70b26 tdf#134563 Add UNO API for custom leader lines
If its ShowCustomLeaderLines=true, data series uses leader
lines for labels with custom alignment.

Add also OOXML import/export of custom data series setting.

Change-Id: I8e6f7cb457c38b84aa40c917e69704862262a96e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98323
Tested-by: László Németh <nemeth@numbertext.org>
Reviewed-by: László Németh <nemeth@numbertext.org>
2020-08-18 19:01:21 +02:00
Stephan Bergmann dcff0c200f unoidl-read: Avoid redundant redeclarations
...of interfaces for which such a forward declaration has already been emitted.
Update the reference rdbs accordingly with

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

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

Change-Id: I7448ae44d479a8c622f6f534abe6087ce8a8ea32
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100896
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-08-18 11:36:26 +02:00
Stephan Bergmann 1e6dc8e4f7 Update the reference rdbs to libreoffice-7.0.0.3
LD_LIBRARY_PATH=/data/sbergman/lo-clang/core/instdir/program \
 /data/sbergman/lo-clang/core/workdir/LinkTarget/Executable/unoidl-read --published \
 /data/sbergman/lo-7.0/core/instdir/program/types.rdb \
 >/data/sbergman/lo-clang/core/udkapi/type_reference/udkapi.idl

* no changes

LD_LIBRARY_PATH=/data/sbergman/lo-clang/core/instdir/program \
 /data/sbergman/lo-clang/core/workdir/LinkTarget/Executable/unoidl-read --published \
 /data/sbergman/lo-7.0/core/instdir/program/types.rdb \
 /data/sbergman/lo-7.0/core/instdir/program/types/offapi.rdb \
 >/data/sbergman/lo-clang/core/offapi/type_reference/offapi.idl

* (XDcoumentHandler getting moved around now is a consequence of this being the
  first fully-automated generation of the file again after the manual
  modifications done by the preceding 214e6caf2c
  "[API CHANGE] remove BasicImport UNO interfaces" and
  ebb66ee09b "Fixed update of the reference rdbs
  to libreoffice-6.4.0.3-buildfix1".)

Change-Id: I841b6b5a059c78750fa7f02f9276c6b6f86c9afd
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100892
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-08-18 09:28:42 +02:00
Andrea Gelmini bda7556020 Fix typos
Change-Id: I02f05d87920a09f2cbb8a66caa2f76b7aad62a49
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100539
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2020-08-13 22:04:25 +02:00
Sarper Akdemir 47f3349434 add version tag to ANIMATEPHYSICS
Change-Id: Ia6db8ca10a0311ae8492cdc5ab518efaba611cb2
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100431
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Jenkins
2020-08-12 09:14:49 +02:00
Samuel Mehrbrodt 74012c48d9 LayoutManager: Document available properties
Change-Id: I1ce4a4d00383bf7ebe91482cd29828da778dc43d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100464
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-08-11 11:12:11 +02:00
Sarper Akdemir 28022cee39 make physics based animation effects part of the animation engine
Wiring up and creating required classes for physics based
animation effects to be part of the animation engine.

Creating a new animation node AnimationPhysicsNode
for physics based animation effects and PhysicsAnimation
class that inherits the NumberAnimation in the animation
factory.

Change-Id: I1f125df5324673e9937b8164c0fc267c9683afa0
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100151
Tested-by: Jenkins
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2020-08-09 23:44:00 +02:00
László Németh f4ca7ea131 tdf#135573 sw: add Székely rovás (Old Hungarian) numerals
Change-Id: Ic309fc9b07186ce0b86ca54028d62e0fafd104fc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99950
Tested-by: Jenkins
Reviewed-by: László Németh <nemeth@numbertext.org>
2020-08-09 12:37:13 +02:00
Jim Raykowski b2686de462 tdf#38093 Writer outline folding - feature sensitivity
Patch 1/6

  -Adds option 'Show outline visibility button' to options writer view
tab in Display section.
  -Adds UNO command '.uno:ShowOutlineContentVisibilityButton' to toggle
option on and off from menus, toolbars, and key bindings.
  -Makes feature experimental mode.

Change-Id: If5a57defd8f568736ea08625ab6eb08e30b15c03
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99652
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2020-07-30 12:03:36 +02:00
Thorsten Behrens abb6c01519 replace usage of whitelist with allowlist
Background and motivation:
  https://tools.ietf.org/html/draft-knodel-terminology-02

[API CHANGE] officecfg::Office::Common::Misc::OpenCLWhiteList -> OpenCLAllowList

Change-Id: I65636b19b13e4af1e4851f70e78053f3443d6bb1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98181
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2020-07-10 01:36:07 +02:00
Thorsten Behrens 493ae7a6bb replace usage of blacklist with denylist
.. and a few cases of instead doing blacklist->excludelist where that
made more sense.

Background and motivation:
  https://tools.ietf.org/html/draft-knodel-terminology-02

[API CHANGE] officecfg::Office::Canvas::DeviceBlacklist -> DeviceDenylist
[API CHANGE] officecfg::Office::Canvas::BlacklistCurrentDevice -> DenylistCurrentDevice
[API CHANGE] officecfg::Office::Common::Misc::OpenCLBlackList -> OpenCLDenyList

Change-Id: Ia35e25496bf0cc0692d5de4cb66bfc232d3a869e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98180
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2020-07-10 01:34:54 +02:00
Samuel Mehrbrodt cb21c44b01 Docs: Add missing property
Change-Id: I1f4a0602f23cba86adbf627b0881ae5034db0af8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98188
Tested-by: Jenkins
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2020-07-09 11:06:37 +02:00
Andrea Gelmini e8ede68fbe Fix typo
Change-Id: I7c3e2c4c129c5ff7e3c8e5f3ac94e57508ce39ea
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97891
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2020-07-07 21:17:46 +02:00
Jan-Marek Glogowski b1d0d0cf86 [API CHANGE] Move NSS profile handling into NSS service
While developing the patchset for tdf#127909, I broke the
certificate path dialog, because I wasn't aware, that the
NSSInitializer service has to use the same logic to auto-
select the users profile, then the dialog. So currently you
have to keep the complex service and dialog auto-select
logic in sync.

To prevent this error, this moves all the profile auto-selection
and enumeration into the NSSInitializer service. What I also
stumbled over is the particular lifecycle of the NSS library
initialization in the NSS service. This is just done, when the
first user calls some crypto function. As a result it's actually
possible to change the path setting without restarting
LibreOffice. But since the NSS deninitialization is run as an
atexit handler, this setting can't be changed after the init.

What is currently missing is any indication inside the dialog of
the currently active NSS setting in comparison to any later user
selection, if the user doesn't restart LibreOffice as requested.

Change-Id: I886962777958c363abeb0ec91fc8a35cbd39eb98
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97668
Tested-by: Jenkins
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2020-07-03 17:13:12 +02:00
Stephan Bergmann a6862a26d6 tdf#134106: Get rid of XDesktopInternal again
For internal functionality that is not meant to be called by client code, I
think it is appropriate to hide it either via XUnoTunnel (but which would have
been a tad incovenient, as it would have meant to make framework::Desktop in
framework/inc/services/desktop.hxx available to the code in
desktop/source/app/app.cxx), or via reuse of some existing, sufficently fitting
interface (as is done here with css.task.XJob).  This nicely avoids the
backwards compatibilty issue with remote Python scripts, as discussed in
tdf#134106 "Binary URP bridge disposed during call to
ServiceManager.createInstanceWithContext".

Change-Id: Ic9db9401ddf0f6b696344dd1d5c6ad279ea5a832
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/97241
Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Jenkins
2020-06-26 18:52:36 +02:00
A_GAN 68095e63a8 OOXML support for shadow blur
Add a new property for the blur radius and define an ID
for it to support the import of OOX files. Add a test for
importing the blur radius from PPTX file

Change-Id: Iffaa33ff7159019ce9478cee558622bd61bcf60e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95090
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2020-06-02 23:29:30 +02:00
László Németh 2d6395b872 bump to libnumbertext 1.0.6
Fixes in various languages, also word transliteration
support in Old Hungarian (renamed to hu_Hung.sor).

Change-Id: I2eed60142273b8c353304a5b714f4e4bde5af1b7
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/95302
Tested-by: László Németh <nemeth@numbertext.org>
Reviewed-by: László Németh <nemeth@numbertext.org>
2020-06-02 18:39:22 +02:00