summaryrefslogtreecommitdiff
path: root/filter
AgeCommit message (Collapse)Author
2014-01-21Fix bogus mass-conversion equalsAsciiL -> startsWithStephan Bergmann
3af99e4d59d89c343965a928681a30f36b1007d2 "convert equalsAsciiL calls to startsWith calls" should rather have converted to oprator ==. Change-Id: Id4a8836c5d6d570e54661c40be7214632e202b21
2014-01-20Removed unused solar.h reference in filterAlexandre Vicenzi
Change-Id: Ieffee3f06a12836b8a01dcebe2a6dc097b35dde9 Reviewed-on: https://gerrit.libreoffice.org/7520 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-01-19fix the buildMarkus Mohrhard
2014-01-19CID#705650: fix memory leakMarkus Mohrhard
2014-01-17Window::Notify should return boolStephan Bergmann
Change-Id: I72081b1022582c8b6f95a611e21d9c78f7581efe
2014-01-17Make Flat XML document name consistant with ODFBryan Quigley
List discussion: http://lists.freedesktop.org/archives/libreoffice/2013-November/057337.html Change-Id: I4ddaa7adcffefbedab895f5e94eb6bd92201386e Reviewed-on: https://gerrit.libreoffice.org/7488 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-01-17Make text choose encodingBryan Quigley
See thread here: http://lists.freedesktop.org/archives/libreoffice/2013-November/057337.html Change-Id: I1de7c24f8be8a7d1142275311f94b6e4e7800229 Reviewed-on: https://gerrit.libreoffice.org/7487 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-01-17Make all UIName localizable for filtersFridrich Štrba
Change-Id: Ie5c597f950c344a25c97aa990536ef66b001f41e Reviewed-on: https://gerrit.libreoffice.org/7492 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2014-01-17Make UIName of filters from writerperfect module localizableFridrich Štrba
Change-Id: I63974d71c8aa8b4b3ede8272fd0467fa0026b1ff Reviewed-on: https://gerrit.libreoffice.org/7491 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2014-01-16Introduce com.sun.star.frame.theGlobalEventBroadcaster singletonStephan Bergmann
...to supersede com.sun.star.frame.GlobalEventBroadcaster single-instance service. Change-Id: I74ecaadadb4c600d39979aa7c13b6389bed38fd7
2014-01-16fdo#54938: Convert filter to cppu::supportsServiceMarcos Paulo de Souza
final part Change-Id: If9387b4f7aa8ca694092f51eabeac096c71347eb
2014-01-15Uploading libabw-0.0.1 (support of zabw files too)Fridrich Štrba
Change-Id: Ie04cae9b9a362cb43b671fe8986545865822a953
2014-01-15filter: audit customshape type -> drawingML preset shape tableMiklos Vajna
It turns out that this table contained entries which are not valid drawingML preset shape names. Invalid entries are now either have a valid name instead (based on the oox/source/export/preset-definitions-to-shape-types.pl mapping, which already tries to map VML shape ID's to drawingML preset strings), or in case I found no mapping there, the entry is now simply commented out. It's still better to fall back to export a shape as a rectangle than corrupting the whole document. Change-Id: Ic2d8926e5819f3312aaca55d50a1492332e52a9d
2014-01-14bool improvementsStephan Bergmann
Change-Id: I4733554d3329525516511bbd60b9ad3fabc12be0
2014-01-14Be explicit when using bool as integral valueStephan Bergmann
Change-Id: Ia55702e1ce7ca153de6e82abfce731bb8fc21977
2014-01-14longparas: expand STRING_LEN to text length locallyCaolán McNamara
Change-Id: I9ffdabdc44677033d8c8ac1b025ccb7c600db664
2014-01-14Fix conversion from MS-ODRAW gtextSpacing to SvxCharScaleWidthItemStephan Bergmann
... i.e., from 16.16 FixedPoint with default value 0x00010000 to percentage. At least that is what I assume the odd code that looked like that since its inception in f90ea7408ebbe2a2d53e94f1dc16d0e3623f59d8 "INTEGRATION: CWS sj09" was acutally supposed to do. Change-Id: I482fb3c1d00757b2f18c587bbb6b4a6755392d2f
2014-01-14filter: fix copypastaMiklos Vajna
Change-Id: I1f17ebc448c80afffb177e63f56f97867c019fb8
2014-01-13AbiWord Import filterFridrich Štrba
Change-Id: I90dc115044e5f81fa3a2b105d30d7d39e438b086 Reviewed-on: https://gerrit.libreoffice.org/7411 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2014-01-13longparas: convert ValidateKashidas to sal_Int32Caolán McNamara
we can use -1 as the failure return code as return value is always checked and isolated from the rest of the code. Change-Id: I87a743de82d681a7e4eabc61a576c4e50f1279a8
2014-01-13fdo#65833 Fix to preserve VML Canvas InformationVinaya Mandke
Grab-bagged the "editas" attribute of v:group and added UT for the same Please verify this fix on MS Office 2007 as it renders the mc:Fallback VML part Conflicts: sw/qa/extras/ooxmlexport/ooxmlexport.cxx Reviewed on: https://gerrit.libreoffice.org/7335 Change-Id: I4e4456997621089967514009005ee775b71d6d69
2014-01-10re-write SvStream operator<< to non-overloaded methodsNoel Grandin
This is the actual re-write. Use a clang rewriter to rewrite SvStream::operator<< to methods like WriteuInt32. Note that the rewriter is not perfect, and I hand-tweaked the output. In particular, I had to adjust places doing things like (*this) << 1; Change-Id: I5923eda3f4ebaa8b452b6ef109e726e116235a2a Reviewed-on: https://gerrit.libreoffice.org/7342 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2014-01-08Consolidate XServiceInfo for classes derived from SvXMLExportStephan Bergmann
Change-Id: Ia3e2b5e682a64844bb6c713912c50c7681393d52
2014-01-02fdo#73215 filter: don't try to handle pictureFrame in GetOOXMLPresetGeometry()Miklos Vajna
"pictureFrame" is not a valid drawingML shape type, VML export used to write just "rect", by removing an explicit entry for ESCHER_ShpInst_PictureFrame we now do the same. Change-Id: I57683b7f5f80bfef8c3b6fb9ae9f33e4599a7eb2
2013-12-29Need boost_headersTor Lillqvist
Change-Id: I936ee814bcc614cc5ec858c453f5e8e5d0cac60b
2013-12-29Detect UTF-16 encoded XML filesMaxim Monastirsky
This code doesn't support leading blank characters, since it's invalid, and the filter doesn't handle it anyway. Change-Id: I494e9f85351539d27577dc7df8be420c0c66570e Reviewed-on: https://gerrit.libreoffice.org/7204 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-12-22Fix other typosJulien Nabet
Change-Id: I3f0a51c53efdd383d49d978a1e8531afe9dac896
2013-12-20typo fixesAndras Timar
Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
2013-12-18vcl get rid of xub_StrLen and STRING_LEN in outdev3Norbert Thiebaud
a new log section (sal.rtl.xub) is used to display alert in case of suspicious len == 0xFFFF (aka STRING_LEN) Change-Id: I3ed2aa7896e12592be9e003580dd6c8eda4add5e Reviewed-on: https://gerrit.libreoffice.org/7117 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-12-17No need for implbase1.hxx to include XComponentContext.hppStephan Bergmann
...which it did unlike all the other implbaseN.hxx. Required lots of downstream clean-up, of course. Change-Id: Ib720e7a0a43410dcd7e6338b84a3973dfbb20866
2013-12-17Adapt all (non-extension, SharedLibrary) .components to environment="..."Stephan Bergmann
Change-Id: I56f38bd786f3a026cb2908f28540dc9c4003af83
2013-12-16uiconfig is a l10n-relevant targetBjoern Michaelsen
Change-Id: I8a2ca73c02fd6b04ce60e7701c51d2362ef7ec06
2013-12-15Fix static linkage and use SAL_N_ELEMENTSMatteo Casalin
Change-Id: Iced21e010b3c06a5f36731f63d41ab55a5c8a2e4
2013-12-13EscherGraphicProvider::GetBlibID: raw number is Sun bugtracker, use fdo prefixMiklos Vajna
Change-Id: I1ecd3b9c74fb973769036defba96d73c5995175f
2013-12-13fdo#65836 Do not compress WMF / EMF file incase of OOXML exportNikhil Walvekar
Change-Id: Ic498e5703ab48719f998be6da3f245843cc0979d Reviewed-on: https://gerrit.libreoffice.org/6849 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2013-12-13fdo#70338 : Fixed file corruption issue after save for docx.Sushil Shinde
- File was giving corruption message if saved in LO. - Issue due to video file. - Attached file contain .mov which was not handled properly. - Added mov extension support in graphic filter. Reviewed on: https://gerrit.libreoffice.org/6818 Change-Id: Ia278127ddc4afcd2d5fe04e86ed6201fb28dc04f
2013-12-12filter: whitespace fixes in rtfutilMiklos Vajna
Change-Id: Ifb1a112d632410ae685fa09f3ddff8a021ddd68b
2013-12-12Don't hold css::uno::Type instances by pointerStephan Bergmann
...in comphelper::PropertyMapEntry and SfxItemPropertyMapEntry. And as the arrays of such need to be initialized dynamically anyway, also change their name members to proper OUStrings while at it. Plus some const clean-up. Change-Id: I67d4d7b5773fb020605f369daf39528bec930606
2013-12-11Open .tab files with CalcMaxim Monastirsky
.tab extension is a known extension for tab-separated values according to Wikipedia. Also add .tsv .tab files to the list of known text files, so XML detection code won't run on it, and won't output errors to console. Change-Id: Ifb8edc40900cb4669264e1e989c01efd61ff24bf Reviewed-on: https://gerrit.libreoffice.org/7038 Reviewed-by: Kohei Yoshida <libreoffice@kohei.us> Tested-by: Kohei Yoshida <libreoffice@kohei.us>
2013-12-11Related: rhbz#1040291 Change language name from 'Oriya' to 'Odia'Caolán McNamara
Except for our external api where the Oriya is stuck (and similar for the vba implementation) Change-Id: I8288c930567385eea49a4c303727b13ef8b8a89f
2013-12-11Revert "Don't hold css::uno::Type instances by pointer"Stephan Bergmann
This reverts commit 90f91088d238469b4a2262c91de3117ba40f5bde for now: Ach, old GCC doesn't like plain string literals to initialize members of OUString type... Change-Id: I50563a00406259bb5d41831e2a2796762450d097
2013-12-11Don't hold css::uno::Type instances by pointerStephan Bergmann
...in comphelper::PropertyMapEntry and SfxItemPropertyMapEntry. And as the arrays of such need to be initialized dynamically anyway, also change their name members to proper OUStrings while at it. Plus some const clean-up. Change-Id: I67d4d7b5773fb020605f369daf39528bec930606
2013-12-09WaE: C4310: cast truncates constant valueTor Lillqvist
Change-Id: I187382713aa85fa43e674f96e0a8cfb1f7ac0d03
2013-12-08fdo#46262 Detect XML files with UTF-8 BOMMaxim Monastirsky
Also convert sal_Char (deprecated) -> char Change-Id: Ibf66f6a9ea751bab96f43671fe95a835c073d9e0 Reviewed-on: https://gerrit.libreoffice.org/6942 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2013-12-08fdo#39206 Add support for image transformation in SVG ImportSamuel Mehrbrodt
Change-Id: I268599b0c13bbacf5db526fed79453a5443145a5 Reviewed-on: https://gerrit.libreoffice.org/6968 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2013-12-08fix infinite loop during exportMarkus Mohrhard
Change-Id: I75bfafbc7343aaddbbc5c7433e28b5d4154177dc
2013-12-07CID#736170, CID#736171, CID#736172 Out-of-Bounds read/writeJulien Nabet
Let's be sure that nMaxcolorIndex < 256 Change-Id: I349184ad92c8e7b10a90a32e093972bfaee52467 Reviewed-on: https://gerrit.libreoffice.org/6970 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-12-06Get rid of DECLARE_STL_USTRINGACCESS_MAPStephan Bergmann
Change-Id: I00d02eaeff3eaa5f49550eb9c1d4e4e7e0b2203c
2013-12-05Get rid of DECLARE_STL_STDKEY_SETStephan Bergmann
Change-Id: I4817694d183d525fa5a29eb9693a20d491549e5d
2013-12-04add test-case for CVE-2013-3906-1.tiffCaolán McNamara
Change-Id: I2cac26f3e949cbef16fb0c03e99d6aa9b04a7553