summaryrefslogtreecommitdiff
path: root/oox
AgeCommit message (Collapse)AuthorFilesLines
2014-03-03remove unused code oox::AttributeConversion::decodeDoubleNoel Grandin1-5/+0
Change-Id: I057ebcf125e068653570dabb59a8b7f4494e96db
2014-03-02fdo#75200:Libreoffice crash while opening the filePriyankaGaikwad1-2/+5
Conflicts: chart2/qa/extras/chart2import.cxx Change-Id: Icb2a5bc43ef5fd0f307b43bbe8aaf892a043dc5b Reviewed-on: https://gerrit.libreoffice.org/8127 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-03-02fix strict namespace list generationMarkus Mohrhard6-165/+33
The two perl scripts were apparently only generating the same order by luck. It did not work on all systems. Change-Id: Ib83ee5c6572d3bae2e2ac1846850bd65303e7d43
2014-03-02make more places aware of OOXML strict relationsMarkus Mohrhard6-11/+20
Change-Id: I292217537eb592cbad9af11f87402baa9f4cc442
2014-03-01remove empty lines after comment removalMarkus Mohrhard1-8/+0
Change-Id: Iad5cb7303f3797c06a53651b0f0c7e7c2273ef55
2014-03-01support OOXML strict documents in CalcMarkus Mohrhard3-2/+70
Change-Id: I277d76aeec28e173d913ccc1506464afe4d09c6d
2014-03-01handle OOXML strict namespacesMarkus Mohrhard8-4/+273
Change-Id: I198862388426161e3f054a5f128639c59f3c9d24
2014-03-01make sure the two namespace lists are sorted the same wayMarkus Mohrhard1-3/+3
Change-Id: I90b3182e10dbbfc8993010dd885509537d2fe537
2014-03-01fix OOXML validation issue, related fdo#33951Markus Mohrhard1-1/+0
Change-Id: I6e455ee4bb649a299023f1dba88a01ef5674e074
2014-02-28writerfilter: extend tokens and model.xml for w:compatSettingsTomaž Vajngerl1-0/+1
Word stores compatibility mode and additional compatibility settings (like enableOpenTypeFeatures) in w:compatSetting. This needs to be preserved as well. Change-Id: I40895cc00952b7c3799edff0bf7f4328106305a1
2014-02-28DOCX import: handle font theme references in group shape textMiklos Vajna3-4/+44
Change-Id: I1d5b86ad17b2c4a0945f483c94ac6abf410cf1d6
2014-02-27Resolves: #i15508# Added support for BMP file typeArmin Le Grand1-0/+8
(cherry picked from commit 9956ed1303545cd61901e33b110698c4e5e224c4) Conflicts: filter/source/msfilter/escherex.cxx include/vcl/gfxlink.hxx svx/source/xml/xmlgrhlp.cxx sw/source/ui/docvw/romenu.cxx vcl/source/filter/graphicfilter.cxx Change-Id: Ibcbb69b9c57cd8a438788e9a9c95744e99b6fcdd
2014-02-27oox: add "styleSet" to token listTomaž Vajngerl1-0/+1
Change-Id: Idf9ca432849e9ca53a533ee6d82267aa9d546423
2014-02-26cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann28-242/+242
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26Remove visual noise from ooxAlexander Wilms120-603/+594
Change-Id: Ie25838f20f00dc32d9d22959308c118cef688e94 Reviewed-on: https://gerrit.libreoffice.org/8288 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-26fix OOXML validation error for text shapes, related fdo#31551Markus Mohrhard2-2/+12
blipFill and other fill elements are not allowed to appear together. See EG_FillProperties in the OOXML spec. See fdo31551-2.ods Change-Id: If5869ab9dc69815938c1f4c6fb180b0c1652ddcc
2014-02-26use const reference for OUStringMarkus Mohrhard1-4/+4
Change-Id: I66b5f144da7951f36e32a840b8ed70f38539f105
2014-02-26fix indentationMarkus Mohrhard1-2/+2
Change-Id: Iae492bf19edffe84f86bfa9bf247f120f8c9cb79
2014-02-26reduntant checkMarkus Mohrhard1-4/+0
Change-Id: I7969af2e6c73175b020816156478021dcaf8afb0
2014-02-26first step in improving the OOXML validation resultMarkus Mohrhard1-1/+1
Change-Id: Ie4b99e2791cd3575d6544bfca6c6b4e386ac04ea
2014-02-25remove unused code oox::core::Decrypt::aes128cbcNoel Grandin1-8/+0
Change-Id: I12478278de8b719c51b87c335abd5c440a56bd36
2014-02-25Resolves: #i118640# force early destruction of last FragmentHandler...Armin Le Grand1-0/+13
to not let it use an already destroyed RelationsMap instance (cherry picked from commit 190444f7fd3fa9cfcd1955b3f5dcd916184d02f4) Conflicts: oox/source/core/xmlfilterbase.cxx Change-Id: Ibd09ff9fcba8f919df0704c8e3a64423518b932f
2014-02-25fix OOXML validation errorMarkus Mohrhard1-1/+1
Change-Id: Ia27f9615b063393a0733e061df7dd1666283badb
2014-02-24implicitboolconversion: warn about implicit conversion of call args to boolStephan Bergmann1-2/+2
...to be able to find problems like 6e0bdf04add338b7d5b29fc7b3fc9f08cfd5e96f "sal_Bool arg of SetUseImagesInMenus was abused to squeeze '2' through it" earlier when converting occurrences of sal_Bool to bool. Restricting this check to function call arguments avoids too much noise while hopefully still catching all the relevant problems. (This check partially overlaps the pointertobool check, so implicit conversions from pointers to bool call arguments will now generate two loplugin warnings, but that's harmless.) Change-Id: I0b03b1d1615aaf8bc18e7a84c56fff3ef9903508
2014-02-24OOXML chart import: ignore rot values outside the valid rangeAndras Timar1-0/+5
Change-Id: I506a78a024d761d1d263a7bb1dcbf09a4bbcf4ef
2014-02-23drawingML import: remove some unneeded memberZolnai Tamás1-4/+2
Change-Id: Iea975665b9225e535dcc4fbdcd666d7c7bff8ef3
2014-02-23oox: add some more missing w14 tokensTomaž Vajngerl1-0/+7
Change-Id: Ied80a30419ac809c0cb20f8c29427ff0945f5904
2014-02-23prevent invalid OOXML chart files, related #i82905#Markus Mohrhard1-5/+7
Change-Id: I27166772c6eefb4e49eb4c097683a1c6aea4476a
2014-02-23prevent invalid OOXML chart files, related #i75121#Markus Mohrhard1-10/+14
Change-Id: I8e34fd2941ce98a30d27861db2c6a625ff873aa6
2014-02-23don't write axId for dougnught chart, related fdo#63114Markus Mohrhard1-2/+0
Change-Id: I75168888ff8da6f18089311a99135c124c7a7e72
2014-02-23Remove unneccessary commentsAlexander Wilms40-123/+123
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-22we only support simple labels in the InternalDataProvider, bnc#864396Markus Mohrhard1-0/+28
Change-Id: Ie31c5c73bb5185125fd4493c4e476997e2e9bc63
2014-02-21drawingML import: paragraph spacing inside group shapeZolnai Tamás3-8/+66
unotext: a conversion was missing during the corresponding SvxLineSpacingItem was filled with "ParaLineSpacing" UNO property. Change-Id: I02559ed7e8b46150a88eed2bf20afdf084aec47b
2014-02-21vcl: sal_Bool -> boolStephan Bergmann1-1/+1
Change-Id: I2a3e3d3e3266ea0f0fafdd91362076a4aa160f0e
2014-02-21drawingML import: run fonts inside group shapeZolnai Tamás2-0/+20
Change-Id: Ib54fe868c11c0c22b85d8821fa7274c80918362c
2014-02-21drawingML export: gradient fill defined by imported themeZolnai Tamás2-5/+16
Plus avoid writing out empty <a:gradFill></a:gradFill>. Change-Id: I50fa92b2cc30eedfe28a8c6af697d43d98a3aee8
2014-02-20Added word 2010 - w14 namespace and w14 elementsTomaž Vajngerl2-1/+3
Change-Id: I8098cc4bd49c3480bd45875a541d8273b9c7f287
2014-02-20Remove vcl/settings.hxx from vcl/svapp.hxx and vcl/outdev.hxxTobias Lippert1-0/+1
Added vcl/settings.hxx to all cxx files which require it. This helps to speed up compilation after changes to the settings. Conflicts: sc/source/ui/dbgui/pvlaydlg.cxx Change-Id: I211a0735c47f72d6879f6f15339355abfe0e3cf4 Reviewed-on: https://gerrit.libreoffice.org/7933 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-18drawingML import: fix position of cildren in shape groupsZolnai Tamás3-5/+14
Translate component of parent shapes' transformation have to be applied to children when there is no explicit child transformation. Note. Export also use this concept. Change-Id: I51bd3325fb53ee250402326ee361c8f07038ed07
2014-02-18DOCX drawingML import: handle paragraph top marginMiklos Vajna1-0/+15
Change-Id: I4a69647af5b068c35bea0a5f9665a5e68eb76293
2014-02-18prevent invalid OOXML files with trendlines, related #i88825#Markus Mohrhard1-7/+18
Change-Id: I503b24233060400cf4bbb40701bec0a3e101512a
2014-02-18fix indentationMarkus Mohrhard1-19/+19
Change-Id: I36be2de793d3d32433530bf71632cb73a676bb9a
2014-02-17comphelper: sal_Bool -> boolStephan Bergmann1-2/+2
Change-Id: I6fc331ae0706f4bb193543011c8d4ae0a385fcc0
2014-02-17prevent invalid ooxml files during notes export, related #i83060#Markus Mohrhard1-0/+5
Change-Id: I151c14cd75477445465e0221271f9bf17385af9f
2014-02-16drawingML export: make WritePolyPolygon robusterZolnai Tamás1-33/+22
Make sure a:cubicBezTo conatins three a:pt elements. escherex: It seems a cubic bezier curve last point has a POLY_NORMAL flag and not POLY_CONTROL. Change-Id: Id6dc2160c7ae171a720e4a1aa9161cef2b3b9413
2014-02-15fdo#74137: Fix for courruption of Pie chart after roundtrip.Rohit Deshmukh1-2/+3
Problem: - Pie chart with data labels files gets corrupt because of label position is bestFit in original file. - But after round trip, data labels position gets changes to top, left and right. For some data labels postion value is missing. Implementaion: - In LO, while converting data label from model, the position gets changed. So we are ignoring this hack for Pie chart. Conflicts: chart2/qa/extras/chart2export.cxx Change-Id: Ic51845cd6f39bc905439eea8971e878607d25dac
2014-02-14drawingML import: fix inheritance of character heightMiklos Vajna4-5/+13
The problem was that in case a shape had multiple (e.g. two) paragraphs, and in case the first paragraph had an explicit character height, but not the second, then the cursor carried over the explicit character height to the second paragraph, but it shouldn't, as that leads to incorrect character height in the second paragraph. Fix this by remembering the default character height and using that in case nothing is set explicitly. Change-Id: I66e06d5cf192739fb254f7280c74617171d9ee6a
2014-02-14FDO#74774 : issue with number of child nodes of tag CubicBezierTo.umeshkadam1-2/+13
Issue : - Number of child nodes required by cubicBexTo should be 3 of type "pt". While exporting, sometimes the child nodes are less than 3. The sequence of writing these tags was getting messed up. Implementation : - corrected the logic for writing the sequence of cubicBexTo tag. Change-Id: Ic26db72b2c516276c2e6452a21b4106d6a0a1a80 Reviewed-on: https://gerrit.libreoffice.org/7990 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2014-02-13Fix win buildZolnai Tamás1-13/+13
Use namespace to avoid ambiguity. Change-Id: Iaef6869b12839edbb94695aa5e3d877863e9b669
2014-02-13drawingML export: hatching of shapesZolnai Tamás2-4/+139
Change-Id: I7111d4064d033e27659c7b45650d596df22c593f