summaryrefslogtreecommitdiffstats
path: root/oox
Commit message (Collapse)AuthorAgeFilesLines
* fix for fdo#55565 regression, failure to export vertical text in shapeNoel Power2012-10-031-0/+21
| | | | Change-Id: If3d6413b1fb9e02dc26f930634f84712d7d08ca3
* Use prefixTor Lillqvist2012-10-022-2/+2
| | | | Change-Id: Id1ac9a800b58595771be22097d77d3a7c5a8862c
* Use comphelper::getComponentContextStephan Bergmann2012-09-292-46/+8
| | | | | | ...and some further clean up. Change-Id: Id294c0f38fe0041646fc86cacbd2e19734c746a9
* gbuild: invert handling of standard system libraries:Michael Stahl2012-09-281-2/+0
| | | | | | | Always link in gb_STDLIBS, except when the library explicitly opts out with gb_LinkTarget_disable_standard_system_libs. Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
* gbuild: replace direct gb_STDLIBS use with ...Michael Stahl2012-09-281-1/+2
| | | | | | ... new gb_LinkTarget_add_standard_system_libs Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
* gbuild: split uwinapi out of gb_STDLIBSMichael Stahl2012-09-281-0/+1
| | | | Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
* Bin some newly unused methodsJulien Nabet2012-09-276-52/+0
| | | | Change-Id: I1bbbdbb68f073d19b7d99b5ccb4985efd5bde80c
* sw: implement page-relative size for drawing objects and import them from docxCédric Bosdonnat2012-09-274-0/+36
| | | | Change-Id: I98b5c53d4860278e3646324ca045114e37b4cf61
* n#779627: VML: import mso-position-vertical:center and friendsCédric Bosdonnat2012-09-274-9/+25
| | | | | | | This allows to properly position objects that are vertically and/or horizontally centered relatively to the page. Change-Id: I1f7e78c5b828679817cdfc72e4d90a0850b242fa
* Import shadow effect properties for shapes in docx.Eilidh McAdam2012-09-2611-0/+234
| | | | | | | 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>
* sal_Bool -> boolNoel Grandin2012-09-262-4/+4
| | | | Change-Id: I6356c71e236e89c54081a852b3b55eb87b95bce8
* n#780853 fix DOCX import of w:sdtContent in table cellMiklos Vajna2012-09-251-0/+1
| | | | | | | 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
* Revert "fdo#54609: Exception while importing xlsx."Fridrich Štrba2012-09-241-14/+7
| | | | | | | | | | | We fixed a root cause of that exception. This reverts commit 0f0bd022b6f8ae89655a6e47964842086a9beb80. Conflicts: oox/source/docprop/ooxmldocpropimport.cxx Change-Id: Ica3691e967a30722516420997e6e49fbf38f20d2
* n#779627: support for arcsize value in VMLCédric Bosdonnat2012-09-204-1/+23
| | | | Change-Id: If03f36d30a7861f5d14ed3142e339d52da0bdce0
* n#779834 fix VML import of absolutely positioned image with no left marginMiklos Vajna2012-09-201-1/+6
| | | | | | | 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
* write only non NaN chart series values (fixes part of n#760997Radek Doulik2012-09-201-1/+2
| | | | Change-Id: I7c5bc8b9375a325d4ea78f033f577eff44cfd6e9
* oox: include vector hereMatúš Kukan2012-09-191-0/+2
| | | | Change-Id: I3e6b7ac2e4883125098d5e97ee61f35efb96a5e3
* Import bezier curves from .docx.Eilidh McAdam2012-09-195-2/+138
| | | | | | | | | | | | | | | | | 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>
* vml import: WaE (unused variable, unhandled enum value)Miklos Vajna2012-09-191-2/+3
| | | | Change-Id: Ic59b4a68499bb68619cf72fdc17f5a77186274ae
* Add VML path parsing to .docx import filter.Eilidh McAdam2012-09-192-0/+142
| | | | | | | Change-Id: Ibb90ff437f6de1cab98b64deeccfa38e0e30756b Reviewed-on: https://gerrit.libreoffice.org/648 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
* ComponentContext::getUnoContext -> getComponentContext simplificationStephan Bergmann2012-09-191-12/+2
| | | | | | ...and some further clean-up. Change-Id: If5dce53e382b56390c502d0d0d93fc06cbfe33ea
* better pptx custom shape presets import/exportRadek Doulik2012-09-189-1/+306
| | | | | | | | | | | | | - 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
* deprecate oustringostreaminserter.hxxNorbert Thiebaud2012-09-183-4/+2
| | | | | | | | | | | | | | | | | | | 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>
* Modifying #ifdef to match header file.Muthu Subramanian2012-09-171-1/+1
|
* fdo#54750: Handle any kind of exception (ooxml import).Muthu Subramanian2012-09-131-1/+1
| | | | | This is very similar to fdo#54609 - so changed it to throw a generic Exception.
* targetted container_controls rework.Noel Power2012-09-136-191/+152
|
* disable scrollable Frame ( not working well )Noel Power2012-09-111-2/+2
| | | | Change-Id: I09dc7b656c7ff19b937936e0b8436022d287cc87
* get scrollbar details actually read for groupboxNoel Power2012-09-111-1/+0
| | | | | | <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
* fixed the unable to close dialog when vert scrollbars setNoel Power2012-09-111-0/+3
| | | | Change-Id: If15a2b7312577a8285dc1ab1dea1ccb7c4824ed6
* some more tweaking to import scrollbar data for mso Frame & UserformNoel Power2012-09-113-0/+26
| | | | | | also removed printf(s) Change-Id: If83565dcd97b276e1f6a8488a9f1d23066c2a9ff
* fdo#54609: Exception while importing xlsx.Muthu Subramanian2012-09-111-7/+14
| | | | | | | * 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
* n#778859: Non autofit text are imported as autofit.Muthu Subramanian2012-09-101-0/+4
| | | | Push default values if <bodyPr> exists.
* Fix docx 'absolute' frame position importPierre-Eric Pelloux-Prayer2012-09-071-0/+4
| | | | | | | | | | 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>
* n#771549: Import text offsets in shapes.Muthu Subramanian2012-09-065-7/+52
| | | | | | | * 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.
* fdo#46808, Adapt xml::dom::DocumentBuilder UNO service to new styleNoel Grandin2012-09-031-6/+3
| | | | Change-Id: I577fbc7f990be9ec1f7b7eea53218b7daaccb2a1
* -Werror,-Wunused-private-field (Clang towards 3.2)Stephan Bergmann2012-08-317-37/+14
| | | | Change-Id: Idea1fd2769c2431906d4898c0ec935f20bddc391
* -Werror,-Wunused-value (Clang towards 3.2)Stephan Bergmann2012-08-301-2/+0
| | | | Change-Id: I24bf5a91544269e9284c52aedca1fcd8435a8e4a
* add SimpleShape::createPictureObject to avoid code duplicationMiklos Vajna2012-08-292-38/+36
| | | | Change-Id: Id4bb0550ab2ce9bbb7edf568a086be18c1576b33
* n#777345 import imagedata of v:rect elements inside OLE objectsMiklos Vajna2012-08-292-0/+28
| | | | Change-Id: I300bb5d3008b839f6ec63a4435f5ce8c1dd0a2c1
* fdo#46808, Adapt TempFile UNO service to new styleNoel Grandin2012-08-273-11/+9
| | | | Change-Id: Ia448d6d74201e2be487c6d8317f94be3745808aa
* support export of databar information to extlst for excel2010Markus Mohrhard2012-08-231-0/+2
| | | | Change-Id: I1aaca6676bdbba1e8f365081e3f427fb67fd873e
* oox: fix doxygen errors in ole headersMiklos Vajna2012-08-228-169/+169
| | | | Change-Id: Iae78fa7487e2646b1ba61101c5e39d304388a5c6
* n760019: removing problematic code that disrupts numbering levelFelix Zhang2012-08-211-6/+0
| | | | Change-Id: Idb997e672e4f997ad324bdb5d49ab7dae4a9e9e9
* Reverting superfluous commit 36233b158b5de6c474f06c8c8772f0012b191baaMuthu Subramanian2012-08-211-2/+1
| | | | | | w.r.t David Tardon's suggestion, table cell now always has textbody. commit: 772699ac1f2375c33f0819ebb127555d3178c4e5 Hence reverting this.
* n#773048: PPTX shape margins need to be rotated as well.Muthu Subramanian2012-08-164-19/+34
|
* use a namespace for xfrm transformation element, fixes part of fdo#41992Radek Doulik2012-08-151-1/+1
| | | | Change-Id: I3872028e4204ae5f72942b7345bf881ef3a96752
* call WriteTransformation with namespace id, fixes part of fdo#41992Radek Doulik2012-08-151-1/+1
| | | | Change-Id: Ifb4a78bfc3c47788503da5b7d74f356343a7cbf8
* fdo#53113 DOCX: export fillBlip shape propertyMiklos Vajna2012-08-142-2/+20
| | | | Change-Id: Id23518d0f72d7650f3d875028f83caf9b6581ccd
* n#759180: Override properties with endParaPr.Muthu Subramanian2012-08-141-1/+6
| | | | This is done only for empty textruns.
* n#759180: Push oox default spacing values.Muthu Subramanian2012-08-143-5/+6
|