summaryrefslogtreecommitdiff
path: root/oox/inc/oox
AgeCommit message (Collapse)Author
2012-09-27Bin some newly unused methodsJulien Nabet
Change-Id: I1bbbdbb68f073d19b7d99b5ccb4985efd5bde80c
2012-09-27sw: implement page-relative size for drawing objects and import them from docxCédric Bosdonnat
Change-Id: I98b5c53d4860278e3646324ca045114e37b4cf61
2012-09-27n#779627: VML: import mso-position-vertical:center and friendsCédric Bosdonnat
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 McAdam
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 Grandin
Change-Id: I6356c71e236e89c54081a852b3b55eb87b95bce8
2012-09-20n#779627: support for arcsize value in VMLCédric Bosdonnat
Change-Id: If03f36d30a7861f5d14ed3142e339d52da0bdce0
2012-09-19oox: include vector hereMatúš Kukan
Change-Id: I3e6b7ac2e4883125098d5e97ee61f35efb96a5e3
2012-09-19Import bezier curves from .docx.Eilidh McAdam
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 McAdam
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 Power
2012-09-11some more tweaking to import scrollbar data for mso Frame & UserformNoel Power
also removed printf(s) Change-Id: If83565dcd97b276e1f6a8488a9f1d23066c2a9ff
2012-09-06n#771549: Import text offsets in shapes.Muthu Subramanian
* 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 Bergmann
Change-Id: Idea1fd2769c2431906d4898c0ec935f20bddc391
2012-08-29add SimpleShape::createPictureObject to avoid code duplicationMiklos Vajna
Change-Id: Id4bb0550ab2ce9bbb7edf568a086be18c1576b33
2012-08-29n#777345 import imagedata of v:rect elements inside OLE objectsMiklos Vajna
Change-Id: I300bb5d3008b839f6ec63a4435f5ce8c1dd0a2c1
2012-08-22oox: fix doxygen errors in ole headersMiklos Vajna
Change-Id: Iae78fa7487e2646b1ba61101c5e39d304388a5c6
2012-08-16n#773048: PPTX shape margins need to be rotated as well.Muthu Subramanian
2012-08-14fdo#53113 DOCX: export fillBlip shape propertyMiklos Vajna
Change-Id: Id23518d0f72d7650f3d875028f83caf9b6581ccd
2012-08-14n#759180: Push oox default spacing values.Muthu Subramanian
2012-08-13fdo#53113 oox::VMLExport: allow a callback to be registered for shape textMiklos Vajna
Change-Id: I1df58fa067287a37b0f62b0b05b0567da73d03b0
2012-08-01fdo#45724 fix WW8 export of textbox default background colorMiklos Vajna
regression from 5609c512cd4d2899300b432d88d93cff05a05c87 Change-Id: I5f3ce73943b2805b7de1ae41699e605af9086b15
2012-07-27SmRtfExport: get current encoding from Writer instead of assuming the defaultMiklos Vajna
Change-Id: Ia8bdf83f36d986ca45ddad985aca827224c194f4
2012-07-25export RTF_M{OMATH,R,F,FPR,TYPE,NUM,DEN,MATH}Miklos Vajna
Change-Id: If717d5d3b2179210516eec61959af0afa8b38319
2012-07-23oox::formulaimport::XmlStream: allow avoiding XFastAttributeListMiklos Vajna
Change-Id: Iba0ad5ae72920f27e8a443a043c5891b102aee98
2012-07-17re-base on ALv2 code. Includes:Michael Meeks
retain presence of MPL licensed nssrenam.h symbol renamer.
2012-07-17dr78: correct include guardDaniel Rentz [dr]
2012-07-02use master's shape position/size for layout shapes when needed (n#760997)Radek Doulik
Change-Id: I2a9d4f6b134817bda84645df3ab6fa217186e1d2
2012-07-02Remove unused definesThomas Arnhold
Some of them were commented out for documentation purpose. Change-Id: I29a6b2cbe774b527f0c3a0be5675160817a7f3ce
2012-07-01don't build oox::drawingml::TextListStyle::dump by defaultMiklos Vajna
Change-Id: I24a468dbe208afd2a71dd10e7ed5610d8c259aec
2012-06-26oox: fix remaining vba doxygen errorsMiklos Vajna
Change-Id: Ic7816065fd5fda640ce85ab25514df76be098b12
2012-06-25n#759210: Certain smartart drawings weren't imported.Muthu Subramanian
SmartArt info was reset, when there was a chart (e.g.) in the same slide.
2012-06-25oox: kill last vml doxygen errorsMiklos Vajna
Change-Id: I955086f0c816d58fe8dfd104fe90367c76ad6568
2012-06-21re-base on ALv2 code.Michael Meeks
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21n#758883 oox: anchor vml shapes without anchor info as at-characterMiklos Vajna
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ňák
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ňák
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 Vajna
Change-Id: Ieccd1f5e89c550095cd83a3f11939eec210f789e
2012-06-18oox: last vmlshape doxygen mistakesMiklos Vajna
Change-Id: I1d74aad0280662cd06dcc633072402ba13199898
2012-06-12oox: fix TextFontModel doxygen commentsMiklos Vajna
Change-Id: I0f869af4fd497461fc06897540d3be0a6703f00e
2012-06-11callcatcher: update unused codeCaolán McNamara
Change-Id: Id5f730fc447b11000b266954f9e7f5287bad02f4
2012-06-08handle f suffix (1/65536ths) when reading VML percentagesLuboš Luňák
Not all percentage attributes actually use this, but better be safe and no point in checking only the allowed ones use them. Change-Id: I851f9b19ea85201d70d5e6b2e219bbcd88ae3dea
2012-06-07n#757905 fix VML import of mso-wrap-style:noneMiklos Vajna
There were two problems here: 1) SimpleShape::implConvertAndInsert() did not set the anchor type 2) DomainMapper_Impl::PushShapeContext() tried to overwrite it Change-Id: I2c32016c4bb15c891cf287d8208e10817c6291e6
2012-06-06import vmlshape 'hidden' style attribute and apply to controls bnc#757609Noel Power
ensure 'hidden' controls are imported as such.
2012-06-05fix missing ole and form control(s) on xlsx importNoel Power
chang the visibility of aMceState in order to access that member to filter out reading and parsing of ./xl/ctrlProps/ctrlProp[N].xml fragments for 'controls' & 'oleObjects' elements nested withing 'mc:AlternateContent' elements Change-Id: I6892db7e3302b9977f0fdaabbe3ac1444315e011
2012-05-23do not insert empty texbodies for empty placeholder shapesRadek Doulik
- the original problem can be reproduced by creating new empty presentation in powerpoint. after it is loaded in impress, it was completely blank, without placeholder shape texts (Click to add title, Click to add text) Change-Id: I541554e273372ad09cca2fb91e27a17eb1f3a00e
2012-05-22rework getting shape for the .docx import filterLuboš Luňák
This makes both sw/qa/extras/ooxmltok/data/n705956-{1|2}.docx testcases work at the same time. As far as I understand it, the .docx filter calls into oox and at the end if gets the shape, while the shape is removed from the ShapeContainer. In the case of recursion caused by <w:pict><v:shape><w:txbxContent><w:pict><v:shape>, clearing the whole list is wrong. Also, the OSL_ENSURE seems to suggest that there should not be more than one shape inserted by each read. So simply consider maShapes to be a stack when importing .docx . Change-Id: I7263aeaf74c8d31a05e64c56b880cbc6b00d7dd6
2012-05-16Revert selected hunks from various 'unused code' commits.Muthu Subramanian
These functions are required for debugging pptx import problems.
2012-05-08n759212: Text over images.Muthu Subramanian
Default text may not make sense to be copied from the master slide to the slides when there is an image.
2012-05-04Revert "reorganise code a little so ole controls are catered for wrt fdo#49430"Noel Power
This reverts commit 76bab166e21bc3646ae2d3079aae2c5d9ce0d1e5.
2012-05-04reorganise code a little so ole controls are catered for wrt fdo#49430Noel Power
Change-Id: Ifb2c0a97f85884c459b1e7bc4616154c0e4aea2a