summaryrefslogtreecommitdiff
path: root/oox
AgeCommit message (Collapse)Author
2013-08-22n#831457: Placeholders text size is not correct.Muthu Subramanian
Placeholders (or shapes without text imported from the files) have wrong font size. This is because the size (and probably other text attributes) aren't applied from the mastertextlist to the shape itself.
2013-08-05bnc#593612: workaround for grpFillFelix Zhang
Change-Id: Ib75f2e5e0d77b5a65c6d3d75e7dd477251948bcc (cherry picked from commit 3b35ad42ed8bea8cab32e2131c81b03c8347cb67) Signed-off-by: Thorsten Behrens <tbehrens@suse.com>
2013-07-18n#819822: XLSX Chart import with internal data table.Muthu Subramanian
When the import with xlsx ranges fail - try with internal data table. Ported from: 7da06efd74be6500895bab6e5e8ed485914ff45e and: da4ec594da45210a1f97d31ecb3e7f9c127954e5
2013-07-17n#820077: Import images with duotone filter.suse-4.0-8Muthu Subramanian
Also, contains implementation for a simple duotone filter. (Port from commit: 8b716072410bcfd252739fb953d5ac198e27a895)
2013-06-26n#820504: start a new subpath with m and t in VML path decodingCédric Bosdonnat
Change-Id: I7bac4b111ede5e815d2ed121c18f4cfe1ad0950e
2013-06-26Forgot to remove one case where nParamCount is set to twice the valueCédric Bosdonnat
Change-Id: I3649364a889b7ef6ce7ac4316a1621b6328170eb
2013-06-24n#820504: VML path import fixes: get back missing pointsCédric Bosdonnat
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
2013-06-21n#820504: Some imported VML paths are closed, try to detect theCédric Bosdonnat
Change-Id: Idefd0277a85bd7b2b727f59cc4e568869b4932a1
2013-06-13Revert "bnc#819614: Fix runaway lines."Petr Mladek
It caused several regressions when displaying shapes; for example, in the test document for bnc#762695: + missing hyperboloids on several slides, e.g. 13, 14, 15 + broken bubles on slide 32 This reverts commit c4345bcf488d24a45a6412cda41474de6baf00da.
2013-06-12n#779642: 0 width or height in //v:shape[@style] produces weird resultsCédric Bosdonnat
(cherry picked from commit b7144acb2bfa369fb89146d060dbd8ddd547f4c1) Conflicts: oox/source/vml/vmlshape.cxx Change-Id: I37ba59dd54ac692f234f3228e442799c5a5f450b
2013-06-07bnc#820788 VML import of v:textbox's mso-fit-shape-to-text style propertyMiklos Vajna
Change-Id: I74a0ecd50ca61a4f5bf7ebdbf12743dc1fd9368a (cherry picked from commit a22ef599bd3fdcf0bd5c3616aa566a5922624ff3)
2013-06-07Make use of IsStarSymbol()Thomas Arnhold
Reviewed-on: https://gerrit.libreoffice.org/4077 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz> Signed-off-by: Luboš Luňák <l.lunak@suse.cz> Conflicts: include/unotools/fontdefs.hxx oox/source/export/drawingml.cxx sw/source/filter/ww8/writerhelper.cxx sw/source/filter/ww8/writerhelper.hxx vcl/generic/fontmanager/fontsubst.cxx vcl/generic/glyphs/gcach_ftyp.cxx vcl/source/gdi/outdev3.cxx Change-Id: I7a2e3a6f11bbaaaff50e8163e4ce3e2583b1d03c
2013-06-07be case-insensitive for open/starsymbol comparisonThomas Arnhold
Reviewed-on: https://gerrit.libreoffice.org/4015 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com> Signed-off-by: Luboš Luňák <l.lunak@suse.cz> Conflicts: unotools/source/misc/fontcvt.cxx unotools/source/misc/fontdefs.cxx vcl/generic/glyphs/gcach_ftyp.cxx Change-Id: I7a342c809a723f5f9c03271c6145d9c367cea6de
2013-05-30bnc#817956 VML import of mso-position-vertical-relative:marginMiklos Vajna
Change-Id: I86464c44022ef8c8a8037d4228bb2a6409fc77af (cherry picked from commit f2720b87093968670e3fb47d24d4952f1631a654)
2013-05-30bnc#817956 fix VML import of rotationMiklos Vajna
In VML, positive rotation angles are clockwise, we have them as counter-clockwise. This wasn't noticed earlier, as the n751117.docx testcase also had flip:x. (For example, rotation with angle 90 + flip:x is presented as 270 by the UI.) Fix this, and also mirror the angle when flip:x is present. Change-Id: I591ec3369a5bdca53f9684006a459d11e37fbc33 (cherry picked from commit b2c16f6c1b8bd3c96e0549eb3036c820094a795f
2013-05-30bnc#817956 VML import of v:textpathMiklos Vajna
Word exposes this as Watermark in its UI. Change-Id: I23d9b2aab2dab60a98c7f456b0592c2b74bcaf81 (cherry picked from commit 290695c785ef831abb6e78cd3675bc071f05f643) Conflicts: oox/inc/oox/vml/vmlformatting.hxx oox/inc/oox/vml/vmlshape.hxx oox/source/vml/vmlformatting.cxx oox/source/vml/vmlshapecontext.cxx
2013-05-23bnc#820786: Best effort mapping of the OOXML patterns to our hatches.Jan Holesovsky
Change-Id: I0138c2186741acf0964f0166953b69872a822907
2013-05-22bnc#819614: Fix runaway lines.Jan Holesovsky
Change-Id: I360ec44872dbb555870d7d3fc8a9ed81c95e8c07
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 (cherry picked from commit 0f15a477aaba2f69a13c0bc61c5c8c7a47314680)
2013-05-07map full transparent solid fill to no fill, fdo#64224Markus Mohrhard
(cherry picked from commit 6e2292b3cdd032edff21f0016b7f61e9bb420699) Change-Id: I9ec33b347647bfcd6c1411c4db7af51ca597dc8e Signed-off-by: Miklos Vajna <vmiklos@suse.cz>
2013-05-07let us be explicit about default valuesMarkus Mohrhard
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-07fdo#60549 - pptx export presentation as well as draw shape objects.Michael Meeks
Change-Id: Ibe6e0b9fa55bab7a7d02e55560c1db4c8ed84132 Signed-off-by: Muthu Subramanian <sumuthu@suse.com>
2013-05-07c:varyColor is true by default in ExcelMarkus Mohrhard
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-07c:delete is true by default in ExcelMarkus Mohrhard
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-07change order to allow validation of chart partMarkus Mohrhard
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-05-02place ooxml shapes properly to paragraph area (part of bnc#816583)Luboš Luňák
style="position:absolute;left:0" is relative to paragraph area, not paragraph text area (which is different if it's indented). Change-Id: I12a1d2b8a68aa3fa9c65b3d469118b5334f83d7f
2013-05-01Merge tag 'libreoffice-4.0.3.2' into suse-4.0Petr Mladek
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-29n#592908: docx import, fixed handling of w10:wrapCédric Bosdonnat
commit f837c4288cdae4921b3fb6747ba2e2cd5ce2dcd2 moved the handling of w10:wrap tag in oox, but thus no wrapping was imported any more. The fix consists in letting the w10:wrap element be handled by writerfilter's dmapper if the shape has already been retrieved from oox (which is the case for textboxes). In other cases, make sure that we don't set the Surround property once again in writerfilter as that would override what has been done in oox. Change-Id: I8ab158641afcf6b9945c52238e7f5adb9e8b3adf
2013-04-26fix userform data aware control importNoel Power
Change-Id: I5b958f8760c38793344c2c573e1cef97a0b6e3e9
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. Conflicts: oox/source/ppt/animationspersist.cxx Change-Id: Iac2b8bc16255611d7ab165b72fb251cd2a65073a
2013-04-26n#810508: Fixes import of Scatternet and Bubble charts.Muthu Subramanian
xVal needs to be imported as double and not as strings.
2013-04-25bnc#793414: Bullet points are not indented correctly.Felix Zhang
2013-04-25n#813291: [PPTX] Axis Labels with percentage.Muthu Subramanian
Added the check only in the Axis Labels import. Maybe this check can be moved to convertNumberFormat()
2013-04-18fix Frame import for oox filterNoel Power
Change-Id: Ie165b509ea7668a3064e16b537bf2e51345324ba
2013-04-17implement MultiPage, Page & TabStrip import for ooxNoel Power
Change-Id: I1912c9550c12a971fcc7fdbc8bd623f18ccc40b8 (cherry picked from commit a43cc9ec8dde4f311bcf8ff96e6a26d56b2abdcf) Change-Id: I9d31017ab149ed8a4c80feefc891dc6c911bad20
2013-04-16bnc#793414: Fixed the left margin of bulletFelix Zhang
Change-Id: I4726ab00a6e2700407ffcf5258d3736ed0161514
2013-04-10Fix again n719988, n734733Xisco Fauli
Bullet should have same color as following text by default Regression from bb3540a7cb6866a7b6c36cd71ea4bb9b0609d1e8 Change-Id: I007088db5bcb71e8d90d287b21762dca0dda9573
2013-04-03use ole obj preview imageRadek Doulik
Change-Id: I7e88ca553fcb8449a337af36554dd1996bc6dd7d
2013-04-03use effect referencesRadek Doulik
Change-Id: Ie0d295cd7db695f777071edcd9b792056ac783ef
2013-04-03bnc#798309 inherit group style from parentNoel Power
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> (cherry picked from commit 2f13a6e26d6741688c62decdee91e821ee1bd471)
2013-04-02n#779642: Import vertical layout mode from VML elements.Cédric Bosdonnat
(cherry picked from commit 3d46b39491af97ba360fb92182501e6b399f4f56) (cherry picked from commit 94108f529a11062eb2749b5141752c884d106464)
2013-04-02n#792778 oox: implement import of v:line inside v:groupMiklos Vajna
The problem was that in ShapeBase::convertAndInsert(), the rectangle calculated for a line was zero, that's why it wasn't imported. Fix this by overriding the get*Rectangle() methods in LineShape, instead of doing so with implConvertAndInsert(). (cherry picked from commit 7877638814de86202d33b5653a0f91d63341e98c) Conflicts: oox/source/vml/vmlshape.cxx Change-Id: Ie4bb2f7964b438cb56e4f5ee7a4ebe9f8f8eb734
2013-04-01n#734735: [PPTX] Use number format, if available, for charts.Muthu Subramanian
2013-03-13bnc#798309 inherit group style from parentNoel Power
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ňák
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 Vajna
Change-Id: Ib7340d79fc29ef0d0c46083a6aac6c27aba2629b Signed-off-by: Andras Timar <atimar@suse.com>
2013-01-22n#792778 DOCX import: parse group shapes in oox onlyMiklos Vajna
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 Doulik
Change-Id: Id20fa233b7e7eb0f2f01f4c230d1fe3398f2f4ed Signed-off-by: Andras Timar <atimar@suse.com>
2013-01-15n#794350: [PPTX] Flip gradient fill as well.Muthu Subramanian
Signed-off-by: Noel Power <noel.power@suse.com>
2013-01-15n#793999: PPTX Export - background image fit to slide.Muthu Subramanian
Change-Id: I0365c1a2723e5da06c269802c0503d4e45fe7ac1 Signed-off-by: Noel Power <noel.power@suse.com>