summaryrefslogtreecommitdiff
path: root/oox/inc
AgeCommit message (Collapse)AuthorFilesLines
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.
2012-07-17dr78: correct include guardDaniel Rentz [dr]2-2/+2
2012-07-02use master's shape position/size for layout shapes when needed (n#760997)Radek Doulik1-3/+3
Change-Id: I2a9d4f6b134817bda84645df3ab6fa217186e1d2
2012-07-02Remove unused definesThomas Arnhold1-2/+0
Some of them were commented out for documentation purpose. Change-Id: I29a6b2cbe774b527f0c3a0be5675160817a7f3ce
2012-07-01don't build oox::drawingml::TextListStyle::dump by defaultMiklos Vajna1-1/+1
Change-Id: I24a468dbe208afd2a71dd10e7ed5610d8c259aec
2012-06-26oox: fix remaining vba doxygen errorsMiklos Vajna3-27/+27
Change-Id: Ic7816065fd5fda640ce85ab25514df76be098b12
2012-06-25n#759210: Certain smartart drawings weren't imported.Muthu Subramanian1-0/+1
SmartArt info was reset, when there was a chart (e.g.) in the same slide.
2012-06-25oox: kill last vml doxygen errorsMiklos Vajna1-22/+22
Change-Id: I955086f0c816d58fe8dfd104fe90367c76ad6568
2012-06-21re-base on ALv2 code.Michael Meeks78-1896/+1194
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21n#758883 oox: anchor vml shapes without anchor info as at-characterMiklos Vajna1-0/+2
w10:wrap was originally arrived to writerfilter::dmapper::WrapHandler::lcl_attribute(), but writerfilter::dmapper::DomainMapper_Impl::PushShapeContext() was called already and set the anchor type. Fix this, then we can set a a suitable anchor type in lcl_SetAnchorType() based on the type model. Change-Id: Ib411450b10f29f814bc13d81eaec434971b2e52a
2012-06-19rework handling the case of recursive ooxml shapes againLuboš Luňák1-4/+19
Another attempt, whoever has written this apparently didn't consider the possibility of recursion at all, and this still feels a bit hackish. Writerfilter keeps just one oox::shape::ShapeContextHandler object during the entire time of parsing the document, because e.g. <v:shapetype> needs to be reachable even across VML block (see sw testcases for bnc#705956). This however presents a problem when VML contains <w:txbxContent> which contains another VML, as this code previously just took whatever has been read and returned it to writerfilter, and it broke with recursion. So now try to mark recursion entry and returns the right shape. Related to 36c12c246d886b2d96d7a2d4d0c250db9d925c74 and the previous commits it reverted. Change-Id: I949a6b52ec7540aa59b047c7b6e908b10fb3bdc1
2012-06-19Revert "rework getting shape for the .docx import filter"Luboš Luňák1-2/+4
Stupid containers with shared_ptr. Trying to remove the object from it gets it deleted because it's owned by the shared_ptr and there's no sensible way to wrestle it out of it. This will need to be redone somehow. This reverts commit 04d600d4be7c50db4b3b505039eb8bc96856f593.
2012-06-19oox: fix all vmlshapecontainer doxygen errorsMiklos Vajna1-5/+5
Change-Id: Ieccd1f5e89c550095cd83a3f11939eec210f789e