summaryrefslogtreecommitdiff
path: root/filter
AgeCommit message (Collapse)AuthorFilesLines
2013-06-07share spPaperSizeTable ( and associated access code ) in msfilterNoel Power2-0/+155
PageSetup.PaperSize implementation more or less copy&pasted the papersize conversion code from oox, this is a followup to remove the duplication. ( Probably the binary filter could be converted to use this also saving yet another nearly similar implementation ) Change-Id: I479f0322163161f7819c5d650a9511910ac2e781
2013-06-04bnc#823049 #i119872# Fixed import of custom shapes from PPT.Andre Fischer1-11/+12
Reported by: Li Feng Wang Patch by: Jianyuan Li Review by: Andre Fischer (cherry picked from commit 5278c7770a350771a96780c0e0d7a0bdae0d55b9) Signed-off-by: Miklos Vajna <vmiklos@suse.cz>
2013-05-15fdo#64586: Fix incorrect import non-empty placeholders.Jan Holesovsky1-1/+1
Change-Id: Ibcb61dfa12c67fd9f93713ba7eb93f947b122f07
2013-05-13bnc#758621: Set the attribs for the entire para if a placeholder.Jan Holesovsky1-0/+8
Setting attributes for empty paragraphs does nothing, we have to apply it to the style directly. Change-Id: Id2a63c961e408906fa7c6457091405692262c6b7
2013-05-13bnc#758621: Kill unused aPlacementId, it is never set.Jan Holesovsky2-4/+0
Based on work of Felix Zhang <fezhang@suse.com>, thank you! Change-Id: I733a2b69d01f86bcaf0fa401671d475d9b4641a6
2013-05-13Revert "bnc#758621: show preset texts in slide placeholder."Jan Holesovsky1-1/+1
This reverts commit 27a5c5c0c776d62cc219c2505e2df88ee1905a84. Mid-air collision :-) I've been working on an improvement based on this patch when Muthu pushed it - the following commits are based on the Felix's work, thank you Felix!
2013-05-10bnc#758621: show preset texts in slide placeholder.Felix Zhang1-1/+1
2013-05-09n#699334: Legacy diagram import (PPTX).Muthu Subramanian2-2/+33
Minimalistic implementation. Had to rework on some parts because of the rebasing. Conflicts: filter/inc/filter/msfilter/msdffimp.hxx filter/source/msfilter/msdffimp.cxx Change-Id: Ic5710e523bde782ecbd8222ec53d99c7f6d2d432
2013-05-01Merge tag 'libreoffice-4.0.3.2' into suse-4.0Petr Mladek2-9/+72
Tag libreoffice-4.0.3.2 Conflicts: basic/qa/cppunit/test_vba.cxx basic/source/runtime/step2.cxx dictionaries helpcontent2 instsetoo_native/util/openoffice.lst libvisio/UnpackedTarball_visio.mk sc/source/ui/vba/vbaapplication.cxx sc/source/ui/vba/vbavalidation.cxx solenv/inc/minor.mk sw/qa/extras/ooxmlimport/ooxmlimport.cxx translations Change-Id: Ic1f06489175f3db92d6bbcebb9732fadc1c61fed
2013-04-25fdo#62834 - svg export: close stray trailing tspans if we have them.Michael Meeks1-0/+1
Change-Id: Ifc539e3229edd14b7291ee66bf3523cbdbedf2ef Reviewed-on: https://gerrit.libreoffice.org/3607 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-25fdo#42939 - write svg line widths for META_POLYLINE_ACTION.Michael Meeks2-1/+13
Change-Id: Ib282a3db6ecb5c7d1d4117e1bb48920ee7b2f562 Reviewed-on: https://gerrit.libreoffice.org/3606 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-13fdo#47018 Impress crashes when modifying bulletCao Cuong Ngo1-3/+4
Default numbering rules shouldn't be left zero nor hard-coded. Reviewed-on: https://gerrit.libreoffice.org/3312 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com> (cherry picked from commit 5785db93c5739846fb0a84b138be485044d4bda5) Conflicts: sd/source/core/drawdoc4.cxx sd/source/core/stlpool.cxx Change-Id: I8a34331006abf3de8c170f8dca43ccf9cec92f04
2013-04-03add missing header fileAndras Timar1-0/+1
(cherry picked from commit 6bbd433294d598eca5feb3f1e8264e6b7a816396)
2013-03-14i#119870: Line transparency value is lost after saving as another ppt by AOOJürgen Schmidt1-0/+9
fix: export linetransparency attribute Patch By: Lei Debin Found By: phoenix wanglf Review By: jsc Change-Id: I56a589036d1e4e2399f5a1a94283ebd4ce2126f0 (cherry picked from commit b82ed78c88b368747be8baccda76733a3bdfe591) Reviewed-on: https://gerrit.libreoffice.org/2727 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-14i#119478# Fixed application of transparency to table cells.Andre Fischer1-6/+2
Patch by: Lei Debin Change-Id: I3bdd190c40e2e58f53b7b4f58e99a1f9f19bf580 (cherry picked from commit 87354e7fc1f63480bdef092047f912682bc7ac58) Reviewed-on: https://gerrit.libreoffice.org/2725 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-03-13Resolves: #i120773 Numbering lost when saving or opening a ppt fileZhe Wang1-0/+57
* subversion/main/editeng/inc/editeng/svxenum.hxx Define some numbering types supported by MS ppt * subversion/main/filter/source/msfilter/svdfppt.cxx Mapping added MS numbering types to Symphony numbering types * subversion/main/sd/source/filter/eppt/epptso.cxx Export added MS numbering types Patch by: Yin Bing <steve.yin.aoo@gmail.com> Suggested by: Wang Zhe <kingwisemmx@gmail.com> Found by: Yin Bing <steve.yin.aoo@gmail.com> Review by: Wang Zhe <kingwisemmx@gmail.com>(cherry picked from commit 39e9cae1ac9b7944c9df0642a193b042a1b68266) Signed-off-by: Fridrich Štrba <fridrich.strba@bluewin.ch> Conflicts: editeng/inc/editeng/svxenum.hxx sd/source/filter/eppt/epptso.cxx Change-Id: Ic8a9406fd1b58e5cec5c5adc28bf0190ccb87315 (cherry picked from commit ef23b47e887908161d980f3e6f6d321f18acca77) Reviewed-on: https://gerrit.libreoffice.org/2692 Reviewed-by: Radek Doulík <rodo@novell.com> Tested-by: Radek Doulík <rodo@novell.com>
2013-03-08Resolves: #i119513# fix loading of CMYK JPEG in PPT importHerbert Dürr1-0/+2
Patch By: Lei Debin Found By: bjdujing@gmail.com Extended for better Debug Info by: Herbert Duerr Conflicts: filter/source/msfilter/msdffimp.cxx (cherry picked from commit 393ca6dde9de8f66ed55dc5d0a7885ad06f22301) Conflicts: filter/source/msfilter/msdffimp.cxx Change-Id: Ibb2e7daae425a711b5b6cadfa81446e9adeb68f1 Reviewed-on: https://gerrit.libreoffice.org/2584 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-02-28fdo#61507 import/export RTF_UPR and RTF_UDMiklos Vajna2-8/+62
In short, these commits make the RTF filter import and export unicode characters in document title properly. Previously we failed to import such files from Word, and the export result caused problems in Wordpad (Word handled it fine). (cherry picked from commits 0805b222f87bf99ec0c53ca678d1c670eb5293a2, 3a934d928e455eca38f124072c20a624a64aa225 and 5de52551a963b932cc23c2ea75f709fa1924520b) Change-Id: Ic9417d0f23d44149acb3ae3dc9d4c281058a1b36 Reviewed-on: https://gerrit.libreoffice.org/2436 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2013-02-15filter: svg: optimizeGradientStops: fix STL assertionMichael Stahl1-1/+5
Check that there is actually more than one element in maStops before tweaking its first 2 elements (can be reproduced with fdo#60471 Tux.svg) Change-Id: I7e6ffdf510bb590a9ea9e3782b30247b8fb46ed5 (cherry picked from commit 2f4bd9d44f8bc9e50cd4b1205fa53e0a15ce0954) Reviewed-on: https://gerrit.libreoffice.org/2139 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-02-12fdo#60703: MSDraw filter: fix import of flagsMichael Stahl1-1/+2
DffPropSet::IsHardAttribute needs to handle flag properties specially (regression from 44cfc7cb6533d827fd2d6e586d92c61d7d7f7a70) Change-Id: If5c6b9cfac58a787527cd132f7fc80d392b8e677 (cherry picked from commit 658c35878c14044029ca7f708fbde32b98cb226a) Reviewed-on: https://gerrit.libreoffice.org/2114 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-02-07export/import anchoring for xls(x) drawing ( & ole ) objects fdo#58360Noel Power1-1/+2
this patch rolls up the following commits I8f12ce4fedd3da76bab683ac85169186deeb89dc 55f0c9e03250cf7563b37de9953fe239dceb4ba3 1f41546e5786dbd0a248c67ba4f1cba409fe05a6 Change-Id: I8f12ce4fedd3da76bab683ac85169186deeb89dc Reviewed-on: https://gerrit.libreoffice.org/1877 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-02-06bnc#437516: Hide minimum password info in the password dialog.Kohei Yoshida1-0/+1
When launching it from the Security tab of the PDF Options dialog during PDF export. Change-Id: Ife2d3a7b508ba2e077018d11478ad680d18d3f0d Reviewed-on: https://gerrit.libreoffice.org/1946 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-02-05fdo#59426: Don't try to repair package during flat detection phase.Kohei Yoshida1-0/+2
Change-Id: I35968241a79db0aabe06e25c0efac2aa3d1c5b84 Reviewed-on: https://gerrit.libreoffice.org/1984 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-02-05make translatable a few more ui stringsAndras Timar1-6/+6
Conflicts: cui/uiconfig/ui/customize.ui Change-Id: I0a10cbb7eab77d215c15592a2121b65f1c9f3732 Reviewed-on: https://gerrit.libreoffice.org/2001 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-01-28unify the spelling of 'Kazakh' language nameAndras Timar1-1/+1
While 'Kazakh' can be written as 'Kazak' or 'Qazaq', the 'Kazakh' form is the most widespread according to online sources (Wikipedia, LCID list from Microsoft). Also the 'Kazakh' form is preferred by a Kazakh contributor, see http://listarchives.libreoffice.org/global/l10n/msg05444.html In LibreOffice both 'Kazak' and 'Kazakh' was used at different places. Change-Id: Ief83eb05e92af16cb5b795f2bbb1e3d6f7c9659a Reviewed-on: https://gerrit.libreoffice.org/1876 Tested-by: Eike Rathke <erack@redhat.com> Reviewed-by: Eike Rathke <erack@redhat.com>
2013-01-25fdo#58204: PPT export: fix text rotation in shapes:Michael Stahl1-1/+3
EscherPropertyContainer::CreateTextProperties: do not write ESCHER_Prop_txflTextFlow for custom shapes. This happens to export the rotation properly for the WW8 bugdoc of n#404221, as well as the PPT at fdo#58204 and both PPTs at fdo#34897, one of which (mangle.ppt) was not handled properly on master currently. The author disclaims having any actual knowledge about rotation properties in MSO files. (regression from 24dd42f316e5cb16ba726c05ba486d53e033052d) (cherry picked from commit 2823789bec0c029d9714aff0ed65923e23177ef9) Conflicts: filter/source/msfilter/escherex.cxx Change-Id: Id3dcfb6221d031cdabb7f543b68752b467d9e1a6 Reviewed-on: https://gerrit.libreoffice.org/1862 Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2013-01-08Make LO buildable again after the GraphicFilter move.Jan Holesovsky22-24/+25
Conflicts: svtools/Library_svt.mk q# Change-Id: I3455a7294b136400f32163626d5a7a7f2bfa898c Signed-off-by: Cor Nouws <oolst@nouenoff.nl> Signed-off-by: Olivier Hallot <olivier.hallot@documentfoundation.org> Signed-off-by: Adolfo Jayme Barrientos <fitoschido@ubuntu.com> Signed-off-by: Michael Meeks <michael.meeks@suse.com>
2012-12-29rethink external executable setupDavid Tardon2-3/+3
Change-Id: I5293fea9b5404b82e72761407d325c408a2e45ca (cherry picked from commit bbf2f413958e7be2bef34c62932fc76f83e7ed18) Signed-off-by: David Tardon <dtardon@redhat.com>
2012-12-13Resolves: fdo#53471 Remove save to Office 6.0/95 formatsBryan Quigley6-6/+6
(cherry picked from commit 664d465a4b0f02200748067c0693eb95444174d4) Change-Id: Ifeeb85afbd2531be772e27e10c6283158f0dac09 Signed-off-by: Caolán McNamara <caolanm@redhat.com>
2012-12-11fdo#57254: XHTML export: hidden text should not be visibleArne de Bruijn1-1/+1
Change-Id: I7bcad8ba3dd84974a997849347965d7e43f1922a (cherry picked from commit 23dee56dca5cbbed4cf97180b8dcfe12a6a8fa8f) Signed-off-by: Michael Stahl <mstahl@redhat.com>
2012-12-03fdo#57215: Fixed wrong text rotation in SVG ExportHoracio Fernandes1-0/+21
Added text rotation to "non-positioned characters" in SVG Export. Change-Id: I831644329625fa74e5a2436096d26ec22d8b0319 Reviewed-on: https://gerrit.libreoffice.org/1227 Reviewed-by: Petr Mladek <pmladek@suse.cz> Tested-by: Petr Mladek <pmladek@suse.cz>
2012-12-02move setting up of ext. executables out of gbuild.mkDavid Tardon2-6/+7
Change-Id: Icacd44abfa5bf5f75f0ee719b39fba6821976a8a
2012-11-30Revert "filter: try to use the Python implementation of FCFGMerge"Markus Mohrhard1-0/+5
This reverts commit ebb4150463ef97571d8f4ffc0b8189ff94d5cf1a.
2012-11-30filter: try to use the Python implementation of FCFGMergeMichael Stahl1-5/+0
... seems to work here, and if nobody complains about broken filter configurations we can remove the Java FCFGMerge implementation. Change-Id: I0cf2de604bb9c34678174bdf951e70d499ea7df1
2012-11-30filter: add missing dependencies on pythonMichael Stahl2-2/+5
Change-Id: Ibaf38ad8000f7c4276aed91250c4bff1c78dd091
2012-11-30c++ API: use css alias in generated headers, adds global css declThorsten Behrens19-54/+0
This changes all generated API headers (.hpp and .hdl) to use a namespace alias 'css' instead of the pointlessly long com::sun::star Makes the change in cppumaker & associated tools, adds a global namespace alias definition in sal/types.h, and removes a kiloton of local, now pointless-to-harmful versions of that alias from all over the code. Change-Id: Ice5a644a6b971a981f01dc0589d48f5add31cc0f
2012-11-29fix fdo#57647 intradocument xrefs broken in xhtmlPeter Jentsch1-1/+4
Change-Id: Idce1f295dbf74eb3f02da1f32f290c20126c516b
2012-11-29fix fdo#57641 table alignment broken in XHTML exportPeter Jentsch1-2/+10
Change-Id: Ibbb88c1ecaaac14866145753e383609db2a3dd1a
2012-11-29Isolate PDF Import so it can be made optionally installableStephan Bergmann2-92/+7
...which can be attractive for installation sets that use --with-system-poppler but do not want the LO core package to depend on a poppler package. See the comment at the top of scp2/source/ooo/module_pdfimport.scp for details. The build-time --disable-pdfimport configure switch is gone, PDF Import is built unconditionally for all platforms but Android and iOS now. (The ENABLE_PDFIMPORT variable now uses TRUE/FALSE rather than YES/NO, to increase consistency across those variables.) Change-Id: I6509d0b2e770b276cd54540408fb1ec5a7dda058
2012-11-28fdo#34897 numbers were wrong, code unnecessaryLennard1-8/+2
Text flow is perhaps not intended to specify rotation, created data may misbehave on other applications, and there is no reason for this unnecessary special case. (Especially obvious because there is no text flow that causes 180 deg rotation.) Theoretically, you could delete all three if-cases as in the earlier version of this patch, but that ?could? come at the cost of backwards compatibility. Change-Id: I0b1cac78e549c2126d7e45298629e28fc76ac95d Signed-off-by: Lennard <Wasserthal@nefkom.net> Reviewed-on: https://gerrit.libreoffice.org/1165 Reviewed-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr> Tested-by: Bosdonnat Cedric <cedric.bosdonnat@free.fr>
2012-11-28fix fdo#40097 - Cross-references and TOC links broken in XHTML exportPeter Jentsch2-2/+2
Change-Id: I90bd2a8d5f788350f8f2bc8c443776e6598624b4
2012-11-27drop empty make ruleCaolán McNamara1-5/+0
Change-Id: I95b8c28a5f7ad7de8b51096fb44f98b48042ca8a
2012-11-27removed obsolete xml validation service and xml source view.Peter Jentsch32-808/+27
Change-Id: I637531c09b391ef458ae6395518129d981662ff2 Reviewed-on: https://gerrit.libreoffice.org/1166 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2012-11-27re-base on ALv2 code. Includes:Michael Meeks1-2/+1
Patch contributed by Christian Lippka impress212: #i113063# patch: dubios self assign in svx/source/dialog/framelink.cxx http://svn.apache.org/viewvc?view=revision&revision=1167619 Patches contributed by Mathias Bauer gnumake4 work variously http://svn.apache.org/viewvc?view=revision&revision=1394707 http://svn.apache.org/viewvc?view=revision&revision=1394326 cws mba34issues01: #i117712#: fix several resource errors introduced by IAccessible2 implementation http://svn.apache.org/viewvc?view=revision&revision=1172343 cws mba34issues01: #i117719#: use correct resource ID http://svn.apache.org/viewvc?view=revision&revision=1172351 Patch contributed by Andre Fischer Do not add targets for junit tests when junit is disabled. http://svn.apache.org/viewvc?view=revision&revision=1241508 Patches contributed by Armin Le-Grand #118804# corrected GraphicExporter behaviour on shortcut when pixel graphic is requested http://svn.apache.org/viewvc?view=revision&revision=1240195 fix for #118525#: Using primitives for chart sub-geometry visualisation http://svn.apache.org/viewvc?view=revision&revision=1226879 #118485# - Styles for OLEs are not saved. http://svn.apache.org/viewvc?view=revision&revision=1182166 #118524: apply patch, followup fixes to 118485 http://svn.apache.org/viewvc?view=revision&revision=1186077 13f79535-47bb-0310-9956-ffa450edef68 Patch contributed by Regina Henschel linecap: Reintegrating finished LineCap feature http://svn.apache.org/viewvc?view=revision&revision=1232507 Patch contributed by Wang Lei (leiw) #i118760# split the first table cell vertically, then undo&redo, the Presentation app will crash http://svn.apache.org/viewvc?view=revision&revision=1301361 cleanup globlmn hacks, undo dependent fixmes.
2012-11-27Switch from python to python3Michael Stahl1-1/+1
Mac specific parts of patch by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Change-Id: I90ef17c6f5a678230539a80ab999fa5344e4fc8f
2012-11-26fdo#56598 - no whitespace after section numbers in XHTML exportPeter Jentsch1-1/+19
Change-Id: I437b936e37ab577f29736bf413312ba9af393987
2012-11-26fdo#57575 (xhtml hairline borders), fdo#57538 - xhtml right just borders.Peter Jentsch1-5/+6
Change-Id: I9788e80829e4e9af17b4e2fd203849ca0b5e9899
2012-11-26Add Emacs mode linesTor Lillqvist33-0/+33
Change-Id: I01be3f5438ccbe5afc0b35bbb44911d665cc19d0
2012-11-26More DISABLE_EXPORT tweaksTor Lillqvist3-14/+17
Change-Id: I23652e60de720af4da13f29f221001813b927eb2
2012-11-26fix fdo#56596 - FILESAVE: huge excesses of white space in xhtml...Peter Jentsch2-4/+9
Change-Id: Ideb395c1f1bc22d5b23d1c949ec6221e04590a2e