summaryrefslogtreecommitdiff
path: root/oox/inc
AgeCommit message (Collapse)AuthorFilesLines
2013-07-17n#820077: Import images with duotone filter.suse-4.0-8Muthu Subramanian2-0/+25
Also, contains implementation for a simple duotone filter. (Port from commit: 8b716072410bcfd252739fb953d5ac198e27a895)
2013-05-30bnc#817956 VML import of v:textpathMiklos Vajna2-0/+13
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 Holesovsky1-0/+1
Change-Id: I0138c2186741acf0964f0166953b69872a822907
2013-04-29n#592908: docx import, fixed handling of w10:wrapCédric Bosdonnat1-0/+2
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 Power1-1/+2
Change-Id: I5b958f8760c38793344c2c573e1cef97a0b6e3e9
2013-04-26Fix bnc#705982 - make animations inside SmartArt work.Thorsten Behrens1-0/+2
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-17implement MultiPage, Page & TabStrip import for ooxNoel Power2-12/+58
Change-Id: I1912c9550c12a971fcc7fdbc8bd623f18ccc40b8 (cherry picked from commit a43cc9ec8dde4f311bcf8ff96e6a26d56b2abdcf) Change-Id: I9d31017ab149ed8a4c80feefc891dc6c911bad20
2013-04-03use effect referencesRadek Doulik1-1/+2
Change-Id: Ie0d295cd7db695f777071edcd9b792056ac783ef
2013-04-03bnc#798309 inherit group style from parentNoel Power1-1/+4
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 Bosdonnat1-0/+1
(cherry picked from commit 3d46b39491af97ba360fb92182501e6b399f4f56) (cherry picked from commit 94108f529a11062eb2749b5141752c884d106464)
2013-04-02n#792778 oox: implement import of v:line inside v:groupMiklos Vajna1-9/+6
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-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 Vajna3-2/+12
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-15n#794350: [PPTX] Flip gradient fill as well.Muthu Subramanian1-1/+3
Signed-off-by: Noel Power <noel.power@suse.com>
2012-12-13fix fdo#58237 import hyperlinks for shapes in xlsx documentsNoel Power1-0/+2
Change-Id: Ib0c661dbb3ce9a2f8c8d29707a1cf0c65aadc81f
2012-11-29fdo#45495 pptx Export saves rotation of pictures,shapes,textLennard1-1/+4
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-24this method actually can throw, related fdo#57451Markus Mohrhard1-1/+1
Change-Id: I26b79829029e127eb8b9ab4fbea3e0f02035ee41
2012-11-23Remove some other newly tagged unused methodsJulien Nabet1-6/+0
Change-Id: I6413fa7b9a7ca5e5f88c634ac4a7092162a9a9c9
2012-11-19export embedded spreadsheet(s), fixes n#780830Radek Doulik2-1/+7
Change-Id: Iee8328a695b554d97f6805b64b98706b9e3d7ab9
2012-11-08oox: fix doxygen comments in dumpMiklos Vajna1-22/+22
Change-Id: Iab40d3d9778fffb7bbb076a9c2716d3fd11fc937
2012-11-08implement inset attribute of <v:textbox> (part of bnc#773061)Luboš Luňák3-1/+8
Change-Id: I1ec9b5d9fed86c44dc0a412c2323033ea67985c9
2012-11-07oox: fix doxygen comments in helperMiklos Vajna9-51/+51
Change-Id: I1e9b2075cbbb7a2ad7de64dd449cb42bf95ecc20
2012-10-11callcatcher: update unused code listCaolán McNamara1-6/+0
Change-Id: Ie903e37cccf98f1b91c05e87f067f2986b746590
2012-10-06Remove 3 oox::ole elements:Julien Nabet1-52/+0
oox::ole::AxFormPageModel::AxFormPageModel() oox::ole::AxMultiPageModel::AxMultiPageModel() oox::ole::AxTabStripModel::AxTabStripModel() Change-Id: I09c0993c2b6e98eed5536ac1c2a8b5559a3dcac6
2012-09-27Bin some newly unused methodsJulien Nabet3-11/+0
Change-Id: I1bbbdbb68f073d19b7d99b5ccb4985efd5bde80c
2012-09-27sw: implement page-relative size for drawing objects and import them from docxCédric Bosdonnat1-0/+4
Change-Id: I98b5c53d4860278e3646324ca045114e37b4cf61
2012-09-27n#779627: VML: import mso-position-vertical:center and friendsCédric Bosdonnat1-0/+2
This allows to properly position objects that are vertically and/or horizontally centered relatively to the page. Change-Id: I1f7e78c5b828679817cdfc72e4d90a0850b242fa
2012-09-26Import shadow effect properties for shapes in docx.Eilidh McAdam5-0/+101
Change-Id: I0cfd6b45be268d688b7389c79c5e9ad7f48eb12d Reviewed-on: https://gerrit.libreoffice.org/702 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
2012-09-26sal_Bool -> boolNoel Grandin1-3/+3
Change-Id: I6356c71e236e89c54081a852b3b55eb87b95bce8
2012-09-20n#779627: support for arcsize value in VMLCédric Bosdonnat1-0/+1
Change-Id: If03f36d30a7861f5d14ed3142e339d52da0bdce0
2012-09-19oox: include vector hereMatúš Kukan1-0/+2
Change-Id: I3e6b7ac2e4883125098d5e97ee61f35efb96a5e3
2012-09-19Import bezier curves from .docx.Eilidh McAdam2-0/+25
A shape element with a path attribute is interpreted as a bezier. We can support both curve and line commands by using the correct co-ordinate flags when using the UNO interface (omit control points for lines). Alternatively, curves may be specified using the to, from, control1 and control2 attributes of a curve element. Note that when setting the PolyPolygonBezier property of the xshape, the shape size and position are set too large somehow. The workaround for now is manually forcing the pre-calculated shape size and position. Change-Id: If3563474df357d161a2ed2e7a20856d5aed80a94 Reviewed-on: https://gerrit.libreoffice.org/649 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-19Add VML path parsing to .docx import filter.Eilidh McAdam1-0/+19
Change-Id: Ibb90ff437f6de1cab98b64deeccfa38e0e30756b Reviewed-on: https://gerrit.libreoffice.org/648 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2012-09-13targetted container_controls rework.Noel Power2-9/+10
2012-09-11some more tweaking to import scrollbar data for mso Frame & UserformNoel Power1-0/+6
also removed printf(s) Change-Id: If83565dcd97b276e1f6a8488a9f1d23066c2a9ff
2012-09-06n#771549: Import text offsets in shapes.Muthu Subramanian2-1/+4
* Also fixed a bug where the (offset) increment was conditional. * Reusing Transform2D for <txXfrm> as well. * This is a kind of hack where the margins are adjusted for the give offset values.
2012-08-31-Werror,-Wunused-private-field (Clang towards 3.2)Stephan Bergmann1-8/+3
Change-Id: Idea1fd2769c2431906d4898c0ec935f20bddc391
2012-08-29add SimpleShape::createPictureObject to avoid code duplicationMiklos Vajna1-0/+4
Change-Id: Id4bb0550ab2ce9bbb7edf568a086be18c1576b33
2012-08-29n#777345 import imagedata of v:rect elements inside OLE objectsMiklos Vajna1-0/+6
Change-Id: I300bb5d3008b839f6ec63a4435f5ce8c1dd0a2c1
2012-08-22oox: fix doxygen errors in ole headersMiklos Vajna8-169/+169
Change-Id: Iae78fa7487e2646b1ba61101c5e39d304388a5c6
2012-08-16n#773048: PPTX shape margins need to be rotated as well.Muthu Subramanian1-0/+3
2012-08-14fdo#53113 DOCX: export fillBlip shape propertyMiklos Vajna1-0/+2
Change-Id: Id23518d0f72d7650f3d875028f83caf9b6581ccd
2012-08-14n#759180: Push oox default spacing values.Muthu Subramanian1-1/+1
2012-08-13fdo#53113 oox::VMLExport: allow a callback to be registered for shape textMiklos Vajna1-2/+19
Change-Id: I1df58fa067287a37b0f62b0b05b0567da73d03b0
2012-08-01fdo#45724 fix WW8 export of textbox default background colorMiklos Vajna1-1/+2
regression from 5609c512cd4d2899300b432d88d93cff05a05c87 Change-Id: I5f3ce73943b2805b7de1ae41699e605af9086b15
2012-07-27SmRtfExport: get current encoding from Writer instead of assuming the defaultMiklos Vajna1-1/+1
Change-Id: Ia8bdf83f36d986ca45ddad985aca827224c194f4
2012-07-25export RTF_M{OMATH,R,F,FPR,TYPE,NUM,DEN,MATH}Miklos Vajna1-1/+3
Change-Id: If717d5d3b2179210516eec61959af0afa8b38319
2012-07-23oox::formulaimport::XmlStream: allow avoiding XFastAttributeListMiklos Vajna1-1/+6
Change-Id: Iba0ad5ae72920f27e8a443a043c5891b102aee98
2012-07-17re-base on ALv2 code. Includes:Michael Meeks97-2291/+1443
retain presence of MPL licensed nssrenam.h symbol renamer.