summaryrefslogtreecommitdiff
path: root/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-25n#780853 fix DOCX import of w:sdtContent in table cellMiklos Vajna
The problem was that the framePr token made the table import fail. Given that frames inside w:sdtContent are invisible anway, just ignore them. Change-Id: I88ab9d5dd6cf362c629de74bc079c3108725f0a1
2012-09-24Revert "fdo#54609: Exception while importing xlsx."Fridrich Štrba
We fixed a root cause of that exception. This reverts commit 0f0bd022b6f8ae89655a6e47964842086a9beb80. Conflicts: oox/source/docprop/ooxmldocpropimport.cxx Change-Id: Ica3691e967a30722516420997e6e49fbf38f20d2
2012-09-20n#779627: support for arcsize value in VMLCédric Bosdonnat
Change-Id: If03f36d30a7861f5d14ed3142e339d52da0bdce0
2012-09-20n#779834 fix VML import of absolutely positioned image with no left marginMiklos Vajna
Given that we talk about mm100, changing 0 to 1 is not that harmful, and it seems later core would crash without at least a small margin. Change-Id: I913e4a5eeaba2e36b55f2d7d7fb5bdfbad8eae94
2012-09-20write only non NaN chart series values (fixes part of n#760997Radek Doulik
Change-Id: I7c5bc8b9375a325d4ea78f033f577eff44cfd6e9
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-19vml import: WaE (unused variable, unhandled enum value)Miklos Vajna
Change-Id: Ic59b4a68499bb68619cf72fdc17f5a77186274ae
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-19ComponentContext::getUnoContext -> getComponentContext simplificationStephan Bergmann
...and some further clean-up. Change-Id: If5dce53e382b56390c502d0d0d93fc06cbfe33ea
2012-09-18better pptx custom shape presets import/exportRadek Doulik
- sometimes we produced unreadable pptx document with custom shape presets - fixes part of n#760997 - before we rely on simple rule that adjustments were named adj1, adj2, ... in case of multiple adjustments and named adj in case there was only one. there are few exceptions though, so now we use exact adjustment names defined in presetShapeDefinitions.xml - TODO: there still might be problem when exporting custom shapes, which didn't originated in pptx import Change-Id: Ic9517a69145a295ba6f680ddc3cc30fc771db3fd
2012-09-18deprecate oustringostreaminserter.hxxNorbert Thiebaud
the intent of this header has canged over time. now it is already systematically included with ustring.hxx and the operator overload it provide fit nicely there... Just to be safe, since that include as been added to the api during the 3.5 timeframe and therefore is already in 'production' the header remain and simply attempt to include ustring.hxx but a warning is issued indicating that this header should not be used anymore... in a couple of major release we will thenr emove it completely All internal users of that header are converted. Change-Id: I8934c55f089e29d78c0f5649b7c87b2ecf024bad Reviewed-on: https://gerrit.libreoffice.org/634 Tested-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-09-17Modifying #ifdef to match header file.Muthu Subramanian
2012-09-13fdo#54750: Handle any kind of exception (ooxml import).Muthu Subramanian
This is very similar to fdo#54609 - so changed it to throw a generic Exception.
2012-09-13targetted container_controls rework.Noel Power
2012-09-11disable scrollable Frame ( not working well )Noel Power
Change-Id: I09dc7b656c7ff19b937936e0b8436022d287cc87
2012-09-11get scrollbar details actually read for groupboxNoel Power
<sigh> the display with groupbox is disappointing, there are many artifacts and the size of the area you actually need to scroll wrong, perhaps we actuall really need a proper groupbox Change-Id: Iba6ff62718728324a461806cef61ee6a6a438ddf
2012-09-11fixed the unable to close dialog when vert scrollbars setNoel Power
Change-Id: If15a2b7312577a8285dc1ab1dea1ccb7c4824ed6
2012-09-11some more tweaking to import scrollbar data for mso Frame & UserformNoel Power
also removed printf(s) Change-Id: If83565dcd97b276e1f6a8488a9f1d23066c2a9ff
2012-09-11fdo#54609: Exception while importing xlsx.Muthu Subramanian
* Handle any exception thrown during document properties import. This is not so critical so as to stop the import. We anyways check for hasElements(). * Also lclGetRelatedStreams might throw IllegalArgumentException
2012-09-10n#778859: Non autofit text are imported as autofit.Muthu Subramanian
Push default values if <bodyPr> exists.
2012-09-07Fix docx 'absolute' frame position importPierre-Eric Pelloux-Prayer
Frames with absolute position style must be vertically placed relative to 'Margin', otherwise parent paragraph style may modify their Y coord. Change-Id: Ifae8f73ad9c6aa98b67283663cfc37dd847ff095 Reviewed-on: https://gerrit.libreoffice.org/561 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
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-09-03fdo#46808, Adapt xml::dom::DocumentBuilder UNO service to new styleNoel Grandin
Change-Id: I577fbc7f990be9ec1f7b7eea53218b7daaccb2a1
2012-08-31-Werror,-Wunused-private-field (Clang towards 3.2)Stephan Bergmann
Change-Id: Idea1fd2769c2431906d4898c0ec935f20bddc391
2012-08-30-Werror,-Wunused-value (Clang towards 3.2)Stephan Bergmann
Change-Id: I24bf5a91544269e9284c52aedca1fcd8435a8e4a
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-27fdo#46808, Adapt TempFile UNO service to new styleNoel Grandin
Change-Id: Ia448d6d74201e2be487c6d8317f94be3745808aa
2012-08-23support export of databar information to extlst for excel2010Markus Mohrhard
Change-Id: I1aaca6676bdbba1e8f365081e3f427fb67fd873e
2012-08-22oox: fix doxygen errors in ole headersMiklos Vajna
Change-Id: Iae78fa7487e2646b1ba61101c5e39d304388a5c6
2012-08-21n760019: removing problematic code that disrupts numbering levelFelix Zhang
Change-Id: Idb997e672e4f997ad324bdb5d49ab7dae4a9e9e9
2012-08-21Reverting superfluous commit 36233b158b5de6c474f06c8c8772f0012b191baaMuthu Subramanian
w.r.t David Tardon's suggestion, table cell now always has textbody. commit: 772699ac1f2375c33f0819ebb127555d3178c4e5 Hence reverting this.
2012-08-16n#773048: PPTX shape margins need to be rotated as well.Muthu Subramanian
2012-08-15use a namespace for xfrm transformation element, fixes part of fdo#41992Radek Doulik
Change-Id: I3872028e4204ae5f72942b7345bf881ef3a96752
2012-08-15call WriteTransformation with namespace id, fixes part of fdo#41992Radek Doulik
Change-Id: Ifb4a78bfc3c47788503da5b7d74f356343a7cbf8
2012-08-14fdo#53113 DOCX: export fillBlip shape propertyMiklos Vajna
Change-Id: Id23518d0f72d7650f3d875028f83caf9b6581ccd
2012-08-14n#759180: Override properties with endParaPr.Muthu Subramanian
This is done only for empty textruns.
2012-08-14n#759180: Push oox default spacing values.Muthu Subramanian
2012-08-14fdo#53113 vml export: handle custom segment typesMiklos Vajna
It seems that EscherPropertyContainer::CreateCustomShapeProperties() simply sets nSeg to the number of (lineto) point pairs by default. Change-Id: I24bde088f5f2970d53de827e1ca03c5419ac892c
2012-08-13fdo#53113 oox::VMLExport: allow a callback to be registered for shape textMiklos Vajna
Change-Id: I1df58fa067287a37b0f62b0b05b0567da73d03b0
2012-08-11Remove unused local varsJulien Nabet
Change-Id: I80bd0329e15cb365091ea6f5c7e1ef3559d681fc
2012-08-09misc comment import/export fixesNoel Power
a) fix vmldrawing.vml for xlsx export ( changed from frame to textbox, added support for shadow element with attributes, shadow color, shadow obscured ) b) use proper fillcolor attribute c) detect whether note/comment is shown on import d) export state of note ( shown/hidden ) text position still not perfect, we still are missing some attributes to control that. Change-Id: I59b446175217479ce7960287aa540df8c6b2b1ea
2012-08-07n#774167: Crash fix.Muthu Subramanian
2012-08-01-Werror,-WformatStephan Bergmann
Change-Id: Ie6fbcb1a11f47b54d3c697716b03f9891a1dea49