Commit Graph
12327 Commits
Author SHA1 Message Date
Michael Meeks 25e4b59b2e First cut at annotating 'exotic' filters.
The idea being that we can improve security by warning for these.

Change-Id: I7d993417bfb6a8fe868bc3e07ccbcfe71bf285ff
Reviewed-on: https://gerrit.libreoffice.org/50387
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Andras Timar <andras.timar@collabora.com>
2018-03-16 21:33:50 +01:00
Tomaž Vajngerl 90cb743a69 add comments to XGraphicStorageHandler.idl
Change-Id: Ib24d9c434f1f19fe7bca51235f6c6125d5c97a7c
Reviewed-on: https://gerrit.libreoffice.org/51305
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2018-03-15 02:44:12 +01:00
Mohammed Abdul Azeem bf46b46a1d Moving XSAXDocumentBuilder2 to use XFastDocumentHandler:
This is used in parsing of meta Contexts across different
modules. This also involved moving to XFastParser for
parsing xml filters in sw, sd, starmath.

Change-Id: Ic663aaac6cb20ee8ce5b97cae87c93220f5a2929
Reviewed-on: https://gerrit.libreoffice.org/42989
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Tested-by: Jenkins <ci@libreoffice.org>
2018-03-14 14:12:08 +01:00
Suhail Alkowaileet 9aa70e2d0b tdf#114622 Add Numbering in Arabic-Indic numerals
Fix all comments

Change-Id: Ib11662de5cac3b073114ab4425e8f45a0c04c8c8
Reviewed-on: https://gerrit.libreoffice.org/47058
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
2018-03-13 00:30:50 +01:00
Eike Rathke 71bf07922b Clarify that IGNORE_DIACRITICS_CTL is not only CTL, despite its name
Change-Id: I5954094131debb7cdf0fc44a9db3a3609b356baf
2018-03-07 21:29:59 +01:00
Stephan Bergmann 5ad62544bc tdf#116171: Tunnel arbitrary rtl_TextEncoding from sc to sdbc:dbase connection
...including those that have no corresponding textual IANA character set name
representation, like RTL_TEXTENCODING_MS_950 which is apparently used in some
DBase files.

In the past, if eCharSet was RTL_TEXTENCODING_DONTKNOW in lcl_getDBaseConnection
it was sent as an empty string CharSet property, which the receiving
OConnection::construct translated back to

  else
      m_nTextEncoding = RTL_TEXTENCODING_DONTKNOW;

so the net effect remains the same for that special case.

Change-Id: I84eec8a93d000752b3c429976c58721ea9ea32a4
Reviewed-on: https://gerrit.libreoffice.org/50772
Reviewed-by: Lionel Elie Mamane <lionel@mamane.lu>
Tested-by: Jenkins <ci@libreoffice.org>
2018-03-05 17:44:17 +01:00
Stephan Bergmann 5d577e6cfa Update the reference rdbs to libreoffice-6-0-0
LD_LIBRARY_PATH=.../master/instdir/program \
 .../master/workdir/LinkTarget/Executable/unoidl-read --published \
 .../libreoffice-6-0-0/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-0-0/instdir/program/types.rdb \
 .../libreoffice-6-0-0/instdir/program/types/offapi.rdb \
 >.../master/offapi/type_reference/offapi.idl

Change-Id: I5419f81757ba43664aefb60f081bf52612b8afc4
Reviewed-on: https://gerrit.libreoffice.org/50762
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-03-05 10:52:03 +01:00
Stephan Bergmann bc6f3c0fe9 Update the reference rdbs to libreoffice-5-4-0
LD_LIBRARY_PATH=.../master/instdir/program \
 .../master/workdir/LinkTarget/Executable/unoidl-read --published \
 .../libreoffice-5-4-0/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-5-4-0/instdir/program/types.rdb \
 .../libreoffice-5-4-0/instdir/program/types/offapi.rdb \
 >.../master/offapi/type_reference/offapi.idl

