summaryrefslogtreecommitdiffstats
path: root/oox
Commit message (Collapse)AuthorAgeFilesLines
* WaE: implicit conversion of NULL constant to 'boost::detail::sp_nullptr_t'Tor Lillqvist2014-01-131-1/+1
| | | | Change-Id: I4dc6267003e12c960b82efa54ed3af4a3c6376c4
* fdo#70942 Preserve original shape type, if shape contains text.Nikhil Walvekar2014-01-133-0/+14
| | | | | | | | | | | | | Currently we change shape type to textframe if a shape contains text. Due to this shape information is not preserved when file is saved. Conflicts: sw/qa/extras/ooxmlexport/ooxmlexport.cxx Reviewed on: https://gerrit.libreoffice.org/7372 Change-Id: I7af3ce29f857d6fa2ceab0350937d91638361e7c
* fdo#73247: Code fixed for Shape rotation not preserved in RTYogeshBharate2014-01-131-1/+22
| | | | | | | | | | | | | | | | Problem Description: - When we create the shape with text, rotated it with some angle, the rotation angle is not preserved after roundtrip. Implementation: - Use the FrameInteroGrabBag to preserve the rotation angle. Conflicts: sw/qa/extras/ooxmlexport/ooxmlexport.cxx Reviewed on: https://gerrit.libreoffice.org/7367 Change-Id: I8a44e82d21f08ecb221cdbfef73f02a652f2bad3
* fdo#65833 Fix to preserve VML Canvas InformationVinaya Mandke2014-01-133-3/+39
| | | | | | | | | | | | | | Grab-bagged the "editas" attribute of v:group and added UT for the same Please verify this fix on MS Office 2007 as it renders the mc:Fallback VML part Conflicts: sw/qa/extras/ooxmlexport/ooxmlexport.cxx Reviewed on: https://gerrit.libreoffice.org/7335 Change-Id: I4e4456997621089967514009005ee775b71d6d69
* remove unnecessary sal_Unicode casts in OUStringBuffer::append callsNoel Grandin2014-01-074-5/+5
| | | | | | | | | Convert code like: buf.append( static_cast<sal_Unicode>('!') ); to: buf.append( '!' ); Change-Id: Iacb03a61de65a895540940953b49620677b3d051
* oox: handle a:noAutofit/spAutoFit in WpsContextMiklos Vajna2014-01-061-1/+13
| | | | Change-Id: I568e8d95f263b30579a2eec49abe8ae45f7f2e96
* fdo#73217 : Textbox with picture fill are rendered and saved properly.sushil_shinde2014-01-062-1/+7
| | | | | | | | | | | | | - Bitmap url was not stored propertly for textframes. - Exported background image fill for text box properly. - Added unit test. Conflicts: sw/qa/extras/ooxmlexport/ooxmlexport.cxx Reviewed on: https://gerrit.libreoffice.org/7259 Change-Id: I1fbab24b2a83b22be04fd6950c80ddf274436738
* oox: handle pic:pic in WPG groupshape importMiklos Vajna2014-01-061-0/+4
| | | | Change-Id: I7de11251bc4e1b58f9cb308e8b698d4c8c1a58d3
* oox: fix XML namespace of drawing::GraphicObjectShape in DML exportMiklos Vajna2014-01-061-1/+7
| | | | Change-Id: Ia7fb126f30ff1c4cd2f5fb8a5c71a87dd5e1d5c9
* cppcheck: Clarify expression with parenthesesJulien Nabet2014-01-041-3/+3
| | | | Change-Id: I71333af38adba1d916138835e28419bb62cd1db4
* oox: fix handling of noop parent transformation from DOCXMiklos Vajna2014-01-032-8/+15
| | | | | | | | | | | | | It seems that in Word, a zero parent transformation, like: <a:chOff x="0" y="0"/> <a:chExt cx="0" cy="0"/> means the child shapes will have an absolute position / size. We actually use this feature in the exporter, but so far the importer didn't handle this. Change-Id: I250784a3dddd23649e391b548fc128dfdf153614
* drawingML import: fix default character height of WPG rectanglesMiklos Vajna2014-01-032-5/+9
| | | | | | | The problem was that due to setting it to 18 in oox, the rectangle didn't inherit the default 11 from the document. Change-Id: I05c3b9c1d64eec58695e2039651a5f015df1f9e4
* fdo#73215 oox: don't assume single adjustment is adj during exportMiklos Vajna2014-01-021-1/+17
| | | | | | | | | | | | | | | So far adjustment names were either taken from the document model, or in case there the name was empty, either "adj" was used (in case of a single adjustment) or "adj1", "adj2", etc. The problem is that there is no consistency here, e.g. this behavior was correct for "cube" (single adjustment is called "adj"), but not for "bentConnector3", where the single argument is called "adj1". Instead of trying to guess or build a long list manually, use the new ooxDrawingMLGetAdjNames() to write the correct names. Change-Id: I3d609975d89c7c79f4a70c7a739cab8e01f9667f
* oox: extract adjustment names by type from spec XMLMiklos Vajna2014-01-021-0/+25
| | | | | | | | | | The naming of adjustments is not consistent for drawingML shapes, some of them have the first parameter as "adj1", some of them have it as "adj". We already have a script that generates some code based on these XML files, make it generate a function that returns the naming for each type. Change-Id: I2250f72854295055e1b31f2df9aec25a997db749
* oox: fix export of TextShapes in DOCXMiklos Vajna2014-01-021-6/+12
| | | | | | | This was the last shape type that unconditionally wrote XML_sp for the shape element, which is invalid for DOCX. Change-Id: I3a6f8e6fd8ebbe663dce9ed4453396c3ec91c38a
* oox: fix export of LineShapes in DOCXMiklos Vajna2014-01-021-9/+15
| | | | Change-Id: I7b6f4616d450d2cffa58217db2ef250f5b8d9cba
* oox: fix export of BezierShapes in DOCXMiklos Vajna2014-01-021-9/+15
| | | | Change-Id: I6fce580fc68c9ab2a56e342d6c5473f46e9a7f56
* workaround rather maddening endian-specific template bustageCaolán McNamara2014-01-012-3/+16
| | | | Change-Id: I69dc97c93ef5efe8d71074ac3eca06a3bbc45253
* oox: whitespace fixes in WpsContextMiklos Vajna2013-12-282-54/+62
| | | | Change-Id: Idcd4409a02a5b0dc5f7b67d2a482bf4fe30f579c
* fdo#72998: Custom shapes have improper size.Muthu Subramanian2013-12-271-0/+6
|
* oox: whitespace fixes in WpgContextMiklos Vajna2013-12-242-27/+35
| | | | Change-Id: I4b4a3f9c4ec2c49c178d2e6a175b3dc307295e97
* oox: fix drawingml export of nested groupshapesMiklos Vajna2013-12-231-2/+5
| | | | | | | It turns out drawingml requires using different XML elements in case the groupshape is a toplevel one or a nested one. Change-Id: I9b76f9d0ae48cd80aaf0d6d41f1eb071cdc8cc07
* oox: whitespace fixes in LockedCanvasContextMiklos Vajna2013-12-212-22/+30
| | | | Change-Id: Iee8cfce2b002e19762f7bd247729f6da52a543c6
* typo fixesAndras Timar2013-12-201-2/+2
| | | | Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
* oox: import textframe border line width from drawingmlMiklos Vajna2013-12-201-0/+2
| | | | | | | With this, CppunitTest_sw_ooxmlexport's testTextFrameBorders finally pases, even in experimental mode. Change-Id: I393bf1089702004956124c6aaad594ed32804b71
* oox: import textframe shadow from drawingmlMiklos Vajna2013-12-201-0/+51
| | | | | | | CppunitTest_sw_ooxmlexport's testTextFrameBorders is a reproducer for this problem. Change-Id: I5e164c6c151caca62e5b4464e7ed3708f59ada82
* css.xml.sax service ctor clean-upStephan Bergmann2013-12-192-8/+7
| | | | Change-Id: I556904861e93a145cfe65f61218926851e4e8eb0
* oox: import drawingml border color for TextFramesMiklos Vajna2013-12-191-0/+17
| | | | | | | CppunitTest_sw_ooxmlexport's testTextFrameBorders is a reproducer for this problem. Change-Id: I0fdf6362fcc487a5002ef7f359dc4d4a1fb03616
* n#828390: Bullet sizes set wrong.Muthu Subramanian2013-12-191-1/+1
|
* fix OOXML validation error in new data table export codeMarkus Mohrhard2013-12-191-1/+2
| | | | Change-Id: I42b2fcdc914bc8c6066fdfce22ad05b5c01317d9
* fdo#72304 Write Chart Data Table information back to XML.Nikhil Walvekar2013-12-191-1/+38
| | | | | | | | | | | During export access properties stored during import and write back those. Currently we just support basic chart data table information such as border and outline, there are more properties, which are pending. Conflicts: chart2/qa/extras/chart2export.cxx Change-Id: Icbc1245fc829f49833a8c307e029c3dd3dc2e0bd
* fdo#72304 Added properties to store Chart data table information, during import.Nikhil Walvekar2013-12-194-0/+77
| | | | Change-Id: I77c458828b86bc31fae533e2e632d57237e44e6f
* fdo#72306 Axis names were lost after saving file on LO.sushil_shinde2013-12-191-1/+1
| | | | | | | | | While exporting chart "crosses" position values were not handled properly in chartexport. Fixed this issue by handling "autozero" value for c:crosses. Added unit test. Change-Id: I3489908d4c3d4b41a04debfecf95e65f373649ce
* fix an OOXML chart validation errorMarkus Mohrhard2013-12-191-1/+1
| | | | Change-Id: I0c95aa285509187b6d54f44c41720e2aefab175b
* fix an OOXML chart validation errorMarkus Mohrhard2013-12-191-9/+11
| | | | Change-Id: Ic91f6179b663afb59700f85ea48720dc9b14f372
* n#828390: Explictly export font properties.Muthu Subramanian2013-12-181-4/+4
| | | | | Seems like the status is returned as default, but the font properties needs to be still exported.
* No need for implbase1.hxx to include XComponentContext.hppStephan Bergmann2013-12-174-0/+6
| | | | | | | ...which it did unlike all the other implbaseN.hxx. Required lots of downstream clean-up, of course. Change-Id: Ib720e7a0a43410dcd7e6338b84a3973dfbb20866
* DOCX drawingml export: give drawinglayer pictures the correct namespaceMiklos Vajna2013-12-171-1/+6
| | | | | | | This is triggered by testVMLData in CppunitTest_sw_ooxmlexport when DML export is enabled in non-experimental mode. Change-Id: Id636b1ab701ff49da1b05b720fcb2173360584ba
* Adapt all (non-extension, SharedLibrary) .components to environment="..."Stephan Bergmann2013-12-171-2/+2
| | | | Change-Id: I56f38bd786f3a026cb2908f28540dc9c4003af83
* oox: fix ShapeExport::WriteRectangleShape() for docxMiklos Vajna2013-12-161-2/+4
| | | | | | | This fixes testFdo60990 in CppunitTest_sw_ooxmlexport when DML export is enabled in non-experimental mode. Change-Id: If69bdb6ed8798ccd3e5e3bb55ec4d2a598fd6060
* Use sal_Int32 to satisfy oox/helper/helper.hxx's convertLittleEndianDouglas Mencken2013-12-161-1/+1
| | | | | | | | | Fixes build error "no matching function for call to oox::ByteOrderConverter::convertLittleEndian(int&)" Change-Id: I899f151ff99737247ce4090f59897eba842c40ba Reviewed-on: https://gerrit.libreoffice.org/7099 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
* DOCX Import of 'paragraph formatting track changes'Adam Co2013-12-161-0/+1
| | | | | | | | | | | | This patch adds support for the import of 'paragraph formatting track changes' in the DOCX filter. It detects the 'pPrChange'->'pPr' node and stores all the properties that it processes in the redline object. Change-Id: I3cce83dad4d46c2216ca36393b6572f0fc9d2ed7 Reviewed-on: https://gerrit.libreoffice.org/6992 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
* fix indentationMarkus Mohrhard2013-12-151-60/+60
| | | | Change-Id: Ide951bb2c7e06d8c16e6f07200901e5112be3524
* fdo#72221: Fixed for doughnut chart - RT is invalidPriyankaGaikwad2013-12-151-5/+7
| | | | | | | | | Doughnut chart is exported as pie chart. Change-Id: I440fa86786be8c9bdd4663475faf8e2a5f5e8070 Reviewed-on: https://gerrit.libreoffice.org/6924 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
* silence cppcheckMarkus Mohrhard2013-12-141-1/+3
| | | | Change-Id: Iea597af9335aa6314a9465ec61cbaae9867a4cf4
* also export hiLowLines for lineChartMarkus Mohrhard2013-12-131-9/+21
| | | | Change-Id: I7b96fcb1e537517a80de87d997818d372d03f74a
* fix an OOXML validation error with the last patchMarkus Mohrhard2013-12-131-1/+1
| | | | Change-Id: I1aa1b2675a23b124666fce25807ddf65dfdcb8d5
* fdo#72345: Fixed for Charts - Up Down Bars are missing after Round tripYogeshBharate2013-12-131-16/+36
| | | | | | UpDownBars missing after Roundtrip in case of LineChart. Change-Id: Ia3e574aefb9436a2f5b2b88e8824625d09d35c38
* drawingml export: handle child shapes when exporting groupshapesMiklos Vajna2013-12-132-1/+19
| | | | Change-Id: I4ed800ad17750c87788108417c8a7b1817853115
* fdo#65836 Do not compress WMF / EMF file incase of OOXML exportNikhil Walvekar2013-12-131-2/+2
| | | | | | | Change-Id: Ic498e5703ab48719f998be6da3f245843cc0979d Reviewed-on: https://gerrit.libreoffice.org/6849 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>