summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-05-16ooxml: Preserve effects on picturesJacobo Aragunde Pérez
If a picture contains some 2D (glow, shadow...) or 3D effect (rotation, extrusion...), we prevent the importer from transforming it into a XTextContent so the XShape grab bag is not removed and the effects are preserved using the existing mechanisms. Added a unit test for this issue, and modified some existing unit tests to match the new behaviour. Change-Id: I3b87069ea208604383a592d34d0a4ceb6b0f9fc7
2014-05-16ooxml: Preserve shape effects when there's more than oneJacobo Aragunde Pérez
Transformed the preservation process of shape effects to be able to store more than one effect. For that we: * Created the Effect struct and added a vector member to the EffectProperties struct. * Changed the shadow effect to use the new Effect struct, EffectShadowProperties struct is preserved because the direction field still has some use but we should remove it. * Changed the structure of the grab bag to store more than one effect. * Modified an existing unit test to check shapes with several effects. Change-Id: I0dd908fa1d9578827c02ef6272fc9e2b914391be
2014-05-16oox: always save all kinds of 3d effects to the grab bag.Jacobo Aragunde Pérez
This was actually a bug. It didn't matter much because a document with an a:sp3d tag but without a:scene3d section would be invalid, but the code was logically wrong. Change-Id: Ifa838e425849642c2a1bf6fca6b6a8dc8ed3b465
2014-05-16introduce SvxLanguageBoxBase, SvxLanguageBox, SvxLanguageComboBoxEike Rathke
In preparation of having a language box available as ComboBox to be able to add language tags. Change-Id: I5af5ea5bb06e558db1fcf9c0668be274d5cec04e
2014-05-16Resolves: #i98216# extract boolean value for AutoFill value of ComboBox modelTsutomu Uchino
(cherry picked from commit 213aafbf006a5099e951f65a472e4f8fa66256a4) Change-Id: I862abc31b69b98f0ec766ca260fdc063d14a2ee4
2014-05-16support property mapping in new 3D chartsMarkus Mohrhard
Change-Id: I3da71e354ed2595c1f5b2eaeb5fb565205d24de0
2014-05-16set the MVP matrix in picking modeMarkus Mohrhard
Change-Id: I11d4838a320ada1d454870436e540b2c56fa18fd
2014-05-16lsan: mpFontCharMap double-add-ref, never releasedCaolán McNamara
Change-Id: Id511d6d0d975434b4754786204cc0fc91568168e
2014-05-16Use correct header guard name in comment at #endifTor Lillqvist
Change-Id: I2df05054c4108cb173f80ce6fa66f30c713b70cd
2014-05-16Make the MacAVF code build also as 32-bitTor Lillqvist
When compiling 32-bit OS X code, the code will use the "legacy Objective-C runtime", which means that instance variables of an Objective-C class must be declared in the @interface block, not in the @implementation. CGRect and NSRect are not the same for 32-bit code. Also, use boost::unordered_map. Change-Id: Icc56ff298203565a7568714b0e9f42c7c6b89737
2014-05-16combine the pass-by-ref clang pluginsNoel Grandin
Change-Id: Idac24afb7cb67fa2d539553fb9fa049c2d61ecf0
2014-05-16Consolidate CreateTempName_Impl and lcl_createName more faithfullyStephan Bergmann
This is a follow-up to fcf455d4efde077bb2b092b607de12ebfc350275 "Consolidate CreateTempName_Impl and lcl_createName," which apparently lead to hard-to- diagnose sporadic "make check" failures on some machines. Hope is that bLock now more carefully tracking the behavior of the original two functions fixes that. Change-Id: I37ba00545f5921fd603ff9f1ea46927c42e88899
2014-05-16fdo#78432 : DOCX: File gets corrupt after RoundTripPallavi Jadhav
Issue : - In RT in document.xml, value of Absolute Position Offset <wp:posOffset> was going out of bounds. - <wp:posOffset> is of type Int(32-bits), hence it's value should not cross the MAX and MIN limits of Int. Implementation : - Added check for <wp:posOffset> should not cross Maximum/Minimum limit of Int. - Written Export Unit test case. Reviewed on: https://gerrit.libreoffice.org/9328 Change-Id: I22e75d7e603ebbf6a49e764fb1a3e6a4d2fd8b23
2014-05-16small hickupMarkus Mohrhard
2014-05-15fdo#77537: Exporting font names in edit text needs special handling.Kohei Yoshida
Change-Id: Ia9c29d37eaf962e0245920e50f534dd779af72dc
2014-05-15fdo#77537: Write export test for this.Kohei Yoshida
Change-Id: I2960713b1005c5f91fe78d12e33f1786978eac67
2014-05-15vcl wmf test: null terminate streamTomaž Vajngerl
Change-Id: I10342262cacbe3e3d978fee652cdbc4692f46dc4
2014-05-15test: don't create root element in startDocument() in xmlwriterTomaž Vajngerl
Change-Id: Ia08e9f8caf2a2fb42855dcb2245e013e1a181216
2014-05-15fdo#55582 Writer: Dont overwrite from even when selected, from writer.Lennard Wasserthal
This patch fixes the writer part, calc part is fixed long ago. Problem: it overwrites when you paste from impress or calc. This allows to keep the graphic's frame, so the text doesn't have to be rearranged. (i.e. it is desired, so I didn't change that) I was trying to give the user a choice, but I didn't succeed in keeping the frame when pasting from writer to writer. coming soon! Change-Id: I07271df9bb501779d06f332bb13edd05f0aefacb Signed-off-by: Lennard Wasserthal <Wasserthal@nefkom.net>
2014-05-15fdo#78159: fix import of OOoXML embedded objectsMichael Stahl
MimeConfigurationHelper::GetDefaultFilterFromServiceName() checks that there is both an import and an export filter, and for OOoXML the export has been removed; tweak the check to require only import for OOoXML. Currently it still works invoke the OOoXML filter, but it is clearly better to store the embedded documents only in ODF, so tweak OCommonEmbeddedObject::store* methods to do that. (regression from aeeaccf59abbc485d7786486f1accc1cb4d4dbf7) Change-Id: Ib71f23fd110cbd4b570517f2dde2c53e3aa6301d
2014-05-15Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part13Julien Nabet
Change-Id: Ieecfd7ccb10c75ac639d0ba8e7cb588607097c2a
2014-05-15loplugin:unreffunStephan Bergmann
Change-Id: I10ca928ce30631b531a2549985b54ca071efb79c
2014-05-15loplugin:saloverrideStephan Bergmann
Change-Id: I53a7cd73ff754bf3b019cb36341b2ab09c61e762
2014-05-15loplugin:bodynotinblockStephan Bergmann
Change-Id: I9c573af8f378cd0b0cb9898d84b5d566f498f57e
2014-05-15sw html test: missed one class name at renamingTomaž Vajngerl
Change-Id: I614bbda7b796a4bd57d9511a9dc68beafa398b38
2014-05-15loplugin:sallogareasStephan Bergmann
Change-Id: Ic3e2a5ed247b35b4e6d80a4ad824bc9b535783fb
2014-05-15sd html test: move local vars on top, clean-upTomaž Vajngerl
Change-Id: Iac393561337825e316a974801a6061944b8fd72a
2014-05-15sc html test: dispose xComponent in teardownTomaž Vajngerl
Change-Id: If33ad8bcca2c224b6bf68a1bdaa015326c17aef8
2014-05-15sw test: HtmlExportTest - assert pDoc exists, rename classTomaž Vajngerl
Change-Id: I5e17b8636236c2a0f78df80c36d82a3ba16a1c5f
2014-05-15sw test: unify names of local variables and move to them to topTomaž Vajngerl
Change-Id: Iaba274f73edf4ff49d06f5dd15ab8ab2ddd043f7
2014-05-15sw test: user parent's parseXmlStream methodTomaž Vajngerl
Change-Id: I6b50172b636cd8334b5cbfd3986631c1f17dd366
2014-05-15OGLWindow: improve camera movement, make it fasterZolnai Tamás
By now there is no a timer which rerender the scene all the time so we need to move camera without setting time. Change-Id: Iba1bfd9b9dc87309cf83d5dcd6832f0e4cb2cd92
2014-05-15wmf: assume WinOrg/ViewportOrg = (0,0) if they are not providedTomaž Vajngerl
Change-Id: Ia8a91a565118d102ff769da8bca65f16b5dfece2
2014-05-15wmf: add SAL_INFOs for interesting things at WMF importTomaž Vajngerl
Change-Id: Ic21709896fe156c7393ece54345b00bceb37587d
2014-05-15wmf: test that non-placeable WMF uses correct sizesTomaž Vajngerl
Change-Id: I546d654726483b40ce4d981bc66377c8a3df6194
2014-05-15test: dump staroffice metafile to XML & XML writer interfaceTomaž Vajngerl
Change-Id: Ie42f72e0fc281d1f51e1729be408c2b0042f4174
2014-05-15test: parseXmlStream & parseHtmlStream added to test toolsTomaž Vajngerl
Change-Id: Iff8af5e9ffefb4c3cecf387b16473d45e8b4a65a
2014-05-15fdo#78603 mixup (Left->Top) in Rectangle constructionTomaž Vajngerl
Change-Id: I7fa566e036508d43b153c7983dc89fc6660718e7
2014-05-15vcl: ReadWindowMetafile - make pConfigItem default to NULLTomaž Vajngerl
Change-Id: Ib061b5e05df5215bea210a750d5dfd5314eeadec
2014-05-15vcl: remove uselees comment from font.hxxTomaž Vajngerl
Change-Id: Ifc933e9b4ca2f604f3aaf1ba74b34b414f96dd64
2014-05-15wmf: put WMFReader constructor out of the header fileTomaž Vajngerl
Change-Id: I8bf15c9990745759dd1414296257558adf5a42c0
2014-05-15tools: add AsRGBHexString to Color + unit testTomaž Vajngerl
AsRGBHexString returns the Color as a RGB hex string. For example "00ff00" for green color. Change-Id: Ia95c7f9eb6d9aefc3ca989046fa8d76b7b7f9e8f
2014-05-15vcl: problems with WriteWithVersion so remove for nowTomaž Vajngerl
A sw test fails when WriteWithVersion is used istead of direct replacement. Remove it for now. Change-Id: I0425c85d6492061a5d7565e709d5913b79b28a46
2014-05-15vcl: remove macros in metaact.cxx{hxx}Tomaž Vajngerl
Macros to reduce code duplication in metaact.cxx are discuraged as it is not possible to find those classes using "git grep". Lets find a better way to reduce code duplication for those classes (some have already been replaced in this commit). Change-Id: I35c7cd74d6345f37e937754e2d0177b816e0e0fa
2014-05-15vcl WMF: in non-placable images use SETWINDOW{ORG,EXT} for BoundsTomaž Vajngerl
If the image is non-placable the image bounds are bounds of all elements. Special cases are when both SETWINDOWEXT and SETWINDOWORG or SETVIEWPORTORG and SETVIEWPORTEXT are available - in those two cases use those bounds bounds instead. Change-Id: I60e53cf6c47ccfc0f1139a11a866392f3e8e3ed1
2014-05-15vcl WMF: some code clean-upTomaž Vajngerl
Change-Id: I0b8d433d3d3bf03e3f414b2586a718146380ee2a
2014-05-15fdo#70498 work-around scaling in SetClipPathTomaž Vajngerl
Scaling needed to be worked-around again so that the image in the bug report could be drawn correctly. The issue needs some more investigation how to detect what are the exact conditions that scaling is needed. Change-Id: Icd3f57a8ded92c49848feea92dc5a14362718874
2014-05-15WMF: partially revert change as for some documents text is not drawnTomaž Vajngerl
revert part of 00e577ac012405f29003533c145bd29d0edbf6db which causes that the text in some WMF images is not drawn. For example the document in fdo#56886 Change-Id: I401c702f0567b1f142a82a4417abe719687a86f9
2014-05-15fdo#76718 Rounding for "fill > random number.." optionTomaž Vajngerl
Change-Id: Idb4b6442be7ddb08875c6b59f54a887399385be7
2014-05-15sc - statistics dialog: add more space between IDsTomaž Vajngerl
Change-Id: Ie503c2758e809712c99df6e53a02ac6e719dd036