summaryrefslogtreecommitdiff
path: root/oox
AgeCommit message (Collapse)Author
2012-11-08I hate sal_Int32, episode #1326.Luboš Luňák
Change-Id: Ibfda2b553bae1ad040f722dde46a352a313218fc
2012-11-08implement inset attribute of <v:textbox> (part of bnc#773061)Luboš Luňák
Change-Id: I1ec9b5d9fed86c44dc0a412c2323033ea67985c9
2012-11-07oox: fix doxygen comments in helperMiklos Vajna
Change-Id: I1e9b2075cbbb7a2ad7de64dd449cb42bf95ecc20
2012-11-05bnc#785727: Add more safety checks, exact bug mechanism unclearTor Lillqvist
Change-Id: Ieef2ce470613f6adfbb134d2bd59f2a6fd4a848d
2012-10-28fix some VS 2010 specific issuesDavid Ostrovsky
Change-Id: Iae27a96c1e2ed72d2744fcbe100d6ada7dc41c82 Reviewed-on: https://gerrit.libreoffice.org/914 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2012-10-25WaE: 'xChartType$D57056$_pInterface' may be used uninitialized…Christian Lohmaier
… in this function" declaring those functions static breaks the build on MacPPC / gcc 4.0.1 Change-Id: I3a389530d51ae0ddd38418159ca4234016bf93ba Reviewed-on: https://gerrit.libreoffice.org/911 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2012-10-25n#773048: Adjust rotate in relation to fix for n#783433Muthu Subramanian
2012-10-24fdo#46808, convert comphelper::ConfigurationHelper to XComponentContextNoel Grandin
Convert the helper methods to take an XComponentContext parameter, instead of XMultiServiceFactory. Change-Id: I9f0098af37b91f107d8799f14caa04756eac82b1
2012-10-18Improve vml path parsing to handle repeated commandsPierre-Eric Pelloux-Prayer
Previously commands were executed only when the parser found a new command in the stream. Some vml path commands can handle repeated set of parameters, like this : lx1,y1,x2,y2,x3,y3,x1,y1 This patch adds support for this by executing commands when required parameters count has been met. Change-Id: Iab31fd267842755b81a3e228e45a8de63505fbd0 Reviewed-on: https://gerrit.libreoffice.org/774 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Reviewed-by: Petr Mladek <pmladek@suse.cz> Tested-by: Petr Mladek <pmladek@suse.cz>
2012-10-16vml import: only apply width-percent attribute if it's != 0Pierre-Eric Pelloux-Prayer
This fixes an issue with a shape defined with these attributes: mso-width-percent:0;mso-height-percent:0 and mso-width-relative:page;mso-height-relative:page; where all points were then located in (0,0) Change-Id: I51070ad2b2e4e05ab64f16813472ca1d7099fb09 Reviewed-on: https://gerrit.libreoffice.org/775 Reviewed-by: Petr Mladek <pmladek@suse.cz> Tested-by: Petr Mladek <pmladek@suse.cz>
2012-10-13oox: fix loplugin warningsMiklos Vajna
Change-Id: I73375f46d31ef7446b7c059aa2a23024e677021c
2012-10-13Prefer prefix ++/-- operators for non-primitive typesJulien Nabet
+ replace "<" by "!=" for end iterator comparison with current it Change-Id: I6e90caa8752c7057cca8c74fca12c0a050544dbb
2012-10-12mark lcl_ functions static or rename them if they are not local at allLuboš Luňák
http://lists.freedesktop.org/archives/libreoffice/2012-October/039639.html Change-Id: I1a0e436051d48e7f6224d6f0fc602347df2d4df1
2012-10-11we love you 32bit sal_Int32 as longCaolán McNamara
Change-Id: I006bceae3d05d2c014beae2127ad8a57c9bee353
2012-10-11n#778854: Fixes quite some issues with bullet points.Muthu Subramanian
* Properties needs to be combined before applyed. Rather than applying them separately twice. * ParaMargins set to zero wrongly rather than boost::none This caused its own set of problems. * Hack: Push default zero to tabstops. This makes impress calculate proper values for tabstops using leftmargin.
2012-10-11callcatcher: update unused code listCaolán McNamara
Change-Id: Ie903e37cccf98f1b91c05e87f067f2986b746590
2012-10-10fix text rotation for txXfrm element, fixes n#783433Radek Doulik
Change-Id: I82a14170ce8d58184b1a86f7fc0f9e9d93238c92
2012-10-09added safety checkRadek Doulik
Change-Id: I05ca3e5b176202d26c2f2e45cc674ea54934a30b
2012-10-08implement a:overrideClrMapping (fixes n#783202)Radek Doulik
Change-Id: Ib6c0fd6d9b64f2bff446f919c58027fea76a00cb
2012-10-06Remove 3 oox::ole elements:Julien Nabet
oox::ole::AxFormPageModel::AxFormPageModel() oox::ole::AxMultiPageModel::AxMultiPageModel() oox::ole::AxTabStripModel::AxTabStripModel() Change-Id: I09c0993c2b6e98eed5536ac1c2a8b5559a3dcac6
2012-10-03fix for fdo#55565 regression, failure to export vertical text in shapeNoel Power
Change-Id: If3d6413b1fb9e02dc26f930634f84712d7d08ca3
2012-10-02Use prefixTor Lillqvist
Change-Id: Id1ac9a800b58595771be22097d77d3a7c5a8862c
2012-09-29Use comphelper::getComponentContextStephan Bergmann
...and some further clean up. Change-Id: Id294c0f38fe0041646fc86cacbd2e19734c746a9
2012-09-28gbuild: invert handling of standard system libraries:Michael Stahl
Always link in gb_STDLIBS, except when the library explicitly opts out with gb_LinkTarget_disable_standard_system_libs. Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
2012-09-28gbuild: replace direct gb_STDLIBS use with ...Michael Stahl
... new gb_LinkTarget_add_standard_system_libs Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
2012-09-28gbuild: split uwinapi out of gb_STDLIBSMichael Stahl
Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
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