summaryrefslogtreecommitdiff
path: root/filter
AgeCommit message (Collapse)Author
2015-12-08fix libmwaw calc filtersDavid Tardon
Change-Id: I0d7c6f89f4646b59f23591eb1b3511afa31179c2
2015-12-08SVG: Revert previous commits for tdf#95332 and tdf#95733Xisco Fauli
I was wrong for thinking that there was a problem when elements inside def elements were not written. Actually, Cristina's commit ( 5e27d23d7e665cc0aeac8fc9ea2236bf8bc088ff ) was correct as elements inside defs don't have to be written at least they're refered by <use> element, which isn't supported in Libo right now. Working on implementing support for use element Change-Id: Id0b8d8e9b27887f75cc961881daeb82089b2e62b Reviewed-on: https://gerrit.libreoffice.org/20333 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2015-12-07merge libmwaw type/filter defs (Calc)David Tardon
Change-Id: Ic0f01d2f71cad69bea0944c62fb0832bc6caa252
2015-12-07Revert "svg export: no more an experimental feature"Andras Timar
This reverts commit 59cd3f4ddb88ef1326166902ffe61d6050bfcd99.
2015-12-07Revert "svg-export: fix wrong conflict resolution"Andras Timar
This reverts commit 7485ea8b917c1e4da7982611c70b0f3d0a46b27a.
2015-12-07svg-export: fix wrong conflict resolutionMarco Cecchetti
Change-Id: Ibf3d054558c1fbf208b6d1a4683d52837b2bc183 Reviewed-on: https://gerrit.libreoffice.org/20447 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2015-12-07svg export: no more an experimental featureMarco Cecchetti
Removed experimental feature check. Single slide exporting works as for multi slides exporting. Conflicts: filter/source/svg/svgexport.cxx Change-Id: I3b4f100f5ab9c76896e7f52d65ec27c364216c21
2015-12-07Revert "svg-export: fix wrong conflict resolution"Andras Timar
This reverts commit ab794090190e12daa4dab209889c084cd8e8b6f9.
2015-12-07svg-export: fix wrong conflict resolutionMarco Cecchetti
Change-Id: Ibf3d054558c1fbf208b6d1a4683d52837b2bc183 Reviewed-on: https://gerrit.libreoffice.org/20447 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2015-12-07svg-export: added a new bullet typeMarco Cecchetti
The new bullet type is used in a pptx document. Change-Id: I0bf970c2a25fb21b666e263b67023c299041e4cf Reviewed-on: https://gerrit.libreoffice.org/20439 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2015-12-05Simplify and remove this do/whileJulien Nabet
There wasn't even a kind of "finally" block! Change-Id: Ib6836e8e8bd7369c2049c0fd26081002dfbfecba
2015-12-04tdf#92925 Remove PBM, PGM, and PPM ExportBryan Quigley
Remove export for all the netpbm formats. Import still works but these filetypes don't preserve good quality anyway. Change-Id: If4b47f749275a9d3d663f61872f448e01112f6b5 Reviewed-on: https://gerrit.libreoffice.org/20361 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-12-03uno::Sequence->std::vectorNoel Grandin
Change-Id: Icbbf540e00be3baf222309a00b153cb34879dfd7
2015-12-03use comphelper::containerToSequenceNoel Grandin
Change-Id: Ibd3e5a2c465f74577f2acf93dc3558bca3a323fb
2015-12-02tdf#92925 Remove XPM exportBryan Quigley
XPM was used to create icons but isn't used much anymore. Import supoort was tested and still works. Change-Id: I50b15bc0938c114a432e93781a92e9db38810f49 Reviewed-on: https://gerrit.libreoffice.org/20341 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-12-02tdf#92925 Remove RAS exportBryan Quigley
RAS was last used on Sun's now defunct SunOS. Import was tested and still works. Change-Id: I9fb9b7965279391922f19ec1f9e4a53134d41f5c Reviewed-on: https://gerrit.libreoffice.org/20342 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-12-01tdf#92925 Remove PCT export Bryan Quigley
Mac PICT was replaced (by PDF) after Apple moved from Mac Classic. I tested import and it still works Change-Id: I931036d3946240280d406bd4abbcef6e0f86d894 Reviewed-on: https://gerrit.libreoffice.org/20029 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
2015-12-01tdf#63324: Fix convert for svg filterJulien Nabet
If no currentFrame, it means we are in headless case Change-Id: I840a9085417451fa1d4c0bd8311408357a8f60e9 Reviewed-on: https://gerrit.libreoffice.org/20268 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-12-01tdf#96046 SVG: Fix problem when percentage depends ...Xisco Fauli
... on its parent's viewbox Change-Id: I1cf6327c0886c7d417923e90b7ffb60269e75147 Reviewed-on: https://gerrit.libreoffice.org/20214 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-11-30Removed unused code found by cppcheckPaolo Bernardi
Change-Id: I495c40af12a0f16b7f1b13736405489677b582af Reviewed-on: https://gerrit.libreoffice.org/20304 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
2015-11-30loplugin:unusedfieldsNoel Grandin
Change-Id: Icac4ac1a2614e72bc9ff070819533e09eeb1a864
2015-11-29Fix the PreferredFilter entry of writer_MWStyleMaxim Monastirsky
To silence this thing: warn:legacy.osl:899:1:filter/source/config/cache/filtercache.cxx:1257: error: The type "writer_MWStyle" points to an invalid filter "Style (v1)". Change-Id: If4c01a6a63391e21fd132ba07b05f94bb2679ee4
2015-11-29enable new file formats supported by libmwaw-0.3.7osnola
Change-Id: I03d0f112f74dce6c307258d9765281d91cdd3a03
2015-11-28svg-export: text animation didn't work - fixedMarco Cecchetti
That was due to 2 problems: - The namespace for an animation attribute was wrong - For debug build the bullet placeholder is not the first child Change-Id: If10c362f6fcffd4a05164cc5ca3ff6cacf5c28c1 Reviewed-on: https://gerrit.libreoffice.org/20238 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2015-11-28svg-export: slide transition did not work - fixedMarco Cecchetti
Slide transition didn't work anymore since the attribute parsing did not take into account the smil namespace prefix. Change-Id: I779f6408b1eac964f934019d219dc4111debe592 Reviewed-on: https://gerrit.libreoffice.org/20237 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2015-11-28svg-export: animation sequence was wrongMarco Cecchetti
Animation sequence was wrong due to the priority queue and related compare functions implementation. Change-Id: I359abd087e922ffa0aa4f7770fcc0c9bdb029843 Reviewed-on: https://gerrit.libreoffice.org/20236 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2015-11-28svg-export: now animation elements are exported with namespaceMarco Cecchetti
For debug build an assertion failed because of presentation, smil and anim namespaces were not registered before exporting. The JavaScript engine has been modified in order to handle qualified animation elements and attributes. Change-Id: I2415fd59c2d1afddb1c68b708feb62e446ea5252 Reviewed-on: https://gerrit.libreoffice.org/20235 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2015-11-28svg export: fixed issue about text fields and shape bounding boxMarco Cecchetti
- issue: text fields were not displayed; this happened for debug build only: the problem was due to 2 facts: 1) the last fix for text decoration which changes the order in which tspan and desc elements are exported; 2) a workaround implemented for fixing the fact that date/time fields were not exported correctly when positioned chars are used (see commit c0a08eab). - issue: text fields were no more aligned correctly: this was due to the fact that the rect element representing the bounding box of the exported shape is not exported any more: I suspect that the rectangle was present in the generated GDIMetaFile representation of the exported shape. Change-Id: I3cd7b0d3a7f2bde8bfd8b933297cbdd7b90e6567 Reviewed-on: https://gerrit.libreoffice.org/20234 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2015-11-28tdf#95356: unit test about text decorations for svg exportMarco Cecchetti
1) Fixed the trailing space issue in text decoration attribute value. 2) Changed the SVG export suite in order to make it more reusable for other tests. 3) Added a unit test for testing that text decorations are exported correctly. Change-Id: I2bd71974242a0007726fbdd5ef5637a9ec62fd47 Reviewed-on: https://gerrit.libreoffice.org/19870 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2015-11-27tdf#96046 SVG: use the same PPI as in svgioXisco Fauli
Change-Id: I211dcc6fb242cfbd05636d42a811523de8e83be6 Reviewed-on: https://gerrit.libreoffice.org/20182 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Armin Le Grand <Armin.Le.Grand@cib.de>
2015-11-26tdf#96046 SVG: Parse 'em' and 'ex' units correctlyXisco Fauli
the problem is that real_p parses the 'e' in 'em' and 'ex' as the exponential operator instead of as a str. Change it to parse sequencies like: (11) (1.1) (1,1) (.1) (,1) (1.) (1,) but now the parser returns a std::string so we need to convert it to double, and make sure the commas are converted to dots too. Change-Id: I913be7975e7db1be4773f528fd0d586db67c9461 Reviewed-on: https://gerrit.libreoffice.org/20181 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-11-25loplugin:unusedfields variousNoel Grandin
Change-Id: I59d9f7f73677358b4ae57efda965d43718bdf0d5
2015-11-24filter: fix DrMemory/valgrind warnings in PPT paragraph importMichael Stahl
various uninitialized variables in CppunitTest_sd_filters_test hang-8.ppt Change-Id: Id0b9f146a7ab8b5bb2b36a5c2a39d65ee52e122d
2015-11-24loplugin:unusedfields in include/filter/Noel Grandin
Change-Id: Id79bc51ba273746873a1381243b2c1d32711bbb4
2015-11-23establish that Virtual Devices either match Physical Device depth or ...Caolán McNamara
are 1 or (rarely) 8 bit and lock that down. Change-Id: I3d946ebef34ffb71c5adea7aa420af50e9584e05
2015-11-20loplugin:unusedfields filterNoel Grandin
Change-Id: I6c049c5318b71c48cd4e64d2b051035012dc11e4
2015-11-20Seems more natural to pass a homogenous list by initializer_listStephan Bergmann
...than by template parameter pack (even if that requires using ServiceDecl*, as initializer_list cannot take reference types) Change-Id: Ia986201b52d8daedfe925f132ebc79bc2c0ba378
2015-11-20loplugin:sallogareasStephan Bergmann
Change-Id: Ib1f06cb5f925535858bc14aab6f59ad7fd2a3a8d
2015-11-19loplugin:sallogareasStephan Bergmann
Change-Id: I2220ab194384fb397716bf3227d38716ba54f537
2015-11-19use comphelper::containerToSequenceNoel Grandin
Change-Id: I223ff4af01ab2da92da0c26d32457204a5008c4a
2015-11-18editeng: wrong default item for EE_PARA_FORBIDDENRULESMichael Stahl
Change-Id: Idad6192fd1e3049913fac3dd906264fde6d1914e
2015-11-18editeng: wrong default item for EE_PARA_HANGINGPUNCTUATIONMichael Stahl
Change-Id: Ib23b5847625964c701bda23d7c58ad32c6024c9b
2015-11-17Don't assume sal_Unicode is unsigned shortStephan Bergmann
Change-Id: I1bf672c3d3c47b82906a0c755a6dd8e55dc48f88
2015-11-17Add SvStream::ReadUtf16 (don't assume sal_Unicode is unsigned short)Stephan Bergmann
Change-Id: I74f34e3389582617fa83f8f4a3d6867cf87189e1
2015-11-17instead of converting from std::string to OUString...Xisco Fauli
... use OUString directly Change-Id: Ibdf863d7dbbb578e7fe87eac51e3d773a5b05199 Reviewed-on: https://gerrit.libreoffice.org/20009 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-16no need to take a mutex when only dealing with stack-local dataNoel Grandin
Change-Id: Ie45e626aad55a8174a53b769a98601bf54dedf65 Reviewed-on: https://gerrit.libreoffice.org/19979 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-16use initialiser list for Sequence<OUString>Noel Grandin
Change-Id: Ia5e47261d1fc6fac2d046656c05a1c5eedb07e02 Reviewed-on: https://gerrit.libreoffice.org/19978 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-15tdf#43257 SVG: Id value can contain other characters than alphanumericsXisco Fauli
Ie: "graph-1", "graph_1", "graph.1", etc... Besides, modify !( str_p("'") | str_p("\"") ) condition as the 'fill' attribute can be defined as fill="url('#graph1')" but not as fill="url("#graph1")" Change-Id: I7fb2c5b61487214ab02b207ad64d29bb2a1e107a Reviewed-on: https://gerrit.libreoffice.org/19961 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-11-15use initialiser for Sequence<OUString>Noel Grandin
using variations of: git grep -lP 'Sequence.*OUString.*\(\s*1\s*\)' | xargs perl -0777 -pi -e "s/Sequence<OUString> (\w+)\(1\)\; \s*OUString\* pArray.*; .*\[0\]\s*=\s*(\S+)\;/Sequence<OUString> \1 { \2 };/g" Change-Id: I03c64334ff30ee14dce0d17b67f5122a3893bbe3 Reviewed-on: https://gerrit.libreoffice.org/19971 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-15use initialiser for Sequence<OUString>Noel Grandin
performed using: git grep -lP 'Sequence.*OUString.*\(1\)' | xargs perl -0777 -pi -e "s/Sequence<OUString> (\w+)\(1\); .*\[0\] = (\S+);/Sequence<OUString> \1 { \2 };/g" Change-Id: I4da56c80fa09bfc1e8f868794001e9921431e09f Reviewed-on: https://gerrit.libreoffice.org/19968 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>