summaryrefslogtreecommitdiff
path: root/oox
AgeCommit message (Collapse)AuthorFilesLines
2013-06-28n#820504: start a new subpath with m and t in VML path decodingCédric Bosdonnat1-1/+11
Change-Id: I7bac4b111ede5e815d2ed121c18f4cfe1ad0950e (cherry picked from commit 8d6eb11d6965ee93e72513f5e01b67f598edf6c3) Reviewed-on: https://gerrit.libreoffice.org/4537 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-06-28Forgot to remove one case where nParamCount is set to twice the valueCédric Bosdonnat1-1/+1
Change-Id: I3649364a889b7ef6ce7ac4316a1621b6328170eb (cherry picked from commit 7f7a1294e2d0da30a58d897558a18a13dbc5e690) Reviewed-on: https://gerrit.libreoffice.org/4536 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-06-28n#820504: VML path import fixes: get back missing pointsCédric Bosdonnat2-11/+11
nParamsCount was set to the double of the expected value, but the code handling the command only took the first set of parameters. Removing this 2* in nParamsCount. Change-Id: I2a4bb07fc9167e056a52c7adfbee9e1ef8e2636c (cherry picked from commit 442ad6eef9d6e1588e4985e97ec3eafd6289f9ae) Reviewed-on: https://gerrit.libreoffice.org/4535 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-06-27n#820504: Some imported VML paths are closed, try to detect theCédric Bosdonnat1-1/+8
Change-Id: Idefd0277a85bd7b2b727f59cc4e568869b4932a1 (cherry picked from commit 08db0b22bdce0f779e4af01a209aef1be29e9907) Reviewed-on: https://gerrit.libreoffice.org/4533 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-06-24convert the right number of elementsDavid Tardon1-1/+1
(cherry picked from commit e3a8e4f221fca5f67f4d6caf17f3bec39b13e3d5) Signed-off-by: David Tardon <dtardon@redhat.com> Conflicts: include/oox/helper/binaryoutputstream.hxx Change-Id: I375d03ad880d348be64a04613e612e19bf2f4e1c Reviewed-on: https://gerrit.libreoffice.org/4477 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-05-30Fix crash with fdo60063-1.docxFridrich Štrba1-28/+13
Compared to the original version, this one tries hard not to produce empty keywords. Reviewed-on: https://gerrit.libreoffice.org/4091 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org> (cherry picked from commit b2f97d77237cde249b4c40acc8ad3f7f8755e768) (cherry picked from commit 693707e338922d8dc7578975a1990e8a1cba6a53) Conflicts: oox/source/docprop/docprophandler.cxx Change-Id: I11d036c2d54cde2d3c311a77c115011246f38d0a Reviewed-on: https://gerrit.libreoffice.org/4093 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-05-15Fix fdo#64579 Don't assume dsp:dataModelExt has valid DrawingML.Thorsten Behrens1-2/+5
Just don't assume the DSP_TOKEN( spTree ) was seen in input. Change-Id: Iaabdcafdfcfc995198c1265e975df4dde8e0a39c (cherry picked from commit 0f15a477aaba2f69a13c0bc61c5c8c7a47314680) Reviewed-on: https://gerrit.libreoffice.org/3910 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-05-06map full transparent solid fill to no fill, fdo#64224Markus Mohrhard1-0/+9
(cherry picked from commit 6e2292b3cdd032edff21f0016b7f61e9bb420699) Change-Id: I9ec33b347647bfcd6c1411c4db7af51ca597dc8e Signed-off-by: Miklos Vajna <vmiklos@suse.cz>
2013-05-06let us be explicit about default valuesMarkus Mohrhard1-2/+4
Different MSO versions behave differently in respect to the default values. 2007 is not compliant to OOXML and is what our export filter expects, 2010+ are compliant to OOXML and therefore our charts look awful. Change-Id: If301d878a1603ed9835884cfbb9ed9c902526ba0 (cherry picked from commit 93abb2082ad3cae1432d69b65a89dace6646785a) Reviewed-on: https://gerrit.libreoffice.org/3793 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-05-02fdo#60549 - pptx export presentation as well as draw shape objects.Michael Meeks1-3/+16
Change-Id: Ibe6e0b9fa55bab7a7d02e55560c1db4c8ed84132 Signed-off-by: Muthu Subramanian <sumuthu@suse.com>
2013-05-02c:varyColor is true by default in ExcelMarkus Mohrhard1-0/+4
And another step closer to opening my test file correctly in Excel. Change-Id: Ib6aa8ddb2f2792513c7263d86865e08fe5f1483d (cherry picked from commit 81b9d431678bc270e7592e9bedb81d2d445e2122) Reviewed-on: https://gerrit.libreoffice.org/3686 Reviewed-by: Kohei Yoshida <kohei.yoshida@suse.de> Tested-by: Kohei Yoshida <kohei.yoshida@suse.de>
2013-05-02c:delete is true by default in ExcelMarkus Mohrhard1-6/+2
One step closer to opening my simple test file correctly in Excel. Change-Id: I1bfa76a46081ba478e44d8d90d8a91790a9a9ff3 (cherry picked from commit 6ddd7fccdc8fc292200e581dbc4e456ec86cef47) Reviewed-on: https://gerrit.libreoffice.org/3685 Reviewed-by: Kohei Yoshida <kohei.yoshida@suse.de> Tested-by: Kohei Yoshida <kohei.yoshida@suse.de>
2013-05-02change order to allow validation of chart partMarkus Mohrhard1-2/+3
My simple test file is finally valid but is still now shown in Excel. There must be another bug in our exporter. Change-Id: Ib55e5b32edc3a556e9081b3008df539275dc289b (cherry picked from commit e81d0c400c02a87d7fa492dbc5ac9f7921167920) Reviewed-on: https://gerrit.libreoffice.org/3657 Reviewed-by: Kohei Yoshida <kohei.yoshida@suse.de> Tested-by: Kohei Yoshida <kohei.yoshida@suse.de>
2013-04-26Fix bnc#705982 - make animations inside SmartArt work.Thorsten Behrens5-5/+29
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. Conflicts: oox/source/ppt/animationspersist.cxx Change-Id: Iac2b8bc16255611d7ab165b72fb251cd2a65073a Reviewed-on: https://gerrit.libreoffice.org/3622 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-04-19fix Frame import for oox filterNoel Power1-0/+1
Change-Id: Ie165b509ea7668a3064e16b537bf2e51345324ba (cherry picked from commit dbd84f33def04f555fb7b61c0f78f9d312bba633) Reviewed-on: https://gerrit.libreoffice.org/3457 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-19implement MultiPage, Page & TabStrip import for ooxNoel Power5-17/+242
Change-Id: I1912c9550c12a971fcc7fdbc8bd623f18ccc40b8 (cherry picked from commit a43cc9ec8dde4f311bcf8ff96e6a26d56b2abdcf) Change-Id: I9d31017ab149ed8a4c80feefc891dc6c911bad20 (cherry picked from commit 474362028e13f98e73ea9420834a1aaa3490fd83) Reviewed-on: https://gerrit.libreoffice.org/3456 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-04-10Fix again n719988, n734733Xisco Fauli1-1/+2
Bullet should have same color as following text by default Regression from bb3540a7cb6866a7b6c36cd71ea4bb9b0609d1e8 Change-Id: I007088db5bcb71e8d90d287b21762dca0dda9573
2013-03-13bnc#798309 inherit group style from parentNoel Power7-12/+22
Change-Id: Ie4f1d244f1c9b4935305742d12cabaee3e38647c (cherry picked from commit 1dbd088e4fb9597b0e2f5e4c4db6ecf047d85da3) Reviewed-on: https://gerrit.libreoffice.org/2695 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-01-22class vs struct mismatchLuboš Luňák1-1/+1
Apparently this was enough to cause a linking error with oox::vml::TextBox::TextBox on Windows. Signed-off-by: Petr Mladek <pmladek@suse.cz>
2013-01-22oox: try to make Windows build happyMiklos Vajna1-1/+1
Change-Id: Ib7340d79fc29ef0d0c46083a6aac6c27aba2629b Signed-off-by: Andras Timar <atimar@suse.com>
2013-01-22n#792778 DOCX import: parse group shapes in oox onlyMiklos Vajna7-12/+109
Previously textframes inside groupshapes were tried to be imported as TextFrames, but then their addition to a GroupShape failed, so the text simply ended up as a normal paragraph. Fix this by importing members of groupshapes as drawinglayer objects, just like how the WW8 import does. Also fix two testcases, which implicitely tested that the groupshape VML element is ignored on import. Change-Id: I1a9fba8a5fd532203a825e55b1d5996277ea12fa Signed-off-by: Andras Timar <atimar@suse.com>
2013-01-22fix cell border line properties n#793408Radek Doulik1-0/+1
Change-Id: Id20fa233b7e7eb0f2f01f4c230d1fe3398f2f4ed Signed-off-by: Andras Timar <atimar@suse.com>
2013-01-15n#794350: [PPTX] Flip gradient fill as well.Muthu Subramanian3-3/+12
Signed-off-by: Noel Power <noel.power@suse.com>
2013-01-15n#793999: PPTX Export - background image fit to slide.Muthu Subramanian1-0/+5
Change-Id: I0365c1a2723e5da06c269802c0503d4e45fe7ac1 Signed-off-by: Noel Power <noel.power@suse.com>
2013-01-08Make LO buildable again after the GraphicFilter move.Jan Holesovsky1-1/+1
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-13fix fdo#58237 import hyperlinks for shapes in xlsx documentsNoel Power3-0/+13
Change-Id: Ib0c661dbb3ce9a2f8c8d29707a1cf0c65aadc81f
2012-12-10oox: v:textbox's inset attribute should be imported in Hmm, not in EmuMiklos Vajna1-4/+4
Trivial reproducer: http://people.freedesktop.org/~vmiklos/2012/simple-textbox.docx Change-Id: I030f7153326affc5a01e7ede1ddf1164fa500071 (cherry picked from commit 5bc835d48f1e5373b3a31bd166fadfdf19b3588f)
2012-12-06bnc#792528: Play it safe for non-Excel documents.Kohei Yoshida1-1/+4
Excel is not the only one that use charts. Let's also store the static label value to maData in case it is used for non-Excel documents. Change-Id: I1faed76e2ff396873039bccb3e1b7dcf27aba8c6
2012-12-06bnc#792528: Import static data series labels from xlsx correctly.Kohei Yoshida1-2/+8
Static data series label is a data series label whose value is a string value rather than a cell reference. Also, when inputting static string label in the UI, we don't have to manually check for quotes; the formula compiler will take care of that later. Change-Id: I1657fc9879a7f652bba84898e308c3a5d5ba87a3
2012-12-03fixes for where fast string operator+ is not perfectly source compatibleLuboš Luňák4-6/+6
Change-Id: I80af0399037e4f68113338139e7f2ad2400e65ab
2012-12-01oox: fix buildIvan Timofeev17-34/+1
Change-Id: Ic0fc64b94d27e1de4d2241f960b0d4f3ae1762d3
2012-12-01Removal ::rtl:: prefixes and macros in oxxJosé Guilherme Vanz4-30/+30
This commit removes some ::rtl:: prefixes and RTL_CONSTASCII_STRINGPARAM, RTL_CONSTASCII_USTRINGPARAM macros in oxx. Change-Id: I12bfb2528e8a9aaf3f119a1e6f0ae0246d16a772 Signed-off-by: José Guilherme Vanz <guilherme.sft@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/1211 Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br> Tested-by: Olivier Hallot <olivier.hallot@alta.org.br>
2012-12-01Removal ::rtl:: prefixes and macros in oxxJosé Guilherme Vanz17-28/+28
This commit removes some ::rtl:: prefixes and RTL_CONSTASCII_STRINGPARAM, RTL_CONSTASCII_USTRINGPARAM macros in oxx. Change-Id: I1139b10256387bb71e8a425153d46add181538bc Signed-off-by: José Guilherme Vanz <guilherme.sft@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/1212 Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br> Tested-by: Olivier Hallot <olivier.hallot@alta.org.br>
2012-11-30c++ API: use css alias in generated headers, adds global css declThorsten Behrens1-2/+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-30do not write rotation when it is equal to multiple of 360 degreesRadek Doulik1-1/+1
Change-Id: I0338964e8f8ded9ce0c488a437d3bf023d08047a
2012-11-29fdo#45495 pptx Export saves rotation of pictures,shapes,textLennard3-11/+23
and Circular and Rectangular shapes, and Tables drawingml was Pivot corrected. There is still some work to be done concerning customshape pptx export. Tables cannot be rotated anyway, but in contrast to Lines, you don't doubly-save the rotation. Patch Version 2. Here, acquiring of the angle from the shapes is done in WriteShapeTransformation. Change-Id: I0d650e669a690164796150615416fab8bb90242b Signed-off-by: Lennard <Wasserthal@nefkom.net> Reviewed-on: https://gerrit.libreoffice.org/1030 Reviewed-by: Radek Doulík <rodo@novell.com> Tested-by: Radek Doulík <rodo@novell.com>
2012-11-28OUString::replace() does not modify in-placeTor Lillqvist1-2/+2
Change-Id: I6fa7c64bdd3c7af4b9495831da063ecd917057de
2012-11-26Revert "Skip a bunch of files in the disable-export case"Tor Lillqvist1-7/+6
Causes too much pain in scfilt, let's try without for now. This reverts commit 421c8febe88920bb6ebdfb05ce85568f241ddd0e.
2012-11-26Skip a bunch of files in the disable-export caseTor Lillqvist1-6/+7
Change-Id: I58237ce2fdfc55a564e2cf9f00a5eeebed48c046
2012-11-24this method actually can throw, related fdo#57451Markus Mohrhard2-2/+2
Change-Id: I26b79829029e127eb8b9ab4fbea3e0f02035ee41
2012-11-23Remove some other newly tagged unused methodsJulien Nabet2-11/+0
Change-Id: I6413fa7b9a7ca5e5f88c634ac4a7092162a9a9c9
2012-11-22AllSettings with LanguageTagEike Rathke2-1/+2
Change-Id: I710ae66e51139662eb442b681fdf9cc9d158551d
2012-11-19no matching function for call to 'max(int, long int)'Tor Lillqvist1-1/+1
Change-Id: I7533098781b0b6987cd852d74a688aac6e0af056
2012-11-19export embedded spreadsheet(s), fixes n#780830Radek Doulik4-47/+176
Change-Id: Iee8328a695b554d97f6805b64b98706b9e3d7ab9
2012-11-19limit buSzPct rangeRadek Doulik1-1/+1
Change-Id: I41411301ee131f92b9725208e53133ee0f8a6f82
2012-11-17valgrind: use of uninitialized variableCaolán McNamara1-1/+2
Change-Id: I57de2d1ab4597cf3ef9eae08dfdbda1d5abff621
2012-11-16targetted cleanup of misc. vba pieces.Noel Power2-16/+0
2012-11-15fdo#46808, use service constructor for ucb::SimpleFileAccessNoel Grandin1-4/+3
I upgraded the service to return XSimpleFileAccess3, since it already implemented that interface, and it's backwards compatible. Change-Id: I40001a46048bd21a23b6a2f58a95376f06fc634b
2012-11-14oox: reduce exception count reading missing attributes.Michael Meeks1-0/+4
2012-11-11oox: ZipStorage: better exception tracingMichael Stahl1-10/+20
Change-Id: I2b81f92cea8a8c9577c3f9ca33b915942708330c