summaryrefslogtreecommitdiff
path: root/oox
AgeCommit message (Collapse)Author
2015-03-28Clean up C-style casts from pointers to voidStephan Bergmann
Change-Id: I4fd18b7282322ed7c1bcc12bb4f938bd4b57c87a
2015-03-27loplugin:staticfunctionNoel Grandin
Change-Id: I10c30ef28e7321882a720d1e7869a75a89febfc5
2015-03-26const_cast: convert some C-style casts and remove some redundant onesStephan Bergmann
Change-Id: Ib1c4fd60ba029704112dd9e279e4dd4c6bb7416c
2015-03-26tdf#57950: Replace chained O(U)StringBuffer::append() with operator+Austin Chen
Change-Id: Iae8e50864dbd90ff49a4fcc31a06b2158eab4afc Reviewed-on: https://gerrit.libreoffice.org/14998 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-03-25Revert "tdf#90174 FILESAVE: export of bullet color for pptx"Stephan Bergmann
This reverts commit 8707670cb39f5777cd54f8b180ec342416ef259f (plus follow-up 53e89ab25c0cd7df1b900a2e1048cfa402ea4353 "WaE: uninitialized nBulletColor") as it broke CppunitTest_sd_export_tests. Change-Id: Ib7433ba6e43b2f90767b0333dceb0f732d6659df
2015-03-24WaE: uninitialized nBulletColorCaolán McNamara
Change-Id: I48cc86ad20cbc868df0a943a9a73c8c86096a63a
2015-03-24tdf#90174 FILESAVE: export of bullet color for pptxPriyankaGaikwad
Added pptx export support for bullet color. Change-Id: I69306c8b3ace359f8dc243b83f89cfb570b9b73b Reviewed-on: https://gerrit.libreoffice.org/14966 Tested-by: David Tardon <dtardon@redhat.com> Reviewed-by: David Tardon <dtardon@redhat.com>
2015-03-22boost::shared_ptr -> std::shared_ptrMiklos Vajna
Change-Id: I8d08a5865a0e7b40ed9efc2be156957f8f4a2f49
2015-03-20tdf#83889:FILEOPEN:PPTX bullet point is followed by spurious symbolPriyankaGaikwad
If we have first numeric bullet and then insert any symbol bullet on same level then suffix of numeric bullet continues with symbol bullet as well. Solution : Reset suffix to none if it is symbol bullet. Change-Id: I06dddec55c6f3d8cc1545d30f7228ca08cb81396 Reviewed-on: https://gerrit.libreoffice.org/14890 Tested-by: Jenkins <ci@libreoffice.org> Tested-by: David Tardon <dtardon@redhat.com> Reviewed-by: David Tardon <dtardon@redhat.com>
2015-03-20tdf#89806 : Fixed background fill export for table cell.Sushil Shinde
1. Table cell properties were exproted empty if file saved as .pptx file. 2. Now added code to export table cell fill properties in 'tcPr'(Table cell properties xml tag) 3. Added unit test to check exported table cell fill properties. Change-Id: Ica6005a65c7eefb8629c808f2a54764f98badb11 Reviewed-on: https://gerrit.libreoffice.org/14734 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2015-03-19loplugin:constantfunction: ooxNoel Grandin
Change-Id: Iec2bc991821aed8da4427c6efc4ec8df72554923
2015-03-19mbOwnTblStyle->bOwnTblStyle, its not a memberCaolán McNamara
Change-Id: I3611a1873463cd5dc6d336ffa22c244eaeb6d824
2015-03-18CppCheck cleaning : unnecessary affectationMichaël Lefèvre
Change-Id: Ia86b49cb5f643673fd631fb6c654ee587072b123 Reviewed-on: https://gerrit.libreoffice.org/14853 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-03-18create new 'enum class' SotClipboardFormatId to unify typesNoel Grandin
of which there are several. There are some issues here I am unsure of - the SW and SC and CHART2 modules essentially ignore the enum values and assign their own ids Perhaps I should change them to use the common values and create new enum values where necessary? - the sc/qa/ and sq/qa/ and starmath/qa/ code was doing some dodgy stuff. I translated the code to pass down the stuff numeric values to the underlying code, but perhaps further fixing is necessary? Change-Id: Ic06d723e404481e3f1bca67c43b70321b764d923
2015-03-17Remove oox::core::FilterBase::implGetImplementationName indirectionStephan Bergmann
Change-Id: Ib275192452c6836cbaac2e517942ec5356dfd9ab
2015-03-16handle one more place with MSO 2007 vs OOXML spec for chartsMarkus Mohrhard
Change-Id: I7dbc3017f2bba7b186174be2e4fd8c9ce7005d34
2015-03-13tdf#43157: Fix format string violations in OSL_TRACE etc.Stephan Bergmann
...for a 32-bit build, similar to what ee11e221d2108212619e1bbe7f029e7d9afdba32 "tdf#43157: Fix format string violations in OSL_TRACE etc." did for a 64-bit build Change-Id: I05dd79ede3e66cb9ab7a33792319eb34b34c82dd
2015-03-13tdf#43157: Fix format string violations in OSL_TRACE etc.Stephan Bergmann
...in preparation of enabling the __attribute__((format(...))) in sal_detail_logFormat (include/sal/detail/log.h) Change-Id: I8a859199fa11ca0f9f4f4b4b23a8ebddec955a86
2015-03-10handle MSO 2007 vs OOXML in auto title chart importMarkus Mohrhard
Change-Id: Id884a4c90c24b38a1dd22a41d271dcc551b59adc
2015-03-10detect MSO 2007 OOXML documentsMarkus Mohrhard
Change-Id: I4052c6f1e5dde71ce4cede1ec9a313f461861d71
2015-03-10remove whitespacesMarkus Mohrhard
Change-Id: Ie9d303a7200cf2a6bfd8c0f5f547cfffccaa0444
2015-03-09tdf#89791: DOCX: don't save custom.xml if it's emptyJulien Nabet
Change-Id: I90f8e6c4de383b05345b8df9118000167bd20d2f Reviewed-on: https://gerrit.libreoffice.org/14735 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2015-03-09V801: Decreased performanceCaolán McNamara
Change-Id: Iba139ede7bd72e23c0b7a28a8a4ff38ea816725a
2015-03-04V813: Decreased performanceCaolán McNamara
Change-Id: Ica2563d9e8da15e19eb38246d4de54a1fcb75655
2015-03-02tdf#89774 oox: TotalTime is in minutesMiklos Vajna
Change-Id: Ie65a8adbd077997f4a13914dd8e0ba4d55afd7b7
2015-03-01mark more places where we changed the default value in the pastMarkus Mohrhard
Change-Id: I4860fff43f106f3d734ba58f046364c201775eb7
2015-02-26oox/source/export/drawingml.cxx: -Werror=maybe-uninitializedRobert Antoni Buj Gelonch
Change-Id: I44f1bbc9798312cea93c2cd7fadb0c3b7f26a9b7 Reviewed-on: https://gerrit.libreoffice.org/14640 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2015-02-25bnc#637947 export shape shadow to DrawingMLAndras Timar
Change-Id: I6e0b093d99dba731ff5723d6575f887346463908 Reviewed-on: https://gerrit.libreoffice.org/14605 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2015-02-19Remove newly unused includeStephan Bergmann
Change-Id: I3a6e668b930cb5f65abe345fdf5b5e4b1b511440
2015-02-19"no matching function for call to 'get_pointer'," use lambda insteadStephan Bergmann
Change-Id: I40ea3b781ec35171706a277acff6eb2eab29c297
2015-02-19boost->stdCaolán McNamara
Change-Id: Icae6b6f07ad8dbd287fdfc689739187883a07775
2015-02-19there is no x error bar for bar charts, related fdo#66455Markus Mohrhard
e.g. fdo#66455-1.ods exported to OOXML Change-Id: I81c65071cef820076b3f4788b45152cb48eb608d
2015-02-19document one more place where MSO 2007 export wrong valuesMarkus Mohrhard
Change-Id: Ic35f1188e66cf89f203b34f354a2c4b11f1f65a2
2015-02-19this should be [-90, 90] and not (-90, 90), tdf#89454Markus Mohrhard
Change-Id: I943be2cf660d2dc77eebd776208af96c0b5f67a4
2015-02-19start documenting problems around OOXML specMarkus Mohrhard
We implement in many places wrong default values based on how MSO 2007 behaves. Newer MSO versions produce correct files so our import is wrong. Instead of changing the default value we need to be able to use default values based on the document producer. Change-Id: I6a2a0b30885ebccc384d17f896709ecdd475d786
2015-02-18no need for that anymoreMarkus Mohrhard
Change-Id: I53002c0b97da66c44429b5ace0fc709b5e8a325f
2015-02-18better way to set default for chart area fill style, related tdf#89451Markus Mohrhard
Change-Id: Iee7fea0f55cf54d43a349b6cc0ffa25995069e40
2015-02-18implement fill based on style also for chart area, tdf#89451Markus Mohrhard
Change-Id: I7b488e222cd44e75d1e0ff7f8e545e9399f418b5
2015-02-17oox: use std::enable_shared_from_thisMiklos Vajna
Change-Id: I184a7a3579bebd81d5d81f64b4ace74bde8e87fb
2015-02-17fix indentationMarkus Mohrhard
Change-Id: Ifab81cb6e54e177aaf31aceeddc1b6cd3c0cc888 Reviewed-on: https://gerrit.libreoffice.org/14513 Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-02-10Properly check for Clang with static initializer_list bugStephan Bergmann
Change-Id: I98060f1adae0ba8ec03b2f0d6b0db6d5a1c0385c
2015-02-10It is apparently the static initializer_list that's confusing old ClangStephan Bergmann
...so drop "static" from all Clang for now (and revert back to OUStringLiteral) Change-Id: I33a3fca7f529005529f083d3e89ddfbd80bbc9bb
2015-02-09Some old Clang appear unhappy with the initializer_list<OUStringLiteral> codeStephan Bergmann
...so try whether initializer_list<OUString> would keep them happy Change-Id: I009eb601057066030addb409aa7996679d5d5922
2015-02-09oox: replace legacy DBG_WARNINGsMichael Stahl
Change-Id: If2c47bbd0c12cc006b38972c5f71eb00d3b03460
2015-02-07coverity#1268301 Dereference null return valueCaolán McNamara
Change-Id: I487009503866b6910049824efab987066dd72023
2015-02-07loplugin:deletedspecialStephan Bergmann
Change-Id: I37eb6c976779aeec829d312920ab1d18884c0f2f
2015-02-06fdo#75757: Remove inheritance from std::vectorMatthew Pottage
Deprecated comphelper/sequenceasvector.hxx. Rewritten code using it. Using instead the functions containerToSequence and sequenceToContainer, found in include/comphelper/sequence.hxx. One class that inherits from it (in framework/inc/stdtypes.h), and the code using that has been left. Signed-off-by: Michael Stahl <mstahl@redhat.com> Conflicts: writerfilter/source/dmapper/DomainMapper.cxx writerfilter/source/dmapper/TblStylePrHandler.hxx writerfilter/source/dmapper/WrapPolygonHandler.hxx Change-Id: Ice61c94ffb052e389281aebb7cdf185134221061
2015-02-06Make OUStringLiteral more usefulStephan Bergmann
...don't dare make it non-explicit, yet. Along the way, introduce SAL_CONSTEXPR. Change-Id: Ia3179d0d5e001fd7aa92237c97437e9b74366ee1
2015-02-06static const to avoid re-init all the time + c++11.Jan Holesovsky
Change-Id: I24ac6405f03e2d55f832d1ffe0c71e575883c5c8
2015-02-06bnc#637947 improve DrawingML export of custom shapesAndras Timar
Change-Id: Iaa880528cf3c899ce66e4349c6d989dfbe5cbeb6 Reviewed-on: https://gerrit.libreoffice.org/14346 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>