summaryrefslogtreecommitdiff
path: root/oox
AgeCommit message (Collapse)AuthorFilesLines
2014-04-15oox: tabs to spaces in generatePresetsCXX.plMiklos Vajna1-62/+62
Change-Id: Icc8edbc9d49c4f48dbe9521627dbf5d4e602ffda
2014-04-15oox custom shape code generator: stop running LO interactivelyMiklos Vajna1-8/+2
Change-Id: Ic90f40c10b7d640d3dadc3c21d0060b351d08195
2014-04-15oox: update source/drawingml/customshapepresets*Miklos Vajna6-22920/+22920
Change-Id: Ic582eb63b9cf9f8f6c757f2e6ed67da5e592e3b8
2014-04-15oox: sort drawingml custom shape preset outputMiklos Vajna2-7/+4
So running the script multiple times give stable output. Also adatpt the script to write SAL_OVERRIDE, so running the script doesn't effectively revert those addotations. Change-Id: Iedcef3af15534d024b6b4173b60c42d852dfdbaa
2014-04-15oox: generate data, not code for VML export preset definitionsMiklos Vajna5-54/+57
Change-Id: Ied9171715de948d30b360eb56626b93b695b7b93
2014-04-15fdo#75722: fix incorrect import of rotated DML shapesJacobo Aragunde Pérez1-1/+14
The DML importer used a tranformation matrix to rotate the shape, but I replaced it with the same code that's being used in the VML importer in which the position is correctly set. I've noticed that I cannot use that code in all cases thanks to the existing unit tests; that's why I added the bUseRotationTransform. In case it is set to true the existing transformation matrix rotation is used. Finally I added a unit test for this case. Change-Id: I260c14b42d169def786e15484e4ecb1d8e8584e4
2014-04-15sal_Bool -> boolJacobo Aragunde Pérez2-5/+5
Change-Id: I92fe7e3d3be4bf64b57dacb2ae8386775b02c80a
2014-04-15drawingML export: search for tab only once, not 3 times per lineMiklos Vajna1-2/+4
Change-Id: I4255862d4bfb673dbcf871282f65aa6b1ad4616e
2014-04-15oox: generate data, not code for drawingML export adjustment valuesMiklos Vajna5-21/+68
Change-Id: I5898314c630348552ca2e0a6df1cc76972e3974c
2014-04-14update_pchThomas Arnhold1-2/+11
Change-Id: I099bff66a7796a5cf18e37e445467bdfb33de602
2014-04-14fdo#65277: Export text run strikeout propertyKatarina Behrens1-0/+29
Change-Id: Id5bd7649a8ffaaf03099bfeab42ea4456ef718ec Reviewed-on: https://gerrit.libreoffice.org/8925 Tested-by: David Tardon <dtardon@redhat.com> Reviewed-by: David Tardon <dtardon@redhat.com>
2014-04-14Clean up function declarations and some unused functionsStephan Bergmann13-105/+71
Change-Id: I2f5b3144e8d4ce3e497a030aa102985c3bc81645
2014-04-14typo: choosen -> chosenThomas Arnhold1-1/+1
2014-04-14SCROLLABLEFRAME never definedThomas Arnhold1-3/+0
2014-04-14SvxMSConvertOCXControlsRemoved never definedThomas Arnhold1-98/+0
2014-04-13Use --switch=2 --readonly-tables gperf optionsTor Lillqvist2-5/+5
The --switch option saves about one megabyte of code (or data), and the --readonly-tables seems like a good idea in general. Change-Id: I19419e2cb9bb76dea4547512572b689883c41d8d
2014-04-10It's "its", not "it's"Tor Lillqvist1-1/+1
Change-Id: Ieaa787afd7cc622b4750a2ee8f17f6dad934ba63
2014-04-10DownLoad -> Download.Jan Holesovsky1-1/+1
Change-Id: Ia1729f570cc80a0375532da6478de9d58518556e
2014-04-08fdo76591:-Textbox property (order-> send behind text) is not preserved.Sourav2-0/+15
Z-Index was not handledin LO for vml. I have made the changes to handle that using aGrabBag. Change-Id: I2af3b2974c8eb699bc6a7b743dc438584d6517ac Reviewed-on: https://gerrit.libreoffice.org/8833 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2014-04-06maybe that helps the tinderboxesMarkus Mohrhard1-2/+5
Change-Id: Ie392fb37da7f05490b4b7f6169b90a18fdc44b36
2014-04-06export data point symbol colorMarkus Mohrhard1-0/+8
Change-Id: I0dcbf616b8ab3c8cea4437d399fa4b5ec33e475a
2014-04-06import data point symbol colorMarkus Mohrhard2-3/+8
Change-Id: I27ebd67a535f8617a6f535414ee8426fae6614b9
2014-04-06remove whitespaceMarkus Mohrhard2-44/+0
Change-Id: I69454c3d9bddfe01da2622117a16bbb37797062a
2014-04-06improve chart series symbol exportMarkus Mohrhard1-40/+44
Using the chart2 service allows us to export series symbols instead of the diagram settings. Change-Id: Ic46f067b60c972af35c0628b3ec4f7851580d725
2014-04-05coverity#735766 Unchecked dynamic_castMiklos Vajna1-0/+2
Change-Id: I7f69e2a9d83d4632a23c6b1b15156b8e084487e2
2014-04-04oox: fix a few bogus SAL_WARNMiklos Vajna3-1/+8
The idea is that when an element is unhandled, it's either unhandled explicitly by an empty "case..break" block (so grep can quickly find it) or we raise a warning. Add a few placeholders for cases that we won't probably handle better in the near future to silence warnings. Change-Id: I41dec7802c4671550130393b4f98a8f0d8dfc059
2014-04-04Turn an unhelpful SAL_WARN into a SAL_INFOTor Lillqvist1-1/+1
Change-Id: Ic5551e915e724957fed74770b405c39c4e601cda
2014-04-03remove unnecessary scope qualifier from sal_Bool usesNoel Grandin3-3/+3
i.e. convert "::sal_Bool" to "sal_Bool" Change-Id: Ie5943aee4fee617bf2670655558927ed25b7e067
2014-04-03oox: sal_Bool->boolNoel Grandin10-18/+18
Change-Id: Ia05b3210314c39db5110eded731f2be4b7405e87
2014-04-03oox: sal_Bool->boolNoel Grandin4-67/+67
Change-Id: I50788585dbcc489325dc9536a8e4d974a710e30d
2014-04-03oox: sal_Bool->boolNoel Grandin5-17/+17
Change-Id: I2ad60bd64cabb29a9e909f31e7d5bd92989120f7
2014-04-03oox: sal_Bool->boolNoel Grandin4-14/+14
Change-Id: If611cf344d82640b284c159e2e6394074b30e2db
2014-04-01Explicitly mark overriding destructors as "virtual"Stephan Bergmann11-20/+20
It appears that the C++ standard allows overriding destructors to be marked "override," but at least some MSVC versions complain about it, so at least make sure such destructors are explicitly marked "virtual." Change-Id: I0e1cafa7584fd16ebdce61f569eae2373a71b0a1
2014-03-31oox, writerfilter: add missing headers for C++ containersDouglas Mencken1-0/+1
Change-Id: Ied05627a0b5fdb8e5fd4a1b071ce32d901f07961 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-03-31coverity#1194923 Missing break in switchCaolán McNamara1-0/+2
and coverity#1194924 Change-Id: I1225745b22d27918ff3efe3ad8f0a7d69ed2f015
2014-03-30enable smoothed property export for line charts, fdo#74619Markus Mohrhard1-1/+2
Change-Id: I1b9796411a6f688f2bc7c53212fb4245c55ab3e1
2014-03-30adapt smooth import to OOXML and not to MSO 2007Markus Mohrhard2-8/+12
Change-Id: Id1dc62a89e2858f81dc9b6eb8a5f3d9996ba85ec
2014-03-30export smooth property correctly to OOXML, fdo#74619Markus Mohrhard1-5/+3
MSO 2007 and later have different behavior for the default value. Be explicit and always export the element. Change-Id: Ic8cad67db8c882d3642a6662bf710be2088335b7
2014-03-29coverity#1194942 Uninitialized scalar fieldCaolán McNamara1-2/+3
Change-Id: I21733cb3fc0dd32a39826b0eaa7b2064d50a9c90
2014-03-28coverity#1130428 Dereference null return valueCaolán McNamara1-2/+6
Change-Id: I557aeb40b4209e2f77383143a8c2665bffea110c
2014-03-28Use setProperty instead of << operatorMuthu Subramanian1-1/+1
Change-Id: I2c553a41de430c200445d8c8e8300af13d0eaea0
2014-03-28n#870234: Import gradfill for text colors.Muthu Subramanian2-0/+7
Uses the first color from the gradfill list. (Which is better than plain black!) Change-Id: I4c1c0c4b031f3681c95b75b3c0683eb4de95bffb
2014-03-27write (no)wrap of text only for custom shapes to .pptx (fdo#71961)Luboš Luňák1-1/+3
Apparently checking the TextWordWrap property in DrawingML::WriteText() gives false by default for objects that do not have it set, which happens to be everything except for custom shapes, which seem to be the only ones to actually obey it. So all normal text would be exported as nowrap to .pptx and read back as custom shape that has non-wrapping text. I tried to make the property return true (which is what it should be in practice), but that appears to be an exercise in futility, or I'm not mad enough to follow the complicated property sets and whatnot. So just write it out only for custom shapes. UNO purists, if any, are welcome to change the dynamic_cast to something UNO-better if they manage without an ambiguous base class error. Change-Id: I3ed906285fde88d902ac9c801986a82a7515638b
2014-03-27Second batch of adding SAL_OVERRIDE to overriding function declarationsStephan Bergmann36-367/+367
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: Ie656f9d653fc716f72ac175925272696d509038f
2014-03-27Cleanup a bit.Muthu Subramanian1-5/+3
Change-Id: I90e15389a76c34d6b7a93cf8b059029795ef8891
2014-03-27n#862510: anchorCtr controls the anchoring as well.Muthu Subramanian2-4/+4
Change-Id: Ib244d89a9f7d400b3891d477314cd5f0193552e0
2014-03-27n#862510: Fix text rotation.Muthu Subramanian1-1/+2
Fix breaks document in n#783433 - the one there is damaged - resaving it using mso 2010 should fix the problem there. Change-Id: Ib2ee7ab20489d716dc189ac6810d705763a16476
2014-03-26support negative overlapMarkus Mohrhard1-2/+1
Change-Id: I1ec67a8697148d650f56650c6320964ac39dfedf
2014-03-25coverity#735446 Logically dead codeCaolán McNamara1-1/+1
Change-Id: I6615145e2529193cbe72f4e5d326832a5b8864d0
2014-03-24fdo#76222 oox: add support for MSO 2007 SP2 encrypted documentsTomaž Vajngerl1-0/+1
Change-Id: I8fa586d49437ff5422fc3daa4c81439146e598a0