summaryrefslogtreecommitdiff
path: root/include/oox
AgeCommit message (Collapse)Author
2015-09-30Fix typosAndrea Gelmini
Change-Id: Id66432ef80fc2963fd2cbc6fad5d8e135e8975b0 Reviewed-on: https://gerrit.libreoffice.org/18956 Reviewed-by: Oliver Specht <oliver.specht@cib.de> Tested-by: Oliver Specht <oliver.specht@cib.de>
2015-09-30Fix typosAndrea Gelmini
Change-Id: I6dfb5fb468c1305a8f248bf5788c5760135fd835 Reviewed-on: https://gerrit.libreoffice.org/18955 Reviewed-by: Oliver Specht <oliver.specht@cib.de> Tested-by: Oliver Specht <oliver.specht@cib.de>
2015-09-30shared_array->unique_ptr<[]>Caolán McNamara
where we don't need to share the data Change-Id: I0edc9d62186d96095ee67e3c93f5cf186dffcb71
2015-09-29loplugin:removeunusedmethods, remove unused stuffNoel Grandin
Change-Id: I35456b2a3ad2a84a1d045f09cdfb29e4c19b8350
2015-09-25better OOXML VBA exportMarkus Mohrhard
Change-Id: If02aa26e974b0f16b45c5476234c6425fd128ae4
2015-09-25remove whitespaceMarkus Mohrhard
Change-Id: If01b299fd40597cc3ee91c01a6a7785c6d44352e
2015-09-14tdf#91293: Preserve hyperlink on URL field OOXML exportKatarina Behrens
The fix is twofold: 1.Get URL property from the underlying text field, not from the text run -- put text field properties into rXPropSet (that's what GETA macro later queries), not into rRun 6a043e9c0acff20e1618ca8ec15c21d5d0fd0d37 does s/rXPropSet/rRun/ afaics for no good reason 2. Retrieve string content from URL field early, so that the test for empty text content doesn't fire Change-Id: I4317e4a2f6f2e6f15c30932adc80f1227e010af0 Reviewed-on: https://gerrit.libreoffice.org/18031 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2015-09-10loplugin:staticmethodsNoel Grandin
Change-Id: Id9313d02fe6036ff8d8cf8142269ed9b4042051d
2015-09-10oox: workaround C2249 error on MSVC 14.0David Ostrovsky
The member is inherited from a nonpublic virtual base class or structure. Declaring copy ctor and assignment operator as deleted in derived class solved the problem. Change-Id: Ic509f7e7311fd896656ecff80df3ece4503c3a65 Reviewed-on: https://gerrit.libreoffice.org/18328 Reviewed-by: David Ostrovsky <david@ostrovsky.org> Tested-by: David Ostrovsky <david@ostrovsky.org>
2015-09-10handle different callers for vba export codeMarkus Mohrhard
This now integrates it correctly with the XLS code, the XLSX one requires a bit more work to copy the stream to the OOXML file. Change-Id: Ic853ce795fc2ac2941083a76fd0a8cad7c6add09
2015-09-10get correct vba project nameMarkus Mohrhard
Change-Id: I48efd62ca1df00b8a0cbecb01b394814ca40c2e9
2015-09-10add first vba compression testMarkus Mohrhard
Change-Id: I9e3abebb0ac932b46f7fc96cd37d39023b783af2
2015-09-10fix my horrible chunk header codeMarkus Mohrhard
Change-Id: Ic91c06dbe05180d97b0db5de497f26f14b2d4ec4
2015-09-10extract compression methods to make them testableMarkus Mohrhard
Change-Id: I2ad28134ef723872b9940c02657ee89758efa06f
2015-09-10structure for vba exportMarkus Mohrhard
Change-Id: I8094b64185ef8730355841e9b6f9d4ba412568dc
2015-09-07Related: tdf#93676 unwanted duplicate axis title exportedCaolán McNamara
translateFromChart2AxisIndexToOox toggles between just two states, so convert consumers/suppliers of that to bool Then in exportAxesId toggle between primary/seconday pairs based on that, vs always exporting AXIS_PRIMARY_X + primary/secondary y Change-Id: I2649f5fc07323a73a3a215fdc52d5f1a5c31c349
2015-09-07tdf#83227 oox: reuse RelId in DML/VML export for the same graphicMiklos Vajna
So that large images are written only once to the ZIP container when they are exported using both markups. This affects drawinglayer images, the Writer ones are handled directly in sw and were already deduplicated. Change-Id: Iff7c769329b42939833056b727b070f6a60da5e3
2015-09-03convert Axis constants to an enum and hilight suspicious absenceCaolán McNamara
that compiler warnings then shows (which I saw manually in the first place) of AXIS_SECONDARY_X Change-Id: I873623141020633ea73f14f5c93322c2346b8efb
2015-08-25Fix tdf#80224 Custom text color changed to black on .PPTX exportMark Hung
1) Indirect property values were ignored, now they are used. 2) Write endParaRPr so that PowerPoint display them. 3) Automatic colors are written as white or black based on whether background is dark. Change-Id: I255c16f35149b738be2daf2800b1c90389f2c7cf Reviewed-on: https://gerrit.libreoffice.org/17472 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2015-08-24coverity#1317300 Untrusted array index readCaolán McNamara
Change-Id: Ia9fe42974ffe24f6a679396b5d7ca672c0459f4b
2015-08-23oox: tdf#88206 replace cppu::WeakImplHelper* etc.Takeshi Abe
with the variadic variants. Change-Id: I8a82df7ea24874d8e246dc983418d872f1943c8e Reviewed-on: https://gerrit.libreoffice.org/17919 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-08-04include: inline some use-once typedefsNoel Grandin
Change-Id: I064e95c72e5f67178cf2875f457adac241cee529
2015-07-21loplugin:unusedmethods ooxNoel Grandin
Change-Id: I5381e0da0efc1f951e248cfcfb35fc680ace94e4 Reviewed-on: https://gerrit.libreoffice.org/17225 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-02tdf#87348 implement mso-next-textbox vml-style textbox chaining importJustin Luth
Change-Id: Ic62769cf5bb1589dd4de3a66b3d7dd896e5b5711 Reviewed-on: https://gerrit.libreoffice.org/16366 Reviewed-by: Justin Luth <justin_luth@sil.org> Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2015-06-30remove some unnecessary typedefs to pointerNoel Grandin
that were really not helping make the code any clearer. Found with a search git grep -P 'typedef\s+\w+\s*\*\s*\w+\;' and manual inspection Change-Id: I6a5c031e9e060ad3623a7586ec8a8cc4fe6252e9
2015-06-28Fix typosAndrea Gelmini
Change-Id: I80995af6459af9f647e66d1c85da2eedad2647b9 Reviewed-on: https://gerrit.libreoffice.org/16523 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2015-06-16Fix typosAndrea Gelmini
Change-Id: I528752dfabeb31d14c350f79819b521537ab9b56 Reviewed-on: https://gerrit.libreoffice.org/16300 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-05-27transform calc URLs to OOXML format, related tdf#91334Markus Mohrhard
Change-Id: I497a6600e155200e913ed386a539f284a5c86320
2015-05-27tdf#90338 tdf#84254 DrawingML export fixAndras Timar
Change-Id: I610d8099f057a2a34a1f9573d8ac16b5b8da9fc7 Reviewed-on: https://gerrit.libreoffice.org/15918 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2015-05-12export each axis only once non-deleted, related tdf#84347Markus Mohrhard
Change-Id: Ia0e23faf43fd266b8314f807b77423e9a3e15797
2015-05-12tdf#90246 PPTX paragraph and bullet leftMargin and Indentation is not exportedPriyankaGaikwad
Problem Description : XML Difference Original : <a:pPr marL="360000" indent="-456840"> After RT : <a:pPr> Solution : added support for marL and indent for paragraph and bullet. Change-Id: I1132d7b90ac1d7fc924f9a048f189e07e255e33b Reviewed-on: https://gerrit.libreoffice.org/15016 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-05-11Unused oox::AttributeConversion::decodeUnsignedHex()Miklos Vajna
Change-Id: I26d52d4ba49216dd9c3d402dbd5480865e5351e1
2015-05-11split exportSeries function upMarkus Mohrhard
Change-Id: I06c09a494bdf37a87ff851a8e3cbc94b22b9a511
2015-05-09tdf#90190 PPTX table cell border width is not exported.yogesh.bharate001
Problem: - Table cell border width is not exported. i.e lnL, lnR, lnT, LnB are not exported inside the tcPr. XML Difference: Original : <a:lnT w = "76200"> After RT : tag is missing. Solution : Added solution for Table cell border width. Change-Id: I19185f2ad176325bf7990c9da6becc66557c717b Reviewed-on: https://gerrit.libreoffice.org/15350 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-05-08Unused oox::AttributeList::getUnsignedHex() variantMiklos Vajna
Change-Id: I4ec0cd4781aaa905f734b15ba4eff7819ca01082
2015-05-07Remove unnecessary includes of sot/storage.hxx from include/Stephan Bergmann
Change-Id: I242cd126814bbebdb99ea38d9e66513189c313d9
2015-05-07Unwind SotStorageStreamRef typedefStephan Bergmann
Change-Id: If7652a7c0251b741660365848a717c06954ca419
2015-05-07Unwind SotStorageRef typedefStephan Bergmann
Change-Id: I8d5363bb2ad813ef29b4078848914f4b0989b9f1
2015-05-05loplugin:staticmethodsNoel Grandin
Change-Id: I384a5e60f4b7b2f479c89ef97630519059ab720f
2015-04-27support axis text properties during OOXML export, tdf#90532Markus Mohrhard
Change-Id: Ied2b21154e31754f8b8461c349fe0e52ce7455e8
2015-04-25replace com::sun::star with css in chart ooxml exportMarkus Mohrhard
Change-Id: Ia508cecc0a06fd1af5adca9756dce394337260fc
2015-04-25first part for manualLayout plot area support, tdf#90851Markus Mohrhard
still some positioning problems. Most likely we need to handle chart2::RelativePosition::Anchor for correct positioning. Change-Id: Iecd0ced684203d2c11aab3c55e04f8c7f699779a
2015-04-24loplugin:simplifyboolStephan Bergmann
Change-Id: I3f1fa86f62c2b2e32768a8d1e17793161339dad8
2015-04-22Various #include <sal/log.hxx> fixupsStephan Bergmann
rtl/string.hxx and rtl/ustring.hxx both unnecessarily #include <sal/log.hxx> (and don't make use of it themselves), but many other files happen to depend on it. Cleaned up some, but something like grep -FwL sal/log.hxx $(git grep -Elw \ 'SAL_INFO|SAL_INFO_IF|SAL_WARN|SAL_WARN_IF') -- \*.cxx) shows lots more files that potentially need fixing before the include can be removed from rtl/string.hxx and rtl/ustring.hxx. Change-Id: Ibf033363e83d37851776f392dc0b077381cd8b90
2015-04-21fix TypeGroup MSO 2007 vs OOXML default valuesMarkus Mohrhard
Change-Id: I0d01e5b8d5f284ee3049debaf9fba0012dae005d
2015-04-19import chart MSO 2007 streams correctly for docx files, tdf#82216Markus Mohrhard
Change-Id: Icda809faf315dac5953d38781b2b401d51f7a40a
2015-04-19export axis number format to OOXMLMarkus Mohrhard
Change-Id: I1dcea725686f8224bda03913d0b0da9f743a5fb7
2015-04-16Revert "make more classes dllpublic"David Tardon
This reverts commit add2ca7b3ab10ed9d18e60d8e50020168d922836. It causes too much breakage on windows. It is better to start again from scratch.
2015-04-16make more classes dllpublicDavid Tardon
... to fix asan+ubsan+dbgutil build Change-Id: I1400774d383879bbff9bf28251a104cd53bafaed
2015-04-16fix werror problem around sal_uInt32 vs sal_Int32Markus Mohrhard
Change-Id: Ifab0f5ad300882b1a014f6420094e5db503105e3