* plus manual fixup for now by re-applying offapi/type_reference/offapi.idl part
  of 00657aef09 "migrate to boost::gettext"

Change-Id: Iecebe43043ee2518a371b60795737436bbcb0941
2018-03-02 18:10:55 +01:00
Tomaž Vajngerl 6103b6698c add some whitespace to make it more readable, no change
Change-Id: I7a08d316b5d7fc99043344b1cf7cb8e326df75ae
Reviewed-on: https://gerrit.libreoffice.org/50170
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2018-02-22 22:18:25 +01:00
Tomaž Vajngerl e48b4275ce report the saved mimetype when saving graphic + mime from stream
When saving we need to determine which mime type to use for the
graphic. Return this information back to the caller so the
metadata can be written into the file if necessary.

Also add function to determine the mime type from the XGraphic
by converting it to a stream first (only then we can determine the
format that will actually be used and written to the storage file.

Change-Id: I796da715e47f29d77dea605a2769a2217ecd6ba5
Reviewed-on: https://gerrit.libreoffice.org/49992
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2018-02-21 21:32:56 +01:00
Tomaž Vajngerl 1a8e331801 make it readable by adding/removing whitespace, no change
Change-Id: Ice60d52c65f2e9071bb37f14a30f2eacbb9a159a
Reviewed-on: https://gerrit.libreoffice.org/49891
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2018-02-18 08:52:04 +01:00
Tomaž Vajngerl 94dbc40e73 XGraphicStorageHandler: support loading graphic from stream
Needed for all the loading of images from base64 strings..

Change-Id: Ic1cb262b5d064e91690b0dc3bb3ab0e9ca0cda53
Reviewed-on: https://gerrit.libreoffice.org/49556
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2018-02-13 20:26:45 +01:00
Tomaž Vajngerl d4a44dc4cd extend XGraphicStorageHandler with saveGraphicByName
We want to save the graphic with a specific name, usually this is
when we want to use the same name that was used when reading the
image from the document.

Change-Id: I7419f0593dea333a60ce513190211e0409480e66
Reviewed-on: https://gerrit.libreoffice.org/49553
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2018-02-11 07:34:53 +01:00
Stephan Bergmann 2f15d4b4b1 Add missing @since tags in css.ui.dialogs.ExtendedFilePickerElementIds
...for entities added with 4e825d97a8 "gpg4libre:
Encrypt with GPG checkbox in SaveAs file dialog, 1st stab" and
38774ce79b "tdf#86739 Option to set image anchor
type in image insert dialog"

Change-Id: Ifa03d7fb143ea8fd4582431e780aa174e2b0f690
Reviewed-on: https://gerrit.libreoffice.org/49477
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2018-02-09 19:43:10 +01:00
Samuel Mehrbrodt 38774ce79b tdf#86739 Option to set image anchor type in image insert dialog
This adds the selectbox to (hopefully) all filepickers:
- LO native
- GTK/GTK3
- KDE4
- KDE5
- Windows
- macOS

Change-Id: I01bd42b1ca18e0f691b879647a6cb1b62177d3ce
Reviewed-on: https://gerrit.libreoffice.org/49311
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2018-02-08 16:42:14 +01:00
Szymon Kłos a8a3e6a7fe tdf#115394 import custom slide transition time in PPTX
* custom values are imported correctly
* standard (fast, slow, medium) values are changed
  to match values in the MSO

Change-Id: I004242afbbf641fe414abc8df248a2844c104502
Reviewed-on: https://gerrit.libreoffice.org/49139
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2018-02-07 10:28:12 +01:00
László Németh 1037e3759b tdf#115319 references with Hungarian articles
Add new alternative reference formats, stored by
the proposed text:reference-language attribute.

This is an implementation of the ODF improvement draft
published in the bug report.

Note: choose Hungarian locale setting to show the
new "Article a/az + Page" etc. reference formats
in dialog window "Fields".

Change-Id: I210d4b9a3e821fb4e45e24643bad9c70b867c89d
Reviewed-on: https://gerrit.libreoffice.org/48944
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2018-02-02 09:06:42 +01:00
Tomaž Vajngerl a61747c2c3 add XGraphicStorageHandler interface
This is a XGraphicObjectResolver (future) replacement as it will
not be needed anymore. All resolving from URL to URL will be
replaced by loading, saving and serialization of XGraphic objects
(when appropriate), which is covered by this interface and
implementation by XmlGraphicHelper - the same that implements the
XGraphicObjectResolver.

Change-Id: I227634e443ce336218c2a2effaf34f9ef3576382
Reviewed-on: https://gerrit.libreoffice.org/49073
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Tested-by: Tomaž Vajngerl <quikee@gmail.com>
2018-02-01 11:53:26 +01:00
Szymon Kłos 790f9abeb1 tdf#114821 import complex data labels in bar chart
* import static text & fields:
   VALUE, SERIESNAME, COLUMNNAME
* text is formatted
* DataPointCustomLabelField with field type
  (DataPointCustomLabelFieldType) was introduced.
* text can have many portions & multiple lines
* unit tests for import data labels with formatting

Not implemented: CELLREF field support which needs
importing some additional data from extLst

Shows custom text as a label for data points.

Change-Id: Iba8fd508eb16356b05586b93d7b8da32240d2b91
Reviewed-on: https://gerrit.libreoffice.org/48243
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Szymon Kłos <szymon.klos@collabora.com>
2018-01-29 23:49:42 +01:00
Mark Hung b74750a9d8 tdf#35301 offapi: add RubyPosition for filters.
RubyPosition describes the position of the ruby text
relative to the base text. ABOVE and BELOW were defined
in ODF, while INTER_CHARACTER is originated from CSS
to indicate the alignment used in traditional Chinese.
For INTER_CHARACTER, the ruby text is aligned vertically
on the right side of the base text, disregard of the
writing mode is horizontal or vertical.

Change-Id: I89224704c192adf9ebb94024d0f2b03f00880cf5
Reviewed-on: https://gerrit.libreoffice.org/48326
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Tested-by: Jenkins <ci@libreoffice.org>
2018-01-28 15:12:04 +01:00
Jens Carl cceaece18a offapi: Add properties FormulaResultType2 and CellContentType
Add two new properties to SheetCell.idl "FormulaResultType2" and
"CellContentType", because the "FormulaResultType" is returning the
wrong value (com::sun::star::table::CellContentType instead of
com::sun::star::sheet::FormulaResult). Also documeted the curiosity.

Change-Id: Icc6538e155ba27fb9d097d8790ac9b4b230c1446
Reviewed-on: https://gerrit.libreoffice.org/48367
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jens Carl <j.carl43@gmx.de>
2018-01-23 19:04:52 +01:00
Andrea Gelmini c66fe94d3e Fix typos
Change-Id: I5fff9ccb1bc74b85ee378439ffa2272583ffcb0f
Reviewed-on: https://gerrit.libreoffice.org/48024
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2018-01-17 12:06:11 +01:00
Andrea Gelmini eae9bf0d25 Fix typos
Change-Id: Id3d1a07922d4ca05e3bbf61d4b5797a30fc5b23a
Reviewed-on: https://gerrit.libreoffice.org/47872
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2018-01-16 14:28:07 +01:00
Caolán McNamara b71660540e [API CHANGE] migrate PackageKit usage to Modify2
xid dropped in favour of application_id

Change-Id: Id1eb43aa9c8dfb4eac82f99eff0f84c5320e0da0
Reviewed-on: https://gerrit.libreoffice.org/47661
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2018-01-11 14:29:22 +01:00
Vasily Melenchuk 0074951704 tdf#113572: allow switching to data range in copypasted chart
- enable data range toolbar button for charts with internal
  data table and possiblilty to switch to data range
- show warning before destoying data table
- recreation of data provider

Change-Id: I2a08b723be80d411e970bfe2ee53dee7d3d52faa
Reviewed-on: https://gerrit.libreoffice.org/44605
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2018-01-10 01:24:06 +01:00
Jens Carl ca25acdb1c offapi: Mark property "HideSpellMarks" as deprecated.
The functionality of the property was removed in 2008
(see commit e675e98a9b).

Change-Id: I46f62ef2a3c3c67dbf04ca28a2807d8614b7f14d
Reviewed-on: https://gerrit.libreoffice.org/47629
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Michael Stahl <mstahl@redhat.com>
2018-01-09 14:57:15 +01:00
Andrea Gelmini 696bc1e951 Fix typos
Change-Id: I4630ba4a93a32c47753422b29535c36b53ff3d5e
Reviewed-on: https://gerrit.libreoffice.org/46635
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2017-12-17 10:21:00 +01:00
Miklos Vajna 1390c91c75 [API CHANGE] offapi: remove unused css.security.SerialNumberAdapter
This is mostly just the offapi/ part, more C++ code can be removed in
xmlsecurity/ after this.

It seems to be unlikely that this non-published service was used by 3rd-party
code, since it was specific to other xmlsecurity/ code, not generic
functionality that could be useful in other contexts.

Change-Id: I0d798577a42445e65a4c5178fcb4464ea03bc56e
Reviewed-on: https://gerrit.libreoffice.org/46442
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2017-12-14 14:23:33 +01:00
Stephan Bergmann 93fd1ce9b8 Missing @since tag
(introduced into libreoffice-6-0 with cherry-pick
c7fa2da1532d9f140cb9018b0a62c62228c67ba1 "Restore GPG SEInitializer service")

Change-Id: I3ba63f91b3d45591a2cb4804a1792e630093425f
2017-12-08 10:55:50 +01:00
Thorsten Behrens 626e73eafe gpg4libre: permit multi-select encrypt cert
And pass down all necessary parameters everywhere

Change-Id: I152b9d84c0e35be9e5193a9a6f67de9fb86133b0
2017-12-07 18:21:02 +01:00
Thorsten Behrens 0a58fdfdf4 gpg4libre: [API CHANGE] add storage helper for GPG encryption data
OpenPGP encryption needs to pass down slightly different meta data
to package / zip storage.

Change-Id: Idba9ad7a821cb33070cf5e5a0f79ae55db99b276
2017-12-07 18:21:02 +01:00
Katarina Behrens 1c58b047d1 Restore GPG SEInitializer service
user config now needs it to collect user's private GPG keys

Change-Id: Ia4ad4133b621160cf37281750cafa9f3c5c3c231
Reviewed-on: https://gerrit.libreoffice.org/45562
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2017-12-06 12:26:40 +01:00
Samuel Mehrbrodt ecd683d3f9 tdf#83877 OOXML Roundtrip of SignatureLine properties
Change-Id: I521e5f35663c5ab3c2702f1416fcec872f2f5e3f
Reviewed-on: https://gerrit.libreoffice.org/44683
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2017-11-28 07:58:23 +01:00
Andrea Gelmini 1d9eed341d Fix typo
Change-Id: I591214b246f7702e52f71b95cdc2255bc296224b
Reviewed-on: https://gerrit.libreoffice.org/45063
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2017-11-22 09:10:42 +01:00
Eike Rathke dee307cbc9 Add comment and @since LibreOffice 5.2
Change-Id: Iee7b0a6cd6f6f83f88b836e4efd7e7d6f17e6197
2017-11-14 15:55:58 +01:00
Andrea Gelmini d71bcc4dc5 Fix typos
Change-Id: Ia544298334364ece3b3963a4adc00c5e01189b91
Reviewed-on: https://gerrit.libreoffice.org/44654
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Mark Page <aptitude@btconnect.com>
2017-11-13 08:43:17 +01:00
Samuel Mehrbrodt 125785cf21 Remove sgv and sgf graphic types from supported graphics
After removal of the importer with d952c0b42a

Change-Id: Ib6d20d00417807038051f187e4ba76e70576082e
Reviewed-on: https://gerrit.libreoffice.org/44444
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2017-11-08 11:46:05 +01:00
Samuel Mehrbrodt bd3c5c4c23 [API CHANGE] tdf#65393 Import signature line images from ooxml
showing whether the signature behind the signature line is valid or not.

Change-Id: Ia6cca62812019f26d55d234cac767a9b4b7c8175
Reviewed-on: https://gerrit.libreoffice.org/40980
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2017-11-03 13:57:00 +01:00
Samuel Mehrbrodt 3135357a74 Fix comment markup
These do not appear on api.libreoffice.org if they arent marked up correctly

Change-Id: I38873e1d763d97ff11e28b9ce5efe1cc68b12bf7
Reviewed-on: https://gerrit.libreoffice.org/44221
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2017-11-03 09:42:13 +01:00
Samuel Mehrbrodt c1917f4cb8 Begin sentence with uppercase letter
Change-Id: I32056d860dfb6dd5683d13de86705c3d70f51d46
Reviewed-on: https://gerrit.libreoffice.org/44215
Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2017-11-02 14:52:16 +01:00
Tomaž Vajngerl 2884d57d47 TSCP: Support DocInfo.Custom field for ODP file format
Impress has a limited support for fields - this includes support
for DocInfo.Custom field, which shows the user defined custom
fields that are used in TSCP. This commit adds minimal support
(only what is needed for TSCP) for DocInfo.Custom field but only
supports string fields for now. It is not possible to add the field
manually, at least not until the full support is added.

Change-Id: Ib3b73ab22fd4fe65ab6fb5173fe035a3359deea5
Reviewed-on: https://gerrit.libreoffice.org/44041
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2017-11-01 11:15:35 +01:00
Eike Rathke 281a84bd33 New LocaleItem::DECIMAL_SEPARATOR_ALTERNATIVE, tdf#81671
Change-Id: I1817d917621ccc3c81468132c558f9faa8c4ec4c
2017-10-27 18:29:43 +02:00
Eike Rathke 4ef0497488 New decimalSeparatorAlternative, LocaleDataItem2, XLocaleData5, tdf#81671
... and LocaleData2 service, which is necessary with new-style
services because optional interface at published service is not
possible.

Change-Id: I77703243a961b5385eaea146e4c9c42d5f30e1ad
2017-10-26 21:35:04 +02:00
Tomaž Vajngerl fbc44fe63b tscp: advanced classification dialog for impress
Change-Id: I76c81e6f84de8160c20f1614d7676f2f2c3fb155
Reviewed-on: https://gerrit.libreoffice.org/43361
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2017-10-23 12:04:43 +02:00
Michael Stahl 92fe6fed58 offapi: update TextFitToSizeType documentation for tdf#97630 fix
Change-Id: Id4fad147002d0ec18d1462764f842a3791b48d3a
2017-10-20 11:16:46 +02:00
Michael Stahl e2282240ad offapi: fix TextFitToSize property
Change-Id: I3c519e1377c09b53f02f360bb53f422ac1bad2b5
2017-10-20 11:16:46 +02:00
Michael Stahl a612c2feb3 offapi: clarify TextFitToSizeType documentation some more
Change-Id: I1912676423c0e85fa21f87bf28c2a4f6a13c5565
2017-10-19 13:35:08 +02:00
Michael Stahl 8304de4701 offapi: clarify documentation of TextFitToSizeType
Change-Id: Iae2ee1e77d9cdc0b98241c47e009d37a9e72e000
2017-10-18 12:34:03 +02:00
Ashod Nakashian b6d6591faf TSCP: include certificate usage in paragraph signatures
Change-Id: I6f4b891a016c67051efd9033329065d7e3c8a06b
Reviewed-on: https://gerrit.libreoffice.org/43022
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2017-10-05 14:47:29 +02:00
Andrea Gelmini e44c188a73 Fix typos
Change-Id: I879a52820d78d9151ef64dd21612379f617f66e2
Reviewed-on: https://gerrit.libreoffice.org/42726
Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2017-09-25 12:20:56 +02:00