summaryrefslogtreecommitdiff
path: root/oox/source/ppt
AgeCommit message (Collapse)Author
2014-04-23oox: sal_Bool->boolNoel Grandin
Change-Id: Icddec34e91305cfc3f9d852472bb86eab4d8cb26
2014-04-21coverity#735765 Unchecked dynamic_castMiklos Vajna
Change-Id: I4a1bf64267d36ff4b3b7cf0ba2cc23c52ec2d36e
2014-04-19coverity#735764 Unchecked dynamic_castMiklos Vajna
Change-Id: Ic7dc70c1052f5ab04a3e1795549ca43e2e0f2587
2014-04-17-Werror,-Wimplicit-exception-spec-mismatchStephan Bergmann
Change-Id: I6e93180cbc980438e47ee24735de1fb9758b7add
2014-04-17coverity#1202900 Uncaught exceptionCaolán McNamara
Change-Id: I53e7bd12701ca4d30fdbf36fe525076d53f86edc
2014-04-14Clean up function declarations and some unused functionsStephan Bergmann
Change-Id: I2f5b3144e8d4ce3e497a030aa102985c3bc81645
2014-04-03oox: sal_Bool->boolNoel Grandin
Change-Id: Ia05b3210314c39db5110eded731f2be4b7405e87
2014-04-01Explicitly mark overriding destructors as "virtual"Stephan Bergmann
It appears that the C++ standard allows overriding destructors to be marked "override," but at least some MSVC versions complain about it, so at least make sure such destructors are explicitly marked "virtual." Change-Id: I0e1cafa7584fd16ebdce61f569eae2373a71b0a1
2014-03-27Second batch of adding SAL_OVERRIDE to overriding function declarationsStephan Bergmann
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: Ie656f9d653fc716f72ac175925272696d509038f
2014-03-17oox: prefer passing OUString by referenceNoel Grandin
Change-Id: Iace276878e7ae668bba5bb6e36af1e5d5d72d6cb
2014-03-11"overflow" is one wordTor Lillqvist
Change-Id: Ib36c2c5d55f86aff27081a0da554f6e8a81474ee
2014-03-04remove the inheritance to std::map in PropertyMapMarkus Mohrhard
Change-Id: Iaaf5b7ab47ffa151cd7c8ea376763d02c883f377
2014-03-02make more places aware of OOXML strict relationsMarkus Mohrhard
Change-Id: I292217537eb592cbad9af11f87402baa9f4cc442
2014-02-26cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-23Remove unneccessary commentsAlexander Wilms
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-06typo fixes in commentsAndras Timar
Change-Id: Idd49478d59cd062118fbf8e99d1c8bc5250013fc
2014-02-06rhbz#1017379 do not remove too much from the pathDavid Tardon
Change-Id: Ibffa7f2fbe91be9b95217ce36999e286ef444a37
2014-01-28bool improvementsStephan Bergmann
Change-Id: I171212bbfc2f54a16b5669ab4401a3168e7f0552
2014-01-16Resolves: #i119578# Lighten special effect in .PPTX won't displaySteve Yin
(cherry picked from commit 641aa4b583e27369b404584d094e0758a93ce5b5) Change-Id: I27a0503036087febc7f838dab4c2201eb0593d5c
2014-01-14Be explicit when using bool as integral valueStephan Bergmann
Change-Id: Ib9810cbc96fab5218a497985aac80cbd7c0c188d
2014-01-14Related: #i119844# align from/to types with DFF_msofbtAnimateRotationDataCaolán McNamara
Change-Id: I43bf12b69892614a6054a14de76bbbd4e46c2ee9
2014-01-14Resolves: #i119844# Spin effect amount property lost when saving pptx to odpSteve Yin
(cherry picked from commit a7eedd28dd66cec1a668c3df6a8568dcad0f858f) Change-Id: Ia2b46f4b35fc90723570b7f8bfb82c101279eb9d
2014-01-07remove unnecessary sal_Unicode casts in OUStringBuffer::append callsNoel Grandin
Convert code like: buf.append( static_cast<sal_Unicode>('!') ); to: buf.append( '!' ); Change-Id: Iacb03a61de65a895540940953b49620677b3d051
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-11-26fdo#71434: don't show master text if PlaceHolder types definedKorrawit Pruegsanusak
I've added all of valid PlaceHolder types from http://www.schemacentral.com/sc/ooxml/t-p_ST_PlaceholderType.html Change-Id: I038fe43ff83699f92ff5eb9945bce12540058478 Reviewed-on: https://gerrit.libreoffice.org/6814 Reviewed-by: Muthu Subramanian K <muthusuba@gmail.com> Tested-by: Muthu Subramanian K <muthusuba@gmail.com>
2013-11-11convert OUString compareToAscii == 0 to equalsAsciiNoel Grandin
Convert code like aStr.compareToAscii("XXX") == 0 to aStr.equalsAscii("XXX") which is both easier to read and faster. Change-Id: I448abf58f2fa0e7715dba53f8e8825ca0587c83f
2013-10-23fixincludeguards.sh: ooxThomas Arnhold
Change-Id: Ibc1fb5c149461d6030749a974c6d37aa11ad0e16
2013-09-16Related bnc#819614: Set the position and name immediately.Jan Holesovsky
Change-Id: I4c1046040f52e261004df95125b53e42dc8fca4b
2013-09-16Related bnc#819614: The diagram is a group.Jan Holesovsky
It is not really desired to import diagrams broken into individual objects; makes trouble with the hieararchy, and also the user wants to see it as a group - can be ungrouped for modifications easily. Change-Id: I0533a69af9e377804bf0e06b2ce873fd0c9bde02
2013-09-13Avoid crash when a comment contains data, but no textKatarina Behrens
calling back() on empty vector results in undef behaviour Crash originally reported here: http://lists.freedesktop.org/archives/libreoffice/2013-September/055827.html Change-Id: Ibefdc7e2495fc31d748c16fedd3cee5eb957bfa2
2013-08-21finish deprecation of O(U)String::valueOf()Luboš Luňák
Compiler plugin to replace with matching number(), boolean() or OUString ctor, ran it, few manual tweaks, mark as really deprecated. Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
2013-07-08-Werror,-Wheader-guard (Clang trunk towards 3.4)Stephan Bergmann
Change-Id: I6da069a27d569e4b28c0a8fe783616c767c108d0
2013-06-28MSVC build fixesTor Lillqvist
Change-Id: I189fe3635f94fdd6b91bd7930c7abf02e70368aa Reviewed-on: https://gerrit.libreoffice.org/4581 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-06-28Convert all ContextHandler-derived clases over to ContextHandler2Tor Lillqvist
Change-Id: I81f54e3b7d29a0807ec4c2f082ae00fd6e1d6138 Reviewed-on: https://gerrit.libreoffice.org/4580 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-06-28Further MCE workTor Lillqvist
As it is wrong (says Thorsten) to override the methods from XFastContextHandler in ContextHandler2 in its derived classes, mark them with SAL_FINAL to catch that (when compiling with a compiler thaty supports "final"). Do corresponding changes then; change createFastChildContext() methods to onCreateContext() ones instead. Now the unit tests work, and a sample PPTX that uses embedded OLE thingies loads without crash, but unfortunately it looks like crap... Change-Id: Ie30022f37418ba9caf8ce59fe4003b808fa900f3 Reviewed-on: https://gerrit.libreoffice.org/4578 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-06-28More OOXML Markup Compatibility and Extensibility (MCE) supportTor Lillqvist
Change many classes in oox to be based on ContextHandler2 instead of ContextHandler. That supposedly adds MCE support. This is a minimal initial effort. It compiles and links but doesn't work (CppunitTest_chart2_export fails). Follow-up coming... Change-Id: If89117abd48cfead468633fd7fce1ea785f6f420 Reviewed-on: https://gerrit.libreoffice.org/4577 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-06-17fdo#43460 oox: use isEmpty()Jelle van der Waa
Change-Id: If291a72d87001932c605755d628cecc088d50275 Reviewed-on: https://gerrit.libreoffice.org/4324 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2013-06-03Revert "fdo#46808, Convert oox::PowerPointExport service to new style"Stephan Bergmann
This reverts commit 02021163dbbcc8904da0b2138c8b53684dcc8ab4. The filter appears to be split in two (com.sun.star.comp.oox.ppt.PowerPointImport implementation oox::ppt::PowerPointImport from include/oox/ppt/pptimport.hxx for im-/export, for export calling com.sun.star.comp.Impress.oox.PowerPointExport implementation PowerPointExport from sd/source/filter/eppt/epptooxml.hxx) for no good reason, so the com.sun.star.oox.PowerPointExport new-style service is supporting a hack that should rather be cleaned up. Conflicts: offapi/UnoApi_offapi.mk Change-Id: I875192a68a8e3458dbfd74b4981a6a2e86ce44d7
2013-05-24WaE: implicit conversion of NULL constant to nullptr_tTor Lillqvist
Change-Id: I2eefbca1ef986219f04504cba4ca09a22972e8cb
2013-05-21fdo#46808, Convert oox::PowerPointExport service to new styleNoel Grandin
The service already existed, it just needed an IDL file Change-Id: I1404f4f60abafd489ddfb7294affcc7ff33885ce
2013-05-21fdo#46808, Remove unnecessary XMultiServiceFactory memberNoel Grandin
.. and associated methods Change-Id: Iec01b4615decc1616e405166088d7d1d844ac0ae
2013-05-15Fix fdo#64579 Don't assume dsp:dataModelExt has valid DrawingML.Thorsten Behrens
Just don't assume the DSP_TOKEN( spTree ) was seen in input. Change-Id: Iaabdcafdfcfc995198c1265e975df4dde8e0a39c
2013-04-30Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks
2013-04-26Fix bnc#705982 - make animations inside SmartArt work.Thorsten Behrens
With the fallback loading of extDrawing for SmartArt graphics, slideshow animations into that drawingml fragment didn't work - for it being modelId diagram references instead of plain shape IDs. So use the modelId if present, and only then fallback to shape id. Change-Id: Iac2b8bc16255611d7ab165b72fb251cd2a65073a
2013-04-18date/time IDL datatypes incompatible changeLionel Elie Mamane
- nanosecond precision - signed (allowed negative) year Also: assorted improvements / bugfixes in date/time handling code. Some factorisation of copy/pasted code. Change-Id: I761a1b0b8731c82f19a0c37acbcf43d3c06d6cd6
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-01Prefer prefix ++/-- operators for non-primitive typesJulien Nabet
Change-Id: I59a332c96793ced08bb509776dbcb8fd6c9d2ab9
2013-03-30OSL_FAIL -> SAL_WARNThomas Arnhold
Change-Id: I1871e5e3a319b2d5177ae4bd470046c022c14eb7 Reviewed-on: https://gerrit.libreoffice.org/3121 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-03-19reduce whitespaces between include and filenameThomas Arnhold
Change-Id: I15f6ad0a760a28cbac53f99ba4d14ff5c24ce005
2013-03-14More cleanup of pptx comment import code.Thorsten Behrens
- moved non-trivial code out of header file - replaced all std::string occurences with OUString - binned boost/atoi string parsing in favour of builtins. Change-Id: I872e18e33ae9b997e041b4ccc26f80e79b54052b