2986 Commits

Author SHA1 Message Date
Mike Kaganski
d6323a2180 tdf#106525: Implement an XSLT import filter for ADO rowset XML
There are online services and management systems (like SharePoint)
that allow to export datasets in ADO rowset XML format ([MS-PRSTFR],
https://msdn.microsoft.com/en-us/library/cc313112). Usually they are
intended to be open with MS Excel as a spreadsheet (with autofilter).

This allows to open this data in Calc.

Change-Id: I495cd790138bdd6bd24630c0f422a0c8b4e3d0fb
Reviewed-on: https://gerrit.libreoffice.org/35159
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2017-04-05 05:17:22 +00:00
osnola
0e261a6908 libmwaw import filter improvements
+ correct a small mistake
  + add pot the file extension (the file extension for PowerPoint 95
     template)

Change-Id: I4ad18088ccb9777e1b34f393effbe2d24468804e
2017-04-02 13:42:20 +02:00
osnola
8988c925ce libstaroffice import filter improvements
+ add support for presentation file (i.e. the file created will StarImpress
     are now open as presentation).
  + modify the OLE parser to be similar to the librevenge OLE parser,
    ie. the librevenge parser ignores the first character of a filename if
    this is a control character...

Change-Id: I913a70cba29839d43dac58d5e00dbebfc4d28abc
2017-04-02 13:42:20 +02:00
osnola
b0067c89e6 libwps import filter improvements
+ some astyle modifications,
  + add .wk4 and .123 to the list of file extensions,
  + add support to open Lotus files protected by a password.

Change-Id: I94d4afffd73f0999ff2b1958704cb3985fcd0cc9
2017-04-02 13:42:19 +02:00
Caolán McNamara
252f59b702 adjust cgm import to make testing easier
Change-Id: I2979af77522e085075d4f1e1e379fe82e614163b
2017-04-01 19:51:18 +01:00
Jochen Nitschke
da56de9ac4 remove type decorations on char literals
they are only needed where type deduction fails.
left them in defines for now.

Change-Id: I7f002dd6bc7acc083c73b6c64076de6dd28d0b09
Reviewed-on: https://gerrit.libreoffice.org/35893
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-03-30 12:21:40 +00:00
Jens Carl
63e36cdd9d tdf#39468 Translate German comments
Translate German comments and terms in filter/

Change-Id: I37a5c87952b2664ea3171373c8bb9020c0fa73d0
Reviewed-on: https://gerrit.libreoffice.org/35887
Reviewed-by: Michael Stahl <mstahl@redhat.com>
Tested-by: Michael Stahl <mstahl@redhat.com>
2017-03-30 10:26:27 +00:00
dennisroczek
b0a3a48c1d expand vis to visible; fix typos
* translate German source code comments
* remove bogus surce code comments
* remove ascii art
* removed old StarOffice/Sun internal bug tracker references
* remove left over from commit dcd5dee88e3c1185638b190553bef65c2ef6566f


Change-Id: I3c5cce621c43e4a03afb76f4cc5a12065914e5ad
Reviewed-on: https://gerrit.libreoffice.org/35404
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2017-03-29 08:12:10 +00:00
Caolán McNamara
91e6638708 ofz#912 support avoiding config
Change-Id: I10bef028badc1a3d1d96adaa1757fa7d9c6d2dc8
2017-03-20 08:59:47 +00:00
Andrea Gelmini
47a9523f3f Fix typos + some German translations
Change-Id: I1c5bb725ffdf72363279436ad9bbb88064228253
Reviewed-on: https://gerrit.libreoffice.org/35406
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
Tested-by: Julien Nabet <serval2412@yahoo.fr>
2017-03-19 10:05:45 +00:00
Andrea Gelmini
fba66b325c Fix typos
Change-Id: I19d30a1ef4236dbe0a0053dad67a5ba7b1586fc8
Reviewed-on: https://gerrit.libreoffice.org/35054
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Johnny_M <klasse@partyheld.de>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-03-11 05:04:40 +00:00
Noel Grandin
198c41c4fe new loplugin unoany
Change-Id: I5d6c4a67cb2a09e7cd5bd620c6b262d188701b89
Reviewed-on: https://gerrit.libreoffice.org/34714
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-28 10:17:47 +00:00
Noel Grandin
f4826959c1 new loplugin:unusedenumconstants
These are the simple removals, where it is obviously safe,
the more complex ones will come in separate commits

Change-Id: I7211945a6a5576354b60d9c709940ce9b674f308
Reviewed-on: https://gerrit.libreoffice.org/33828
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2017-02-03 08:59:39 +00:00
David Tardon
bc4097ed56 upload libmwaw 0.3.10
Change-Id: I1355f60bdaf66aecef22f1093f57369b9fd91972
Reviewed-on: https://gerrit.libreoffice.org/33745
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Tardon <dtardon@redhat.com>
2017-01-31 20:08:48 +00:00
Stephan Bergmann
e57ca02849 Remove dynamic exception specifications
...(for now, from LIBO_INTERNAL_CODE only).  See the mail thread starting at
<https://lists.freedesktop.org/archives/libreoffice/2017-January/076665.html>
"Dynamic Exception Specifications" for details.

Most changes have been done automatically by the rewriting loplugin:dynexcspec
(after enabling the rewriting mode, to be committed shortly).  The way it only
removes exception specs from declarations if it also sees a definition, it
identified some dead declarations-w/o-definitions (that have been removed
manually) and some cases where a definition appeared in multiple include files
(which have also been cleaned up manually).  There's also been cases of macro
paramters (that were used to abstract over exception specs) that have become
unused now (and been removed).

Furthermore, some code needed to be cleaned up manually
(avmedia/source/quicktime/ and connectivity/source/drivers/kab/), as I had no
configurations available that would actually build that code.  Missing @throws
documentation has not been applied in such manual clean-up.

Change-Id: I3408691256c9b0c12bc5332de976743626e13960
Reviewed-on: https://gerrit.libreoffice.org/33574
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2017-01-26 12:54:43 +00:00
Stephan Bergmann
4770f54888 New loplugin:dynexcspec: Add @throws documentation, filter
Change-Id: Id465279b54f775ae688d02798c7a67fc50829fc6
2017-01-19 18:03:20 +01:00
Caolán McNamara
2ccc311712 coverity#1398821 Uncaught exception
and

coverity#1398820 Uncaught exception
coverity#1398819 Uncaught exception

Change-Id: I68bba7043426ef5bd4146127fa115b31d03b8797
2017-01-17 09:08:16 +00:00
Caolán McNamara
44ffbca37c coverity#1398586 Uncaught exception
and

coverity#1398591 Uncaught exception

Change-Id: Id46cb66ea8e26af480234703cafd26ff7b7271f0
2017-01-14 11:14:03 +00:00
Caolán McNamara
5b99067d8d coverity#1398525 Uncaught exception
Change-Id: Ic7d2ae5d597ad589b86ec27e2645c543e08121ad
2017-01-10 09:00:13 +00:00
Noel Grandin
bfde4866e0 convert DecodeMechanism to scoped enum
Change-Id: I5c56634b1bca8e37fa73d02d2428645301b6c547
2016-12-05 12:49:02 +02:00
David Tardon
707c81bdba add separate MS PowerPoint 3 filter (libmwaw)
Change-Id: I9f07e6d363387fc47f187f6635f489f8f8237f77
2016-12-05 10:41:51 +01:00
osnola
bf1fd4c1e9 correct UIName of legacy StarOffice Text Document
Change-Id: I2f4a67ce439d913648c17d4770b94c5b4e7968f9
2016-11-21 10:39:45 +01:00
Jochen Nitschke
249e66e000 Any can't be nested ...
... don't check for it

Change-Id: I0400ef365fdfcd8e1f516958225ae99289798f21
Reviewed-on: https://gerrit.libreoffice.org/30049
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-10-20 09:04:45 +00:00
Andrea Gelmini
f0249a88fc Fix typos
Change-Id: I6730c6c5eab9157533822e5045e9f86109062580
Reviewed-on: https://gerrit.libreoffice.org/29433
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-10-03 11:21:52 +00:00
Noel Grandin
1658bd231b loplugin:unusedenumvalues
Change-Id: I9dcc9f73af6db5b4f7cc946bc28931e5c230b34c
Reviewed-on: https://gerrit.libreoffice.org/29012
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-09-19 10:44:05 +00:00
Stephan Bergmann
91dd2db17b loplugin:override: No more need for the "MSVC dtor override" workaround
The issue of 362d4f0cd4e50111edfae9d30c90602c37ed65a2 "Explicitly mark
overriding destructors as 'virtual'" appears to no longer be a problem with
MSVC 2013.

(The little change in the rewriting code of compilerplugins/clang/override.cxx
was necessary to prevent an endless loop when adding "override" to

  OOO_DLLPUBLIC_CHARTTOOLS    virtual ~CloseableLifeTimeManager();

in chart2/source/inc/LifeTime.hxx, getting stuck in the leading
OOO_DLLPUBLIC_CHARTTOOLS macro.  Can't remember what that
isAtEndOfImmediateMacroExpansion thing was originally necessary for, anyway.)

Change-Id: I534c634504d7216b9bb632c2775c04eaf27e927e
2016-09-13 13:19:22 +02:00
osnola
1faae1f375 integrate libstaroffice
Change-Id: I85913f1bd1af5d102573040588cca9d8ddeebb5d
2016-08-11 08:13:27 +02:00
Otto Kekäläinen
428e23f4f7 Fix some spelling errors in comments and strings
Change-Id: Iecd6b5e13d6be14651f77d8e37f01117ba15a11e
Reviewed-on: https://gerrit.libreoffice.org/26883
Reviewed-by: jan iversen <jani@documentfoundation.org>
Tested-by: jan iversen <jani@documentfoundation.org>
2016-07-04 06:11:36 +00:00
Miklos Vajna
7d76bb251e vcl: add graphic export-as-pdf filter
In case the metafile was imported from a PDF originally, then this
allows storing the PDF stream next to the graphic. This means that e.g.
in Writer choosing 'Save' from the context menu of the graphic can write
the original PDF stream, not the replacement metafile.

Change-Id: I4ab45d5af17fe46d7538df6d79d6b57ed163572a
Reviewed-on: https://gerrit.libreoffice.org/26628
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-06-24 11:51:01 +00:00
Aleksas Pantechovskis
aaed6fe55a integrate libzmf
Change-Id: I0c7ea5b56ea4ed4839ff38798c0b915aaca81774
Reviewed-on: https://gerrit.libreoffice.org/26574
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Tardon <dtardon@redhat.com>
2016-06-23 15:39:52 +00:00
Miklos Vajna
878a860dff vcl: add initial PDF import-as-graphic filter
This allows Insert -> Image e.g. in Writer to read a PDF file, and
insert the metafile equivalent of the first page into the document.

Currently the original PDF document is lost on import (unlike when
inserting an SVG file).

Change-Id: Ib0472c5d9bd9a1da054353fa3a3a638a1052721e
Reviewed-on: https://gerrit.libreoffice.org/26586
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
2016-06-23 15:25:07 +00:00
Maxim Monastirsky
373ef6eeb0 Revert "tdf#35208 Allow choosing encoding for old Excel files"
This reverts commit 4f1ce46b8d65360436e09750242101b566e6186c.

Change-Id: I4b93ef8233f172935e72401ec51abd3d4c8a9fac
Reviewed-on: https://gerrit.libreoffice.org/25152
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com>
2016-05-19 11:11:39 +00:00
Maxim Monastirsky
4f1ce46b8d tdf#35208 Allow choosing encoding for old Excel files
Lots of BIFF2-BIFF5 files out there don't have CODEPAGE
record at all, or have one with a wrong value, and/or
FONT records with wrong charset value.

To solve that, this patch adds a new "Choose Encoding"
entry to the file picker, so that users could specify the
encoding to use for a given file, instead of relying on
the information that might be present (or not) inside the
file. It can be also used in headless mode,
e.g. --infilter="MS Excel (encoded)":61

This doesn't affect BIFF8 import, nor the default behavior
when not explicitly using the "Choose Encoding" entry.

Change-Id: I89d850d7679b81bd399044478fac7a02e8b7680e
2016-05-19 00:01:38 +03:00
Andrea Gelmini
a9ff36a1e9 Fix typos
Change-Id: If7262e114b5b4cd40e9c0a8929940199ea747595
Reviewed-on: https://gerrit.libreoffice.org/25025
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-05-16 06:18:47 +00:00
Stephan Bergmann
312bf21ae6 Rewrite fix for tdf#99353 in way that doesn't trigger loplugin:passstuffbyref
c4acf692e858530b8353dd65876501eb38ce9bab "loplugin:passstuffbyref" had
accidentally reverted 390ddd3bde617388e481b6747aa7bbea17d5ddf1 "tdf#99353 take
the footgun away from FilterCache".  Many thanks to Matteo Casalin for spotting
it.

Change-Id: I572b940cf215d6e83cac56fd8d2ac2f24b659579
2016-05-04 10:03:19 +02:00
Stephan Bergmann
04baf07416 -Werror,-Wpessimizing-move
Change-Id: Ic20ae0c0534220a2613b73a2bd2e1aa277aecce9
2016-05-03 17:14:46 +02:00
Stephan Bergmann
c4acf692e8 loplugin:passstuffbyref
Change-Id: Iaaaa0569a3e16bd79eeb7830ab9fb4be6ae57f98
2016-05-03 17:13:02 +02:00
David Tardon
46410f7e5b use unique_ptr
Change-Id: I28615a645e6e4763bb03362a90da93a818985a78
2016-05-03 15:34:09 +02:00
David Tardon
750935fddb drop obsolete comment
Change-Id: Iad565ccd92b4518ee57f10b65ca4d8ca0730474d
2016-05-03 15:34:09 +02:00
David Tardon
390ddd3bde tdf#99353 take the footgun away from FilterCache
FilterCache::impl_saveItem changes the properties of a config. item
one-by-one. But it also listens to the configuration changes and reloads
the whole item from the configuration on change...

Change-Id: I9e4ed1c6b013925d07f0942717fe3421f924279d
2016-05-03 15:34:09 +02:00
Andrea Gelmini
20f23c1a28 Fix typos
Change-Id: Ic4fbc8e7220eb4641f67ef4f85d4853608a369f4
Reviewed-on: https://gerrit.libreoffice.org/24257
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
2016-04-21 20:36:29 +00:00
Stephan Bergmann
07ea0e64f2 loplugin:salbool: Automatic rewrite of sal_False/True
Change-Id: I887a9161107e58c9343d240c2b54e02f4e59567f
2016-04-20 17:25:41 +02:00
Noel Grandin
789055bc2a clang-tidy performance-unnecessary-copy-initialization
probably not much performance benefit, but it sure is good at
identifying leftover intermediate variables from previous
refactorings.

Change-Id: I3ce16fe496ac2733c1cb0a35f74c0fc9193cc657
Reviewed-on: https://gerrit.libreoffice.org/24026
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-04-18 07:37:31 +00:00
Stephan Bergmann
2d42a1bcf6 Avoid reserved identifiers
Change-Id: I175de0aa53559fb092644d18e05e2d890fe05fca
2016-04-12 15:50:25 +02:00
Jochen Nitschke
4c7ec9f112 cleanup: remove unused com/sun/star/uno includes
Sequence.h(xx), Any.h(xx) and Type.h(xx)
and remove unused using-declarations from these files.

Add a few missing includes provided by them.

Change-Id: I6b91b6d1fdf9d0496dd546c0aab9bdcc6831a5d4
Reviewed-on: https://gerrit.libreoffice.org/23805
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-04-12 06:38:26 +00:00
tymyjan
bfb9612226 tdf#97499 Fixed containers parameters clearing #3
Change-Id: I1c105de7e1df251533179fba77e3797ef1c4e2d4
Reviewed-on: https://gerrit.libreoffice.org/23752
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-04-04 05:46:34 +00:00
Jaskaran
a1a63373f9 tdf#82335 Register Libreoffice for Kingsoft file types
Registered LO for Kingsoft document , spreadsheet, presentation
and their template types.

Change-Id: If2b9f428b22f6d104c5ffe699f5264a22b814a0e
Reviewed-on: https://gerrit.libreoffice.org/23037
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-03-09 10:23:16 +00:00
Miklos Vajna
bb3761df8d filter: mark XLSX/PPTX filter as SUPPORTSSIGNING
Given that all DOCX signing code is in xmlsecurity and it wasn't
DOCX-specific, this works out of the box.

Change-Id: I18429f63c125a43346e9e52021e1b7e33b300af4
2016-02-15 13:38:58 +01:00
Sean Young
2f7f818eea Add Microsoft Word for DOS conversion
Change-Id: I9e20a35dd8e18ba1a9251f4dc3ce903183c250cf
Reviewed-on: https://gerrit.libreoffice.org/22368
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: David Tardon <dtardon@redhat.com>
2016-02-15 12:15:23 +00:00
Chris Sherlock
a238b1f8d3 Remove excess newlines
A ridiculously fast way of doing this is:

for i in $(pcregrep -l -M -r --include='.*[hc]xx$' \
  --exclude-dir=workdir --exclude-dir=instdir '^
{3,}' .)
do
    perl -0777 -i -pe 's/^
{3,}/

/gm' $i
done

Change-Id: Iebb93eccbee9e4fc5c4380474ba595858a27ac2c
Reviewed-on: https://gerrit.libreoffice.org/22224
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-02-09 08:18:05 +00:00