summaryrefslogtreecommitdiff
path: root/oox
AgeCommit message (Collapse)Author
2014-04-28fdo77216-Charts-Scattered chart: Chart gets distorted on RTSourav
In case there is some text entered in place of X coordinates for scatter chart then x coordinates should be taken as 1,2,3.... MS Word does the same thing Change-Id: I1db0fd64c6ac0f4d5e77a9676812f5e26577ecf6 Reviewed-on: https://gerrit.libreoffice.org/9011 Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2014-04-27Resolves: #i124703# adapt coordinate range from ms relative...Armin Le Grand
control points to our relative control points (cherry picked from commit 8625253da753153838554fef459ae603ca8d3ecc) Conflicts: oox/source/drawingml/customshapeproperties.cxx Change-Id: I356a44fdbdcc22630811467e706bcb60c41dbc2c
2014-04-24fdo#77089 pass shape dimensions to graphicfilter for WMFTomaž Vajngerl
Change-Id: I673a76ef85038b1f304ea85faeed5b4a462cb144
2014-04-23Monkey see, monkey do?Stephan Bergmann
At least, it makes CppunitTest_sw_ooxmlsdrexport succeed again. Change-Id: I05b9de5366b0e3d2007311d00991758b6d6f8dba
2014-04-23Fix start/endElement callsStephan Bergmann
Change-Id: I82525020d148de276ece44406180cc59e759d93f
2014-04-23ooxml: Preserve inner shadow effect on shapes.Jacobo Aragunde Pérez
Reused most of the code of outerShdw effect. Modified an existing unit test to add a check for innerShdw. Change-Id: Ifdd77850bfd3b5fa250594469455b1b66c338611
2014-04-23ooxml: Preserve outer shadow effect on shapes.Jacobo Aragunde Pérez
The goal is preserving the shadow effect with all its attributes using the shape grab bag. This is the relevant piece of XML in the document: <a:effectLst> <a:outerShdw blurRad="50800" dist="38100" dir="2700000" algn="tl" rotWithShape="0"> <a:schemeClr val="accent1"> <a:alpha val="40000" /> </a:schemeClr> </a:outerShdw> </a:effectLst> In first place, we added members to the structure EffectProperties to store the effect name and attributes. Later, when we create the shape, we add them to the shape grab bag together with the shadow color (if it is a theme color we store its name and transformations like in other cases). Finally, we read back all these data from the shape grab bag and write them back to the document. I added a unit test for this shape property. Change-Id: Idda2d5e2970cb8563e2ed13a84b2fa2d4b99aa70
2014-04-23sal_Bool -> boolJacobo Aragunde Pérez
Change-Id: I08f37f3bfe7d14e10fb4383eae3d3469df7e707e
2014-04-23oox: sal_Bool->boolNoel Grandin
Change-Id: Icddec34e91305cfc3f9d852472bb86eab4d8cb26
2014-04-23Fix of run properties of text box in nested group shapeRohit Deshmukh
- Textbox run character properties are change after roundtrip - Italic case was not handled in textcharacter properties Reviewed on: https://gerrit.libreoffice.org/9096 Change-Id: Ia38fcadce489ef0bfffb9bda402d13058cf6129a
2014-04-22fod#77122 DOCX filter: link between textboxes is not being preservedumeshkadam
Added support for linked textboxes for docx interoperability. Reviewed on: https://gerrit.libreoffice.org/9092 Change-Id: I7db4f5a1783afff53c64908d182788b262f5e863
2014-04-21coverity#735765 Unchecked dynamic_castMiklos Vajna
Change-Id: I4a1bf64267d36ff4b3b7cf0ba2cc23c52ec2d36e
2014-04-19coverity#735764 Unchecked dynamic_castMiklos Vajna
Change-Id: Ic7dc70c1052f5ab04a3e1795549ca43e2e0f2587
2014-04-18Remove now unused oox::drawingml::CustomShapeProperties::PresetsMapMiklos Vajna
Change-Id: I25a713094089f4d6df9fbb3ce9e5015ea66eb34a
2014-04-17-Werror,-Wimplicit-exception-spec-mismatchStephan Bergmann
Change-Id: I6e93180cbc980438e47ee24735de1fb9758b7add
2014-04-17coverity#1202900 Uncaught exceptionCaolán McNamara
Change-Id: I53e7bd12701ca4d30fdbf36fe525076d53f86edc
2014-04-17oox customshapepreset: switch to generated data -> codeMiklos Vajna
With this, oox/source/drawingml/customshapepresets*.cxx becomes unused code, while share/filter/oox-drawingml-cs-presets in instdir becomes a requirement. Change-Id: Ia886a47295514bbacd1e522273c59f0656e4cf6b
2014-04-17oox customshapepresetdata: empty is an empty string sequenceMiklos Vajna
In case the data is empty, the data loader still set the proper type for the sequence, while the generated code used a string sequence. Do the same to keep testcases happy, there is no visual difference anyway. Change-Id: I1b9be4486184a2a84c384f1365cc68dd45b8eee0
2014-04-17oox customshapepresetdata: parse SubViewSizeMiklos Vajna
Change-Id: I2feb7054ea2bd699384b01a1d83845cd3c2562b0
2014-04-17oox customshapepresetdata: allow empty equation listMiklos Vajna
Change-Id: Ie18c3e631c266d4281df8b92d08ddeaaef20e8d7
2014-04-17oox customshapepresetdata: handle RadiusRangeMaximum/RadiusRangeMinimumMiklos Vajna
Change-Id: Icc6e96f4cfbf8304933246d43621bf8d2824daf3
2014-04-17oox customshapepresetdata: allow empty handle listMiklos Vajna
Change-Id: I35d1c6aaf94853df844bd226c57003742d3c48be
2014-04-17oox customshapepresetdata: allow empty adjustment listMiklos Vajna
Change-Id: I842a464ddc0403d63698b2f9b52d4362af1e46c3
2014-04-17oox customshapepresetdata: handle multiple definitionsMiklos Vajna
Change-Id: I41b1ff9fa030267ef05fadeb6f77d33a183af8f1
2014-04-17oox customshapepresetdata: handle RangeXMaximum and a few more propertiesMiklos Vajna
Change-Id: I8649866c338055ed7fe7c14f366c69670b538d93
2014-04-17oox: initial customshape preset data loaderMiklos Vajna
CustomShapeProperties::pushToPropSet() still uses the old generated code, though. Change-Id: I02550bdf4ac57ef54992facd7ccd144e798be1e8
2014-04-17oox: add customshapes preset dataMiklos Vajna
This is generated data, meant to replace source/drawingml/customshapepresets*.cxx soon. Just like the code before, let's have it in git, generating it requires an already working Impress, so it's nontrivial to produce it build-time. Change-Id: Iaf8c77fc6ee0402e3e145b131724b7891d6b6b3f
2014-04-17fdo#77219 Image property Z-index [behindDoc] not preserved after RTRavindra Vidhate
Problem description: For the images who has the "Text wrapping" property set as Behind Text is not preserved after saving the file in DOCX format using LO. Reviewed on: https://gerrit.libreoffice.org/9065 Change-Id: Ic8555103909c0f1ed1cb58fba4dc2ef2f84cc9dd
2014-04-17coverity#1202823 Dereference null return valueCaolán McNamara
Change-Id: I72d795203aedf34d32012ecee3c8fdfbc2a8a08f
2014-04-16oox: add --data switch to generatePresetsCXX.plMiklos Vajna
generatePresetsCXX.pl (as its name says) by default generates C++ code, but with the new switch it filters out data from the provided custom-shapes.log. Change-Id: Ic59c666422db667112c280716f98342fabdae692
2014-04-16oox: add a method to dump a PropertyMap as dataMiklos Vajna
It was already possible to dump a PropertyMap as code, but not as data. The plan here is that if we dump the customshape preset definitions as data, then once there is a parser for it, we can get rid of the ugly generated code. Change-Id: If596941fedf71693e5d0bff436446ac0855c4c84
2014-04-16fdo#77476:FILE_SAVE : 'TIF' is changed to 'TIFF' in RTRavindra Vidhate
1. Open the attached file in LO which has images [.TIF] format 2. Save the document as DOCX 3. Open the saved document in MS-Office or extract the content of the saved docx file. In [Content_Types].xml , .tif extension is changed to .tiff. Change-Id: I73baea9ad6cd991b04d47e23865b77432127a510 Reviewed-on: https://gerrit.libreoffice.org/9010 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-04-15oox: tabs to spaces in generatePresetsCXX.plMiklos Vajna
Change-Id: Icc8edbc9d49c4f48dbe9521627dbf5d4e602ffda
2014-04-15oox custom shape code generator: stop running LO interactivelyMiklos Vajna
Change-Id: Ic90f40c10b7d640d3dadc3c21d0060b351d08195
2014-04-15oox: update source/drawingml/customshapepresets*Miklos Vajna
Change-Id: Ic582eb63b9cf9f8f6c757f2e6ed67da5e592e3b8
2014-04-15oox: sort drawingml custom shape preset outputMiklos Vajna
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 Vajna
Change-Id: Ied9171715de948d30b360eb56626b93b695b7b93
2014-04-15fdo#75722: fix incorrect import of rotated DML shapesJacobo Aragunde Pérez
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érez
Change-Id: I92fe7e3d3be4bf64b57dacb2ae8386775b02c80a
2014-04-15drawingML export: search for tab only once, not 3 times per lineMiklos Vajna
Change-Id: I4255862d4bfb673dbcf871282f65aa6b1ad4616e
2014-04-15oox: generate data, not code for drawingML export adjustment valuesMiklos Vajna
Change-Id: I5898314c630348552ca2e0a6df1cc76972e3974c
2014-04-14update_pchThomas Arnhold
Change-Id: I099bff66a7796a5cf18e37e445467bdfb33de602
2014-04-14fdo#65277: Export text run strikeout propertyKatarina Behrens
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 Bergmann
Change-Id: I2f5b3144e8d4ce3e497a030aa102985c3bc81645
2014-04-14typo: choosen -> chosenThomas Arnhold
2014-04-14SCROLLABLEFRAME never definedThomas Arnhold
2014-04-14SvxMSConvertOCXControlsRemoved never definedThomas Arnhold
2014-04-13Use --switch=2 --readonly-tables gperf optionsTor Lillqvist
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 Lillqvist
Change-Id: Ieaa787afd7cc622b4750a2ee8f17f6dad934ba63
2014-04-10DownLoad -> Download.Jan Holesovsky
Change-Id: Ia1729f570cc80a0375532da6478de9d58518556e